@uva-glass/component-library 3.22.0 → 3.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/dist/Button.module-Dlqf6mMD.js +15 -0
  2. package/dist/Button.module-Dlqf6mMD.js.map +1 -0
  3. package/dist/RteEditor.module-B_3uFnFu.js +41 -0
  4. package/dist/RteEditor.module-B_3uFnFu.js.map +1 -0
  5. package/dist/{SelectListbox.module-N3Kg0UvL.js → SelectListbox.module-DHFU0NjU.js} +21 -21
  6. package/dist/SelectListbox.module-DHFU0NjU.js.map +1 -0
  7. package/dist/Sortable.module-CekPNg54.js +23 -0
  8. package/dist/Sortable.module-CekPNg54.js.map +1 -0
  9. package/dist/{SortableProvider-B3_u0pKv.js → SortableProvider-CwX1lFMa.js} +2 -2
  10. package/dist/{SortableProvider-B3_u0pKv.js.map → SortableProvider-CwX1lFMa.js.map} +1 -1
  11. package/dist/{TablePlugin-CrCof8yO.js → TablePlugin-Bj5FObQ_.js} +3 -3
  12. package/dist/{TablePlugin-CrCof8yO.js.map → TablePlugin-Bj5FObQ_.js.map} +1 -1
  13. package/dist/assets/Backdrop.css +1 -1
  14. package/dist/assets/Backdrop2.css +1 -1
  15. package/dist/assets/Button.css +1 -1
  16. package/dist/assets/CheckboxTree.css +1 -1
  17. package/dist/assets/Container.css +1 -1
  18. package/dist/assets/EditorHeader.css +1 -1
  19. package/dist/assets/Flyout.css +1 -1
  20. package/dist/assets/InfoBanner.css +1 -0
  21. package/dist/assets/Input.css +1 -1
  22. package/dist/assets/MultiSelectBox.css +1 -1
  23. package/dist/assets/OverlayStepBar.css +1 -1
  24. package/dist/assets/PageOverlay.css +1 -1
  25. package/dist/assets/RteEditor.css +1 -1
  26. package/dist/assets/SelectListbox.css +1 -1
  27. package/dist/assets/Sortable.css +1 -1
  28. package/dist/assets/StatusBage.css +1 -1
  29. package/dist/assets/TableCellContextMenu.css +1 -1
  30. package/dist/assets/ToggleSwitch.css +1 -1
  31. package/dist/assets/variables.css +75 -52
  32. package/dist/components/Backdrop/Backdrop.js +5 -5
  33. package/dist/components/Buttons/Button.js +1 -1
  34. package/dist/components/Buttons/LinkButton.js +1 -1
  35. package/dist/components/Buttons/MenuButton.js +1 -1
  36. package/dist/components/CheckboxTree/CheckboxTree.js +19 -19
  37. package/dist/components/FormInput/FormInput.js +2 -2
  38. package/dist/components/Icon/icons/index.d.ts +12 -0
  39. package/dist/components/Icon/icons/index.js +179 -169
  40. package/dist/components/Icon/icons/index.js.map +1 -1
  41. package/dist/components/InfoBanner/InfoBanner.d.ts +9 -0
  42. package/dist/components/InfoBanner/InfoBanner.js +12 -0
  43. package/dist/components/InfoBanner/InfoBanner.js.map +1 -0
  44. package/dist/components/InfoBanner/InfoBanner.stories.d.ts +5 -0
  45. package/dist/components/InfoBanner/InfoBanner.stories.js +23 -0
  46. package/dist/components/InfoBanner/InfoBanner.stories.js.map +1 -0
  47. package/dist/components/InfoBanner/index.d.ts +1 -0
  48. package/dist/components/InfoBanner/index.js +5 -0
  49. package/dist/components/InfoBanner/index.js.map +1 -0
  50. package/dist/components/Input/Input.js +16 -16
  51. package/dist/components/InputField/InputField.stories.js +2 -2
  52. package/dist/components/MultiSelect/MultiSelect.js +1 -1
  53. package/dist/components/MultiSelect/MultiSelect.stories.js +1 -1
  54. package/dist/components/MultiSelect/components/MultiSelectHeader.js +2 -2
  55. package/dist/components/MultiSelect/index.js +1 -1
  56. package/dist/components/MultiSelectBox/MultiSelectBox.js +56 -56
  57. package/dist/components/MultiSelectBox/MultiSelectBox.js.map +1 -1
  58. package/dist/components/MultiSelectBox/MultiSelectBox.stories.js.map +1 -1
  59. package/dist/components/MultiSelectBox/MultiSelectBox.test.js.map +1 -1
  60. package/dist/components/OverlayStepBar/OverlayStepBar.js +6 -6
  61. package/dist/components/PageOverlay/PageOverlay.js +26 -26
  62. package/dist/components/PeriodSelector/PeriodSelector.js +2 -2
  63. package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +2 -2
  64. package/dist/components/RadioTabSelector/RadioTabSelector.js +2 -2
  65. package/dist/components/RteEditor/EditorHeader/EditorHeader.js +8 -8
  66. package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js +1 -1
  67. package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +3 -3
  68. package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js +2 -2
  69. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +3 -3
  70. package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js +1 -1
  71. package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js +2 -2
  72. package/dist/components/RteEditor/Plugins/TablePlugin/TableCellContextMenu/TableCellContextMenu.js +20 -20
  73. package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js +3 -3
  74. package/dist/components/RteEditor/Plugins/TablePlugin/index.js +1 -1
  75. package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +2 -2
  76. package/dist/components/RteEditor/Plugins/index.js +1 -1
  77. package/dist/components/RteEditor/RteEditor.js +3 -3
  78. package/dist/components/RteEditor/UvaTheme/UvaTheme.js +1 -1
  79. package/dist/components/RteEditor/hooks/components/Flyout.js +3 -3
  80. package/dist/components/SelectListbox/components/SelectButton.js +1 -1
  81. package/dist/components/SelectListbox/components/SelectContainer.js +1 -1
  82. package/dist/components/SelectListbox/components/SelectOption.js +1 -1
  83. package/dist/components/SelectListbox/components/SelectOptionBox.js +1 -1
  84. package/dist/components/Sortable/Sortable.js +1 -1
  85. package/dist/components/Sortable/SortableProvider.js +1 -1
  86. package/dist/components/Sortable/components/SortableContainer.js +2 -2
  87. package/dist/components/Sortable/components/SortableHandle.js +1 -1
  88. package/dist/components/Sortable/components/SortableItem.js +2 -2
  89. package/dist/components/StatusBadge/StatusBage.js +6 -6
  90. package/dist/components/TextArea/TextArea.d.ts +3 -1
  91. package/dist/components/TextArea/TextArea.js +9 -8
  92. package/dist/components/TextArea/TextArea.js.map +1 -1
  93. package/dist/components/TextArea/TextArea.stories.js +8 -7
  94. package/dist/components/TextArea/TextArea.stories.js.map +1 -1
  95. package/dist/components/ToggleSwitch/ToggleSwitch.js +10 -10
  96. package/dist/components/index.d.ts +1 -0
  97. package/dist/components/index.js +70 -68
  98. package/dist/components/index.js.map +1 -1
  99. package/dist/index.js +70 -68
  100. package/dist/index.js.map +1 -1
  101. package/dist/storyComponents/Container/Container.js +22 -22
  102. package/package.json +6 -6
  103. package/dist/Button.module-BXzi8gZH.js +0 -15
  104. package/dist/Button.module-BXzi8gZH.js.map +0 -1
  105. package/dist/RteEditor.module-45648CA2.js +0 -41
  106. package/dist/RteEditor.module-45648CA2.js.map +0 -1
  107. package/dist/SelectListbox.module-N3Kg0UvL.js.map +0 -1
  108. package/dist/Sortable.module-CuvuQhr8.js +0 -23
  109. package/dist/Sortable.module-CuvuQhr8.js.map +0 -1
