@easemate/web-kit 0.3.2 → 0.3.4

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.
Files changed (48) hide show
  1. package/README.md +204 -34
  2. package/build/decorators.cjs +7 -7
  3. package/build/decorators.cjs.map +1 -1
  4. package/build/decorators.js +7 -7
  5. package/build/decorators.js.map +1 -1
  6. package/build/elements.cjs +1902 -747
  7. package/build/elements.cjs.map +1 -1
  8. package/build/elements.d.cts +51 -2
  9. package/build/elements.d.ts +51 -2
  10. package/build/elements.js +1899 -746
  11. package/build/elements.js.map +1 -1
  12. package/build/{index-NzGpn7ai.d.cts → index-BKwMPyPy.d.cts} +3 -0
  13. package/build/{index-NzGpn7ai.d.ts → index-BKwMPyPy.d.ts} +3 -0
  14. package/build/index.cjs +7338 -3477
  15. package/build/index.cjs.map +1 -1
  16. package/build/index.d.cts +4 -4
  17. package/build/index.d.ts +4 -4
  18. package/build/index.js +7569 -3710
  19. package/build/index.js.map +1 -1
  20. package/build/{init-CaP7khA2.d.ts → init-C4Q5EEAr.d.ts} +1 -1
  21. package/build/{init-DmqoRv6_.d.cts → init-yLajTNMT.d.cts} +1 -1
  22. package/build/jsx.cjs.map +1 -1
  23. package/build/jsx.d.cts +61 -7
  24. package/build/jsx.d.ts +61 -7
  25. package/build/jsx.js.map +1 -1
  26. package/build/react.cjs +4402 -1658
  27. package/build/react.cjs.map +1 -1
  28. package/build/react.d.cts +4 -4
  29. package/build/react.d.ts +4 -4
  30. package/build/react.js +4403 -1659
  31. package/build/react.js.map +1 -1
  32. package/build/register.cjs +10895 -7033
  33. package/build/register.cjs.map +1 -1
  34. package/build/register.js +10877 -7015
  35. package/build/register.js.map +1 -1
  36. package/build/{registry-YCv1Ctoe.d.cts → registry-GVSJPmus.d.cts} +1 -0
  37. package/build/{registry-YCv1Ctoe.d.ts → registry-GVSJPmus.d.ts} +1 -0
  38. package/build/theme.cjs +34 -3
  39. package/build/theme.cjs.map +1 -1
  40. package/build/theme.d.cts +2 -2
  41. package/build/theme.d.ts +2 -2
  42. package/build/theme.js +34 -3
  43. package/build/theme.js.map +1 -1
  44. package/build/utils.cjs +3 -3
  45. package/build/utils.cjs.map +1 -1
  46. package/build/utils.js +3 -3
  47. package/build/utils.js.map +1 -1
  48. package/package.json +2 -12
@@ -1,6 +1,6 @@
1
1
  import { TemplateResult } from 'lit-html';
2
2
  export { M as Monitor, a as MonitorFps } from './index-31iOHBv0.cjs';
3
- export { P as Panel, T as TabChangeEventDetail } from './index-NzGpn7ai.cjs';
3
+ export { P as Panel, T as TabChangeEventDetail } from './index-BKwMPyPy.cjs';
4
4
  import { C as ControlEventDetail } from './index-qZoNKsHn.cjs';
5
5
  export { a as CONTROL_CHANGE_EVENT, b as State, S as StateChangeEventDetail, c as coerceNumber, d as dispatchControlEvent, r as readControlValue, s as setBooleanAttribute } from './index-qZoNKsHn.cjs';
6
6
 
@@ -182,10 +182,59 @@ declare class Field extends HTMLElement {
182
182
  accessor fullWidth: boolean;
183
183
  }
184
184
 
