@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.
- package/CHANGELOG.md +48 -0
- package/custom-elements.json +11052 -10264
- package/dist/baredom.d.ts +93 -93
- package/dist/base.js +598 -598
- package/dist/integrity.json +111 -111
- package/dist/x-alert.js +16 -16
- package/dist/x-avatar-group.js +9 -9
- package/dist/x-avatar.js +14 -14
- package/dist/x-badge.js +8 -8
- package/dist/x-bento-grid.js +5 -5
- package/dist/x-bento-item.js +4 -4
- package/dist/x-breadcrumbs.js +13 -13
- package/dist/x-button.js +1 -1
- package/dist/x-calendar.js +34 -34
- package/dist/x-cancel-dialogue.js +12 -12
- package/dist/x-card.js +7 -7
- package/dist/x-carousel.js +31 -31
- package/dist/x-chart.js +44 -44
- package/dist/x-checkbox.js +1 -1
- package/dist/x-chip.js +1 -1
- package/dist/x-code.js +27 -27
- package/dist/x-collapse.js +8 -8
- package/dist/x-color-picker.js +34 -34
- package/dist/x-combobox.js +31 -31
- package/dist/x-command-palette.js +27 -27
- package/dist/x-confetti.js +23 -23
- package/dist/x-container.js +4 -4
- package/dist/x-context-menu.js +19 -19
- package/dist/x-copy.js +1 -1
- package/dist/x-currency-field.js +21 -21
- package/dist/x-date-picker.js +34 -34
- package/dist/x-divider.js +9 -9
- package/dist/x-drag-panel.js +31 -31
- package/dist/x-drawer.js +9 -9
- package/dist/x-drop-zone.js +11 -11
- package/dist/x-dropdown.js +12 -12
- package/dist/x-fieldset.js +5 -5
- package/dist/x-file-download.d.ts +4 -0
- package/dist/x-file-download.js +14 -6
- package/dist/x-file-upload.js +23 -23
- package/dist/x-floating-panel.js +21 -21
- package/dist/x-form-field.js +14 -14
- package/dist/x-form.js +10 -10
- package/dist/x-gaussian-blur.js +11 -11
- package/dist/x-grid.js +6 -6
- package/dist/x-i18n-provider.js +7 -7
- package/dist/x-i18n.js +4 -4
- package/dist/x-icon.js +7 -7
- package/dist/x-image.js +16 -16
- package/dist/x-kbd.js +11 -11
- package/dist/x-kinetic-canvas.js +24 -24
- package/dist/x-kinetic-font.js +22 -22
- package/dist/x-kinetic-typography.js +29 -29
- package/dist/x-liquid-dock.js +29 -29
- package/dist/x-liquid-fill.js +38 -38
- package/dist/x-liquid-glass.js +25 -25
- package/dist/x-menu-item.js +8 -8
- package/dist/x-menu.js +8 -8
- package/dist/x-metaball-cursor.js +18 -18
- package/dist/x-modal.js +10 -10
- package/dist/x-morph-stack.js +37 -37
- package/dist/x-multi-combobox.js +37 -37
- package/dist/x-navbar.js +13 -13
- package/dist/x-neural-glow.js +21 -21
- package/dist/x-notification-center.js +9 -9
- package/dist/x-organic-divider.js +15 -15
- package/dist/x-organic-progress.js +32 -32
- package/dist/x-organic-shape.js +7 -7
- package/dist/x-otp-input.js +20 -20
- package/dist/x-pagination.js +11 -11
- package/dist/x-particle-button.d.ts +1 -1
- package/dist/x-particle-button.js +39 -39
- package/dist/x-popover.js +24 -24
- package/dist/x-progress-circle.js +6 -6
- package/dist/x-progress.js +6 -6
- package/dist/x-proximity-list.js +20 -20
- package/dist/x-radio.js +12 -12
- package/dist/x-range-slider.js +27 -27
- package/dist/x-rating.js +22 -22
- package/dist/x-ripple-effect.js +8 -8
- package/dist/x-scroll-parallax.js +17 -17
- package/dist/x-scroll-stack.js +15 -15
- package/dist/x-scroll-story.js +30 -30
- package/dist/x-scroll-timeline.js +45 -45
- package/dist/x-scroll.js +34 -34
- package/dist/x-search-field.js +1 -1
- package/dist/x-select.js +1 -1
- package/dist/x-sidebar.js +15 -15
- package/dist/x-skeleton-group.js +12 -12
- package/dist/x-skeleton.js +1 -1
- package/dist/x-slider.js +16 -16
- package/dist/x-soft-body.js +16 -16
- package/dist/x-spacer.js +4 -4
- package/dist/x-spinner.js +4 -4
- package/dist/x-splash.js +11 -11
- package/dist/x-split-pane.js +14 -14
- package/dist/x-spotlight-card.js +11 -11
- package/dist/x-stat.js +8 -8
- package/dist/x-stepper.js +13 -13
- package/dist/x-switch.js +11 -11
- package/dist/x-tab.js +6 -6
- package/dist/x-table-cell.js +17 -17
- package/dist/x-table-row.js +8 -8
- package/dist/x-table.js +12 -12
- package/dist/x-tabs.js +11 -11
- package/dist/x-text-area.js +18 -18
- package/dist/x-theme.js +24 -24
- package/dist/x-timeline-item.js +18 -18
- package/dist/x-timeline.js +8 -8
- package/dist/x-toast.js +20 -20
- package/dist/x-toaster.js +6 -6
- package/dist/x-tooltip.js +11 -11
- package/dist/x-trace-history.js +112 -112
- package/dist/x-typography.js +5 -5
- package/dist/x-welcome-tour.js +57 -57
- 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
|