@vanelsas/baredom 2.7.0 → 2.8.0

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 (107) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/custom-elements.json +344 -5
  3. package/dist/baredom.d.ts +4 -0
  4. package/dist/base.js +451 -427
  5. package/dist/integrity.json +97 -93
  6. package/dist/x-alert.js +17 -18
  7. package/dist/x-avatar-group.js +9 -10
  8. package/dist/x-avatar.js +15 -15
  9. package/dist/x-badge.js +9 -10
  10. package/dist/x-bento-grid.js +5 -5
  11. package/dist/x-bento-item.js +4 -4
  12. package/dist/x-breadcrumbs.js +13 -14
  13. package/dist/x-button.js +16 -18
  14. package/dist/x-cancel-dialogue.js +13 -17
  15. package/dist/x-card.js +7 -7
  16. package/dist/x-carousel.js +33 -34
  17. package/dist/x-chart.d.ts +26 -0
  18. package/dist/x-chart.js +47 -46
  19. package/dist/x-checkbox.js +11 -10
  20. package/dist/x-chip.js +1 -9
  21. package/dist/x-collapse.js +10 -10
  22. package/dist/x-color-picker.js +44 -44
  23. package/dist/x-combobox.js +26 -26
  24. package/dist/x-command-palette.js +26 -26
  25. package/dist/x-container.js +4 -4
  26. package/dist/x-context-menu.d.ts +31 -2
  27. package/dist/x-context-menu.js +20 -18
  28. package/dist/x-copy.js +20 -23
  29. package/dist/x-currency-field.js +23 -23
  30. package/dist/x-date-picker.d.ts +27 -0
  31. package/dist/x-date-picker.js +42 -41
  32. package/dist/x-divider.js +9 -9
  33. package/dist/x-drawer.js +10 -11
  34. package/dist/x-dropdown.js +11 -10
  35. package/dist/x-fieldset.js +5 -6
  36. package/dist/x-file-download.js +7 -7
  37. package/dist/x-file-upload.js +20 -20
  38. package/dist/x-form-field.js +15 -15
  39. package/dist/x-form.js +9 -8
  40. package/dist/x-gaussian-blur.js +13 -19
  41. package/dist/x-grid.js +6 -6
  42. package/dist/x-i18n-provider.d.ts +43 -0
  43. package/dist/x-i18n-provider.js +8 -0
  44. package/dist/x-i18n.d.ts +14 -0
  45. package/dist/x-i18n.js +5 -0
  46. package/dist/x-icon.js +6 -7
  47. package/dist/x-image.js +18 -19
  48. package/dist/x-kinetic-canvas.d.ts +18 -0
  49. package/dist/x-kinetic-canvas.js +26 -0
  50. package/dist/x-kinetic-font.js +27 -28
  51. package/dist/x-kinetic-typography.js +33 -39
  52. package/dist/x-liquid-dock.js +39 -39
  53. package/dist/x-liquid-fill.js +45 -45
  54. package/dist/x-liquid-glass.js +47 -47
  55. package/dist/x-menu-item.js +8 -9
  56. package/dist/x-menu.js +10 -11
  57. package/dist/x-metaball-cursor.js +27 -27
  58. package/dist/x-modal.js +11 -12
  59. package/dist/x-morph-stack.js +37 -38
  60. package/dist/x-multi-combobox.d.ts +50 -0
  61. package/dist/x-multi-combobox.js +37 -0
  62. package/dist/x-navbar.js +12 -12
  63. package/dist/x-neural-glow.js +33 -33
  64. package/dist/x-notification-center.js +9 -9
  65. package/dist/x-organic-divider.js +17 -18
  66. package/dist/x-organic-progress.js +38 -38
  67. package/dist/x-organic-shape.js +13 -13
  68. package/dist/x-pagination.js +15 -16
  69. package/dist/x-particle-button.js +51 -51
  70. package/dist/x-popover.js +26 -24
  71. package/dist/x-progress-circle.js +9 -10
  72. package/dist/x-progress.js +10 -11
  73. package/dist/x-radio.js +11 -10
  74. package/dist/x-ripple-effect.js +11 -12
  75. package/dist/x-scroll-parallax.js +18 -19
  76. package/dist/x-scroll-stack.js +17 -18
  77. package/dist/x-scroll-story.js +34 -36
  78. package/dist/x-scroll-timeline.js +45 -46
  79. package/dist/x-scroll.js +40 -41
  80. package/dist/x-search-field.js +15 -15
  81. package/dist/x-select.js +10 -9
  82. package/dist/x-sidebar.js +17 -17
  83. package/dist/x-skeleton-group.js +12 -12
  84. package/dist/x-skeleton.js +1 -1
  85. package/dist/x-slider.js +15 -16
  86. package/dist/x-soft-body.js +22 -22
  87. package/dist/x-spacer.js +4 -5
  88. package/dist/x-spinner.js +4 -5
  89. package/dist/x-splash.js +12 -13
  90. package/dist/x-stat.js +10 -12
  91. package/dist/x-stepper.js +14 -15
  92. package/dist/x-switch.js +10 -9
  93. package/dist/x-tab.js +7 -8
  94. package/dist/x-table-cell.js +20 -24
  95. package/dist/x-table-row.js +8 -9
  96. package/dist/x-table.js +12 -15
  97. package/dist/x-tabs.js +11 -11
  98. package/dist/x-text-area.js +18 -18
  99. package/dist/x-theme.js +25 -25
  100. package/dist/x-timeline-item.js +21 -23
  101. package/dist/x-timeline.js +8 -9
  102. package/dist/x-toast.js +22 -24
  103. package/dist/x-toaster.js +8 -8
  104. package/dist/x-tooltip.js +12 -11
  105. package/dist/x-typography.js +9 -11
  106. package/dist/x-welcome-tour.js +60 -64
  107. package/package.json +21 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,28 @@
