As defined in the docs, Atoms are supposed to be a single "component" (I'm assuming this means HTML tag). This also implies that an Atom cannot contain another Atom, and any component that does contain an Atom is at least a Molecule.
There are numerous components currently classified as Atoms that, by this definition, are actually Molecules. I propose moving them to the Molecules layer.
atoms/*/anchor-with-icon.tsx => span element. Anchor and Icon components.
atoms/*/checkbox-button.tsx => label, span, and input elements. Icon component.
atoms/*/checkbox-input.tsx => label, input, and span elements
atoms/*/radio-button-input.tsx => div, input, and label elements
atoms/*/select.tsx => div, and select elements. Icon component.
atoms/*/text-input-icon.tsx => div element. Icon and TextInput components.
atoms/*/progress-bar.tsx => 2 div elements.
atoms/*/toast-templates.tsx => 3 div elements. Icon component.
atoms/*/heading-icon.tsx => div element. Icon and Heading components.
As defined in the docs, Atoms are supposed to be a single "component" (I'm assuming this means HTML tag). This also implies that an Atom cannot contain another Atom, and any component that does contain an Atom is at least a Molecule.
There are numerous components currently classified as Atoms that, by this definition, are actually Molecules. I propose moving them to the Molecules layer.
atoms/*/anchor-with-icon.tsx=> span element. Anchor and Icon components.atoms/*/checkbox-button.tsx=> label, span, and input elements. Icon component.atoms/*/checkbox-input.tsx=> label, input, and span elementsatoms/*/radio-button-input.tsx=> div, input, and label elementsatoms/*/select.tsx=> div, and select elements. Icon component.atoms/*/text-input-icon.tsx=> div element. Icon and TextInput components.atoms/*/progress-bar.tsx=> 2 div elements.atoms/*/toast-templates.tsx=> 3 div elements. Icon component.atoms/*/heading-icon.tsx=> div element. Icon and Heading components.