@luzmo/analytics-components-kit 1.0.1-alpha.26 → 1.0.1-alpha.28

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 (165) hide show
  1. package/components/{async-directive-DWRUSKKF-CmOVMf6V.js → async-directive-DWRUSKKF-CPf9l5wJ.js} +1 -1
  2. package/components/{async-directive-DWRUSKKF-D4itZyzc.cjs → async-directive-DWRUSKKF-DWUZeMaj.cjs} +1 -1
  3. package/components/base-D76d76ww-C6YO3slp.cjs +94 -0
  4. package/components/base-D76d76ww-M5t7LVBG.js +758 -0
  5. package/components/{button-base-B7v4eeRh-D3-GH03o.js → button-base-DSHx7XO8-B_LbLx9g.js} +33 -32
  6. package/components/{button-base-B7v4eeRh-BKKUK3x0.cjs → button-base-DSHx7XO8-ChNRhetl.cjs} +4 -4
  7. package/components/{checkbox-mixin-BFGTmw17-C34LMsgu.js → checkbox-mixin-BFGTmw17-C1tjSMaa.js} +2 -2
  8. package/components/{checkbox-mixin-BFGTmw17-CCjGd0nS.cjs → checkbox-mixin-BFGTmw17-DF2p-vSz.cjs} +4 -4
  9. package/components/{directive-helpers-nlQRAaQt-3kEWF2GV.cjs → directive-helpers-nlQRAaQt-DTZp2cFt.cjs} +4 -4
  10. package/components/{directive-helpers-nlQRAaQt-I6T4KZKW.js → directive-helpers-nlQRAaQt-DgSC1Yr2.js} +1 -1
  11. package/components/display-settings/display-settings.d.ts +3 -3
  12. package/components/display-settings/index.cjs +1 -1
  13. package/components/display-settings/index.js +19 -19
  14. package/components/display-settings-binning/display-settings-binning.d.ts +3 -3
  15. package/components/display-settings-binning/index.cjs +2 -2
  16. package/components/display-settings-binning/index.js +20 -20
  17. package/components/display-settings-datetime/display-settings-datetime.d.ts +3 -3
  18. package/components/display-settings-datetime/index.cjs +2 -2
  19. package/components/display-settings-datetime/index.js +22 -22
  20. package/components/display-settings-grand-totals/display-settings-grand-totals.d.ts +3 -3
  21. package/components/display-settings-grand-totals/index.cjs +2 -2
  22. package/components/display-settings-grand-totals/index.js +19 -19
  23. package/components/display-settings-numeric/display-settings-numeric.d.ts +3 -3
  24. package/components/display-settings-numeric/index.cjs +4 -4
  25. package/components/display-settings-numeric/index.js +23 -23
  26. package/components/display-settings-period-over-period/display-settings-period-over-period.d.ts +3 -3
  27. package/components/display-settings-period-over-period/index.cjs +15 -15
  28. package/components/display-settings-period-over-period/index.js +45 -44
  29. package/components/draggable-data-item/draggable-data-item.d.ts +3 -3
  30. package/components/draggable-data-item/index.cjs +4 -4
  31. package/components/draggable-data-item/index.js +6 -6
  32. package/components/draggable-data-item-level/draggable-data-item-level.d.ts +3 -3
  33. package/components/draggable-data-item-level/index.cjs +4 -4
  34. package/components/draggable-data-item-level/index.js +15 -15
  35. package/components/droppable-slot/droppable-slot.d.ts +5 -5
  36. package/components/droppable-slot/index.cjs +2 -2
  37. package/components/droppable-slot/index.js +14 -14
  38. package/components/edit-item/edit-item.d.ts +3 -1
  39. package/components/edit-item/index.cjs +17 -16
  40. package/components/edit-item/index.js +50 -35
  41. package/components/edit-option/edit-option.d.ts +1 -1
  42. package/components/edit-option/helpers/control-markup.d.ts +1 -1
  43. package/components/edit-option/index.cjs +1 -1
  44. package/components/edit-option/index.js +1 -1
  45. package/components/edit-option-action-button-group/index.cjs +2 -2
  46. package/components/edit-option-action-button-group/index.js +6 -6
  47. package/components/edit-option-base/edit-option-base.d.ts +3 -3
  48. package/components/{edit-option-base-qePiIQWd.js → edit-option-base-C0zI8SOd.js} +4 -4
  49. package/components/edit-option-base-D8vs3Bty.cjs +53 -0
  50. package/components/edit-option-color-picker/index.cjs +24 -24
  51. package/components/edit-option-color-picker/index.js +42 -41
  52. package/components/edit-option-multi-language-field/index.cjs +1 -1
  53. package/components/edit-option-multi-language-field/index.js +3 -3
  54. package/components/edit-option-number-field/index.cjs +2 -2
  55. package/components/edit-option-number-field/index.js +3 -3
  56. package/components/edit-option-picker/index.cjs +2 -2
  57. package/components/edit-option-picker/index.js +4 -4
  58. package/components/edit-option-position-picker/index.cjs +2 -2
  59. package/components/edit-option-position-picker/index.js +3 -3
  60. package/components/edit-option-positions-number-field/index.cjs +1 -1
  61. package/components/edit-option-positions-number-field/index.js +5 -5
  62. package/components/edit-option-radio-button-group/index.cjs +4 -4
  63. package/components/edit-option-radio-button-group/index.js +4 -4
  64. package/components/edit-option-slider/index.cjs +3 -3
  65. package/components/edit-option-slider/index.js +8 -8
  66. package/components/edit-option-switch/index.cjs +5 -5
  67. package/components/edit-option-switch/index.js +11 -10
  68. package/components/edit-option-text-field/index.cjs +2 -2
  69. package/components/edit-option-text-field/index.js +3 -3
  70. package/components/focusable-Cu_m_GTh.cjs +42 -0
  71. package/components/focusable-Dw_pMNQL.js +852 -0
  72. package/components/focusable-cj2QhwDT-CvevSkDr.cjs +52 -0
  73. package/components/focusable-cj2QhwDT-DlzfnLn9.js +242 -0
  74. package/components/{if-defined-BSAr_4u4-4Ys8VE7T.js → if-defined-BSAr_4u4-BCnSpSsA.js} +14 -15
  75. package/components/{if-defined-BSAr_4u4-gECNwmTC.cjs → if-defined-BSAr_4u4-CIqREoag.cjs} +3 -3
  76. package/components/{if-defined-8BOch-oC.cjs → if-defined-CF8baNdl.cjs} +2 -2
  77. package/components/{if-defined-Bv6MRdSW.js → if-defined-DbhS35z5.js} +1 -1
  78. package/components/{index-Bt5nP_6w.cjs → index-9hGc0AF6.cjs} +6 -6
  79. package/components/{index-Bee1uunR.js → index-B2LO8M42.js} +11 -12
  80. package/components/{index-w3j1USKK.cjs → index-B3417kqb.cjs} +2 -2
  81. package/components/{index-DUO13KGl.cjs → index-BIauj-BP.cjs} +3 -3
  82. package/components/{index-i8GaIN7i.cjs → index-BIcAxPGg.cjs} +4 -4
  83. package/components/{index-Dc9c_dq-.cjs → index-BLyfPWMW.cjs} +2 -2
  84. package/components/index-BW6jffrL.cjs +117 -0
  85. package/components/{index-CXIT0cYY.js → index-BjdUsH9B.js} +11 -12
  86. package/components/{index-BYfDERr7.js → index-BnVt-dJY.js} +11 -12
  87. package/components/index-Bp6XY9q2.cjs +42 -0
  88. package/components/{index-CdCtJpK9.js → index-C8yP7YJD.js} +8 -9
  89. package/components/index-CAwT4m7K.cjs +127 -0
  90. package/components/{index-CfEn3fIT.js → index-CBNsaHFy.js} +7 -8
  91. package/components/{index-DEVOZNSc.cjs → index-CC53jnJB.cjs} +2 -2
  92. package/components/{index-CdUTqQ3L.cjs → index-CZUy8SUo.cjs} +4 -4
  93. package/components/{index-86cIx1Ql.cjs → index-Cl7wWlXl.cjs} +2 -2
  94. package/components/{index-ByjLd3bT.cjs → index-Cz9Cvq1K.cjs} +6 -6
  95. package/components/{index-B3ve6cAj.js → index-D8GVYuJ-.js} +142 -109
  96. package/components/{index-BH9W0QLt-DBxyzKWK.js → index-DQCvi59x.js} +92 -59
  97. package/components/index-DelXrrBi.js +779 -0
  98. package/components/{index-BUSWsm5N.js → index-Dku2WLRc.js} +7 -8
  99. package/components/{index-aYcu00GB.js → index-Du8Q4hhF.js} +2 -2
  100. package/components/{index-Dn7LyFPv.js → index-Dwp251OJ.js} +3 -3
  101. package/components/{index-BVX_ozT9.js → index-KY89MPqI.js} +5 -6
  102. package/components/{index-BJVxTeoi.cjs → index-b9OSfNB6.cjs} +7 -7
  103. package/components/{index-ymMEPngt.js → index-fheP_kQJ.js} +23 -23
  104. package/components/{index-DVAsMiOm.js → index-fzqLW5XZ.js} +7 -8
  105. package/components/index-hogChFy0.cjs +195 -0
  106. package/components/index-mB-t2zP2.cjs +217 -0
  107. package/components/{index-C8IL2IZ6.js → index-zFIy9Mwl.js} +14 -15
  108. package/components/index.cjs +1 -1
  109. package/components/index.js +457 -54
  110. package/components/{luzmo-icons-BE2T8vWu.js → luzmo-icons-CmY3chvZ.js} +16 -16
  111. package/components/luzmo-icons-lvebt6bp.cjs +31 -0
  112. package/components/{observe-slot-text-ggb4kKgY-DBVrKDBD.cjs → observe-slot-text-ggb4kKgY-5zLP4Vgh.cjs} +2 -2
  113. package/components/{observe-slot-text-ggb4kKgY-o5QFWUeA.js → observe-slot-text-ggb4kKgY-tm0SQCaj.js} +3 -3
  114. package/components/{popover-Bx4ZDHk4-BuzeOeNe.cjs → popover-Bx4ZDHk4-Cw2DKR2x.cjs} +2 -2
  115. package/components/{popover-Bx4ZDHk4-jZJ0Cd59.js → popover-Bx4ZDHk4-HbUSJ86p.js} +6 -7
  116. package/components/{query-assigned-nodes-C76XVPWY-DPC6kOmH.js → query-assigned-nodes-C76XVPWY-DON51dMU.js} +1 -1
  117. package/components/{query-assigned-nodes-C76XVPWY-BcyGjObB.cjs → query-assigned-nodes-C76XVPWY-DzOeAzcN.cjs} +1 -1
  118. package/components/sized-mixin-Cqlxwicw.cjs +20 -0
  119. package/components/sized-mixin-DMuOVsw0.js +65 -0
  120. package/components/slot-menu/index.cjs +1 -1
  121. package/components/slot-menu/index.js +27 -27
  122. package/components/slot-menu/slot-menu.d.ts +3 -3
  123. package/components/slot-menu-list/index.cjs +2 -2
  124. package/components/slot-menu-list/index.js +14 -14
  125. package/components/slot-menu-list/slot-menu-list.d.ts +3 -3
  126. package/components/{state-BFA93Sye.cjs → state-QgHgNZLe.cjs} +2 -2
  127. package/components/{state-Joaryhrg.js → state-e2n-fyrr.js} +1 -1
  128. package/components/streaming-listener-CCalHg57-2AtO4Ho2.cjs +52 -0
  129. package/components/{language-resolution-8yZa5r_P-Bn0bYosv.js → streaming-listener-CCalHg57-CQgWstyf.js} +59 -59
  130. package/components/{task-B8yMzxui.cjs → task-fQFUVV8e.cjs} +2 -2
  131. package/components/{task-Cr9aRIbV.js → task-gE27tBDv.js} +1 -1
  132. package/components/text-field-BTnBJoP9-BuahhcXU.js +430 -0
  133. package/components/text-field-BTnBJoP9-CDMhK3d1.cjs +147 -0
  134. package/components/utils.cjs +1 -1
  135. package/components/utils.js +472 -54
  136. package/custom-elements.json +56 -292
  137. package/index.d.ts +1 -0
  138. package/item-definitions/marker-map/marker-map-options.config.d.ts +1 -1
  139. package/package.json +2 -2
  140. package/utils/base/base.d.ts +16 -0
  141. package/utils/base/focus-visible.d.ts +29 -0
  142. package/utils/base/focusable.d.ts +58 -0
  143. package/utils/base/index.d.ts +4 -0
  144. package/utils/base/sized-mixin.d.ts +17 -0
  145. package/utils/index.d.ts +1 -0
  146. package/utils/themes/index.d.ts +507 -0
  147. package/components/base-D76d76ww-BiajPmzU.cjs +0 -40
  148. package/components/base-D76d76ww-gf0ESLsU.js +0 -45
  149. package/components/edit-option-base-Boz7TNRZ.cjs +0 -53
  150. package/components/index-BH9W0QLt-Cy2sUVJ_.cjs +0 -95
  151. package/components/index-D5LI0odG.js +0 -44
  152. package/components/index-DM_2d78G.js +0 -744
  153. package/components/index-DrLPC6eG.cjs +0 -185
  154. package/components/index-eEpFkbP8.cjs +0 -195
  155. package/components/index-h9T5DPIm.cjs +0 -36
  156. package/components/index-iYpAy-Kg.cjs +0 -95
  157. package/components/index-zuArOtOt.cjs +0 -42
  158. package/components/language-resolution-8yZa5r_P-FqQChUDW.cjs +0 -52
  159. package/components/luzmo-icons-XsFsTAl3.cjs +0 -31
  160. package/components/property-0L4eB11h.cjs +0 -112
  161. package/components/property-B2F7x7Cz.js +0 -1481
  162. package/components/sized-mixin-BxMraZLS-B_y0PzR3.js +0 -82
  163. package/components/sized-mixin-BxMraZLS-DEFWqo8f.cjs +0 -36
  164. package/components/text-field-CvKSS59x-Dn0_1HO7.js +0 -412
  165. package/components/text-field-CvKSS59x-E9LQElL4.cjs +0 -131
