svelte-ux icon indicating copy to clipboard operation
svelte-ux copied to clipboard

Analyze all component `class` / `classes` handling

Open techniq opened this issue 1 year ago • 0 comments

We need to analyze all components to see how they are handling class and classes, especially with a root component like <Field> (ex. DateField, SelectField, etc).

  • [ ] Evaluate different approaches to setting class and classes
  • [ ] Make sure the component classes can be set using:
    • class
    • classes
    • settings()
  • [ ] Set .ComponentName class for top-level copmonents
  • [ ] Make sure does not conflict with settings(), especially for root elements (should be able to set Field settings (classes/defaults) on *Field components
  • [ ] ...

techniq avatar Feb 09 '24 14:02 techniq