185
+ /**
186
+ * Event detail for folder toggle events
187
+ */
188
+ interface FolderToggleEventDetail {
189
+ /** Whether the folder is open */
190
+ open: boolean;
191
+ /** The original event */
192
+ event: Event;
193
+ }
194
+ /**
195
+ * Folder component - collapsible container for grouping controls.
196
+ *
197
+ * Click on the header to toggle open/closed state.
198
+ * Supports optional max-height with scroll fade masks.
199
+ *
200
+ * @tag ease-folder
201
+ *
202
+ * @slot headline - Folder title text
203
+ * @slot actions - Header action buttons (displayed on the right)
204
+ * @slot - Default slot for folder content
205
+ *
206
+ * @csspart section - Outer container
207
+ * @csspart header - Clickable header row
208
+ * @csspart headline - Title element
209
+ * @csspart icon - Folder icon
210
+ * @csspart chevron - Chevron icon
211
+ * @csspart actions - Actions container
212
+ * @csspart content - Content wrapper (handles height animations)
213
+ * @csspart body - Inner body container (scrollable when max-height is set)
214
+ * @csspart items - Grid container for slotted content
215
+ *
216
+ * @fires folder-toggle - Fired when the folder is opened or closed
217
+ */
218
+ declare class Folder extends HTMLElement {
219
+ #private;
220
+ accessor open: boolean;
221
+ accessor headline: string | null;
222
+ accessor maxHeight: string | null;
223
+ render(): TemplateResult;
224
+ toggle(): void;
225
+ }
226
+
185
227
  declare class IconClear extends HTMLElement {
186
228
  requestRender: () => void;
187
229
  }
188
230
 
231
+ type FolderState = 'open' | 'close';
232
+ declare class IconFolder extends HTMLElement {
233
+ requestRender: () => void;
234
+ accessor state: FolderState;
235
+ render(): TemplateResult;
236
+ }
237
+
189
238
  type GridState = 'show' | 'hide';