@@ -214,34 +214,12 @@
214
214
  "default": "m",
215
215
  "description": "The size of the element",
216
216
  "fieldName": "size"
217
- },
218
- {
219
- "name": "disabled",
220
- "type": {
221
- "text": "boolean"
222
- },
223
- "default": "false",
224
- "description": "Disable this control. It will not receive focus or events",
225
- "fieldName": "disabled"
226
- },
227
- {
228
- "name": "autofocus",
229
- "type": {
230
- "text": "boolean"
231
- },
232
- "default": "false",
233
- "description": "When this control is rendered, focus it automatically",
234
- "fieldName": "autofocus"
235
- },
236
- {
237
- "name": "tabIndex",
238
- "type": {
239
- "text": "number"
240
- },
241
- "description": "The tab index to apply to this control. See general documentation about the tabindex HTML property",
242
- "fieldName": "tabIndex"
243
217
  }
244
218
  ],
219
+ "superclass": {
220
+ "name": "LuzmoElement",
221
+ "module": "/src/utils/base"
222
+ },
245
223
  "tagName": "luzmo-display-settings",
246
224
  "customElement": true
247
225
  }
@@ -322,34 +300,12 @@
322
300
  "default": "m",
323
301
  "description": "The size of the element",
324
302
  "fieldName": "size"
