@frontify/fondue-components 10.0.1 → 12.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 +31 -27
- package/dist/fondue-components.js.map +1 -1
- package/dist/fondue-components10.js +2 -2
- package/dist/fondue-components10.js.map +1 -1
- package/dist/fondue-components11.js +52 -48
- package/dist/fondue-components11.js.map +1 -1
- package/dist/fondue-components12.js +11 -10
- package/dist/fondue-components12.js.map +1 -1
- package/dist/fondue-components13.js +1 -1
- package/dist/fondue-components14.js +1 -1
- package/dist/fondue-components15.js +1 -1
- package/dist/fondue-components16.js +11 -10
- package/dist/fondue-components16.js.map +1 -1
- package/dist/fondue-components17.js +2 -2
- package/dist/fondue-components18.js +62 -60
- package/dist/fondue-components18.js.map +1 -1
- package/dist/fondue-components19.js +1 -1
- package/dist/fondue-components20.js +2 -2
- package/dist/fondue-components21.js +60 -60
- package/dist/fondue-components22.js +3 -3
- package/dist/fondue-components23.js +2 -2
- package/dist/fondue-components24.js +36 -32
- package/dist/fondue-components24.js.map +1 -1
- package/dist/fondue-components25.js +7 -32
- package/dist/fondue-components25.js.map +1 -1
- package/dist/fondue-components26.js +32 -5
- package/dist/fondue-components26.js.map +1 -1
- package/dist/fondue-components27.js +5 -12
- package/dist/fondue-components27.js.map +1 -1
- package/dist/fondue-components28.js +10 -153
- package/dist/fondue-components28.js.map +1 -1
- package/dist/fondue-components29.js +59 -22
- package/dist/fondue-components29.js.map +1 -1
- package/dist/fondue-components3.js +11 -10
- package/dist/fondue-components3.js.map +1 -1
- package/dist/fondue-components30.js +17 -17
- package/dist/fondue-components30.js.map +1 -1
- package/dist/fondue-components31.js +112 -15
- package/dist/fondue-components31.js.map +1 -1
- package/dist/fondue-components32.js +19 -30
- package/dist/fondue-components32.js.map +1 -1
- package/dist/fondue-components33.js +32 -37
- package/dist/fondue-components33.js.map +1 -1
- package/dist/fondue-components34.js +34 -127
- package/dist/fondue-components34.js.map +1 -1
- package/dist/fondue-components35.js +129 -20
- package/dist/fondue-components35.js.map +1 -1
- package/dist/fondue-components36.js +21 -45
- package/dist/fondue-components36.js.map +1 -1
- package/dist/fondue-components37.js +45 -13
- package/dist/fondue-components37.js.map +1 -1
- package/dist/fondue-components38.js +13 -15
- package/dist/fondue-components38.js.map +1 -1
- package/dist/fondue-components39.js +15 -60
- package/dist/fondue-components39.js.map +1 -1
- package/dist/fondue-components4.js +18 -17
- package/dist/fondue-components4.js.map +1 -1
- package/dist/fondue-components40.js +59 -17
- package/dist/fondue-components40.js.map +1 -1
- package/dist/fondue-components41.js +18 -17
- package/dist/fondue-components41.js.map +1 -1
- package/dist/fondue-components42.js +16 -4
- package/dist/fondue-components42.js.map +1 -1
- package/dist/fondue-components43.js +3 -13
- package/dist/fondue-components43.js.map +1 -1
- package/dist/fondue-components44.js +13 -3
- package/dist/fondue-components44.js.map +1 -1
- package/dist/fondue-components45.js +5 -35
- package/dist/fondue-components45.js.map +1 -1
- package/dist/fondue-components46.js +35 -13
- package/dist/fondue-components46.js.map +1 -1
- package/dist/fondue-components47.js +12 -4
- package/dist/fondue-components47.js.map +1 -1
- package/dist/fondue-components48.js +4 -24
- package/dist/fondue-components48.js.map +1 -1
- package/dist/fondue-components49.js +24 -16
- package/dist/fondue-components49.js.map +1 -1
- package/dist/fondue-components5.js +2 -2
- package/dist/fondue-components50.js +16 -139
- package/dist/fondue-components50.js.map +1 -1
- package/dist/fondue-components51.js +142 -16
- package/dist/fondue-components51.js.map +1 -1
- package/dist/fondue-components52.js +16 -70
- package/dist/fondue-components52.js.map +1 -1
- package/dist/fondue-components53.js +73 -8
- package/dist/fondue-components53.js.map +1 -1
- package/dist/fondue-components54.js +8 -33
- package/dist/fondue-components54.js.map +1 -1
- package/dist/fondue-components55.js +32 -48
- package/dist/fondue-components55.js.map +1 -1
- package/dist/fondue-components56.js +48 -10
- package/dist/fondue-components56.js.map +1 -1
- package/dist/fondue-components57.js +10 -12
- package/dist/fondue-components57.js.map +1 -1
- package/dist/fondue-components58.js +12 -7
- package/dist/fondue-components58.js.map +1 -1
- package/dist/fondue-components59.js +7 -12
- package/dist/fondue-components59.js.map +1 -1
- package/dist/fondue-components6.js +5 -5
- package/dist/fondue-components60.js +12 -20
- package/dist/fondue-components60.js.map +1 -1
- package/dist/fondue-components61.js +21 -15
- package/dist/fondue-components61.js.map +1 -1
- package/dist/fondue-components62.js +14 -52
- package/dist/fondue-components62.js.map +1 -1
- package/dist/fondue-components63.js +52 -14
- package/dist/fondue-components63.js.map +1 -1
- package/dist/fondue-components64.js +14 -17
- package/dist/fondue-components64.js.map +1 -1
- package/dist/fondue-components65.js +16 -5
- package/dist/fondue-components65.js.map +1 -1
- package/dist/fondue-components66.js +7 -2
- package/dist/fondue-components66.js.map +1 -1
- package/dist/fondue-components67.js +6 -14
- package/dist/fondue-components67.js.map +1 -1
- package/dist/fondue-components68.js +2 -39
- package/dist/fondue-components68.js.map +1 -1
- package/dist/fondue-components69.js +18 -0
- package/dist/fondue-components69.js.map +1 -0
- package/dist/fondue-components7.js +74 -70
- package/dist/fondue-components7.js.map +1 -1
- package/dist/fondue-components70.js +42 -0
- package/dist/fondue-components70.js.map +1 -0
- package/dist/fondue-components8.js +2 -2
- package/dist/fondue-components9.js +80 -75
- package/dist/fondue-components9.js.map +1 -1
- package/dist/index.d.ts +45 -11
- package/dist/style.css +1 -1
- package/package.json +55 -56
|
@@ -1,56 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
function l(t, r) {
|
|
2
|
+
const n = 'tr[tabindex="0"]', e = t.closest("table");
|
|
3
|
+
if (!e)
|
|
4
|
+
return null;
|
|
5
|
+
const o = Array.from(e.querySelectorAll(n)), c = o.indexOf(t) + (r === "ArrowUp" ? -1 : 1);
|
|
6
|
+
return c >= 0 && c < o.length ? o[c] : null;
|
|
7
|
+
}
|
|
8
|
+
function u(t) {
|
|
9
|
+
const r = t.target, n = r.closest("tr");
|
|
10
|
+
if (!n || r !== n || !["ArrowUp", "ArrowDown"].includes(t.key))
|
|
9
11
|
return;
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
activeTab: e
|
|
14
|
-
}) => {
|
|
15
|
-
const s = v(null), f = v(null), [o, c] = w([]), [d, u] = w([]);
|
|
16
|
-
return W(() => {
|
|
17
|
-
const t = s.current, n = t == null ? void 0 : t.querySelector('[data-state="active"]');
|
|
18
|
-
n instanceof HTMLButtonElement && t instanceof HTMLDivElement && (a(t, f), n.scrollIntoView({ behavior: "smooth", block: "nearest", inline: "end" }));
|
|
19
|
-
}, [e, f]), p(() => {
|
|
20
|
-
var l;
|
|
21
|
-
const t = s.current, n = t == null ? void 0 : t.querySelector('[data-state="active"]');
|
|
22
|
-
if (t instanceof HTMLDivElement && n instanceof HTMLButtonElement) {
|
|
23
|
-
a(t, f);
|
|
24
|
-
const r = new MutationObserver(() => {
|
|
25
|
-
n.scrollIntoView({ behavior: "instant", block: "nearest", inline: "end" }), a(t, f);
|
|
26
|
-
});
|
|
27
|
-
t.parentNode && r.observe(t.parentNode, { childList: !0 });
|
|
28
|
-
const h = new IntersectionObserver(
|
|
29
|
-
() => {
|
|
30
|
-
u(b(o, t)), a(t, f);
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
root: t,
|
|
34
|
-
threshold: 1
|
|
35
|
-
}
|
|
36
|
-
);
|
|
37
|
-
for (const i of o)
|
|
38
|
-
(l = i.ref) != null && l.current && h.observe(i.ref.current);
|
|
39
|
-
return () => {
|
|
40
|
-
h.disconnect(), r.disconnect();
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
}, [o, s, f]), {
|
|
44
|
-
triggerListRef: s,
|
|
45
|
-
activeIndicatorRef: f,
|
|
46
|
-
triggersOutOfView: d,
|
|
47
|
-
triggers: o,
|
|
48
|
-
addTrigger: (t) => {
|
|
49
|
-
c((n) => [...n, t]);
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
};
|
|
12
|
+
const e = l(n, t.key);
|
|
13
|
+
e && (t.preventDefault(), e.focus());
|
|
14
|
+
}
|
|
53
15
|
export {
|
|
54
|
-
|
|
16
|
+
u as handleKeyDown
|
|
55
17
|
};
|
|
56
18
|
//# sourceMappingURL=fondue-components62.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components62.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"fondue-components62.js","sources":["../src/components/Table/utils.ts"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { type KeyboardEvent } from 'react';\n\nfunction getAdjacentRow(currentRow: HTMLElement, key: 'ArrowUp' | 'ArrowDown'): HTMLElement | null {\n const selector = 'tr[tabindex=\"0\"]';\n const table = currentRow.closest('table');\n if (!table) {\n return null;\n }\n\n const rows = Array.from(table.querySelectorAll(selector));\n const currentIndex = rows.indexOf(currentRow);\n const nextIndex = currentIndex + (key === 'ArrowUp' ? -1 : 1);\n\n return nextIndex >= 0 && nextIndex < rows.length ? (rows[nextIndex] as HTMLElement) : null;\n}\n\nexport function handleKeyDown(event: KeyboardEvent<HTMLTableElement>) {\n const target = event.target as HTMLElement;\n const currentRow = target.closest('tr');\n\n if (!currentRow || target !== currentRow || !['ArrowUp', 'ArrowDown'].includes(event.key)) {\n return;\n }\n\n const nextRow = getAdjacentRow(currentRow, event.key as 'ArrowUp' | 'ArrowDown');\n if (nextRow) {\n event.preventDefault();\n nextRow.focus();\n }\n}\n"],"names":["getAdjacentRow","currentRow","key","selector","table","rows","nextIndex","handleKeyDown","event","target","nextRow"],"mappings":"AAIA,SAASA,EAAeC,GAAyBC,GAAkD;AAC/F,QAAMC,IAAW,oBACXC,IAAQH,EAAW,QAAQ,OAAO;AACxC,MAAI,CAACG;AACM,WAAA;AAGX,QAAMC,IAAO,MAAM,KAAKD,EAAM,iBAAiBD,CAAQ,CAAC,GAElDG,IADeD,EAAK,QAAQJ,CAAU,KACVC,MAAQ,YAAY,KAAK;AAE3D,SAAOI,KAAa,KAAKA,IAAYD,EAAK,SAAUA,EAAKC,CAAS,IAAoB;AAC1F;AAEO,SAASC,EAAcC,GAAwC;AAClE,QAAMC,IAASD,EAAM,QACfP,IAAaQ,EAAO,QAAQ,IAAI;AAEtC,MAAI,CAACR,KAAcQ,MAAWR,KAAc,CAAC,CAAC,WAAW,WAAW,EAAE,SAASO,EAAM,GAAG;AACpF;AAGJ,QAAME,IAAUV,EAAeC,GAAYO,EAAM,GAA8B;AAC/E,EAAIE,MACAF,EAAM,eAAe,GACrBE,EAAQ,MAAM;AAEtB;"}
|
|
@@ -1,18 +1,56 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { useRef as v, useState as w, useEffect as W, useLayoutEffect as p } from "react";
|
|
2
|
+
const b = (e, s) => e.filter((f) => {
|
|
3
|
+
var c;
|
|
4
|
+
const o = (c = f.ref) == null ? void 0 : c.current;
|
|
5
|
+
return o ? o.offsetLeft + o.offsetWidth > (s == null ? void 0 : s.scrollLeft) + s.offsetWidth || o.offsetLeft - s.scrollLeft < 0 : !1;
|
|
6
|
+
}), a = (e, s) => {
|
|
7
|
+
const f = s.current, o = e == null ? void 0 : e.querySelector('[data-state="active"]');
|
|
8
|
+
if (!e || !(o instanceof HTMLButtonElement) || !(f instanceof HTMLSpanElement))
|
|
9
|
+
return;
|
|
10
|
+
const c = (e == null ? void 0 : e.scrollLeft) > (o == null ? void 0 : o.offsetLeft), d = (o == null ? void 0 : o.offsetLeft) + (o == null ? void 0 : o.offsetWidth) > (e == null ? void 0 : e.offsetWidth);
|
|
11
|
+
c ? (e.offsetWidth > o.offsetWidth + o.offsetLeft ? f.style.left = `${o.offsetLeft}px` : f.style.left = `${e.offsetWidth - o.offsetWidth}px`, f.style.width = `${o == null ? void 0 : o.offsetWidth}px`) : d ? (f.style.left = `${e.clientWidth - o.offsetWidth}px`, f.style.width = `${o.offsetWidth}px`) : (f.style.left = `${o.offsetLeft}px`, f.style.width = `${o.offsetWidth}px`);
|
|
12
|
+
}, O = ({
|
|
13
|
+
activeTab: e
|
|
14
|
+
}) => {
|
|
15
|
+
const s = v(null), f = v(null), [o, c] = w([]), [d, u] = w([]);
|
|
16
|
+
return W(() => {
|
|
17
|
+
const t = s.current, n = t == null ? void 0 : t.querySelector('[data-state="active"]');
|
|
18
|
+
n instanceof HTMLButtonElement && t instanceof HTMLDivElement && (a(t, f), n.scrollIntoView({ behavior: "smooth", block: "nearest", inline: "end" }));
|
|
19
|
+
}, [e, f]), p(() => {
|
|
20
|
+
var l;
|
|
21
|
+
const t = s.current, n = t == null ? void 0 : t.querySelector('[data-state="active"]');
|
|
22
|
+
if (t instanceof HTMLDivElement && n instanceof HTMLButtonElement) {
|
|
23
|
+
a(t, f);
|
|
24
|
+
const r = new MutationObserver(() => {
|
|
25
|
+
n.scrollIntoView({ behavior: "instant", block: "nearest", inline: "end" }), a(t, f);
|
|
26
|
+
});
|
|
27
|
+
t.parentNode && r.observe(t.parentNode, { childList: !0 });
|
|
28
|
+
const h = new IntersectionObserver(
|
|
29
|
+
() => {
|
|
30
|
+
u(b(o, t)), a(t, f);
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
root: t,
|
|
34
|
+
threshold: 1
|
|
35
|
+
}
|
|
36
|
+
);
|
|
37
|
+
for (const i of o)
|
|
38
|
+
(l = i.ref) != null && l.current && h.observe(i.ref.current);
|
|
39
|
+
return () => {
|
|
40
|
+
h.disconnect(), r.disconnect();
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
}, [o, s, f]), {
|
|
44
|
+
triggerListRef: s,
|
|
45
|
+
activeIndicatorRef: f,
|
|
46
|
+
triggersOutOfView: d,
|
|
47
|
+
triggers: o,
|
|
48
|
+
addTrigger: (t) => {
|
|
49
|
+
c((n) => [...n, t]);
|
|
50
|
+
}
|
|
51
|
+
};
|
|
8
52
|
};
|
|
9
53
|
export {
|
|
10
|
-
|
|
11
|
-
i as content,
|
|
12
|
-
g as default,
|
|
13
|
-
t as root,
|
|
14
|
-
e as trigger,
|
|
15
|
-
r as triggerList,
|
|
16
|
-
s as triggerListWrapper
|
|
54
|
+
O as useTabTriggers
|
|
17
55
|
};
|
|
18
56
|
//# sourceMappingURL=fondue-components63.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components63.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"fondue-components63.js","sources":["../src/components/Tabs/hooks/useTabTriggers.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { type RefObject, useEffect, useLayoutEffect, useRef, useState } from 'react';\n\nimport { type TabTrigger } from '../types';\n\nconst getOverflowingTriggers = (triggers: TabTrigger[], triggerListElement: HTMLDivElement) => {\n return triggers.filter((trigger) => {\n const triggerElement = trigger.ref?.current;\n if (!triggerElement) {\n return false;\n }\n return (\n triggerElement.offsetLeft + triggerElement.offsetWidth >\n triggerListElement?.scrollLeft + triggerListElement.offsetWidth ||\n triggerElement.offsetLeft - triggerListElement.scrollLeft < 0\n );\n });\n};\n\nconst moveActiveIndicator = (triggerListElement: HTMLDivElement, activeIndicatorRef: RefObject<HTMLSpanElement>) => {\n const activeIndicatorElement = activeIndicatorRef.current;\n const activeTriggerElement = triggerListElement?.querySelector('[data-state=\"active\"]');\n\n if (\n !triggerListElement ||\n !(activeTriggerElement instanceof HTMLButtonElement) ||\n !(activeIndicatorElement instanceof HTMLSpanElement)\n ) {\n return;\n }\n\n const isOverflowingLeft = triggerListElement?.scrollLeft > activeTriggerElement?.offsetLeft;\n const isOverflowingRight =\n activeTriggerElement?.offsetLeft + activeTriggerElement?.offsetWidth > triggerListElement?.offsetWidth;\n\n if (isOverflowingLeft) {\n const willFitAllItemsToTheLeft =\n triggerListElement.offsetWidth > activeTriggerElement.offsetWidth + activeTriggerElement.offsetLeft;\n if (willFitAllItemsToTheLeft) {\n activeIndicatorElement.style.left = `${activeTriggerElement.offsetLeft}px`;\n } else {\n activeIndicatorElement.style.left = `${triggerListElement.offsetWidth - activeTriggerElement.offsetWidth}px`;\n }\n activeIndicatorElement.style.width = `${activeTriggerElement?.offsetWidth}px`;\n } else if (isOverflowingRight) {\n activeIndicatorElement.style.left = `${triggerListElement.clientWidth - activeTriggerElement.offsetWidth}px`;\n activeIndicatorElement.style.width = `${activeTriggerElement.offsetWidth}px`;\n } else {\n activeIndicatorElement.style.left = `${activeTriggerElement.offsetLeft}px`;\n activeIndicatorElement.style.width = `${activeTriggerElement.offsetWidth}px`;\n }\n};\n\nexport const useTabTriggers = ({\n activeTab,\n}: {\n activeTab?: string;\n}): {\n triggerListRef: RefObject<HTMLDivElement>;\n activeIndicatorRef: RefObject<HTMLSpanElement>;\n triggers: TabTrigger[];\n triggersOutOfView: TabTrigger[];\n addTrigger: (trigger: TabTrigger) => void;\n} => {\n const triggerListRef = useRef<HTMLDivElement | null>(null);\n const activeIndicatorRef = useRef<HTMLSpanElement | null>(null);\n const [triggers, setTriggers] = useState<TabTrigger[]>([]);\n const [triggersOutOfView, setTriggersOutOfView] = useState<TabTrigger[]>([]);\n\n // move the active indicator and scroll to the correct position when the tab changes\n useEffect(() => {\n const triggerListElement = triggerListRef.current;\n const activeTriggerElement = triggerListElement?.querySelector('[data-state=\"active\"]');\n\n if (activeTriggerElement instanceof HTMLButtonElement && triggerListElement instanceof HTMLDivElement) {\n moveActiveIndicator(triggerListElement, activeIndicatorRef);\n activeTriggerElement.scrollIntoView({ behavior: 'smooth', block: 'nearest', inline: 'end' });\n }\n }, [activeTab, activeIndicatorRef]);\n\n useLayoutEffect(() => {\n const triggerListElement = triggerListRef.current;\n const activeTriggerElement = triggerListElement?.querySelector('[data-state=\"active\"]');\n\n if (triggerListElement instanceof HTMLDivElement && activeTriggerElement instanceof HTMLButtonElement) {\n // move the active indicator to the initial active tab\n moveActiveIndicator(triggerListElement, activeIndicatorRef);\n\n // observe addition of the dropdown trigger which reduces the available width\n const mutationObserver = new MutationObserver(() => {\n activeTriggerElement.scrollIntoView({ behavior: 'instant', block: 'nearest', inline: 'end' });\n moveActiveIndicator(triggerListElement, activeIndicatorRef);\n });\n if (triggerListElement.parentNode) {\n mutationObserver.observe(triggerListElement.parentNode, { childList: true });\n }\n\n // calculate the overflowing elements when item starts overflowing the parent\n const intersectionObserver = new IntersectionObserver(\n () => {\n setTriggersOutOfView(getOverflowingTriggers(triggers, triggerListElement));\n moveActiveIndicator(triggerListElement, activeIndicatorRef);\n },\n {\n root: triggerListElement,\n threshold: 1,\n },\n );\n for (const trigger of triggers) {\n if (trigger.ref?.current) {\n intersectionObserver.observe(trigger.ref.current);\n }\n }\n\n return () => {\n intersectionObserver.disconnect();\n mutationObserver.disconnect();\n };\n }\n }, [triggers, triggerListRef, activeIndicatorRef]);\n\n return {\n triggerListRef,\n activeIndicatorRef,\n triggersOutOfView,\n triggers,\n addTrigger: (trigger) => {\n setTriggers((prev) => [...prev, trigger]);\n },\n };\n};\n"],"names":["getOverflowingTriggers","triggers","triggerListElement","trigger","triggerElement","_a","moveActiveIndicator","activeIndicatorRef","activeIndicatorElement","activeTriggerElement","isOverflowingLeft","isOverflowingRight","useTabTriggers","activeTab","triggerListRef","useRef","setTriggers","useState","triggersOutOfView","setTriggersOutOfView","useEffect","useLayoutEffect","mutationObserver","intersectionObserver","prev"],"mappings":"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"}
|
|
@@ -1,21 +1,18 @@
|
|
|
1
|
-
const
|
|
2
|
-
root:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
spin: c,
|
|
9
|
-
"tw-dark": "_tw-dark_7i0v6_187"
|
|
1
|
+
const t = "_root_13jbx_5", r = "_triggerList_13jbx_14", e = "_triggerListWrapper_13jbx_28", i = "_trigger_13jbx_14", o = "_content_13jbx_78", g = "_activeIndicator_13jbx_94", _ = {
|
|
2
|
+
root: t,
|
|
3
|
+
triggerList: r,
|
|
4
|
+
triggerListWrapper: e,
|
|
5
|
+
trigger: i,
|
|
6
|
+
content: o,
|
|
7
|
+
activeIndicator: g
|
|
10
8
|
};
|
|
11
9
|
export {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
_ as
|
|
15
|
-
t as
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
c as spin
|
|
10
|
+
g as activeIndicator,
|
|
11
|
+
o as content,
|
|
12
|
+
_ as default,
|
|
13
|
+
t as root,
|
|
14
|
+
i as trigger,
|
|
15
|
+
r as triggerList,
|
|
16
|
+
e as triggerListWrapper
|
|
20
17
|
};
|
|
21
18
|
//# sourceMappingURL=fondue-components64.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components64.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"fondue-components64.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -1,10 +1,21 @@
|
|
|
1
|
-
const o = "
|
|
1
|
+
const o = "_root_kjbh5_5", t = "_input_kjbh5_59", s = "_slot_kjbh5_82", _ = "_iconSuccess_kjbh5_132", n = "_iconError_kjbh5_141", c = "_loadingStatus_kjbh5_155", i = "_spin_kjbh5_1", r = {
|
|
2
2
|
root: o,
|
|
3
|
-
|
|
3
|
+
input: t,
|
|
4
|
+
slot: s,
|
|
5
|
+
iconSuccess: _,
|
|
6
|
+
iconError: n,
|
|
7
|
+
loadingStatus: c,
|
|
8
|
+
spin: i,
|
|
9
|
+
"tw-dark": "_tw-dark_kjbh5_187"
|
|
4
10
|
};
|
|
5
11
|
export {
|
|
6
|
-
r as
|
|
7
|
-
|
|
8
|
-
|
|
12
|
+
r as default,
|
|
13
|
+
n as iconError,
|
|
14
|
+
_ as iconSuccess,
|
|
15
|
+
t as input,
|
|
16
|
+
c as loadingStatus,
|
|
17
|
+
o as root,
|
|
18
|
+
s as slot,
|
|
19
|
+
i as spin
|
|
9
20
|
};
|
|
10
21
|
//# sourceMappingURL=fondue-components65.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components65.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"fondue-components65.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
const
|
|
1
|
+
const o = "_root_13m98_4", r = "_arrow_13m98_25", t = {
|
|
2
|
+
root: o,
|
|
3
|
+
arrow: r
|
|
4
|
+
};
|
|
2
5
|
export {
|
|
3
|
-
|
|
6
|
+
r as arrow,
|
|
7
|
+
t as default,
|
|
8
|
+
o as root
|
|
4
9
|
};
|
|
5
10
|
//# sourceMappingURL=fondue-components66.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components66.js","sources":[
|
|
1
|
+
{"version":3,"file":"fondue-components66.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -1,18 +1,10 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
colorIndicator: c,
|
|
5
|
-
actions: n,
|
|
6
|
-
clear: _,
|
|
7
|
-
caret: r
|
|
1
|
+
const t = "_dark_ikqby_1", s = "_light_ikqby_250", _ = {
|
|
2
|
+
dark: t,
|
|
3
|
+
light: s
|
|
8
4
|
};
|
|
9
5
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
_ as clear,
|
|
14
|
-
c as colorIndicator,
|
|
15
|
-
a as default,
|
|
16
|
-
o as root
|
|
6
|
+
t as dark,
|
|
7
|
+
_ as default,
|
|
8
|
+
s as light
|
|
17
9
|
};
|
|
18
10
|
//# sourceMappingURL=fondue-components67.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components67.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"fondue-components67.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -1,42 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import { ForwardedRefSelectItem as E } from "./fondue-components51.js";
|
|
3
|
-
const g = ({
|
|
4
|
-
children: r,
|
|
5
|
-
value: o,
|
|
6
|
-
label: s
|
|
7
|
-
}) => r && typeof r == "string" ? {
|
|
8
|
-
value: o || r,
|
|
9
|
-
label: s || r
|
|
10
|
-
} : {
|
|
11
|
-
value: o || "",
|
|
12
|
-
label: s || o || ""
|
|
13
|
-
}, w = (r, o) => u(r) && r.type === o, y = (r, o, s, p = 0) => {
|
|
14
|
-
const n = [];
|
|
15
|
-
let t = 0;
|
|
16
|
-
return a.forEach(r, (e) => {
|
|
17
|
-
if (w(e, E) && u(e))
|
|
18
|
-
g(e.props).label.toLowerCase().includes((s == null ? void 0 : s.toLowerCase()) || "") && (n.push(o(e, p + t)), t++);
|
|
19
|
-
else if (u(e) && (e != null && e.props.children)) {
|
|
20
|
-
const { parsedChildren: m, subElementCount: C } = y(
|
|
21
|
-
e.props.children,
|
|
22
|
-
o,
|
|
23
|
-
"",
|
|
24
|
-
p + t
|
|
25
|
-
);
|
|
26
|
-
e = f(e, {
|
|
27
|
-
children: m,
|
|
28
|
-
key: `group-${p + t}`
|
|
29
|
-
}), n.push(e), t += C;
|
|
30
|
-
} else
|
|
31
|
-
n.push(e);
|
|
32
|
-
}), {
|
|
33
|
-
parsedChildren: n,
|
|
34
|
-
subElementCount: t
|
|
35
|
-
};
|
|
36
|
-
};
|
|
1
|
+
const t = "focus-visible:tw-outline has-[[data-show-focus-ring=true]]:tw-outline tw-outline-4 tw-outline-offset-2 tw-outline-blue focus-visible:tw-outline-blue";
|
|
37
2
|
export {
|
|
38
|
-
|
|
39
|
-
w as isReactLeaf,
|
|
40
|
-
y as recursiveMap
|
|
3
|
+
t as FOCUS_OUTLINE
|
|
41
4
|
};
|
|
42
5
|
//# sourceMappingURL=fondue-components68.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components68.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"fondue-components68.js","sources":["../src/utilities/focusStyle.ts"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nexport const FOCUS_OUTLINE =\n 'focus-visible:tw-outline has-[[data-show-focus-ring=true]]:tw-outline tw-outline-4 tw-outline-offset-2 tw-outline-blue focus-visible:tw-outline-blue'; // second declaration of tw-outline-blue is to assure that in firefox the outline isn't overriden by a global definition of :-moz-focusring which is coming from tailwinds normalization styling\n"],"names":["FOCUS_OUTLINE"],"mappings":"AAEO,MAAMA,IACT;"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
const o = "_root_1nv86_5", t = "_button_1nv86_56", c = "_colorIndicator_1nv86_69", n = "_actions_1nv86_75", _ = "_clear_1nv86_85", r = "_caret_1nv86_98", a = {
|
|
2
|
+
root: o,
|
|
3
|
+
button: t,
|
|
4
|
+
colorIndicator: c,
|
|
5
|
+
actions: n,
|
|
6
|
+
clear: _,
|
|
7
|
+
caret: r
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
n as actions,
|
|
11
|
+
t as button,
|
|
12
|
+
r as caret,
|
|
13
|
+
_ as clear,
|
|
14
|
+
c as colorIndicator,
|
|
15
|
+
a as default,
|
|
16
|
+
o as root
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=fondue-components69.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fondue-components69.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -1,137 +1,141 @@
|
|
|
1
|
-
import { jsx as o, jsxs as
|
|
2
|
-
import { IconCross as
|
|
1
|
+
import { jsx as o, jsxs as R } from "react/jsx-runtime";
|
|
2
|
+
import { IconCross as M } from "@frontify/fondue-icons";
|
|
3
3
|
import * as d from "@radix-ui/react-dialog";
|
|
4
|
-
import { createContext as
|
|
5
|
-
import { addAutoFocusAttribute as
|
|
6
|
-
import
|
|
7
|
-
|
|
4
|
+
import { createContext as S, forwardRef as n, useContext as B } from "react";
|
|
5
|
+
import { addAutoFocusAttribute as H, addShowFocusRing as P } from "./fondue-components38.js";
|
|
6
|
+
import { useFondueTheme as j, ThemeProvider as A } from "./fondue-components25.js";
|
|
7
|
+
import l from "./fondue-components39.js";
|
|
8
|
+
const g = S({ isModal: !1 }), u = ({ children: t, ...a }) => /* @__PURE__ */ o(g.Provider, { value: { isModal: a.modal ?? !1 }, children: /* @__PURE__ */ o(d.Root, { ...a, children: t }) });
|
|
8
9
|
u.displayName = "Dialog.Root";
|
|
9
|
-
const c = ({ asChild:
|
|
10
|
+
const c = ({ asChild: t = !0, children: a, "data-test-id": e = "fondue-dialog-trigger", ...i }, r) => /* @__PURE__ */ o(
|
|
10
11
|
d.Trigger,
|
|
11
12
|
{
|
|
12
|
-
onMouseDown:
|
|
13
|
+
onMouseDown: H,
|
|
13
14
|
"data-auto-focus-visible": "true",
|
|
14
15
|
"data-auto-focus-trigger": !0,
|
|
15
16
|
"data-test-id": e,
|
|
16
|
-
asChild:
|
|
17
|
+
asChild: t,
|
|
17
18
|
ref: r,
|
|
18
19
|
...i,
|
|
19
|
-
children:
|
|
20
|
+
children: a
|
|
20
21
|
}
|
|
21
22
|
);
|
|
22
23
|
c.displayName = "Dialog.Trigger";
|
|
23
|
-
const
|
|
24
|
-
const { isModal: e } =
|
|
25
|
-
return e ? /* @__PURE__ */ o(d.Overlay, { "data-visible":
|
|
24
|
+
const z = ({ children: t, showUnderlay: a }) => {
|
|
25
|
+
const { isModal: e } = B(g);
|
|
26
|
+
return e ? /* @__PURE__ */ o(d.Overlay, { "data-visible": a, className: l.underlay, children: t }) : /* @__PURE__ */ o("div", { className: l.underlay, "data-visible": a, children: t });
|
|
26
27
|
}, m = ({
|
|
27
|
-
maxWidth:
|
|
28
|
-
minWidth:
|
|
28
|
+
maxWidth: t = "800px",
|
|
29
|
+
minWidth: a = "400px",
|
|
29
30
|
minHeight: e = "200px",
|
|
30
31
|
padding: i = "compact",
|
|
31
32
|
verticalAlign: r = "center",
|
|
32
|
-
"data-test-id":
|
|
33
|
+
"data-test-id": s = "fondue-dialog-content",
|
|
33
34
|
showUnderlay: v = !1,
|
|
34
35
|
rounded: x = !0,
|
|
35
36
|
children: b,
|
|
36
|
-
...
|
|
37
|
-
},
|
|
38
|
-
|
|
39
|
-
{
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
37
|
+
...T
|
|
38
|
+
}, w) => {
|
|
39
|
+
const F = j();
|
|
40
|
+
return /* @__PURE__ */ o(d.Portal, { children: /* @__PURE__ */ o(A, { theme: F, children: /* @__PURE__ */ o(z, { showUnderlay: v, children: /* @__PURE__ */ o(
|
|
41
|
+
d.Content,
|
|
42
|
+
{
|
|
43
|
+
style: {
|
|
44
|
+
"--dialog-max-width": t,
|
|
45
|
+
"--dialog-min-width": a,
|
|
46
|
+
"--dialog-min-height": e
|
|
47
|
+
},
|
|
48
|
+
ref: w,
|
|
49
|
+
className: l.content,
|
|
50
|
+
onFocus: P,
|
|
51
|
+
"data-dialog-padding": i,
|
|
52
|
+
"data-dialog-rounded": x,
|
|
53
|
+
"data-test-id": s,
|
|
54
|
+
"data-dialog-vertical-align": r,
|
|
55
|
+
...T,
|
|
56
|
+
children: b
|
|
57
|
+
}
|
|
58
|
+
) }) }) });
|
|
59
|
+
};
|
|
56
60
|
m.displayName = "Dialog.Content";
|
|
57
61
|
const p = ({
|
|
58
|
-
padding:
|
|
59
|
-
showBorder:
|
|
62
|
+
padding: t,
|
|
63
|
+
showBorder: a = !0,
|
|
60
64
|
showCloseButton: e = !0,
|
|
61
65
|
children: i,
|
|
62
66
|
"data-test-id": r = "fondue-dialog-header"
|
|
63
|
-
},
|
|
67
|
+
}, s) => /* @__PURE__ */ R(
|
|
64
68
|
"div",
|
|
65
69
|
{
|
|
66
70
|
"data-test-id": r,
|
|
67
|
-
ref:
|
|
71
|
+
ref: s,
|
|
68
72
|
className: l.header,
|
|
69
|
-
"data-dialog-header-padding":
|
|
70
|
-
"data-show-border":
|
|
73
|
+
"data-dialog-header-padding": t,
|
|
74
|
+
"data-show-border": a,
|
|
71
75
|
"data-dialog-layout-component": !0,
|
|
72
76
|
children: [
|
|
73
77
|
/* @__PURE__ */ o("div", { children: i }),
|
|
74
|
-
e && /* @__PURE__ */ o(d.Close, { role: "button", "data-test-id": `${r}-close`, className: "tw-cursor-pointer", children: /* @__PURE__ */ o(
|
|
78
|
+
e && /* @__PURE__ */ o(d.Close, { role: "button", "data-test-id": `${r}-close`, className: "tw-cursor-pointer", children: /* @__PURE__ */ o(M, { size: 20 }) })
|
|
75
79
|
]
|
|
76
80
|
}
|
|
77
81
|
);
|
|
78
82
|
p.displayName = "Dialog.Header";
|
|
79
|
-
const D = ({ padding:
|
|
83
|
+
const D = ({ padding: t, showBorder: a = !0, children: e, "data-test-id": i = "fondue-dialog-footer" }, r) => /* @__PURE__ */ o(
|
|
80
84
|
"div",
|
|
81
85
|
{
|
|
82
86
|
"data-test-id": i,
|
|
83
87
|
ref: r,
|
|
84
88
|
className: l.footer,
|
|
85
|
-
"data-dialog-footer-padding":
|
|
86
|
-
"data-show-border":
|
|
89
|
+
"data-dialog-footer-padding": t,
|
|
90
|
+
"data-show-border": a,
|
|
87
91
|
"data-dialog-layout-component": !0,
|
|
88
92
|
children: e
|
|
89
93
|
}
|
|
90
94
|
);
|
|
91
95
|
D.displayName = "Dialog.Footer";
|
|
92
|
-
const y = ({ padding:
|
|
96
|
+
const y = ({ padding: t, children: a, "data-test-id": e = "fondue-dialog-body" }, i) => /* @__PURE__ */ o(
|
|
93
97
|
"div",
|
|
94
98
|
{
|
|
95
99
|
"data-test-id": e,
|
|
96
100
|
ref: i,
|
|
97
101
|
className: l.body,
|
|
98
|
-
"data-dialog-body-padding":
|
|
102
|
+
"data-dialog-body-padding": t,
|
|
99
103
|
"data-dialog-layout-component": !0,
|
|
100
|
-
children:
|
|
104
|
+
children: a
|
|
101
105
|
}
|
|
102
106
|
);
|
|
103
107
|
y.displayName = "Dialog.Body";
|
|
104
|
-
const f = ({ children:
|
|
108
|
+
const f = ({ children: t, "data-test-id": a = "fondue-dialog-side-content" }, e) => /* @__PURE__ */ o("div", { "data-test-id": a, ref: e, className: l.sideContent, "data-dialog-layout-component": !0, children: t });
|
|
105
109
|
f.displayName = "Dialog.SideContent";
|
|
106
|
-
const
|
|
107
|
-
|
|
108
|
-
const
|
|
109
|
-
|
|
110
|
-
const
|
|
111
|
-
|
|
112
|
-
const
|
|
110
|
+
const h = ({ children: t }) => /* @__PURE__ */ o(d.Close, { asChild: !0, children: t });
|
|
111
|
+
h.displayName = "Dialog.Close";
|
|
112
|
+
const C = ({ children: t, asChild: a }) => /* @__PURE__ */ o(d.Title, { asChild: a, children: t });
|
|
113
|
+
C.displayName = "Dialog.Title";
|
|
114
|
+
const N = ({ children: t, asChild: a }) => /* @__PURE__ */ o(d.Description, { asChild: a, children: t });
|
|
115
|
+
N.displayName = "Dialog.Description";
|
|
116
|
+
const I = {
|
|
113
117
|
Root: u,
|
|
114
|
-
Title:
|
|
115
|
-
Description:
|
|
116
|
-
Close:
|
|
117
|
-
Trigger:
|
|
118
|
-
Content:
|
|
119
|
-
Header:
|
|
120
|
-
Footer:
|
|
121
|
-
Body:
|
|
122
|
-
SideContent:
|
|
118
|
+
Title: C,
|
|
119
|
+
Description: N,
|
|
120
|
+
Close: h,
|
|
121
|
+
Trigger: n(c),
|
|
122
|
+
Content: n(m),
|
|
123
|
+
Header: n(p),
|
|
124
|
+
Footer: n(D),
|
|
125
|
+
Body: n(y),
|
|
126
|
+
SideContent: n(f)
|
|
123
127
|
};
|
|
124
128
|
export {
|
|
125
|
-
|
|
129
|
+
I as Dialog,
|
|
126
130
|
y as DialogBody,
|
|
127
|
-
|
|
131
|
+
h as DialogClose,
|
|
128
132
|
m as DialogContent,
|
|
129
|
-
|
|
133
|
+
N as DialogDescription,
|
|
130
134
|
D as DialogFooter,
|
|
131
135
|
p as DialogHeader,
|
|
132
136
|
u as DialogRoot,
|
|
133
137
|
f as DialogSideContent,
|
|
134
|
-
|
|
138
|
+
C as DialogTitle,
|
|
135
139
|
c as DialogTrigger
|
|
136
140
|
};
|
|
137
141
|
//# sourceMappingURL=fondue-components7.js.map
|