@frontify/fondue-components 13.0.0 → 13.0.1
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-components10.js +1 -1
- package/dist/fondue-components11.js +2 -2
- package/dist/fondue-components12.js +1 -1
- package/dist/fondue-components13.js +1 -1
- package/dist/fondue-components15.js +1 -1
- package/dist/fondue-components16.js +1 -1
- package/dist/fondue-components17.js +26 -24
- package/dist/fondue-components17.js.map +1 -1
- package/dist/fondue-components18.js +1 -1
- package/dist/fondue-components19.js +2 -2
- package/dist/fondue-components20.js +6 -6
- package/dist/fondue-components21.js +1 -1
- package/dist/fondue-components22.js +1 -1
- package/dist/fondue-components23.js +1 -1
- package/dist/fondue-components24.js +1 -1
- package/dist/fondue-components41.js +8 -13
- package/dist/fondue-components41.js.map +1 -1
- package/dist/fondue-components42.js +13 -15
- package/dist/fondue-components42.js.map +1 -1
- package/dist/fondue-components43.js +15 -60
- package/dist/fondue-components43.js.map +1 -1
- package/dist/fondue-components44.js +59 -17
- package/dist/fondue-components44.js.map +1 -1
- package/dist/fondue-components45.js +18 -19
- package/dist/fondue-components45.js.map +1 -1
- package/dist/fondue-components46.js +18 -4
- package/dist/fondue-components46.js.map +1 -1
- package/dist/fondue-components47.js +3 -13
- package/dist/fondue-components47.js.map +1 -1
- package/dist/fondue-components48.js +13 -3
- package/dist/fondue-components48.js.map +1 -1
- package/dist/fondue-components49.js +3 -17
- package/dist/fondue-components49.js.map +1 -1
- package/dist/fondue-components50.js +19 -35
- package/dist/fondue-components50.js.map +1 -1
- package/dist/fondue-components51.js +35 -7
- package/dist/fondue-components51.js.map +1 -1
- package/dist/fondue-components52.js +4 -10
- package/dist/fondue-components52.js.map +1 -1
- package/dist/fondue-components53.js +12 -4
- package/dist/fondue-components53.js.map +1 -1
- package/dist/fondue-components54.js +4 -24
- package/dist/fondue-components54.js.map +1 -1
- package/dist/fondue-components55.js +24 -16
- package/dist/fondue-components55.js.map +1 -1
- package/dist/fondue-components56.js +16 -141
- package/dist/fondue-components56.js.map +1 -1
- package/dist/fondue-components57.js +142 -16
- package/dist/fondue-components57.js.map +1 -1
- package/dist/fondue-components58.js +16 -73
- package/dist/fondue-components58.js.map +1 -1
- package/dist/fondue-components59.js +73 -8
- package/dist/fondue-components59.js.map +1 -1
- package/dist/fondue-components60.js +8 -33
- package/dist/fondue-components60.js.map +1 -1
- package/dist/fondue-components61.js +32 -48
- package/dist/fondue-components61.js.map +1 -1
- package/dist/fondue-components62.js +48 -10
- package/dist/fondue-components62.js.map +1 -1
- package/dist/fondue-components63.js +10 -12
- package/dist/fondue-components63.js.map +1 -1
- package/dist/fondue-components64.js +12 -7
- package/dist/fondue-components64.js.map +1 -1
- package/dist/fondue-components7.js +98 -87
- package/dist/fondue-components7.js.map +1 -1
- package/dist/fondue-components76.js +1 -1
- package/dist/fondue-components8.js +1 -1
- package/dist/fondue-components9.js +2 -2
- package/dist/index.d.ts +5 -0
- package/dist/style.css +1 -1
- package/package.json +5 -5
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as n } from "react";
|
|
3
3
|
import { propsToCssVariables as y } from "./fondue-components29.js";
|
|
4
|
-
import x from "./fondue-
|
|
4
|
+
import x from "./fondue-components47.js";
|
|
5
5
|
const u = n(
|
|
6
6
|
({
|
|
7
7
|
as: a = "div",
|
|
@@ -2,9 +2,9 @@ import { jsx as a, jsxs as l } from "react/jsx-runtime";
|
|
|
2
2
|
import { IconCross as w } from "@frontify/fondue-icons";
|
|
3
3
|
import * as i from "@radix-ui/react-popover";
|
|
4
4
|
import { forwardRef as s } from "react";
|
|
5
|
-
import { addAutoFocusAttribute as x, addShowFocusRing as C } from "./fondue-
|
|
5
|
+
import { addAutoFocusAttribute as x, addShowFocusRing as C } from "./fondue-components42.js";
|
|
6
6
|
import { useFondueTheme as b, ThemeProvider as T } from "./fondue-components27.js";
|
|
7
|
-
import d from "./fondue-
|
|
7
|
+
import d from "./fondue-components48.js";
|
|
8
8
|
const n = ({ children: t, ...o }) => /* @__PURE__ */ a(i.Root, { ...o, children: t });
|
|
9
9
|
n.displayName = "Flyout.Root";
|
|
10
10
|
const m = ({ asChild: t = !0, children: o, "data-test-id": e = "fondue-flyout-trigger", ...r }, u) => /* @__PURE__ */ a(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as f } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as y } from "react";
|
|
3
3
|
import { propsToCssVariables as n } from "./fondue-components29.js";
|
|
4
|
-
import u from "./fondue-
|
|
4
|
+
import u from "./fondue-components49.js";
|
|
5
5
|
const c = y(
|
|
6
6
|
({
|
|
7
7
|
as: a = "div",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as y } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as g } from "react";
|
|
3
3
|
import { cn as x } from "./fondue-components31.js";
|
|
4
|
-
import a from "./fondue-
|
|
4
|
+
import a from "./fondue-components50.js";
|
|
5
5
|
const $ = g(
|
|
6
6
|
({
|
|
7
7
|
as: e = "span",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import * as t from "@radix-ui/react-progress";
|
|
3
3
|
import { forwardRef as m } from "react";
|
|
4
|
-
import { loadingBarContainerStyles as g, loadingBarStyles as f } from "./fondue-
|
|
4
|
+
import { loadingBarContainerStyles as g, loadingBarStyles as f } from "./fondue-components51.js";
|
|
5
5
|
const p = m(
|
|
6
6
|
({
|
|
7
7
|
value: a,
|
|
@@ -1,69 +1,71 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import * as
|
|
1
|
+
import { jsxs as d, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import * as a from "@radix-ui/react-scroll-area";
|
|
3
3
|
import { forwardRef as b } from "react";
|
|
4
|
-
import
|
|
4
|
+
import o from "./fondue-components53.js";
|
|
5
5
|
const h = ({
|
|
6
6
|
type: t,
|
|
7
7
|
maxHeight: e = "100%",
|
|
8
8
|
maxWidth: s = "100%",
|
|
9
9
|
showShadow: c = !1,
|
|
10
|
-
|
|
10
|
+
padding: i,
|
|
11
|
+
children: m,
|
|
11
12
|
"data-test-id": r = "fondue-scroll-area"
|
|
12
|
-
},
|
|
13
|
-
|
|
13
|
+
}, n) => /* @__PURE__ */ d(
|
|
14
|
+
a.Root,
|
|
14
15
|
{
|
|
15
16
|
type: t,
|
|
16
|
-
className:
|
|
17
|
+
className: o.root,
|
|
17
18
|
style: { maxWidth: s },
|
|
18
19
|
"data-test-id": r,
|
|
19
|
-
ref:
|
|
20
|
+
ref: n,
|
|
20
21
|
children: [
|
|
21
22
|
/* @__PURE__ */ l(
|
|
22
|
-
|
|
23
|
+
a.Viewport,
|
|
23
24
|
{
|
|
24
|
-
className:
|
|
25
|
+
className: o.viewport,
|
|
25
26
|
style: { maxHeight: e },
|
|
26
|
-
"data-
|
|
27
|
+
"data-scroll-padding": i,
|
|
27
28
|
"data-show-shadow": c,
|
|
28
|
-
|
|
29
|
+
"data-test-id": `${r}-viewport`,
|
|
30
|
+
children: m
|
|
29
31
|
}
|
|
30
32
|
),
|
|
31
33
|
/* @__PURE__ */ l(
|
|
32
|
-
|
|
34
|
+
a.Scrollbar,
|
|
33
35
|
{
|
|
34
|
-
className:
|
|
36
|
+
className: o.scrollbar,
|
|
35
37
|
orientation: "vertical",
|
|
36
38
|
"data-test-id": `${r}-vertical-scrollbar`,
|
|
37
39
|
children: /* @__PURE__ */ l(
|
|
38
|
-
|
|
40
|
+
a.Thumb,
|
|
39
41
|
{
|
|
40
|
-
className:
|
|
42
|
+
className: o.thumb,
|
|
41
43
|
"data-test-id": `${r}-vertical-scrollbar-thumb`
|
|
42
44
|
}
|
|
43
45
|
)
|
|
44
46
|
}
|
|
45
47
|
),
|
|
46
48
|
/* @__PURE__ */ l(
|
|
47
|
-
|
|
49
|
+
a.Scrollbar,
|
|
48
50
|
{
|
|
49
|
-
className:
|
|
51
|
+
className: o.scrollbar,
|
|
50
52
|
orientation: "horizontal",
|
|
51
53
|
"data-test-id": `${r}-horizontal-scrollbar`,
|
|
52
54
|
children: /* @__PURE__ */ l(
|
|
53
|
-
|
|
55
|
+
a.Thumb,
|
|
54
56
|
{
|
|
55
|
-
className:
|
|
57
|
+
className: o.thumb,
|
|
56
58
|
"data-test-id": `${r}-horizontal-scrollbar-thumb`
|
|
57
59
|
}
|
|
58
60
|
)
|
|
59
61
|
}
|
|
60
62
|
),
|
|
61
|
-
/* @__PURE__ */ l(
|
|
63
|
+
/* @__PURE__ */ l(a.Corner, { className: o.corner, "data-test-id": `${r}-corner` })
|
|
62
64
|
]
|
|
63
65
|
}
|
|
64
|
-
),
|
|
65
|
-
|
|
66
|
+
), p = b(h);
|
|
67
|
+
p.displayName = "ScrollArea";
|
|
66
68
|
export {
|
|
67
|
-
|
|
69
|
+
p as ScrollArea
|
|
68
70
|
};
|
|
69
71
|
//# sourceMappingURL=fondue-components17.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components17.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 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.\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 * 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 * 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,\n maxHeight = '100%',\n maxWidth = '100%',\n showShadow = false,\n children,\n 'data-test-id': dataTestId = 'fondue-scroll-area',\n }: ScrollAreaProps,\n ref: ForwardedRef<HTMLDivElement>,\n): ReactElement => {\n return (\n <RadixScrollArea.Root\n type={type}\n className={styles.root}\n style={{ maxWidth }}\n data-test-id={dataTestId}\n ref={ref}\n >\n <RadixScrollArea.Viewport\n className={styles.viewport}\n style={{ maxHeight }}\n data-
|
|
1
|
+
{"version":3,"file":"fondue-components17.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 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.\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 * 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,\n maxHeight = '100%',\n maxWidth = '100%',\n showShadow = false,\n padding,\n children,\n 'data-test-id': dataTestId = 'fondue-scroll-area',\n }: ScrollAreaProps,\n ref: ForwardedRef<HTMLDivElement>,\n): ReactElement => {\n return (\n <RadixScrollArea.Root\n type={type}\n className={styles.root}\n style={{ maxWidth }}\n data-test-id={dataTestId}\n ref={ref}\n >\n <RadixScrollArea.Viewport\n className={styles.viewport}\n style={{ maxHeight }}\n data-scroll-padding={padding}\n data-show-shadow={showShadow}\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","padding","children","dataTestId","ref","jsxs","RadixScrollArea","styles","jsx","ScrollArea","forwardRef"],"mappings":";;;;AAuCA,MAAMA,IAAsB,CACxB;AAAA,EACI,MAAAC;AAAA,EACA,WAAAC,IAAY;AAAA,EACZ,UAAAC,IAAW;AAAA,EACX,YAAAC,IAAa;AAAA,EACb,SAAAC;AAAA,EACA,UAAAC;AAAA,EACA,gBAAgBC,IAAa;AACjC,GACAC,MAGI,gBAAAC;AAAA,EAACC,EAAgB;AAAA,EAAhB;AAAA,IACG,MAAAT;AAAA,IACA,WAAWU,EAAO;AAAA,IAClB,OAAO,EAAE,UAAAR,EAAS;AAAA,IAClB,gBAAcI;AAAA,IACd,KAAAC;AAAA,IAEA,UAAA;AAAA,MAAA,gBAAAI;AAAA,QAACF,EAAgB;AAAA,QAAhB;AAAA,UACG,WAAWC,EAAO;AAAA,UAClB,OAAO,EAAE,WAAAT,EAAU;AAAA,UACnB,uBAAqBG;AAAA,UACrB,oBAAkBD;AAAA,UAClB,gBAAc,GAAGG,CAAU;AAAA,UAE1B,UAAAD;AAAA,QAAA;AAAA,MACL;AAAA,MACA,gBAAAM;AAAA,QAACF,EAAgB;AAAA,QAAhB;AAAA,UACG,WAAWC,EAAO;AAAA,UAClB,aAAY;AAAA,UACZ,gBAAc,GAAGJ,CAAU;AAAA,UAE3B,UAAA,gBAAAK;AAAA,YAACF,EAAgB;AAAA,YAAhB;AAAA,cACG,WAAWC,EAAO;AAAA,cAClB,gBAAc,GAAGJ,CAAU;AAAA,YAAA;AAAA,UAAA;AAAA,QAC/B;AAAA,MACJ;AAAA,MACA,gBAAAK;AAAA,QAACF,EAAgB;AAAA,QAAhB;AAAA,UACG,WAAWC,EAAO;AAAA,UAClB,aAAY;AAAA,UACZ,gBAAc,GAAGJ,CAAU;AAAA,UAE3B,UAAA,gBAAAK;AAAA,YAACF,EAAgB;AAAA,YAAhB;AAAA,cACG,WAAWC,EAAO;AAAA,cAClB,gBAAc,GAAGJ,CAAU;AAAA,YAAA;AAAA,UAAA;AAAA,QAC/B;AAAA,MACJ;AAAA,MACA,gBAAAK,EAACF,EAAgB,QAAhB,EAAuB,WAAWC,EAAO,QAAQ,gBAAc,GAAGJ,CAAU,UAAW,CAAA;AAAA,IAAA;AAAA,EAAA;AAC5F,GAIKM,IAAaC,EAA4Cd,CAAmB;AACzFa,EAAW,cAAc;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as m } from "react";
|
|
3
3
|
import { propsToCssVariables as c } from "./fondue-components29.js";
|
|
4
|
-
import f from "./fondue-
|
|
4
|
+
import f from "./fondue-components54.js";
|
|
5
5
|
const y = m(
|
|
6
6
|
({
|
|
7
7
|
"data-test-id": a = "fondue-section",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as l, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import * as i from "@radix-ui/react-toggle-group";
|
|
3
3
|
import { forwardRef as n } from "react";
|
|
4
|
-
import { useControllableState as N } from "./fondue-
|
|
5
|
-
import e from "./fondue-
|
|
4
|
+
import { useControllableState as N } from "./fondue-components55.js";
|
|
5
|
+
import e from "./fondue-components56.js";
|
|
6
6
|
const d = ({ children: a, value: o, defaultValue: s, onValueChange: p, ...m }, f) => {
|
|
7
7
|
const [g, C] = N({
|
|
8
8
|
prop: o,
|
|
@@ -4,12 +4,12 @@ import * as g from "@radix-ui/react-popover";
|
|
|
4
4
|
import { Slot as T } from "@radix-ui/react-slot";
|
|
5
5
|
import { useSelect as V } from "downshift";
|
|
6
6
|
import { forwardRef as $, useRef as A, useState as q } from "react";
|
|
7
|
-
import { ForwardedRefCombobox as J } from "./fondue-
|
|
8
|
-
import { ForwardedRefSelectItem as K, ForwardedRefSelectItemGroup as L } from "./fondue-
|
|
9
|
-
import { SelectMenu as Q } from "./fondue-
|
|
10
|
-
import { ForwardedRefSelectSlot as U } from "./fondue-
|
|
11
|
-
import a from "./fondue-
|
|
12
|
-
import { useSelectData as W } from "./fondue-
|
|
7
|
+
import { ForwardedRefCombobox as J } from "./fondue-components57.js";
|
|
8
|
+
import { ForwardedRefSelectItem as K, ForwardedRefSelectItemGroup as L } from "./fondue-components58.js";
|
|
9
|
+
import { SelectMenu as Q } from "./fondue-components59.js";
|
|
10
|
+
import { ForwardedRefSelectSlot as U } from "./fondue-components60.js";
|
|
11
|
+
import a from "./fondue-components61.js";
|
|
12
|
+
import { useSelectData as W } from "./fondue-components62.js";
|
|
13
13
|
const S = ({
|
|
14
14
|
children: h,
|
|
15
15
|
onSelect: s,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as f, jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import * as e from "@radix-ui/react-slider";
|
|
3
3
|
import { forwardRef as h, useRef as R } from "react";
|
|
4
|
-
import r from "./fondue-
|
|
4
|
+
import r from "./fondue-components63.js";
|
|
5
5
|
const g = ({
|
|
6
6
|
value: a,
|
|
7
7
|
defaultValue: n = [0],
|
|
@@ -2,7 +2,7 @@ import { jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import * as o from "@radix-ui/react-switch";
|
|
3
3
|
import { forwardRef as l } from "react";
|
|
4
4
|
import { cn as f } from "./fondue-components31.js";
|
|
5
|
-
import t from "./fondue-
|
|
5
|
+
import t from "./fondue-components64.js";
|
|
6
6
|
const n = ({
|
|
7
7
|
value: a,
|
|
8
8
|
defaultValue: i,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t, jsxs as p } from "react/jsx-runtime";
|
|
2
2
|
import { IconArrowUp as A, IconArrowDown as K, IconArrowBidirectional as h } from "@frontify/fondue-icons";
|
|
3
3
|
import { forwardRef as m, useRef as w, useMemo as j } from "react";
|
|
4
|
-
import { useSyncRefs as g } from "./fondue-
|
|
4
|
+
import { useSyncRefs as g } from "./fondue-components41.js";
|
|
5
5
|
import { useTextTruncation as N } from "./fondue-components65.js";
|
|
6
6
|
import { Box as L } from "./fondue-components3.js";
|
|
7
7
|
import { LoadingCircle as S } from "./fondue-components16.js";
|
|
@@ -2,7 +2,7 @@ import { jsx as a, jsxs as u } from "react/jsx-runtime";
|
|
|
2
2
|
import { createContext as x, forwardRef as i, useCallback as A, createElement as N, useContext as b, useRef as D, useEffect as E } from "react";
|
|
3
3
|
import { IconDotsHorizontal as O } from "@frontify/fondue-icons";
|
|
4
4
|
import * as d from "@radix-ui/react-tabs";
|
|
5
|
-
import { useControllableState as V } from "./fondue-
|
|
5
|
+
import { useControllableState as V } from "./fondue-components55.js";
|
|
6
6
|
import { Button as q } from "./fondue-components4.js";
|
|
7
7
|
import { Dropdown as l } from "./fondue-components9.js";
|
|
8
8
|
import { useTabTriggers as B } from "./fondue-components68.js";
|
|
@@ -1,16 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
const t = u.relatedTarget;
|
|
9
|
-
t != null && t.dataset.autoFocusTrigger && (t.dataset.autoFocusVisible === "true" ? u.target.dataset.showFocusRing = "true" : u.target.dataset.showFocusRing = "false", t.dataset.autoFocusVisible = "true");
|
|
10
|
-
}
|
|
1
|
+
import { useEffect as f } from "react";
|
|
2
|
+
import { syncRefs as o } from "./fondue-components42.js";
|
|
3
|
+
const m = (s, e) => {
|
|
4
|
+
f(() => {
|
|
5
|
+
o(s, e);
|
|
6
|
+
}, [s]);
|
|
7
|
+
};
|
|
11
8
|
export {
|
|
12
|
-
|
|
13
|
-
a as addShowFocusRing,
|
|
14
|
-
s as syncRefs
|
|
9
|
+
m as useSyncRefs
|
|
15
10
|
};
|
|
16
11
|
//# sourceMappingURL=fondue-components41.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components41.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"fondue-components41.js","sources":["../src/hooks/useSyncRefs.ts"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { type ForwardedRef, useEffect, type RefObject } from 'react';\n\nimport { syncRefs } from '#/utilities/domUtilities';\n\n/**\n * A custom React hook that synchronizes a local ref with a forwarded ref.\n * This is useful when you need to maintain both an internal reference to a DOM element\n * and allow external access through a forwarded ref.\n *\n * @template TElement - The type of the DOM element being referenced. Defaults to HTMLElement.\n * @param {RefObject<TElement>} localRef - The local ref object used internally by the component.\n * @param {ForwardedRef<TElement>} forwardedRef - The ref forwarded from a parent component.\n *\n * @example\n * ```tsx\n * const MyComponent = forwardRef<HTMLDivElement>((props, ref) => {\n * const localRef = useRef<HTMLDivElement>(null);\n * useSyncRefs(localRef, ref);\n *\n * return <div ref={localRef}>Content</div>;\n * });\n * ```\n */\nexport const useSyncRefs = <TElement = HTMLElement>(\n localRef: RefObject<TElement>,\n forwardedRef: ForwardedRef<TElement>,\n) => {\n useEffect(() => {\n syncRefs<TElement>(localRef, forwardedRef);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [localRef]);\n};\n"],"names":["useSyncRefs","localRef","forwardedRef","useEffect","syncRefs"],"mappings":";;AAyBa,MAAAA,IAAc,CACvBC,GACAC,MACC;AACD,EAAAC,EAAU,MAAM;AACZ,IAAAC,EAAmBH,GAAUC,CAAY;AAAA,EAAA,GAE1C,CAACD,CAAQ,CAAC;AACjB;"}
|
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
function s(u, t) {
|
|
2
|
+
t && (typeof t == "function" ? t(u.current) : t && "current" in t && (t.current = u.current));
|
|
3
|
+
}
|
|
4
|
+
function i(u) {
|
|
5
|
+
u.currentTarget.dataset.autoFocusVisible = "false";
|
|
6
|
+
}
|
|
7
|
+
function a(u) {
|
|
8
|
+
const t = u.relatedTarget;
|
|
9
|
+
t != null && t.dataset.autoFocusTrigger && (t.dataset.autoFocusVisible === "true" ? u.target.dataset.showFocusRing = "true" : u.target.dataset.showFocusRing = "false", t.dataset.autoFocusVisible = "true");
|
|
10
|
+
}
|
|
9
11
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
o as footer,
|
|
14
|
-
e as header,
|
|
15
|
-
_ as sideContent,
|
|
16
|
-
d as underlay
|
|
12
|
+
i as addAutoFocusAttribute,
|
|
13
|
+
a as addShowFocusRing,
|
|
14
|
+
s as syncRefs
|
|
17
15
|
};
|
|
18
16
|
//# sourceMappingURL=fondue-components42.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components42.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"fondue-components42.js","sources":["../src/utilities/domUtilities.ts"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { type FocusEvent, type MouseEvent as ReactMouseEvent, type ForwardedRef, type RefObject } from 'react';\n\nexport const MAX_HEIGHT_MARGIN = 8;\n\n/**\n * Sets the maximum height for a dialog element based on its position on the viewport.\n * The function calculates the space below the dialog up to the bottom of the viewport window,\n * subtracting a default margin, and sets this value as the max-height style of the dialog.\n *\n * @param {HTMLElement} dialog - The dialog element whose maximum height is to be set.\n *\n * @example\n * // Suppose you have a dialog element with id 'my-dialog'.\n * const dialogElement = myDialogRef.current || document.getElementById('my-dialog');\n * // Setting its max height relative to its current position and the viewport's dimensions.\n * setMaxHeightToAvailableSpace(dialogElement);\n */\nexport function setMaxHeightToAvailableSpace(dialog: HTMLElement) {\n if (!window) {\n throw new Error('Window object not found, this method should be used in a browser environment');\n }\n\n dialog.style.maxHeight = '';\n\n const { top, bottom } = dialog.getBoundingClientRect();\n if (top - MAX_HEIGHT_MARGIN < 0) {\n // if the dialog is overflowing to the top\n dialog.style.maxHeight = `${bottom - MAX_HEIGHT_MARGIN}px`;\n } else if (bottom + MAX_HEIGHT_MARGIN > window.innerHeight) {\n // if the dialog is overflowing to the bottom\n dialog.style.maxHeight = `${window.innerHeight - top - MAX_HEIGHT_MARGIN}px`;\n }\n}\n\n/**\n * Checks if a specified HTML element is visible within the viewport.\n * Visibility is determined by several factors:\n * - The element must have non-zero dimensions.\n * - The element's computed style must not be `display: none`, `visibility: hidden`, or `opacity: 0`.\n * - The element must be within the bounds of the current viewport.\n *\n * @param {HTMLElement} element - The HTML element to check for visibility.\n * @returns {boolean} Returns true if the element is visible according to the criteria specified, otherwise returns false.\n */\nexport function isElementVisible(element: HTMLElement) {\n const rect = element.getBoundingClientRect();\n const hasSize = rect.width > 0 && rect.height > 0;\n\n const style = window.getComputedStyle(element);\n const isVisibleStyle = style.display !== 'none' && style.visibility !== 'hidden' && parseFloat(style.opacity) !== 0;\n\n // Check if the element is within the viewport\n const isInViewport =\n rect.top < window.innerHeight && rect.left < window.innerWidth && rect.bottom > 0 && rect.right > 0;\n\n return hasSize && isVisibleStyle && isInViewport;\n}\n\n/**\n * Assigns a local DOM ref to a forwarded ref.\n *\n * @param {RefObject<HTMLDivElement>} localRef - The local React reference to an HTMLDivElement.\n * @param {ForwardedRef<HTMLDivElement>} forwardedRef - The ref forwarded from a parent component.\n */\nexport function syncRefs<TElement = HTMLElement>(localRef: RefObject<TElement>, forwardedRef: ForwardedRef<TElement>) {\n if (!forwardedRef) {\n return;\n }\n\n if (typeof forwardedRef === 'function') {\n forwardedRef(localRef.current);\n } else if (forwardedRef && 'current' in forwardedRef) {\n forwardedRef.current = localRef.current;\n }\n}\n\n/**\n * Sets the 'autoFocusVisible' data attribute to 'false' on the current target of a mouse event.\n * This function is typically used to indicate that an element has been interacted with via mouse,\n * which should prevent the focus ring from being displayed when the element receives focus.\n *\n * @param mouseEvent - The mouse event object.\n */\nexport function addAutoFocusAttribute(mouseEvent: ReactMouseEvent<HTMLButtonElement, MouseEvent>) {\n mouseEvent.currentTarget.dataset.autoFocusVisible = 'false';\n}\n\n/**\n * Manages the focus ring visibility based on the previous focus state and the current focus event.\n * This function sets the 'showFocusRing' data attribute on the target element and updates the\n * 'autoFocusVisible' data attribute on the previously focused element.\n *\n * ! This function should be used in conjunction with the 'addAutoFocusAttribute' function and the autoFocusVisible data autoFocusTrigger.\n *\n * @param event - The focus event object.\n */\nexport function addShowFocusRing(event: FocusEvent<HTMLDivElement, HTMLElement>) {\n const triggerElement = event.relatedTarget;\n\n if (!triggerElement?.dataset.autoFocusTrigger) {\n return;\n }\n\n if (triggerElement.dataset.autoFocusVisible === 'true') {\n event.target.dataset.showFocusRing = 'true';\n } else {\n event.target.dataset.showFocusRing = 'false';\n }\n\n triggerElement.dataset.autoFocusVisible = 'true';\n}\n"],"names":["syncRefs","localRef","forwardedRef","addAutoFocusAttribute","mouseEvent","addShowFocusRing","event","triggerElement"],"mappings":"AAkEgB,SAAAA,EAAiCC,GAA+BC,GAAsC;AAClH,EAAKA,MAID,OAAOA,KAAiB,aACxBA,EAAaD,EAAS,OAAO,IACtBC,KAAgB,aAAaA,MACpCA,EAAa,UAAUD,EAAS;AAExC;AASO,SAASE,EAAsBC,GAA4D;AACnF,EAAAA,EAAA,cAAc,QAAQ,mBAAmB;AACxD;AAWO,SAASC,EAAiBC,GAAgD;AAC7E,QAAMC,IAAiBD,EAAM;AAEzB,EAACC,KAAA,QAAAA,EAAgB,QAAQ,qBAIzBA,EAAe,QAAQ,qBAAqB,SACtCD,EAAA,OAAO,QAAQ,gBAAgB,SAE/BA,EAAA,OAAO,QAAQ,gBAAgB,SAGzCC,EAAe,QAAQ,mBAAmB;AAC9C;"}
|
|
@@ -1,63 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
color: {
|
|
10
|
-
weak: "tw-border-line-weak",
|
|
11
|
-
default: "tw-border-line",
|
|
12
|
-
strong: "tw-border-line-strong",
|
|
13
|
-
"x-strong": "tw-border-x-line-strong"
|
|
14
|
-
},
|
|
15
|
-
variant: {
|
|
16
|
-
solid: "tw-border-solid",
|
|
17
|
-
dashed: "tw-border-dashed",
|
|
18
|
-
noline: "tw-border-none"
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
compoundVariants: [
|
|
22
|
-
{
|
|
23
|
-
direction: "horizontal",
|
|
24
|
-
padding: "small",
|
|
25
|
-
class: "tw-my-4"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
direction: "horizontal",
|
|
29
|
-
padding: "medium",
|
|
30
|
-
class: "tw-my-7"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
direction: "horizontal",
|
|
34
|
-
padding: "large",
|
|
35
|
-
class: "tw-my-12"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
direction: "vertical",
|
|
39
|
-
padding: "small",
|
|
40
|
-
class: "tw-mx-4"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
direction: "vertical",
|
|
44
|
-
padding: "medium",
|
|
45
|
-
class: "tw-mx-7"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
direction: "vertical",
|
|
49
|
-
padding: "large",
|
|
50
|
-
class: "tw-mx-12"
|
|
51
|
-
}
|
|
52
|
-
],
|
|
53
|
-
defaultVariants: {
|
|
54
|
-
padding: "medium",
|
|
55
|
-
direction: "horizontal",
|
|
56
|
-
color: "default",
|
|
57
|
-
variant: "solid"
|
|
58
|
-
}
|
|
59
|
-
});
|
|
1
|
+
const t = "_content_2dhca_6", e = "_header_2dhca_51", o = "_footer_2dhca_52", n = "_body_2dhca_53", d = "_underlay_2dhca_177", _ = "_sideContent_2dhca_190", c = {
|
|
2
|
+
content: t,
|
|
3
|
+
header: e,
|
|
4
|
+
footer: o,
|
|
5
|
+
body: n,
|
|
6
|
+
underlay: d,
|
|
7
|
+
sideContent: _
|
|
8
|
+
};
|
|
60
9
|
export {
|
|
61
|
-
|
|
10
|
+
n as body,
|
|
11
|
+
t as content,
|
|
12
|
+
c as default,
|
|
13
|
+
o as footer,
|
|
14
|
+
e as header,
|
|
15
|
+
_ as sideContent,
|
|
16
|
+
d as underlay
|
|
62
17
|
};
|
|
63
18
|
//# sourceMappingURL=fondue-components43.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components43.js","sources":[
|
|
1
|
+
{"version":3,"file":"fondue-components43.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -1,21 +1,63 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
},
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import { sv as t } from "./fondue-components31.js";
|
|
2
|
+
const i = t({
|
|
3
|
+
base: "tw-flex tw-self-stretch tw-justify-center ",
|
|
4
|
+
variants: {
|
|
5
|
+
direction: {
|
|
6
|
+
horizontal: "tw-flex-col tw-h-0 tw-border-t tw-w-full",
|
|
7
|
+
vertical: "tw-flex-row tw-w-0 tw-border-r tw-h-full "
|
|
8
|
+
},
|
|
9
|
+
color: {
|
|
10
|
+
weak: "tw-border-line-weak",
|
|
11
|
+
default: "tw-border-line",
|
|
12
|
+
strong: "tw-border-line-strong",
|
|
13
|
+
"x-strong": "tw-border-x-line-strong"
|
|
14
|
+
},
|
|
15
|
+
variant: {
|
|
16
|
+
solid: "tw-border-solid",
|
|
17
|
+
dashed: "tw-border-dashed",
|
|
18
|
+
noline: "tw-border-none"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
compoundVariants: [
|
|
22
|
+
{
|
|
23
|
+
direction: "horizontal",
|
|
24
|
+
padding: "small",
|
|
25
|
+
class: "tw-my-4"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
direction: "horizontal",
|
|
29
|
+
padding: "medium",
|
|
30
|
+
class: "tw-my-7"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
direction: "horizontal",
|
|
34
|
+
padding: "large",
|
|
35
|
+
class: "tw-my-12"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
direction: "vertical",
|
|
39
|
+
padding: "small",
|
|
40
|
+
class: "tw-mx-4"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
direction: "vertical",
|
|
44
|
+
padding: "medium",
|
|
45
|
+
class: "tw-mx-7"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
direction: "vertical",
|
|
49
|
+
padding: "large",
|
|
50
|
+
class: "tw-mx-12"
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
defaultVariants: {
|
|
54
|
+
padding: "medium",
|
|
55
|
+
direction: "horizontal",
|
|
56
|
+
color: "default",
|
|
57
|
+
variant: "solid"
|
|
15
58
|
}
|
|
16
|
-
|
|
17
|
-
}, [e]);
|
|
59
|
+
});
|
|
18
60
|
export {
|
|
19
|
-
|
|
61
|
+
i as dividerStyles
|
|
20
62
|
};
|
|
21
63
|
//# sourceMappingURL=fondue-components44.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components44.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"fondue-components44.js","sources":["../src/components/Divider/styles/dividerStyles.ts"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { sv } from '#/utilities/styleUtilities';\n\nexport const dividerStyles = sv({\n base: 'tw-flex tw-self-stretch tw-justify-center ',\n variants: {\n direction: {\n horizontal: 'tw-flex-col tw-h-0 tw-border-t tw-w-full',\n vertical: 'tw-flex-row tw-w-0 tw-border-r tw-h-full ',\n },\n color: {\n weak: 'tw-border-line-weak',\n default: 'tw-border-line',\n strong: 'tw-border-line-strong',\n 'x-strong': 'tw-border-x-line-strong',\n },\n variant: {\n solid: 'tw-border-solid',\n dashed: 'tw-border-dashed',\n noline: 'tw-border-none',\n },\n },\n compoundVariants: [\n {\n direction: 'horizontal',\n padding: 'small',\n class: 'tw-my-4',\n },\n {\n direction: 'horizontal',\n padding: 'medium',\n class: 'tw-my-7',\n },\n {\n direction: 'horizontal',\n padding: 'large',\n class: 'tw-my-12',\n },\n {\n direction: 'vertical',\n padding: 'small',\n class: 'tw-mx-4',\n },\n {\n direction: 'vertical',\n padding: 'medium',\n class: 'tw-mx-7',\n },\n {\n direction: 'vertical',\n padding: 'large',\n class: 'tw-mx-12',\n },\n ],\n defaultVariants: {\n padding: 'medium',\n direction: 'horizontal',\n color: 'default',\n variant: 'solid',\n },\n});\n"],"names":["dividerStyles","sv"],"mappings":";AAIO,MAAMA,IAAgBC,EAAG;AAAA,EAC5B,MAAM;AAAA,EACN,UAAU;AAAA,IACN,WAAW;AAAA,MACP,YAAY;AAAA,MACZ,UAAU;AAAA,IACd;AAAA,IACA,OAAO;AAAA,MACH,MAAM;AAAA,MACN,SAAS;AAAA,MACT,QAAQ;AAAA,MACR,YAAY;AAAA,IAChB;AAAA,IACA,SAAS;AAAA,MACL,OAAO;AAAA,MACP,QAAQ;AAAA,MACR,QAAQ;AAAA,IAAA;AAAA,EAEhB;AAAA,EACA,kBAAkB;AAAA,IACd;AAAA,MACI,WAAW;AAAA,MACX,SAAS;AAAA,MACT,OAAO;AAAA,IACX;AAAA,IACA;AAAA,MACI,WAAW;AAAA,MACX,SAAS;AAAA,MACT,OAAO;AAAA,IACX;AAAA,IACA;AAAA,MACI,WAAW;AAAA,MACX,SAAS;AAAA,MACT,OAAO;AAAA,IACX;AAAA,IACA;AAAA,MACI,WAAW;AAAA,MACX,SAAS;AAAA,MACT,OAAO;AAAA,IACX;AAAA,IACA;AAAA,MACI,WAAW;AAAA,MACX,SAAS;AAAA,MACT,OAAO;AAAA,IACX;AAAA,IACA;AAAA,MACI,WAAW;AAAA,MACX,SAAS;AAAA,MACT,OAAO;AAAA,IAAA;AAAA,EAEf;AAAA,EACA,iBAAiB;AAAA,IACb,SAAS;AAAA,IACT,WAAW;AAAA,IACX,OAAO;AAAA,IACP,SAAS;AAAA,EAAA;AAEjB,CAAC;"}
|
|
@@ -1,22 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo as c, isValidElement as r, cloneElement as i, Children as p } from "react";
|
|
3
|
+
const o = (e) => {
|
|
4
|
+
const t = [];
|
|
5
|
+
for (const n of p.toArray(e))
|
|
6
|
+
r(n) ? t.push(n) : t.push(/* @__PURE__ */ s("span", { children: n }));
|
|
7
|
+
return t.length === 1 ? t[0] : t;
|
|
8
|
+
}, u = (e) => c(() => {
|
|
9
|
+
const t = r(e) && e.type === "a";
|
|
10
|
+
if (t) {
|
|
11
|
+
const n = i(e, {
|
|
12
|
+
children: o(e.props.children)
|
|
13
|
+
});
|
|
14
|
+
return { isLink: t, content: n };
|
|
15
|
+
}
|
|
16
|
+
return { isLink: t, content: o(e) };
|
|
17
|
+
}, [e]);
|
|
11
18
|
export {
|
|
12
|
-
|
|
13
|
-
r as default,
|
|
14
|
-
e as group,
|
|
15
|
-
u as groupHeading,
|
|
16
|
-
o as item,
|
|
17
|
-
b as slot,
|
|
18
|
-
n as subContent,
|
|
19
|
-
_ as subMenuIndicator,
|
|
20
|
-
s as subTrigger
|
|
19
|
+
u as useProcessedChildren
|
|
21
20
|
};
|
|
22
21
|
//# sourceMappingURL=fondue-components45.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components45.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"fondue-components45.js","sources":["../src/components/Dropdown/hooks/useProcessedChildren.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { Children, cloneElement, isValidElement, type ReactNode, useMemo } from 'react';\n\nconst wrapFloatingText = (children: ReactNode) => {\n const content = [];\n for (const child of Children.toArray(children)) {\n if (isValidElement(child)) {\n content.push(child);\n } else {\n content.push(<span>{child}</span>);\n }\n }\n return content.length === 1 ? content[0] : content;\n};\n\nexport const useProcessedChildren = (children: ReactNode) => {\n return useMemo(() => {\n const isLink =\n isValidElement<{\n children: ReactNode;\n }>(children) && children.type === 'a';\n\n if (isLink) {\n const element = cloneElement(children, {\n children: wrapFloatingText(children.props.children),\n });\n return { isLink, content: element };\n }\n\n return { isLink, content: wrapFloatingText(children) };\n }, [children]);\n};\n"],"names":["wrapFloatingText","children","content","child","Children","isValidElement","jsx","useProcessedChildren","useMemo","isLink","element","cloneElement"],"mappings":";;AAIA,MAAMA,IAAmB,CAACC,MAAwB;AAC9C,QAAMC,IAAU,CAAC;AACjB,aAAWC,KAASC,EAAS,QAAQH,CAAQ;AACrC,IAAAI,EAAeF,CAAK,IACpBD,EAAQ,KAAKC,CAAK,IAElBD,EAAQ,KAAK,gBAAAI,EAAC,QAAM,EAAA,UAAAH,EAAA,CAAM,CAAO;AAGzC,SAAOD,EAAQ,WAAW,IAAIA,EAAQ,CAAC,IAAIA;AAC/C,GAEaK,IAAuB,CAACN,MAC1BO,EAAQ,MAAM;AACjB,QAAMC,IACFJ,EAEGJ,CAAQ,KAAKA,EAAS,SAAS;AAEtC,MAAIQ,GAAQ;AACF,UAAAC,IAAUC,EAAaV,GAAU;AAAA,MACnC,UAAUD,EAAiBC,EAAS,MAAM,QAAQ;AAAA,IAAA,CACrD;AACM,WAAA,EAAE,QAAAQ,GAAQ,SAASC,EAAQ;AAAA,EAAA;AAGtC,SAAO,EAAE,QAAAD,GAAQ,SAAST,EAAiBC,CAAQ,EAAE;AAAA,GACtD,CAACA,CAAQ,CAAC;"}
|