325
- },
326
- {
327
- "name": "disabled",
328
- "type": {
329
- "text": "boolean"
330
- },
331
- "default": "false",
332
- "description": "Disable this control. It will not receive focus or events",
333
- "fieldName": "disabled"
334
- },
335
- {
336
- "name": "autofocus",
337
- "type": {
338
- "text": "boolean"
339
- },
340
- "default": "false",
341
- "description": "When this control is rendered, focus it automatically",
342
- "fieldName": "autofocus"
343
- },
344
- {
345
- "name": "tabIndex",
346
- "type": {
347
- "text": "number"
348
- },
349
- "description": "The tab index to apply to this control. See general documentation about the tabindex HTML property",
350
- "fieldName": "tabIndex"
351
303
  }
352
304
  ],
305
+ "superclass": {
306
+ "name": "LuzmoElement",
307
+ "module": "/src/utils/base"
308
+ },
353
309
  "tagName": "luzmo-display-settings-binning",
354
310
  "customElement": true
355
311
  }
@@ -462,34 +418,12 @@
462
418
  "default": "m",
463
419
  "description": "The size of the element",
464
420
  "fieldName": "size"
465
- },
466
- {
467
- "name": "disabled",
468
- "type": {
469
- "text": "boolean"
470
- },
471
- "default": "false",
472
- "description": "Disable this control. It will not receive focus or events",
473
- "fieldName": "disabled"
474
- },
475
- {
476
- "name": "autofocus",
477
- "type": {
478
- "text": "boolean"
479
- },
480
- "default": "false",
481
- "description": "When this control is rendered, focus it automatically",
482
- "fieldName": "autofocus"
483
- },
484
- {
485
- "name": "tabIndex",
486
- "type": {
487
- "text": "number"
488
- },
489
- "description": "The tab index to apply to this control. See general documentation about the tabindex HTML property",
490
- "fieldName": "tabIndex"
491
421
  }
