code: function parseClassName(fullClassName, namespaces) {
  		const result = {};
  		let className = fullClassName;
  		// Extract the namespace
  		if (namespaces.length) {
  			const namespaceIndex = namespaces.findIndex((namespace) => {
  				return className.startsWith(namespace);
  			});
  			if (namespaceIndex === -1) {
  				return result;
  			}
  			const namespace = namespaces[namespaceIndex];
  			result.namespace = namespace;
  			className = className.substr(namespace.length);
  		}
  		// Handle className with helper prefixes
  		const helperPrefix = className.split('-')[0];
  		if (validHelperPrefixes.indexOf(helperPrefix) !== -1) {
  			result.helper = helperPrefix;
  			className = className.substr(helperPrefix.length + 1);
  		}
  		// Handle classNames with prefixes
  		const patternPrefix = className.split('-')[0];
  		if (validPatternPrefixes.indexOf(patternPrefix) !== -1) {
  			result.pattern = patternPrefix;
  			className = className.substr(patternPrefix.length + 1);
  		}
  		result.name = className;
  		result.parts = className.split(/__|--/);
  		return result;
  	}
docs: Extracts the namespace, helper and prefix from the given className
  'ux-state-a-button'
  @param {string} fullClassName the class name
  @param {string[]} namespaces (optional) namespace
  @returns {Object} namespace, helper, pattern, name