@viasat/beam-react 2.2.0 → 2.8.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 (260) hide show
  1. package/assets/ActionList.css +1 -1
  2. package/assets/Checkbox.css +1 -1
  3. package/assets/RadioButton.css +1 -1
  4. package/assets/Search.Results.css +1 -0
  5. package/assets/card.css +1 -1
  6. package/assets/panel.css +1 -0
  7. package/chunks/ActionList.Group.B4PX5SKS.js +111 -0
  8. package/chunks/ActionList.Group.C2R56u2A.js +1 -0
  9. package/chunks/ActionList.Item.5Y-SwzjK.js +1 -0
  10. package/chunks/{ActionList.Item.Dg_KHGsm.js → ActionList.Item.BFcT86lS.js} +3 -2
  11. package/chunks/Search.Results.Item.CLmMBPz1.js +41 -0
  12. package/chunks/Search.Results.Item.Dkh2yo4p.js +1 -0
  13. package/chunks/card.module.8KnCe1uR.js +1 -0
  14. package/chunks/{card.module.Dy87qmTH.js → card.module.ByBYpexJ.js} +12 -6
  15. package/chunks/dom.DGM-dxLe.js +21 -0
  16. package/chunks/dom.zgzOBFUw.js +1 -0
  17. package/chunks/{form.context.B1PXIJNq.js → form.context.B26th8Od.js} +1 -1
  18. package/chunks/{form.context.CNWjF5qA.js → form.context.CfsTSQpm.js} +1 -1
  19. package/chunks/panel.module.DbEoAg1J.js +1 -0
  20. package/chunks/panel.module.RGiUyC84.js +30 -0
  21. package/chunks/tokens.BD_71qmL.js +19 -0
  22. package/chunks/tokens.Bc11gmpN.js +1 -0
  23. package/index.cjs.js +1 -1
  24. package/index.es.js +17 -15
  25. package/lib/ActionList/ActionList.Group.cjs.js +1 -1
  26. package/lib/ActionList/ActionList.Group.d.ts +7 -4
  27. package/lib/ActionList/ActionList.Group.es.js +2 -2
  28. package/lib/ActionList/ActionList.IconButton.cjs.js +1 -1
  29. package/lib/ActionList/ActionList.IconButton.es.js +1 -1
  30. package/lib/ActionList/ActionList.Item.cjs.js +1 -1
  31. package/lib/ActionList/ActionList.Item.es.js +3 -3
  32. package/lib/ActionList/ActionList.cjs.js +1 -1
  33. package/lib/ActionList/ActionList.d.ts +1 -1
  34. package/lib/ActionList/ActionList.es.js +54 -54
  35. package/lib/ActionList/useActionListChildren.cjs.js +1 -1
  36. package/lib/ActionList/useActionListChildren.es.js +2 -2
  37. package/lib/Autocomplete/Autocomplete.cjs.js +1 -1
  38. package/lib/Autocomplete/Autocomplete.es.js +1 -1
  39. package/lib/Autocomplete/AutocompleteDropdown.cjs.js +1 -1
  40. package/lib/Autocomplete/AutocompleteDropdown.es.js +1 -1
  41. package/lib/Autocomplete/useAutocompleteA11y.cjs.js +1 -1
  42. package/lib/Autocomplete/useAutocompleteA11y.es.js +1 -1
  43. package/lib/Autocomplete/useAutocompleteDropdown.cjs.js +1 -1
  44. package/lib/Autocomplete/useAutocompleteDropdown.es.js +1 -1
  45. package/lib/Box/utils.cjs.js +1 -0
  46. package/lib/Box/utils.d.ts +6 -0
  47. package/lib/Box/utils.es.js +12 -0
  48. package/lib/Button/Button.cjs.js +1 -1
  49. package/lib/Button/Button.es.js +1 -1
  50. package/lib/Card/Card.Body.cjs.js +1 -1
  51. package/lib/Card/Card.Body.es.js +1 -1
  52. package/lib/Card/Card.Content.cjs.js +1 -1
  53. package/lib/Card/Card.Content.es.js +12 -17
  54. package/lib/Card/Card.Footer.cjs.js +1 -1
  55. package/lib/Card/Card.Footer.d.ts +1 -1
  56. package/lib/Card/Card.Footer.es.js +1 -1
  57. package/lib/Card/Card.Header.cjs.js +1 -1
  58. package/lib/Card/Card.Header.es.js +1 -1
  59. package/lib/Card/Card.Media.cjs.js +1 -1
  60. package/lib/Card/Card.Media.es.js +1 -1
  61. package/lib/Card/Card.cjs.js +1 -1
  62. package/lib/Card/Card.d.ts +61 -18
  63. package/lib/Card/Card.es.js +181 -82
  64. package/lib/Card/CardContext.cjs.js +1 -1
  65. package/lib/Card/CardContext.d.ts +10 -8
  66. package/lib/Card/CardContext.es.js +7 -12
  67. package/lib/Card/CardGroup.cjs.js +1 -0
  68. package/lib/Card/CardGroup.d.ts +55 -0
  69. package/lib/Card/CardGroup.es.js +67 -0
  70. package/lib/Card/card.utils.cjs.js +1 -0
  71. package/lib/Card/card.utils.d.ts +7 -0
  72. package/lib/Card/card.utils.es.js +14 -0
  73. package/lib/Card/index.cjs.js +1 -1
  74. package/lib/Card/index.d.ts +9 -1
  75. package/lib/Card/index.es.js +4 -2
  76. package/lib/Card/useCardGroup.cjs.js +1 -0
  77. package/lib/Card/useCardGroup.d.ts +27 -0
  78. package/lib/Card/useCardGroup.es.js +42 -0
  79. package/lib/Card/useCardGroupValue.cjs.js +1 -0
  80. package/lib/Card/useCardGroupValue.d.ts +14 -0
  81. package/lib/Card/useCardGroupValue.es.js +29 -0
  82. package/lib/Checkbox/Checkbox.cjs.js +1 -1
  83. package/lib/Checkbox/Checkbox.es.js +1 -1
  84. package/lib/Dialog/Dialog.Trigger.cjs.js +1 -1
  85. package/lib/Dialog/Dialog.Trigger.es.js +7 -6
  86. package/lib/EmptyState/EmptyState.cjs.js +1 -1
  87. package/lib/EmptyState/EmptyState.es.js +1 -1
  88. package/lib/FileUpload/FileUpload.List.Item.cjs.js +1 -1
  89. package/lib/FileUpload/FileUpload.List.Item.es.js +20 -20
  90. package/lib/FileUpload/FileUpload.cjs.js +1 -1
  91. package/lib/FileUpload/FileUpload.es.js +1 -1
  92. package/lib/FloatingUI/index.cjs.js +1 -1
  93. package/lib/FloatingUI/index.d.ts +1 -0
  94. package/lib/FloatingUI/index.es.js +7 -5
  95. package/lib/FloatingUI/useBlur.cjs.js +1 -0
  96. package/lib/FloatingUI/useBlur.d.ts +8 -0
  97. package/lib/FloatingUI/useBlur.es.js +15 -0
  98. package/lib/FloatingUI/useTyping.cjs.js +1 -0
  99. package/lib/FloatingUI/useTyping.d.ts +10 -0
  100. package/lib/FloatingUI/useTyping.es.js +42 -0
  101. package/lib/Form/Form.cjs.js +1 -1
  102. package/lib/Form/Form.es.js +1 -1
  103. package/lib/Form/contexts/form.context.cjs.js +1 -1
  104. package/lib/Form/contexts/form.context.es.js +1 -1
  105. package/lib/Form/contexts/index.cjs.js +1 -1
  106. package/lib/Form/contexts/index.es.js +1 -1
  107. package/lib/Form/hooks/index.cjs.js +1 -1
  108. package/lib/Form/hooks/index.es.js +1 -1
  109. package/lib/Form/hooks/useFieldValidator.hook.cjs.js +1 -1
  110. package/lib/Form/hooks/useFieldValidator.hook.es.js +2 -2
  111. package/lib/HelperText/HelperText.cjs.js +1 -1
  112. package/lib/HelperText/HelperText.es.js +1 -1
  113. package/lib/HelperText/index.cjs.js +1 -1
  114. package/lib/HelperText/index.es.js +1 -1
  115. package/lib/InputChoiceGroup/InputChoiceGroup.cjs.js +1 -1
  116. package/lib/InputChoiceGroup/InputChoiceGroup.es.js +1 -1
  117. package/lib/Label/Label.cjs.js +1 -1
  118. package/lib/Label/Label.es.js +1 -1
  119. package/lib/Link/Link.cjs.js +1 -1
  120. package/lib/Link/Link.es.js +6 -6
  121. package/lib/NativeSelect/NativeSelect.cjs.js +1 -1
  122. package/lib/NativeSelect/NativeSelect.es.js +1 -1
  123. package/lib/Popover/Popover.cjs.js +1 -1
  124. package/lib/Popover/Popover.es.js +1 -1
  125. package/lib/Popover/Popover.trigger.cjs.js +1 -1
  126. package/lib/Popover/Popover.trigger.es.js +7 -6
  127. package/lib/Popover/Popover.utils.cjs.js +1 -1
  128. package/lib/Popover/Popover.utils.es.js +1 -1
  129. package/lib/ProgressBar/ProgressBar.cjs.js +1 -1
  130. package/lib/ProgressBar/ProgressBar.es.js +1 -1
  131. package/lib/RadioButton/RadioButton.cjs.js +1 -1
  132. package/lib/RadioButton/RadioButton.es.js +1 -1
  133. package/lib/Select/Select.cjs.js +1 -1
  134. package/lib/Select/Select.es.js +1 -1
  135. package/lib/Select/SelectDropdown.cjs.js +1 -1
  136. package/lib/Select/SelectDropdown.es.js +1 -1
  137. package/lib/Select/useSelectA11y.cjs.js +1 -1
  138. package/lib/Select/useSelectA11y.es.js +1 -1
  139. package/lib/SideNav/SideNavActionListGroup.cjs.js +1 -1
  140. package/lib/SideNav/SideNavActionListGroup.es.js +1 -1
  141. package/lib/SideNav/SideNavActionListItem.cjs.js +1 -1
  142. package/lib/SideNav/SideNavActionListItem.es.js +1 -1
  143. package/lib/SideNav/SideNavActionListItemExpandable.cjs.js +1 -1
  144. package/lib/SideNav/SideNavActionListItemExpandable.es.js +1 -1
  145. package/lib/SideNav/SideNavActionListItemFlyout.cjs.js +1 -1
  146. package/lib/SideNav/SideNavActionListItemFlyout.es.js +1 -1
  147. package/lib/Slider/DualSlider.cjs.js +1 -1
  148. package/lib/Slider/DualSlider.d.ts +1 -1
  149. package/lib/Slider/DualSlider.es.js +73 -72
  150. package/lib/Slider/SingleSlider.cjs.js +1 -1
  151. package/lib/Slider/SingleSlider.d.ts +1 -1
  152. package/lib/Slider/SingleSlider.es.js +52 -51
  153. package/lib/Slider/Slider.Error.cjs.js +1 -1
  154. package/lib/Slider/Slider.Error.es.js +1 -1
  155. package/lib/Slider/Slider.Thumb.cjs.js +1 -1
  156. package/lib/Slider/Slider.Thumb.es.js +1 -1
  157. package/lib/Slider/Slider.cjs.js +1 -1
  158. package/lib/Slider/Slider.d.ts +1 -3
  159. package/lib/Slider/Slider.es.js +13 -11
  160. package/lib/Slider/Slider.types.d.ts +1 -1
  161. package/lib/Slider/hooks/useSliderBase.cjs.js +1 -1
  162. package/lib/Slider/hooks/useSliderBase.es.js +1 -1
  163. package/lib/Switch/Switch.cjs.js +1 -1
  164. package/lib/Switch/Switch.es.js +1 -1
  165. package/lib/Tabs/Tabs.Group.cjs.js +1 -1
  166. package/lib/Tabs/Tabs.Group.es.js +1 -1
  167. package/lib/TextArea/TextArea.cjs.js +1 -1
  168. package/lib/TextArea/TextArea.es.js +1 -1
  169. package/lib/TextField/TextField.cjs.js +1 -1
  170. package/lib/TextField/TextField.es.js +1 -1
  171. package/lib/Tooltip/Tooltip.cjs.js +1 -1
  172. package/lib/Tooltip/Tooltip.es.js +9 -9
  173. package/lib/_Options/useSelectValue.cjs.js +1 -1
  174. package/lib/_Options/useSelectValue.es.js +1 -1
  175. package/lib/index.cjs.js +1 -1
  176. package/lib/index.es.js +18 -16
  177. package/lib/wip/Panel/Panel.Body.cjs.js +1 -0
  178. package/lib/wip/Panel/Panel.Body.d.ts +11 -0
  179. package/lib/wip/Panel/Panel.Body.es.js +17 -0
  180. package/lib/wip/Panel/Panel.Footer.Actions.cjs.js +1 -0
  181. package/lib/wip/Panel/Panel.Footer.Actions.d.ts +17 -0
  182. package/lib/wip/Panel/Panel.Footer.Actions.es.js +22 -0
  183. package/lib/wip/Panel/Panel.Footer.cjs.js +1 -0
  184. package/lib/wip/Panel/Panel.Footer.d.ts +20 -0
  185. package/lib/wip/Panel/Panel.Footer.es.js +24 -0
  186. package/lib/wip/Panel/Panel.Header.ContentAfter.cjs.js +1 -0
  187. package/lib/wip/Panel/Panel.Header.ContentAfter.d.ts +11 -0
  188. package/lib/wip/Panel/Panel.Header.ContentAfter.es.js +17 -0
  189. package/lib/wip/Panel/Panel.Header.ContentBefore.cjs.js +1 -0
  190. package/lib/wip/Panel/Panel.Header.ContentBefore.d.ts +11 -0
  191. package/lib/wip/Panel/Panel.Header.ContentBefore.es.js +17 -0
  192. package/lib/wip/Panel/Panel.Header.Description.cjs.js +1 -0
  193. package/lib/wip/Panel/Panel.Header.Description.d.ts +11 -0
  194. package/lib/wip/Panel/Panel.Header.Description.es.js +17 -0
  195. package/lib/wip/Panel/Panel.Header.Heading.cjs.js +1 -0
  196. package/lib/wip/Panel/Panel.Header.Heading.d.ts +11 -0
  197. package/lib/wip/Panel/Panel.Header.Heading.es.js +17 -0
  198. package/lib/wip/Panel/Panel.Header.Row.cjs.js +1 -0
  199. package/lib/wip/Panel/Panel.Header.Row.d.ts +11 -0
  200. package/lib/wip/Panel/Panel.Header.Row.es.js +29 -0
  201. package/lib/wip/Panel/Panel.Header.Subheader.cjs.js +1 -0
  202. package/lib/wip/Panel/Panel.Header.Subheader.d.ts +11 -0
  203. package/lib/wip/Panel/Panel.Header.Subheader.es.js +17 -0
  204. package/lib/wip/Panel/Panel.Header.cjs.js +1 -0
  205. package/lib/wip/Panel/Panel.Header.d.ts +40 -0
  206. package/lib/wip/Panel/Panel.Header.es.js +34 -0
  207. package/lib/wip/Panel/Panel.cjs.js +1 -0
  208. package/lib/wip/Panel/Panel.context.cjs.js +1 -0
  209. package/lib/wip/Panel/Panel.context.d.ts +16 -0
  210. package/lib/wip/Panel/Panel.context.es.js +11 -0
  211. package/lib/wip/Panel/Panel.d.ts +45 -0
  212. package/lib/wip/Panel/Panel.es.js +43 -0
  213. package/lib/wip/Panel/Panel.types.cjs.js +1 -0
  214. package/lib/wip/Panel/Panel.types.d.ts +71 -0
  215. package/lib/wip/Panel/Panel.types.es.js +1 -0
  216. package/lib/wip/Panel/index.cjs.js +1 -0
  217. package/lib/wip/Panel/index.d.ts +12 -0
  218. package/lib/wip/Panel/index.es.js +4 -0
  219. package/lib/wip/Search/Search.Results.Item.cjs.js +1 -0
  220. package/lib/wip/Search/Search.Results.Item.d.ts +8 -0
  221. package/lib/wip/Search/Search.Results.Item.es.js +12 -0
  222. package/lib/wip/Search/Search.Results.cjs.js +1 -0
  223. package/lib/wip/Search/Search.Results.d.ts +12 -0
  224. package/lib/wip/Search/Search.Results.es.js +19 -0
  225. package/lib/wip/Search/Search.cjs.js +1 -0
  226. package/lib/wip/Search/Search.d.ts +88 -0
  227. package/lib/wip/Search/Search.es.js +157 -0
  228. package/lib/wip/Search/SearchDropdown.cjs.js +1 -0
  229. package/lib/wip/Search/SearchDropdown.d.ts +19 -0
  230. package/lib/wip/Search/SearchDropdown.es.js +71 -0
  231. package/lib/wip/Search/index.cjs.js +1 -0
  232. package/lib/wip/Search/index.d.ts +1 -0
  233. package/lib/wip/Search/index.es.js +4 -0
  234. package/lib/wip/Search/useSearchDropdown.cjs.js +1 -0
  235. package/lib/wip/Search/useSearchDropdown.d.ts +875 -0
  236. package/lib/wip/Search/useSearchDropdown.es.js +92 -0
  237. package/lib/wip/index.cjs.js +1 -1
  238. package/lib/wip/index.d.ts +2 -0
  239. package/lib/wip/index.es.js +6 -1
  240. package/package.json +6 -6
  241. package/utils/hooks/index.cjs.js +1 -1
  242. package/utils/hooks/index.d.ts +1 -0
  243. package/utils/hooks/index.es.js +33 -31
  244. package/utils/hooks/useDebounced.cjs.js +1 -0
  245. package/utils/hooks/useDebounced.d.ts +5 -0
  246. package/utils/hooks/useDebounced.es.js +18 -0
  247. package/utils/hooks/useEffectAfterMount.cjs.js +1 -0
  248. package/utils/hooks/useEffectAfterMount.d.ts +2 -0
  249. package/utils/hooks/useEffectAfterMount.es.js +14 -0
  250. package/utils/hooks/useInteractiveProps.cjs.js +1 -0
  251. package/utils/hooks/useInteractiveProps.d.ts +24 -0
  252. package/utils/hooks/useInteractiveProps.es.js +31 -0
  253. package/chunks/ActionList.Group.Bv9vgU22.js +0 -1
  254. package/chunks/ActionList.Group.DuNxYNZQ.js +0 -107
  255. package/chunks/ActionList.Item.D7Rg5iMb.js +0 -1
  256. package/chunks/card.module.BG9mkRao.js +0 -1
  257. package/chunks/dom.CVmkHCnh.js +0 -21
  258. package/chunks/dom.PCrm8EUc.js +0 -1
  259. package/chunks/tokens.Bgac_JPh.js +0 -1
  260. package/chunks/tokens.CXaNS8Cf.js +0 -13