2
2
 
3
3
  All notable changes to BareDOM will be documented in this file.
4
4
 
5
+ ## [2.8.0] - 2026-05-06
6
+
7
+ ### Added
8
+
9
+ - **x-i18n / x-i18n-provider** — Translation components. `x-i18n-provider` holds the dictionary and active locale; `x-i18n` renders a translated string for a given key with parameter interpolation.
10
+ - **x-kinetic-canvas** — Animated background component (canvas-based, motion-respecting).
11
+ - **x-multi-combobox** — Combobox variant with multi-select chips, keyboard navigation, and a cancelable `change-request` event.
12
+
13
+ ### Changed
14
+
15
+ - **Internal architecture audit** — 18 PRs across the component library: `event-schema` defs added to every model, lifecycle callbacks normalized to `!`-suffix `defn-` form, `^js` hints filled in for Closure Advanced safety, event dispatch routed through `du/dispatch!` / `du/dispatch-cancelable!`, and property accessors migrated to `du/define-*-prop!` helpers. 36 components now register properties via the one-line data-driven `du/install-properties!` (Tier 0). Net several thousand lines removed. **No public API changes.**
16
+ - **Tier 0/1/2 property-accessor taxonomy** — Documented in `CLAUDE.md` and `docs/REGISTRATION.md` so contributors pick the simplest registration tier per component.
17
+ - **Pre-commit hook** — Now auto-regenerates the Angular adapter when `src/` changes.
18
+
19
+ ### Fixed
20
+
21
+ - **x-combobox / x-multi-combobox** — Render pipeline now applies the model-change guard, preventing infinite `attributeChangedCallback` recursion.
22
+ - **x-kinetic-typography** — SVG path `d` attribute is now sanitized via `mu/sanitize-svg-path-d`.
23
+ - **x-i18n-provider** — Internal state encapsulated behind the public API.
24
+ - **x-kinetic-canvas docs** — CSS custom property defaults synced with implementation.
25
+ - **x-icon** — Property test now forwards `:default` in `install-properties!` for string props.
26
+
5
27
  ## [2.7.0] - 2026-05-02
6
28
 
7
29
  ### Changed
@@ -572,6 +572,119 @@
572
572
  "name" : "XDrawer"
573
573
  }
574
574
  } ]
