@boostdev/design-system-components 1.2.0 → 1.2.2

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 (168) hide show
  1. package/AGENTS.md +46 -4
  2. package/README.md +15 -15
  3. package/dist/client.cjs +149 -124
  4. package/dist/client.css +503 -525
  5. package/dist/client.d.cts +71 -96
  6. package/dist/client.d.ts +71 -96
  7. package/dist/client.js +149 -124
  8. package/dist/index.cjs +149 -124
  9. package/dist/index.css +503 -525
  10. package/dist/index.d.cts +71 -96
  11. package/dist/index.d.ts +71 -96
  12. package/dist/index.js +149 -124
  13. package/dist/web-components/{chunk-6MH5UWUD.js → chunk-2FGATTGT.js} +5 -0
  14. package/dist/web-components/{chunk-5IPHEONG.js → chunk-6I2DBFQ7.js} +1 -0
  15. package/dist/web-components/{chunk-DI46Q2EA.js → chunk-OCODKRVZ.js} +57 -82
  16. package/dist/web-components/index.d.ts +571 -1
  17. package/dist/web-components/index.js +1501 -4
  18. package/dist/web-components/interaction/bds-collapsible.js +1 -1
  19. package/dist/web-components/interaction/bds-drawer.js +1 -1
  20. package/dist/web-components/interaction/form/bds-segmented-control.js +1 -1
  21. package/package.json +1 -1
  22. package/src/components/interaction/Command/Command.tsx +4 -3
  23. package/src/components/interaction/Dialog/Dialog.tsx +4 -5
  24. package/src/components/interaction/Drawer/Drawer.module.css +37 -62
  25. package/src/components/interaction/Drawer/Drawer.spec.tsx +3 -3
  26. package/src/components/interaction/Drawer/Drawer.tsx +25 -24
  27. package/src/components/interaction/DropdownMenu/DropdownMenu.tsx +4 -2
  28. package/src/components/interaction/Popover/Popover.tsx +4 -3
  29. package/src/components/interaction/Rating/Rating.tsx +4 -2
  30. package/src/components/interaction/form/CheckboxGroup/CheckboxGroup.tsx +4 -6
  31. package/src/components/interaction/form/Combobox/Combobox.tsx +4 -2
  32. package/src/components/interaction/form/FileInput/FileInput.tsx +4 -3
  33. package/src/components/interaction/form/NumberInput/NumberInput.tsx +4 -3
  34. package/src/components/interaction/form/RadioGroup/RadioGroup.tsx +4 -6
  35. package/src/components/interaction/form/SegmentedControl/SegmentedControl.mdx +8 -4
  36. package/src/components/interaction/form/SegmentedControl/SegmentedControl.module.css +13 -6
  37. package/src/components/interaction/form/SegmentedControl/SegmentedControl.tsx +4 -6
  38. package/src/components/interaction/form/atoms/InputContainer.tsx +2 -2
  39. package/src/components/layout/ButtonGroup/ButtonGroup.tsx +4 -6
  40. package/src/components/layout/Card/Card.tsx +4 -10
  41. package/src/components/layout/IconWrapper/IconWrapper.tsx +4 -5
  42. package/src/components/layout/SectionHeader/SectionHeader.tsx +5 -4
  43. package/src/components/ui/Accordion/Accordion.tsx +4 -3
  44. package/src/components/ui/Alert/Alert.tsx +4 -3
  45. package/src/components/ui/Avatar/Avatar.tsx +5 -3
  46. package/src/components/ui/Badge/Badge.tsx +4 -5
  47. package/src/components/ui/Breadcrumb/Breadcrumb.tsx +4 -3
  48. package/src/components/ui/Calendar/Calendar.tsx +4 -4
  49. package/src/components/ui/Carousel/Carousel.tsx +4 -4
  50. package/src/components/ui/DescriptionList/DescriptionList.tsx +4 -4
  51. package/src/components/ui/Loading/Loading.tsx +4 -3
  52. package/src/components/ui/NotificationBanner/NotificationBanner.tsx +4 -2
  53. package/src/components/ui/Pagination/Pagination.tsx +4 -2
  54. package/src/components/ui/Progress/Progress.tsx +4 -2
  55. package/src/components/ui/ProgressCircle/ProgressCircle.tsx +4 -1
  56. package/src/components/ui/Separator/Separator.tsx +5 -3
  57. package/src/components/ui/Skeleton/Skeleton.tsx +4 -3
  58. package/src/components/ui/SkipLink/SkipLink.tsx +4 -5
  59. package/src/components/ui/Tabs/Tabs.tsx +4 -4
  60. package/src/components/ui/Tooltip/Tooltip.tsx +4 -2
  61. package/src/components/ui/Typography/Typography.tsx +4 -5
  62. package/src/stories/DesignSystem/Grid.mdx +2 -0
  63. package/src/stories/Introduction.mdx +2 -1
  64. package/src/web-components/index.ts +12 -0
  65. package/src/web-components/interaction/BdsAccordion.mdx +80 -28
  66. package/src/web-components/interaction/BdsAccordion.stories.tsx +67 -58
  67. package/src/web-components/interaction/BdsCollapsible.mdx +93 -23
  68. package/src/web-components/interaction/BdsCollapsible.stories.tsx +29 -48
  69. package/src/web-components/interaction/BdsDialog.mdx +88 -27
  70. package/src/web-components/interaction/BdsDialog.stories.tsx +129 -47
  71. package/src/web-components/interaction/BdsDrawer.mdx +85 -27
  72. package/src/web-components/interaction/BdsDrawer.stories.tsx +161 -31
  73. package/src/web-components/interaction/BdsDropdownMenu.mdx +108 -0
  74. package/src/web-components/interaction/BdsDropdownMenu.stories.tsx +91 -0
  75. package/src/web-components/interaction/BdsSkipLink.mdx +72 -16
  76. package/src/web-components/interaction/BdsSkipLink.stories.tsx +47 -34
  77. package/src/web-components/interaction/BdsTabs.mdx +97 -27
  78. package/src/web-components/interaction/BdsTabs.stories.tsx +69 -55
  79. package/src/web-components/interaction/BdsTooltip.mdx +84 -18
  80. package/src/web-components/interaction/BdsTooltip.stories.tsx +49 -30
  81. package/src/web-components/interaction/bds-collapsible.ts +1 -0
  82. package/src/web-components/interaction/bds-drawer.ts +59 -82
  83. package/src/web-components/interaction/bds-dropdown-menu-item.ts +124 -0
  84. package/src/web-components/interaction/bds-dropdown-menu.spec.ts +102 -0
  85. package/src/web-components/interaction/bds-dropdown-menu.ts +200 -0
  86. package/src/web-components/interaction/form/BdsCheckbox.mdx +57 -20
  87. package/src/web-components/interaction/form/BdsCheckbox.stories.tsx +35 -36
  88. package/src/web-components/interaction/form/BdsCheckboxGroup.mdx +70 -0
  89. package/src/web-components/interaction/form/BdsCheckboxGroup.stories.tsx +81 -0
  90. package/src/web-components/interaction/form/BdsCombobox.mdx +52 -33
  91. package/src/web-components/interaction/form/BdsCombobox.stories.tsx +55 -53
  92. package/src/web-components/interaction/form/BdsFileInput.mdx +59 -24
  93. package/src/web-components/interaction/form/BdsFileInput.stories.tsx +38 -53
  94. package/src/web-components/interaction/form/BdsFormInput.mdx +98 -0
  95. package/src/web-components/interaction/form/BdsFormInput.stories.tsx +139 -0
  96. package/src/web-components/interaction/form/BdsNumberInput.mdx +51 -22
  97. package/src/web-components/interaction/form/BdsNumberInput.stories.tsx +24 -46
  98. package/src/web-components/interaction/form/BdsRadio.mdx +53 -22
  99. package/src/web-components/interaction/form/BdsRadio.stories.tsx +19 -51
  100. package/src/web-components/interaction/form/BdsRadioGroup.mdx +73 -0
  101. package/src/web-components/interaction/form/BdsRadioGroup.stories.tsx +88 -0
  102. package/src/web-components/interaction/form/BdsSegmentedControl.mdx +76 -23
  103. package/src/web-components/interaction/form/BdsSegmentedControl.stories.tsx +64 -54
  104. package/src/web-components/interaction/form/BdsSelect.mdx +59 -21
  105. package/src/web-components/interaction/form/BdsSelect.stories.tsx +47 -56
  106. package/src/web-components/interaction/form/BdsSlider.mdx +55 -27
  107. package/src/web-components/interaction/form/BdsSlider.stories.tsx +23 -44
  108. package/src/web-components/interaction/form/BdsSwitch.mdx +53 -20
  109. package/src/web-components/interaction/form/BdsSwitch.stories.tsx +22 -37
  110. package/src/web-components/interaction/form/BdsTextarea.mdx +54 -22
  111. package/src/web-components/interaction/form/BdsTextarea.stories.tsx +35 -44
  112. package/src/web-components/interaction/form/bds-checkbox-group.spec.ts +55 -0
  113. package/src/web-components/interaction/form/bds-checkbox-group.ts +117 -0
  114. package/src/web-components/interaction/form/bds-form-input.spec.ts +83 -0
  115. package/src/web-components/interaction/form/bds-form-input.ts +268 -0
  116. package/src/web-components/interaction/form/bds-radio-group.spec.ts +62 -0
  117. package/src/web-components/interaction/form/bds-radio-group.ts +142 -0
  118. package/src/web-components/interaction/form/bds-segmented-control.ts +5 -0
  119. package/src/web-components/ui/BdsAvatar.mdx +29 -20
  120. package/src/web-components/ui/BdsAvatar.stories.tsx +14 -28
  121. package/src/web-components/ui/BdsBreadcrumb.mdx +22 -19
  122. package/src/web-components/ui/BdsBreadcrumb.stories.tsx +11 -21
  123. package/src/web-components/ui/BdsButtonGroup.mdx +69 -0
  124. package/src/web-components/ui/BdsButtonGroup.stories.tsx +66 -0
  125. package/src/web-components/ui/BdsCalendar.mdx +93 -0
  126. package/src/web-components/ui/BdsCalendar.stories.tsx +63 -0
  127. package/src/web-components/ui/BdsCard.mdx +30 -25
  128. package/src/web-components/ui/BdsCard.stories.tsx +19 -42
  129. package/src/web-components/ui/BdsCarousel.mdx +83 -0
  130. package/src/web-components/ui/BdsCarousel.stories.tsx +96 -0
  131. package/src/web-components/ui/BdsDescriptionList.mdx +13 -16
  132. package/src/web-components/ui/BdsDescriptionList.stories.tsx +34 -49
  133. package/src/web-components/ui/BdsIconWrapper.mdx +20 -20
  134. package/src/web-components/ui/BdsIconWrapper.stories.tsx +46 -41
  135. package/src/web-components/ui/BdsLink.mdx +21 -17
  136. package/src/web-components/ui/BdsLink.stories.tsx +19 -20
  137. package/src/web-components/ui/BdsLoading.mdx +9 -13
  138. package/src/web-components/ui/BdsLoading.stories.tsx +8 -10
  139. package/src/web-components/ui/BdsNotificationBanner.mdx +32 -37
  140. package/src/web-components/ui/BdsNotificationBanner.stories.tsx +38 -47
  141. package/src/web-components/ui/BdsPagination.mdx +74 -0
  142. package/src/web-components/ui/BdsPagination.stories.tsx +36 -0
  143. package/src/web-components/ui/BdsProgress.mdx +24 -17
  144. package/src/web-components/ui/BdsProgress.stories.tsx +55 -29
  145. package/src/web-components/ui/BdsProgressCircle.mdx +24 -18
  146. package/src/web-components/ui/BdsProgressCircle.stories.tsx +17 -29
  147. package/src/web-components/ui/BdsRating.mdx +22 -22
  148. package/src/web-components/ui/BdsRating.stories.tsx +19 -13
  149. package/src/web-components/ui/BdsSectionHeader.mdx +31 -28
  150. package/src/web-components/ui/BdsSectionHeader.stories.tsx +21 -23
  151. package/src/web-components/ui/BdsSeparator.mdx +22 -8
  152. package/src/web-components/ui/BdsSeparator.stories.tsx +27 -19
  153. package/src/web-components/ui/BdsSkeleton.mdx +20 -26
  154. package/src/web-components/ui/BdsSkeleton.stories.tsx +23 -23
  155. package/src/web-components/ui/BdsTable.mdx +81 -0
  156. package/src/web-components/ui/BdsTable.stories.tsx +83 -0
  157. package/src/web-components/ui/BdsTypography.mdx +20 -29
  158. package/src/web-components/ui/BdsTypography.stories.tsx +19 -18
  159. package/src/web-components/ui/bds-button-group.spec.ts +40 -0
  160. package/src/web-components/ui/bds-button-group.ts +78 -0
  161. package/src/web-components/ui/bds-calendar.spec.ts +91 -0
  162. package/src/web-components/ui/bds-calendar.ts +427 -0
  163. package/src/web-components/ui/bds-carousel.spec.ts +64 -0
  164. package/src/web-components/ui/bds-carousel.ts +296 -0
  165. package/src/web-components/ui/bds-pagination.spec.ts +67 -0
  166. package/src/web-components/ui/bds-pagination.ts +197 -0
  167. package/src/web-components/ui/bds-table.spec.ts +45 -0
  168. package/src/web-components/ui/bds-table.ts +96 -0
