Open gaydabura opened 1 year ago
Atoms in storybook never must be a pattern
? Atoms need settings. For example Button or Title formatter will be very configurable. Atomic system shouldn't be broken because of Drupal requirements. @iberdinsky-skilld yes,
menu
, details
, table
, status
, list
, etclabel+element
also may need additional items, like icon, description, etcatom
its standalone item, first mistake - use it as pattern, second - atom similar to renderelement in drupal, its atomic item, with defined settings (from code), so no UI. You may change settings in case you are using render element from your custom code, so in case of atom (when it rewrite drupal renderelement) all possibilities will be available through native drupal render array
3.1. In case you need dynamic "settings" for atom, it stops being atom and become another level, eg molecul, whatever, smth which use atom with rewrited default settings.
Described in #14