@frontify/fondue-components 27.0.1 → 29.0.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.
- package/dist/fondue-components.js +62 -56
- package/dist/fondue-components.js.map +1 -1
- package/dist/fondue-components10.js +1 -1
- package/dist/fondue-components100.js +23 -6
- package/dist/fondue-components100.js.map +1 -1
- package/dist/fondue-components101.js +34 -12
- package/dist/fondue-components101.js.map +1 -1
- package/dist/fondue-components102.js +10 -70
- package/dist/fondue-components102.js.map +1 -1
- package/dist/fondue-components103.js +67 -14
- package/dist/fondue-components103.js.map +1 -1
- package/dist/fondue-components104.js +15 -7
- package/dist/fondue-components104.js.map +1 -1
- package/dist/fondue-components105.js +25 -88
- package/dist/fondue-components105.js.map +1 -1
- package/dist/fondue-components106.js +18 -80
- package/dist/fondue-components106.js.map +1 -1
- package/dist/fondue-components107.js +24 -30
- package/dist/fondue-components107.js.map +1 -1
- package/dist/fondue-components108.js +8 -20
- package/dist/fondue-components108.js.map +1 -1
- package/dist/fondue-components109.js +30 -39
- package/dist/fondue-components109.js.map +1 -1
- package/dist/fondue-components11.js +3 -3
- package/dist/fondue-components110.js +10 -0
- package/dist/fondue-components110.js.map +1 -0
- package/dist/fondue-components111.js +8 -0
- package/dist/fondue-components111.js.map +1 -0
- package/dist/fondue-components112.js +8 -0
- package/dist/fondue-components112.js.map +1 -0
- package/dist/fondue-components113.js +20 -0
- package/dist/fondue-components113.js.map +1 -0
- package/dist/fondue-components114.js +17 -0
- package/dist/fondue-components114.js.map +1 -0
- package/dist/fondue-components115.js +18 -0
- package/dist/fondue-components115.js.map +1 -0
- package/dist/fondue-components116.js +114 -0
- package/dist/fondue-components116.js.map +1 -0
- package/dist/fondue-components117.js +16 -0
- package/dist/fondue-components117.js.map +1 -0
- package/dist/fondue-components118.js +20 -0
- package/dist/fondue-components118.js.map +1 -0
- package/dist/fondue-components119.js +16 -0
- package/dist/fondue-components119.js.map +1 -0
- package/dist/fondue-components12.js +7 -37
- package/dist/fondue-components12.js.map +1 -1
- package/dist/fondue-components120.js +130 -0
- package/dist/fondue-components120.js.map +1 -0
- package/dist/fondue-components121.js +14 -0
- package/dist/fondue-components121.js.map +1 -0
- package/dist/fondue-components122.js +39 -0
- package/dist/fondue-components122.js.map +1 -0
- package/dist/fondue-components123.js +220 -0
- package/dist/fondue-components123.js.map +1 -0
- package/dist/fondue-components124.js +22 -0
- package/dist/fondue-components124.js.map +1 -0
- package/dist/fondue-components125.js +20 -0
- package/dist/fondue-components125.js.map +1 -0
- package/dist/fondue-components126.js +154 -0
- package/dist/fondue-components126.js.map +1 -0
- package/dist/fondue-components127.js +48 -0
- package/dist/fondue-components127.js.map +1 -0
- package/dist/fondue-components128.js +173 -0
- package/dist/fondue-components128.js.map +1 -0
- package/dist/fondue-components129.js +63 -0
- package/dist/fondue-components129.js.map +1 -0
- package/dist/fondue-components13.js +59 -118
- package/dist/fondue-components13.js.map +1 -1
- package/dist/fondue-components130.js +12 -0
- package/dist/fondue-components130.js.map +1 -0
- package/dist/fondue-components131.js +259 -0
- package/dist/fondue-components131.js.map +1 -0
- package/dist/fondue-components132.js +32 -0
- package/dist/fondue-components132.js.map +1 -0
- package/dist/fondue-components134.js +44 -0
- package/dist/fondue-components134.js.map +1 -0
- package/dist/fondue-components135.js +9 -0
- package/dist/fondue-components135.js.map +1 -0
- package/dist/fondue-components136.js +15 -0
- package/dist/fondue-components136.js.map +1 -0
- package/dist/fondue-components137.js +74 -0
- package/dist/fondue-components137.js.map +1 -0
- package/dist/fondue-components138.js +18 -0
- package/dist/fondue-components138.js.map +1 -0
- package/dist/fondue-components139.js +10 -0
- package/dist/fondue-components139.js.map +1 -0
- package/dist/fondue-components14.js +21 -21
- package/dist/fondue-components14.js.map +1 -1
- package/dist/fondue-components140.js +92 -0
- package/dist/fondue-components140.js.map +1 -0
- package/dist/fondue-components141.js +84 -0
- package/dist/fondue-components141.js.map +1 -0
- package/dist/fondue-components142.js +34 -0
- package/dist/fondue-components142.js.map +1 -0
- package/dist/fondue-components143.js +22 -0
- package/dist/fondue-components143.js.map +1 -0
- package/dist/fondue-components144.js +73 -0
- package/dist/fondue-components144.js.map +1 -0
- package/dist/fondue-components145.js +1355 -0
- package/dist/fondue-components145.js.map +1 -0
- package/dist/fondue-components146.js +944 -0
- package/dist/fondue-components146.js.map +1 -0
- package/dist/fondue-components147.js +201 -0
- package/dist/fondue-components147.js.map +1 -0
- package/dist/fondue-components148.js +24 -0
- package/dist/fondue-components148.js.map +1 -0
- package/dist/fondue-components149.js +43 -0
- package/dist/fondue-components149.js.map +1 -0
- package/dist/fondue-components15.js +121 -45
- package/dist/fondue-components15.js.map +1 -1
- package/dist/fondue-components150.js +71 -0
- package/dist/fondue-components150.js.map +1 -0
- package/dist/fondue-components151.js +34 -0
- package/dist/fondue-components151.js.map +1 -0
- package/dist/fondue-components152.js +12 -0
- package/dist/fondue-components152.js.map +1 -0
- package/dist/fondue-components153.js +156 -0
- package/dist/fondue-components153.js.map +1 -0
- package/dist/fondue-components154.js +111 -0
- package/dist/fondue-components154.js.map +1 -0
- package/dist/fondue-components155.js +19 -0
- package/dist/fondue-components155.js.map +1 -0
- package/dist/fondue-components156.js +19 -0
- package/dist/fondue-components156.js.map +1 -0
- package/dist/fondue-components157.js +32 -0
- package/dist/fondue-components157.js.map +1 -0
- package/dist/fondue-components158.js +16 -0
- package/dist/fondue-components158.js.map +1 -0
- package/dist/fondue-components159.js +10 -0
- package/dist/fondue-components159.js.map +1 -0
- package/dist/fondue-components16.js +35 -41
- package/dist/fondue-components16.js.map +1 -1
- package/dist/fondue-components17.js +44 -56
- package/dist/fondue-components17.js.map +1 -1
- package/dist/fondue-components18.js +40 -41
- package/dist/fondue-components18.js.map +1 -1
- package/dist/fondue-components19.js +56 -19
- package/dist/fondue-components19.js.map +1 -1
- package/dist/fondue-components20.js +42 -45
- package/dist/fondue-components20.js.map +1 -1
- package/dist/fondue-components21.js +18 -71
- package/dist/fondue-components21.js.map +1 -1
- package/dist/fondue-components22.js +46 -17
- package/dist/fondue-components22.js.map +1 -1
- package/dist/fondue-components23.js +68 -75
- package/dist/fondue-components23.js.map +1 -1
- package/dist/fondue-components24.js +70 -32
- package/dist/fondue-components24.js.map +1 -1
- package/dist/fondue-components25.js +17 -54
- package/dist/fondue-components25.js.map +1 -1
- package/dist/fondue-components26.js +77 -23
- package/dist/fondue-components26.js.map +1 -1
- package/dist/fondue-components27.js +34 -53
- package/dist/fondue-components27.js.map +1 -1
- package/dist/fondue-components28.js +52 -97
- package/dist/fondue-components28.js.map +1 -1
- package/dist/fondue-components29.js +23 -33
- package/dist/fondue-components29.js.map +1 -1
- package/dist/fondue-components3.js +1 -1
- package/dist/fondue-components30.js +52 -193
- package/dist/fondue-components30.js.map +1 -1
- package/dist/fondue-components31.js +89 -135
- package/dist/fondue-components31.js.map +1 -1
- package/dist/fondue-components32.js +30 -130
- package/dist/fondue-components32.js.map +1 -1
- package/dist/fondue-components33.js +191 -27
- package/dist/fondue-components33.js.map +1 -1
- package/dist/fondue-components34.js +144 -79
- package/dist/fondue-components34.js.map +1 -1
- package/dist/fondue-components35.js +125 -116
- package/dist/fondue-components35.js.map +1 -1
- package/dist/fondue-components36.js +32 -37
- package/dist/fondue-components36.js.map +1 -1
- package/dist/fondue-components37.js +77 -52
- package/dist/fondue-components37.js.map +1 -1
- package/dist/fondue-components38.js +123 -20
- package/dist/fondue-components38.js.map +1 -1
- package/dist/fondue-components39.js +34 -21
- package/dist/fondue-components39.js.map +1 -1
- package/dist/fondue-components4.js +3 -3
- package/dist/fondue-components40.js +56 -7
- package/dist/fondue-components40.js.map +1 -1
- package/dist/fondue-components41.js +20 -8
- package/dist/fondue-components41.js.map +1 -1
- package/dist/fondue-components42.js +26 -41
- package/dist/fondue-components42.js.map +1 -1
- package/dist/fondue-components43.js +7 -4
- package/dist/fondue-components43.js.map +1 -1
- package/dist/fondue-components44.js +8 -4
- package/dist/fondue-components44.js.map +1 -1
- package/dist/fondue-components45.js +41 -13
- package/dist/fondue-components45.js.map +1 -1
- package/dist/fondue-components46.js +5 -32
- package/dist/fondue-components46.js.map +1 -1
- package/dist/fondue-components47.js +4 -53
- package/dist/fondue-components47.js.map +1 -1
- package/dist/fondue-components48.js +12 -130
- package/dist/fondue-components48.js.map +1 -1
- package/dist/fondue-components49.js +32 -21
- package/dist/fondue-components49.js.map +1 -1
- package/dist/fondue-components5.js +2 -2
- package/dist/fondue-components50.js +54 -53
- package/dist/fondue-components50.js.map +1 -1
- package/dist/fondue-components51.js +130 -7
- package/dist/fondue-components51.js.map +1 -1
- package/dist/fondue-components52.js +21 -13
- package/dist/fondue-components52.js.map +1 -1
- package/dist/fondue-components53.js +53 -17
- package/dist/fondue-components53.js.map +1 -1
- package/dist/fondue-components54.js +7 -4
- package/dist/fondue-components54.js.map +1 -1
- package/dist/fondue-components55.js +13 -18
- package/dist/fondue-components55.js.map +1 -1
- package/dist/fondue-components56.js +16 -18
- package/dist/fondue-components56.js.map +1 -1
- package/dist/fondue-components57.js +1 -1
- package/dist/fondue-components58.js +18 -13
- package/dist/fondue-components58.js.map +1 -1
- package/dist/fondue-components59.js +18 -4
- package/dist/fondue-components59.js.map +1 -1
- package/dist/fondue-components6.js +1 -1
- package/dist/fondue-components60.js +43 -17
- package/dist/fondue-components60.js.map +1 -1
- package/dist/fondue-components61.js +24 -10
- package/dist/fondue-components61.js.map +1 -1
- package/dist/fondue-components62.js +22 -36
- package/dist/fondue-components62.js.map +1 -1
- package/dist/fondue-components63.js +6 -6
- package/dist/fondue-components64.js +1 -1
- package/dist/fondue-components65.js +10 -10
- package/dist/fondue-components66.js +3 -7
- package/dist/fondue-components66.js.map +1 -1
- package/dist/fondue-components67.js +16 -11
- package/dist/fondue-components67.js.map +1 -1
- package/dist/fondue-components68.js +10 -4
- package/dist/fondue-components68.js.map +1 -1
- package/dist/fondue-components69.js +36 -24
- package/dist/fondue-components69.js.map +1 -1
- package/dist/fondue-components7.js +1 -1
- package/dist/fondue-components70.js +6 -16
- package/dist/fondue-components70.js.map +1 -1
- package/dist/fondue-components71.js +5 -20
- package/dist/fondue-components71.js.map +1 -1
- package/dist/fondue-components72.js +13 -20
- package/dist/fondue-components72.js.map +1 -1
- package/dist/fondue-components73.js +52 -20
- package/dist/fondue-components73.js.map +1 -1
- package/dist/fondue-components74.js +44 -20
- package/dist/fondue-components74.js.map +1 -1
- package/dist/fondue-components75.js +6 -19
- package/dist/fondue-components75.js.map +1 -1
- package/dist/fondue-components76.js +6 -8
- package/dist/fondue-components76.js.map +1 -1
- package/dist/fondue-components77.js +13 -11
- package/dist/fondue-components77.js.map +1 -1
- package/dist/fondue-components78.js +27 -10
- package/dist/fondue-components78.js.map +1 -1
- package/dist/fondue-components79.js +13 -7
- package/dist/fondue-components79.js.map +1 -1
- package/dist/fondue-components8.js +5 -5
- package/dist/fondue-components80.js +4 -12
- package/dist/fondue-components80.js.map +1 -1
- package/dist/fondue-components81.js +12 -22
- package/dist/fondue-components81.js.map +1 -1
- package/dist/fondue-components82.js +48 -34
- package/dist/fondue-components82.js.map +1 -1
- package/dist/fondue-components83.js +22 -10
- package/dist/fondue-components83.js.map +1 -1
- package/dist/fondue-components84.js +623 -62
- package/dist/fondue-components84.js.map +1 -1
- package/dist/fondue-components85.js +8 -14
- package/dist/fondue-components85.js.map +1 -1
- package/dist/fondue-components86.js +12 -24
- package/dist/fondue-components86.js.map +1 -1
- package/dist/fondue-components87.js +4 -18
- package/dist/fondue-components87.js.map +1 -1
- package/dist/fondue-components88.js +24 -24
- package/dist/fondue-components88.js.map +1 -1
- package/dist/fondue-components89.js +16 -8
- package/dist/fondue-components89.js.map +1 -1
- package/dist/fondue-components9.js +5 -5
- package/dist/fondue-components90.js +20 -26
- package/dist/fondue-components90.js.map +1 -1
- package/dist/fondue-components91.js +20 -7
- package/dist/fondue-components91.js.map +1 -1
- package/dist/fondue-components92.js +20 -5
- package/dist/fondue-components92.js.map +1 -1
- package/dist/fondue-components93.js +20 -5
- package/dist/fondue-components93.js.map +1 -1
- package/dist/fondue-components94.js +19 -17
- package/dist/fondue-components94.js.map +1 -1
- package/dist/fondue-components95.js +8 -217
- package/dist/fondue-components95.js.map +1 -1
- package/dist/fondue-components96.js +10 -18
- package/dist/fondue-components96.js.map +1 -1
- package/dist/fondue-components97.js +10 -16
- package/dist/fondue-components97.js.map +1 -1
- package/dist/fondue-components98.js +6 -150
- package/dist/fondue-components98.js.map +1 -1
- package/dist/fondue-components99.js +12 -44
- package/dist/fondue-components99.js.map +1 -1
- package/dist/index.d.ts +201 -26
- package/dist/style.css +1 -1
- package/package.json +7 -3
|
@@ -1,39 +1,77 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
2
|
+
import * as m from "@radix-ui/react-radio-group";
|
|
3
|
+
import { useFondueTheme as B } from "./fondue-components39.js";
|
|
4
|
+
import u from "./fondue-components85.js";
|
|
5
|
+
const R = ({
|
|
6
|
+
asChild: t,
|
|
7
|
+
children: a,
|
|
8
|
+
className: i,
|
|
9
|
+
disabled: e,
|
|
10
|
+
emphasis: r = "default",
|
|
11
|
+
onValueChange: s,
|
|
12
|
+
orientation: o,
|
|
13
|
+
readOnly: d,
|
|
14
|
+
required: f,
|
|
15
|
+
value: p,
|
|
16
|
+
"data-test-id": L
|
|
17
|
+
}) => {
|
|
18
|
+
const { dir: N } = B();
|
|
19
|
+
return /* @__PURE__ */ n(
|
|
20
|
+
m.Root,
|
|
19
21
|
{
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
22
|
+
"aria-readonly": d,
|
|
23
|
+
asChild: t,
|
|
24
|
+
className: [i, t ? void 0 : u.root].filter(Boolean).join(" "),
|
|
25
|
+
"data-emphasis": r,
|
|
26
|
+
"data-readonly": d,
|
|
27
|
+
"data-test-id": L,
|
|
28
|
+
dir: N,
|
|
29
|
+
disabled: e,
|
|
30
|
+
onValueChange: s,
|
|
31
|
+
orientation: o,
|
|
32
|
+
required: f,
|
|
33
|
+
value: p,
|
|
34
|
+
onFocus: (l) => {
|
|
35
|
+
if (d)
|
|
36
|
+
return l.preventDefault(), l.target.blur(), !1;
|
|
37
|
+
},
|
|
38
|
+
children: a
|
|
32
39
|
}
|
|
33
|
-
)
|
|
40
|
+
);
|
|
41
|
+
};
|
|
42
|
+
R.displayName = "RadioList.Root";
|
|
43
|
+
const c = ({
|
|
44
|
+
readOnly: t,
|
|
45
|
+
disabled: a,
|
|
46
|
+
value: i,
|
|
47
|
+
id: e,
|
|
48
|
+
"data-test-id": r,
|
|
49
|
+
...s
|
|
50
|
+
}) => /* @__PURE__ */ n(
|
|
51
|
+
m.Item,
|
|
52
|
+
{
|
|
53
|
+
onFocus: (o) => {
|
|
54
|
+
if (t)
|
|
55
|
+
return o.preventDefault(), o.target.blur(), !1;
|
|
56
|
+
},
|
|
57
|
+
"aria-readonly": t,
|
|
58
|
+
className: u.item,
|
|
59
|
+
"data-readonly": t,
|
|
60
|
+
"data-test-id": r,
|
|
61
|
+
disabled: a,
|
|
62
|
+
id: e,
|
|
63
|
+
value: i,
|
|
64
|
+
...s,
|
|
65
|
+
children: /* @__PURE__ */ n(m.Indicator, { className: u.indicator })
|
|
66
|
+
}
|
|
34
67
|
);
|
|
35
|
-
|
|
68
|
+
c.displayName = "RadioList.RadioButton";
|
|
69
|
+
const g = {
|
|
70
|
+
Root: R,
|
|
71
|
+
RadioButton: c
|
|
72
|
+
};
|
|
36
73
|
export {
|
|
37
|
-
|
|
74
|
+
g as RadioList,
|
|
75
|
+
R as RadioListRoot
|
|
38
76
|
};
|
|
39
77
|
//# sourceMappingURL=fondue-components24.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components24.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"fondue-components24.js","sources":["../src/components/RadioList/RadioList.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport * as RadioGroupPrimitve from '@radix-ui/react-radio-group';\nimport { type ReactNode } from 'react';\n\nimport { useFondueTheme } from '#/components/ThemeProvider/ThemeProvider';\n\nimport styles from './styles/radiolist.module.scss';\n\ntype RadioListRootProps = {\n asChild?: boolean;\n children?: ReactNode;\n className?: string;\n disabled?: boolean;\n emphasis?: 'default' | 'highlight';\n onValueChange?: (value: string) => void;\n orientation?: 'vertical' | 'horizontal';\n readOnly?: boolean;\n required?: boolean;\n value?: string;\n 'data-test-id'?: string;\n};\nexport const RadioListRoot = ({\n asChild,\n children,\n className,\n disabled,\n emphasis = 'default',\n onValueChange,\n orientation,\n readOnly,\n required,\n value,\n 'data-test-id': dataTestId,\n}: RadioListRootProps) => {\n const { dir } = useFondueTheme();\n\n return (\n <RadioGroupPrimitve.Root\n aria-readonly={readOnly}\n asChild={asChild}\n className={[className, asChild ? undefined : styles.root].filter(Boolean).join(' ')}\n data-emphasis={emphasis}\n data-readonly={readOnly}\n data-test-id={dataTestId}\n dir={dir}\n disabled={disabled}\n onValueChange={onValueChange}\n orientation={orientation}\n required={required}\n value={value}\n onFocus={(event) => {\n if (readOnly) {\n event.preventDefault();\n event.target.blur();\n return false;\n }\n }}\n >\n {children}\n </RadioGroupPrimitve.Root>\n );\n};\nRadioListRoot.displayName = 'RadioList.Root';\n\ntype RadioListRadioButtonProps = {\n disabled?: boolean;\n id: string;\n value: string;\n readOnly?: boolean;\n 'data-test-id'?: string;\n} & React.ComponentProps<typeof RadioGroupPrimitve.Item>;\n\nconst RadioListRadioButton = ({\n readOnly,\n disabled,\n value,\n id,\n 'data-test-id': dataTestId,\n ...restProps\n}: RadioListRadioButtonProps) => {\n return (\n <RadioGroupPrimitve.Item\n onFocus={(event) => {\n if (readOnly) {\n event.preventDefault();\n event.target.blur();\n return false;\n }\n }}\n aria-readonly={readOnly}\n className={styles.item}\n data-readonly={readOnly}\n data-test-id={dataTestId}\n disabled={disabled}\n id={id}\n value={value}\n {...restProps}\n >\n <RadioGroupPrimitve.Indicator className={styles.indicator} />\n </RadioGroupPrimitve.Item>\n );\n};\nRadioListRadioButton.displayName = 'RadioList.RadioButton';\n\nexport const RadioList = {\n Root: RadioListRoot,\n RadioButton: RadioListRadioButton,\n};\n"],"names":["RadioListRoot","asChild","children","className","disabled","emphasis","onValueChange","orientation","readOnly","required","value","dataTestId","dir","useFondueTheme","jsx","RadioGroupPrimitve","styles","event","RadioListRadioButton","id","restProps","RadioList"],"mappings":";;;;AAsBO,MAAMA,IAAgB,CAAC;AAAA,EAC1B,SAAAC;AAAA,EACA,UAAAC;AAAA,EACA,WAAAC;AAAA,EACA,UAAAC;AAAA,EACA,UAAAC,IAAW;AAAA,EACX,eAAAC;AAAA,EACA,aAAAC;AAAA,EACA,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,OAAAC;AAAA,EACA,gBAAgBC;AACpB,MAA0B;AACtB,QAAM,EAAE,KAAAC,EAAA,IAAQC,EAAA;AAEhB,SACI,gBAAAC;AAAA,IAACC,EAAmB;AAAA,IAAnB;AAAA,MACG,iBAAeP;AAAA,MACf,SAAAP;AAAA,MACA,WAAW,CAACE,GAAWF,IAAU,SAAYe,EAAO,IAAI,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG;AAAA,MAClF,iBAAeX;AAAA,MACf,iBAAeG;AAAA,MACf,gBAAcG;AAAA,MACd,KAAAC;AAAA,MACA,UAAAR;AAAA,MACA,eAAAE;AAAA,MACA,aAAAC;AAAA,MACA,UAAAE;AAAA,MACA,OAAAC;AAAA,MACA,SAAS,CAACO,MAAU;AAChB,YAAIT;AACA,iBAAAS,EAAM,eAAA,GACNA,EAAM,OAAO,KAAA,GACN;AAAA,MAEf;AAAA,MAEC,UAAAf;AAAA,IAAA;AAAA,EAAA;AAGb;AACAF,EAAc,cAAc;AAU5B,MAAMkB,IAAuB,CAAC;AAAA,EAC1B,UAAAV;AAAA,EACA,UAAAJ;AAAA,EACA,OAAAM;AAAA,EACA,IAAAS;AAAA,EACA,gBAAgBR;AAAA,EAChB,GAAGS;AACP,MAEQ,gBAAAN;AAAA,EAACC,EAAmB;AAAA,EAAnB;AAAA,IACG,SAAS,CAACE,MAAU;AAChB,UAAIT;AACA,eAAAS,EAAM,eAAA,GACNA,EAAM,OAAO,KAAA,GACN;AAAA,IAEf;AAAA,IACA,iBAAeT;AAAA,IACf,WAAWQ,EAAO;AAAA,IAClB,iBAAeR;AAAA,IACf,gBAAcG;AAAA,IACd,UAAAP;AAAA,IACA,IAAAe;AAAA,IACA,OAAAT;AAAA,IACC,GAAGU;AAAA,IAEJ,4BAACL,EAAmB,WAAnB,EAA6B,WAAWC,EAAO,UAAA,CAAW;AAAA,EAAA;AAAA;AAIvEE,EAAqB,cAAc;AAE5B,MAAMG,IAAY;AAAA,EACrB,MAAMrB;AAAA,EACN,aAAakB;AACjB;"}
|
|
@@ -1,58 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
defaultProp: s,
|
|
17
|
-
onChange: p
|
|
18
|
-
});
|
|
19
|
-
return /* @__PURE__ */ l(
|
|
20
|
-
n.Root,
|
|
21
|
-
{
|
|
22
|
-
ref: g,
|
|
23
|
-
...m,
|
|
24
|
-
className: e.root,
|
|
25
|
-
onValueChange: (r) => {
|
|
26
|
-
r && u(r);
|
|
27
|
-
},
|
|
28
|
-
value: C,
|
|
29
|
-
type: "single",
|
|
30
|
-
asChild: !1,
|
|
31
|
-
"data-hug-width": f,
|
|
32
|
-
"aria-disabled": m.disabled,
|
|
33
|
-
children: [
|
|
34
|
-
a,
|
|
35
|
-
/* @__PURE__ */ t("div", { className: e.activeIndicator })
|
|
36
|
-
]
|
|
37
|
-
}
|
|
38
|
-
);
|
|
39
|
-
};
|
|
40
|
-
d.displayName = "SegmentedControl.Root";
|
|
41
|
-
const c = ({ children: a, ...o }, s) => /* @__PURE__ */ l(n.Item, { ref: s, ...o, className: e.item, asChild: !1, children: [
|
|
42
|
-
/* @__PURE__ */ t("span", { className: e.separator }),
|
|
43
|
-
/* @__PURE__ */ l("span", { className: e.itemLabel, children: [
|
|
44
|
-
/* @__PURE__ */ t("span", { className: e.itemLabelActive, children: a }),
|
|
45
|
-
/* @__PURE__ */ t("span", { className: e.itemLabelInactive, children: a })
|
|
46
|
-
] })
|
|
47
|
-
] });
|
|
48
|
-
c.displayName = "SegmentedControl.Item";
|
|
49
|
-
const S = {
|
|
50
|
-
Root: i(d),
|
|
51
|
-
Item: i(c)
|
|
1
|
+
import { jsx as u } from "react/jsx-runtime";
|
|
2
|
+
import { createContext as i, useContext as s, useMemo as m } from "react";
|
|
3
|
+
const e = i({
|
|
4
|
+
navigate: () => {
|
|
5
|
+
throw new Error("RouterProvider: `navigate` function is not implemented");
|
|
6
|
+
},
|
|
7
|
+
// eslint-disable-next-line @eslint-react/no-unnecessary-use-prefix
|
|
8
|
+
useHref: () => {
|
|
9
|
+
throw new Error("RouterProvider: `useHref` function is not implemented");
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
e.displayName = "RouterContext";
|
|
13
|
+
const a = () => s(e), x = ({ children: r, navigate: t, useHref: o }) => {
|
|
14
|
+
const n = m(() => ({ navigate: t, useHref: o }), [t, o]);
|
|
15
|
+
return /* @__PURE__ */ u(e.Provider, { value: n, children: r });
|
|
52
16
|
};
|
|
53
17
|
export {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
d as SegmentedControlRoot
|
|
18
|
+
x as RouterProvider,
|
|
19
|
+
a as useFondueRouter
|
|
57
20
|
};
|
|
58
21
|
//# sourceMappingURL=fondue-components25.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components25.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"fondue-components25.js","sources":["../src/components/RouterProvider/RouterProvider.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { createContext, useContext, useMemo, type ReactNode } from 'react';\n\nexport type RouterProviderProps = {\n children: ReactNode;\n /**\n * Function to navigate to a specific path\n */\n navigate: (path: string) => void;\n /**\n * Function to resolves a URL against the current location.\n */\n useHref: (path: string) => string;\n};\n\nconst RouterContext = createContext<{\n navigate: (path: string) => void;\n useHref: (path: string) => string;\n}>({\n navigate: () => {\n throw new Error('RouterProvider: `navigate` function is not implemented');\n },\n // eslint-disable-next-line @eslint-react/no-unnecessary-use-prefix\n useHref: () => {\n throw new Error('RouterProvider: `useHref` function is not implemented');\n },\n});\nRouterContext.displayName = 'RouterContext';\n\nexport const useFondueRouter = () => {\n return useContext(RouterContext);\n};\n\nexport const RouterProvider = ({ children, navigate, useHref }: RouterProviderProps) => {\n const contextValue = useMemo(() => ({ navigate, useHref }), [navigate, useHref]);\n\n return <RouterContext.Provider value={contextValue}>{children}</RouterContext.Provider>;\n};\n"],"names":["RouterContext","createContext","useFondueRouter","useContext","RouterProvider","children","navigate","useHref","contextValue","useMemo"],"mappings":";;AAgBA,MAAMA,IAAgBC,EAGnB;AAAA,EACC,UAAU,MAAM;AACZ,UAAM,IAAI,MAAM,wDAAwD;AAAA,EAC5E;AAAA;AAAA,EAEA,SAAS,MAAM;AACX,UAAM,IAAI,MAAM,uDAAuD;AAAA,EAC3E;AACJ,CAAC;AACDD,EAAc,cAAc;AAErB,MAAME,IAAkB,MACpBC,EAAWH,CAAa,GAGtBI,IAAiB,CAAC,EAAE,UAAAC,GAAU,UAAAC,GAAU,SAAAC,QAAmC;AACpF,QAAMC,IAAeC,EAAQ,OAAO,EAAE,UAAAH,GAAU,SAAAC,MAAY,CAACD,GAAUC,CAAO,CAAC;AAE/E,2BAAQP,EAAc,UAAd,EAAuB,OAAOQ,GAAe,UAAAH,GAAS;AAClE;"}
|
|
@@ -1,26 +1,80 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
1
|
+
import { jsxs as h, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import * as a from "@radix-ui/react-scroll-area";
|
|
3
|
+
import { forwardRef as p } from "react";
|
|
4
|
+
import { useFondueTheme as u } from "./fondue-components39.js";
|
|
5
|
+
import o from "./fondue-components86.js";
|
|
6
|
+
const f = ({
|
|
7
|
+
type: t = "hover",
|
|
8
|
+
maxHeight: e = "100%",
|
|
9
|
+
maxWidth: s = "100%",
|
|
10
|
+
showShadow: c = !1,
|
|
11
|
+
scrollbarGutter: i = "auto",
|
|
12
|
+
padding: m,
|
|
13
|
+
children: n,
|
|
14
|
+
"data-test-id": r = "fondue-scroll-area"
|
|
15
|
+
}, d) => {
|
|
16
|
+
const { dir: b } = u();
|
|
17
|
+
return /* @__PURE__ */ h(
|
|
18
|
+
a.Root,
|
|
19
|
+
{
|
|
20
|
+
type: t,
|
|
21
|
+
dir: b,
|
|
22
|
+
className: o.root,
|
|
23
|
+
style: { maxWidth: s },
|
|
24
|
+
"data-component": "scroll-area",
|
|
25
|
+
"data-test-id": r,
|
|
26
|
+
children: [
|
|
27
|
+
/* @__PURE__ */ l(
|
|
28
|
+
a.Viewport,
|
|
29
|
+
{
|
|
30
|
+
ref: d,
|
|
31
|
+
className: o.viewport,
|
|
32
|
+
style: { maxHeight: e },
|
|
33
|
+
"data-scroll-padding": m,
|
|
34
|
+
"data-show-shadow": c,
|
|
35
|
+
"data-scrollbar-type": t,
|
|
36
|
+
"data-scrollbar-gutter": i,
|
|
37
|
+
"data-test-id": `${r}-viewport`,
|
|
38
|
+
children: n
|
|
39
|
+
}
|
|
40
|
+
),
|
|
41
|
+
/* @__PURE__ */ l(
|
|
42
|
+
a.Scrollbar,
|
|
43
|
+
{
|
|
44
|
+
className: o.scrollbar,
|
|
45
|
+
orientation: "vertical",
|
|
46
|
+
"data-test-id": `${r}-vertical-scrollbar`,
|
|
47
|
+
children: /* @__PURE__ */ l(
|
|
48
|
+
a.Thumb,
|
|
49
|
+
{
|
|
50
|
+
className: o.thumb,
|
|
51
|
+
"data-test-id": `${r}-vertical-scrollbar-thumb`
|
|
52
|
+
}
|
|
53
|
+
)
|
|
54
|
+
}
|
|
55
|
+
),
|
|
56
|
+
/* @__PURE__ */ l(
|
|
57
|
+
a.Scrollbar,
|
|
58
|
+
{
|
|
59
|
+
className: o.scrollbar,
|
|
60
|
+
orientation: "horizontal",
|
|
61
|
+
"data-test-id": `${r}-horizontal-scrollbar`,
|
|
62
|
+
children: /* @__PURE__ */ l(
|
|
63
|
+
a.Thumb,
|
|
64
|
+
{
|
|
65
|
+
className: o.thumb,
|
|
66
|
+
"data-test-id": `${r}-horizontal-scrollbar-thumb`
|
|
67
|
+
}
|
|
68
|
+
)
|
|
69
|
+
}
|
|
70
|
+
),
|
|
71
|
+
/* @__PURE__ */ l(a.Corner, { className: o.corner, "data-test-id": `${r}-corner` })
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
);
|
|
75
|
+
}, N = p(f);
|
|
76
|
+
N.displayName = "ScrollArea";
|
|
23
77
|
export {
|
|
24
|
-
|
|
78
|
+
N as ScrollArea
|
|
25
79
|
};
|
|
26
80
|
//# sourceMappingURL=fondue-components26.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components26.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"fondue-components26.js","sources":["../src/components/ScrollArea/ScrollArea.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport * as RadixScrollArea from '@radix-ui/react-scroll-area';\nimport { type ForwardedRef, forwardRef, type ReactElement, type ReactNode } from 'react';\n\nimport { useFondueTheme } from '../ThemeProvider/ThemeProvider';\n\nimport styles from './styles/scrollArea.module.scss';\n\nexport type ScrollAreaProps = {\n /**\n * \"auto\" visible when content is overflowing on the corresponding orientation.\n * \"always\" always visible regardless of whether the content is overflowing. Sets the scrollbar gutter to stable.\n * \"scroll\" visible when the user is scrolling along its corresponding orientation.\n * \"hover\" when the user is hovering over the scroll area.\n * @default 'hover'\n */\n type?: 'auto' | 'always' | 'scroll' | 'hover';\n /**\n * Determines if the scrollbar should take up space in the content area\n * @default 'auto'\n */\n scrollbarGutter?: 'auto' | 'stable' | 'stable-horizontal' | 'stable-vertical';\n /**\n * Maximum height of the scroll area\n * @default '100%'\n */\n maxHeight?: string | number;\n /**\n * Minimum width of the scroll area\n * @default '100%'\n */\n maxWidth?: string | number;\n /**\n * Define the padding of the scroll area\n * @default \"compact\"\n */\n padding?: 'none' | 'tight' | 'compact' | 'comfortable' | 'spacious';\n /**\n * Determines if a inset shadow should be shown the edge of the component\n */\n showShadow?: boolean;\n 'data-test-id'?: string;\n children: ReactNode;\n};\n\nconst ScrollAreaComponent = (\n {\n type = 'hover',\n maxHeight = '100%',\n maxWidth = '100%',\n showShadow = false,\n scrollbarGutter = 'auto',\n padding,\n children,\n 'data-test-id': dataTestId = 'fondue-scroll-area',\n }: ScrollAreaProps,\n ref: ForwardedRef<HTMLDivElement>,\n): ReactElement => {\n const { dir } = useFondueTheme();\n\n return (\n <RadixScrollArea.Root\n type={type}\n dir={dir}\n className={styles.root}\n style={{ maxWidth }}\n data-component=\"scroll-area\"\n data-test-id={dataTestId}\n >\n <RadixScrollArea.Viewport\n ref={ref}\n className={styles.viewport}\n style={{ maxHeight }}\n data-scroll-padding={padding}\n data-show-shadow={showShadow}\n data-scrollbar-type={type}\n data-scrollbar-gutter={scrollbarGutter}\n data-test-id={`${dataTestId}-viewport`}\n >\n {children}\n </RadixScrollArea.Viewport>\n <RadixScrollArea.Scrollbar\n className={styles.scrollbar}\n orientation=\"vertical\"\n data-test-id={`${dataTestId}-vertical-scrollbar`}\n >\n <RadixScrollArea.Thumb\n className={styles.thumb}\n data-test-id={`${dataTestId}-vertical-scrollbar-thumb`}\n />\n </RadixScrollArea.Scrollbar>\n <RadixScrollArea.Scrollbar\n className={styles.scrollbar}\n orientation=\"horizontal\"\n data-test-id={`${dataTestId}-horizontal-scrollbar`}\n >\n <RadixScrollArea.Thumb\n className={styles.thumb}\n data-test-id={`${dataTestId}-horizontal-scrollbar-thumb`}\n />\n </RadixScrollArea.Scrollbar>\n <RadixScrollArea.Corner className={styles.corner} data-test-id={`${dataTestId}-corner`} />\n </RadixScrollArea.Root>\n );\n};\n\nexport const ScrollArea = forwardRef<HTMLDivElement, ScrollAreaProps>(ScrollAreaComponent);\nScrollArea.displayName = 'ScrollArea';\n"],"names":["ScrollAreaComponent","type","maxHeight","maxWidth","showShadow","scrollbarGutter","padding","children","dataTestId","ref","dir","useFondueTheme","jsxs","RadixScrollArea","styles","jsx","ScrollArea","forwardRef"],"mappings":";;;;;AA8CA,MAAMA,IAAsB,CACxB;AAAA,EACI,MAAAC,IAAO;AAAA,EACP,WAAAC,IAAY;AAAA,EACZ,UAAAC,IAAW;AAAA,EACX,YAAAC,IAAa;AAAA,EACb,iBAAAC,IAAkB;AAAA,EAClB,SAAAC;AAAA,EACA,UAAAC;AAAA,EACA,gBAAgBC,IAAa;AACjC,GACAC,MACe;AACf,QAAM,EAAE,KAAAC,EAAA,IAAQC,EAAA;AAEhB,SACI,gBAAAC;AAAA,IAACC,EAAgB;AAAA,IAAhB;AAAA,MACG,MAAAZ;AAAA,MACA,KAAAS;AAAA,MACA,WAAWI,EAAO;AAAA,MAClB,OAAO,EAAE,UAAAX,EAAA;AAAA,MACT,kBAAe;AAAA,MACf,gBAAcK;AAAA,MAEd,UAAA;AAAA,QAAA,gBAAAO;AAAA,UAACF,EAAgB;AAAA,UAAhB;AAAA,YACG,KAAAJ;AAAA,YACA,WAAWK,EAAO;AAAA,YAClB,OAAO,EAAE,WAAAZ,EAAA;AAAA,YACT,uBAAqBI;AAAA,YACrB,oBAAkBF;AAAA,YAClB,uBAAqBH;AAAA,YACrB,yBAAuBI;AAAA,YACvB,gBAAc,GAAGG,CAAU;AAAA,YAE1B,UAAAD;AAAA,UAAA;AAAA,QAAA;AAAA,QAEL,gBAAAQ;AAAA,UAACF,EAAgB;AAAA,UAAhB;AAAA,YACG,WAAWC,EAAO;AAAA,YAClB,aAAY;AAAA,YACZ,gBAAc,GAAGN,CAAU;AAAA,YAE3B,UAAA,gBAAAO;AAAA,cAACF,EAAgB;AAAA,cAAhB;AAAA,gBACG,WAAWC,EAAO;AAAA,gBAClB,gBAAc,GAAGN,CAAU;AAAA,cAAA;AAAA,YAAA;AAAA,UAC/B;AAAA,QAAA;AAAA,QAEJ,gBAAAO;AAAA,UAACF,EAAgB;AAAA,UAAhB;AAAA,YACG,WAAWC,EAAO;AAAA,YAClB,aAAY;AAAA,YACZ,gBAAc,GAAGN,CAAU;AAAA,YAE3B,UAAA,gBAAAO;AAAA,cAACF,EAAgB;AAAA,cAAhB;AAAA,gBACG,WAAWC,EAAO;AAAA,gBAClB,gBAAc,GAAGN,CAAU;AAAA,cAAA;AAAA,YAAA;AAAA,UAC/B;AAAA,QAAA;AAAA,QAEJ,gBAAAO,EAACF,EAAgB,QAAhB,EAAuB,WAAWC,EAAO,QAAQ,gBAAc,GAAGN,CAAU,UAAA,CAAW;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGpG,GAEaQ,IAAaC,EAA4CjB,CAAmB;AACzFgB,EAAW,cAAc;"}
|
|
@@ -1,58 +1,39 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as m } from "react";
|
|
3
|
+
import { propsToCssVariables as c } from "./fondue-components45.js";
|
|
4
|
+
import f from "./fondue-components87.js";
|
|
5
|
+
const y = m(
|
|
6
|
+
({
|
|
7
|
+
"data-test-id": a = "fondue-section",
|
|
8
|
+
children: e,
|
|
9
|
+
role: r,
|
|
10
|
+
"aria-label": i,
|
|
11
|
+
"aria-hidden": o,
|
|
12
|
+
"aria-describedby": d,
|
|
13
|
+
"aria-labelledby": s,
|
|
14
|
+
"aria-expanded": t,
|
|
15
|
+
"aria-haspopup": p,
|
|
16
|
+
...l
|
|
17
|
+
}, b) => /* @__PURE__ */ n(
|
|
18
|
+
"section",
|
|
16
19
|
{
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
onPointerDown: () => {
|
|
30
|
-
o.current && (o.current.dataset.showFocusRing = "false");
|
|
31
|
-
},
|
|
32
|
-
className: r.track,
|
|
33
|
-
children: /* @__PURE__ */ s(e.Range, { className: r.range })
|
|
34
|
-
}
|
|
35
|
-
),
|
|
36
|
-
(a || n).map((w, u) => /* @__PURE__ */ s(
|
|
37
|
-
e.Thumb,
|
|
38
|
-
{
|
|
39
|
-
ref: o,
|
|
40
|
-
className: r.thumb,
|
|
41
|
-
onPointerDown: (t) => {
|
|
42
|
-
t.currentTarget.dataset.showFocusRing = "false";
|
|
43
|
-
},
|
|
44
|
-
onBlur: (t) => {
|
|
45
|
-
t.currentTarget.dataset.showFocusRing = "true";
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
u
|
|
49
|
-
))
|
|
50
|
-
]
|
|
20
|
+
className: f.root,
|
|
21
|
+
"data-test-id": a,
|
|
22
|
+
style: c(l),
|
|
23
|
+
role: r,
|
|
24
|
+
"aria-label": i,
|
|
25
|
+
"aria-hidden": o,
|
|
26
|
+
"aria-describedby": d,
|
|
27
|
+
"aria-labelledby": s,
|
|
28
|
+
"aria-expanded": t,
|
|
29
|
+
"aria-haspopup": p,
|
|
30
|
+
ref: b,
|
|
31
|
+
children: e
|
|
51
32
|
}
|
|
52
|
-
)
|
|
53
|
-
|
|
54
|
-
|
|
33
|
+
)
|
|
34
|
+
);
|
|
35
|
+
y.displayName = "Section";
|
|
55
36
|
export {
|
|
56
|
-
|
|
37
|
+
y as Section
|
|
57
38
|
};
|
|
58
39
|
//# sourceMappingURL=fondue-components27.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components27.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"fondue-components27.js","sources":["../src/components/Section/Section.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { forwardRef, type ReactNode } from 'react';\n\nimport { type CommonAriaProps } from '#/helpers/aria';\nimport { type Responsive, type LayoutComponentProps } from '#/helpers/layout';\nimport { propsToCssVariables } from '#/helpers/propsToCssVariables';\n\nimport styles from './styles/section.module.scss';\n\nexport type SectionProps = LayoutComponentProps & {\n /**\n * The display property.\n * @default 'block'\n */\n display?: Responsive<'none' | 'block' | 'inline-block' | 'inline'>;\n\n children?: ReactNode;\n 'data-test-id'?: string;\n} & CommonAriaProps;\n\nexport const Section = forwardRef<HTMLDivElement, SectionProps>(\n (\n {\n 'data-test-id': dataTestId = 'fondue-section',\n children,\n role,\n 'aria-label': ariaLabel,\n 'aria-hidden': ariaHidden,\n 'aria-describedby': ariaDescribedBy,\n 'aria-labelledby': ariaLabelledBy,\n 'aria-expanded': ariaExpanded,\n 'aria-haspopup': ariaHasPopup,\n ...props\n },\n ref,\n ) => {\n return (\n <section\n className={styles.root}\n data-test-id={dataTestId}\n style={propsToCssVariables(props)}\n role={role}\n aria-label={ariaLabel}\n aria-hidden={ariaHidden}\n aria-describedby={ariaDescribedBy}\n aria-labelledby={ariaLabelledBy}\n aria-expanded={ariaExpanded}\n aria-haspopup={ariaHasPopup}\n ref={ref}\n >\n {children}\n </section>\n );\n },\n);\nSection.displayName = 'Section';\n"],"names":["Section","forwardRef","dataTestId","children","role","ariaLabel","ariaHidden","ariaDescribedBy","ariaLabelledBy","ariaExpanded","ariaHasPopup","props","ref","jsx","styles","propsToCssVariables"],"mappings":";;;;AAqBO,MAAMA,IAAUC;AAAA,EACnB,CACI;AAAA,IACI,gBAAgBC,IAAa;AAAA,IAC7B,UAAAC;AAAA,IACA,MAAAC;AAAA,IACA,cAAcC;AAAA,IACd,eAAeC;AAAA,IACf,oBAAoBC;AAAA,IACpB,mBAAmBC;AAAA,IACnB,iBAAiBC;AAAA,IACjB,iBAAiBC;AAAA,IACjB,GAAGC;AAAA,EAAA,GAEPC,MAGI,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACG,WAAWC,EAAO;AAAA,MAClB,gBAAcZ;AAAA,MACd,OAAOa,EAAoBJ,CAAK;AAAA,MAChC,MAAAP;AAAA,MACA,cAAYC;AAAA,MACZ,eAAaC;AAAA,MACb,oBAAkBC;AAAA,MAClB,mBAAiBC;AAAA,MACjB,iBAAeC;AAAA,MACf,iBAAeC;AAAA,MACf,KAAAE;AAAA,MAEC,UAAAT;AAAA,IAAA;AAAA,EAAA;AAIjB;AACAH,EAAQ,cAAc;"}
|