package/dist/client.cjs CHANGED
@@ -87,7 +87,7 @@ module.exports = __toCommonJS(client_exports);
87
87
  var import_react = require("react");
88
88
 
89
89
  // src/components/ui/Accordion/Accordion.module.css
90
- var Accordion_default = {"accordion":"bds120Accordion-accordion","item":"bds120Accordion-item","heading":"bds120Accordion-heading","trigger":"bds120Accordion-trigger","triggerLabel":"bds120Accordion-triggerLabel","chevron":"bds120Accordion-chevron","--open":"bds120Accordion---open","panel":"bds120Accordion-panel","panelContent":"bds120Accordion-panelContent"};
90
+ var Accordion_default = {"accordion":"bds122Accordion-accordion","item":"bds122Accordion-item","heading":"bds122Accordion-heading","trigger":"bds122Accordion-trigger","triggerLabel":"bds122Accordion-triggerLabel","chevron":"bds122Accordion-chevron","--open":"bds122Accordion---open","panel":"bds122Accordion-panel","panelContent":"bds122Accordion-panelContent"};
91
91
 
92
92
  // src/components/ui/Accordion/Accordion.tsx
93
93
  var import_design_system_foundation = require("@boostdev/design-system-foundation");
@@ -96,7 +96,8 @@ function Accordion({
96
96
  items,
97
97
  allowMultiple = false,
98
98
  defaultOpen = [],
99
- className
99
+ className,
100
+ ...rest
100
101
  }) {
101
102
  const baseId = (0, import_react.useId)();
102
103
  const [openIds, setOpenIds] = (0, import_react.useState)(defaultOpen);
@@ -107,7 +108,7 @@ function Accordion({
107
108
  return allowMultiple ? [...prev, id] : [id];
108
109
  });
109
110
  };