@@ -1,10 +1,10 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { c as g } from "../../clsx-OuTLNxxd.js";
3
- import '../../assets/StatusBage.css';const o = "_statusbadge_6tmbw_1", t = {
4
- statusbadge: o,
5
- "statusbadge--high-contrast": "_statusbadge--high-contrast_6tmbw_14"
6
- }, d = ({ label: s, highContrast: a = !1 }) => /* @__PURE__ */ e("div", { className: g(t.statusbadge, [a && t["statusbadge--high-contrast"]]), children: s });
2
+ import { c } from "../../clsx-OuTLNxxd.js";
3
+ import '../../assets/StatusBage.css';const d = "_statusbadge_1dz6c_1", t = {
4
+ statusbadge: d,
5
+ "statusbadge--high-contrast": "_statusbadge--high-contrast_1dz6c_14"
6
+ }, r = ({ label: s, highContrast: a = !1 }) => /* @__PURE__ */ e("div", { className: c(t.statusbadge, [a && t["statusbadge--high-contrast"]]), children: s });
7
7
  export {
8
- d as StatusBadge
8
+ r as StatusBadge
9
9
  };
10
10
  //# sourceMappingURL=StatusBage.js.map
@@ -5,5 +5,7 @@ export interface TextAreaProps {
5
5
  label?: string;
6
6
  /** The max amount of allowed charecters in the text area */
7
7
  maxCharacters?: number;
8
+ /** The default value for the text area */
9
+ defaultValue?: string;
8
10
  }
