@vanelsas/baredom 3.10.0 → 3.12.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 (116) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/custom-elements.json +11052 -10264
  3. package/dist/baredom.d.ts +93 -93
  4. package/dist/base.js +598 -598
  5. package/dist/integrity.json +111 -111
  6. package/dist/x-alert.js +16 -16
  7. package/dist/x-avatar-group.js +9 -9
  8. package/dist/x-avatar.js +14 -14
  9. package/dist/x-badge.js +8 -8
  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 -13
  13. package/dist/x-button.js +1 -1
  14. package/dist/x-calendar.js +34 -34
  15. package/dist/x-cancel-dialogue.js +12 -12
  16. package/dist/x-card.js +7 -7
  17. package/dist/x-carousel.js +31 -31
  18. package/dist/x-chart.js +44 -44
  19. package/dist/x-checkbox.js +1 -1
  20. package/dist/x-chip.js +1 -1
  21. package/dist/x-code.js +27 -27
  22. package/dist/x-collapse.js +8 -8
  23. package/dist/x-color-picker.js +34 -34
  24. package/dist/x-combobox.js +31 -31
  25. package/dist/x-command-palette.js +27 -27
  26. package/dist/x-confetti.js +23 -23
  27. package/dist/x-container.js +4 -4
  28. package/dist/x-context-menu.js +19 -19
  29. package/dist/x-copy.js +1 -1
  30. package/dist/x-currency-field.js +21 -21
  31. package/dist/x-date-picker.js +34 -34
  32. package/dist/x-divider.js +9 -9
  33. package/dist/x-drag-panel.js +31 -31
  34. package/dist/x-drawer.js +9 -9
  35. package/dist/x-drop-zone.js +11 -11
  36. package/dist/x-dropdown.js +12 -12
  37. package/dist/x-fieldset.js +5 -5
  38. package/dist/x-file-download.d.ts +4 -0
  39. package/dist/x-file-download.js +14 -6
  40. package/dist/x-file-upload.js +23 -23
  41. package/dist/x-floating-panel.js +21 -21
  42. package/dist/x-form-field.js +14 -14
  43. package/dist/x-form.js +10 -10
  44. package/dist/x-gaussian-blur.js +11 -11
  45. package/dist/x-grid.js +6 -6
  46. package/dist/x-i18n-provider.js +7 -7
  47. package/dist/x-i18n.js +4 -4
  48. package/dist/x-icon.js +7 -7
  49. package/dist/x-image.js +16 -16
  50. package/dist/x-kbd.js +11 -11
  51. package/dist/x-kinetic-canvas.js +24 -24
  52. package/dist/x-kinetic-font.js +22 -22
  53. package/dist/x-kinetic-typography.js +29 -29
  54. package/dist/x-liquid-dock.js +29 -29
  55. package/dist/x-liquid-fill.js +38 -38
  56. package/dist/x-liquid-glass.js +25 -25
  57. package/dist/x-menu-item.js +8 -8
  58. package/dist/x-menu.js +8 -8
  59. package/dist/x-metaball-cursor.js +18 -18
  60. package/dist/x-modal.js +10 -10
  61. package/dist/x-morph-stack.js +37 -37
  62. package/dist/x-multi-combobox.js +37 -37
  63. package/dist/x-navbar.js +13 -13
  64. package/dist/x-neural-glow.js +21 -21
  65. package/dist/x-notification-center.js +9 -9
  66. package/dist/x-organic-divider.js +15 -15
  67. package/dist/x-organic-progress.js +32 -32
  68. package/dist/x-organic-shape.js +7 -7
  69. package/dist/x-otp-input.js +20 -20
  70. package/dist/x-pagination.js +11 -11
  71. package/dist/x-particle-button.d.ts +1 -1
  72. package/dist/x-particle-button.js +39 -39
  73. package/dist/x-popover.js +24 -24
  74. package/dist/x-progress-circle.js +6 -6
  75. package/dist/x-progress.js +6 -6
  76. package/dist/x-proximity-list.js +20 -20
  77. package/dist/x-radio.js +12 -12
  78. package/dist/x-range-slider.js +27 -27
  79. package/dist/x-rating.js +22 -22
  80. package/dist/x-ripple-effect.js +8 -8
  81. package/dist/x-scroll-parallax.js +17 -17
  82. package/dist/x-scroll-stack.js +15 -15
  83. package/dist/x-scroll-story.js +30 -30
  84. package/dist/x-scroll-timeline.js +45 -45
  85. package/dist/x-scroll.js +34 -34
  86. package/dist/x-search-field.js +1 -1
  87. package/dist/x-select.js +1 -1
  88. package/dist/x-sidebar.js +15 -15
  89. package/dist/x-skeleton-group.js +12 -12
  90. package/dist/x-skeleton.js +1 -1
  91. package/dist/x-slider.js +16 -16
  92. package/dist/x-soft-body.js +16 -16
  93. package/dist/x-spacer.js +4 -4
  94. package/dist/x-spinner.js +4 -4
  95. package/dist/x-splash.js +11 -11
  96. package/dist/x-split-pane.js +14 -14
  97. package/dist/x-spotlight-card.js +11 -11
  98. package/dist/x-stat.js +8 -8
  99. package/dist/x-stepper.js +13 -13
  100. package/dist/x-switch.js +11 -11
  101. package/dist/x-tab.js +6 -6
  102. package/dist/x-table-cell.js +17 -17
  103. package/dist/x-table-row.js +8 -8
  104. package/dist/x-table.js +12 -12
  105. package/dist/x-tabs.js +11 -11
  106. package/dist/x-text-area.js +18 -18
  107. package/dist/x-theme.js +24 -24
  108. package/dist/x-timeline-item.js +18 -18
  109. package/dist/x-timeline.js +8 -8
  110. package/dist/x-toast.js +20 -20
  111. package/dist/x-toaster.js +6 -6
  112. package/dist/x-tooltip.js +11 -11
  113. package/dist/x-trace-history.js +112 -112
  114. package/dist/x-typography.js +5 -5
  115. package/dist/x-welcome-tour.js +57 -57
  116. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,54 @@