492
422
  ],
423
+ "superclass": {
424
+ "name": "LuzmoElement",
425
+ "module": "/src/utils/base"
426
+ },
493
427
  "tagName": "luzmo-display-settings-datetime",
494
428
  "customElement": true
495
429
  }
@@ -572,34 +506,12 @@
572
506
  "default": "m",
573
507
  "description": "The size of the element",
574
508
  "fieldName": "size"
575
- },
576
- {
577
- "name": "disabled",
578
- "type": {
579
- "text": "boolean"
580
- },
581
- "default": "false",
582
- "description": "Disable this control. It will not receive focus or events",
583
- "fieldName": "disabled"
584
- },
585
- {
586
- "name": "autofocus",
587
- "type": {
588
- "text": "boolean"
589
- },
590
- "default": "false",
591
- "description": "When this control is rendered, focus it automatically",
592
- "fieldName": "autofocus"
593
- },
594
- {
595
- "name": "tabIndex",
596
- "type": {
597
- "text": "number"
598
- },
599
- "description": "The tab index to apply to this control. See general documentation about the tabindex HTML property",
600
- "fieldName": "tabIndex"
601
509
  }
602
510
  ],
511
+ "superclass": {
512
+ "name": "LuzmoElement",
513
+ "module": "/src/utils/base"
514
+ },
603
515
  "tagName": "luzmo-display-settings-grand-totals",