@@ -0,0 +1,24 @@
1
+ import { jsxs as i, Fragment as l, jsx as s } from "react/jsx-runtime";
2
+ import n from "clsx";
3
+ import { g as c } from "../../../chunks/classNames.DNsS4J__.js";
4
+ import "../../../chunks/constants.BBi77pmH.js";
5
+ import { Divider as p } from "../../Divider/Divider.es.js";
6
+ import { Actions as f } from "./Panel.Footer.Actions.es.js";
7
+ import { s as x } from "../../../chunks/panel.module.RGiUyC84.js";
8
+ const { subElementClassPrefix: N } = c("panel"), d = `${N}footer`, o = ({
9
+ children: r,
10
+ divider: t = !0,
11
+ className: e,
12
+ ...m
13
+ }) => {
14
+ const a = n(x[d], e);
15
+ return /* @__PURE__ */ i(l, { children: [
16
+ t && /* @__PURE__ */ s(p, {}),
17
+ /* @__PURE__ */ s("footer", { className: a, ...m, children: r })
18
+ ] });
19
+ };
20
+ o.displayName = "Panel.Footer";
21
+ o.Actions = f;
22
+ export {
23
+ o as Footer
24
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),l=require("clsx"),o=require("../../../chunks/classNames.DAeKwerT.js");require("../../../chunks/constants.hwjHOsvT.js");const c=require("../../../chunks/panel.module.DbEoAg1J.js"),{subElementClassPrefix:i}=o.getBEMClassNames("panel"),u=`${i}header`,e=({children:s,className:t,...n})=>{const r=l(c.styles[`${u}__content-after`],t);return a.jsx("div",{className:r,...n,children:s})};e.displayName="Panel.Header.ContentAfter";exports.ContentAfter=e;
@@ -0,0 +1,11 @@
1
+ import { default as React, ComponentPropsWithoutRef } from 'react';
2
+ export interface PanelHeaderContentAfterProps extends ComponentPropsWithoutRef<'div'> {
3
+ /**
4
+ * Specify the content after the heading
5
+ */
6
+ children?: React.ReactNode;
7
+ }
8
+ export declare const ContentAfter: {
9
+ ({ children, className: _className, ...props }: PanelHeaderContentAfterProps): import("react/jsx-runtime").JSX.Element;
10
+ displayName: string;
11
+ };
@@ -0,0 +1,17 @@
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import o from "clsx";
3
+ import { g as m } from "../../../chunks/classNames.DNsS4J__.js";
4
+ import "../../../chunks/constants.BBi77pmH.js";
5
+ import { s as n } from "../../../chunks/panel.module.RGiUyC84.js";
6
+ const { subElementClassPrefix: l } = m("panel"), c = `${l}header`, f = ({
7
+ children: s,
8
+ className: e,
9
+ ...t
10
+ }) => {
11
+ const a = o(n[`${c}__content-after`], e);
12
+ return /* @__PURE__ */ r("div", { className: a, ...t, children: s });
13
+ };
14
+ f.displayName = "Panel.Header.ContentAfter";
15
+ export {
16
+ f as ContentAfter
17
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),a=require("clsx"),l=require("../../../chunks/classNames.DAeKwerT.js");require("../../../chunks/constants.hwjHOsvT.js");const c=require("../../../chunks/panel.module.DbEoAg1J.js"),{subElementClassPrefix:i}=l.getBEMClassNames("panel"),u=`${i}header`,e=({children:s,className:t,...n})=>{const r=a(c.styles[`${u}__content-before`],t);return o.jsx("div",{className:r,...n,children:s})};e.displayName="Panel.Header.ContentBefore";exports.ContentBefore=e;
@@ -0,0 +1,11 @@
1
+ import { default as React, ComponentPropsWithoutRef } from 'react';
2
+ export interface PanelHeaderContentBeforeProps extends ComponentPropsWithoutRef<'div'> {
3
+ /**
4
+ * Specify the content before the heading
5
+ */
6
+ children?: React.ReactNode;
7
+ }
8
+ export declare const ContentBefore: {
9
+ ({ children, className: _className, ...props }: PanelHeaderContentBeforeProps): import("react/jsx-runtime").JSX.Element;
10
+ displayName: string;
11
+ };
@@ -0,0 +1,17 @@
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import a from "clsx";
3
+ import { g as m } from "../../../chunks/classNames.DNsS4J__.js";
4
+ import "../../../chunks/constants.BBi77pmH.js";
5
+ import { s as n } from "../../../chunks/panel.module.RGiUyC84.js";
6
+ const { subElementClassPrefix: l } = m("panel"), c = `${l}header`, f = ({
7
+ children: e,
8
+ className: s,
9
+ ...o
10
+ }) => {
11
+ const t = a(n[`${c}__content-before`], s);
12
+ return /* @__PURE__ */ r("div", { className: t, ...o, children: e });
13
+ };
14
+ f.displayName = "Panel.Header.ContentBefore";
15
+ export {
16
+ f as ContentBefore
17
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),n=require("clsx"),c=require("../../../chunks/classNames.DAeKwerT.js");require("../../../chunks/constants.hwjHOsvT.js");const l=require("../../../chunks/panel.module.DbEoAg1J.js"),{subElementClassPrefix:o}=c.getBEMClassNames("panel"),u=`${o}header`,e=({children:s,className:r,...t})=>{const a=n(l.styles[`${u}__description`],r);return i.jsx("div",{className:a,...t,children:s})};e.displayName="Panel.Header.Description";exports.Description=e;
@@ -0,0 +1,11 @@
1
+ import { default as React, ComponentPropsWithoutRef } from 'react';
2
+ export interface PanelHeaderDescriptionProps extends ComponentPropsWithoutRef<'div'> {
3
+ /**
4
+ * Specify the description content
5
+ */
6
+ children?: React.ReactNode;
7
+ }
8
+ export declare const Description: {
9
+ ({ children, className: _className, ...props }: PanelHeaderDescriptionProps): import("react/jsx-runtime").JSX.Element;
10
+ displayName: string;
11
+ };
@@ -0,0 +1,17 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import t from "clsx";
3
+ import { g as i } from "../../../chunks/classNames.DNsS4J__.js";
4
+ import "../../../chunks/constants.BBi77pmH.js";
5
+ import { s as m } from "../../../chunks/panel.module.RGiUyC84.js";
6
+ const { subElementClassPrefix: l } = i("panel"), n = `${l}header`, p = ({
7
+ children: s,
8
+ className: e,
9
+ ...r
10
+ }) => {
11
+ const a = t(m[`${n}__description`], e);
12
+ return /* @__PURE__ */ o("div", { className: a, ...r, children: s });
13
+ };
14
+ p.displayName = "Panel.Header.Description";
15
+ export {
16
+ p as Description
17
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),l=require("clsx"),i=require("../../../chunks/classNames.DAeKwerT.js");require("../../../chunks/constants.hwjHOsvT.js");const c=require("../../../chunks/panel.module.DbEoAg1J.js"),{subElementClassPrefix:o}=i.getBEMClassNames("panel"),u=`${o}header`,e=({children:s,className:a,...n})=>{const r=l(c.styles[`${u}__heading`],a);return t.jsx("div",{className:r,...n,children:s})};e.displayName="Panel.Header.Heading";exports.Heading=e;
@@ -0,0 +1,11 @@
1
+ import { default as React, ComponentPropsWithoutRef } from 'react';
2
+ export interface PanelHeaderHeadingProps extends ComponentPropsWithoutRef<'div'> {
3
+ /**
4
+ * Specify the heading content
5
+ */
6
+ children?: React.ReactNode;
7
+ }
8
+ export declare const Heading: {
9
+ ({ children, className: _className, ...props }: PanelHeaderHeadingProps): import("react/jsx-runtime").JSX.Element;
10
+ displayName: string;
11
+ };
@@ -0,0 +1,17 @@
1
+ import { jsx as m } from "react/jsx-runtime";
2
+ import o from "clsx";
3
+ import { g as t } from "../../../chunks/classNames.DNsS4J__.js";
4
+ import "../../../chunks/constants.BBi77pmH.js";
5
+ import { s as i } from "../../../chunks/panel.module.RGiUyC84.js";
6
+ const { subElementClassPrefix: l } = t("panel"), n = `${l}header`, p = ({
7
+ children: s,
8
+ className: e,
9
+ ...a
10
+ }) => {
11
+ const r = o(i[`${n}__heading`], e);
12
+ return /* @__PURE__ */ m("div", { className: r, ...a, children: s });
13
+ };
14
+ p.displayName = "Panel.Header.Heading";
15
+ export {
16
+ p as Heading
17
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),d=require("clsx"),m=require("../../../chunks/classNames.DAeKwerT.js");require("../../../chunks/constants.hwjHOsvT.js");const _=require("../../CloseButton/CloseButton.cjs.js"),b=require("./Panel.context.cjs.js"),l=require("../../../chunks/panel.module.DbEoAg1J.js"),{subElementClassPrefix:x}=m.getBEMClassNames("panel"),t=`${x}header`,o=({children:a,className:n,...r})=>{const{dismissible:i,closeButtonAriaLabel:c,onOpenChange:e}=b.usePanelContext(),u=d(l.styles[`${t}__row`],n);return s.jsxs("div",{className:u,...r,children:[a,i&&s.jsx("div",{className:l.styles[`${t}__close-button`],children:s.jsx(_.CloseButton,{"aria-label":c,onClick:()=>e==null?void 0:e(!1),size:"lg"})})]})};o.displayName="Panel.Header.Row";exports.Row=o;
@@ -0,0 +1,11 @@
1
+ import { default as React, ComponentPropsWithoutRef } from 'react';
2
+ export interface PanelHeaderRowProps extends ComponentPropsWithoutRef<'div'> {
3
+ /**
4
+ * Specify the content for the header row
5
+ */
6
+ children?: React.ReactNode;
7
+ }
8
+ export declare const Row: {
9
+ ({ children, className: _className, ...props }: PanelHeaderRowProps): import("react/jsx-runtime").JSX.Element;
10
+ displayName: string;
11
+ };
@@ -0,0 +1,29 @@
1
+ import { jsxs as n, jsx as e } from "react/jsx-runtime";
2
+ import p from "clsx";
3
+ import { g as d } from "../../../chunks/classNames.DNsS4J__.js";
4
+ import "../../../chunks/constants.BBi77pmH.js";
5
+ import { CloseButton as f } from "../../CloseButton/CloseButton.es.js";
6
+ import { usePanelContext as b } from "./Panel.context.es.js";
7
+ import { s as o } from "../../../chunks/panel.module.RGiUyC84.js";
8
+ const { subElementClassPrefix: u } = d("panel"), a = `${u}header`, x = ({
9
+ children: l,
10
+ className: t,
11
+ ...r
12
+ }) => {
13
+ const { dismissible: i, closeButtonAriaLabel: m, onOpenChange: s } = b(), c = p(o[`${a}__row`], t);
14
+ return /* @__PURE__ */ n("div", { className: c, ...r, children: [
15
+ l,
16
+ i && /* @__PURE__ */ e("div", { className: o[`${a}__close-button`], children: /* @__PURE__ */ e(
17
+ f,
18
+ {
19
+ "aria-label": m,
20
+ onClick: () => s == null ? void 0 : s(!1),
21
+ size: "lg"
22
+ }
23
+ ) })
24
+ ] });
25
+ };
26
+ x.displayName = "Panel.Header.Row";
27
+ export {
28
+ x as Row
29
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),n=require("clsx"),u=require("../../../chunks/classNames.DAeKwerT.js");require("../../../chunks/constants.hwjHOsvT.js");const c=require("../../../chunks/panel.module.DbEoAg1J.js"),{subElementClassPrefix:o}=u.getBEMClassNames("panel"),i=`${o}header`,e=({children:s,className:a,...r})=>{const t=n(c.styles[`${i}__subheader`],a);return l.jsx("div",{className:t,...r,children:s})};e.displayName="Panel.Header.Subheader";exports.Subheader=e;
@@ -0,0 +1,11 @@
1
+ import { default as React, ComponentPropsWithoutRef } from 'react';
2
+ export interface PanelHeaderSubheaderProps extends ComponentPropsWithoutRef<'div'> {
3
+ /**
4
+ * Specify the subheader content
5
+ */
6
+ children?: React.ReactNode;
7
+ }
8
+ export declare const Subheader: {
9
+ ({ children, className: _className, ...props }: PanelHeaderSubheaderProps): import("react/jsx-runtime").JSX.Element;
10
+ displayName: string;
11
+ };
@@ -0,0 +1,17 @@
1
+ import { jsx as m } from "react/jsx-runtime";
2
+ import o from "clsx";
3
+ import { g as t } from "../../../chunks/classNames.DNsS4J__.js";
4
+ import "../../../chunks/constants.BBi77pmH.js";
5
+ import { s as l } from "../../../chunks/panel.module.RGiUyC84.js";
6
+ const { subElementClassPrefix: i } = t("panel"), n = `${i}header`, p = ({
7
+ children: s,
8
+ className: e,
9
+ ...a
10
+ }) => {
11
+ const r = o(l[`${n}__subheader`], e);
12
+ return /* @__PURE__ */ m("div", { className: r, ...a, children: s });
13
+ };
14
+ p.displayName = "Panel.Header.Subheader";
15
+ export {
16
+ p as Subheader
17
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),l=require("clsx"),o=require("../../../chunks/classNames.DAeKwerT.js");require("../../../chunks/constants.hwjHOsvT.js");const _=require("../../Divider/Divider.cjs.js"),c=require("./Panel.Header.Row.cjs.js"),d=require("./Panel.Header.ContentBefore.cjs.js"),u=require("./Panel.Header.Heading.cjs.js"),P=require("./Panel.Header.ContentAfter.cjs.js"),b=require("./Panel.Header.Description.cjs.js"),p=require("./Panel.Header.Subheader.cjs.js"),q=require("../../../chunks/panel.module.DbEoAg1J.js"),{subElementClassPrefix:H}=o.getBEMClassNames("panel"),m=`${H}header`,e=({children:n,divider:a=!0,className:i,...t})=>{const s=l(q.styles[m],i);return r.jsxs(r.Fragment,{children:[r.jsx("header",{className:s,...t,children:n}),a&&r.jsx(_.Divider,{})]})};e.displayName="Panel.Header";e.Row=c.Row;e.ContentBefore=d.ContentBefore;e.Heading=u.Heading;e.Description=b.Description;e.ContentAfter=P.ContentAfter;e.Subheader=p.Subheader;exports.Header=e;
@@ -0,0 +1,40 @@
1
+ import { default as React, ComponentPropsWithoutRef } from 'react';
2
+ export interface PanelHeaderProps extends ComponentPropsWithoutRef<'header'> {
3
+ /**
4
+ * Specify the content for the panel header
5
+ */
6
+ children?: React.ReactNode;
7
+ /**
8
+ * Whether to show a divider below the header
9
+ * @default true
10
+ */
11
+ divider?: boolean;
12
+ }
13
+ export declare const Header: {
14
+ ({ children, divider, className: _className, ...props }: PanelHeaderProps): import("react/jsx-runtime").JSX.Element;
15
+ displayName: string;
16
+ Row: {
17
+ ({ children, className: _className, ...props }: import('./Panel.Header.Row').PanelHeaderRowProps): import("react/jsx-runtime").JSX.Element;
18
+ displayName: string;
19
+ };
20
+ ContentBefore: {
21
+ ({ children, className: _className, ...props }: import('./Panel.Header.ContentBefore').PanelHeaderContentBeforeProps): import("react/jsx-runtime").JSX.Element;
22
+ displayName: string;
23
+ };
24
+ Heading: {
25
+ ({ children, className: _className, ...props }: import('./Panel.Header.Heading').PanelHeaderHeadingProps): import("react/jsx-runtime").JSX.Element;
26
+ displayName: string;
27
+ };
28
+ Description: {
29
+ ({ children, className: _className, ...props }: import('./Panel.Header.Description').PanelHeaderDescriptionProps): import("react/jsx-runtime").JSX.Element;
30
+ displayName: string;
31
+ };
32
+ ContentAfter: {
33
+ ({ children, className: _className, ...props }: import('./Panel.Header.ContentAfter').PanelHeaderContentAfterProps): import("react/jsx-runtime").JSX.Element;
34
+ displayName: string;
35
+ };
36
+ Subheader: {
37
+ ({ children, className: _className, ...props }: import('./Panel.Header.Subheader').PanelHeaderSubheaderProps): import("react/jsx-runtime").JSX.Element;
38
+ displayName: string;
39
+ };
40
+ };
@@ -0,0 +1,34 @@
1
+ import { jsxs as i, Fragment as n, jsx as r } from "react/jsx-runtime";
2
+ import p from "clsx";
3
+ import { g as f } from "../../../chunks/classNames.DNsS4J__.js";
4
+ import "../../../chunks/constants.BBi77pmH.js";
5
+ import { Divider as l } from "../../Divider/Divider.es.js";
6
+ import { Row as d } from "./Panel.Header.Row.es.js";
7
+ import { ContentBefore as c } from "./Panel.Header.ContentBefore.es.js";
8
+ import { Heading as C } from "./Panel.Header.Heading.es.js";
9
+ import { ContentAfter as g } from "./Panel.Header.ContentAfter.es.js";
10
+ import { Description as h } from "./Panel.Header.Description.es.js";
11
+ import { Subheader as u } from "./Panel.Header.Subheader.es.js";
12
+ import { s as x } from "../../../chunks/panel.module.RGiUyC84.js";
13
+ const { subElementClassPrefix: b } = f("panel"), H = `${b}header`, e = ({
14
+ children: o,
15
+ divider: t = !0,
16
+ className: m,
17
+ ...s
18
+ }) => {
19
+ const a = p(x[H], m);
20
+ return /* @__PURE__ */ i(n, { children: [
21
+ /* @__PURE__ */ r("header", { className: a, ...s, children: o }),
22
+ t && /* @__PURE__ */ r(l, {})
23
+ ] });
24
+ };
25
+ e.displayName = "Panel.Header";
26
+ e.Row = d;
27
+ e.ContentBefore = c;
28
+ e.Heading = C;
29
+ e.Description = h;
30
+ e.ContentAfter = g;
31
+ e.Subheader = u;
32
+ export {
33
+ e as Header
34
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),m=require("clsx"),q=require("../../../chunks/classNames.DAeKwerT.js");require("../../../chunks/constants.hwjHOsvT.js");const x=require("./Panel.context.cjs.js"),$=require("./Panel.Header.cjs.js"),b=require("./Panel.Body.cjs.js"),N=require("./Panel.Footer.cjs.js"),e=require("../../../chunks/panel.module.DbEoAg1J.js"),{baseClassNamePrefix:s}=q.getBEMClassNames("panel"),l=({children:r,className:o,padding:i="md",onOpenChange:c,open:g,size:n,dismissible:u=!0,closeButtonAriaLabel:_="Close panel",kind:d="inline",position:a,...P})=>{const p=m(e.styles[s],e.styles[`${s}--${d}`],n&&e.styles[`${s}--size-${n}`],e.styles[`${s}--padding-${i}`],a&&e.styles[`${s}--position-${a}`],o),y={dismissible:u,closeButtonAriaLabel:_,onOpenChange:c};return t.jsx(x.PanelContext.Provider,{value:y,children:t.jsx("aside",{className:p,...P,children:r})})};l.displayName="Panel";l.Header=$.Header;l.Body=b.Body;l.Footer=N.Footer;exports.Panel=l;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),n=t.createContext(void 0),o=()=>{const e=t.useContext(n);if(!e)throw new Error("Panel subcomponents must be used within a Panel component");return e};exports.PanelContext=n;exports.usePanelContext=o;
@@ -0,0 +1,16 @@
1
+ export interface PanelContextValue {
2
+ /**
3
+ * Whether to show a dismissible button
4
+ */
5
+ dismissible?: boolean;
6
+ /**
7
+ * Aria label for the dismissible button
8
+ */
9
+ closeButtonAriaLabel?: string;
10
+ /**
11
+ * Callback when panel open state changes
12
+ */
13
+ onOpenChange?: (open: boolean) => void;
14
+ }
15
+ export declare const PanelContext: import('react').Context<PanelContextValue | undefined>;
16
+ export declare const usePanelContext: () => PanelContextValue;
@@ -0,0 +1,11 @@
1
+ import { createContext as e, useContext as n } from "react";
2
+ const o = e(void 0), s = () => {
3
+ const t = n(o);
4
+ if (!t)
5
+ throw new Error("Panel subcomponents must be used within a Panel component");
6
+ return t;
7
+ };
8
+ export {
9
+ o as PanelContext,
10
+ s as usePanelContext
11
+ };
@@ -0,0 +1,45 @@
1
+ import { PanelProps } from './Panel.types';
2
+ export declare const Panel: {
3
+ ({ children, className: _className, padding, onOpenChange, open, size, dismissible, closeButtonAriaLabel, kind, position, ...props }: PanelProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ Header: {
6
+ ({ children, divider, className: _className, ...props }: import('./Panel.Header').PanelHeaderProps): import("react/jsx-runtime").JSX.Element;
7
+ displayName: string;
8
+ Row: {
9
+ ({ children, className: _className, ...props }: import('./Panel.Header.Row').PanelHeaderRowProps): import("react/jsx-runtime").JSX.Element;
10
+ displayName: string;
11
+ };
12
+ ContentBefore: {
13
+ ({ children, className: _className, ...props }: import('./Panel.Header.ContentBefore').PanelHeaderContentBeforeProps): import("react/jsx-runtime").JSX.Element;
14
+ displayName: string;
15
+ };
16
+ Heading: {
17
+ ({ children, className: _className, ...props }: import('./Panel.Header.Heading').PanelHeaderHeadingProps): import("react/jsx-runtime").JSX.Element;
18
+ displayName: string;
19
+ };
20
+ Description: {
21
+ ({ children, className: _className, ...props }: import('./Panel.Header.Description').PanelHeaderDescriptionProps): import("react/jsx-runtime").JSX.Element;
22
+ displayName: string;
23
+ };
24
+ ContentAfter: {
25
+ ({ children, className: _className, ...props }: import('./Panel.Header.ContentAfter').PanelHeaderContentAfterProps): import("react/jsx-runtime").JSX.Element;
26
+ displayName: string;
27
+ };
28
+ Subheader: {
29
+ ({ children, className: _className, ...props }: import('./Panel.Header.Subheader').PanelHeaderSubheaderProps): import("react/jsx-runtime").JSX.Element;
30
+ displayName: string;
31
+ };
32
+ };
33
+ Body: {
34
+ ({ children, className: _className, ...props }: import('./Panel.Body').PanelBodyProps): import("react/jsx-runtime").JSX.Element;
35
+ displayName: string;
36
+ };
37
+ Footer: {
38
+ ({ children, divider, className: _className, ...props }: import('./Panel.Footer').PanelFooterProps): import("react/jsx-runtime").JSX.Element;
39
+ displayName: string;
40
+ Actions: {
41
+ ({ layout, children, className: _className, ...props }: import('./Panel.Footer.Actions').PanelFooterActionsProps): import("react/jsx-runtime").JSX.Element;
42
+ displayName: string;
43
+ };
44
+ };
45
+ };
@@ -0,0 +1,43 @@
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import N from "clsx";
3
+ import { g as P } from "../../../chunks/classNames.DNsS4J__.js";
4
+ import "../../../chunks/constants.BBi77pmH.js";
5
+ import { PanelContext as u } from "./Panel.context.es.js";
6
+ import { Header as y } from "./Panel.Header.es.js";
7
+ import { Body as C } from "./Panel.Body.es.js";
8
+ import { Footer as g } from "./Panel.Footer.es.js";
9
+ import { s as e } from "../../../chunks/panel.module.RGiUyC84.js";
10
+ const { baseClassNamePrefix: o } = P("panel"), r = ({
11
+ children: m,
12
+ className: i,
13
+ padding: l = "md",
14
+ onOpenChange: n,
15
+ open: B,
16
+ size: a,
17
+ dismissible: p = !0,
18
+ closeButtonAriaLabel: d = "Close panel",
19
+ kind: c = "inline",
20
+ position: s,
21
+ ...f
22
+ }) => {
23
+ const $ = N(
24
+ e[o],
25
+ e[`${o}--${c}`],
26
+ a && e[`${o}--size-${a}`],
27
+ e[`${o}--padding-${l}`],
28
+ s && e[`${o}--position-${s}`],
29
+ i
30
+ ), x = {
31
+ dismissible: p,
32
+ closeButtonAriaLabel: d,
33
+ onOpenChange: n
34
+ };
35
+ return /* @__PURE__ */ t(u.Provider, { value: x, children: /* @__PURE__ */ t("aside", { className: $, ...f, children: m }) });
36
+ };
37
+ r.displayName = "Panel";
38
+ r.Header = y;
39
+ r.Body = C;
40
+ r.Footer = g;
41
+ export {
42
+ r as Panel
43
+ };
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1,71 @@
1
+ import { ComponentPropsWithoutRef } from 'react';
2
+ export type PanelKind = 'inline' | 'overlay';
3
+ export type PanelPosition = 'start' | 'end' | 'bottom' | 'full';
4
+ export type PanelModalType = 'nonModal' | 'isModal' | 'alert';
5
+ export type PanelSize = 'sm' | 'md' | 'lg' | 'full' | 'custom';
6
+ export type PanelPadding = 'sm' | 'md';
7
+ interface BasePanelProps extends ComponentPropsWithoutRef<'aside'> {
8
+ /**
9
+ * Specify the content of the Panel
10
+ */
11
+ children: React.ReactNode;
12
+ /**
13
+ * Specify if the Panel is open (controlled)
14
+ */
15
+ open?: boolean;
16
+ /**
17
+ * Callback when Panel open state changes
18
+ */
19
+ onOpenChange?: (open: boolean) => void;
20
+ /**
21
+ * Specify the size of the Panel
22
+ * @default 'md'
23
+ */
24
+ size?: PanelSize;
25
+ /**
26
+ * Specify the horizontal padding
27
+ * sm=1rem, md=1.5rem
28
+ * @default 'md'
29
+ */
30
+ padding?: PanelPadding;
31
+ /**
32
+ * Whether to show a dismissible button
33
+ * @default true
34
+ */
35
+ dismissible?: boolean;
36
+ /**
37
+ * Aria label for the dismissible button
38
+ * @default 'Close panel'
39
+ */
40
+ closeButtonAriaLabel?: string;
41
+ }
42
+ export interface InlinePanelProps extends BasePanelProps {
43
+ /**
44
+ * Specify the Panel as inline
45
+ */
46
+ kind?: 'inline';
47
+ /**
48
+ * Specify the position of the Panel
49
+ * For inline: 'bottom'
50
+ */
51
+ position?: 'bottom';
52
+ }
53
+ export interface OverlayPanelProps extends BasePanelProps {
54
+ /**
55
+ * Specify the Panel as overlay
56
+ */
57
+ kind: 'overlay';
58
+ /**
59
+ * Specify the position of the Panel
60
+ * For overlay: 'start' | 'end' | 'bottom' | 'full'
61
+ * @default 'end'
62
+ */
63
+ position?: PanelPosition;
64
+ /**
65
+ * Specify the modal type (overlay only)
66
+ * @default 'nonModal'
67
+ */
68
+ modalType?: PanelModalType;
69
+ }
70
+ export type PanelProps = InlinePanelProps | OverlayPanelProps;
71
+ export type { PanelHeaderProps } from './Panel.Header';
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Panel.cjs.js");exports.Panel=e.Panel;
@@ -0,0 +1,12 @@
1
+ export { Panel } from './Panel';
2
+ export type { PanelProps, InlinePanelProps, OverlayPanelProps, PanelKind, PanelPosition, PanelModalType, PanelSize, PanelPadding, } from './Panel.types';
3
+ export type { PanelHeaderProps } from './Panel.Header';
4
+ export type { PanelHeaderRowProps } from './Panel.Header.Row';
5
+ export type { PanelHeaderContentBeforeProps } from './Panel.Header.ContentBefore';
6
+ export type { PanelHeaderHeadingProps } from './Panel.Header.Heading';
7
+ export type { PanelHeaderDescriptionProps } from './Panel.Header.Description';
8
+ export type { PanelHeaderContentAfterProps } from './Panel.Header.ContentAfter';
9
+ export type { PanelHeaderSubheaderProps } from './Panel.Header.Subheader';
10
+ export type { PanelBodyProps } from './Panel.Body';
11
+ export type { PanelFooterProps } from './Panel.Footer';
12
+ export type { PanelFooterActionsProps } from './Panel.Footer.Actions';
@@ -0,0 +1,4 @@
1
+ import { Panel as r } from "./Panel.es.js";
2
+ export {
3
+ r as Panel
4
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("react/jsx-runtime");require("react");require("../../../chunks/classNames.DAeKwerT.js");require("../../../chunks/constants.hwjHOsvT.js");require("clsx");const e=require("../../../chunks/Search.Results.Item.Dkh2yo4p.js");require("../../ActionList/ActionList.cjs.js");exports.SearchResultsItem=e.SearchResultsItem;exports.SearchResultsItemComponent=e.SearchResultsItemComponent;exports.default=e.SearchResultsItem;
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ import { ActionListItemProps } from '../../ActionList/ActionList.Item';
3
+ export interface SearchResultsItemProps extends ActionListItemProps {
4
+ children: React.ReactNode;
5
+ }
6
+ export declare const SearchResultsItemComponent: React.ForwardRefExoticComponent<SearchResultsItemProps & React.RefAttributes<HTMLDivElement>>;
7
+ export declare const SearchResultsItem: typeof SearchResultsItemComponent;
8
+ export default SearchResultsItem;
@@ -0,0 +1,12 @@
1
+ import "react/jsx-runtime";
2
+ import "react";
3
+ import "../../../chunks/classNames.DNsS4J__.js";
4
+ import "../../../chunks/constants.BBi77pmH.js";
5
+ import "clsx";
6
+ import { S as i, a as S, S as l } from "../../../chunks/Search.Results.Item.CLmMBPz1.js";
7
+ import "../../ActionList/ActionList.es.js";
8
+ export {
9
+ i as SearchResultsItem,
10
+ S as SearchResultsItemComponent,
11
+ l as default
12
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("react/jsx-runtime"),u=require("../../../chunks/classNames.DAeKwerT.js");require("../../../chunks/constants.hwjHOsvT.js");const i=require("clsx"),s=require("../../../chunks/Search.Results.Item.Dkh2yo4p.js"),o=require("../../ActionList/ActionList.cjs.js"),{baseClassNamePrefix:n}=u.getBEMClassNames("search"),t=({children:r,...c})=>{const a=i.clsx(s.styles[`${n}__results`]);return l.jsx(o.ActionList.Group,{className:a,...c,children:r})},e=t;e.Item=s.SearchResultsItem;e.displayName="Search.Results";exports.SearchResults=e;exports.SearchResultsComponent=t;exports.default=e;
@@ -0,0 +1,12 @@
1
+ import { default as React } from 'react';
2
+ import { default as Item } from './Search.Results.Item';
3
+ import { ActionListGroupProps } from '../../ActionList/ActionList.Group';
4
+ export interface SearchResultsProps extends ActionListGroupProps {
5
+ children?: React.ReactNode;
6
+ noResults?: React.ReactNode;
7
+ }
8
+ export declare const SearchResultsComponent: React.FC<SearchResultsProps>;
9
+ export declare const SearchResults: typeof SearchResultsComponent & {
10
+ Item: typeof Item;
11
+ };
12
+ export default SearchResults;
@@ -0,0 +1,19 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { g as a } from "../../../chunks/classNames.DNsS4J__.js";
3
+ import "../../../chunks/constants.BBi77pmH.js";
4
+ import { clsx as m } from "clsx";
5
+ import { s as c, S as l } from "../../../chunks/Search.Results.Item.CLmMBPz1.js";
6
+ import { ActionList as i } from "../../ActionList/ActionList.es.js";
7
+ const { baseClassNamePrefix: p } = a("search"), n = ({ children: t, ...e }) => {
8
+ const r = m(
9
+ c[`${p}__results`]
10
+ );
11
+ return /* @__PURE__ */ o(i.Group, { className: r, ...e, children: t });
12
+ }, s = n;
13
+ s.Item = l;
14
+ s.displayName = "Search.Results";
15
+ export {
16
+ s as SearchResults,
17
+ n as SearchResultsComponent,
18
+ s as default
19
+ };