575
+ }, {
576
+ "kind" : "javascript-module",
577
+ "path" : "dist/x-multi-combobox.js",
578
+ "declarations" : [ {
579
+ "kind" : "class",
580
+ "name" : "XMultiCombobox",
581
+ "tagName" : "x-multi-combobox",
582
+ "superclass" : {
583
+ "name" : "HTMLElement"
584
+ },
585
+ "members" : [ {
586
+ "kind" : "field",
587
+ "name" : "value",
588
+ "type" : {
589
+ "text" : "string"
590
+ }
591
+ }, {
592
+ "kind" : "field",
593
+ "name" : "placeholder",
594
+ "type" : {
595
+ "text" : "string"
596
+ }
597
+ }, {
598
+ "kind" : "field",
599
+ "name" : "name",
600
+ "type" : {
601
+ "text" : "string"
602
+ }
603
+ }, {
604
+ "kind" : "field",
605
+ "name" : "disabled",
606
+ "type" : {
607
+ "text" : "boolean"
608
+ }
609
+ }, {
610
+ "kind" : "field",
611
+ "name" : "required",
612
+ "type" : {
613
+ "text" : "boolean"
614
+ }
615
+ }, {
616
+ "kind" : "field",
617
+ "name" : "open",
618
+ "type" : {
619
+ "text" : "boolean"
620
+ }
621
+ }, {
622
+ "kind" : "field",
623
+ "name" : "placement",
624
+ "type" : {
625
+ "text" : "string"
626
+ }
627
+ }, {
628
+ "kind" : "field",
629
+ "name" : "max",
630
+ "type" : {
631
+ "text" : "number"
632
+ }
633
+ }, {
634
+ "kind" : "method",
635
+ "name" : "show",
636
+ "return" : {
637
+ "type" : {
638
+ "text" : "void"
639
+ }
640
+ }
641
+ }, {
642
+ "kind" : "method",
643
+ "name" : "hide",
644
+ "return" : {
645
+ "type" : {
646
+ "text" : "void"
647
+ }
648
+ }
649
+ } ],
650
+ "events" : [ {
651
+ "name" : "x-multi-combobox-change-request",
652
+ "type" : {
653
+ "text" : "CustomEvent"
654
+ }
655
+ }, {
656
+ "name" : "x-multi-combobox-change",
657
+ "type" : {
658
+ "text" : "CustomEvent"
659
+ }
660
+ }, {
661
+ "name" : "x-multi-combobox-input",
662
+ "type" : {
663
+ "text" : "CustomEvent"
664
+ }
665
+ }, {
666
+ "name" : "x-multi-combobox-toggle",
667
+ "type" : {
668
+ "text" : "CustomEvent"
669
+ }
670
+ } ],
671
+ "slots" : [ {
672
+ "name" : ""
673
+ } ]
674
+ } ],
675
+ "exports" : [ {
676
+ "kind" : "js",
677
+ "name" : "init",
678
+ "declaration" : {
679
+ "name" : "init"
680
+ }
681
+ }, {
682
+ "kind" : "custom-element-definition",
683
+ "name" : "x-multi-combobox",
684
+ "declaration" : {
685
+ "name" : "XMultiCombobox"
686
+ }
687
+ } ]
575
688
  }, {
576
689
  "kind" : "javascript-module",
577
690
  "path" : "dist/x-skeleton-group.js",
@@ -1202,7 +1315,17 @@
1202
1315
  "text" : "any"
1203
1316
  }
1204
1317
  } ],
1205
- "events" : [ ],
1318
+ "events" : [ {
1319
+ "name" : "x-chart-select",
1320
+ "type" : {
1321
+ "text" : "CustomEvent"
1322
+ }
1323
+ }, {
1324
+ "name" : "x-chart-hover",
1325
+ "type" : {
1326
+ "text" : "CustomEvent"
1327
+ }
1328
+ } ],
1206
1329
  "slots" : [ {
1207
1330
  "name" : ""
1208
1331
  } ]
@@ -2549,16 +2672,41 @@
2549
2672
  "kind" : "field",
2550
2673
  "name" : "offset",
2551
2674
  "type" : {
2552
- "text" : "number"
2675
+ "text" : "string"
2553
2676
  }
2554
2677
  }, {
2555
2678
  "kind" : "field",
2556
2679
  "name" : "zIndex",
2557
2680
  "type" : {
2558
- "text" : "number"
2681
+ "text" : "string"
2682
+ }
2683
+ } ],
2684
+ "events" : [ {
2685
+ "name" : "x-context-menu-open-request",
2686
+ "type" : {
2687
+ "text" : "CustomEvent"
2688
+ }
2689
+ }, {
2690
+ "name" : "x-context-menu-open",
2691
+ "type" : {
2692
+ "text" : "CustomEvent"
2693
+ }
2694
+ }, {
2695
+ "name" : "x-context-menu-close-request",
2696
+ "type" : {
2697
+ "text" : "CustomEvent"
2698
+ }
2699
+ }, {
2700
+ "name" : "x-context-menu-close",
2701
+ "type" : {
2702
+ "text" : "CustomEvent"
2703
+ }
2704
+ }, {
2705
+ "name" : "x-context-menu-select",
2706
+ "type" : {
2707
+ "text" : "CustomEvent"
2559
2708
  }
2560
2709
  } ],
2561
- "events" : [ ],
2562
2710
  "slots" : [ {
2563
2711
  "name" : ""
2564
2712
  } ]