604
516
  "customElement": true
605
517
  }
@@ -699,34 +611,12 @@
699
611
  "default": "m",
700
612
  "description": "The size of the element",
701
613
  "fieldName": "size"
702
- },
703
- {
704
- "name": "disabled",
705
- "type": {
706
- "text": "boolean"
707
- },
708
- "default": "false",
709
- "description": "Disable this control. It will not receive focus or events",
710
- "fieldName": "disabled"
711
- },
712
- {
713
- "name": "autofocus",
714
- "type": {
715
- "text": "boolean"
716
- },
717
- "default": "false",
718
- "description": "When this control is rendered, focus it automatically",
719
- "fieldName": "autofocus"
720
- },
721
- {
722
- "name": "tabIndex",
723
- "type": {
724
- "text": "number"
725
- },
726
- "description": "The tab index to apply to this control. See general documentation about the tabindex HTML property",
727
- "fieldName": "tabIndex"
728
614
  }
729
615
  ],
616
+ "superclass": {
617
+ "name": "LuzmoElement",
618
+ "module": "/src/utils/base"
619
+ },
730
620
  "tagName": "luzmo-display-settings-numeric",
731
621
  "customElement": true
732
622
  }
@@ -887,34 +777,12 @@
887
777
  "default": "m",
888
778
  "description": "The size of the element",
889
779
  "fieldName": "size"
890
- },
891
- {
892
- "name": "disabled",
893
- "type": {
894
- "text": "boolean"
895
- },
896
- "default": "false",
897
- "description": "Disable this control. It will not receive focus or events",
898
- "fieldName": "disabled"
899
- },
900
- {
901
- "name": "autofocus",
902
- "type": {
903
- "text": "boolean"
904
- },
905
- "default": "false",
906
- "description": "When this control is rendered, focus it automatically",
907
- "fieldName": "autofocus"
908
- },
909
- {
910
- "name": "tabIndex",
911
- "type": {
912
- "text": "number"
913
- },
914
- "description": "The tab index to apply to this control. See general documentation about the tabindex HTML property",
915
- "fieldName": "tabIndex"
916
780
  }
917
781
  ],
782
+ "superclass": {
783
+ "name": "LuzmoElement",
784
+ "module": "/src/utils/base"
785
+ },
918
786
  "tagName": "luzmo-display-settings-period-over-period",
919
787
  "customElement": true
920
788
  }
@@ -1126,34 +994,12 @@
1126
994
  "default": "m",
1127
995
  "description": "The size of the element",
1128
996
  "fieldName": "size"
1129
- },
1130
- {
1131
- "name": "disabled",
1132
- "type": {
1133
- "text": "boolean"
1134
- },
1135
- "default": "false",
1136
- "description": "Disable this control. It will not receive focus or events",
1137
- "fieldName": "disabled"
1138
- },
1139
- {
1140
- "name": "autofocus",
1141
- "type": {
1142
- "text": "boolean"
1143
- },
1144
- "default": "false",
1145
- "description": "When this control is rendered, focus it automatically",
1146
- "fieldName": "autofocus"
1147
- },
1148
- {
1149
- "name": "tabIndex",
1150
- "type": {
1151
- "text": "number"
1152
- },
1153
- "description": "The tab index to apply to this control. See general documentation about the tabindex HTML property",
1154
- "fieldName": "tabIndex"
1155
997
  }
1156
998
  ],
999
+ "superclass": {
1000
+ "name": "LuzmoElement",
1001
+ "module": "/src/utils/base"
1002
+ },
1157
1003
  "tagName": "luzmo-draggable-data-item",
1158
1004
  "customElement": true
1159
1005
  }
@@ -1325,34 +1171,12 @@
1325
1171
  "default": "m",
1326
1172
  "description": "The size of the element",
1327
1173
  "fieldName": "size"
1328
- },
1329
- {
1330
- "name": "disabled",
1331
- "type": {
1332
- "text": "boolean"
1333
- },
1334
- "default": "false",
1335
- "description": "Disable this control. It will not receive focus or events",
1336
- "fieldName": "disabled"
1337
- },
1338
- {
1339
- "name": "autofocus",
1340
- "type": {
1341
- "text": "boolean"
1342
- },
1343
- "default": "false",
1344
- "description": "When this control is rendered, focus it automatically",
1345
- "fieldName": "autofocus"
1346
- },
1347
- {
1348
- "name": "tabIndex",
1349
- "type": {
1350
- "text": "number"
1351
- },
1352
- "description": "The tab index to apply to this control. See general documentation about the tabindex HTML property",
1353
- "fieldName": "tabIndex"
1354
1174
  }