9
- export declare function TextArea({ onChange, label, maxCharacters }: TextAreaProps): import("react/jsx-runtime").JSX.Element;
11
+ export declare function TextArea({ onChange, label, maxCharacters, defaultValue }: TextAreaProps): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import { jsxs as r, jsx as _ } from "react/jsx-runtime";
2
- import { useRef as u, useState as x } from "react";
3
- import { c as d } from "../../clsx-OuTLNxxd.js";
2
+ import { useRef as x, useState as d } from "react";
3
+ import { c as i } from "../../clsx-OuTLNxxd.js";
4
4
  import '../../assets/TextArea.css';const t = {
5
5
  "text-area__wrapper": "_text-area__wrapper_13728_1",
6
6
  "text-area__header": "_text-area__header_13728_7",
@@ -9,15 +9,15 @@ import '../../assets/TextArea.css';const t = {
9
9
  "text-area__word-count--alert": "_text-area__word-count--alert_13728_25",
10
10
  "text-area": "_text-area_13728_1"
11
11
  };
12
- function m({ onChange: l, label: c, maxCharacters: a = 0 }) {
13
- const e = u(null), [n, o] = x(0), s = () => {
14
- e.current && (e.current.style.height = "auto", e.current.style.height = `${e.current.scrollHeight}px`, o(e.current.value.length), l(e.current.value.trim()));
12
+ function w({ onChange: l, label: c, maxCharacters: a = 0, defaultValue: o = "" }) {
13
+ const e = x(null), [n, s] = d(0), u = () => {
14
+ e.current && (e.current.style.height = "auto", e.current.style.height = `${e.current.scrollHeight}px`, s(e.current.value.length), l(e.current.value.trim()));
15
15
  };
16
16
  return /* @__PURE__ */ r("div", { className: t["text-area__wrapper"], children: [
17
17
  /* @__PURE__ */ r("div", { className: t["text-area__header"], children: [
18
18
  /* @__PURE__ */ _("span", { className: t["text-area__label"], children: c }),
19
19
  a > 0 && /* @__PURE__ */ r("div", { className: t["text-area__word-count"], children: [
20
- /* @__PURE__ */ _("span", { className: d({ [t["text-area__word-count--alert"]]: n === a }), children: n }),
20
+ /* @__PURE__ */ _("span", { className: i({ [t["text-area__word-count--alert"]]: n === a }), children: n }),
21
21
  " / ",
22
22
  a
23
23
  ] })
@@ -28,12 +28,13 @@ function m({ onChange: l, label: c, maxCharacters: a = 0 }) {
28
28
  ref: e,
29
29
  className: t["text-area"],
30
30
  maxLength: a > 0 ? a : void 0,
31
- onInput: s
31
+ onInput: u,
32
+ defaultValue: o
32
33
  }
33
34
  )
34
35
  ] });
35
36
  }
36
37
  export {
37
- m as TextArea
38
+ w as TextArea
38
39
  };
39
40
  //# sourceMappingURL=TextArea.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea.js","sources":["../../../src/components/TextArea/TextArea.tsx"],"sourcesContent":["import { useRef, useState } from 'react';\nimport clsx from 'clsx';\n\nimport styles from './TextArea.module.css';\n\nexport interface TextAreaProps {\n /** Returns entered values as trimmed string */\n onChange: (value: string) => void;\n /** The label for the text area */\n label?: string;\n /** The max amount of allowed charecters in the text area */\n maxCharacters?: number;\n}\n\nexport function TextArea({ onChange, label, maxCharacters = 0 }: TextAreaProps) {\n const textAreaRef = useRef<HTMLTextAreaElement>(null);\n const [characterCount, setCharacterCount] = useState(0);\n\n const handleInput = () => {\n if (textAreaRef.current) {\n textAreaRef.current.style.height = 'auto';\n textAreaRef.current.style.height = `${textAreaRef.current.scrollHeight}px`;\n\n setCharacterCount(textAreaRef.current.value.length);\n onChange(textAreaRef.current.value.trim());\n }\n };\n\n return (\n <div className={styles['text-area__wrapper']}>\n <div className={styles['text-area__header']}>\n <span className={styles['text-area__label']}>{label}</span>\n {maxCharacters > 0 && (\n <div className={styles['text-area__word-count']}>\n <span className={clsx({ [styles['text-area__word-count--alert']]: characterCount === maxCharacters })}>\n {characterCount}\n </span>\n &nbsp;/&nbsp;{maxCharacters}\n </div>\n )}\n </div>\n\n <textarea\n ref={textAreaRef}\n className={styles['text-area']}\n maxLength={maxCharacters > 0 ? maxCharacters : undefined}\n onInput={handleInput}\n />\n </div>\n );\n}\n"],"names":["TextArea","onChange","label","maxCharacters","textAreaRef","useRef","characterCount","setCharacterCount","useState","handleInput","jsxs","styles","jsx","clsx"],"mappings":";;;;;;;;;;;AAcO,SAASA,EAAS,EAAE,UAAAC,GAAU,OAAAC,GAAO,eAAAC,IAAgB,KAAoB;AACxE,QAAAC,IAAcC,EAA4B,IAAI,GAC9C,CAACC,GAAgBC,CAAiB,IAAIC,EAAS,CAAC,GAEhDC,IAAc,MAAM;AACxB,IAAIL,EAAY,YACFA,EAAA,QAAQ,MAAM,SAAS,QACnCA,EAAY,QAAQ,MAAM,SAAS,GAAGA,EAAY,QAAQ,YAAY,MAEpDG,EAAAH,EAAY,QAAQ,MAAM,MAAM,GAClDH,EAASG,EAAY,QAAQ,MAAM,KAAA,CAAM;AAAA,EAE7C;AAEA,SACG,gBAAAM,EAAA,OAAA,EAAI,WAAWC,EAAO,oBAAoB,GACzC,UAAA;AAAA,IAAA,gBAAAD,EAAC,OAAI,EAAA,WAAWC,EAAO,mBAAmB,GACxC,UAAA;AAAA,MAAA,gBAAAC,EAAC,QAAK,EAAA,WAAWD,EAAO,kBAAkB,GAAI,UAAMT,GAAA;AAAA,MACnDC,IAAgB,KACf,gBAAAO,EAAC,SAAI,WAAWC,EAAO,uBAAuB,GAC5C,UAAA;AAAA,QAAA,gBAAAC,EAAC,QAAK,EAAA,WAAWC,EAAK,EAAE,CAACF,EAAO,8BAA8B,CAAC,GAAGL,MAAmBH,EAAc,CAAC,GACjG,UACHG,EAAA,CAAA;AAAA,QAAO;AAAA,QACOH;AAAA,MAAA,EAChB,CAAA;AAAA,IAAA,GAEJ;AAAA,IAEA,gBAAAS;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,KAAKR;AAAA,QACL,WAAWO,EAAO,WAAW;AAAA,QAC7B,WAAWR,IAAgB,IAAIA,IAAgB;AAAA,QAC/C,SAASM;AAAA,MAAA;AAAA,IAAA;AAAA,EACX,GACF;AAEJ;"}
1
+ {"version":3,"file":"TextArea.js","sources":["../../../src/components/TextArea/TextArea.tsx"],"sourcesContent":["import { useRef, useState } from 'react';\nimport clsx from 'clsx';\n\nimport styles from './TextArea.module.css';\n\nexport interface TextAreaProps {\n /** Returns entered values as trimmed string */\n onChange: (value: string) => void;\n /** The label for the text area */\n label?: string;\n /** The max amount of allowed charecters in the text area */\n maxCharacters?: number;\n /** The default value for the text area */\n defaultValue?: string;\n}\n\nexport function TextArea({ onChange, label, maxCharacters = 0, defaultValue = '' }: TextAreaProps) {\n const textAreaRef = useRef<HTMLTextAreaElement>(null);\n const [characterCount, setCharacterCount] = useState(0);\n\n const handleInput = () => {\n if (textAreaRef.current) {\n textAreaRef.current.style.height = 'auto';\n textAreaRef.current.style.height = `${textAreaRef.current.scrollHeight}px`;\n\n setCharacterCount(textAreaRef.current.value.length);\n onChange(textAreaRef.current.value.trim());\n }\n };\n\n return (\n <div className={styles['text-area__wrapper']}>\n <div className={styles['text-area__header']}>\n <span className={styles['text-area__label']}>{label}</span>\n {maxCharacters > 0 && (\n <div className={styles['text-area__word-count']}>\n <span className={clsx({ [styles['text-area__word-count--alert']]: characterCount === maxCharacters })}>\n {characterCount}\n </span>\n &nbsp;/&nbsp;{maxCharacters}\n </div>\n )}\n </div>\n\n <textarea\n ref={textAreaRef}\n className={styles['text-area']}\n maxLength={maxCharacters > 0 ? maxCharacters : undefined}\n onInput={handleInput}\n defaultValue={defaultValue}\n />\n </div>\n );\n}\n"],"names":["TextArea","onChange","label","maxCharacters","defaultValue","textAreaRef","useRef","characterCount","setCharacterCount","useState","handleInput","jsxs","styles","jsx","clsx"],"mappings":";;;;;;;;;;;AAgBgB,SAAAA,EAAS,EAAE,UAAAC,GAAU,OAAAC,GAAO,eAAAC,IAAgB,GAAG,cAAAC,IAAe,MAAqB;AAC3F,QAAAC,IAAcC,EAA4B,IAAI,GAC9C,CAACC,GAAgBC,CAAiB,IAAIC,EAAS,CAAC,GAEhDC,IAAc,MAAM;AACxB,IAAIL,EAAY,YACFA,EAAA,QAAQ,MAAM,SAAS,QACnCA,EAAY,QAAQ,MAAM,SAAS,GAAGA,EAAY,QAAQ,YAAY,MAEpDG,EAAAH,EAAY,QAAQ,MAAM,MAAM,GAClDJ,EAASI,EAAY,QAAQ,MAAM,KAAA,CAAM;AAAA,EAE7C;AAEA,SACG,gBAAAM,EAAA,OAAA,EAAI,WAAWC,EAAO,oBAAoB,GACzC,UAAA;AAAA,IAAA,gBAAAD,EAAC,OAAI,EAAA,WAAWC,EAAO,mBAAmB,GACxC,UAAA;AAAA,MAAA,gBAAAC,EAAC,QAAK,EAAA,WAAWD,EAAO,kBAAkB,GAAI,UAAMV,GAAA;AAAA,MACnDC,IAAgB,KACf,gBAAAQ,EAAC,SAAI,WAAWC,EAAO,uBAAuB,GAC5C,UAAA;AAAA,QAAA,gBAAAC,EAAC,QAAK,EAAA,WAAWC,EAAK,EAAE,CAACF,EAAO,8BAA8B,CAAC,GAAGL,MAAmBJ,EAAc,CAAC,GACjG,UACHI,EAAA,CAAA;AAAA,QAAO;AAAA,QACOJ;AAAA,MAAA,EAChB,CAAA;AAAA,IAAA,GAEJ;AAAA,IAEA,gBAAAU;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,KAAKR;AAAA,QACL,WAAWO,EAAO,WAAW;AAAA,QAC7B,WAAWT,IAAgB,IAAIA,IAAgB;AAAA,QAC/C,SAASO;AAAA,QACT,cAAAN;AAAA,MAAA;AAAA,IAAA;AAAA,EACF,GACF;AAEJ;"}
@@ -1,8 +1,8 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
2
  import { fn as r } from "../../index-Dwqes6RH.js";
3
3
  import { TextArea as e } from "./TextArea.js";
4
- const o = `
5
- <TextArea label={label} maxCharacters={maxCharacters} /> `, x = {
4
+ const l = `
5
+ <TextArea label={label} maxCharacters={maxCharacters} defaultValue={string}/> `, p = {
6
6
  title: "Atoms/TextArea",
7
7
  component: e,
8
8
  argTypes: {
@@ -15,16 +15,17 @@ const o = `
15
15
  },
16
16
  parameters: {
17
17
  inspectComponent: e,
18
- codeString: o
18
+ codeString: l
19
19
  }
20
- }, m = (a) => /* @__PURE__ */ t(e, { ...a }), n = m.bind({});
21
- n.args = {
20
+ }, o = (a) => /* @__PURE__ */ t(e, { ...a }), m = o.bind({});
21
+ m.args = {
22
22
  label: "Sample label",
23
23
  maxCharacters: 140,
24
+ defaultValue: "Sample default value",
24
25
  onChange: r()
25
26
  };
26
27
  export {
27
- n as TextAreaExample,
28
- x as default
28
+ m as TextAreaExample,
29
+ p as default
29
30
  };
30
31
  //# sourceMappingURL=TextArea.stories.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea.stories.js","sources":["../../../src/components/TextArea/TextArea.stories.tsx"],"sourcesContent":["import { fn } from '@storybook/test';\n\nimport type { Meta, StoryFn } from '@storybook/react';\nimport type { TextAreaProps } from './TextArea';\n\nimport { TextArea } from './TextArea';\n\nconst codeString = `\n <TextArea label={label} maxCharacters={maxCharacters} /> `;\n\n// eslint-disable-next-line import/no-default-export\nexport default {\n title: 'Atoms/TextArea',\n component: TextArea,\n argTypes: {\n label: {\n control: 'text',\n },\n maxCharacters: {\n control: 'number',\n },\n },\n parameters: {\n inspectComponent: TextArea,\n codeString: codeString,\n },\n} as Meta<TextAreaProps>;\n\nconst Template: StoryFn<TextAreaProps> = (args) => <TextArea {...args} />;\n\nexport const TextAreaExample = Template.bind({});\nTextAreaExample.args = {\n label: 'Sample label',\n maxCharacters: 140,\n onChange: fn(),\n};\n"],"names":["codeString","TextArea_stories","TextArea","Template","args","jsx","TextAreaExample","fn"],"mappings":";;;AAOA,MAAMA,IAAa;AAAA,8DAIJC,IAAA;AAAA,EACb,OAAO;AAAA,EACP,WAAWC;AAAA,EACX,UAAU;AAAA,IACR,OAAO;AAAA,MACL,SAAS;AAAA,IACX;AAAA,IACA,eAAe;AAAA,MACb,SAAS;AAAA,IAAA;AAAA,EAEb;AAAA,EACA,YAAY;AAAA,IACV,kBAAkBA;AAAA,IAClB,YAAAF;AAAA,EAAA;AAEJ,GAEMG,IAAmC,CAACC,MAAU,gBAAAC,EAAAH,GAAA,EAAU,GAAGE,GAAM,GAE1DE,IAAkBH,EAAS,KAAK,CAAE,CAAA;AAC/CG,EAAgB,OAAO;AAAA,EACrB,OAAO;AAAA,EACP,eAAe;AAAA,EACf,UAAUC,EAAG;AACf;"}
1
+ {"version":3,"file":"TextArea.stories.js","sources":["../../../src/components/TextArea/TextArea.stories.tsx"],"sourcesContent":["import { fn } from '@storybook/test';\n\nimport type { Meta, StoryFn } from '@storybook/react';\nimport type { TextAreaProps } from './TextArea';\n\nimport { TextArea } from './TextArea';\n\nconst codeString = `\n <TextArea label={label} maxCharacters={maxCharacters} defaultValue={string}/> `;\n\n// eslint-disable-next-line import/no-default-export\nexport default {\n title: 'Atoms/TextArea',\n component: TextArea,\n argTypes: {\n label: {\n control: 'text',\n },\n maxCharacters: {\n control: 'number',\n },\n },\n parameters: {\n inspectComponent: TextArea,\n codeString: codeString,\n },\n} as Meta<TextAreaProps>;\n\nconst Template: StoryFn<TextAreaProps> = (args) => <TextArea {...args} />;\n\nexport const TextAreaExample = Template.bind({});\nTextAreaExample.args = {\n label: 'Sample label',\n maxCharacters: 140,\n defaultValue: 'Sample default value',\n onChange: fn(),\n};\n"],"names":["codeString","TextArea_stories","TextArea","Template","args","jsx","TextAreaExample","fn"],"mappings":";;;AAOA,MAAMA,IAAa;AAAA,mFAIJC,IAAA;AAAA,EACb,OAAO;AAAA,EACP,WAAWC;AAAA,EACX,UAAU;AAAA,IACR,OAAO;AAAA,MACL,SAAS;AAAA,IACX;AAAA,IACA,eAAe;AAAA,MACb,SAAS;AAAA,IAAA;AAAA,EAEb;AAAA,EACA,YAAY;AAAA,IACV,kBAAkBA;AAAA,IAClB,YAAAF;AAAA,EAAA;AAEJ,GAEMG,IAAmC,CAACC,MAAU,gBAAAC,EAAAH,GAAA,EAAU,GAAGE,GAAM,GAE1DE,IAAkBH,EAAS,KAAK,CAAE,CAAA;AAC/CG,EAAgB,OAAO;AAAA,EACrB,OAAO;AAAA,EACP,eAAe;AAAA,EACf,cAAc;AAAA,EACd,UAAUC,EAAG;AACf;"}
@@ -1,14 +1,14 @@
1
1
  import { jsx as e, jsxs as _ } from "react/jsx-runtime";
2
2
  import { c as a } from "../../clsx-OuTLNxxd.js";
3
3
  import '../../assets/ToggleSwitch.css';const l = {
4
- "toggle-switch": "_toggle-switch_98blk_1",
5
- "toggle-switch__visible": "_toggle-switch__visible_98blk_9",
6
- "toggle-switch--disabled": "_toggle-switch--disabled_98blk_52",
7
- "toggle-switch--loading": "_toggle-switch--loading_98blk_62",
8
- "toggle-switch--visually-hidden": "_toggle-switch--visually-hidden_98blk_72",
9
- "toggle-switch--disabled-label": "_toggle-switch--disabled-label_98blk_85",
10
- "toggle-switch--loading-cursor": "_toggle-switch--loading-cursor_98blk_89",
11
- "toggle-switch--extra-left-gap": "_toggle-switch--extra-left-gap_98blk_93"
4
+ "toggle-switch": "_toggle-switch_1lmpu_1",
5
+ "toggle-switch__visible": "_toggle-switch__visible_1lmpu_9",
6
+ "toggle-switch--disabled": "_toggle-switch--disabled_1lmpu_54",
7
+ "toggle-switch--loading": "_toggle-switch--loading_1lmpu_64",
8
+ "toggle-switch--visually-hidden": "_toggle-switch--visually-hidden_1lmpu_74",
9
+ "toggle-switch--disabled-label": "_toggle-switch--disabled-label_1lmpu_87",
10
+ "toggle-switch--loading-cursor": "_toggle-switch--loading-cursor_1lmpu_91",
11
+ "toggle-switch--extra-left-gap": "_toggle-switch--extra-left-gap_1lmpu_95"
12
12
  };
13
13
  function n({
14
14
  condition: i,
@@ -17,7 +17,7 @@ function n({
17
17
  }) {
18
18
  return i ? g(t) : t;
19
19
  }
20
- function b({
20
+ function p({
21
21
  label: i,
22
22
  labelPosition: g = "after",
23
23
  labelVisible: t = !0,
@@ -61,6 +61,6 @@ function b({
61
61
  );
62
62
  }
63
63
  export {
64
- b as ToggleSwitch
64
+ p as ToggleSwitch
65
65
  };
66
66
  //# sourceMappingURL=ToggleSwitch.js.map
@@ -24,6 +24,7 @@ export * from './GridRow';
24
24
  export * from './HorizontalList';
25
25
  export * from './Icon';
26
26
  export * from './IconButton';
27
+ export * from './InfoBanner';
27
28
  export * from './InfoMessage';
28
29
  export * from './Input';
29
30
  export * from './InputField';
@@ -8,8 +8,8 @@ import { ButtonGroup as u } from "./ButtonGroup/ButtonGroup.js";
8
8
  import { Button as s } from "./Buttons/Button.js";
9
9
  import { LinkButton as b } from "./Buttons/LinkButton.js";
10
10
  import { MenuButton as k } from "./Buttons/MenuButton.js";
11
- import { Card as M } from "./Card/Card.js";
12
- import { Checkbox as I } from "./Checkbox/Checkbox.js";
11
+ import { Card as I } from "./Card/Card.js";
12
+ import { Checkbox as g } from "./Checkbox/Checkbox.js";
13
13
  import { CheckboxButtonBar as R } from "./CheckboxButtonBar/CheckboxButtonBar.js";
14
14
  import { CheckboxTree as P } from "./CheckboxTree/CheckboxTree.js";
15
15
  import { Chip as y } from "./Chip/Chip.js";
@@ -26,37 +26,38 @@ import { GridRow as Y } from "./GridRow/GridRow.js";
26
26
  import { HorizontalList as _ } from "./HorizontalList/HorizontalList.js";
27
27
  import { Icon as oo } from "./Icon/Icon.js";
28
28
  import { IconButton as to } from "./IconButton/IconButton.js";
29
- import { InfoMessage as po } from "./InfoMessage/InfoMessage.js";
30
- import { Input as mo } from "./Input/Input.js";
31
- import { InputField as ao } from "./InputField/InputField.js";
32
- import { Label as no } from "./Label/Label.js";
33
- import { MenuLink as co } from "./MenuLink/MenuLink.js";
34
- import { MetaDataList as Bo } from "./MetaDataList/MetaDataList.js";
35
- import { ModalDialog as So } from "./ModalDialog/ModalDialog.js";
36
- import { M as Co } from "../TablePlugin-CrCof8yO.js";
37
- import { MultiSelectBox as Fo } from "./MultiSelectBox/MultiSelectBox.js";
38
- import { OverlayCloseButton as go } from "./OverlayCloseButton/OverlayCloseButton.js";
39
- import { OverlayStepBar as Lo } from "./OverlayStepBar/OverlayStepBar.js";
40
- import { PageOverlay as Ao } from "./PageOverlay/PageOverlay.js";
41
- import { Periods as ho } from "./Periods/Periods.js";
42
- import { PeriodSelector as Do } from "./PeriodSelector/PeriodSelector.js";
43
- import { ProgrammeCard as vo } from "./ProgrammeCard/ProgrammeCard.js";
44
- import { RadioButton as Go } from "./RadioButton/RadioButton.js";
45
- import { RadioGroup as Eo } from "./RadioGroup/RadioGroup.js";
46
- import { RadioTabSelector as zo } from "./RadioTabSelector/RadioTabSelector.js";
47
- import { Repeater as Vo } from "./Repeater/Repeater.js";
48
- import { Rte as qo, RteEditor as Jo } from "./RteEditor/RteEditor.js";
49
- import { SectionNotification as Qo } from "./SectionNotification/SectionNotification.js";
50
- import { SelectListbox as Wo } from "./SelectListbox/SelectListbox.js";
51
- import { SelectProvider as Yo, useSelect as Zo } from "./SelectListbox/SelectProvider.js";
52
- import { Sortable as $o } from "./Sortable/Sortable.js";
53
- import { Spinner as rr } from "./Spinner/Spinner.js";
54
- import { StatusBadge as er } from "./StatusBadge/StatusBage.js";
55
- import { StatusPill as xr } from "./StatusPill/StatusPill.js";
56
- import { TextArea as fr } from "./TextArea/TextArea.js";
57
- import { ToggleSwitch as ir } from "./ToggleSwitch/ToggleSwitch.js";
58
- import { Tooltip as lr } from "./Tooltip/Tooltip.js";
59
- import { VarIndicator as dr } from "./VarIndicator/VarIndicator.js";
29
+ import { InfoBanner as po } from "./InfoBanner/InfoBanner.js";
30
+ import { InfoMessage as mo } from "./InfoMessage/InfoMessage.js";
31
+ import { Input as ao } from "./Input/Input.js";
32
+ import { InputField as no } from "./InputField/InputField.js";
33
+ import { Label as co } from "./Label/Label.js";
34
+ import { MenuLink as Bo } from "./MenuLink/MenuLink.js";
35
+ import { MetaDataList as So } from "./MetaDataList/MetaDataList.js";
36
+ import { ModalDialog as Co } from "./ModalDialog/ModalDialog.js";
37
+ import { M as Fo } from "../TablePlugin-Bj5FObQ_.js";
38
+ import { MultiSelectBox as Mo } from "./MultiSelectBox/MultiSelectBox.js";
39
+ import { OverlayCloseButton as Lo } from "./OverlayCloseButton/OverlayCloseButton.js";
40
+ import { OverlayStepBar as Ao } from "./OverlayStepBar/OverlayStepBar.js";
41
+ import { PageOverlay as ho } from "./PageOverlay/PageOverlay.js";
42
+ import { Periods as Do } from "./Periods/Periods.js";
43
+ import { PeriodSelector as vo } from "./PeriodSelector/PeriodSelector.js";
44
+ import { ProgrammeCard as Go } from "./ProgrammeCard/ProgrammeCard.js";
45
+ import { RadioButton as Eo } from "./RadioButton/RadioButton.js";
46
+ import { RadioGroup as zo } from "./RadioGroup/RadioGroup.js";
47
+ import { RadioTabSelector as Vo } from "./RadioTabSelector/RadioTabSelector.js";
48
+ import { Repeater as qo } from "./Repeater/Repeater.js";
49
+ import { Rte as Ko, RteEditor as Qo } from "./RteEditor/RteEditor.js";
50
+ import { SectionNotification as Wo } from "./SectionNotification/SectionNotification.js";
51
+ import { SelectListbox as Yo } from "./SelectListbox/SelectListbox.js";
52
+ import { SelectProvider as _o, useSelect as $o } from "./SelectListbox/SelectProvider.js";
53
+ import { Sortable as rr } from "./Sortable/Sortable.js";
54
+ import { Spinner as er } from "./Spinner/Spinner.js";
55
+ import { StatusBadge as xr } from "./StatusBadge/StatusBage.js";
56
+ import { StatusPill as fr } from "./StatusPill/StatusPill.js";
57
+ import { TextArea as ir } from "./TextArea/TextArea.js";
58
+ import { ToggleSwitch as lr } from "./ToggleSwitch/ToggleSwitch.js";
59
+ import { Tooltip as dr } from "./Tooltip/Tooltip.js";
60
+ import { VarIndicator as Br } from "./VarIndicator/VarIndicator.js";
60
61
  export {
61
62
  t as Accordion,
62
63
  p as AccordionCard,
@@ -66,8 +67,8 @@ export {
66
67
  c as Backdrop,
67
68
  s as Button,
68
69
  u as ButtonGroup,
69
- M as Card,
70
- I as Checkbox,
70
+ I as Card,
71
+ g as Checkbox,
71
72
  R as CheckboxButtonBar,
72
73
  P as CheckboxTree,
73
74
  y as Chip,
@@ -84,40 +85,41 @@ export {
84
85
  _ as HorizontalList,
85
86
  oo as Icon,
86
87
  to as IconButton,
87
- po as InfoMessage,
88
- mo as Input,
89
- ao as InputField,
90
- no as Label,
88
+ po as InfoBanner,
89
+ mo as InfoMessage,
90
+ ao as Input,
91
+ no as InputField,
92
+ co as Label,
91
93
  b as LinkButton,
92
94
  k as MenuButton,
93
- co as MenuLink,
94
- Bo as MetaDataList,
95
- So as ModalDialog,
96
- Co as MultiSelect,
97
- Fo as MultiSelectBox,
98
- go as OverlayCloseButton,
99
- Lo as OverlayStepBar,
100
- Ao as PageOverlay,
101
- Do as PeriodSelector,
102
- ho as Periods,
103
- vo as ProgrammeCard,
104
- Go as RadioButton,
105
- Eo as RadioGroup,
106
- zo as RadioTabSelector,
107
- Vo as Repeater,
108
- qo as Rte,
109
- Jo as RteEditor,
110
- Qo as SectionNotification,
111
- Wo as SelectListbox,
112
- Yo as SelectProvider,
113
- $o as Sortable,
114
- rr as Spinner,
115
- er as StatusBadge,
116
- xr as StatusPill,
117
- fr as TextArea,
118
- ir as ToggleSwitch,
119
- lr as Tooltip,
120
- dr as VarIndicator,
121
- Zo as useSelect
95
+ Bo as MenuLink,
96
+ So as MetaDataList,
97
+ Co as ModalDialog,
98
+ Fo as MultiSelect,
99
+ Mo as MultiSelectBox,
100
+ Lo as OverlayCloseButton,
101
+ Ao as OverlayStepBar,
102
+ ho as PageOverlay,
103
+ vo as PeriodSelector,
104
+ Do as Periods,
105
+ Go as ProgrammeCard,
106
+ Eo as RadioButton,
107
+ zo as RadioGroup,
108
+ Vo as RadioTabSelector,
109
+ qo as Repeater,
110
+ Ko as Rte,
111
+ Qo as RteEditor,
112
+ Wo as SectionNotification,
113
+ Yo as SelectListbox,
114
+ _o as SelectProvider,
115
+ rr as Sortable,
116
+ er as Spinner,
117
+ xr as StatusBadge,
118
+ fr as StatusPill,
119
+ ir as TextArea,
120
+ lr as ToggleSwitch,
121
+ dr as Tooltip,
122
+ Br as VarIndicator,
123
+ $o as useSelect
122
124
  };
123
125
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index.js CHANGED
@@ -8,8 +8,8 @@ import { ButtonGroup as u } from "./components/ButtonGroup/ButtonGroup.js";
8
8
  import { Button as s } from "./components/Buttons/Button.js";
9
9
  import { LinkButton as b } from "./components/Buttons/LinkButton.js";
10
10
  import { MenuButton as k } from "./components/Buttons/MenuButton.js";
11
- import { Card as M } from "./components/Card/Card.js";
12
- import { Checkbox as I } from "./components/Checkbox/Checkbox.js";
11
+ import { Card as I } from "./components/Card/Card.js";
12
+ import { Checkbox as g } from "./components/Checkbox/Checkbox.js";
13
13
  import { CheckboxButtonBar as R } from "./components/CheckboxButtonBar/CheckboxButtonBar.js";
14
14
  import { CheckboxTree as P } from "./components/CheckboxTree/CheckboxTree.js";
15
15
  import { Chip as y } from "./components/Chip/Chip.js";
@@ -26,37 +26,38 @@ import { GridRow as Y } from "./components/GridRow/GridRow.js";
26
26
  import { HorizontalList as _ } from "./components/HorizontalList/HorizontalList.js";
27
27
  import { Icon as oo } from "./components/Icon/Icon.js";
28
28
  import { IconButton as to } from "./components/IconButton/IconButton.js";
29
- import { InfoMessage as po } from "./components/InfoMessage/InfoMessage.js";
30
- import { Input as mo } from "./components/Input/Input.js";
31
- import { InputField as ao } from "./components/InputField/InputField.js";
32
- import { Label as no } from "./components/Label/Label.js";
33
- import { MenuLink as co } from "./components/MenuLink/MenuLink.js";
34
- import { MetaDataList as Bo } from "./components/MetaDataList/MetaDataList.js";
35
- import { ModalDialog as So } from "./components/ModalDialog/ModalDialog.js";
36
- import { M as Co } from "./TablePlugin-CrCof8yO.js";
37
- import { MultiSelectBox as Fo } from "./components/MultiSelectBox/MultiSelectBox.js";
38
- import { OverlayCloseButton as go } from "./components/OverlayCloseButton/OverlayCloseButton.js";
39
- import { OverlayStepBar as Lo } from "./components/OverlayStepBar/OverlayStepBar.js";
40
- import { PageOverlay as Ao } from "./components/PageOverlay/PageOverlay.js";
41
- import { Periods as ho } from "./components/Periods/Periods.js";
42
- import { PeriodSelector as Do } from "./components/PeriodSelector/PeriodSelector.js";
43
- import { ProgrammeCard as vo } from "./components/ProgrammeCard/ProgrammeCard.js";
44
- import { RadioButton as Go } from "./components/RadioButton/RadioButton.js";
45
- import { RadioGroup as Eo } from "./components/RadioGroup/RadioGroup.js";
46
- import { RadioTabSelector as zo } from "./components/RadioTabSelector/RadioTabSelector.js";
47
- import { Repeater as Vo } from "./components/Repeater/Repeater.js";
48
- import { Rte as qo, RteEditor as Jo } from "./components/RteEditor/RteEditor.js";
49
- import { SectionNotification as Qo } from "./components/SectionNotification/SectionNotification.js";
50
- import { SelectListbox as Wo } from "./components/SelectListbox/SelectListbox.js";
51
- import { SelectProvider as Yo, useSelect as Zo } from "./components/SelectListbox/SelectProvider.js";
52
- import { Sortable as $o } from "./components/Sortable/Sortable.js";
53
- import { Spinner as rr } from "./components/Spinner/Spinner.js";
54
- import { StatusBadge as er } from "./components/StatusBadge/StatusBage.js";
55
- import { StatusPill as xr } from "./components/StatusPill/StatusPill.js";
56
- import { TextArea as fr } from "./components/TextArea/TextArea.js";
57
- import { ToggleSwitch as ir } from "./components/ToggleSwitch/ToggleSwitch.js";
58
- import { Tooltip as lr } from "./components/Tooltip/Tooltip.js";
59
- import { VarIndicator as dr } from "./components/VarIndicator/VarIndicator.js";
29
+ import { InfoBanner as po } from "./components/InfoBanner/InfoBanner.js";
30
+ import { InfoMessage as mo } from "./components/InfoMessage/InfoMessage.js";
31
+ import { Input as ao } from "./components/Input/Input.js";
32
+ import { InputField as no } from "./components/InputField/InputField.js";
33
+ import { Label as co } from "./components/Label/Label.js";
34
+ import { MenuLink as Bo } from "./components/MenuLink/MenuLink.js";
35
+ import { MetaDataList as So } from "./components/MetaDataList/MetaDataList.js";
36
+ import { ModalDialog as Co } from "./components/ModalDialog/ModalDialog.js";
37
+ import { M as Fo } from "./TablePlugin-Bj5FObQ_.js";
38
+ import { MultiSelectBox as Mo } from "./components/MultiSelectBox/MultiSelectBox.js";
39
+ import { OverlayCloseButton as Lo } from "./components/OverlayCloseButton/OverlayCloseButton.js";
40
+ import { OverlayStepBar as Ao } from "./components/OverlayStepBar/OverlayStepBar.js";
41
+ import { PageOverlay as ho } from "./components/PageOverlay/PageOverlay.js";
42
+ import { Periods as Do } from "./components/Periods/Periods.js";
43
+ import { PeriodSelector as vo } from "./components/PeriodSelector/PeriodSelector.js";
44
+ import { ProgrammeCard as Go } from "./components/ProgrammeCard/ProgrammeCard.js";
45
+ import { RadioButton as Eo } from "./components/RadioButton/RadioButton.js";
46
+ import { RadioGroup as zo } from "./components/RadioGroup/RadioGroup.js";
47
+ import { RadioTabSelector as Vo } from "./components/RadioTabSelector/RadioTabSelector.js";
48
+ import { Repeater as qo } from "./components/Repeater/Repeater.js";
49
+ import { Rte as Ko, RteEditor as Qo } from "./components/RteEditor/RteEditor.js";
50
+ import { SectionNotification as Wo } from "./components/SectionNotification/SectionNotification.js";
51
+ import { SelectListbox as Yo } from "./components/SelectListbox/SelectListbox.js";
52
+ import { SelectProvider as _o, useSelect as $o } from "./components/SelectListbox/SelectProvider.js";
53
+ import { Sortable as rr } from "./components/Sortable/Sortable.js";
54
+ import { Spinner as er } from "./components/Spinner/Spinner.js";
55
+ import { StatusBadge as xr } from "./components/StatusBadge/StatusBage.js";
56
+ import { StatusPill as fr } from "./components/StatusPill/StatusPill.js";
57
+ import { TextArea as ir } from "./components/TextArea/TextArea.js";
58
+ import { ToggleSwitch as lr } from "./components/ToggleSwitch/ToggleSwitch.js";
59
+ import { Tooltip as dr } from "./components/Tooltip/Tooltip.js";
60
+ import { VarIndicator as Br } from "./components/VarIndicator/VarIndicator.js";
60
61
  export {
61
62
  t as Accordion,
62
63
  p as AccordionCard,
@@ -66,8 +67,8 @@ export {
66
67
  c as Backdrop,
67
68
  s as Button,
68
69
  u as ButtonGroup,
69
- M as Card,
70
- I as Checkbox,
70
+ I as Card,
71
+ g as Checkbox,
71
72
  R as CheckboxButtonBar,
72
73
  P as CheckboxTree,
73
74
  y as Chip,
@@ -84,40 +85,41 @@ export {
84
85
  _ as HorizontalList,
85
86
  oo as Icon,
86
87
  to as IconButton,
87
- po as InfoMessage,
88
- mo as Input,
89
- ao as InputField,
90
- no as Label,
88
+ po as InfoBanner,
89
+ mo as InfoMessage,
90
+ ao as Input,
91
+ no as InputField,
92
+ co as Label,
91
93
  b as LinkButton,
92
94
  k as MenuButton,
93
- co as MenuLink,
94
- Bo as MetaDataList,
95
- So as ModalDialog,
96
- Co as MultiSelect,
97
- Fo as MultiSelectBox,
98
- go as OverlayCloseButton,
99
- Lo as OverlayStepBar,
100
- Ao as PageOverlay,
101
- Do as PeriodSelector,
102
- ho as Periods,
103
- vo as ProgrammeCard,
104
- Go as RadioButton,
105
- Eo as RadioGroup,
106
- zo as RadioTabSelector,
107
- Vo as Repeater,
108
- qo as Rte,
109
- Jo as RteEditor,
110
- Qo as SectionNotification,
111
- Wo as SelectListbox,
112
- Yo as SelectProvider,
113
- $o as Sortable,
114
- rr as Spinner,
115
- er as StatusBadge,
116
- xr as StatusPill,
117
- fr as TextArea,
118
- ir as ToggleSwitch,
119
- lr as Tooltip,
120
- dr as VarIndicator,
121
- Zo as useSelect
95
+ Bo as MenuLink,
96
+ So as MetaDataList,
97
+ Co as ModalDialog,
98
+ Fo as MultiSelect,
99
+ Mo as MultiSelectBox,
100
+ Lo as OverlayCloseButton,
101
+ Ao as OverlayStepBar,
102
+ ho as PageOverlay,
103
+ vo as PeriodSelector,
104
+ Do as Periods,
105
+ Go as ProgrammeCard,
106
+ Eo as RadioButton,
107
+ zo as RadioGroup,
108
+ Vo as RadioTabSelector,
109
+ qo as Repeater,
110
+ Ko as Rte,
111
+ Qo as RteEditor,
112
+ Wo as SectionNotification,
113
+ Yo as SelectListbox,
114
+ _o as SelectProvider,
115
+ rr as Sortable,
116
+ er as Spinner,
117
+ xr as StatusBadge,
118
+ fr as StatusPill,
119
+ ir as TextArea,
120
+ lr as ToggleSwitch,
121
+ dr as Tooltip,
122
+ Br as VarIndicator,
123
+ $o as useSelect
122
124
  };
123
125
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,23 +1,23 @@
1
- import { jsxs as i, Fragment as l, jsx as t } from "react/jsx-runtime";
1
+ import { jsxs as c, Fragment as l, jsx as r } from "react/jsx-runtime";
2
2
  import { c as d } from "../../clsx-OuTLNxxd.js";
3
- import '../../assets/Container.css';const _ = "_container_cgawq_1", n = {
3
+ import '../../assets/Container.css';const _ = "_container_1fwsz_1", n = {
4
4
  container: _,
5
- "container--padded": "_container--padded_cgawq_8",
6
- "container--small": "_container--small_cgawq_12",
7
- "container--medium": "_container--medium_cgawq_17",
8
- "container--large": "_container--large_cgawq_22",
9
- "container--large-full-height": "_container--large-full-height_cgawq_27",
10
- "container--hidden": "_container--hidden_cgawq_31",
11
- "container--centered-content": "_container--centered-content_cgawq_35"
12
- }, s = ({
13
- children: r,
5
+ "container--padded": "_container--padded_1fwsz_8",
6
+ "container--small": "_container--small_1fwsz_12",
7
+ "container--medium": "_container--medium_1fwsz_17",
8
+ "container--large": "_container--large_1fwsz_22",
9
+ "container--large-full-height": "_container--large-full-height_1fwsz_27",
10
+ "container--hidden": "_container--hidden_1fwsz_31",
11
+ "container--centered-content": "_container--centered-content_1fwsz_35"
12
+ }, h = ({
13
+ children: a,
14
14
  size: e = "medium",
15
- centerContent: c = !1,
16
- visible: o = !0,
17
- padded: a = !0
18
- }) => /* @__PURE__ */ i(l, { children: [
19
- /* @__PURE__ */ t("label", { htmlFor: "container", children: a ? "Storybook container with 1rem padding" : "Storybook container" }),
20
- /* @__PURE__ */ t(
15
+ centerContent: o = !1,
16
+ visible: i = !0,
17
+ padded: t = !0
18
+ }) => /* @__PURE__ */ c(l, { children: [
19
+ /* @__PURE__ */ r("label", { htmlFor: "container", children: t ? "Storybook container with 1rem padding" : "Storybook container" }),
20
+ /* @__PURE__ */ r(
21
21
  "div",
22
22
  {
23
23
  id: "container",
@@ -26,15 +26,15 @@ import '../../assets/Container.css';const _ = "_container_cgawq_1", n = {
26
26
  [n["container--medium"]]: e === "medium",
27
27
  [n["container--large"]]: e === "large",
28
28
  [n["container--large-full-height"]]: e === "large-full-height",
29
- [n["container--padded"]]: a,
30
- [n["container--centered-content"]]: c,
31
- [n["container--hidden"]]: !o
29
+ [n["container--padded"]]: t,
30
+ [n["container--centered-content"]]: o,
31
+ [n["container--hidden"]]: !i
32
32
  }),
33
- children: r
33
+ children: a
34
34
  }
35
35
  )
36
36
  ] });
37
37
  export {
38
- s as Container
38
+ h as Container
39
39
  };
40
40
  //# sourceMappingURL=Container.js.map