@@ -3748,7 +3896,22 @@
3748
3896
  "text" : "boolean"
3749
3897
  }
3750
3898
  } ],
3751
- "events" : [ ],
3899
+ "events" : [ {
3900
+ "name" : "x-date-picker-input",
3901
+ "type" : {
3902
+ "text" : "CustomEvent"
3903
+ }
3904
+ }, {
3905
+ "name" : "x-date-picker-change-request",
3906
+ "type" : {
3907
+ "text" : "CustomEvent"
3908
+ }
3909
+ }, {
3910
+ "name" : "x-date-picker-change",
3911
+ "type" : {
3912
+ "text" : "CustomEvent"
3913
+ }
3914
+ } ],
3752
3915
  "slots" : [ {
3753
3916
  "name" : ""
3754
3917
  } ]
@@ -3952,6 +4115,76 @@
3952
4115
  "name" : "XGrid"
3953
4116
  }
3954
4117
  } ]
4118
+ }, {
4119
+ "kind" : "javascript-module",
4120
+ "path" : "dist/x-i18n-provider.js",
4121
+ "declarations" : [ {
4122
+ "kind" : "class",
4123
+ "name" : "XI18nProvider",
4124
+ "tagName" : "x-i18n-provider",
4125
+ "superclass" : {
4126
+ "name" : "HTMLElement"
4127
+ },
4128
+ "members" : [ {
4129
+ "kind" : "field",
4130
+ "name" : "src",
4131
+ "type" : {
4132
+ "text" : "string"
4133
+ }
4134
+ }, {
4135
+ "kind" : "field",
4136
+ "name" : "locale",
4137
+ "type" : {
4138
+ "text" : "string"
4139
+ }
4140
+ }, {
4141
+ "kind" : "field",
4142
+ "name" : "fallbackLocale",
4143
+ "type" : {
4144
+ "text" : "string"
4145
+ }
4146
+ }, {
4147
+ "kind" : "method",
4148
+ "name" : "translateSubtree",
4149
+ "return" : {
4150
+ "type" : {
4151
+ "text" : "void"
4152
+ }
4153
+ }
4154
+ } ],
4155
+ "events" : [ {
4156
+ "name" : "x-i18n-loading",
4157
+ "type" : {
4158
+ "text" : "CustomEvent"
4159
+ }
4160
+ }, {
4161
+ "name" : "x-i18n-change",
4162
+ "type" : {
4163
+ "text" : "CustomEvent"
4164
+ }
4165
+ }, {
4166
+ "name" : "x-i18n-error",
4167
+ "type" : {
4168
+ "text" : "CustomEvent"
4169
+ }
4170
+ } ],
4171
+ "slots" : [ {
4172
+ "name" : ""
4173
+ } ]
4174
+ } ],
4175
+ "exports" : [ {
4176
+ "kind" : "js",
4177
+ "name" : "init",
4178
+ "declaration" : {
4179
+ "name" : "init"
4180
+ }
4181
+ }, {
4182
+ "kind" : "custom-element-definition",
4183
+ "name" : "x-i18n-provider",
4184
+ "declaration" : {
4185
+ "name" : "XI18nProvider"
4186
+ }
4187
+ } ]
3955
4188
  }, {
3956
4189
  "kind" : "javascript-module",
3957
4190
  "path" : "dist/x-modal.js",
@@ -4682,6 +4915,71 @@
4682
4915
  "name" : "XCombobox"
4683
4916
  }
4684
4917
  } ]