1355
1175
  ],
1176
+ "superclass": {
1177
+ "name": "LuzmoElement",
1178
+ "module": "/src/utils/base"
1179
+ },
1356
1180
  "tagName": "luzmo-draggable-data-item-level",
1357
1181
  "customElement": true
1358
1182
  }
@@ -1520,7 +1344,7 @@
1520
1344
  "kind": "field",
1521
1345
  "name": "hideDelete",
1522
1346
  "type": {
1523
- "text": "string | undefined"
1347
+ "text": "boolean | undefined"
1524
1348
  },
1525
1349
  "attribute": "hide-delete",
1526
1350
  "reflects": true
@@ -1529,7 +1353,7 @@
1529
1353
  "kind": "field",
1530
1354
  "name": "hideConfiguration",
1531
1355
  "type": {
1532
- "text": "string | undefined"
1356
+ "text": "boolean | undefined"
1533
1357
  },
1534
1358
  "attribute": "hide-configuration",
1535
1359
  "reflects": true
@@ -1612,14 +1436,14 @@
1612
1436
  {
1613
1437
  "name": "hide-delete",
1614
1438
  "type": {
1615
- "text": "string | undefined"
1439
+ "text": "boolean | undefined"
1616
1440
  },
1617
1441
  "fieldName": "hideDelete"
1618
1442
  },
1619
1443
  {
1620
1444
  "name": "hide-configuration",
1621
1445
  "type": {
1622
- "text": "string | undefined"
1446
+ "text": "boolean | undefined"
1623
1447
  },
1624
1448
  "fieldName": "hideConfiguration"
1625
1449
  },
@@ -1631,34 +1455,12 @@
1631
1455
  "default": "m",
1632
1456
  "description": "The size of the element",
1633
1457
  "fieldName": "size"
1634
- },
1635
- {
1636
- "name": "disabled",
1637
- "type": {
1638
- "text": "boolean"
1639
- },
1640
- "default": "false",
1641
- "description": "Disable this control. It will not receive focus or events",
1642
- "fieldName": "disabled"
1643
- },
1644
- {
1645
- "name": "autofocus",
1646
- "type": {
1647
- "text": "boolean"
1648
- },
1649
- "default": "false",
1650
- "description": "When this control is rendered, focus it automatically",
1651
- "fieldName": "autofocus"
1652
- },
1653
- {
1654
- "name": "tabIndex",
1655
- "type": {
1656
- "text": "number"
1657
- },
1658
- "description": "The tab index to apply to this control. See general documentation about the tabindex HTML property",
1659
- "fieldName": "tabIndex"
1660
1458
  }
1661
1459
  ],
1460
+ "superclass": {
1461
+ "name": "LuzmoElement",
1462
+ "module": "/src/utils/base"
1463
+ },
1662
1464
  "tagName": "luzmo-droppable-slot",
1663
1465
  "customElement": true
1664
1466
  }
@@ -1788,6 +1590,12 @@
1788
1590
  "reflects": true
1789
1591
  }
1790
1592
  ],
1593
+ "events": [
1594
+ {
1595
+ "description": "Announces that the `options` of the element have changed",
1596
+ "name": "options-changed"
1597
+ }
1598
+ ],
1791
1599
  "attributes": [
1792
1600
  {
1793
1601
  "name": "language",
@@ -1861,7 +1669,7 @@
1861
1669
  ],
1862
1670
  "superclass": {
1863
1671
  "name": "LuzmoElement",
1864
- "package": "@luzmo/lucero/utils"
1672
+ "module": "/src/utils/base"
1865
1673
  },
1866
1674
  "tagName": "luzmo-edit-item",
1867
1675
  "customElement": true
@@ -2080,7 +1888,7 @@
2080
1888
  ],
2081
1889
  "superclass": {
2082
1890
  "name": "LuzmoElement",
2083
- "package": "@luzmo/lucero/utils"
1891
+ "module": "/src/utils/base"
2084
1892
  },
2085
1893
  "tagName": "luzmo-edit-option",
2086
1894
  "customElement": true
@@ -4010,34 +3818,12 @@
4010
3818
  "default": "m",
4011
3819
  "description": "The size of the element",
4012
3820
  "fieldName": "size"
