@vanelsas/baredom 3.8.0 → 3.10.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 +63 -0
- package/README.md +1 -0
- package/custom-elements.json +9501 -427
- package/dist/base.js +64 -64
- package/dist/integrity.json +108 -108
- package/dist/x-alert.js +13 -13
- package/dist/x-avatar-group.js +9 -9
- package/dist/x-avatar.js +10 -10
- package/dist/x-badge.js +5 -5
- 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 +35 -35
- package/dist/x-cancel-dialogue.js +13 -13
- package/dist/x-card.js +7 -7
- package/dist/x-carousel.js +29 -29
- package/dist/x-chart.js +45 -45
- package/dist/x-checkbox.js +1 -1
- package/dist/x-chip.js +1 -1
- package/dist/x-code.js +20 -20
- package/dist/x-collapse.js +5 -5
- package/dist/x-color-picker.js +42 -42
- package/dist/x-combobox.js +8 -8
- package/dist/x-command-palette.js +26 -26
- package/dist/x-confetti.js +23 -23
- package/dist/x-container.js +5 -5
- package/dist/x-context-menu.js +13 -13
- package/dist/x-copy.js +1 -1
- package/dist/x-currency-field.js +20 -20
- package/dist/x-date-picker.d.ts +2 -2
- package/dist/x-date-picker.js +38 -36
- package/dist/x-divider.js +7 -7
- package/dist/x-drag-panel.js +30 -30
- package/dist/x-drawer.js +10 -10
- 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.js +4 -4
- package/dist/x-file-upload.js +22 -22
- package/dist/x-floating-panel.js +3 -3
- package/dist/x-form-field.js +12 -12
- package/dist/x-form.js +10 -10
- package/dist/x-gaussian-blur.js +10 -10
- 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 +6 -6
- package/dist/x-kinetic-canvas.js +24 -24
- package/dist/x-kinetic-font.js +17 -17
- package/dist/x-kinetic-typography.js +31 -31
- package/dist/x-liquid-dock.js +18 -18
- package/dist/x-liquid-fill.js +27 -27
- package/dist/x-liquid-glass.js +19 -19
- package/dist/x-menu-item.js +4 -4
- package/dist/x-menu.js +9 -9
- package/dist/x-metaball-cursor.js +22 -22
- package/dist/x-modal.js +8 -8
- package/dist/x-morph-stack.js +37 -37
- package/dist/x-multi-combobox.js +35 -35
- package/dist/x-navbar.js +7 -7
- package/dist/x-neural-glow.js +26 -26
- package/dist/x-organic-divider.js +16 -16
- package/dist/x-organic-progress.js +25 -25
- package/dist/x-organic-shape.js +12 -12
- package/dist/x-otp-input.js +19 -19
- package/dist/x-pagination.js +14 -14
- package/dist/x-particle-button.js +34 -34
- 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 +4 -4
- package/dist/x-radio.js +10 -10
- package/dist/x-range-slider.js +25 -25
- package/dist/x-rating.js +21 -21
- package/dist/x-ripple-effect.js +9 -9
- package/dist/x-scroll-parallax.js +15 -15
- package/dist/x-scroll-stack.js +16 -16
- package/dist/x-scroll-story.js +16 -16
- package/dist/x-scroll-timeline.js +40 -40
- package/dist/x-scroll.js +17 -17
- package/dist/x-select.js +1 -1
- package/dist/x-sidebar.js +11 -11
- package/dist/x-skeleton-group.js +12 -12
- package/dist/x-skeleton.js +1 -1
- package/dist/x-slider.js +12 -12
- package/dist/x-soft-body.js +17 -17
- package/dist/x-spacer.js +4 -4
- package/dist/x-spinner.js +3 -3
- package/dist/x-splash.js +12 -12
- package/dist/x-split-pane.js +8 -8
- package/dist/x-spotlight-card.js +12 -12
- package/dist/x-stat.js +10 -10
- package/dist/x-stepper.js +2 -2
- package/dist/x-switch.js +9 -9
- package/dist/x-table-cell.js +18 -18
- package/dist/x-table-row.js +8 -8
- package/dist/x-table.js +13 -13
- package/dist/x-tabs.js +11 -11
- package/dist/x-text-area.js +12 -12
- package/dist/x-theme.js +25 -25
- package/dist/x-timeline-item.js +5 -5
- package/dist/x-timeline.js +5 -5
- package/dist/x-toast.js +21 -21
- package/dist/x-toaster.js +6 -6
- package/dist/x-tooltip.js +11 -11
- package/dist/x-trace-history.js +122 -122
- package/dist/x-typography.js +6 -6
- package/dist/x-welcome-tour.js +59 -59
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,69 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to BareDOM will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [3.10.0] - 2026-08-28
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- **`x-date-picker` change details are one shape in both modes.** `x-date-picker-change` and
|
|
10
|
+
`x-date-picker-change-request` carried a different key set per mode — `value` in single mode,
|
|
11
|
+
`start` and `end` in range mode, and `date` on a range click — while `event-schema` declared only
|
|
12
|
+
the first. Every key is now always present and `null` where the mode has nothing to say, so the
|
|
13
|
+
declaration is true and a handler null-checks instead of testing for a key that was never there.
|
|
14
|
+
|
|
15
|
+
This widens the published types from `string` to `string | null` for `value`, `date`, `start` and
|
|
16
|
+
`end` on those two events, in `custom-elements.json`, the `.d.ts` files and all five framework
|
|
17
|
+
adapters. A consumer writing `const v: string = e.detail.value` will need a null check. Nothing
|
|
18
|
+
about when the events fire has changed.
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- **The Svelte and Vue adapters no longer write `"null"` into a bound value.** Released as
|
|
23
|
+
`@vanelsas/baredom-svelte` 0.4.1 and `@vanelsas/baredom-vue` 0.4.1. Both coerced the
|
|
24
|
+
change detail unconditionally — `String(detail.value)`, `Number(detail.page)` — so a detail field
|
|
25
|
+
that did not apply arrived as the literal string `"null"` in `bind:value` / `v-model` and was
|
|
26
|
+
written back onto the element as an attribute. They now write only when the field is present.
|
|
27
|
+
`false`, `0` and `""` are values and still write; only `null` and `undefined` are skipped.
|
|
28
|
+
Affects the twelve form controls in each adapter. React, Solid and Angular do not write back and
|
|
29
|
+
were never affected.
|
|
30
|
+
|
|
31
|
+
### Added
|
|
32
|
+
|
|
33
|
+
- **`scripts/check_event_api.bb`** — a CI check that reads each component's dispatch calls and
|
|
34
|
+
asserts the manifest's event details agree with them. It reads forms rather than text, follows a
|
|
35
|
+
detail through a `let`, a helper, a namespace alias and `clj->js`, and reports what it could not
|
|
36
|
+
read rather than counting it as agreement. 198 of 201 events are compared; the three it cannot
|
|
37
|
+
resolve are named. It is what found the `x-date-picker` mismatch above.
|
|
38
|
+
|
|
39
|
+
## [3.9.0] - 2026-08-26
|
|
40
|
+
|
|
41
|
+
The manifest declares `schemaVersion 1.0.0` and omitted three fields the schema defines. It now
|
|
42
|
+
publishes all three, so an editor reading `custom-elements.json` completes attributes and custom
|
|
43
|
+
properties that it previously knew nothing about.
|
|
44
|
+
|
|
45
|
+
### Added
|
|
46
|
+
|
|
47
|
+
- **`attributes`** — every attribute a component observes. An attribute that a `property-api`
|
|
48
|
+
entry reflects also carries that property's type and field name. The rest carry a name alone,
|
|
49
|
+
because the component states no type for them. 809 attributes across 108 components, 480 of
|
|
50
|
+
them typed. `observed-attributes` names symbols rather than strings, so each one is resolved
|
|
51
|
+
through the model's own constants: a symbol that escaped resolution would publish `attr-columns`
|
|
52
|
+
as if it were an attribute name.
|
|
53
|
+
|
|
54
|
+
- **`cssProperties` and `cssParts`** — the custom properties a component reads and the parts it
|
|
55
|
+
exposes, read from the implementation source that writes them rather than from a second
|
|
56
|
+
declaration. A property is owned by the longest tag that prefixes it, so `--x-table-cell-padding`
|
|
57
|
+
belongs to `x-table-cell` and not to `x-table`. 1351 properties and 489 parts.
|
|
58
|
+
|
|
59
|
+
- **`scripts/check_css_api.bb` and `scripts/check_attribute_api.bb`** — CI checks that read each
|
|
60
|
+
component crudely and assert the manifest agrees. Each is written to avoid the assumption its
|
|
61
|
+
extractor makes, because a check that shares one agrees with the bug.
|
|
62
|
+
|
|
63
|
+
### Notes
|
|
64
|
+
|
|
65
|
+
- **`src/` is unchanged**, so the ESM bundles, the framework adapters and the compiled namespaces
|
|
66
|
+
in the jar are identical to 3.8.0. Only the manifest grew.
|
|
67
|
+
|
|
5
68
|
## [3.8.0] - 2026-08-14
|
|
6
69
|
|
|
7
70
|
### Added
|
package/README.md
CHANGED
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
library. [BareBuild](https://github.com/avanelsas/barebuild) is a small runtime that drives web
|
|
23
23
|
components from server state alone. [BareReplay](https://github.com/avanelsas/barereplay) is a
|
|
24
24
|
powerful time-travel replay debugger for BareBuild-based apps.
|
|
25
|
+
[BareProbe](https://github.com/avanelsas/bareprobe) reads the same log from a REPL.
|
|
25
26
|
|
|
26
27
|
---
|
|
27
28
|
|