4918
+ }, {
4919
+ "kind" : "javascript-module",
4920
+ "path" : "dist/x-kinetic-canvas.js",
4921
+ "declarations" : [ {
4922
+ "kind" : "class",
4923
+ "name" : "XKineticCanvas",
4924
+ "tagName" : "x-kinetic-canvas",
4925
+ "superclass" : {
4926
+ "name" : "HTMLElement"
4927
+ },
4928
+ "members" : [ {
4929
+ "kind" : "field",
4930
+ "name" : "type",
4931
+ "type" : {
4932
+ "text" : "string"
4933
+ }
4934
+ }, {
4935
+ "kind" : "field",
4936
+ "name" : "variant",
4937
+ "type" : {
4938
+ "text" : "string"
4939
+ }
4940
+ }, {
4941
+ "kind" : "field",
4942
+ "name" : "speed",
4943
+ "type" : {
4944
+ "text" : "string"
4945
+ }
4946
+ }, {
4947
+ "kind" : "field",
4948
+ "name" : "density",
4949
+ "type" : {
4950
+ "text" : "string"
4951
+ }
4952
+ }, {
4953
+ "kind" : "field",
4954
+ "name" : "fullscreen",
4955
+ "type" : {
4956
+ "text" : "boolean"
4957
+ }
4958
+ }, {
4959
+ "kind" : "field",
4960
+ "name" : "paused",
4961
+ "type" : {
4962
+ "text" : "boolean"
4963
+ }
4964
+ } ],
4965
+ "events" : [ ],
4966
+ "slots" : [ {
4967
+ "name" : ""
4968
+ } ]
4969
+ } ],
4970
+ "exports" : [ {
4971
+ "kind" : "js",
4972
+ "name" : "init",
4973
+ "declaration" : {
4974
+ "name" : "init"
4975
+ }
4976
+ }, {
4977
+ "kind" : "custom-element-definition",
4978
+ "name" : "x-kinetic-canvas",
4979
+ "declaration" : {
4980
+ "name" : "XKineticCanvas"
4981
+ }
4982
+ } ]
4685
4983
  }, {
4686
4984
  "kind" : "javascript-module",
4687
4985
  "path" : "dist/x-text-area.js",
@@ -4833,6 +5131,47 @@
4833
5131
  "name" : "XTypography"
4834
5132
  }
4835
5133
  } ]
5134
+ }, {
5135
+ "kind" : "javascript-module",
5136
+ "path" : "dist/x-i18n.js",
5137
+ "declarations" : [ {
5138
+ "kind" : "class",
5139
+ "name" : "XI18n",
5140
+ "tagName" : "x-i18n",
5141
+ "superclass" : {
5142
+ "name" : "HTMLElement"
5143
+ },
5144
+ "members" : [ {
5145
+ "kind" : "field",
5146
+ "name" : "key",
5147
+ "type" : {
5148
+ "text" : "string"
5149
+ }
5150
+ }, {
5151
+ "kind" : "field",
5152
+ "name" : "params",
5153
+ "type" : {
5154
+ "text" : "string"
5155
+ }
5156
+ } ],
5157
+ "events" : [ ],
5158
+ "slots" : [ {
5159
+ "name" : ""
5160
+ } ]
5161
+ } ],
5162
+ "exports" : [ {
5163
+ "kind" : "js",
5164
+ "name" : "init",
5165
+ "declaration" : {
5166
+ "name" : "init"
5167
+ }
5168
+ }, {
5169
+ "kind" : "custom-element-definition",
5170
+ "name" : "x-i18n",
5171
+ "declaration" : {
5172
+ "name" : "XI18n"
5173
+ }
5174
+ } ]
4836
5175
  }, {
4837
5176
  "kind" : "javascript-module",
4838
5177
  "path" : "dist/x-metaball-cursor.js",
package/dist/baredom.d.ts CHANGED
@@ -7,6 +7,7 @@ export { XStepper } from "./x-stepper";
7
7
  export { XSpinner } from "./x-spinner";
8
8
  export { XScrollTimeline } from "./x-scroll-timeline";
9
9
  export { XDrawer } from "./x-drawer";
10
+ export { XMultiCombobox } from "./x-multi-combobox";
10
11
  export { XSkeletonGroup } from "./x-skeleton-group";
11
12
  export { XRippleEffect } from "./x-ripple-effect";
12
13
  export { XPopover } from "./x-popover";
@@ -55,6 +56,7 @@ export { XDatePicker } from "./x-date-picker";
55
56
  export { XTimelineItem } from "./x-timeline-item";
56
57
  export { XOrganicDivider } from "./x-organic-divider";
57
58
  export { XGrid } from "./x-grid";
59
+ export { XI18nProvider } from "./x-i18n-provider";
58
60
  export { XModal } from "./x-modal";
59
61
  export { XFileDownload } from "./x-file-download";
60
62
  export { XWelcomeTour } from "./x-welcome-tour";
@@ -63,8 +65,10 @@ export { XMorphStack } from "./x-morph-stack";
63
65
  export { XScrollParallax } from "./x-scroll-parallax";
64
66
  export { XParticleButton } from "./x-particle-button";
65
67
  export { XCombobox } from "./x-combobox";
68
+ export { XKineticCanvas } from "./x-kinetic-canvas";
66
69
  export { XTextArea } from "./x-text-area";
67
70
  export { XTypography } from "./x-typography";
71
+ export { XI18n } from "./x-i18n";
68
72
  export { XMetaballCursor } from "./x-metaball-cursor";
69
73
  export { XMenu } from "./x-menu";
70
74
  export { XLiquidGlass } from "./x-liquid-glass";