4013
- },
4014
- {
4015
- "name": "disabled",
4016
- "type": {
4017
- "text": "boolean"
4018
- },
4019
- "default": "false",
4020
- "description": "Disable this control. It will not receive focus or events",
4021
- "fieldName": "disabled"
4022
- },
4023
- {
4024
- "name": "autofocus",
4025
- "type": {
4026
- "text": "boolean"
4027
- },
4028
- "default": "false",
4029
- "description": "When this control is rendered, focus it automatically",
4030
- "fieldName": "autofocus"
4031
- },
4032
- {
4033
- "name": "tabIndex",
4034
- "type": {
4035
- "text": "number"
4036
- },
4037
- "description": "The tab index to apply to this control. See general documentation about the tabindex HTML property",
4038
- "fieldName": "tabIndex"
4039
3821
  }
4040
3822
  ],
3823
+ "superclass": {
3824
+ "name": "LuzmoElement",
3825
+ "module": "/src/utils/base"
3826
+ },
4041
3827
  "tagName": "luzmo-slot-menu",
4042
3828
  "customElement": true
4043
3829
  }
@@ -4177,34 +3963,12 @@
4177
3963
  "default": "m",
4178
3964
  "description": "The size of the element",
4179
3965
  "fieldName": "size"
4180
- },
4181
- {
4182
- "name": "disabled",
4183
- "type": {
4184
- "text": "boolean"
4185
- },
4186
- "default": "false",
4187
- "description": "Disable this control. It will not receive focus or events",
4188
- "fieldName": "disabled"
4189
- },
4190
- {
4191
- "name": "autofocus",
4192
- "type": {
4193
- "text": "boolean"
4194
- },
4195
- "default": "false",
4196
- "description": "When this control is rendered, focus it automatically",
4197
- "fieldName": "autofocus"
4198
- },
4199
- {
4200
- "name": "tabIndex",
4201
- "type": {
4202
- "text": "number"
4203
- },
4204
- "description": "The tab index to apply to this control. See general documentation about the tabindex HTML property",
4205
- "fieldName": "tabIndex"
4206
3966
  }
4207
3967
  ],
3968
+ "superclass": {
3969
+ "name": "LuzmoElement",
3970
+ "module": "/src/utils/base"
3971
+ },
4208
3972
  "tagName": "luzmo-slot-menu-list",
4209
3973
  "customElement": true
4210
3974
  }
package/index.d.ts CHANGED
@@ -22,4 +22,5 @@ export * from './components/edit-option-switch';
22
22
  export * from './components/edit-option-text-field';
23
23
  export * from './components/slot-menu';
24
24
  export * from './components/slot-menu-list';
25
+ export * from './item-definitions/item-list';
25
26
  export * from './utils';
@@ -133,7 +133,7 @@ declare const _default: ({
133
133
  };
134
134
  selects: string;
135
135
  toValue: (value: string) => 60 | 30 | 90;
136
- parseValue: (value: number) => "M" | "S" | "L";
136
+ parseValue: (value: number) => "L" | "S" | "M";
137
137
  };
138
138
  }[];
139
139
  })[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luzmo/analytics-components-kit",
3
- "version": "1.0.1-alpha.26",
3
+ "version": "1.0.1-alpha.28",
4
4
  "type": "module",
5
5
  "main": "./components/index.js",
6
6
  "module": "./components/index.js",
@@ -142,7 +142,7 @@
142
142
  "require": "./components/utils.cjs"
143
143
  },
144
144
  "./item-list": {
145
- "types": "./components/item-list/index.d.ts",
145
+ "types": "./item-definitions/item-list.d.ts",
146
146
  "import": "./components/item-list.js",
147
147
  "require": "./components/item-list.cjs"
148
148
  }
