@vanelsas/baredom 3.5.0 → 3.6.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 (109) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +2 -2
  3. package/custom-elements.json +116 -0
  4. package/dist/baredom.d.ts +1 -0
  5. package/dist/base.js +282 -282
  6. package/dist/integrity.json +104 -103
  7. package/dist/x-alert.js +17 -17
  8. package/dist/x-avatar-group.js +9 -9
  9. package/dist/x-avatar.js +13 -13
  10. package/dist/x-badge.js +8 -8
  11. package/dist/x-bento-grid.js +5 -5
  12. package/dist/x-bento-item.js +4 -4
  13. package/dist/x-breadcrumbs.js +13 -13
  14. package/dist/x-calendar.js +33 -33
  15. package/dist/x-cancel-dialogue.js +13 -13
  16. package/dist/x-card.js +7 -7
  17. package/dist/x-carousel.js +32 -32
  18. package/dist/x-chart.js +44 -44
  19. package/dist/x-chip.js +1 -1
  20. package/dist/x-code.js +24 -24
  21. package/dist/x-collapse.js +8 -8
  22. package/dist/x-color-picker.js +44 -44
  23. package/dist/x-combobox.js +31 -31
  24. package/dist/x-command-palette.js +28 -28
  25. package/dist/x-confetti.js +22 -22
  26. package/dist/x-container.js +3 -3
  27. package/dist/x-context-menu.js +19 -19
  28. package/dist/x-currency-field.js +22 -22
  29. package/dist/x-date-picker.js +33 -33
  30. package/dist/x-divider.js +9 -9
  31. package/dist/x-drawer.js +10 -10
  32. package/dist/x-dropdown.js +12 -12
  33. package/dist/x-fieldset.js +4 -4
  34. package/dist/x-file-download.js +5 -5
  35. package/dist/x-file-upload.js +24 -24
  36. package/dist/x-floating-panel.d.ts +50 -0
  37. package/dist/x-floating-panel.js +25 -0
  38. package/dist/x-form-field.js +13 -13
  39. package/dist/x-form.js +10 -10
  40. package/dist/x-gaussian-blur.js +12 -12
  41. package/dist/x-grid.js +6 -6
  42. package/dist/x-i18n-provider.js +6 -6
  43. package/dist/x-i18n.js +4 -4
  44. package/dist/x-icon.js +7 -7
  45. package/dist/x-image.js +17 -17
  46. package/dist/x-kbd.js +11 -11
  47. package/dist/x-kinetic-canvas.js +24 -24
  48. package/dist/x-kinetic-font.js +21 -21
  49. package/dist/x-kinetic-typography.js +33 -33
  50. package/dist/x-liquid-dock.js +31 -31
  51. package/dist/x-liquid-fill.js +40 -40
  52. package/dist/x-liquid-glass.js +28 -28
  53. package/dist/x-menu-item.js +6 -6
  54. package/dist/x-menu.js +7 -7
  55. package/dist/x-metaball-cursor.js +21 -21
  56. package/dist/x-modal.js +9 -9
  57. package/dist/x-morph-stack.js +37 -37
  58. package/dist/x-multi-combobox.js +37 -37
  59. package/dist/x-navbar.js +11 -11
  60. package/dist/x-neural-glow.js +21 -21
  61. package/dist/x-notification-center.js +9 -9
  62. package/dist/x-organic-divider.js +15 -15
  63. package/dist/x-organic-progress.js +33 -33
  64. package/dist/x-organic-shape.js +7 -7
  65. package/dist/x-otp-input.js +20 -20
  66. package/dist/x-pagination.js +11 -11
  67. package/dist/x-particle-button.js +40 -40
  68. package/dist/x-popover.js +25 -25
  69. package/dist/x-progress-circle.js +7 -7
  70. package/dist/x-progress.js +7 -7
  71. package/dist/x-proximity-list.js +20 -20
  72. package/dist/x-radio.js +11 -11
  73. package/dist/x-range-slider.js +27 -27
  74. package/dist/x-rating.js +21 -21
  75. package/dist/x-ripple-effect.js +8 -8
  76. package/dist/x-scroll-parallax.js +16 -16
  77. package/dist/x-scroll-stack.js +14 -14
  78. package/dist/x-scroll-story.js +28 -28
  79. package/dist/x-scroll-timeline.js +45 -45
  80. package/dist/x-scroll.js +30 -30
  81. package/dist/x-search-field.js +1 -1
  82. package/dist/x-sidebar.js +13 -13
  83. package/dist/x-skeleton-group.js +11 -11
  84. package/dist/x-slider.js +15 -15
  85. package/dist/x-soft-body.js +15 -15
  86. package/dist/x-spacer.js +4 -4
  87. package/dist/x-spinner.js +3 -3
  88. package/dist/x-splash.js +10 -10
  89. package/dist/x-split-pane.js +14 -14
  90. package/dist/x-spotlight-card.js +11 -11
  91. package/dist/x-stat.js +10 -10
  92. package/dist/x-stepper.js +13 -13
  93. package/dist/x-switch.js +9 -9
  94. package/dist/x-tab.js +6 -6
  95. package/dist/x-table-cell.js +16 -16
  96. package/dist/x-table-row.js +8 -8
  97. package/dist/x-table.js +12 -12
  98. package/dist/x-tabs.js +10 -10
  99. package/dist/x-text-area.js +18 -18
  100. package/dist/x-theme.js +14 -14
  101. package/dist/x-timeline-item.js +20 -20
  102. package/dist/x-timeline.js +8 -8
  103. package/dist/x-toast.js +22 -22
  104. package/dist/x-toaster.js +6 -6
  105. package/dist/x-tooltip.js +12 -12
  106. package/dist/x-trace-history.js +94 -94
  107. package/dist/x-typography.js +4 -4
  108. package/dist/x-welcome-tour.js +62 -62
  109. package/package.json +6 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,23 @@
