@uva-glass/component-library 3.28.0 → 3.28.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.
@@ -1 +1 @@
1
- ._checkbox-button-bar__container_u7fv0_1{display:flex;flex-wrap:wrap}._checkbox-button-bar__container--label-left_u7fv0_6{align-items:baseline;flex-direction:row;gap:1rem}._checkbox-button-bar__container--label-top_u7fv0_12{align-items:flex-start;flex-direction:column;gap:.5rem}._checkbox-button-bar__row-container_u7fv0_18{display:flex;flex-direction:column;gap:.5rem}._checkbox-button-bar__row_u7fv0_18{align-items:center;background-color:var(--new-color-uva-white);border:1px solid var(--new-color-grey-700);border-radius:.5rem;display:flex;flex-wrap:nowrap;gap:.25rem;padding:.25rem}._checkbox-button-bar__row--not-validated_u7fv0_35{border-color:var(--new-color-red-600)}._checkbox-button-bar__footer_u7fv0_39{color:var(--new-color-grey-700);font-size:var(--font-size-text-non-essential)}
1
+ ._checkbox-button-bar__container_15680_1{display:grid;gap:.5rem;grid-template-columns:1fr;grid-template-rows:auto auto auto;width:fit-content}._checkbox-button-bar__container--label-left_15680_9{grid-template-columns:auto 1fr;grid-template-rows:auto auto}._checkbox-button-bar__label_15680_14{align-self:center;grid-column:1;grid-row:1}._checkbox-button-bar__bar_15680_20{grid-column:1;grid-row:2}._checkbox-button-bar__bar--label-left_15680_25{grid-column:2;grid-row:1}._checkbox-button-bar__footer_15680_30{color:var(--new-color-grey-700);font-size:var(--font-size-text-non-essential);grid-column:1;grid-row:3}._checkbox-button-bar__footer--label-left_15680_37{grid-column:2;grid-row:2}._checkbox-button-bar__row_15680_42{align-items:center;background-color:var(--new-color-uva-white);border:1px solid var(--new-color-grey-700);border-radius:.5rem;display:flex;flex-wrap:nowrap;gap:.25rem;padding:.25rem;width:fit-content}._checkbox-button-bar__row--not-validated_15680_54{border-color:var(--new-color-red-600)}
@@ -1,71 +1,88 @@
1
- import { jsxs as u, jsx as c } from "react/jsx-runtime";
2
- import { useState as N } from "react";
3
- import { c as k } from "../../clsx-OuTLNxxd.js";
1
+ import { jsxs as i, jsx as t } from "react/jsx-runtime";
2
+ import { useState as C } from "react";
3
+ import { c as r } from "../../clsx-OuTLNxxd.js";
4
4
  import { Label as g } from "../Label/Label.js";
5
5
  import { FeedbackBox as S } from "../FeedbackBox/FeedbackBox.js";
6
6
  import { ControlsButton as j } from "../ControlsButton/ControlsButton.js";
