@frontify/fondue-components 13.0.0 → 13.0.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.
- 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-components32.js +1 -1
- package/dist/fondue-components32.js.map +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 +6 -12
- 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-components66.js +15 -15
- 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 +74 -71
- package/dist/fondue-components9.js.map +1 -1
- package/dist/index.d.ts +10 -0
- package/dist/style.css +1 -1
- package/package.json +5 -5
|
@@ -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;"}
|
|
@@ -1,8 +1,22 @@
|
|
|
1
|
-
const o = "
|
|
2
|
-
|
|
1
|
+
const t = "_content_8bl6l_6", n = "_subContent_8bl6l_7", o = "_item_8bl6l_20", s = "_subTrigger_8bl6l_21", _ = "_subMenuIndicator_8bl6l_119", e = "_group_8bl6l_125", l = "_groupHeading_8bl6l_132", u = "_slot_8bl6l_143", b = {
|
|
2
|
+
content: t,
|
|
3
|
+
subContent: n,
|
|
4
|
+
item: o,
|
|
5
|
+
subTrigger: s,
|
|
6
|
+
subMenuIndicator: _,
|
|
7
|
+
group: e,
|
|
8
|
+
groupHeading: l,
|
|
9
|
+
slot: u
|
|
3
10
|
};
|
|
4
11
|
export {
|
|
5
|
-
t as
|
|
6
|
-
|
|
12
|
+
t as content,
|
|
13
|
+
b as default,
|
|
14
|
+
e as group,
|
|
15
|
+
l as groupHeading,
|
|
16
|
+
o as item,
|
|
17
|
+
u as slot,
|
|
18
|
+
n as subContent,
|
|
19
|
+
_ as subMenuIndicator,
|
|
20
|
+
s as subTrigger
|
|
7
21
|
};
|
|
8
22
|
//# sourceMappingURL=fondue-components46.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components46.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"fondue-components46.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
|
|
@@ -1,18 +1,8 @@
|
|
|
1
|
-
const o = "
|
|
2
|
-
root: o
|
|
3
|
-
overlay: e,
|
|
4
|
-
header: _,
|
|
5
|
-
body: t,
|
|
6
|
-
footer: d,
|
|
7
|
-
close: r
|
|
1
|
+
const o = "_root_gh190_5", t = {
|
|
2
|
+
root: o
|
|
8
3
|
};
|
|
9
4
|
export {
|
|
10
|
-
t as
|
|
11
|
-
r as close,
|
|
12
|
-
s as default,
|
|
13
|
-
d as footer,
|
|
14
|
-
_ as header,
|
|
15
|
-
e as overlay,
|
|
5
|
+
t as default,
|
|
16
6
|
o as root
|
|
17
7
|
};
|
|
18
8
|
//# sourceMappingURL=fondue-components47.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components47.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"fondue-components47.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -1,8 +1,18 @@
|
|
|
1
|
-
const o = "
|
|
2
|
-
root: o
|
|
1
|
+
const o = "_root_xbnxk_6", e = "_overlay_xbnxk_50", _ = "_header_xbnxk_67", t = "_body_xbnxk_87", n = "_footer_xbnxk_105", r = "_close_xbnxk_125", s = {
|
|
2
|
+
root: o,
|
|
3
|
+
overlay: e,
|
|
4
|
+
header: _,
|
|
5
|
+
body: t,
|
|
6
|
+
footer: n,
|
|
7
|
+
close: r
|
|
3
8
|
};
|
|
4
9
|
export {
|
|
5
|
-
t as
|
|
10
|
+
t as body,
|
|
11
|
+
r as close,
|
|
12
|
+
s as default,
|
|
13
|
+
n as footer,
|
|
14
|
+
_ as header,
|
|
15
|
+
e as overlay,
|
|
6
16
|
o as root
|
|
7
17
|
};
|
|
8
18
|
//# sourceMappingURL=fondue-components48.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components48.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"fondue-components48.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -1,22 +1,8 @@
|
|
|
1
|
-
const o = "
|
|
2
|
-
root: o
|
|
3
|
-
"size-medium": "_size-medium_1brlo_6",
|
|
4
|
-
"size-large": "_size-large_1brlo_11",
|
|
5
|
-
"size-x-large": "_size-x-large_1brlo_16",
|
|
6
|
-
"size-xx-large": "_size-xx-large_1brlo_21",
|
|
7
|
-
"weight-default": "_weight-default_1brlo_26",
|
|
8
|
-
"weight-strong": "_weight-strong_1brlo_30",
|
|
9
|
-
"color-default": "_color-default_1brlo_34",
|
|
10
|
-
"color-weak": "_color-weak_1brlo_38",
|
|
11
|
-
"color-x-weak": "_color-x-weak_1brlo_42",
|
|
12
|
-
"color-disabled": "_color-disabled_1brlo_46",
|
|
13
|
-
"color-negative": "_color-negative_1brlo_50",
|
|
14
|
-
"color-positive": "_color-positive_1brlo_54",
|
|
15
|
-
"color-warning": "_color-warning_1brlo_58",
|
|
16
|
-
"color-interactive": "_color-interactive_1brlo_62"
|
|
1
|
+
const o = "_root_umks5_5", t = {
|
|
2
|
+
root: o
|
|
17
3
|
};
|
|
18
4
|
export {
|
|
19
|
-
|
|
5
|
+
t as default,
|
|
20
6
|
o as root
|
|
21
7
|
};
|
|
22
8
|
//# sourceMappingURL=fondue-components49.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components49.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"fondue-components49.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -1,38 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}), a = t({
|
|
21
|
-
base: "tw-h-full tw-w-full",
|
|
22
|
-
variants: {
|
|
23
|
-
variant: {
|
|
24
|
-
default: "tw-bg-text-interactive",
|
|
25
|
-
positive: "tw-bg-text-positive",
|
|
26
|
-
negative: "tw-bg-text-negative"
|
|
27
|
-
},
|
|
28
|
-
indeterminateState: {
|
|
29
|
-
true: "tw-animate-loading-bar-infinite tw-origin-left-right",
|
|
30
|
-
false: "tw-transition-all tw-origin-left tw-scale-x-[--loading-bar-proportion]"
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
});
|
|
1
|
+
const o = "_root_1brlo_2", r = {
|
|
2
|
+
root: o,
|
|
3
|
+
"size-medium": "_size-medium_1brlo_6",
|
|
4
|
+
"size-large": "_size-large_1brlo_11",
|
|
5
|
+
"size-x-large": "_size-x-large_1brlo_16",
|
|
6
|
+
"size-xx-large": "_size-xx-large_1brlo_21",
|
|
7
|
+
"weight-default": "_weight-default_1brlo_26",
|
|
8
|
+
"weight-strong": "_weight-strong_1brlo_30",
|
|
9
|
+
"color-default": "_color-default_1brlo_34",
|
|
10
|
+
"color-weak": "_color-weak_1brlo_38",
|
|
11
|
+
"color-x-weak": "_color-x-weak_1brlo_42",
|
|
12
|
+
"color-disabled": "_color-disabled_1brlo_46",
|
|
13
|
+
"color-negative": "_color-negative_1brlo_50",
|
|
14
|
+
"color-positive": "_color-positive_1brlo_54",
|
|
15
|
+
"color-warning": "_color-warning_1brlo_58",
|
|
16
|
+
"color-interactive": "_color-interactive_1brlo_62"
|
|
17
|
+
};
|
|
34
18
|
export {
|
|
35
|
-
|
|
36
|
-
|
|
19
|
+
r as default,
|
|
20
|
+
o as root
|
|
37
21
|
};
|
|
38
22
|
//# sourceMappingURL=fondue-components50.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components50.js","sources":[
|
|
1
|
+
{"version":3,"file":"fondue-components50.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"}
|
|
@@ -1,10 +1,38 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { sv as t } from "./fondue-components31.js";
|
|
2
|
+
const i = t({
|
|
3
|
+
base: "tw-relative tw-w-full tw-overflow-hidden",
|
|
4
|
+
variants: {
|
|
5
|
+
rounded: {
|
|
6
|
+
true: "tw-rounded"
|
|
7
|
+
},
|
|
8
|
+
size: {
|
|
9
|
+
small: "tw-h-1",
|
|
10
|
+
medium: "tw-h-2",
|
|
11
|
+
large: "tw-h-3",
|
|
12
|
+
"x-large": "tw-h-4"
|
|
13
|
+
},
|
|
14
|
+
variant: {
|
|
15
|
+
default: "tw-bg-box-selected",
|
|
16
|
+
positive: "tw-bg-box-positive",
|
|
17
|
+
negative: "tw-bg-box-negative"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}), a = t({
|
|
21
|
+
base: "tw-h-full tw-w-full",
|
|
22
|
+
variants: {
|
|
23
|
+
variant: {
|
|
24
|
+
default: "tw-bg-text-interactive",
|
|
25
|
+
positive: "tw-bg-text-positive",
|
|
26
|
+
negative: "tw-bg-text-negative"
|
|
27
|
+
},
|
|
28
|
+
indeterminateState: {
|
|
29
|
+
true: "tw-animate-loading-bar-infinite tw-origin-left-right",
|
|
30
|
+
false: "tw-transition-all tw-origin-left tw-scale-x-[--loading-bar-proportion]"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
});
|
|
5
34
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
s as spin
|
|
35
|
+
i as loadingBarContainerStyles,
|
|
36
|
+
a as loadingBarStyles
|
|
9
37
|
};
|
|
10
38
|
//# sourceMappingURL=fondue-components51.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components51.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"fondue-components51.js","sources":["../src/components/LoadingBar/styles/loadingBarStyles.ts"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { sv } from '#/utilities/styleUtilities';\n\nexport const loadingBarContainerStyles = sv({\n base: 'tw-relative tw-w-full tw-overflow-hidden',\n variants: {\n rounded: {\n true: 'tw-rounded',\n },\n size: {\n small: 'tw-h-1',\n medium: 'tw-h-2',\n large: 'tw-h-3',\n 'x-large': 'tw-h-4',\n },\n variant: {\n default: 'tw-bg-box-selected',\n positive: 'tw-bg-box-positive',\n negative: 'tw-bg-box-negative',\n },\n },\n});\n\nexport const loadingBarStyles = sv({\n base: 'tw-h-full tw-w-full',\n variants: {\n variant: {\n default: 'tw-bg-text-interactive',\n positive: 'tw-bg-text-positive',\n negative: 'tw-bg-text-negative',\n },\n indeterminateState: {\n true: 'tw-animate-loading-bar-infinite tw-origin-left-right',\n false: 'tw-transition-all tw-origin-left tw-scale-x-[--loading-bar-proportion]',\n },\n },\n});\n"],"names":["loadingBarContainerStyles","sv","loadingBarStyles"],"mappings":";AAIO,MAAMA,IAA4BC,EAAG;AAAA,EACxC,MAAM;AAAA,EACN,UAAU;AAAA,IACN,SAAS;AAAA,MACL,MAAM;AAAA,IACV;AAAA,IACA,MAAM;AAAA,MACF,OAAO;AAAA,MACP,QAAQ;AAAA,MACR,OAAO;AAAA,MACP,WAAW;AAAA,IACf;AAAA,IACA,SAAS;AAAA,MACL,SAAS;AAAA,MACT,UAAU;AAAA,MACV,UAAU;AAAA,IAAA;AAAA,EACd;AAER,CAAC,GAEYC,IAAmBD,EAAG;AAAA,EAC/B,MAAM;AAAA,EACN,UAAU;AAAA,IACN,SAAS;AAAA,MACL,SAAS;AAAA,MACT,UAAU;AAAA,MACV,UAAU;AAAA,IACd;AAAA,IACA,oBAAoB;AAAA,MAChB,MAAM;AAAA,MACN,OAAO;AAAA,IAAA;AAAA,EACX;AAER,CAAC;"}
|
|
@@ -1,16 +1,10 @@
|
|
|
1
|
-
const
|
|
2
|
-
root:
|
|
3
|
-
|
|
4
|
-
scrollbar: t,
|
|
5
|
-
thumb: s,
|
|
6
|
-
corner: _
|
|
1
|
+
const t = "_root_t4a4t_8", o = "_spin_t4a4t_1", s = {
|
|
2
|
+
root: t,
|
|
3
|
+
spin: o
|
|
7
4
|
};
|
|
8
5
|
export {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
o as
|
|
12
|
-
t as scrollbar,
|
|
13
|
-
s as thumb,
|
|
14
|
-
r as viewport
|
|
6
|
+
s as default,
|
|
7
|
+
t as root,
|
|
8
|
+
o as spin
|
|
15
9
|
};
|
|
16
10
|
//# sourceMappingURL=fondue-components52.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components52.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"fondue-components52.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -1,8 +1,16 @@
|
|
|
1
|
-
const o = "
|
|
2
|
-
root: o
|
|
1
|
+
const o = "_root_4gn3w_4", r = "_viewport_4gn3w_12", t = "_scrollbar_4gn3w_34", _ = "_thumb_4gn3w_66", n = "_corner_4gn3w_84", c = {
|
|
2
|
+
root: o,
|
|
3
|
+
viewport: r,
|
|
4
|
+
scrollbar: t,
|
|
5
|
+
thumb: _,
|
|
6
|
+
corner: n
|
|
3
7
|
};
|
|
4
8
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
9
|
+
n as corner,
|
|
10
|
+
c as default,
|
|
11
|
+
o as root,
|
|
12
|
+
t as scrollbar,
|
|
13
|
+
_ as thumb,
|
|
14
|
+
r as viewport
|
|
7
15
|
};
|
|
8
16
|
//# sourceMappingURL=fondue-components53.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components53.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"fondue-components53.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
|
|
@@ -1,28 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
prop: e,
|
|
4
|
-
defaultProp: n,
|
|
5
|
-
onChange: s = () => {
|
|
6
|
-
}
|
|
7
|
-
}) => {
|
|
8
|
-
const [o, c] = b({ defaultProp: n, onChange: s }), t = e !== void 0, d = t ? e : o, r = f(() => s, [s]), i = a(
|
|
9
|
-
(l) => {
|
|
10
|
-
if (t) {
|
|
11
|
-
const u = typeof l == "function" ? l(e) : l;
|
|
12
|
-
u !== e && r(u);
|
|
13
|
-
} else
|
|
14
|
-
c(l);
|
|
15
|
-
},
|
|
16
|
-
[t, e, c, r]
|
|
17
|
-
);
|
|
18
|
-
return [d, i];
|
|
19
|
-
}, b = ({ defaultProp: e, onChange: n }) => {
|
|
20
|
-
const s = v(e), [o] = s, c = S(o), t = f(() => n, [n]);
|
|
21
|
-
return m(() => {
|
|
22
|
-
c.current !== o && (t == null || t(o), c.current = o);
|
|
23
|
-
}, [o, c, t]), s;
|
|
1
|
+
const o = "_root_yrjuz_5", t = {
|
|
2
|
+
root: o
|
|
24
3
|
};
|
|
25
4
|
export {
|
|
26
|
-
|
|
5
|
+
t as default,
|
|
6
|
+
o as root
|
|
27
7
|
};
|
|
28
8
|
//# sourceMappingURL=fondue-components54.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components54.js","sources":[
|
|
1
|
+
{"version":3,"file":"fondue-components54.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -1,20 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { useMemo as f, useCallback as a, useState as v, useRef as S, useEffect as m } from "react";
|
|
2
|
+
const U = ({
|
|
3
|
+
prop: e,
|
|
4
|
+
defaultProp: n,
|
|
5
|
+
onChange: s = () => {
|
|
6
|
+
}
|
|
7
|
+
}) => {
|
|
8
|
+
const [o, c] = b({ defaultProp: n, onChange: s }), t = e !== void 0, d = t ? e : o, r = f(() => s, [s]), i = a(
|
|
9
|
+
(l) => {
|
|
10
|
+
if (t) {
|
|
11
|
+
const u = typeof l == "function" ? l(e) : l;
|
|
12
|
+
u !== e && r(u);
|
|
13
|
+
} else
|
|
14
|
+
c(l);
|
|
15
|
+
},
|
|
16
|
+
[t, e, c, r]
|
|
17
|
+
);
|
|
18
|
+
return [d, i];
|
|
19
|
+
}, b = ({ defaultProp: e, onChange: n }) => {
|
|
20
|
+
const s = v(e), [o] = s, c = S(o), t = f(() => n, [n]);
|
|
21
|
+
return m(() => {
|
|
22
|
+
c.current !== o && (t == null || t(o), c.current = o);
|
|
23
|
+
}, [o, c, t]), s;
|
|
9
24
|
};
|
|
10
25
|
export {
|
|
11
|
-
|
|
12
|
-
l as default,
|
|
13
|
-
e as item,
|
|
14
|
-
i as itemLabel,
|
|
15
|
-
o as itemLabelActive,
|
|
16
|
-
a as itemLabelInactive,
|
|
17
|
-
t as root,
|
|
18
|
-
c as separator
|
|
26
|
+
U as useControllableState
|
|
19
27
|
};
|
|
20
28
|
//# sourceMappingURL=fondue-components55.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components55.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"fondue-components55.js","sources":["../src/hooks/useControllableState.ts"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { type Dispatch, type SetStateAction, useCallback, useMemo, useState, useRef, useEffect } from 'react';\n\n// Radix UI handy hook for handling controlled and uncontrolled state\n// Source: https://github.com/radix-ui/primitives/blob/main/packages/react/use-controllable-state/src/useControllableState.tsx\n\ntype UseControllableStateParams<TValue> = {\n prop?: TValue;\n defaultProp?: TValue;\n onChange?: (state: TValue) => void;\n};\n\ntype SetStateFn<T> = (prevState?: T) => T;\n\nexport const useControllableState = <TValue>({\n prop,\n defaultProp,\n onChange = () => {},\n}: UseControllableStateParams<TValue>) => {\n const [uncontrolledProp, setUncontrolledProp] = useUncontrolledState({ defaultProp, onChange });\n const isControlled = prop !== undefined;\n const value = isControlled ? prop : uncontrolledProp;\n const handleChange = useMemo(() => onChange, [onChange]);\n\n const setValue: Dispatch<SetStateAction<TValue | undefined>> = useCallback(\n (nextValue) => {\n if (isControlled) {\n const setter = nextValue as SetStateFn<TValue>;\n const value = typeof nextValue === 'function' ? setter(prop) : nextValue;\n if (value !== prop) {\n handleChange(value as TValue);\n }\n } else {\n setUncontrolledProp(nextValue);\n }\n },\n [isControlled, prop, setUncontrolledProp, handleChange],\n );\n\n return [value, setValue] as const;\n};\n\nconst useUncontrolledState = <TValue>({ defaultProp, onChange }: Omit<UseControllableStateParams<TValue>, 'prop'>) => {\n const uncontrolledState = useState<TValue | undefined>(defaultProp);\n const [value] = uncontrolledState;\n const prevValueRef = useRef(value);\n const handleChange = useMemo(() => onChange, [onChange]);\n\n useEffect(() => {\n if (prevValueRef.current !== value) {\n handleChange?.(value as TValue);\n prevValueRef.current = value;\n }\n }, [value, prevValueRef, handleChange]);\n\n return uncontrolledState;\n};\n"],"names":["useControllableState","prop","defaultProp","onChange","uncontrolledProp","setUncontrolledProp","useUncontrolledState","isControlled","value","handleChange","useMemo","setValue","useCallback","nextValue","uncontrolledState","useState","prevValueRef","useRef","useEffect"],"mappings":";AAeO,MAAMA,IAAuB,CAAS;AAAA,EACzC,MAAAC;AAAA,EACA,aAAAC;AAAA,EACA,UAAAC,IAAW,MAAM;AAAA,EAAA;AACrB,MAA0C;AAChC,QAAA,CAACC,GAAkBC,CAAmB,IAAIC,EAAqB,EAAE,aAAAJ,GAAa,UAAAC,GAAU,GACxFI,IAAeN,MAAS,QACxBO,IAAQD,IAAeN,IAAOG,GAC9BK,IAAeC,EAAQ,MAAMP,GAAU,CAACA,CAAQ,CAAC,GAEjDQ,IAAyDC;AAAA,IAC3D,CAACC,MAAc;AACX,UAAIN,GAAc;AAEd,cAAMC,IAAQ,OAAOK,KAAc,aADpBA,EACwCZ,CAAI,IAAIY;AAC/D,QAAIL,MAAUP,KACVQ,EAAaD,CAAe;AAAA,MAChC;AAEA,QAAAH,EAAoBQ,CAAS;AAAA,IAErC;AAAA,IACA,CAACN,GAAcN,GAAMI,GAAqBI,CAAY;AAAA,EAC1D;AAEO,SAAA,CAACD,GAAOG,CAAQ;AAC3B,GAEML,IAAuB,CAAS,EAAE,aAAAJ,GAAa,UAAAC,QAAiE;AAC5G,QAAAW,IAAoBC,EAA6Bb,CAAW,GAC5D,CAACM,CAAK,IAAIM,GACVE,IAAeC,EAAOT,CAAK,GAC3BC,IAAeC,EAAQ,MAAMP,GAAU,CAACA,CAAQ,CAAC;AAEvD,SAAAe,EAAU,MAAM;AACR,IAAAF,EAAa,YAAYR,MACzBC,KAAA,QAAAA,EAAeD,IACfQ,EAAa,UAAUR;AAAA,EAE5B,GAAA,CAACA,GAAOQ,GAAcP,CAAY,CAAC,GAE/BK;AACX;"}
|
|
@@ -1,145 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import { useSelectData as Y } from "./fondue-components61.js";
|
|
10
|
-
const I = ({
|
|
11
|
-
children: N,
|
|
12
|
-
onSelect: n,
|
|
13
|
-
value: S,
|
|
14
|
-
defaultValue: O,
|
|
15
|
-
placeholder: R = "",
|
|
16
|
-
status: s = "neutral",
|
|
17
|
-
disabled: m,
|
|
18
|
-
"aria-label": B,
|
|
19
|
-
"data-test-id": l = "fondue-select-combobox",
|
|
20
|
-
alignMenu: M = "start",
|
|
21
|
-
side: F = "bottom"
|
|
22
|
-
}, L) => {
|
|
23
|
-
const { inputSlots: P, menuSlots: k, items: i, filterText: v, clearButton: g, getItemByValue: p, setFilterText: y } = Y(N), [D, f] = Q(!1), {
|
|
24
|
-
getInputProps: c,
|
|
25
|
-
getToggleButtonProps: H,
|
|
26
|
-
getMenuProps: T,
|
|
27
|
-
getItemProps: V,
|
|
28
|
-
reset: h,
|
|
29
|
-
selectedItem: r,
|
|
30
|
-
isOpen: z,
|
|
31
|
-
highlightedIndex: j,
|
|
32
|
-
inputValue: u
|
|
33
|
-
} = J({
|
|
34
|
-
items: i,
|
|
35
|
-
selectedItem: p(S),
|
|
36
|
-
defaultSelectedItem: p(O),
|
|
37
|
-
defaultHighlightedIndex: 0,
|
|
38
|
-
onSelectedItemChange: ({ selectedItem: e }) => {
|
|
39
|
-
n == null || n((e == null ? void 0 : e.value) ?? null);
|
|
40
|
-
},
|
|
41
|
-
onInputValueChange: ({ inputValue: e }) => {
|
|
42
|
-
y(e);
|
|
43
|
-
},
|
|
44
|
-
onIsOpenChange: () => {
|
|
45
|
-
f(!1);
|
|
46
|
-
},
|
|
47
|
-
onHighlightedIndexChange: () => {
|
|
48
|
-
f(!0);
|
|
49
|
-
},
|
|
50
|
-
itemToString: (e) => e ? e.label : ""
|
|
51
|
-
}), a = U(!1), b = W(
|
|
52
|
-
() => !i.find((e) => e.label.toLowerCase().includes(u.toLowerCase())),
|
|
53
|
-
[u, i]
|
|
54
|
-
), $ = (e) => {
|
|
55
|
-
var C, x;
|
|
56
|
-
e.target.dataset.showFocusRing = "false", a.current = !1, (r == null ? void 0 : r.label.toLocaleLowerCase()) !== u.toLocaleLowerCase() && h(), c().onBlur && ((x = (C = c()).onBlur) == null || x.call(C, e));
|
|
57
|
-
};
|
|
58
|
-
return /* @__PURE__ */ d(w.Root, { open: z, children: [
|
|
59
|
-
/* @__PURE__ */ t(w.Anchor, { asChild: !0, children: /* @__PURE__ */ d("div", { ref: L, className: o.root, "data-status": b ? "error" : s, children: [
|
|
60
|
-
/* @__PURE__ */ t(
|
|
61
|
-
"input",
|
|
62
|
-
{
|
|
63
|
-
...c({
|
|
64
|
-
"aria-label": B
|
|
65
|
-
}),
|
|
66
|
-
"data-test-id": l,
|
|
67
|
-
placeholder: R,
|
|
68
|
-
className: o.input,
|
|
69
|
-
disabled: m,
|
|
70
|
-
onMouseDown: (e) => {
|
|
71
|
-
a.current = !0, e.currentTarget.dataset.showFocusRing = "false";
|
|
72
|
-
},
|
|
73
|
-
onFocus: (e) => {
|
|
74
|
-
a.current || (e.target.dataset.showFocusRing = "true");
|
|
75
|
-
},
|
|
76
|
-
onBlur: $
|
|
77
|
-
}
|
|
78
|
-
),
|
|
79
|
-
P,
|
|
80
|
-
g && /* @__PURE__ */ t(
|
|
81
|
-
G,
|
|
82
|
-
{
|
|
83
|
-
onClick: (e) => {
|
|
84
|
-
e.stopPropagation(), h();
|
|
85
|
-
},
|
|
86
|
-
className: o.clear,
|
|
87
|
-
role: "button",
|
|
88
|
-
children: g
|
|
89
|
-
}
|
|
90
|
-
),
|
|
91
|
-
/* @__PURE__ */ d("div", { className: o.icons, children: [
|
|
92
|
-
/* @__PURE__ */ t(
|
|
93
|
-
"button",
|
|
94
|
-
{
|
|
95
|
-
...H(),
|
|
96
|
-
type: "button",
|
|
97
|
-
"aria-label": "toggle menu",
|
|
98
|
-
disabled: m,
|
|
99
|
-
onMouseDown: () => {
|
|
100
|
-
a.current = !0;
|
|
101
|
-
},
|
|
102
|
-
children: /* @__PURE__ */ t(A, { size: 16, className: o.caret })
|
|
103
|
-
}
|
|
104
|
-
),
|
|
105
|
-
s === "success" ? /* @__PURE__ */ t(
|
|
106
|
-
E,
|
|
107
|
-
{
|
|
108
|
-
size: 16,
|
|
109
|
-
className: o.iconSuccess,
|
|
110
|
-
"data-test-id": `${l}-success-icon`
|
|
111
|
-
}
|
|
112
|
-
) : null,
|
|
113
|
-
b || s === "error" ? /* @__PURE__ */ t(
|
|
114
|
-
q,
|
|
115
|
-
{
|
|
116
|
-
size: 16,
|
|
117
|
-
className: o.iconError,
|
|
118
|
-
"data-test-id": `${l}-error-icon`
|
|
119
|
-
}
|
|
120
|
-
) : null
|
|
121
|
-
] })
|
|
122
|
-
] }) }),
|
|
123
|
-
/* @__PURE__ */ t(
|
|
124
|
-
X,
|
|
125
|
-
{
|
|
126
|
-
align: M,
|
|
127
|
-
side: F,
|
|
128
|
-
highlightedIndex: j,
|
|
129
|
-
filterText: v,
|
|
130
|
-
getMenuProps: T,
|
|
131
|
-
getItemProps: V,
|
|
132
|
-
selectedItem: r,
|
|
133
|
-
hasInteractedSinceOpening: D,
|
|
134
|
-
children: k
|
|
135
|
-
}
|
|
136
|
-
)
|
|
137
|
-
] });
|
|
1
|
+
const t = "_root_1hloi_5", e = "_item_1hloi_26", i = "_itemLabel_1hloi_46", o = "_itemLabelActive_1hloi_66", a = "_itemLabelInactive_1hloi_96", _ = "_activeIndicator_1hloi_126", c = "_separator_1hloi_223", l = {
|
|
2
|
+
root: t,
|
|
3
|
+
item: e,
|
|
4
|
+
itemLabel: i,
|
|
5
|
+
itemLabelActive: o,
|
|
6
|
+
itemLabelInactive: a,
|
|
7
|
+
activeIndicator: _,
|
|
8
|
+
separator: c
|
|
138
9
|
};
|
|
139
|
-
I.displayName = "Select.Combobox";
|
|
140
|
-
const le = K(I);
|
|
141
10
|
export {
|
|
142
|
-
|
|
143
|
-
|
|
11
|
+
_ as activeIndicator,
|
|
12
|
+
l as default,
|
|
13
|
+
e as item,
|
|
14
|
+
i as itemLabel,
|
|
15
|
+
o as itemLabelActive,
|
|
16
|
+
a as itemLabelInactive,
|
|
17
|
+
t as root,
|
|
18
|
+
c as separator
|
|
144
19
|
};
|
|
145
20
|
//# sourceMappingURL=fondue-components56.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components56.js","sources":["../src/components/Select/Combobox.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { IconCaretDown, IconCheckMark, IconExclamationMarkTriangle } from '@frontify/fondue-icons';\nimport * as RadixPopover from '@radix-ui/react-popover';\nimport { Slot as RadixSlot } from '@radix-ui/react-slot';\nimport { useCombobox } from 'downshift';\nimport { forwardRef, useMemo, useRef, useState, type FocusEvent, type ForwardedRef, type ReactNode } from 'react';\n\nimport { SelectMenu } from './SelectMenu';\nimport styles from './styles/select.module.scss';\nimport { useSelectData } from './useSelectData';\n\nexport type ComboboxProps = {\n /**\n * Children of the Combobox component. This can contain the `Select.Slot` components for the label, decorators, clear action and menu.\n */\n children?: ReactNode;\n /**\n * Callback function that is called when an item is selected.\n */\n onSelect?: (selectedValue: string | null) => void;\n /**\n * The active value in the combobox component. This is used to control the combobox externally.\n */\n value?: string | null;\n /**\n * The default value of the combobox component. Used for uncontrolled usages.\n */\n defaultValue?: string;\n /**\n * The placeholder in the combobox component.\n */\n placeholder?: string;\n /**\n * Status of the text input\n * @default \"neutral\"\n */\n status?: 'neutral' | 'success' | 'error';\n /**\n * Disables the combobox component.\n */\n disabled?: boolean;\n /**\n * The alignment of the menu.\n * @default \"start\"\n */\n alignMenu?: 'start' | 'center' | 'end' /**\n * Defines the preferred side of the select. It will not be respected if there are collisions with the viewport.\n * @default \"bottom\"\n */;\n side?: 'left' | 'right' | 'bottom' | 'top';\n /**\n * The aria label of the combobox component.\n */\n 'aria-label'?: string;\n /**\n * The data test id of the select component.\n */\n 'data-test-id'?: string;\n};\n\nexport const SelectCombobox = (\n {\n children,\n onSelect,\n value,\n defaultValue,\n placeholder = '',\n status = 'neutral',\n disabled,\n 'aria-label': ariaLabel,\n 'data-test-id': dataTestId = 'fondue-select-combobox',\n alignMenu = 'start',\n side = 'bottom',\n }: ComboboxProps,\n forwardedRef: ForwardedRef<HTMLDivElement>,\n) => {\n const { inputSlots, menuSlots, items, filterText, clearButton, getItemByValue, setFilterText } =\n useSelectData(children);\n\n const [hasInteractedSinceOpening, setHasInteractedSinceOpening] = useState(false);\n\n const {\n getInputProps,\n getToggleButtonProps,\n getMenuProps,\n getItemProps,\n reset,\n selectedItem,\n isOpen,\n highlightedIndex,\n inputValue,\n } = useCombobox({\n items,\n selectedItem: getItemByValue(value),\n defaultSelectedItem: getItemByValue(defaultValue),\n defaultHighlightedIndex: 0,\n onSelectedItemChange: ({ selectedItem }) => {\n onSelect?.(selectedItem?.value ?? null);\n },\n onInputValueChange: ({ inputValue }) => {\n setFilterText(inputValue);\n },\n onIsOpenChange: () => {\n setHasInteractedSinceOpening(false);\n },\n onHighlightedIndexChange: () => {\n setHasInteractedSinceOpening(true);\n },\n itemToString: (item) => (item ? item.label : ''),\n });\n\n const wasClicked = useRef(false);\n\n const valueInvalid = useMemo(\n () => !items.find((item) => item.label.toLowerCase().includes(inputValue.toLowerCase())),\n [inputValue, items],\n );\n\n const onBlurHandler = (blurEvent: FocusEvent<HTMLInputElement, Element>) => {\n blurEvent.target.dataset.showFocusRing = 'false';\n wasClicked.current = false;\n\n const selectedItemNullOrOutdated = selectedItem?.label.toLocaleLowerCase() !== inputValue.toLocaleLowerCase();\n\n if (selectedItemNullOrOutdated) {\n // if there is no selection or\n // the existing selected value is not the same as the input value (old),\n // reset the input\n reset();\n }\n\n if (getInputProps().onBlur) {\n getInputProps().onBlur?.(blurEvent);\n }\n };\n\n return (\n <RadixPopover.Root open={isOpen}>\n <RadixPopover.Anchor asChild>\n <div ref={forwardedRef} className={styles.root} data-status={valueInvalid ? 'error' : status}>\n <input\n {...getInputProps({\n 'aria-label': ariaLabel,\n })}\n data-test-id={dataTestId}\n placeholder={placeholder}\n className={styles.input}\n disabled={disabled}\n onMouseDown={(mouseEvent) => {\n wasClicked.current = true;\n mouseEvent.currentTarget.dataset.showFocusRing = 'false';\n }}\n onFocus={(focusEvent) => {\n if (!wasClicked.current) {\n focusEvent.target.dataset.showFocusRing = 'true';\n }\n }}\n onBlur={onBlurHandler}\n />\n {inputSlots}\n {clearButton && (\n <RadixSlot\n onClick={(event) => {\n event.stopPropagation();\n reset();\n }}\n className={styles.clear}\n role=\"button\"\n >\n {clearButton}\n </RadixSlot>\n )}\n <div className={styles.icons}>\n <button\n {...getToggleButtonProps()}\n type=\"button\"\n aria-label=\"toggle menu\"\n disabled={disabled}\n onMouseDown={() => {\n wasClicked.current = true;\n }}\n >\n <IconCaretDown size={16} className={styles.caret} />\n </button>\n {status === 'success' ? (\n <IconCheckMark\n size={16}\n className={styles.iconSuccess}\n data-test-id={`${dataTestId}-success-icon`}\n />\n ) : null}\n {valueInvalid || status === 'error' ? (\n <IconExclamationMarkTriangle\n size={16}\n className={styles.iconError}\n data-test-id={`${dataTestId}-error-icon`}\n />\n ) : null}\n </div>\n </div>\n </RadixPopover.Anchor>\n\n <SelectMenu\n align={alignMenu}\n side={side}\n highlightedIndex={highlightedIndex}\n filterText={filterText}\n getMenuProps={getMenuProps}\n getItemProps={getItemProps}\n selectedItem={selectedItem}\n hasInteractedSinceOpening={hasInteractedSinceOpening}\n >\n {menuSlots}\n </SelectMenu>\n </RadixPopover.Root>\n );\n};\nSelectCombobox.displayName = 'Select.Combobox';\n\nexport const ForwardedRefCombobox = forwardRef<HTMLDivElement, ComboboxProps>(SelectCombobox);\n"],"names":["SelectCombobox","children","onSelect","value","defaultValue","placeholder","status","disabled","ariaLabel","dataTestId","alignMenu","side","forwardedRef","inputSlots","menuSlots","items","filterText","clearButton","getItemByValue","setFilterText","useSelectData","hasInteractedSinceOpening","setHasInteractedSinceOpening","useState","getInputProps","getToggleButtonProps","getMenuProps","getItemProps","reset","selectedItem","isOpen","highlightedIndex","inputValue","useCombobox","item","wasClicked","useRef","valueInvalid","useMemo","onBlurHandler","blurEvent","_b","_a","jsxs","RadixPopover","jsx","styles","mouseEvent","focusEvent","RadixSlot","event","IconCaretDown","IconCheckMark","IconExclamationMarkTriangle","SelectMenu","ForwardedRefCombobox","forwardRef"],"mappings":";;;;;;;;;AA6DO,MAAMA,IAAiB,CAC1B;AAAA,EACI,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,OAAAC;AAAA,EACA,cAA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