@@ -0,0 +1,16 @@
1
+ import { LitElement, ReactiveElement } from 'lit';
2
+ type Constructor<T = Record<string, unknown>> = {
3
+ new (...args: any[]): T;
4
+ prototype: T;
5
+ };
6
+ export interface LuzmoInterface {
7
+ shadowRoot: ShadowRoot;
8
+ isLTR: boolean;
9
+ hasVisibleFocusInTree(): boolean;
10
+ dir: 'ltr' | 'rtl';
11
+ }
12
+ export declare function LuzmoMixin<T extends Constructor<ReactiveElement>>(constructor: T): T & Constructor<LuzmoInterface>;
13
+ declare const LuzmoElement_base: typeof LitElement & Constructor<LuzmoInterface>;
14
+ export declare class LuzmoElement extends LuzmoElement_base {
15
+ }
16
+ export {};
@@ -0,0 +1,29 @@
1
+ declare global {
2
+ interface Window {
3
+ applyFocusVisiblePolyfill?: (scope: Document | ShadowRoot) => void;
4
+ }
5
+ }
6
+ type Constructor<T = Record<string, unknown>> = {
7
+ new (...args: any[]): T;
8
+ prototype: T;
9
+ };
10
+ interface OptionalLifecycleCallbacks {
11
+ connectedCallback?(): void;
12
+ disconnectedCallback?(): void;
13
+ manageAutoFocus?(): void;
14
+ }
15
+ type MixableBaseClass = HTMLElement & OptionalLifecycleCallbacks;
16
+ /**
17
+ * This mixin function is designed to be applied to a class that inherits
18
+ * from HTMLElement. It makes it easy for a custom element to coordinate with
19
+ * the :focus-visible polyfill.
20
+ *
21
+ * NOTE(cdata): The code here was adapted from an example proposed with the
22
+ * introduction of ShadowDOM support in the :focus-visible polyfill.
23
+ *
24
+ * @see https://github.com/WICG/focus-visible/pull/196
25
+ * @param SuperClass The base class implementation to decorate with
26
+ * implementation that coordinates with the :focus-visible polyfill
27
+ */
28
+ export declare const FocusVisiblePolyfillMixin: <T extends Constructor<MixableBaseClass>>(SuperClass: T) => T;
29
+ export {};
@@ -0,0 +1,58 @@
1
+ import { PropertyValues } from 'lit';
2
+ import { LuzmoElement } from './base';
3
+ type DisableableElement = HTMLElement & {
4
+ disabled?: boolean;
5
+ };
6
+ declare const Focusable_base: typeof LuzmoElement;
7
+ /**
8
+ * Focusable base class handles tabindex setting into shadowed elements automatically.
9
+ *
10
+ * This implementation is based heavily on the aybolit delegate-focus-mixin at
11
+ * https://github.com/web-padawan/aybolit/blob/master/packages/core/src/mixins/delegate-focus-mixin.js
12
+ */
13
+ export declare class Focusable extends Focusable_base {
14
+ /**
15
+ * Disable this control. It will not receive focus or events
16
+ */
17
+ disabled: boolean;
18
+ /**
19
+ * When this control is rendered, focus it automatically
20
+ *
21
+ * @private
22
+ */
23
+ autofocus: boolean;
24
+ /**
25
+ * The tab index to apply to this control. See general documentation about
26
+ * the tabindex HTML property
27
+ *
28
+ * @private
29
+ */
30
+ get tabIndex(): number;
31
+ set tabIndex(tabIndex: number);
32
+ private _tabIndex;
33
+ private onPointerdownManagementOfTabIndex;
34
+ private manageFocusElementTabindex;
35
+ private manipulatingTabindex;
36
+ /**
37
+ * @private
38
+ */
39
+ get focusElement(): DisableableElement;
40
+ /**
41
+ * @public
42
+ * @returns whether the component should manage its focusElement tab-index or not
43
+ * Needed for action-menu to be supported in action-group in an accessible way
44
+ */
45
+ get selfManageFocusElement(): boolean;
46
+ focus(options?: FocusOptions): void;
47
+ blur(): void;
48
+ click(): void;
49
+ protected manageAutoFocus(): void;
50
+ protected firstUpdated(changes: PropertyValues): void;
51
+ protected update(changedProperties: PropertyValues): void;
52
+ protected updated(changedProperties: PropertyValues): void;
53
+ private handleDisabledChanged;
54
+ protected getUpdateComplete(): Promise<boolean>;
55
+ private autofocusReady;
56
+ connectedCallback(): void;
57
+ }
58
+ export {};
@@ -0,0 +1,4 @@
1
+ export { LuzmoElement, LuzmoMixin } from './base';
2
+ export { Focusable } from './focusable';
3
+ export { ElementSizes, SizedMixin } from './sized-mixin';
4
+ export type { ElementSize } from './sized-mixin';
@@ -0,0 +1,17 @@
1
+ import { ReactiveElement } from 'lit';
2
+ type Constructor<T = Record<string, unknown>> = {
3
+ new (...args: any[]): T;
4
+ prototype: T;
5
+ };
6
+ export type ElementSize = 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl';
7
+ export declare const ElementSizes: Record<string, ElementSize>;
8
+ export type DefaultElementSize = Exclude<ElementSize, 'xxs' | 'xs' | 'xxl'>;
9
+ export interface SizedElementInterface {
10
+ size: ElementSize;
11
+ }
12
+ export declare function SizedMixin<T extends Constructor<ReactiveElement>>(constructor: T, { validSizes, noDefaultSize, defaultSize }?: {
13
+ validSizes?: ElementSize[];
14
+ noDefaultSize?: boolean;
15
+ defaultSize?: ElementSize;
16
+ }): T & Constructor<SizedElementInterface>;
17
+ export {};
package/utils/index.d.ts CHANGED
@@ -2,3 +2,4 @@ export { decomposeNumericFormat } from './formatter/decompose-numeric-format';
2
2
  export { formatter } from './formatter/formatter';
3
3
  export { localize } from './formatter/localize';
4
4
  export { switchItem } from './switch-item';
5
+ export { themes } from './themes';