2
2
 
3
3
  All notable changes to BareDOM will be documented in this file.
4
4
 
5
+ ## [3.6.0] - 2026-07-27
6
+
7
+ One new component: a floating, draggable container for inspectors, tool palettes, mini-players, and any persistent surface the user should be able to move out of the way.
8
+
9
+ ### Added
10
+
11
+ - **`x-floating-panel`** — a non-modal container that floats above page content at a viewport-fixed position and is repositioned by dragging its handle bar or, when the handle has focus, with the arrow keys. Position lives in the `x` / `y` attributes, so a panel renders where you declared it on first paint with no measure-then-place flash, and clamping keeps the handle reachable whenever the panel opens, connects, moves, or the viewport resizes — a panel parked off-screen is pulled back rather than stranded. Optional `closable` (close button plus `Escape`), `resizable` (native CSS resize grip on the body), `focus-on-open` (off by default, so an ambient panel never steals focus from what the user is typing in), and `step` for arrow-key distance. Emits `x-floating-panel-toggle`, a cancelable `x-floating-panel-dismiss-request`, and `x-floating-panel-move` on drag end and keyboard nudge — never per animation frame.
12
+
13
+ ### Accessibility
14
+
15
+ - The handle bar is keyboard-operable, which WCAG 2.2 SC 2.5.7 (Dragging Movements) requires of any drag interaction. It is focusable and carries `aria-roledescription="Drag handle"` plus `aria-keyshortcuts`, because the handle is moved rather than activated and a bare `role="button"` would promise an activation that never happens. The panel is a non-modal `role="dialog"` with no focus trap, always accessibly named from the `header` slot or the `label` attribute.
16
+
17
+ ### Notes
18
+
19
+ - Interactive content in the `header` slot can opt out of the drag surface with `data-no-drag`; the built-in close button is excluded automatically.
20
+ - The framework adapters gain a generated `x-floating-panel` wrapper. They version on their own cadence — see [`docs/RELEASING.md`](docs/RELEASING.md) — so releasing them is a separate step.
21
+
5
22
  ## [3.5.0] - 2026-07-24
6
23
 
7
24
  Form-associated components gain the instance-level validation API they were missing, and two form-control bugs are fixed: emptying an `x-date-picker` input now clears the committed date, and a form reset now clears validation errors.
package/README.md CHANGED
@@ -103,7 +103,7 @@ All adapters are auto-generated from the same Custom Elements Manifest, so addin
103
103
 
104
104
  ## Components
105
105
 
106
- **103 UI web components across 11 categories** — from foundational UI controls to morphing animations, organic effects, and scroll-driven storytelling.
106
+ **104 UI web components across 11 categories** — from foundational UI controls to morphing animations, organic effects, and scroll-driven storytelling.
107
107
 
108
108
  | Category | Count | Examples |
109
109
  |----------|------:|----------|
@@ -112,7 +112,7 @@ All adapters are auto-generated from the same Custom Elements Manifest, so addin
112
112
  | **Navigation** | 8 | Navbar · Sidebar · Breadcrumbs · Tabs · Pagination · Menu |
113
113
  | **Layout** | 10 | Card · Grid · Bento Grid · Split Pane · Container · Collapse |
114
114
  | **Data** | 11 | Avatar · Table · Chart · Timeline · Calendar · Stat |
115
- | **Overlay** | 9 | Modal · Drawer · Popover · Tooltip · Welcome Tour · Command Palette |
115
+ | **Overlay** | 10 | Modal · Drawer · Popover · Tooltip · Floating Panel · Command Palette |
116
116
  | **Display** | 6 | Icon · Image · Typography · Code · Kbd · Spotlight Card |