110
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: (0, import_design_system_foundation.cn)(Accordion_default.accordion, className), children: items.map((item) => {
111
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { ...rest, className: (0, import_design_system_foundation.cn)(Accordion_default.accordion, className), children: items.map((item) => {
111
112
  const isOpen = openIds.includes(item.id);
112
113
  const triggerId = `${baseId}-trigger-${item.id}`;
113
114
  const panelId = `${baseId}-panel-${item.id}`;
@@ -155,7 +156,7 @@ function Accordion({
155
156
  }
156
157
 
157
158
  // src/components/ui/Alert/Alert.module.css
158
- var Alert_default = {"alert":"bds120Alert-alert","--variant_info":"bds120Alert---variant_info","--variant_success":"bds120Alert---variant_success","--variant_warning":"bds120Alert---variant_warning","--variant_error":"bds120Alert---variant_error","icon":"bds120Alert-icon","content":"bds120Alert-content","title":"bds120Alert-title","dismiss":"bds120Alert-dismiss"};
159
+ var Alert_default = {"alert":"bds122Alert-alert","--variant_info":"bds122Alert---variant_info","--variant_success":"bds122Alert---variant_success","--variant_warning":"bds122Alert---variant_warning","--variant_error":"bds122Alert---variant_error","icon":"bds122Alert-icon","content":"bds122Alert-content","title":"bds122Alert-title","dismiss":"bds122Alert-dismiss"};
159
160
 
160
161
  // src/components/ui/Alert/Alert.tsx
161
162
  var import_design_system_foundation2 = require("@boostdev/design-system-foundation");
@@ -166,12 +167,14 @@ function Alert({
166
167
  title,
167
168
  children,
168
169
  onDismiss,
169
- className
170
+ className,
171
+ ...rest
170
172
  }) {
171
173
  const isUrgent = variant === "error" || variant === "warning";
172
174
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
173
175
  "div",
174
176
  {
177
+ ...rest,
175
178
  role: isUrgent ? "alert" : "status",
176
179
  "aria-live": isUrgent ? "assertive" : "polite",
177
180
  "aria-atomic": "true",
@@ -198,7 +201,7 @@ function Alert({
198
201
  }
199
202
 
200
203
  // src/components/ui/Avatar/Avatar.module.css
201
- var Avatar_default = {"avatar":"bds120Avatar-avatar","--fallback":"bds120Avatar---fallback","--size_small":"bds120Avatar---size_small","--size_medium":"bds120Avatar---size_medium","--size_large":"bds120Avatar---size_large","image":"bds120Avatar-image","initials":"bds120Avatar-initials"};
204
+ var Avatar_default = {"avatar":"bds122Avatar-avatar","--fallback":"bds122Avatar---fallback","--size_small":"bds122Avatar---size_small","--size_medium":"bds122Avatar---size_medium","--size_large":"bds122Avatar---size_large","image":"bds122Avatar-image","initials":"bds122Avatar-initials"};
202
205
 
203
206
  // src/components/ui/Avatar/Avatar.tsx
204
207
  var import_design_system_foundation3 = require("@boostdev/design-system-foundation");
@@ -206,15 +209,16 @@ var import_jsx_runtime3 = require("react/jsx-runtime");
206
209
  function getInitials(name) {
207
210
  return name.split(" ").filter(Boolean).slice(0, 2).map((word) => word[0].toUpperCase()).join("");
208
211
  }
209
- function Avatar({ src, alt, name, size = "medium", className }) {
212
+ function Avatar({ src, alt, name, size = "medium", className, ...rest }) {
210
213
  const sizeClass = Avatar_default[`--size_${size}`];
211
214
  if (src) {
212
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: (0, import_design_system_foundation3.cn)(Avatar_default.avatar, sizeClass, className), children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("img", { src, alt: alt ?? name ?? "User avatar", className: Avatar_default.image }) });
215
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { ...rest, className: (0, import_design_system_foundation3.cn)(Avatar_default.avatar, sizeClass, className), children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("img", { src, alt: alt ?? name ?? "User avatar", className: Avatar_default.image }) });
213
216
  }
214
217
  const initials = name ? getInitials(name) : "";
215
218
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
216
219
  "span",
217
220
  {
221
+ ...rest,
218
222
  role: "img",
219
223
  "aria-label": name ?? "User avatar",
220
224
  className: (0, import_design_system_foundation3.cn)(Avatar_default.avatar, Avatar_default["--fallback"], sizeClass, className),
@@ -224,23 +228,23 @@ function Avatar({ src, alt, name, size = "medium", className }) {
224
228
  }
225
229
 
226
230
  // src/components/ui/Badge/Badge.module.css
227
- var Badge_default = {"badge":"bds120Badge-badge","--variant_primary":"bds120Badge---variant_primary","--variant_secondary":"bds120Badge---variant_secondary","--variant_success":"bds120Badge---variant_success","--variant_error":"bds120Badge---variant_error","--variant_warning":"bds120Badge---variant_warning"};
231
+ var Badge_default = {"badge":"bds122Badge-badge","--variant_primary":"bds122Badge---variant_primary","--variant_secondary":"bds122Badge---variant_secondary","--variant_success":"bds122Badge---variant_success","--variant_error":"bds122Badge---variant_error","--variant_warning":"bds122Badge---variant_warning"};
228
232
 
229
233
  // src/components/ui/Badge/Badge.tsx
230
234
  var import_design_system_foundation4 = require("@boostdev/design-system-foundation");
231
235
  var import_jsx_runtime4 = require("react/jsx-runtime");
232
- function Badge({ children, variant = "primary", className }) {
233
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: (0, import_design_system_foundation4.cn)(Badge_default.badge, Badge_default[`--variant_${variant}`], className), children });
236
+ function Badge({ children, variant = "primary", className, ...rest }) {
237
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { ...rest, className: (0, import_design_system_foundation4.cn)(Badge_default.badge, Badge_default[`--variant_${variant}`], className), children });
234
238
  }
235
239
 
236
240
  // src/components/ui/Breadcrumb/Breadcrumb.module.css
237
- var Breadcrumb_default = {"breadcrumb":"bds120Breadcrumb-breadcrumb","list":"bds120Breadcrumb-list","item":"bds120Breadcrumb-item","link":"bds120Breadcrumb-link","separator":"bds120Breadcrumb-separator","current":"bds120Breadcrumb-current"};
241
+ var Breadcrumb_default = {"breadcrumb":"bds122Breadcrumb-breadcrumb","list":"bds122Breadcrumb-list","item":"bds122Breadcrumb-item","link":"bds122Breadcrumb-link","separator":"bds122Breadcrumb-separator","current":"bds122Breadcrumb-current"};
238
242
 
239
243
  // src/components/ui/Breadcrumb/Breadcrumb.tsx
240
244
  var import_design_system_foundation5 = require("@boostdev/design-system-foundation");
241
245
  var import_jsx_runtime5 = require("react/jsx-runtime");
242
- function Breadcrumb({ items, className }) {
243
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("nav", { "aria-label": "Breadcrumb", className: (0, import_design_system_foundation5.cn)(Breadcrumb_default.breadcrumb, className), children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("ol", { className: Breadcrumb_default.list, children: items.map((item, index) => {
246
+ function Breadcrumb({ items, className, ...rest }) {
247
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("nav", { ...rest, "aria-label": "Breadcrumb", className: (0, import_design_system_foundation5.cn)(Breadcrumb_default.breadcrumb, className), children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("ol", { className: Breadcrumb_default.list, children: items.map((item, index) => {
244
248
  const isLast = index === items.length - 1;
245
249
  return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("li", { className: Breadcrumb_default.item, children: isLast ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { "aria-current": "page", className: Breadcrumb_default.current, children: item.label }) : /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
246
250
  /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("a", { href: item.href, className: Breadcrumb_default.link, children: item.label }),
@@ -250,7 +254,7 @@ function Breadcrumb({ items, className }) {
250
254
  }
251
255
 
252
256
  // src/components/ui/Collapsible/Collapsible.module.css
253
- var Collapsible_default = {"collapsible":"bds120Collapsible-collapsible","summary":"bds120Collapsible-summary","summaryContent":"bds120Collapsible-summaryContent","icon":"bds120Collapsible-icon","content":"bds120Collapsible-content"};
257
+ var Collapsible_default = {"collapsible":"bds122Collapsible-collapsible","summary":"bds122Collapsible-summary","summaryContent":"bds122Collapsible-summaryContent","icon":"bds122Collapsible-icon","content":"bds122Collapsible-content"};
254
258
 
255
259
  // src/components/ui/Collapsible/Collapsible.tsx
256
260
  var import_design_system_foundation6 = require("@boostdev/design-system-foundation");
@@ -291,7 +295,7 @@ function Collapsible({
291
295
  var import_react2 = require("react");
292
296
 
293
297
  // src/components/ui/Calendar/Calendar.module.css
294
- var Calendar_default = {"calendar":"bds120Calendar-calendar","header":"bds120Calendar-header","monthYear":"bds120Calendar-monthYear","navBtn":"bds120Calendar-navBtn","grid":"bds120Calendar-grid","weekday":"bds120Calendar-weekday","empty":"bds120Calendar-empty","day":"bds120Calendar-day","disabled":"bds120Calendar-disabled","selected":"bds120Calendar-selected","today":"bds120Calendar-today"};
298
+ var Calendar_default = {"calendar":"bds122Calendar-calendar","header":"bds122Calendar-header","monthYear":"bds122Calendar-monthYear","navBtn":"bds122Calendar-navBtn","grid":"bds122Calendar-grid","weekday":"bds122Calendar-weekday","empty":"bds122Calendar-empty","day":"bds122Calendar-day","disabled":"bds122Calendar-disabled","selected":"bds122Calendar-selected","today":"bds122Calendar-today"};
295
299
 
296
300
  // src/components/ui/Calendar/Calendar.tsx
297
301
  var import_design_system_foundation7 = require("@boostdev/design-system-foundation");
@@ -337,7 +341,7 @@ function getDaysInMonth(year, month) {
337
341
  function getFirstDayOfMonth(year, month) {
338
342
  return new Date(year, month, 1).getDay();
339
343
  }
340
- function Calendar({ value, defaultValue, min, max, onChange, className }) {
344
+ function Calendar({ value, defaultValue, min, max, onChange, className, ...rest }) {
341
345
  const today = /* @__PURE__ */ new Date();
342
346
  const controlled = value !== void 0;
343
347
  const [internal, setInternal] = (0, import_react2.useState)(defaultValue);
@@ -391,7 +395,7 @@ function Calendar({ value, defaultValue, min, max, onChange, className }) {
391
395
  ...Array.from({ length: daysInMonth }, (_, i) => ({ day: i + 1 }))
392
396
  ];
393
397
  while (cells.length % 7 !== 0) cells.push(null);
394
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: (0, import_design_system_foundation7.cn)(Calendar_default.calendar, className), role: "group", "aria-labelledby": titleId, children: [
398
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { ...rest, className: (0, import_design_system_foundation7.cn)(Calendar_default.calendar, className), role: "group", "aria-labelledby": titleId, children: [
395
399
  /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: Calendar_default.header, children: [
396
400
  /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
397
401
  "button",
@@ -466,12 +470,12 @@ function Calendar({ value, defaultValue, min, max, onChange, className }) {
466
470
  var import_react3 = require("react");
467
471
 
468
472
  // src/components/ui/Carousel/Carousel.module.css
469
- var Carousel_default = {"carousel":"bds120Carousel-carousel","track":"bds120Carousel-track","slide":"bds120Carousel-slide","navBtn":"bds120Carousel-navBtn"};
473
+ var Carousel_default = {"carousel":"bds122Carousel-carousel","track":"bds122Carousel-track","slide":"bds122Carousel-slide","navBtn":"bds122Carousel-navBtn"};
470
474
 
471
475
  // src/components/ui/Carousel/Carousel.tsx
472
476
  var import_design_system_foundation8 = require("@boostdev/design-system-foundation");
473
477
  var import_jsx_runtime8 = require("react/jsx-runtime");
474
- function Carousel({ items, label, className }) {
478
+ function Carousel({ items, label, className, ...rest }) {
475
479
  const trackRef = (0, import_react3.useRef)(null);
476
480
  const listId = (0, import_react3.useId)();
477
481
  const scroll = (direction) => {
@@ -482,7 +486,7 @@ function Carousel({ items, label, className }) {
482
486
  behavior: "smooth"
483
487
  });
484
488
  };
485
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("section", { "aria-label": label, className: (0, import_design_system_foundation8.cn)(Carousel_default.carousel, className), children: [
489
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("section", { ...rest, "aria-label": label, className: (0, import_design_system_foundation8.cn)(Carousel_default.carousel, className), children: [
486
490
  /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
487
491
  "button",
488
492
  {
@@ -519,20 +523,20 @@ function Carousel({ items, label, className }) {
519
523
  }
520
524
 
521
525
  // src/components/ui/DescriptionList/DescriptionList.module.css
522
- var DescriptionList_default = {"list":"bds120DescriptionList-list","group":"bds120DescriptionList-group","term":"bds120DescriptionList-term","details":"bds120DescriptionList-details","--layout_inline":"bds120DescriptionList---layout_inline"};
526
+ var DescriptionList_default = {"list":"bds122DescriptionList-list","group":"bds122DescriptionList-group","term":"bds122DescriptionList-term","details":"bds122DescriptionList-details","--layout_inline":"bds122DescriptionList---layout_inline"};
523
527
 
524
528
  // src/components/ui/DescriptionList/DescriptionList.tsx
525
529
  var import_design_system_foundation9 = require("@boostdev/design-system-foundation");
526
530
  var import_jsx_runtime9 = require("react/jsx-runtime");
527
- function DescriptionList({ items, layout = "stacked", className }) {
528
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("dl", { className: (0, import_design_system_foundation9.cn)(DescriptionList_default.list, DescriptionList_default[`--layout_${layout}`], className), children: items.map((item, i) => /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: DescriptionList_default.group, children: [
531
+ function DescriptionList({ items, layout = "stacked", className, ...rest }) {
532
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("dl", { ...rest, className: (0, import_design_system_foundation9.cn)(DescriptionList_default.list, DescriptionList_default[`--layout_${layout}`], className), children: items.map((item, i) => /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: DescriptionList_default.group, children: [
529
533
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("dt", { className: DescriptionList_default.term, children: item.term }),
530
534
  Array.isArray(item.details) ? item.details.map((d, j) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("dd", { className: DescriptionList_default.details, children: d }, j)) : /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("dd", { className: DescriptionList_default.details, children: item.details })
531
535
  ] }, i)) });
532
536
  }
533
537
 
534
538
  // src/components/ui/Link/Link.module.css
535
- var Link_default = {"link":"bds120Link-link","--variant_default":"bds120Link---variant_default","--variant_subtle":"bds120Link---variant_subtle","--variant_standalone":"bds120Link---variant_standalone","externalLabel":"bds120Link-externalLabel"};
539
+ var Link_default = {"link":"bds122Link-link","--variant_default":"bds122Link---variant_default","--variant_subtle":"bds122Link---variant_subtle","--variant_standalone":"bds122Link---variant_standalone","externalLabel":"bds122Link-externalLabel"};
536
540
 
537
541
  // src/components/ui/Link/Link.tsx
538
542
  var import_design_system_foundation10 = require("@boostdev/design-system-foundation");
@@ -563,17 +567,17 @@ function Link({
563
567
  }
564
568
 
565
569
  // src/components/ui/Loading/Loading.module.css
566
- var Loading_default = {"loading":"bds120Loading-loading","spinner":"bds120Loading-spinner","--size_small":"bds120Loading---size_small","--size_large":"bds120Loading---size_large"};
570
+ var Loading_default = {"loading":"bds122Loading-loading","spinner":"bds122Loading-spinner","--size_small":"bds122Loading---size_small","--size_large":"bds122Loading---size_large"};
567
571
 
568
572
  // src/components/ui/Loading/Loading.tsx
569
573
  var import_design_system_foundation11 = require("@boostdev/design-system-foundation");
570
574
  var import_jsx_runtime11 = require("react/jsx-runtime");
571
- function Loading({ size = "medium", className }) {
572
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: (0, import_design_system_foundation11.cn)(Loading_default.loading, Loading_default[`--size_${size}`], className), children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: Loading_default.spinner, role: "status", "aria-label": "Loading" }) });
575
+ function Loading({ size = "medium", className, ...rest }) {
576
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { ...rest, className: (0, import_design_system_foundation11.cn)(Loading_default.loading, Loading_default[`--size_${size}`], className), children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: Loading_default.spinner, role: "status", "aria-label": "Loading" }) });
573
577
  }
574
578
 
575
579
  // src/components/ui/NotificationBanner/NotificationBanner.module.css
576
- var NotificationBanner_default = {"banner":"bds120NotificationBanner-banner","--variant_info":"bds120NotificationBanner---variant_info","--variant_success":"bds120NotificationBanner---variant_success","--variant_warning":"bds120NotificationBanner---variant_warning","--variant_error":"bds120NotificationBanner---variant_error","content":"bds120NotificationBanner-content","action":"bds120NotificationBanner-action","dismiss":"bds120NotificationBanner-dismiss"};
580
+ var NotificationBanner_default = {"banner":"bds122NotificationBanner-banner","--variant_info":"bds122NotificationBanner---variant_info","--variant_success":"bds122NotificationBanner---variant_success","--variant_warning":"bds122NotificationBanner---variant_warning","--variant_error":"bds122NotificationBanner---variant_error","content":"bds122NotificationBanner-content","action":"bds122NotificationBanner-action","dismiss":"bds122NotificationBanner-dismiss"};
577
581
 
578
582
  // src/components/ui/NotificationBanner/NotificationBanner.tsx
579
583
  var import_design_system_foundation12 = require("@boostdev/design-system-foundation");
@@ -583,12 +587,14 @@ function NotificationBanner({
583
587
  children,
584
588
  action,
585
589
  onDismiss,
586
- className
590
+ className,
591
+ ...rest
587
592
  }) {
588
593
  const isUrgent = variant === "error" || variant === "warning";
589
594
  return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
590
595
  "div",
591
596
  {
597
+ ...rest,
592
598
  role: isUrgent ? "alert" : "status",
593
599
  "aria-live": isUrgent ? "assertive" : "polite",
594
600
  "aria-atomic": "true",
@@ -612,7 +618,7 @@ function NotificationBanner({
612
618
  }
613
619
 
614
620
  // src/components/ui/Pagination/Pagination.module.css
615
- var Pagination_default = {"pagination":"bds120Pagination-pagination","list":"bds120Pagination-list","button":"bds120Pagination-button","--active":"bds120Pagination---active","--nav":"bds120Pagination---nav","ellipsis":"bds120Pagination-ellipsis"};
621
+ var Pagination_default = {"pagination":"bds122Pagination-pagination","list":"bds122Pagination-list","button":"bds122Pagination-button","--active":"bds122Pagination---active","--nav":"bds122Pagination---nav","ellipsis":"bds122Pagination-ellipsis"};
616
622
 
617
623
  // src/components/ui/Pagination/Pagination.tsx
618
624
  var import_design_system_foundation13 = require("@boostdev/design-system-foundation");
@@ -633,10 +639,11 @@ function Pagination({
633
639
  currentPage,
634
640
  totalPages,
635
641
  onPageChange,
636
- className
642
+ className,
643
+ ...rest
637
644
  }) {
638
645
  const pages = getPageRange(currentPage, totalPages);
639
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("nav", { "aria-label": "Pagination", className: (0, import_design_system_foundation13.cn)(Pagination_default.pagination, className), children: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("ul", { className: Pagination_default.list, children: [
646
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("nav", { ...rest, "aria-label": "Pagination", className: (0, import_design_system_foundation13.cn)(Pagination_default.pagination, className), children: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("ul", { className: Pagination_default.list, children: [
640
647
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
641
648
  "button",
642
649
  {
@@ -676,7 +683,7 @@ function Pagination({
676
683
  }
677
684
 
678
685
  // src/components/ui/Progress/Progress.module.css
679
- var Progress_default = {"container":"bds120Progress-container","labelRow":"bds120Progress-labelRow","value":"bds120Progress-value","track":"bds120Progress-track","--size_small":"bds120Progress---size_small","--size_medium":"bds120Progress---size_medium","--size_large":"bds120Progress---size_large","fill":"bds120Progress-fill"};
686
+ var Progress_default = {"container":"bds122Progress-container","labelRow":"bds122Progress-labelRow","value":"bds122Progress-value","track":"bds122Progress-track","--size_small":"bds122Progress---size_small","--size_medium":"bds122Progress---size_medium","--size_large":"bds122Progress---size_large","fill":"bds122Progress-fill"};
680
687
 
681
688
  // src/components/ui/Progress/Progress.tsx
682
689
  var import_design_system_foundation14 = require("@boostdev/design-system-foundation");
@@ -687,10 +694,11 @@ function Progress({
687
694
  label,
688
695
  showLabel = false,
689
696
  size = "medium",
690
- className
697
+ className,
698
+ ...rest
691
699
  }) {
692
700
  const percentage = Math.min(100, Math.max(0, value / max * 100));
693
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: (0, import_design_system_foundation14.cn)(Progress_default.container, className), children: [
701
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { ...rest, className: (0, import_design_system_foundation14.cn)(Progress_default.container, className), children: [
694
702
  showLabel && /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: Progress_default.labelRow, children: [
695
703
  /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: Progress_default.label, children: label }),
696
704
  /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("span", { className: Progress_default.value, children: [
@@ -714,7 +722,7 @@ function Progress({
714
722
  }
715
723
 
716
724
  // src/components/ui/ProgressCircle/ProgressCircle.module.css
717
- var ProgressCircle_default = {"wrapper":"bds120ProgressCircle-wrapper","svg":"bds120ProgressCircle-svg","track":"bds120ProgressCircle-track","fill":"bds120ProgressCircle-fill","value":"bds120ProgressCircle-value","--size_small":"bds120ProgressCircle---size_small","--size_medium":"bds120ProgressCircle---size_medium","--size_large":"bds120ProgressCircle---size_large"};
725
+ var ProgressCircle_default = {"wrapper":"bds122ProgressCircle-wrapper","svg":"bds122ProgressCircle-svg","track":"bds122ProgressCircle-track","fill":"bds122ProgressCircle-fill","value":"bds122ProgressCircle-value","--size_small":"bds122ProgressCircle---size_small","--size_medium":"bds122ProgressCircle---size_medium","--size_large":"bds122ProgressCircle---size_large"};
718
726
 
719
727
  // src/components/ui/ProgressCircle/ProgressCircle.tsx
720
728
  var import_design_system_foundation15 = require("@boostdev/design-system-foundation");
@@ -727,7 +735,8 @@ function ProgressCircle({
727
735
  label,
728
736
  showValue = false,
729
737
  size = "medium",
730
- className
738
+ className,
739
+ ...rest
731
740
  }) {
732
741
  const percentage = Math.min(100, Math.max(0, value / max * 100));
733
742
  const px = SIZE_PX[size];
@@ -738,6 +747,7 @@ function ProgressCircle({
738
747
  return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
739
748
  "div",
740
749
  {
750
+ ...rest,
741
751
  role: "progressbar",
742
752
  "aria-label": label,
743
753
  "aria-valuenow": value,
@@ -793,49 +803,50 @@ function ProgressCircle({
793
803
  }
794
804
 
795
805
  // src/components/ui/Separator/Separator.module.css
796
- var Separator_default = {"separator":"bds120Separator-separator","--horizontal":"bds120Separator---horizontal","--vertical":"bds120Separator---vertical"};
806
+ var Separator_default = {"separator":"bds122Separator-separator","--horizontal":"bds122Separator---horizontal","--vertical":"bds122Separator---vertical"};
797
807
 
798
808
  // src/components/ui/Separator/Separator.tsx
799
809
  var import_design_system_foundation16 = require("@boostdev/design-system-foundation");
800
810
  var import_jsx_runtime16 = require("react/jsx-runtime");
801
- function Separator({ orientation = "horizontal", className }) {
811
+ function Separator({ orientation = "horizontal", className, ...rest }) {
802
812
  if (orientation === "vertical") {
803
813
  return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
804
814
  "div",
805
815
  {
816
+ ...rest,
806
817
  role: "separator",
807
818
  "aria-orientation": "vertical",
808
819
  className: (0, import_design_system_foundation16.cn)(Separator_default.separator, Separator_default["--vertical"], className)
809
820
  }
810
821
  );
811
822
  }
812
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("hr", { "aria-orientation": "horizontal", className: (0, import_design_system_foundation16.cn)(Separator_default.separator, Separator_default["--horizontal"], className) });
823
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("hr", { ...rest, "aria-orientation": "horizontal", className: (0, import_design_system_foundation16.cn)(Separator_default.separator, Separator_default["--horizontal"], className) });
813
824
  }
814
825
 
815
826
  // src/components/ui/Skeleton/Skeleton.tsx
816
827
  var import_design_system_foundation17 = require("@boostdev/design-system-foundation");
817
828
 
818
829
  // src/components/ui/Skeleton/Skeleton.module.css
819
- var Skeleton_default = {"skeleton":"bds120Skeleton-skeleton"};
830
+ var Skeleton_default = {"skeleton":"bds122Skeleton-skeleton"};
820
831
 
821
832
  // src/components/ui/Skeleton/Skeleton.tsx
822
833
  var import_jsx_runtime17 = require("react/jsx-runtime");
823
- function Skeleton({ className }) {
824
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { "aria-hidden": "true", className: (0, import_design_system_foundation17.cn)(Skeleton_default.skeleton, className) });
834
+ function Skeleton({ className, ...rest }) {
835
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { ...rest, "aria-hidden": "true", className: (0, import_design_system_foundation17.cn)(Skeleton_default.skeleton, className) });
825
836
  }
826
837
 
827
838
  // src/components/ui/SkipLink/SkipLink.module.css
828
- var SkipLink_default = {"skipLink":"bds120SkipLink-skipLink"};
839
+ var SkipLink_default = {"skipLink":"bds122SkipLink-skipLink"};
829
840
 
830
841
  // src/components/ui/SkipLink/SkipLink.tsx
831
842
  var import_design_system_foundation18 = require("@boostdev/design-system-foundation");
832
843
  var import_jsx_runtime18 = require("react/jsx-runtime");
833
- function SkipLink({ href = "#main", children = "Skip to main content", className }) {
834
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("a", { href, className: (0, import_design_system_foundation18.cn)(SkipLink_default.skipLink, className), children });
844
+ function SkipLink({ href = "#main", children = "Skip to main content", className, ...rest }) {
845
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("a", { ...rest, href, className: (0, import_design_system_foundation18.cn)(SkipLink_default.skipLink, className), children });
835
846
  }
836
847
 
837
848
  // src/components/ui/Table/Table.module.css
838
- var Table_default = {"wrapper":"bds120Table-wrapper","table":"bds120Table-table","caption":"bds120Table-caption","thead":"bds120Table-thead","th":"bds120Table-th","--sortable":"bds120Table---sortable","sortButton":"bds120Table-sortButton","sortIcon":"bds120Table-sortIcon","--sort-active":"bds120Table---sort-active","--sort-desc":"bds120Table---sort-desc","tbody":"bds120Table-tbody","tr":"bds120Table-tr","td":"bds120Table-td"};
849
+ var Table_default = {"wrapper":"bds122Table-wrapper","table":"bds122Table-table","caption":"bds122Table-caption","thead":"bds122Table-thead","th":"bds122Table-th","--sortable":"bds122Table---sortable","sortButton":"bds122Table-sortButton","sortIcon":"bds122Table-sortIcon","--sort-active":"bds122Table---sort-active","--sort-desc":"bds122Table---sort-desc","tbody":"bds122Table-tbody","tr":"bds122Table-tr","td":"bds122Table-td"};
839
850
 
840
851
  // src/components/ui/Table/Table.tsx
841
852
  var import_design_system_foundation19 = require("@boostdev/design-system-foundation");
@@ -905,12 +916,12 @@ function Table({
905
916
  var import_react4 = require("react");
906
917
 
907
918
  // src/components/ui/Tabs/Tabs.module.css
908
- var Tabs_default = {"tabs":"bds120Tabs-tabs","tabList":"bds120Tabs-tabList","tab":"bds120Tabs-tab","--active":"bds120Tabs---active","panel":"bds120Tabs-panel"};
919
+ var Tabs_default = {"tabs":"bds122Tabs-tabs","tabList":"bds122Tabs-tabList","tab":"bds122Tabs-tab","--active":"bds122Tabs---active","panel":"bds122Tabs-panel"};
909
920
 
910
921
  // src/components/ui/Tabs/Tabs.tsx
911
922
  var import_design_system_foundation20 = require("@boostdev/design-system-foundation");
912
923
  var import_jsx_runtime20 = require("react/jsx-runtime");
913
- function Tabs({ tabs, defaultTab, className }) {
924
+ function Tabs({ tabs, defaultTab, className, ...rest }) {
914
925
  const baseId = (0, import_react4.useId)();
915
926
  const [activeTab, setActiveTab] = (0, import_react4.useState)(defaultTab ?? tabs[0]?.id);
916
927
  const tabRefs = (0, import_react4.useRef)([]);
@@ -935,7 +946,7 @@ function Tabs({ tabs, defaultTab, className }) {
935
946
  focusAt(enabledIndexes[enabledIndexes.length - 1]);
936
947
  }
937
948
  };
938
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: (0, import_design_system_foundation20.cn)(Tabs_default.tabs, className), children: [
949
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { ...rest, className: (0, import_design_system_foundation20.cn)(Tabs_default.tabs, className), children: [
939
950
  /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { role: "tablist", className: Tabs_default.tabList, children: tabs.map((tab, i) => {
940
951
  const tabId = `${baseId}-tab-${tab.id}`;
941
952
  const panelId = `${baseId}-panel-${tab.id}`;
@@ -985,7 +996,7 @@ function Tabs({ tabs, defaultTab, className }) {
985
996
  var import_react5 = require("react");
986
997
 
987
998
  // src/components/ui/Tooltip/Tooltip.module.css
988
- var Tooltip_default = {"wrapper":"bds120Tooltip-wrapper","tooltip":"bds120Tooltip-tooltip","--placement_top":"bds120Tooltip---placement_top","--placement_bottom":"bds120Tooltip---placement_bottom","--placement_left":"bds120Tooltip---placement_left","--placement_right":"bds120Tooltip---placement_right"};
999
+ var Tooltip_default = {"wrapper":"bds122Tooltip-wrapper","tooltip":"bds122Tooltip-tooltip","--placement_top":"bds122Tooltip---placement_top","--placement_bottom":"bds122Tooltip---placement_bottom","--placement_left":"bds122Tooltip---placement_left","--placement_right":"bds122Tooltip---placement_right"};
989
1000
 
990
1001
  // src/components/ui/Tooltip/Tooltip.tsx
991
1002
  var import_design_system_foundation21 = require("@boostdev/design-system-foundation");
@@ -994,7 +1005,8 @@ function Tooltip({
994
1005
  content,
995
1006
  placement = "top",
996
1007
  children,
997
- className
1008
+ className,
1009
+ ...rest
998
1010
  }) {
999
1011
  const tooltipId = (0, import_react5.useId)();
1000
1012
  const [isVisible, setIsVisible] = (0, import_react5.useState)(false);
@@ -1004,6 +1016,7 @@ function Tooltip({
1004
1016
  return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
1005
1017
  "span",
1006
1018
  {
1019
+ ...rest,
1007
1020
  className: (0, import_design_system_foundation21.cn)(Tooltip_default.wrapper, className),
1008
1021
  onMouseEnter: () => setIsVisible(true),
1009
1022
  onMouseLeave: () => setIsVisible(false),
@@ -1027,7 +1040,7 @@ function Tooltip({
1027
1040
  }
1028
1041
 
1029
1042
  // src/components/ui/Typography/Typography.module.css
1030
- var Typography_default = {"typography":"bds120Typography-typography","--h1":"bds120Typography---h1","--h2":"bds120Typography---h2","--h3":"bds120Typography---h3","--body":"bds120Typography---body","--body_s":"bds120Typography---body_s"};
1043
+ var Typography_default = {"typography":"bds122Typography-typography","--h1":"bds122Typography---h1","--h2":"bds122Typography---h2","--h3":"bds122Typography---h3","--body":"bds122Typography---body","--body_s":"bds122Typography---body_s"};
1031
1044
 
1032
1045
  // src/components/ui/Typography/Typography.tsx
1033
1046
  var import_design_system_foundation22 = require("@boostdev/design-system-foundation");
@@ -1039,13 +1052,13 @@ var variantToElement = {
1039
1052
  body: "p",
1040
1053
  body_s: "p"
1041
1054
  };
1042
- function Typography({ variant = "body", component, children, className }) {
1055
+ function Typography({ variant = "body", component, children, className, ...rest }) {
1043
1056
  const Component = component || variantToElement[variant];
1044
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Component, { className: (0, import_design_system_foundation22.cn)(Typography_default.typography, Typography_default[`--${variant}`], className), children });
1057
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Component, { ...rest, className: (0, import_design_system_foundation22.cn)(Typography_default.typography, Typography_default[`--${variant}`], className), children });
1045
1058
  }
1046
1059
 
1047
1060
  // src/components/interaction/Button/Button.module.css
1048
- var Button_default = {"button":"bds120Button-button","--default":"bds120Button---default","--outline":"bds120Button---outline","--ghost":"bds120Button---ghost","--size_small":"bds120Button---size_small","--size_medium":"bds120Button---size_medium","--size_large":"bds120Button---size_large","--hasPulse":"bds120Button---hasPulse","iconStart":"bds120Button-iconStart","iconEnd":"bds120Button-iconEnd"};
1061
+ var Button_default = {"button":"bds122Button-button","--default":"bds122Button---default","--outline":"bds122Button---outline","--ghost":"bds122Button---ghost","--size_small":"bds122Button---size_small","--size_medium":"bds122Button---size_medium","--size_large":"bds122Button---size_large","--hasPulse":"bds122Button---hasPulse","iconStart":"bds122Button-iconStart","iconEnd":"bds122Button-iconEnd"};
1049
1062
 
1050
1063
  // src/components/interaction/Button/Button.tsx
1051
1064
  var import_design_system_foundation23 = require("@boostdev/design-system-foundation");
@@ -1160,7 +1173,7 @@ function installInvokerCommandsPolyfill() {
1160
1173
  }
1161
1174
 
1162
1175
  // src/components/interaction/Command/Command.module.css
1163
- var Command_default = {"dialog":"bds120Command-dialog","palette":"bds120Command-palette","searchRow":"bds120Command-searchRow","searchIcon":"bds120Command-searchIcon","search":"bds120Command-search","escHint":"bds120Command-escHint","list":"bds120Command-list","groupList":"bds120Command-groupList","group":"bds120Command-group","item":"bds120Command-item","itemActive":"bds120Command-itemActive","itemLabel":"bds120Command-itemLabel","itemDesc":"bds120Command-itemDesc","shortcut":"bds120Command-shortcut","empty":"bds120Command-empty"};
1176
+ var Command_default = {"dialog":"bds122Command-dialog","palette":"bds122Command-palette","searchRow":"bds122Command-searchRow","searchIcon":"bds122Command-searchIcon","search":"bds122Command-search","escHint":"bds122Command-escHint","list":"bds122Command-list","groupList":"bds122Command-groupList","group":"bds122Command-group","item":"bds122Command-item","itemActive":"bds122Command-itemActive","itemLabel":"bds122Command-itemLabel","itemDesc":"bds122Command-itemDesc","shortcut":"bds122Command-shortcut","empty":"bds122Command-empty"};
1164
1177
 
1165
1178
  // src/components/interaction/Command/Command.tsx
1166
1179
  var import_design_system_foundation24 = require("@boostdev/design-system-foundation");
@@ -1173,7 +1186,8 @@ function Command({
1173
1186
  onClose,
1174
1187
  items,
1175
1188
  placeholder = "Search commands\u2026",
1176
- className
1189
+ className,
1190
+ ...rest
1177
1191
  }) {
1178
1192
  const [query, setQuery] = (0, import_react6.useState)("");
1179
1193
  const [activeIndex, setActiveIndex] = (0, import_react6.useState)(0);
@@ -1268,6 +1282,7 @@ function Command({
1268
1282
  return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1269
1283
  "dialog",
1270
1284
  {
1285
+ ...rest,
1271
1286
  ref: dialogRef,
1272
1287
  id: dialogId,
1273
1288
  className: (0, import_design_system_foundation24.cn)(Command_default.dialog, className),
@@ -1335,14 +1350,14 @@ function Command({
1335
1350
  var import_react7 = require("react");
1336
1351
 
1337
1352
  // src/components/interaction/Dialog/Dialog.module.css
1338
- var Dialog_default = {"dialog":"bds120Dialog-dialog","dialogContent":"bds120Dialog-dialogContent","closeButton":"bds120Dialog-closeButton"};
1353
+ var Dialog_default = {"dialog":"bds122Dialog-dialog","dialogContent":"bds122Dialog-dialogContent","closeButton":"bds122Dialog-closeButton"};
1339
1354
 
1340
1355
  // src/components/interaction/Dialog/Dialog.tsx
1341
1356
  var import_design_system_foundation25 = require("@boostdev/design-system-foundation");
1342
1357
  var import_jsx_runtime25 = require("react/jsx-runtime");
1343
1358
  installInvokerCommandsPolyfill();
1344
1359
  var FOCUSABLE_SELECTOR = 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])';
1345
- function Dialog({ children, id: idProp, isOpen = false, className, onOpen, onClose }) {
1360
+ function Dialog({ children, id: idProp, isOpen = false, className, onOpen, onClose, ...rest }) {
1346
1361
  const generatedId = (0, import_react7.useId)();
1347
1362
  const id = idProp ?? generatedId;
1348
1363
  const dialogRef = (0, import_react7.useRef)(null);
@@ -1411,6 +1426,7 @@ function Dialog({ children, id: idProp, isOpen = false, className, onOpen, onClo
1411
1426
  return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
1412
1427
  "dialog",
1413
1428
  {
1429
+ ...rest,
1414
1430
  ref: dialogRef,
1415
1431
  id,
1416
1432
  className: (0, import_design_system_foundation25.cn)(className, Dialog_default.dialog),
@@ -1440,7 +1456,7 @@ function Dialog({ children, id: idProp, isOpen = false, className, onOpen, onClo
1440
1456
  var import_react8 = require("react");
1441
1457
 
1442
1458
  // src/components/interaction/Drawer/Drawer.module.css
1443
- var Drawer_default = {"drawer":"bds120Drawer-drawer","panel":"bds120Drawer-panel","--side_right":"bds120Drawer---side_right","--side_left":"bds120Drawer---side_left","header":"bds120Drawer-header","closeButton":"bds120Drawer-closeButton","body":"bds120Drawer-body"};
1459
+ var Drawer_default = {"drawer":"bds122Drawer-drawer","--side_left":"bds122Drawer---side_left","header":"bds122Drawer-header","closeButton":"bds122Drawer-closeButton","body":"bds122Drawer-body"};
1444
1460
 
1445
1461
  // src/components/interaction/Drawer/Drawer.tsx
1446
1462
  var import_design_system_foundation26 = require("@boostdev/design-system-foundation");
@@ -1454,8 +1470,8 @@ function Drawer({
1454
1470
  title,
1455
1471
  children,
1456
1472
  side = "right",
1457
- ariaLabel,
1458
- className
1473
+ className,
1474
+ ...rest
1459
1475
  }) {
1460
1476
  const generatedId = (0, import_react8.useId)();
1461
1477
  const id = idProp ?? generatedId;
@@ -1496,23 +1512,27 @@ function Drawer({
1496
1512
  return () => dialog.removeEventListener("command", handleCommand);
1497
1513
  }, [onOpen, onClose]);
1498
1514
  const handleClick = (e) => {
1499
- if (e.target === dialogRef.current) onClose();
1515
+ const dialog = dialogRef.current;
1516
+ if (!dialog) return;
1517
+ const rect = dialog.getBoundingClientRect();
1518
+ const outside = e.clientX < rect.left || e.clientX > rect.right || e.clientY < rect.top || e.clientY > rect.bottom;
1519
+ if (outside) onClose();
1500
1520
  };
1501
1521
  const handleCancel = (e) => {
1502
1522
  e.preventDefault();
1503
1523
  onClose();
1504
1524
  };
1505
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1525
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
1506
1526
  "dialog",
1507
1527
  {
1528
+ ...rest,
1508
1529
  ref: dialogRef,
1509
1530
  id,
1510
1531
  className: (0, import_design_system_foundation26.cn)(Drawer_default.drawer, Drawer_default[`--side_${side}`], className),
1511
- "aria-label": ariaLabel,
1512
1532
  "aria-modal": "true",
1513
1533
  onClick: handleClick,
1514
1534
  onCancel: handleCancel,
1515
- children: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: Drawer_default.panel, children: [
1535
+ children: [
1516
1536
  /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: Drawer_default.header, children: [
1517
1537
  !!title && title,
1518
1538
  /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
@@ -1528,7 +1548,7 @@ function Drawer({
1528
1548
  )
1529
1549
  ] }),
1530
1550
  /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: Drawer_default.body, children })
1531
- ] })
1551
+ ]
1532
1552
  }
1533
1553
  );
1534
1554
  }
@@ -1537,7 +1557,7 @@ function Drawer({
1537
1557
  var import_react9 = require("react");
1538
1558
 
1539
1559
  // src/components/interaction/DropdownMenu/DropdownMenu.module.css
1540
- var DropdownMenu_default = {"wrapper":"bds120DropdownMenu-wrapper","menu":"bds120DropdownMenu-menu","--placement_bottom-start":"bds120DropdownMenu---placement_bottom-start","--placement_bottom-end":"bds120DropdownMenu---placement_bottom-end","separator":"bds120DropdownMenu-separator","item":"bds120DropdownMenu-item","icon":"bds120DropdownMenu-icon"};
1560
+ var DropdownMenu_default = {"wrapper":"bds122DropdownMenu-wrapper","menu":"bds122DropdownMenu-menu","--placement_bottom-start":"bds122DropdownMenu---placement_bottom-start","--placement_bottom-end":"bds122DropdownMenu---placement_bottom-end","separator":"bds122DropdownMenu-separator","item":"bds122DropdownMenu-item","icon":"bds122DropdownMenu-icon"};
1541
1561
 
1542
1562
  // src/components/interaction/DropdownMenu/DropdownMenu.tsx
1543
1563
  var import_design_system_foundation27 = require("@boostdev/design-system-foundation");
@@ -1546,7 +1566,8 @@ function DropdownMenu({
1546
1566
  trigger,
1547
1567
  items,
1548
1568
  placement = "bottom-start",
1549
- className
1569
+ className,
1570
+ ...rest
1550
1571
  }) {
1551
1572
  const [isOpen, setIsOpen] = (0, import_react9.useState)(false);
1552
1573
  const containerRef = (0, import_react9.useRef)(null);
@@ -1609,7 +1630,7 @@ function DropdownMenu({
1609
1630
  if (typeof existingOnClick === "function") existingOnClick(e);
1610
1631
  }
1611
1632
  }) : trigger;
1612
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { ref: containerRef, className: (0, import_design_system_foundation27.cn)(DropdownMenu_default.wrapper, className), children: [
1633
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { ...rest, ref: containerRef, className: (0, import_design_system_foundation27.cn)(DropdownMenu_default.wrapper, className), children: [
1613
1634
  triggerEl,
1614
1635
  isOpen && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1615
1636
  "ul",
@@ -1650,7 +1671,7 @@ function DropdownMenu({
1650
1671
  var import_react10 = require("react");
1651
1672
 
1652
1673
  // src/components/interaction/Popover/Popover.module.css
1653
- var Popover_default = {"wrapper":"bds120Popover-wrapper","panel":"bds120Popover-panel","g":"bds120Popover-g"};
1674
+ var Popover_default = {"wrapper":"bds122Popover-wrapper","panel":"bds122Popover-panel","g":"bds122Popover-g"};
1654
1675
 
1655
1676
  // src/components/interaction/Popover/Popover.tsx
1656
1677
  var import_design_system_foundation28 = require("@boostdev/design-system-foundation");
@@ -1665,7 +1686,8 @@ function Popover({
1665
1686
  content,
1666
1687
  placement = "bottom",
1667
1688
  className,
1668
- "aria-label": ariaLabel
1689
+ "aria-label": ariaLabel,
1690
+ ...rest
1669
1691
  }) {
1670
1692
  const [isOpen, setIsOpen] = (0, import_react10.useState)(false);
1671
1693
  const containerRef = (0, import_react10.useRef)(null);
@@ -1714,7 +1736,7 @@ function Popover({
1714
1736
  // avoid a double-toggle when both onClick and invoker fire.
1715
1737
  onClick: children.props.onClick
1716
1738
  }) : children;
1717
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("span", { ref: containerRef, className: (0, import_design_system_foundation28.cn)(Popover_default.wrapper, className), children: [
1739
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("span", { ...rest, ref: containerRef, className: (0, import_design_system_foundation28.cn)(Popover_default.wrapper, className), children: [
1718
1740
  trigger,
1719
1741
  /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1720
1742
  "div",
@@ -1734,15 +1756,16 @@ function Popover({
1734
1756
  }
1735
1757
 
1736
1758
  // src/components/interaction/Rating/Rating.module.css
1737
- var Rating_default = {"rating":"bds120Rating-rating","star":"bds120Rating-star","--filled":"bds120Rating---filled"};
1759
+ var Rating_default = {"rating":"bds122Rating-rating","star":"bds122Rating-star","--filled":"bds122Rating---filled"};
1738
1760
 
1739
1761
  // src/components/interaction/Rating/Rating.tsx
1740
1762
  var import_design_system_foundation29 = require("@boostdev/design-system-foundation");
1741
1763
  var import_jsx_runtime29 = require("react/jsx-runtime");
1742
- function Rating({ value, max = 5, className }) {
1764
+ function Rating({ value, max = 5, className, ...rest }) {
1743
1765
  return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1744
1766
  "div",
1745
1767
  {
1768
+ ...rest,
1746
1769
  className: (0, import_design_system_foundation29.cn)(Rating_default.rating, className),
1747
1770
  role: "img",
1748
1771
  "aria-label": `${value} out of ${max} stars`,
@@ -1765,7 +1788,7 @@ function Rating({ value, max = 5, className }) {
1765
1788
  var import_react11 = require("react");
1766
1789
 
1767
1790
  // src/components/interaction/Toast/Toast.module.css
1768
- var Toast_default = {"toastContainer":"bds120Toast-toastContainer","toast":"bds120Toast-toast","--variant_success":"bds120Toast---variant_success","--variant_warning":"bds120Toast---variant_warning","--variant_info":"bds120Toast---variant_info","--variant_error":"bds120Toast---variant_error","message":"bds120Toast-message","closeButton":"bds120Toast-closeButton"};
1791
+ var Toast_default = {"toastContainer":"bds122Toast-toastContainer","toast":"bds122Toast-toast","--variant_success":"bds122Toast---variant_success","--variant_warning":"bds122Toast---variant_warning","--variant_info":"bds122Toast---variant_info","--variant_error":"bds122Toast---variant_error","message":"bds122Toast-message","closeButton":"bds122Toast-closeButton"};
1769
1792
 
1770
1793
  // src/components/interaction/Toast/Toast.tsx
1771
1794
  var import_design_system_foundation30 = require("@boostdev/design-system-foundation");
@@ -1838,10 +1861,10 @@ function useToast() {
1838
1861
  var import_react12 = require("react");
1839
1862
 
1840
1863
  // src/components/interaction/form/Checkbox/Checkbox.module.css
1841
- var Checkbox_default = {"checkboxGroup":"bds120Checkbox-checkboxGroup","inputWrapper":"bds120Checkbox-inputWrapper","checkbox":"bds120Checkbox-checkbox","checkboxError":"bds120Checkbox-checkboxError"};
1864
+ var Checkbox_default = {"checkboxGroup":"bds122Checkbox-checkboxGroup","inputWrapper":"bds122Checkbox-inputWrapper","checkbox":"bds122Checkbox-checkbox","checkboxError":"bds122Checkbox-checkboxError"};
1842
1865
 
1843
1866
  // src/components/interaction/form/atoms/Message.module.css
1844
- var Message_default = {"error":"bds120Message-error","hint":"bds120Message-hint"};
1867
+ var Message_default = {"error":"bds122Message-error","hint":"bds122Message-hint"};
1845
1868
 
1846
1869
  // src/components/interaction/form/atoms/Message.tsx
1847
1870
  var import_design_system_foundation31 = require("@boostdev/design-system-foundation");
@@ -1852,7 +1875,7 @@ var Message = ({ message, type, inputId, className }) => {
1852
1875
  };
1853
1876
 
1854
1877
  // src/components/interaction/form/atoms/Label.module.css
1855
- var Label_default = {"label":"bds120Label-label"};
1878
+ var Label_default = {"label":"bds122Label-label"};
1856
1879
 
1857
1880
  // src/components/interaction/form/atoms/Label.tsx
1858
1881
  var import_design_system_foundation32 = require("@boostdev/design-system-foundation");
@@ -1865,13 +1888,13 @@ var Label = ({ label, id, className }) => {
1865
1888
  var import_design_system_foundation34 = require("@boostdev/design-system-foundation");
1866
1889
 
1867
1890
  // src/components/interaction/form/atoms/InputContainer.module.css
1868
- var InputContainer_default = {"container":"bds120InputContainer-container"};
1891
+ var InputContainer_default = {"container":"bds122InputContainer-container"};
1869
1892
 
1870
1893
  // src/components/interaction/form/atoms/InputContainer.tsx
1871
1894
  var import_design_system_foundation33 = require("@boostdev/design-system-foundation");
1872
1895
  var import_jsx_runtime33 = require("react/jsx-runtime");
1873
- var InputContainer = ({ children, className }) => {
1874
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: (0, import_design_system_foundation33.cn)(InputContainer_default.container, className), children });
1896
+ var InputContainer = ({ children, className, ...rest }) => {
1897
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { ...rest, className: (0, import_design_system_foundation33.cn)(InputContainer_default.container, className), children });
1875
1898
  };
1876
1899
 
1877
1900
  // src/components/interaction/form/Checkbox/Checkbox.tsx
@@ -1906,7 +1929,7 @@ function Checkbox({ label, name, error, hint, className, ...props }) {
1906
1929
  var import_react13 = require("react");
1907
1930
 
1908
1931
  // src/components/interaction/form/CheckboxGroup/CheckboxGroup.module.css
1909
- var CheckboxGroup_default = {"group":"bds120CheckboxGroup-group","legend":"bds120CheckboxGroup-legend","required":"bds120CheckboxGroup-required","items":"bds120CheckboxGroup-items"};
1932
+ var CheckboxGroup_default = {"group":"bds122CheckboxGroup-group","legend":"bds122CheckboxGroup-legend","required":"bds122CheckboxGroup-required","items":"bds122CheckboxGroup-items"};
1910
1933
 
1911
1934
  // src/components/interaction/form/CheckboxGroup/CheckboxGroup.tsx
1912
1935
  var import_design_system_foundation35 = require("@boostdev/design-system-foundation");
@@ -1917,8 +1940,8 @@ function CheckboxGroup({
1917
1940
  error,
1918
1941
  hint,
1919
1942
  required,
1920
- disabled,
1921
- className
1943
+ className,
1944
+ ...rest
1922
1945
  }) {
1923
1946
  const id = (0, import_react13.useId)();
1924
1947
  const hintId = id + "hint";
@@ -1927,8 +1950,8 @@ function CheckboxGroup({
1927
1950
  return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
1928
1951
  "fieldset",
1929
1952
  {
1953
+ ...rest,
1930
1954
  className: (0, import_design_system_foundation35.cn)(CheckboxGroup_default.group, className),
1931
- disabled,
1932
1955
  "aria-required": required || void 0,
1933
1956
  "aria-describedby": describedBy,
1934
1957
  children: [
@@ -1948,7 +1971,7 @@ function CheckboxGroup({
1948
1971
  var import_react14 = require("react");
1949
1972
 
1950
1973
  // src/components/interaction/form/Combobox/Combobox.module.css
1951
- var Combobox_default = {"formGroup":"bds120Combobox-formGroup","inputWrapper":"bds120Combobox-inputWrapper","input":"bds120Combobox-input","inputError":"bds120Combobox-inputError","chevron":"bds120Combobox-chevron","listbox":"bds120Combobox-listbox","option":"bds120Combobox-option","--highlighted":"bds120Combobox---highlighted","--selected":"bds120Combobox---selected","--disabled":"bds120Combobox---disabled"};
1974
+ var Combobox_default = {"formGroup":"bds122Combobox-formGroup","inputWrapper":"bds122Combobox-inputWrapper","input":"bds122Combobox-input","inputError":"bds122Combobox-inputError","chevron":"bds122Combobox-chevron","listbox":"bds122Combobox-listbox","option":"bds122Combobox-option","--highlighted":"bds122Combobox---highlighted","--selected":"bds122Combobox---selected","--disabled":"bds122Combobox---disabled"};
1952
1975
 
1953
1976
  // src/components/interaction/form/Combobox/Combobox.tsx
1954
1977
  var import_design_system_foundation36 = require("@boostdev/design-system-foundation");
@@ -1963,7 +1986,8 @@ function Combobox({
1963
1986
  disabled = false,
1964
1987
  error,
1965
1988
  hint,
1966
- className
1989
+ className,
1990
+ ...rest
1967
1991
  }) {
1968
1992
  const id = name + (0, import_react14.useId)();
1969
1993
  const listboxId = id + "listbox";
@@ -2030,7 +2054,7 @@ function Combobox({
2030
2054
  setIsOpen(false);
2031
2055
  }
2032
2056
  };
2033
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(InputContainer, { className: (0, import_design_system_foundation36.cn)(Combobox_default.formGroup, className), children: [
2057
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(InputContainer, { ...rest, className: (0, import_design_system_foundation36.cn)(Combobox_default.formGroup, className), children: [
2034
2058
  /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Label, { id, label }),
2035
2059
  /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { ref: containerRef, className: Combobox_default.inputWrapper, children: [
2036
2060
  /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
@@ -2098,7 +2122,7 @@ function Combobox({
2098
2122
  var import_react15 = require("react");
2099
2123
 
2100
2124
  // src/components/interaction/form/FileInput/FileInput.module.css
2101
- var FileInput_default = {"formGroup":"bds120FileInput-formGroup","fieldLabel":"bds120FileInput-fieldLabel","dropZone":"bds120FileInput-dropZone","isDragging":"bds120FileInput-isDragging","hasError":"bds120FileInput-hasError","isDisabled":"bds120FileInput-isDisabled","icon":"bds120FileInput-icon","prompt":"bds120FileInput-prompt","acceptHint":"bds120FileInput-acceptHint","hiddenInput":"bds120FileInput-hiddenInput"};
2125
+ var FileInput_default = {"formGroup":"bds122FileInput-formGroup","fieldLabel":"bds122FileInput-fieldLabel","dropZone":"bds122FileInput-dropZone","isDragging":"bds122FileInput-isDragging","hasError":"bds122FileInput-hasError","isDisabled":"bds122FileInput-isDisabled","icon":"bds122FileInput-icon","prompt":"bds122FileInput-prompt","acceptHint":"bds122FileInput-acceptHint","hiddenInput":"bds122FileInput-hiddenInput"};
2102
2126
 
2103
2127
  // src/components/interaction/form/FileInput/FileInput.tsx
2104
2128
  var import_design_system_foundation37 = require("@boostdev/design-system-foundation");
@@ -2113,7 +2137,8 @@ function FileInput({
2113
2137
  error,
2114
2138
  hint,
2115
2139
  onChange,
2116
- className
2140
+ className,
2141
+ ...rest
2117
2142
  }) {
2118
2143
  const uid = name + (0, import_react15.useId)();
2119
2144
  const hintId = uid + "hint";
@@ -2151,7 +2176,7 @@ function FileInput({
2151
2176
  if (!disabled) setIsDragging(true);
2152
2177
  };
2153
2178
  const handleDragLeave = () => setIsDragging(false);
2154
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(InputContainer, { className: (0, import_design_system_foundation37.cn)(FileInput_default.formGroup, className), children: [
2179
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(InputContainer, { ...rest, className: (0, import_design_system_foundation37.cn)(FileInput_default.formGroup, className), children: [
2155
2180
  /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
2156
2181
  "label",
2157
2182
  {
@@ -2198,7 +2223,7 @@ function FileInput({
2198
2223
  var import_react16 = require("react");
2199
2224
 
2200
2225
  // src/components/interaction/form/FormInput/FormInput.module.css
2201
- var FormInput_default = {"formGroup":"bds120FormInput-formGroup","input":"bds120FormInput-input","inputError":"bds120FormInput-inputError"};
2226
+ var FormInput_default = {"formGroup":"bds122FormInput-formGroup","input":"bds122FormInput-input","inputError":"bds122FormInput-inputError"};
2202
2227
 
2203
2228
  // src/components/interaction/form/FormInput/FormInput.tsx
2204
2229
  var import_design_system_foundation38 = require("@boostdev/design-system-foundation");
@@ -2242,7 +2267,7 @@ function FormInput({
2242
2267
  var import_react17 = require("react");
2243
2268
 
2244
2269
  // src/components/interaction/form/NumberInput/NumberInput.module.css
2245
- var NumberInput_default = {"formGroup":"bds120NumberInput-formGroup","inputRow":"bds120NumberInput-inputRow","input":"bds120NumberInput-input","inputError":"bds120NumberInput-inputError","stepper":"bds120NumberInput-stepper"};
2270
+ var NumberInput_default = {"formGroup":"bds122NumberInput-formGroup","inputRow":"bds122NumberInput-inputRow","input":"bds122NumberInput-input","inputError":"bds122NumberInput-inputError","stepper":"bds122NumberInput-stepper"};
2246
2271
 
2247
2272
  // src/components/interaction/form/NumberInput/NumberInput.tsx
2248
2273
  var import_design_system_foundation39 = require("@boostdev/design-system-foundation");
@@ -2259,7 +2284,8 @@ function NumberInput({
2259
2284
  error,
2260
2285
  hint,
2261
2286
  onChange,
2262
- className
2287
+ className,
2288
+ ...rest
2263
2289
  }) {
2264
2290
  const uid = name + (0, import_react17.useId)();
2265
2291
  const hintId = uid + "hint";
@@ -2284,7 +2310,7 @@ function NumberInput({
2284
2310
  }
2285
2311
  onChange?.(next);
2286
2312
  };
2287
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(InputContainer, { className: (0, import_design_system_foundation39.cn)(NumberInput_default.formGroup, className), children: [
2313
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(InputContainer, { ...rest, className: (0, import_design_system_foundation39.cn)(NumberInput_default.formGroup, className), children: [
2288
2314
  /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Label, { id: uid, label }),
2289
2315
  /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: NumberInput_default.inputRow, children: [
2290
2316
  /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
@@ -2346,7 +2372,7 @@ function NumberInput({
2346
2372
  var import_react18 = require("react");
2347
2373
 
2348
2374
  // src/components/interaction/form/Radio/Radio.module.css
2349
- var Radio_default = {"radioGroup":"bds120Radio-radioGroup","inputWrapper":"bds120Radio-inputWrapper","textWrapper":"bds120Radio-textWrapper","description":"bds120Radio-description","radio":"bds120Radio-radio","radioError":"bds120Radio-radioError"};
2375
+ var Radio_default = {"radioGroup":"bds122Radio-radioGroup","inputWrapper":"bds122Radio-inputWrapper","textWrapper":"bds122Radio-textWrapper","description":"bds122Radio-description","radio":"bds122Radio-radio","radioError":"bds122Radio-radioError"};
2350
2376
 
2351
2377
  // src/components/interaction/form/Radio/Radio.tsx
2352
2378
  var import_design_system_foundation40 = require("@boostdev/design-system-foundation");
@@ -2384,7 +2410,7 @@ function Radio({ label, name, description, error, hint, className, ...props }) {
2384
2410
  var import_react19 = require("react");
2385
2411
 
2386
2412
  // src/components/interaction/form/RadioGroup/RadioGroup.module.css
2387
- var RadioGroup_default = {"group":"bds120RadioGroup-group","legend":"bds120RadioGroup-legend","required":"bds120RadioGroup-required","items":"bds120RadioGroup-items"};
2413
+ var RadioGroup_default = {"group":"bds122RadioGroup-group","legend":"bds122RadioGroup-legend","required":"bds122RadioGroup-required","items":"bds122RadioGroup-items"};
2388
2414
 
2389
2415
  // src/components/interaction/form/RadioGroup/RadioGroup.tsx
2390
2416
  var import_design_system_foundation41 = require("@boostdev/design-system-foundation");
@@ -2395,8 +2421,8 @@ function RadioGroup({
2395
2421
  error,
2396
2422
  hint,
2397
2423
  required,
2398
- disabled,
2399
- className
2424
+ className,
2425
+ ...rest
2400
2426
  }) {
2401
2427
  const id = (0, import_react19.useId)();
2402
2428
  const hintId = id + "hint";
@@ -2405,8 +2431,8 @@ function RadioGroup({
2405
2431
  return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
2406
2432
  "fieldset",
2407
2433
  {
2434
+ ...rest,
2408
2435
  className: (0, import_design_system_foundation41.cn)(RadioGroup_default.group, className),
2409
- disabled,
2410
2436
  "aria-required": required || void 0,
2411
2437
  "aria-describedby": describedBy,
2412
2438
  children: [
@@ -2426,7 +2452,7 @@ function RadioGroup({
2426
2452
  var import_react20 = require("react");
2427
2453
 
2428
2454
  // src/components/interaction/form/SegmentedControl/SegmentedControl.module.css
2429
- var SegmentedControl_default = {"control":"bds120SegmentedControl-control","thumb":"bds120SegmentedControl-thumb","indicator":"bds120SegmentedControl-indicator","item":"bds120SegmentedControl-item","--active":"bds120SegmentedControl---active","--disabled":"bds120SegmentedControl---disabled","--size_small":"bds120SegmentedControl---size_small","--size_large":"bds120SegmentedControl---size_large","--variant_outline":"bds120SegmentedControl---variant_outline"};
2455
+ var SegmentedControl_default = {"control":"bds122SegmentedControl-control","thumb":"bds122SegmentedControl-thumb","indicator":"bds122SegmentedControl-indicator","item":"bds122SegmentedControl-item","--active":"bds122SegmentedControl---active","--disabled":"bds122SegmentedControl---disabled","--size_small":"bds122SegmentedControl---size_small","--size_large":"bds122SegmentedControl---size_large","--variant_outline":"bds122SegmentedControl---variant_outline"};
2430
2456
 
2431
2457
  // src/components/interaction/form/SegmentedControl/SegmentedControl.tsx
2432
2458
  var import_design_system_foundation42 = require("@boostdev/design-system-foundation");
@@ -2438,7 +2464,7 @@ function SegmentedControl({
2438
2464
  size = "medium",
2439
2465
  variant = "outline",
2440
2466
  className,
2441
- "aria-label": ariaLabel
2467
+ ...rest
2442
2468
  }) {
2443
2469
  const validChildren = import_react20.Children.toArray(children).filter(import_react20.isValidElement);
2444
2470
  const autoIndex = selectedIndexProp === void 0 ? validChildren.findIndex((child) => {
@@ -2449,8 +2475,8 @@ function SegmentedControl({
2449
2475
  return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
2450
2476
  "div",
2451
2477
  {
2478
+ ...rest,
2452
2479
  role: "group",
2453
- "aria-label": ariaLabel,
2454
2480
  className: (0, import_design_system_foundation42.cn)(SegmentedControl_default.control, SegmentedControl_default[`--size_${size}`], SegmentedControl_default[`--variant_${variant}`], className),
2455
2481
  style: {
2456
2482
  "--control_count": validChildren.length,
@@ -2482,7 +2508,7 @@ function SegmentedControl({
2482
2508
  var import_react21 = require("react");
2483
2509
 
2484
2510
  // src/components/interaction/form/Select/Select.module.css
2485
- var Select_default = {"formGroup":"bds120Select-formGroup","selectWrapper":"bds120Select-selectWrapper","select":"bds120Select-select","selectError":"bds120Select-selectError","chevron":"bds120Select-chevron"};
2511
+ var Select_default = {"formGroup":"bds122Select-formGroup","selectWrapper":"bds122Select-selectWrapper","select":"bds122Select-select","selectError":"bds122Select-selectError","chevron":"bds122Select-chevron"};
2486
2512
 
2487
2513
  // src/components/interaction/form/Select/Select.tsx
2488
2514
  var import_design_system_foundation43 = require("@boostdev/design-system-foundation");
@@ -2533,7 +2559,7 @@ function Select({
2533
2559
  var import_react22 = require("react");
2534
2560
 
2535
2561
  // src/components/interaction/form/Slider/Slider.module.css
2536
- var Slider_default = {"formGroup":"bds120Slider-formGroup","labelRow":"bds120Slider-labelRow","value":"bds120Slider-value","slider":"bds120Slider-slider","sliderError":"bds120Slider-sliderError"};
2562
+ var Slider_default = {"formGroup":"bds122Slider-formGroup","labelRow":"bds122Slider-labelRow","value":"bds122Slider-value","slider":"bds122Slider-slider","sliderError":"bds122Slider-sliderError"};
2537
2563
 
2538
2564
  // src/components/interaction/form/Slider/Slider.tsx
2539
2565
  var import_design_system_foundation44 = require("@boostdev/design-system-foundation");
@@ -2595,7 +2621,7 @@ function Slider({
2595
2621
  var import_react23 = require("react");
2596
2622
 
2597
2623
  // src/components/interaction/form/Switch/Switch.module.css
2598
- var Switch_default = {"switchGroup":"bds120Switch-switchGroup","--size_small":"bds120Switch---size_small","--size_medium":"bds120Switch---size_medium","--size_large":"bds120Switch---size_large","inputWrapper":"bds120Switch-inputWrapper","trackWrapper":"bds120Switch-trackWrapper","switch":"bds120Switch-switch","track":"bds120Switch-track","thumb":"bds120Switch-thumb","switchError":"bds120Switch-switchError"};
2624
+ var Switch_default = {"switchGroup":"bds122Switch-switchGroup","--size_small":"bds122Switch---size_small","--size_medium":"bds122Switch---size_medium","--size_large":"bds122Switch---size_large","inputWrapper":"bds122Switch-inputWrapper","trackWrapper":"bds122Switch-trackWrapper","switch":"bds122Switch-switch","track":"bds122Switch-track","thumb":"bds122Switch-thumb","switchError":"bds122Switch-switchError"};
2599
2625
 
2600
2626
  // src/components/interaction/form/Switch/Switch.tsx
2601
2627
  var import_design_system_foundation45 = require("@boostdev/design-system-foundation");
@@ -2643,7 +2669,7 @@ function Switch({
2643
2669
  var import_react24 = require("react");
2644
2670
 
2645
2671
  // src/components/interaction/form/Textarea/Textarea.module.css
2646
- var Textarea_default = {"formGroup":"bds120Textarea-formGroup","textarea":"bds120Textarea-textarea","textareaError":"bds120Textarea-textareaError"};
2672
+ var Textarea_default = {"formGroup":"bds122Textarea-formGroup","textarea":"bds122Textarea-textarea","textareaError":"bds122Textarea-textareaError"};
2647
2673
 
2648
2674
  // src/components/interaction/form/Textarea/Textarea.tsx
2649
2675
  var import_design_system_foundation46 = require("@boostdev/design-system-foundation");
@@ -2682,17 +2708,17 @@ function Textarea({
2682
2708
  }
2683
2709
 
2684
2710
  // src/components/layout/ButtonGroup/ButtonGroup.module.css
2685
- var ButtonGroup_default = {"buttonGroup":"bds120ButtonGroup-buttonGroup","container":"bds120ButtonGroup-container","--variant_card":"bds120ButtonGroup---variant_card","--variant_flow":"bds120ButtonGroup---variant_flow","--variant_modal":"bds120ButtonGroup---variant_modal","--variant_content":"bds120ButtonGroup---variant_content","--variant_grid":"bds120ButtonGroup---variant_grid"};
2711
+ var ButtonGroup_default = {"buttonGroup":"bds122ButtonGroup-buttonGroup","container":"bds122ButtonGroup-container","--variant_card":"bds122ButtonGroup---variant_card","--variant_flow":"bds122ButtonGroup---variant_flow","--variant_modal":"bds122ButtonGroup---variant_modal","--variant_content":"bds122ButtonGroup---variant_content","--variant_grid":"bds122ButtonGroup---variant_grid"};
2686
2712
 
2687
2713
  // src/components/layout/ButtonGroup/ButtonGroup.tsx
2688
2714
  var import_design_system_foundation47 = require("@boostdev/design-system-foundation");
2689
2715
  var import_jsx_runtime47 = require("react/jsx-runtime");
2690
- function ButtonGroup({ children, className, variant, "aria-label": ariaLabel }) {
2716
+ function ButtonGroup({ children, className, variant, ...rest }) {
2691
2717
  return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
2692
2718
  "div",
2693
2719
  {
2720
+ ...rest,
2694
2721
  role: "group",
2695
- "aria-label": ariaLabel,
2696
2722
  className: (0, import_design_system_foundation47.cn)(ButtonGroup_default.buttonGroup, className, variant && ButtonGroup_default[`--variant_${variant}`]),
2697
2723
  children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: ButtonGroup_default.container, children })
2698
2724
  }
@@ -2700,7 +2726,7 @@ function ButtonGroup({ children, className, variant, "aria-label": ariaLabel })
2700
2726
  }
2701
2727
 
2702
2728
  // src/components/layout/Card/Card.module.css
2703
- var Card_default = {"card":"bds120Card-card","--default":"bds120Card---default","--elevated":"bds120Card---elevated","--outlined":"bds120Card---outlined","--clickable":"bds120Card---clickable","--padding-none":"bds120Card---padding-none","--padding-small":"bds120Card---padding-small","--padding-medium":"bds120Card---padding-medium","--padding-large":"bds120Card---padding-large","--text-start":"bds120Card---text-start","--text-center":"bds120Card---text-center","--text-end":"bds120Card---text-end"};
2729
+ var Card_default = {"card":"bds122Card-card","--default":"bds122Card---default","--elevated":"bds122Card---elevated","--outlined":"bds122Card---outlined","--clickable":"bds122Card---clickable","--padding-none":"bds122Card---padding-none","--padding-small":"bds122Card---padding-small","--padding-medium":"bds122Card---padding-medium","--padding-large":"bds122Card---padding-large","--text-start":"bds122Card---text-start","--text-center":"bds122Card---text-center","--text-end":"bds122Card---text-end"};
2704
2730
 
2705
2731
  // src/components/layout/Card/Card.tsx
2706
2732
  var import_design_system_foundation48 = require("@boostdev/design-system-foundation");
@@ -2711,9 +2737,8 @@ function Card({
2711
2737
  variant = "default",
2712
2738
  padding = "medium",
2713
2739
  textAlign = "start",
2714
- style,
2715
2740
  onClick,
2716
- "aria-label": ariaLabel
2741
+ ...rest
2717
2742
  }) {
2718
2743
  const classNames = (0, import_design_system_foundation48.cn)(
2719
2744
  Card_default.card,
@@ -2727,10 +2752,9 @@ function Card({
2727
2752
  return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
2728
2753
  Component,
2729
2754
  {
2755
+ ...rest,
2730
2756
  className: classNames,
2731
2757
  onClick,
2732
- style,
2733
- "aria-label": ariaLabel,
2734
2758
  ...onClick && { type: "button" },
2735
2759
  children
2736
2760
  }
@@ -2738,7 +2762,7 @@ function Card({
2738
2762
  }
2739
2763
 
2740
2764
  // src/components/layout/SectionHeader/SectionHeader.module.css
2741
- var SectionHeader_default = {"sectionHeader":"bds120SectionHeader-sectionHeader","title":"bds120SectionHeader-title","subtitle":"bds120SectionHeader-subtitle","--start":"bds120SectionHeader---start","--center":"bds120SectionHeader---center","--end":"bds120SectionHeader---end","--small":"bds120SectionHeader---small","--medium":"bds120SectionHeader---medium","--large":"bds120SectionHeader---large"};
2765
+ var SectionHeader_default = {"sectionHeader":"bds122SectionHeader-sectionHeader","title":"bds122SectionHeader-title","subtitle":"bds122SectionHeader-subtitle","--start":"bds122SectionHeader---start","--center":"bds122SectionHeader---center","--end":"bds122SectionHeader---end","--small":"bds122SectionHeader---small","--medium":"bds122SectionHeader---medium","--large":"bds122SectionHeader---large"};
2742
2766
 
2743
2767
  // src/components/layout/SectionHeader/SectionHeader.tsx
2744
2768
  var import_design_system_foundation49 = require("@boostdev/design-system-foundation");
@@ -2749,23 +2773,24 @@ function SectionHeader({
2749
2773
  className,
2750
2774
  alignment = "start",
2751
2775
  size = "medium",
2752
- titleAs = "h2"
2776
+ titleAs = "h2",
2777
+ ...rest
2753
2778
  }) {
2754
2779
  const Title = titleAs;
2755
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: (0, import_design_system_foundation49.cn)(SectionHeader_default.sectionHeader, SectionHeader_default[`--${alignment}`], SectionHeader_default[`--${size}`], className), children: [
2780
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { ...rest, className: (0, import_design_system_foundation49.cn)(SectionHeader_default.sectionHeader, SectionHeader_default[`--${alignment}`], SectionHeader_default[`--${size}`], className), children: [
2756
2781
  /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Title, { className: SectionHeader_default.title, children: title }),
2757
2782
  subtitle && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("p", { className: SectionHeader_default.subtitle, children: subtitle })
2758
2783
  ] });
2759
2784
  }
2760
2785
 
2761
2786
  // src/components/layout/IconWrapper/IconWrapper.module.css
2762
- var IconWrapper_default = {"wrapper":"bds120IconWrapper-wrapper"};
2787
+ var IconWrapper_default = {"wrapper":"bds122IconWrapper-wrapper"};
2763
2788
 
2764
2789
  // src/components/layout/IconWrapper/IconWrapper.tsx
2765
2790
  var import_design_system_foundation50 = require("@boostdev/design-system-foundation");
2766
2791
  var import_jsx_runtime50 = require("react/jsx-runtime");
2767
- function IconWrapper({ children, className, "aria-hidden": ariaHidden }) {
2768
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: (0, import_design_system_foundation50.cn)(className, IconWrapper_default.wrapper), "aria-hidden": ariaHidden, children });
2792
+ function IconWrapper({ children, className, ...rest }) {
2793
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { ...rest, className: (0, import_design_system_foundation50.cn)(className, IconWrapper_default.wrapper), children });
2769
2794
  }
2770
2795
 
2771
2796
  // src/index.ts