190
239
  declare class IconGrid extends HTMLElement {
191
240
  requestRender: () => void;
@@ -370,4 +419,4 @@ declare class Toggle extends HTMLElement {
370
419
  handleClick(event: MouseEvent): void;
371
420
  }
372
421
 
373
- export { ArrowUp, Button, Checkbox, ColorInput, ColorPicker, ControlEventDetail, Dropdown, Field, IconAnchorAdd, IconAnchorRemove, IconArrowsVertical, IconBezier, IconBezierAngle, IconBezierDistribute, IconBezierLength, IconBezierMirror, IconCheck, IconChevron, IconCircleArrowLeft, IconCircleArrowRight, IconClear, IconCode, IconDots, IconGrid, IconMention, IconMinus, IconPicker, IconPlus, Input, Loading, type LogoIntroVariant, LogoLoader, NumberInput, Origin, type Placement, Popover, RadioGroup, RadioInput, RadioOption, Settings, Slider, Snap, Toggle, Tooltip };
422
+ export { ArrowUp, Button, Checkbox, ColorInput, ColorPicker, ControlEventDetail, Dropdown, Field, Folder, type FolderToggleEventDetail, IconAnchorAdd, IconAnchorRemove, IconArrowsVertical, IconBezier, IconBezierAngle, IconBezierDistribute, IconBezierLength, IconBezierMirror, IconCheck, IconChevron, IconCircleArrowLeft, IconCircleArrowRight, IconClear, IconCode, IconDots, IconFolder, IconGrid, IconMention, IconMinus, IconPicker, IconPlus, Input, Loading, type LogoIntroVariant, LogoLoader, NumberInput, Origin, type Placement, Popover, RadioGroup, RadioInput, RadioOption, Settings, Slider, Snap, Toggle, Tooltip };
@@ -1,6 +1,6 @@
1
1
  import { TemplateResult } from 'lit-html';
2
2
  export { M as Monitor, a as MonitorFps } from './index-31iOHBv0.js';
3
- export { P as Panel, T as TabChangeEventDetail } from './index-NzGpn7ai.js';
3
+ export { P as Panel, T as TabChangeEventDetail } from './index-BKwMPyPy.js';
4
4
  import { C as ControlEventDetail } from './index-qZoNKsHn.js';
5
5
  export { a as CONTROL_CHANGE_EVENT, b as State, S as StateChangeEventDetail, c as coerceNumber, d as dispatchControlEvent, r as readControlValue, s as setBooleanAttribute } from './index-qZoNKsHn.js';
6
6
 
@@ -182,10 +182,59 @@ declare class Field extends HTMLElement {
182
182
  accessor fullWidth: boolean;
183
183
  }
184
184
 
185
+ /**
186
+ * Event detail for folder toggle events
187
+ */
188
+ interface FolderToggleEventDetail {
189
+ /** Whether the folder is open */
190
+ open: boolean;
191
+ /** The original event */
192
+ event: Event;
193
+ }
194
+ /**
195
+ * Folder component - collapsible container for grouping controls.
196
+ *
197
+ * Click on the header to toggle open/closed state.
198
+ * Supports optional max-height with scroll fade masks.
199
+ *
200
+ * @tag ease-folder
201
+ *
202
+ * @slot headline - Folder title text
203
+ * @slot actions - Header action buttons (displayed on the right)
204
+ * @slot - Default slot for folder content
205
+ *
206
+ * @csspart section - Outer container
207
+ * @csspart header - Clickable header row
208
+ * @csspart headline - Title element
209
+ * @csspart icon - Folder icon
210
+ * @csspart chevron - Chevron icon
211
+ * @csspart actions - Actions container
212
+ * @csspart content - Content wrapper (handles height animations)
213
+ * @csspart body - Inner body container (scrollable when max-height is set)
214
+ * @csspart items - Grid container for slotted content
215
+ *
216
+ * @fires folder-toggle - Fired when the folder is opened or closed
217
+ */
218
+ declare class Folder extends HTMLElement {
219
+ #private;
220
+ accessor open: boolean;
221
+ accessor headline: string | null;
222
+ accessor maxHeight: string | null;
223
+ render(): TemplateResult;
224
+ toggle(): void;
225
+ }
226
+
185
227
  declare class IconClear extends HTMLElement {
186
228
  requestRender: () => void;
187
229
  }
188
230
 
231
+ type FolderState = 'open' | 'close';
232
+ declare class IconFolder extends HTMLElement {
233
+ requestRender: () => void;
234
+ accessor state: FolderState;
235
+ render(): TemplateResult;
236
+ }
237
+
189
238
  type GridState = 'show' | 'hide';
190
239
  declare class IconGrid extends HTMLElement {
191
240
  requestRender: () => void;
@@ -370,4 +419,4 @@ declare class Toggle extends HTMLElement {
370
419
  handleClick(event: MouseEvent): void;
371
420
  }
372
421
 
373
- export { ArrowUp, Button, Checkbox, ColorInput, ColorPicker, ControlEventDetail, Dropdown, Field, IconAnchorAdd, IconAnchorRemove, IconArrowsVertical, IconBezier, IconBezierAngle, IconBezierDistribute, IconBezierLength, IconBezierMirror, IconCheck, IconChevron, IconCircleArrowLeft, IconCircleArrowRight, IconClear, IconCode, IconDots, IconGrid, IconMention, IconMinus, IconPicker, IconPlus, Input, Loading, type LogoIntroVariant, LogoLoader, NumberInput, Origin, type Placement, Popover, RadioGroup, RadioInput, RadioOption, Settings, Slider, Snap, Toggle, Tooltip };
422
+ export { ArrowUp, Button, Checkbox, ColorInput, ColorPicker, ControlEventDetail, Dropdown, Field, Folder, type FolderToggleEventDetail, IconAnchorAdd, IconAnchorRemove, IconArrowsVertical, IconBezier, IconBezierAngle, IconBezierDistribute, IconBezierLength, IconBezierMirror, IconCheck, IconChevron, IconCircleArrowLeft, IconCircleArrowRight, IconClear, IconCode, IconDots, IconFolder, IconGrid, IconMention, IconMinus, IconPicker, IconPlus, Input, Loading, type LogoIntroVariant, LogoLoader, NumberInput, Origin, type Placement, Popover, RadioGroup, RadioInput, RadioOption, Settings, Slider, Snap, Toggle, Tooltip };