117
117
  | **Animation** | 6 | Kinetic Canvas · Kinetic Typography · Morph Stack · Soft Body · Splash |
118
118
  | **Effects** | 12 | Liquid Glass · Confetti · Neural Glow · Metaball Cursor · Organic Shape |
@@ -3897,6 +3897,122 @@
3897
3897
  "name" : "XOtpInput"
3898
3898
  }
3899
3899
  } ]
3900
+ }, {
3901
+ "kind" : "javascript-module",
3902
+ "path" : "dist/x-floating-panel.js",
3903
+ "declarations" : [ {
3904
+ "kind" : "class",
3905
+ "name" : "XFloatingPanel",
3906
+ "tagName" : "x-floating-panel",
3907
+ "superclass" : {
3908
+ "name" : "HTMLElement"
3909
+ },
3910
+ "members" : [ {
3911
+ "kind" : "field",
3912
+ "name" : "open",
3913
+ "type" : {
3914
+ "text" : "boolean"
3915
+ }
3916
+ }, {
3917
+ "kind" : "field",
3918
+ "name" : "x",
3919
+ "type" : {
3920
+ "text" : "number"
3921
+ }
3922
+ }, {
3923
+ "kind" : "field",
3924
+ "name" : "y",
3925
+ "type" : {
3926
+ "text" : "number"
3927
+ }
3928
+ }, {
3929
+ "kind" : "field",
3930
+ "name" : "step",
3931
+ "type" : {
3932
+ "text" : "number"
3933
+ }
3934
+ }, {
3935
+ "kind" : "field",
3936
+ "name" : "closable",
3937
+ "type" : {
3938
+ "text" : "boolean"
3939
+ }
3940
+ }, {
3941
+ "kind" : "field",
3942
+ "name" : "resizable",
3943
+ "type" : {
3944
+ "text" : "boolean"
3945
+ }
3946
+ }, {
3947
+ "kind" : "field",
3948
+ "name" : "label",
3949
+ "type" : {
3950
+ "text" : "string"
3951
+ }
3952
+ }, {
3953
+ "kind" : "field",
3954
+ "name" : "focusOnOpen",
3955
+ "type" : {
3956
+ "text" : "boolean"
3957
+ }
3958
+ }, {
3959
+ "kind" : "method",
3960
+ "name" : "show",
3961
+ "return" : {
3962
+ "type" : {
3963
+ "text" : "void"
3964
+ }
3965
+ }
3966
+ }, {
3967
+ "kind" : "method",
3968
+ "name" : "hide",
3969
+ "return" : {
3970
+ "type" : {
3971
+ "text" : "void"
3972
+ }
3973
+ }
3974
+ }, {
3975
+ "kind" : "method",
3976
+ "name" : "toggle",
3977
+ "return" : {
3978
+ "type" : {
3979
+ "text" : "void"
3980
+ }
3981
+ }
3982
+ } ],
3983
+ "events" : [ {
3984
+ "name" : "x-floating-panel-toggle",
3985
+ "type" : {
3986
+ "text" : "CustomEvent"
3987
+ }
3988
+ }, {
3989
+ "name" : "x-floating-panel-dismiss-request",
3990
+ "type" : {
3991
+ "text" : "CustomEvent"
3992
+ }
3993
+ }, {
3994
+ "name" : "x-floating-panel-move",
3995
+ "type" : {
3996
+ "text" : "CustomEvent"
3997
+ }
3998
+ } ],
3999
+ "slots" : [ {
4000
+ "name" : ""
4001
+ } ]
4002
+ } ],
4003
+ "exports" : [ {
4004
+ "kind" : "js",
4005
+ "name" : "init",
4006
+ "declaration" : {
4007
+ "name" : "init"
4008
+ }
4009
+ }, {
4010
+ "kind" : "custom-element-definition",
4011
+ "name" : "x-floating-panel",
4012
+ "declaration" : {
4013
+ "name" : "XFloatingPanel"
4014
+ }
4015
+ } ]
3900
4016
  }, {
3901
4017
  "kind" : "javascript-module",
3902
4018
  "path" : "dist/x-i18n.js",
package/dist/baredom.d.ts CHANGED
@@ -45,6 +45,7 @@ export { XToaster } from "./x-toaster";
45
45
  export { XTableCell } from "./x-table-cell";
46
46
  export { XBentoGrid } from "./x-bento-grid";
47
47
  export { XOtpInput } from "./x-otp-input";
48
+ export { XFloatingPanel } from "./x-floating-panel";
48
49
  export { XI18n } from "./x-i18n";
49
50
  export { XImage } from "./x-image";
50
51
  export { XI18nProvider } from "./x-i18n-provider";