7
- import '../../assets/CheckboxButtonBar.css';const t = {
8
- "checkbox-button-bar__container": "_checkbox-button-bar__container_u7fv0_1",
9
- "checkbox-button-bar__container--label-left": "_checkbox-button-bar__container--label-left_u7fv0_6",
10
- "checkbox-button-bar__container--label-top": "_checkbox-button-bar__container--label-top_u7fv0_12",
11
- "checkbox-button-bar__row-container": "_checkbox-button-bar__row-container_u7fv0_18",
12
- "checkbox-button-bar__row": "_checkbox-button-bar__row_u7fv0_18",
13
- "checkbox-button-bar__row--not-validated": "_checkbox-button-bar__row--not-validated_u7fv0_35",
14
- "checkbox-button-bar__footer": "_checkbox-button-bar__footer_u7fv0_39"
7
+ import '../../assets/CheckboxButtonBar.css';const e = {
8
+ "checkbox-button-bar__container": "_checkbox-button-bar__container_15680_1",
9
+ "checkbox-button-bar__container--label-left": "_checkbox-button-bar__container--label-left_15680_9",
10
+ "checkbox-button-bar__label": "_checkbox-button-bar__label_15680_14",
11
+ "checkbox-button-bar__bar": "_checkbox-button-bar__bar_15680_20",
12
+ "checkbox-button-bar__bar--label-left": "_checkbox-button-bar__bar--label-left_15680_25",
13
+ "checkbox-button-bar__footer": "_checkbox-button-bar__footer_15680_30",
14
+ "checkbox-button-bar__footer--label-left": "_checkbox-button-bar__footer--label-left_15680_37",
15
+ "checkbox-button-bar__row": "_checkbox-button-bar__row_15680_42",
16
+ "checkbox-button-bar__row--not-validated": "_checkbox-button-bar__row--not-validated_15680_54"
15
17
  }, B = ({
16
- checkboxes: x,
17
- defaultValues: r,
18
- label: a,
19
- labelPosition: f = "top",
18
+ checkboxes: u,
19
+ defaultValues: c,
20
+ label: h,
21
+ labelPosition: _ = "top",
20
22
  required: m = !1,
21
23
  notValidated: d = !1,
22
- notValidatedText: b = "",
23
- actAsRadioButtonBar: n = !1,
24
- footerText: l = "",
24
+ notValidatedText: a = "",
25
+ actAsRadioButtonBar: l = !1,
26
+ footerText: k = "",
25
27
  disableGroup: p = !1,
26
- onSetValues: i
28
+ onSetValues: x
27
29
  }) => {
28
- const [h, s] = N(
29
- r && !n ? r.map(String) : r && n ? r.slice(0, 1) : []
30
- ), v = (e) => {
31
- let o = h;
32
- n ? (s([e]), i([e])) : (o.includes(e) ? o = o.filter((_) => _ !== e) : o = [...o, e], s(o), i(o));
30
+ const [s, f] = C(
31
+ c && !l ? c.map(String) : c && l ? c.slice(0, 1) : []
32
+ ), v = (o) => {
33
+ let b = s;
34
+ l ? (f([o]), x([o])) : (b.includes(o) ? b = b.filter((n) => n !== o) : b = [...b, o], f(b), x(b));
33
35
  };
34
- return /* @__PURE__ */ u(
36
+ return /* @__PURE__ */ i(
35
37
  "div",
36
38
  {
37
- className: k(
38
- t["checkbox-button-bar__container"],
39
- t[`checkbox-button-bar__container--label-${f}`]
40
- ),
39
+ className: r(e["checkbox-button-bar__container"], [
40
+ _ === "left" && e["checkbox-button-bar__container--label-left"]
41
+ ]),
41
42
  children: [
42
- a && /* @__PURE__ */ c(g, { htmlFor: "", required: m, children: a }),
43
- /* @__PURE__ */ u("div", { className: t["checkbox-button-bar__row-container"], children: [
44
- /* @__PURE__ */ c(
45
- "div",
46
- {
47
- className: k(t["checkbox-button-bar__row"], {
48
- [t["checkbox-button-bar__row--not-validated"]]: d || b
49
- }),
50
- children: x.map(({ label: e, value: o, prefix: _, disabled: w }) => /* @__PURE__ */ c(
51
- j,
52
- {
53
- type: "checkbox",
54
- label: e,
55
- prefix: _,
56
- forceSquared: !0,
57
- value: o,
58
- checked: h.includes(o),
59
- disabled: w || p,
60
- onSetValue: (C) => v(C.target.value)
61
- },
62
- `${o}`
63
- ))
64
- }
65
- ),
66
- l && /* @__PURE__ */ c("div", { className: t["checkbox-button-bar__footer"], children: l }),
67
- b !== "" && /* @__PURE__ */ c(S, { level: "error", feedback: b })
68
- ] })
43
+ /* @__PURE__ */ t("div", { className: e["checkbox-button-bar__label"], children: h && /* @__PURE__ */ t(g, { htmlFor: "", required: m, children: h }) }),
44
+ /* @__PURE__ */ t(
45
+ "div",
46
+ {
47
+ className: r(e["checkbox-button-bar__bar"], [
48
+ _ === "left" && e["checkbox-button-bar__bar--label-left"]
49
+ ]),
50
+ children: /* @__PURE__ */ t(
51
+ "div",
52
+ {
53
+ className: r(e["checkbox-button-bar__row"], {
54
+ [e["checkbox-button-bar__row--not-validated"]]: d || a
55
+ }),
56
+ children: u.map(({ label: o, value: b, prefix: n, disabled: w }) => /* @__PURE__ */ t(
57
+ j,
58
+ {
59
+ type: "checkbox",
60
+ label: o,
61
+ prefix: n,
62
+ forceSquared: !0,
63
+ value: b,
64
+ checked: s.includes(b),
65
+ disabled: w || p,
66
+ onSetValue: (N) => v(N.target.value)
67
+ },
68
+ `${b}`
69
+ ))
70
+ }
71
+ )
72
+ }
73
+ ),
74
+ /* @__PURE__ */ i(
75
+ "div",
76
+ {
77
+ className: r(e["checkbox-button-bar__footer"], [
78
+ _ === "left" && e["checkbox-button-bar__footer--label-left"]
79
+ ]),
80
+ children: [
81
+ k && /* @__PURE__ */ t("div", { className: e["checkbox-button-bar__footer"], children: k }),
82
+ a !== "" && /* @__PURE__ */ t(S, { level: "error", feedback: a })
83
+ ]
84
+ }
85
+ )
69
86
  ]
70
87
  }
71
88
  );
@@ -1 +1 @@
1
- {"version":3,"file":"CheckboxButtonBar.js","sources":["../../../src/components/CheckboxButtonBar/CheckboxButtonBar.tsx"],"sourcesContent":["import { useState } from 'react';\nimport clsx from 'clsx';\n\nimport styles from './CheckboxButtonBar.module.css';\n\nimport { Label } from 'components/Label';\nimport { FeedbackBox } from 'components/FeedbackBox';\nimport { ControlsButton } from 'components/ControlsButton';\n\ntype CheckboxProps = {\n label: string;\n value: string;\n prefix?: string;\n disabled?: boolean;\n};\n\nexport interface CheckboxButtonBarProps {\n /** array with objects with label, value, prefix and disabled*/\n checkboxes: CheckboxProps[];\n //** array with value(s) */\n defaultValues?: string[];\n label?: string;\n /** 'top' | 'left' */\n labelPosition?: 'top' | 'left';\n /** `true` to show an asterisk to indicate an item is required; otherwise, `false`. */\n required?: boolean;\n /** `true` to color border red to show missing in validation; otherwise, `false`. */\n notValidated?: boolean;\n /** error text to display under the bar */\n notValidatedText?: string;\n /** returns an array with only one value */\n actAsRadioButtonBar?: boolean;\n /** optional footer text */\n footerText?: string;\n /** disables all checkboxes in the bar */\n disableGroup?: boolean;\n onSetValues: (value: string[]) => void;\n}\n\nexport const CheckboxButtonBar = ({\n checkboxes,\n defaultValues,\n label,\n labelPosition = 'top',\n required = false,\n notValidated = false,\n notValidatedText = '',\n actAsRadioButtonBar = false,\n footerText = '',\n disableGroup = false,\n onSetValues,\n}: CheckboxButtonBarProps) => {\n const [currentValues, setCurrentValues] = useState<string[]>(\n defaultValues && !actAsRadioButtonBar\n ? defaultValues.map(String)\n : defaultValues && actAsRadioButtonBar\n ? defaultValues.slice(0, 1)\n : []\n );\n\n const handleChange = (value: string) => {\n let values = currentValues;\n\n if (actAsRadioButtonBar) {\n setCurrentValues([value]);\n onSetValues([value]);\n } else {\n if (values.includes(value)) {\n values = values.filter((val) => val !== value);\n } else {\n values = [...values, value];\n }\n setCurrentValues(values);\n onSetValues(values);\n }\n };\n\n return (\n <div\n className={clsx(\n styles['checkbox-button-bar__container'],\n styles[`checkbox-button-bar__container--label-${labelPosition}`]\n )}\n >\n {label && (\n <Label htmlFor=\"\" required={required}>\n {label}\n </Label>\n )}\n <div className={styles['checkbox-button-bar__row-container']}>\n <div\n className={clsx(styles['checkbox-button-bar__row'], {\n [styles['checkbox-button-bar__row--not-validated']]: notValidated || notValidatedText,\n })}\n >\n {checkboxes.map(({ label, value, prefix, disabled }) => (\n <ControlsButton\n key={`${value}`}\n type=\"checkbox\"\n label={label}\n prefix={prefix}\n forceSquared={true}\n value={value}\n checked={currentValues.includes(value)}\n disabled={disabled || disableGroup}\n onSetValue={(event) => handleChange(event.target.value)}\n />\n ))}\n </div>\n {footerText && <div className={styles['checkbox-button-bar__footer']}>{footerText}</div>}\n {notValidatedText !== '' && <FeedbackBox level=\"error\" feedback={notValidatedText} />}\n </div>\n </div>\n );\n};\n"],"names":["CheckboxButtonBar","checkboxes","defaultValues","label","labelPosition","required","notValidated","notValidatedText","actAsRadioButtonBar","footerText","disableGroup","onSetValues","currentValues","setCurrentValues","useState","handleChange","value","values","val","jsxs","clsx","styles","jsx","Label","prefix","disabled","ControlsButton","event","FeedbackBox"],"mappings":";;;;;;;;;;;;;;GAuCaA,IAAoB,CAAC;AAAA,EAChC,YAAAC;AAAA,EACA,eAAAC;AAAA,EACA,OAAAC;AAAA,EACA,eAAAC,IAAgB;AAAA,EAChB,UAAAC,IAAW;AAAA,EACX,cAAAC,IAAe;AAAA,EACf,kBAAAC,IAAmB;AAAA,EACnB,qBAAAC,IAAsB;AAAA,EACtB,YAAAC,IAAa;AAAA,EACb,cAAAC,IAAe;AAAA,EACf,aAAAC;AACF,MAA8B;AACtB,QAAA,CAACC,GAAeC,CAAgB,IAAIC;AAAA,IACxCZ,KAAiB,CAACM,IACdN,EAAc,IAAI,MAAM,IACxBA,KAAiBM,IACfN,EAAc,MAAM,GAAG,CAAC,IACxB,CAAA;AAAA,EACR,GAEMa,IAAe,CAACC,MAAkB;AACtC,QAAIC,IAASL;AAEb,IAAIJ,KACeK,EAAA,CAACG,CAAK,CAAC,GACZL,EAAA,CAACK,CAAK,CAAC,MAEfC,EAAO,SAASD,CAAK,IACvBC,IAASA,EAAO,OAAO,CAACC,MAAQA,MAAQF,CAAK,IAEpCC,IAAA,CAAC,GAAGA,GAAQD,CAAK,GAE5BH,EAAiBI,CAAM,GACvBN,EAAYM,CAAM;AAAA,EAEtB;AAGE,SAAA,gBAAAE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAWC;AAAA,QACTC,EAAO,gCAAgC;AAAA,QACvCA,EAAO,yCAAyCjB,CAAa,EAAE;AAAA,MACjE;AAAA,MAEC,UAAA;AAAA,QAAAD,KACE,gBAAAmB,EAAAC,GAAA,EAAM,SAAQ,IAAG,UAAAlB,GACf,UACHF,GAAA;AAAA,QAED,gBAAAgB,EAAA,OAAA,EAAI,WAAWE,EAAO,oCAAoC,GACzD,UAAA;AAAA,UAAA,gBAAAC;AAAA,YAAC;AAAA,YAAA;AAAA,cACC,WAAWF,EAAKC,EAAO,0BAA0B,GAAG;AAAA,gBAClD,CAACA,EAAO,yCAAyC,CAAC,GAAGf,KAAgBC;AAAA,cAAA,CACtE;AAAA,cAEA,UAAAN,EAAW,IAAI,CAAC,EAAE,OAAAE,GAAO,OAAAa,GAAO,QAAAQ,GAAQ,UAAAC,EAAA,MACvC,gBAAAH;AAAA,gBAACI;AAAA,gBAAA;AAAA,kBAEC,MAAK;AAAA,kBACL,OAAOvB;AAAAA,kBACP,QAAAqB;AAAA,kBACA,cAAc;AAAA,kBACd,OAAAR;AAAA,kBACA,SAASJ,EAAc,SAASI,CAAK;AAAA,kBACrC,UAAUS,KAAYf;AAAA,kBACtB,YAAY,CAACiB,MAAUZ,EAAaY,EAAM,OAAO,KAAK;AAAA,gBAAA;AAAA,gBARjD,GAAGX,CAAK;AAAA,cAUhB,CAAA;AAAA,YAAA;AAAA,UACH;AAAA,UACCP,KAAe,gBAAAa,EAAA,OAAA,EAAI,WAAWD,EAAO,6BAA6B,GAAI,UAAWZ,GAAA;AAAA,UACjFF,MAAqB,MAAM,gBAAAe,EAACM,KAAY,OAAM,SAAQ,UAAUrB,EAAkB,CAAA;AAAA,QAAA,EACrF,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EACF;AAEJ;"}
1
+ {"version":3,"file":"CheckboxButtonBar.js","sources":["../../../src/components/CheckboxButtonBar/CheckboxButtonBar.tsx"],"sourcesContent":["import { useState } from 'react';\nimport clsx from 'clsx';\n\nimport styles from './CheckboxButtonBar.module.css';\n\nimport { Label } from 'components/Label';\nimport { FeedbackBox } from 'components/FeedbackBox';\nimport { ControlsButton } from 'components/ControlsButton';\n\ntype CheckboxProps = {\n label: string;\n value: string;\n prefix?: string;\n disabled?: boolean;\n};\n\nexport interface CheckboxButtonBarProps {\n /** array with objects with label, value, prefix and disabled*/\n checkboxes: CheckboxProps[];\n //** array with value(s) */\n defaultValues?: string[];\n label?: string;\n /** 'top' | 'left' */\n labelPosition?: 'top' | 'left';\n /** `true` to show an asterisk to indicate an item is required; otherwise, `false`. */\n required?: boolean;\n /** `true` to color border red to show missing in validation; otherwise, `false`. */\n notValidated?: boolean;\n /** error text to display under the bar */\n notValidatedText?: string;\n /** returns an array with only one value */\n actAsRadioButtonBar?: boolean;\n /** optional footer text */\n footerText?: string;\n /** disables all checkboxes in the bar */\n disableGroup?: boolean;\n onSetValues: (value: string[]) => void;\n}\n\nexport const CheckboxButtonBar = ({\n checkboxes,\n defaultValues,\n label,\n labelPosition = 'top',\n required = false,\n notValidated = false,\n notValidatedText = '',\n actAsRadioButtonBar = false,\n footerText = '',\n disableGroup = false,\n onSetValues,\n}: CheckboxButtonBarProps) => {\n const [currentValues, setCurrentValues] = useState<string[]>(\n defaultValues && !actAsRadioButtonBar\n ? defaultValues.map(String)\n : defaultValues && actAsRadioButtonBar\n ? defaultValues.slice(0, 1)\n : []\n );\n\n const handleChange = (value: string) => {\n let values = currentValues;\n\n if (actAsRadioButtonBar) {\n setCurrentValues([value]);\n onSetValues([value]);\n } else {\n if (values.includes(value)) {\n values = values.filter((val) => val !== value);\n } else {\n values = [...values, value];\n }\n setCurrentValues(values);\n onSetValues(values);\n }\n };\n\n return (\n <div\n className={clsx(styles['checkbox-button-bar__container'], [\n labelPosition === 'left' && styles['checkbox-button-bar__container--label-left'],\n ])}\n >\n <div className={styles['checkbox-button-bar__label']}>\n {label && (\n <Label htmlFor=\"\" required={required}>\n {label}\n </Label>\n )}\n </div>\n <div\n className={clsx(styles['checkbox-button-bar__bar'], [\n labelPosition === 'left' && styles['checkbox-button-bar__bar--label-left'],\n ])}\n >\n <div\n className={clsx(styles['checkbox-button-bar__row'], {\n [styles['checkbox-button-bar__row--not-validated']]: notValidated || notValidatedText,\n })}\n >\n {checkboxes.map(({ label, value, prefix, disabled }) => (\n <ControlsButton\n key={`${value}`}\n type=\"checkbox\"\n label={label}\n prefix={prefix}\n forceSquared={true}\n value={value}\n checked={currentValues.includes(value)}\n disabled={disabled || disableGroup}\n onSetValue={(event) => handleChange(event.target.value)}\n />\n ))}\n </div>\n </div>\n <div\n className={clsx(styles['checkbox-button-bar__footer'], [\n labelPosition === 'left' && styles['checkbox-button-bar__footer--label-left'],\n ])}\n >\n {footerText && <div className={styles['checkbox-button-bar__footer']}>{footerText}</div>}\n {notValidatedText !== '' && <FeedbackBox level=\"error\" feedback={notValidatedText} />}\n </div>\n </div>\n );\n};\n"],"names":["CheckboxButtonBar","checkboxes","defaultValues","label","labelPosition","required","notValidated","notValidatedText","actAsRadioButtonBar","footerText","disableGroup","onSetValues","currentValues","setCurrentValues","useState","handleChange","value","values","val","jsxs","clsx","styles","jsx","Label","prefix","disabled","ControlsButton","event","FeedbackBox"],"mappings":";;;;;;;;;;;;;;;;GAuCaA,IAAoB,CAAC;AAAA,EAChC,YAAAC;AAAA,EACA,eAAAC;AAAA,EACA,OAAAC;AAAA,EACA,eAAAC,IAAgB;AAAA,EAChB,UAAAC,IAAW;AAAA,EACX,cAAAC,IAAe;AAAA,EACf,kBAAAC,IAAmB;AAAA,EACnB,qBAAAC,IAAsB;AAAA,EACtB,YAAAC,IAAa;AAAA,EACb,cAAAC,IAAe;AAAA,EACf,aAAAC;AACF,MAA8B;AACtB,QAAA,CAACC,GAAeC,CAAgB,IAAIC;AAAA,IACxCZ,KAAiB,CAACM,IACdN,EAAc,IAAI,MAAM,IACxBA,KAAiBM,IACfN,EAAc,MAAM,GAAG,CAAC,IACxB,CAAA;AAAA,EACR,GAEMa,IAAe,CAACC,MAAkB;AACtC,QAAIC,IAASL;AAEb,IAAIJ,KACeK,EAAA,CAACG,CAAK,CAAC,GACZL,EAAA,CAACK,CAAK,CAAC,MAEfC,EAAO,SAASD,CAAK,IACvBC,IAASA,EAAO,OAAO,CAACC,MAAQA,MAAQF,CAAK,IAEpCC,IAAA,CAAC,GAAGA,GAAQD,CAAK,GAE5BH,EAAiBI,CAAM,GACvBN,EAAYM,CAAM;AAAA,EAEtB;AAGE,SAAA,gBAAAE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAWC,EAAKC,EAAO,gCAAgC,GAAG;AAAA,QACxDjB,MAAkB,UAAUiB,EAAO,4CAA4C;AAAA,MAAA,CAChF;AAAA,MAED,UAAA;AAAA,QAAA,gBAAAC,EAAC,OAAI,EAAA,WAAWD,EAAO,4BAA4B,GAChD,UAAAlB,KACE,gBAAAmB,EAAAC,GAAA,EAAM,SAAQ,IAAG,UAAAlB,GACf,UAAAF,EACH,CAAA,GAEJ;AAAA,QACA,gBAAAmB;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,WAAWF,EAAKC,EAAO,0BAA0B,GAAG;AAAA,cAClDjB,MAAkB,UAAUiB,EAAO,sCAAsC;AAAA,YAAA,CAC1E;AAAA,YAED,UAAA,gBAAAC;AAAA,cAAC;AAAA,cAAA;AAAA,gBACC,WAAWF,EAAKC,EAAO,0BAA0B,GAAG;AAAA,kBAClD,CAACA,EAAO,yCAAyC,CAAC,GAAGf,KAAgBC;AAAA,gBAAA,CACtE;AAAA,gBAEA,UAAAN,EAAW,IAAI,CAAC,EAAE,OAAAE,GAAO,OAAAa,GAAO,QAAAQ,GAAQ,UAAAC,EAAA,MACvC,gBAAAH;AAAA,kBAACI;AAAA,kBAAA;AAAA,oBAEC,MAAK;AAAA,oBACL,OAAOvB;AAAAA,oBACP,QAAAqB;AAAA,oBACA,cAAc;AAAA,oBACd,OAAAR;AAAA,oBACA,SAASJ,EAAc,SAASI,CAAK;AAAA,oBACrC,UAAUS,KAAYf;AAAA,oBACtB,YAAY,CAACiB,MAAUZ,EAAaY,EAAM,OAAO,KAAK;AAAA,kBAAA;AAAA,kBARjD,GAAGX,CAAK;AAAA,gBAUhB,CAAA;AAAA,cAAA;AAAA,YAAA;AAAA,UACH;AAAA,QACF;AAAA,QACA,gBAAAG;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,WAAWC,EAAKC,EAAO,6BAA6B,GAAG;AAAA,cACrDjB,MAAkB,UAAUiB,EAAO,yCAAyC;AAAA,YAAA,CAC7E;AAAA,YAEA,UAAA;AAAA,cAAAZ,uBAAe,OAAI,EAAA,WAAWY,EAAO,6BAA6B,GAAI,UAAWZ,GAAA;AAAA,cACjFF,MAAqB,MAAM,gBAAAe,EAACM,KAAY,OAAM,SAAQ,UAAUrB,EAAkB,CAAA;AAAA,YAAA;AAAA,UAAA;AAAA,QAAA;AAAA,MACrF;AAAA,IAAA;AAAA,EACF;AAEJ;"}
@@ -315,7 +315,7 @@ const n = ({
315
315
  title: l,
316
316
  titleId: C,
317
317
  ...t
318
- }) => /* @__PURE__ */ e.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": C, ...t }, l ? /* @__PURE__ */ e.createElement("title", { id: C }, l) : null, /* @__PURE__ */ e.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M19.875 2.99976C19.5766 2.99976 19.2904 3.11831 19.0793 3.32933L17.9225 4.48685L19.5135 6.07784L20.6707 4.92067C20.8817 4.70965 21.0002 4.42344 21.0002 4.125C21.0002 3.82657 20.8817 3.54036 20.6707 3.32933C20.4596 3.11831 20.1734 2.99976 19.875 2.99976ZM18.4528 7.1385L16.862 5.54763L8.46049 13.9482C8.46042 13.9482 8.46055 13.9481 8.46049 13.9482C8.02028 14.3887 7.69653 14.9321 7.51882 15.529L7.11471 16.8853L8.47084 16.4812C9.06774 16.3035 9.61113 15.9799 10.0517 15.5397C10.0516 15.5397 10.0517 15.5396 10.0517 15.5397L18.4528 7.1385ZM18.0185 2.26883C18.5108 1.7765 19.1787 1.49976 19.875 1.49976C20.5713 1.49976 21.239 1.77634 21.7313 2.26867C22.2237 2.761 22.5002 3.42874 22.5002 4.125C22.5002 4.82126 22.2237 5.489 21.7313 5.98133L11.1123 16.6003C10.4956 17.2167 9.73486 17.6699 8.89916 17.9188C8.89911 17.9188 8.89921 17.9188 8.89916 17.9188L6.21416 18.7188C5.95022 18.7974 5.66441 18.7251 5.46967 18.5303C5.27493 18.3356 5.20259 18.0498 5.28123 17.7858L6.08118 15.101C6.08117 15.101 6.0812 15.1009 6.08118 15.101C6.33002 14.2653 6.78313 13.5046 7.39951 12.8878L18.0185 2.26883ZM5.25 6.75C4.85218 6.75 4.47064 6.90804 4.18934 7.18934C3.90804 7.47065 3.75 7.85218 3.75 8.25V18.75C3.75 19.1478 3.90804 19.5294 4.18934 19.8107C4.47064 20.092 4.85218 20.25 5.25 20.25H15.75C16.1478 20.25 16.5294 20.092 16.8107 19.8107C17.092 19.5294 17.25 19.1478 17.25 18.75V14C17.25 13.5858 17.5858 13.25 18 13.25C18.4142 13.25 18.75 13.5858 18.75 14V18.75C18.75 19.5457 18.4339 20.3087 17.8713 20.8713C17.3087 21.4339 16.5456 21.75 15.75 21.75H5.25C4.45435 21.75 3.69129 21.4339 3.12868 20.8713C2.56607 20.3087 2.25 19.5457 2.25 18.75V8.25C2.25 7.45435 2.56607 6.69129 3.12868 6.12868C3.69129 5.56607 4.45435 5.25 5.25 5.25H10C10.4142 5.25 10.75 5.58579 10.75 6C10.75 6.41422 10.4142 6.75 10 6.75H5.25Z", fill: "currentcolor" })), S1 = ({
318
+ }) => /* @__PURE__ */ e.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": C, ...t }, l ? /* @__PURE__ */ e.createElement("title", { id: C }, l) : null, /* @__PURE__ */ e.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M18 1.93945L22.0607 6.00011L12.0607 16.0001H8V11.9395L18 1.93945ZM9.5 12.5608V14.5001H11.4393L19.9393 6.00011L18 4.06077L9.5 12.5608ZM3 3.00011H12V4.50011H4.5V19.5001H19.5V12.0001H21V21.0001H3V3.00011Z", fill: "currentColor" })), S1 = ({
319
319
  title: l,
320
320
  titleId: C,
321
321
  ...t