demio-ui 2.1.6 → 2.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -92,7 +92,7 @@ When creating new components, follow these steps:
92
92
  - try to make components as simple as possible(try make it stateless if it possible)
93
93
  - group hooks by type (state, ref, effect, etc.)
94
94
  - if you write a comment - try to make it short and clear, don't add obvious comments in code like `// render component` or `//hooks`
95
- - component should accept className as a prop and apply it to the root element
95
+ - component should accept `cssClass` as a prop and apply it to the root element
96
96
  - use consistent naming across the whole library's components (i.e., className, width, isOpen, etc.).
97
97
  - try to keep backward compatibility while it doesn't cause unnecessary complications (all the corner cases have to be discussed)
98
98
  - every important node of the component has to have a unique class name formatted as `"demio-ui-${component-name}-${element}"` (for example, `"demio-ui-modal-close-button"`, `"demio-ui-modal-title"`, `"demio-ui-modal-content"`, etc.). This is important for testing and styling purposes.