2
2
 
3
3
  All notable changes to BareDOM will be documented in this file.
4
4
 
5
+ ## [3.12.0] - 2026-09-15
6
+
7
+ ### Added
8
+
9
+ - **`x-file-download` saves through the native save dialog.** A new `picker` attribute makes a
10
+ click open `showSaveFilePicker`, so the user chooses the folder and the name. The component
11
+ then fetches `href` and streams it into the chosen file, and reports the outcome as
12
+ `x-file-download-success`, `x-file-download-cancel` or `x-file-download-error` with the failing
13
+ phase. Browsers without the API, such as Firefox, Safari and Brave, keep the plain download, as
14
+ do cross-origin frames and a dialog that cannot open. `picker` is off by default, so existing
15
+ pages are unchanged.
16
+
17
+ All five adapters gain the `picker` prop and the three events: `-react` 2.5.0, `-angular`
18
+ 2.11.0, `-vue` 0.5.0, `-svelte` 0.5.0, `-solid` 0.5.0.
19
+
20
+ ## [3.11.0] - 2026-08-28
21
+
22
+ ### Fixed
23
+
24
+ - **Event detail keys are published as the component dispatches them.** `x-particle-button`
25
+ dispatches `#js {:press-x … :press-y …}`, so those are the keys on the event, but the generated
26
+ types camel-cased them and promised `pressX` and `pressY`. Every typed caller read a field that
27
+ is not there. The `.d.ts`, `custom-elements.json` and all five adapters now say `"press-x"`,
28
+ quoted because a hyphenated key is not a bare identifier in a TypeScript type.
29
+
30
+ This supersedes the detail half of the 3.3.0 fix "TypeScript declarations", which corrected the
31
+ same invalid identifiers by renaming them. That made the types compile and made them wrong.
32
+ Property names are unaffected and still camel-case, because a property reflects an attribute and
33
+ genuinely changes spelling.
34
+
35
+ Breaking for anyone writing `e.detail.pressX` — which never resolved to anything. Only
36
+ `x-particle-button` is affected; no other component has a kebab-case detail key. Every adapter
37
+ published the wrong key, so all five are released with it: `-react` 2.4.1, `-angular` 2.10.1,
38
+ `-vue` 0.4.2, `-svelte` 0.4.2, `-solid` 0.4.1.
39
+
40
+ ### Added
41
+
42
+ - **`detail` on every event in `custom-elements.json`** — what an event carries, as data, beside
43
+ the TypeScript in `type.text`. A reader no longer parses a type expression to learn the shape.
44
+ Both come from one function, so they cannot disagree.
45
+
46
+ ### Changed
47
+
48
+ - **`scripts/check_event_api.bb` also compares the manifest with the model.** It read the model on
49
+ both sides, so anything the generator did between them was invisible — which is how the
50
+ camel-casing above survived it. It now compares names and types over the union of both sides, so
51
+ a schema edited without regenerating is caught too.
52
+
5
53
  ## [3.10.0] - 2026-08-28
6
54
 
7
55
  ### Changed