@frontify/fondue-components 18.0.0 → 18.2.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 +56 -54
- package/dist/fondue-components.js.map +1 -1
- package/dist/fondue-components10.js +28 -142
- package/dist/fondue-components10.js.map +1 -1
- package/dist/fondue-components11.js +141 -34
- package/dist/fondue-components11.js.map +1 -1
- package/dist/fondue-components12.js +36 -103
- package/dist/fondue-components12.js.map +1 -1
- package/dist/fondue-components13.js +103 -36
- package/dist/fondue-components13.js.map +1 -1
- package/dist/fondue-components14.js +30 -40
- package/dist/fondue-components14.js.map +1 -1
- package/dist/fondue-components15.js +47 -28
- package/dist/fondue-components15.js.map +1 -1
- package/dist/fondue-components16.js +28 -39
- package/dist/fondue-components16.js.map +1 -1
- package/dist/fondue-components17.js +34 -16
- package/dist/fondue-components17.js.map +1 -1
- package/dist/fondue-components18.js +21 -71
- package/dist/fondue-components18.js.map +1 -1
- package/dist/fondue-components19.js +71 -36
- package/dist/fondue-components19.js.map +1 -1
- package/dist/fondue-components20.js +34 -53
- package/dist/fondue-components20.js.map +1 -1
- package/dist/fondue-components21.js +54 -137
- package/dist/fondue-components21.js.map +1 -1
- package/dist/fondue-components22.js +136 -53
- package/dist/fondue-components22.js.map +1 -1
- package/dist/fondue-components23.js +54 -28
- package/dist/fondue-components23.js.map +1 -1
- package/dist/fondue-components24.js +28 -153
- package/dist/fondue-components24.js.map +1 -1
- package/dist/fondue-components25.js +151 -118
- package/dist/fondue-components25.js.map +1 -1
- package/dist/fondue-components26.js +120 -31
- package/dist/fondue-components26.js.map +1 -1
- package/dist/fondue-components27.js +32 -65
- package/dist/fondue-components27.js.map +1 -1
- package/dist/fondue-components28.js +65 -10
- package/dist/fondue-components28.js.map +1 -1
- package/dist/fondue-components29.js +10 -55
- package/dist/fondue-components29.js.map +1 -1
- package/dist/fondue-components3.js +1 -1
- package/dist/fondue-components30.js +55 -14
- package/dist/fondue-components30.js.map +1 -1
- package/dist/fondue-components31.js +15 -32
- package/dist/fondue-components31.js.map +1 -1
- package/dist/fondue-components32.js +7 -4
- package/dist/fondue-components32.js.map +1 -1
- package/dist/fondue-components33.js +7 -12
- package/dist/fondue-components33.js.map +1 -1
- package/dist/fondue-components34.js +32 -155
- package/dist/fondue-components34.js.map +1 -1
- package/dist/fondue-components35.js +5 -118
- package/dist/fondue-components35.js.map +1 -1
- package/dist/fondue-components36.js +10 -116
- package/dist/fondue-components36.js.map +1 -1
- package/dist/fondue-components37.js +147 -13
- package/dist/fondue-components37.js.map +1 -1
- package/dist/fondue-components38.js +116 -30
- package/dist/fondue-components38.js.map +1 -1
- package/dist/fondue-components39.js +118 -62
- package/dist/fondue-components39.js.map +1 -1
- package/dist/fondue-components4.js +56 -34
- package/dist/fondue-components4.js.map +1 -1
- package/dist/fondue-components40.js +20 -129
- package/dist/fondue-components40.js.map +1 -1
- package/dist/fondue-components41.js +32 -21
- package/dist/fondue-components41.js.map +1 -1
- package/dist/fondue-components42.js +62 -45
- package/dist/fondue-components42.js.map +1 -1
- package/dist/fondue-components43.js +129 -7
- package/dist/fondue-components43.js.map +1 -1
- package/dist/fondue-components44.js +21 -13
- package/dist/fondue-components44.js.map +1 -1
- package/dist/fondue-components45.js +45 -15
- package/dist/fondue-components45.js.map +1 -1
- package/dist/fondue-components46.js +8 -60
- package/dist/fondue-components46.js.map +1 -1
- package/dist/fondue-components47.js +13 -18
- package/dist/fondue-components47.js.map +1 -1
- package/dist/fondue-components48.js +12 -16
- package/dist/fondue-components48.js.map +1 -1
- package/dist/fondue-components49.js +60 -5
- package/dist/fondue-components49.js.map +1 -1
- package/dist/fondue-components5.js +32 -38
- package/dist/fondue-components5.js.map +1 -1
- package/dist/fondue-components50.js +18 -15
- package/dist/fondue-components50.js.map +1 -1
- package/dist/fondue-components51.js +18 -4
- package/dist/fondue-components51.js.map +1 -1
- package/dist/fondue-components52.js +3 -17
- package/dist/fondue-components52.js.map +1 -1
- package/dist/fondue-components53.js +15 -35
- package/dist/fondue-components53.js.map +1 -1
- package/dist/fondue-components54.js +4 -4
- package/dist/fondue-components55.js +17 -11
- package/dist/fondue-components55.js.map +1 -1
- package/dist/fondue-components56.js +35 -5
- package/dist/fondue-components56.js.map +1 -1
- package/dist/fondue-components57.js +4 -24
- package/dist/fondue-components57.js.map +1 -1
- package/dist/fondue-components58.js +12 -16
- package/dist/fondue-components58.js.map +1 -1
- package/dist/fondue-components59.js +4 -146
- package/dist/fondue-components59.js.map +1 -1
- package/dist/fondue-components6.js +42 -45
- package/dist/fondue-components6.js.map +1 -1
- package/dist/fondue-components60.js +25 -16
- package/dist/fondue-components60.js.map +1 -1
- package/dist/fondue-components61.js +16 -76
- package/dist/fondue-components61.js.map +1 -1
- package/dist/fondue-components62.js +147 -8
- package/dist/fondue-components62.js.map +1 -1
- package/dist/fondue-components63.js +16 -33
- package/dist/fondue-components63.js.map +1 -1
- package/dist/fondue-components64.js +75 -47
- package/dist/fondue-components64.js.map +1 -1
- package/dist/fondue-components65.js +8 -11
- package/dist/fondue-components65.js.map +1 -1
- package/dist/fondue-components66.js +32 -12
- package/dist/fondue-components66.js.map +1 -1
- package/dist/fondue-components67.js +48 -12
- package/dist/fondue-components67.js.map +1 -1
- package/dist/fondue-components68.js +10 -20
- package/dist/fondue-components68.js.map +1 -1
- package/dist/fondue-components69.js +13 -15
- package/dist/fondue-components69.js.map +1 -1
- package/dist/fondue-components7.js +46 -51
- package/dist/fondue-components7.js.map +1 -1
- package/dist/fondue-components70.js +12 -52
- package/dist/fondue-components70.js.map +1 -1
- package/dist/fondue-components71.js +20 -14
- package/dist/fondue-components71.js.map +1 -1
- package/dist/fondue-components72.js +15 -26
- package/dist/fondue-components72.js.map +1 -1
- package/dist/fondue-components73.js +55 -14
- package/dist/fondue-components73.js.map +1 -1
- package/dist/fondue-components74.js +14 -6
- package/dist/fondue-components74.js.map +1 -1
- package/dist/fondue-components75.js +23 -4
- package/dist/fondue-components75.js.map +1 -1
- package/dist/fondue-components76.js +15 -2
- package/dist/fondue-components76.js.map +1 -1
- package/dist/fondue-components77.js +5 -15
- package/dist/fondue-components77.js.map +1 -1
- package/dist/fondue-components78.js +6 -39
- package/dist/fondue-components78.js.map +1 -1
- package/dist/fondue-components79.js +5 -0
- package/dist/fondue-components79.js.map +1 -0
- package/dist/fondue-components8.js +46 -144
- package/dist/fondue-components8.js.map +1 -1
- package/dist/fondue-components80.js +8 -0
- package/dist/fondue-components80.js.map +1 -0
- package/dist/fondue-components81.js +8 -0
- package/dist/fondue-components81.js.map +1 -0
- package/dist/fondue-components82.js +20 -0
- package/dist/fondue-components82.js.map +1 -0
- package/dist/fondue-components83.js +43 -0
- package/dist/fondue-components83.js.map +1 -0
- package/dist/fondue-components9.js +146 -27
- package/dist/fondue-components9.js.map +1 -1
- package/dist/index.d.ts +70 -7
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,18 +1,59 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { jsx as t, jsxs as g } from "react/jsx-runtime";
|
|
2
|
+
import * as e from "@radix-ui/react-tooltip";
|
|
3
|
+
import { forwardRef as s } from "react";
|
|
4
|
+
import { cn as u } from "./fondue-components36.js";
|
|
5
|
+
import { useFondueTheme as h, ThemeProvider as y } from "./fondue-components29.js";
|
|
6
|
+
import d from "./fondue-components78.js";
|
|
7
|
+
const l = ({ children: o, enterDelay: r = 700, open: i, onOpenChange: a, ...n }) => /* @__PURE__ */ t(e.Provider, { children: /* @__PURE__ */ t(e.Root, { delayDuration: r, open: i, onOpenChange: a, ...n, children: o }) });
|
|
8
|
+
l.displayName = "Tooltip.Root";
|
|
9
|
+
const p = ({ asChild: o = !1, children: r, "data-test-id": i = "fondue-tooltip-trigger" }, a) => /* @__PURE__ */ t(
|
|
10
|
+
e.Trigger,
|
|
11
|
+
{
|
|
12
|
+
"data-test-id": i,
|
|
13
|
+
type: o ? void 0 : "button",
|
|
14
|
+
asChild: o,
|
|
15
|
+
ref: a,
|
|
16
|
+
children: r
|
|
17
|
+
}
|
|
18
|
+
);
|
|
19
|
+
p.displayName = "Tooltip.Trigger";
|
|
20
|
+
const m = ({
|
|
21
|
+
children: o,
|
|
22
|
+
className: r,
|
|
23
|
+
maxWidth: i,
|
|
24
|
+
"data-test-id": a = "fondue-tooltip-content",
|
|
25
|
+
padding: n = "spacious",
|
|
26
|
+
...c
|
|
27
|
+
}, T) => {
|
|
28
|
+
const f = h();
|
|
29
|
+
return /* @__PURE__ */ t(e.Portal, { children: /* @__PURE__ */ t(y, { theme: f, children: /* @__PURE__ */ g(
|
|
30
|
+
e.Content,
|
|
31
|
+
{
|
|
32
|
+
"data-test-id": a,
|
|
33
|
+
"data-tooltip-spacing": n,
|
|
34
|
+
className: u(d.root, r),
|
|
35
|
+
style: { maxWidth: i },
|
|
36
|
+
collisionPadding: 16,
|
|
37
|
+
sideOffset: 8,
|
|
38
|
+
ref: T,
|
|
39
|
+
...c,
|
|
40
|
+
children: [
|
|
41
|
+
o,
|
|
42
|
+
/* @__PURE__ */ t(e.Arrow, { "aria-hidden": "true", className: d.arrow })
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
) }) });
|
|
46
|
+
};
|
|
47
|
+
m.displayName = "Tooltip.Content";
|
|
48
|
+
const w = {
|
|
49
|
+
Root: l,
|
|
50
|
+
Trigger: s(p),
|
|
51
|
+
Content: s(m)
|
|
8
52
|
};
|
|
9
53
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
n as accordionTrigger,
|
|
15
|
-
a as default,
|
|
16
|
-
o as root
|
|
54
|
+
w as Tooltip,
|
|
55
|
+
m as TooltipContent,
|
|
56
|
+
l as TooltipRoot,
|
|
57
|
+
p as TooltipTrigger
|
|
17
58
|
};
|
|
18
59
|
//# sourceMappingURL=fondue-components30.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components30.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"fondue-components30.js","sources":["../src/components/Tooltip/Tooltip.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport * as RadixTooltip from '@radix-ui/react-tooltip';\nimport { forwardRef, type ForwardedRef, type ReactElement, type ReactNode } from 'react';\n\nimport { cn } from '#/utilities/styleUtilities';\n\nimport { ThemeProvider, useFondueTheme } from '../ThemeProvider/ThemeProvider';\n\nimport styles from './styles/tooltip.module.scss';\n\nexport type TooltipRootProps = {\n /**\n * Sets the open state of the tooltip.\n */\n open?: boolean;\n /**\n * Callback that is called when the open state of the tooltip changes.\n */\n onOpenChange?: (open: boolean) => void;\n /**\n * The delay in milliseconds before the tooltip appears.\n * @default 700\n */\n enterDelay?: number;\n children: Array<ReactElement<TooltipTriggerProps | TooltipContentProps>>;\n};\n\nexport const TooltipRoot = ({ children, enterDelay = 700, open, onOpenChange, ...props }: TooltipRootProps) => {\n return (\n <RadixTooltip.Provider>\n <RadixTooltip.Root delayDuration={enterDelay} open={open} onOpenChange={onOpenChange} {...props}>\n {children}\n </RadixTooltip.Root>\n </RadixTooltip.Provider>\n );\n};\nTooltipRoot.displayName = 'Tooltip.Root';\n\nexport type TooltipTriggerProps = {\n /**\n * Change the default rendered element for the one passed as a child, merging their props and behavior.\n * @default false\n */\n asChild?: boolean;\n children: ReactNode;\n 'data-test-id'?: string;\n};\n\nexport const TooltipTrigger = (\n { asChild = false, children, 'data-test-id': dataTestId = 'fondue-tooltip-trigger' }: TooltipTriggerProps,\n ref: ForwardedRef<HTMLButtonElement>,\n) => {\n return (\n <RadixTooltip.Trigger\n data-test-id={dataTestId}\n type={!asChild ? 'button' : undefined}\n asChild={asChild}\n ref={ref}\n >\n {children}\n </RadixTooltip.Trigger>\n );\n};\nTooltipTrigger.displayName = 'Tooltip.Trigger';\n\nexport type TooltipContentProps = {\n /**\n * @default \"spacious\"\n */\n padding?: 'spacious' | 'compact';\n /**\n * Defines the preferred side of the tooltip. It will not be respected if there are collisions with the viewport.\n */\n side?: 'top' | 'right' | 'bottom' | 'left';\n maxWidth?: string;\n className?: string;\n children: ReactNode;\n 'data-test-id'?: string;\n};\n\nexport const TooltipContent = (\n {\n children,\n className,\n maxWidth,\n 'data-test-id': dataTestId = 'fondue-tooltip-content',\n padding = 'spacious',\n ...props\n }: TooltipContentProps,\n ref: ForwardedRef<HTMLDivElement>,\n) => {\n const theme = useFondueTheme();\n return (\n <RadixTooltip.Portal>\n <ThemeProvider theme={theme}>\n <RadixTooltip.Content\n data-test-id={dataTestId}\n data-tooltip-spacing={padding}\n className={cn(styles.root, className)}\n style={{ maxWidth }}\n collisionPadding={16}\n sideOffset={8}\n ref={ref}\n {...props}\n >\n {children}\n <RadixTooltip.Arrow aria-hidden=\"true\" className={styles.arrow} />\n </RadixTooltip.Content>\n </ThemeProvider>\n </RadixTooltip.Portal>\n );\n};\nTooltipContent.displayName = 'Tooltip.Content';\n\nexport const Tooltip = {\n Root: TooltipRoot,\n Trigger: forwardRef<HTMLButtonElement, TooltipTriggerProps>(TooltipTrigger),\n Content: forwardRef<HTMLDivElement, TooltipContentProps>(TooltipContent),\n};\n"],"names":["TooltipRoot","children","enterDelay","open","onOpenChange","props","jsx","RadixTooltip","TooltipTrigger","asChild","dataTestId","ref","TooltipContent","className","maxWidth","padding","theme","useFondueTheme","ThemeProvider","jsxs","cn","styles","Tooltip","forwardRef"],"mappings":";;;;;;AA4Ba,MAAAA,IAAc,CAAC,EAAE,UAAAC,GAAU,YAAAC,IAAa,KAAK,MAAAC,GAAM,cAAAC,GAAc,GAAGC,QAExE,gBAAAC,EAAAC,EAAa,UAAb,EACG,4BAACA,EAAa,MAAb,EAAkB,eAAeL,GAAY,MAAAC,GAAY,cAAAC,GAA6B,GAAGC,GACrF,UAAAJ,EACL,CAAA,GACJ;AAGRD,EAAY,cAAc;AAYb,MAAAQ,IAAiB,CAC1B,EAAE,SAAAC,IAAU,IAAO,UAAAR,GAAU,gBAAgBS,IAAa,yBAAyB,GACnFC,MAGI,gBAAAL;AAAA,EAACC,EAAa;AAAA,EAAb;AAAA,IACG,gBAAcG;AAAA,IACd,MAAOD,IAAqB,SAAX;AAAA,IACjB,SAAAA;AAAA,IACA,KAAAE;AAAA,IAEC,UAAAV;AAAA,EAAA;AACL;AAGRO,EAAe,cAAc;AAiBtB,MAAMI,IAAiB,CAC1B;AAAA,EACI,UAAAX;AAAA,EACA,WAAAY;AAAA,EACA,UAAAC;AAAA,EACA,gBAAgBJ,IAAa;AAAA,EAC7B,SAAAK,IAAU;AAAA,EACV,GAAGV;AACP,GACAM,MACC;AACD,QAAMK,IAAQC,EAAe;AAC7B,2BACKV,EAAa,QAAb,EACG,UAAA,gBAAAD,EAACY,KAAc,OAAAF,GACX,UAAA,gBAAAG;AAAA,IAACZ,EAAa;AAAA,IAAb;AAAA,MACG,gBAAcG;AAAA,MACd,wBAAsBK;AAAA,MACtB,WAAWK,EAAGC,EAAO,MAAMR,CAAS;AAAA,MACpC,OAAO,EAAE,UAAAC,EAAS;AAAA,MAClB,kBAAkB;AAAA,MAClB,YAAY;AAAA,MACZ,KAAAH;AAAA,MACC,GAAGN;AAAA,MAEH,UAAA;AAAA,QAAAJ;AAAA,QACD,gBAAAK,EAACC,EAAa,OAAb,EAAmB,eAAY,QAAO,WAAWc,EAAO,MAAO,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,KAExE,EACJ,CAAA;AAER;AACAT,EAAe,cAAc;AAEtB,MAAMU,IAAU;AAAA,EACnB,MAAMtB;AAAA,EACN,SAASuB,EAAmDf,CAAc;AAAA,EAC1E,SAASe,EAAgDX,CAAc;AAC3E;"}
|
|
@@ -1,35 +1,18 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
p: "padding",
|
|
10
|
-
px: "padding-x",
|
|
11
|
-
py: "padding-y",
|
|
12
|
-
pt: "padding-top",
|
|
13
|
-
pr: "padding-right",
|
|
14
|
-
pb: "padding-bottom",
|
|
15
|
-
pl: "padding-left",
|
|
16
|
-
direction: "flex-direction",
|
|
17
|
-
align: "align-items",
|
|
18
|
-
wrap: "flex-wrap",
|
|
19
|
-
columns: "grid-template-columns",
|
|
20
|
-
rows: "grid-template-rows"
|
|
21
|
-
}, m = (n, r) => n === "columns" || n === "rows" ? typeof r == "number" ? `repeat(${r}, 1fr)` : r : typeof r == "number" ? `${r * 0.25}rem` : r, f = (n, r = {}) => Object.entries(n).reduce((i, [t, o]) => {
|
|
22
|
-
if (g(t))
|
|
23
|
-
return i;
|
|
24
|
-
const e = t in r ? r[t] : t in s ? s[t] : t, p = e == null ? void 0 : e.replaceAll(/([\da-z]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase();
|
|
25
|
-
if (typeof o == "object")
|
|
26
|
-
for (const [d, a] of Object.entries(o))
|
|
27
|
-
a !== void 0 && (i[`--${d}-${p}`] = m(t, a));
|
|
28
|
-
else
|
|
29
|
-
i[`--${p}`] = m(t, o);
|
|
30
|
-
return i;
|
|
31
|
-
}, {});
|
|
1
|
+
const o = "_root_1f8r4_2", c = "_accordionItem_1f8r4_7", n = "_accordionTrigger_1f8r4_13", r = "_accordionCaret_1f8r4_31", t = "_accordionContent_1f8r4_35", e = "_accordionContentText_1f8r4_62", a = {
|
|
2
|
+
root: o,
|
|
3
|
+
accordionItem: c,
|
|
4
|
+
accordionTrigger: n,
|
|
5
|
+
accordionCaret: r,
|
|
6
|
+
accordionContent: t,
|
|
7
|
+
accordionContentText: e
|
|
8
|
+
};
|
|
32
9
|
export {
|
|
33
|
-
|
|
10
|
+
r as accordionCaret,
|
|
11
|
+
t as accordionContent,
|
|
12
|
+
e as accordionContentText,
|
|
13
|
+
c as accordionItem,
|
|
14
|
+
n as accordionTrigger,
|
|
15
|
+
a as default,
|
|
16
|
+
o as root
|
|
34
17
|
};
|
|
35
18
|
//# sourceMappingURL=fondue-components31.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components31.js","sources":[
|
|
1
|
+
{"version":3,"file":"fondue-components31.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import s from "./fondue-components80.js";
|
|
3
|
+
import { colorToCss as e } from "./fondue-components81.js";
|
|
4
|
+
const a = ["default", "positive", "highlight", "warning", "negative"], i = (t) => typeof t == "string" && a.includes(t), p = ({ status: t }) => {
|
|
5
|
+
const o = i(t) ? { "data-status": t } : { style: { backgroundColor: typeof t == "string" ? t : e(t) || "transparent" } };
|
|
6
|
+
return /* @__PURE__ */ r("div", { "data-test-id": "badge-status", className: s.root, ...o });
|
|
3
7
|
};
|
|
4
8
|
export {
|
|
5
|
-
|
|
6
|
-
o as root
|
|
9
|
+
p as BadgeStatus
|
|
7
10
|
};
|
|
8
11
|
//# sourceMappingURL=fondue-components32.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components32.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
1
|
+
{"version":3,"file":"fondue-components32.js","sources":["../src/components/Badge/BadgeStatus.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport styles from './styles/badgestatus.module.scss';\nimport { type RgbaColor } from './types';\nimport { colorToCss } from './utils';\n\ntype BadgeStatusType = 'default' | 'positive' | 'highlight' | 'warning' | 'negative';\n\nconst badgeStatusMap = ['default', 'positive', 'highlight', 'warning', 'negative'];\n\nexport type BadgeStatusProps = { status: BadgeStatusType } | { status: RgbaColor | string };\n\nconst isBadgeStatusType = (value: RgbaColor | string): value is BadgeStatusType =>\n typeof value === 'string' && badgeStatusMap.includes(value);\n\nexport const BadgeStatus = ({ status }: BadgeStatusProps) => {\n const colorProps = isBadgeStatusType(status)\n ? { 'data-status': status }\n : { style: { backgroundColor: typeof status === 'string' ? status : colorToCss(status) || 'transparent' } };\n\n return <div data-test-id=\"badge-status\" className={styles.root} {...colorProps}></div>;\n};\n"],"names":["badgeStatusMap","isBadgeStatusType","value","BadgeStatus","status","colorProps","colorToCss","jsx","styles"],"mappings":";;;AAQA,MAAMA,IAAiB,CAAC,WAAW,YAAY,aAAa,WAAW,UAAU,GAI3EC,IAAoB,CAACC,MACvB,OAAOA,KAAU,YAAYF,EAAe,SAASE,CAAK,GAEjDC,IAAc,CAAC,EAAE,QAAAC,QAA+B;AACnD,QAAAC,IAAaJ,EAAkBG,CAAM,IACrC,EAAE,eAAeA,MACjB,EAAE,OAAO,EAAE,iBAAiB,OAAOA,KAAW,WAAWA,IAASE,EAAWF,CAAM,KAAK,gBAAgB;AAEvG,SAAA,gBAAAG,EAAC,SAAI,gBAAa,gBAAe,WAAWC,EAAO,MAAO,GAAGH,GAAY;AACpF;"}
|
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
extend: {
|
|
6
|
-
classGroups: {
|
|
7
|
-
"font-size": ["text-body-x-small", "text-body-small", "text-body-medium", "text-body-large"]
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}), m = (...t) => r(...t), x = (t) => o(t);
|
|
1
|
+
const s = "_root_bgze9_3", o = "_dismiss_bgze9_161", t = {
|
|
2
|
+
root: s,
|
|
3
|
+
dismiss: o
|
|
4
|
+
};
|
|
11
5
|
export {
|
|
12
|
-
|
|
13
|
-
|
|
6
|
+
t as default,
|
|
7
|
+
o as dismiss,
|
|
8
|
+
s as root
|
|
14
9
|
};
|
|
15
10
|
//# sourceMappingURL=fondue-components33.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components33.js","sources":[
|
|
1
|
+
{"version":3,"file":"fondue-components33.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -1,158 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
},
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
positive: "",
|
|
33
|
-
negative: "",
|
|
34
|
-
danger: "",
|
|
35
|
-
loud: ""
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
compoundVariants: [
|
|
39
|
-
{
|
|
40
|
-
disabled: !1,
|
|
41
|
-
variant: "default",
|
|
42
|
-
emphasis: "default",
|
|
43
|
-
class: "tw-bg-button-background hover:tw-bg-button-background-hover active:tw-bg-button-background-pressed"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
disabled: !1,
|
|
47
|
-
variant: "default",
|
|
48
|
-
emphasis: "weak",
|
|
49
|
-
class: "hover:tw-bg-button-background-hover active:tw-bg-button-background-pressed"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
disabled: !1,
|
|
53
|
-
variant: "default",
|
|
54
|
-
emphasis: "strong",
|
|
55
|
-
class: "tw-bg-button-strong-background hover:tw-bg-button-strong-background-hover active:tw-bg-button-strong-background-pressed"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
disabled: !1,
|
|
59
|
-
variant: "positive",
|
|
60
|
-
emphasis: "default",
|
|
61
|
-
class: "tw-bg-button-positive-background hover:tw-bg-button-positive-background-hover active:tw-bg-button-positive-background-pressed"
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
disabled: !1,
|
|
65
|
-
variant: "positive",
|
|
66
|
-
emphasis: "weak",
|
|
67
|
-
class: "hover:tw-bg-button-positive-background-hover active:tw-bg-button-positive-background-pressed"
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
disabled: !1,
|
|
71
|
-
variant: "positive",
|
|
72
|
-
emphasis: "strong",
|
|
73
|
-
class: "tw-bg-button-strong-positive-background hover:tw-bg-button-strong-positive-background-hover active:tw-bg-button-strong-positive-background-pressed"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
disabled: !1,
|
|
77
|
-
variant: "negative",
|
|
78
|
-
emphasis: "default",
|
|
79
|
-
class: "tw-bg-button-negative-background hover:tw-bg-button-negative-background-hover active:tw-bg-button-negative-background-pressed"
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
disabled: !1,
|
|
83
|
-
variant: "negative",
|
|
84
|
-
emphasis: "weak",
|
|
85
|
-
class: "hover:tw-bg-button-negative-background-hover active:tw-bg-button-negative-background-pressed"
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
disabled: !1,
|
|
89
|
-
variant: "negative",
|
|
90
|
-
emphasis: "strong",
|
|
91
|
-
class: "tw-bg-button-strong-negative-background hover:tw-bg-button-strong-negative-background-hover active:tw-bg-button-strong-negative-background-pressed"
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
disabled: !1,
|
|
95
|
-
variant: "danger",
|
|
96
|
-
emphasis: "default",
|
|
97
|
-
class: "tw-bg-button-background hover:tw-bg-button-background-hover active:tw-bg-button-background-pressed"
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
disabled: !1,
|
|
101
|
-
variant: "danger",
|
|
102
|
-
emphasis: "weak",
|
|
103
|
-
class: "hover:tw-bg-button-background-hover active:tw-bg-button-background-pressed"
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
disabled: !1,
|
|
107
|
-
variant: "danger",
|
|
108
|
-
emphasis: "strong",
|
|
109
|
-
class: "tw-bg-button-danger-background hover:tw-bg-button-danger-background-hover active:tw-bg-button-danger-background-pressed"
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
disabled: !1,
|
|
113
|
-
variant: "loud",
|
|
114
|
-
emphasis: "default",
|
|
115
|
-
class: "tw-bg-box-selected hover:tw-bg-box-selected-hover active:tw-bg-box-selected-pressed"
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
disabled: !1,
|
|
119
|
-
variant: "loud",
|
|
120
|
-
emphasis: "weak",
|
|
121
|
-
class: "tw-border-transparent hover:tw-bg-box-selected-hover active:tw-bg-box-selected-pressed"
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
disabled: !1,
|
|
125
|
-
variant: "loud",
|
|
126
|
-
emphasis: "strong",
|
|
127
|
-
class: "tw-bg-box-selected-strong hover:tw-bg-box-selected-strong-hover active:tw-bg-box-selected-strong-pressed "
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
aspect: "default",
|
|
131
|
-
size: "small",
|
|
132
|
-
class: "tw-px-2"
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
aspect: "default",
|
|
136
|
-
size: "medium",
|
|
137
|
-
class: "tw-px-4"
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
aspect: "default",
|
|
141
|
-
size: "large",
|
|
142
|
-
class: "tw-px-6"
|
|
143
|
-
}
|
|
144
|
-
],
|
|
145
|
-
defaultVariants: {
|
|
146
|
-
variant: "default",
|
|
147
|
-
emphasis: "strong",
|
|
148
|
-
size: "medium",
|
|
149
|
-
rounding: "medium",
|
|
150
|
-
hugWidth: !0,
|
|
151
|
-
aspect: "default",
|
|
152
|
-
disabled: !1
|
|
153
|
-
}
|
|
154
|
-
});
|
|
1
|
+
const g = (n) => n.startsWith("aria-") || n === "role", s = {
|
|
2
|
+
m: "margin",
|
|
3
|
+
mx: "margin-x",
|
|
4
|
+
my: "margin-y",
|
|
5
|
+
mt: "margin-top",
|
|
6
|
+
mr: "margin-right",
|
|
7
|
+
mb: "margin-bottom",
|
|
8
|
+
ml: "margin-left",
|
|
9
|
+
p: "padding",
|
|
10
|
+
px: "padding-x",
|
|
11
|
+
py: "padding-y",
|
|
12
|
+
pt: "padding-top",
|
|
13
|
+
pr: "padding-right",
|
|
14
|
+
pb: "padding-bottom",
|
|
15
|
+
pl: "padding-left",
|
|
16
|
+
direction: "flex-direction",
|
|
17
|
+
align: "align-items",
|
|
18
|
+
wrap: "flex-wrap",
|
|
19
|
+
columns: "grid-template-columns",
|
|
20
|
+
rows: "grid-template-rows"
|
|
21
|
+
}, m = (n, r) => n === "columns" || n === "rows" ? typeof r == "number" ? `repeat(${r}, 1fr)` : r : typeof r == "number" ? `${r * 0.25}rem` : r, f = (n, r = {}) => Object.entries(n).reduce((i, [t, o]) => {
|
|
22
|
+
if (g(t))
|
|
23
|
+
return i;
|
|
24
|
+
const e = t in r ? r[t] : t in s ? s[t] : t, p = e == null ? void 0 : e.replaceAll(/([\da-z]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase();
|
|
25
|
+
if (typeof o == "object")
|
|
26
|
+
for (const [d, a] of Object.entries(o))
|
|
27
|
+
a !== void 0 && (i[`--${d}-${p}`] = m(t, a));
|
|
28
|
+
else
|
|
29
|
+
i[`--${p}`] = m(t, o);
|
|
30
|
+
return i;
|
|
31
|
+
}, {});
|
|
155
32
|
export {
|
|
156
|
-
|
|
33
|
+
f as propsToCssVariables
|
|
157
34
|
};
|
|
158
35
|
//# sourceMappingURL=fondue-components34.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components34.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"fondue-components34.js","sources":["../src/helpers/propsToCssVariables.ts"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { type CSSProperties } from 'react';\n\nimport { type Breakpoint } from './layout';\n\nconst isAriaProp = (key: string): boolean => {\n return key.startsWith('aria-') || key === 'role';\n};\n\nconst abbreviationToCssProperty: Record<string, string> = {\n m: 'margin',\n mx: 'margin-x',\n my: 'margin-y',\n mt: 'margin-top',\n mr: 'margin-right',\n mb: 'margin-bottom',\n ml: 'margin-left',\n p: 'padding',\n px: 'padding-x',\n py: 'padding-y',\n pt: 'padding-top',\n pr: 'padding-right',\n pb: 'padding-bottom',\n pl: 'padding-left',\n direction: 'flex-direction',\n align: 'align-items',\n wrap: 'flex-wrap',\n columns: 'grid-template-columns',\n rows: 'grid-template-rows',\n};\n\nconst transformValueBasedOnKey = (key: string, value: string | number): string | number => {\n if (key === 'columns' || key === 'rows') {\n if (typeof value === 'number') {\n return `repeat(${value}, 1fr)`;\n }\n return value;\n }\n\n // Spacing tokens\n if (typeof value === 'number') {\n return `${value * 0.25}rem`;\n }\n\n return value;\n};\n\nexport const propsToCssVariables = (\n props: Record<string, string | number | boolean | { [key in Breakpoint]?: string | number | boolean }>,\n extraAbbreviationToCssProperty: Record<string, string> = {},\n): CSSProperties => {\n return Object.entries(props).reduce((acc, [key, value]) => {\n if (isAriaProp(key)) {\n return acc;\n }\n\n const cssProperty =\n key in extraAbbreviationToCssProperty\n ? extraAbbreviationToCssProperty[key]\n : key in abbreviationToCssProperty\n ? abbreviationToCssProperty[key]\n : key;\n const cssPropertyKebabCase = cssProperty?.replaceAll(/([\\da-z]|(?=[A-Z]))([A-Z])/g, '$1-$2').toLowerCase();\n\n if (typeof value === 'object') {\n for (const [breakpoint, breakpointValue] of Object.entries(value)) {\n if (breakpointValue !== undefined) {\n // @ts-expect-error CSS variables are not typed into `CSSProperties`\n acc[`--${breakpoint}-${cssPropertyKebabCase}`] = transformValueBasedOnKey(key, breakpointValue);\n }\n }\n } else {\n // @ts-expect-error CSS variables are not typed into `CSSProperties`\n acc[`--${cssPropertyKebabCase}`] = transformValueBasedOnKey(key, value);\n }\n\n return acc;\n }, {} as CSSProperties);\n};\n"],"names":["isAriaProp","key","abbreviationToCssProperty","transformValueBasedOnKey","value","propsToCssVariables","props","extraAbbreviationToCssProperty","acc","cssProperty","cssPropertyKebabCase","breakpoint","breakpointValue"],"mappings":"AAMA,MAAMA,IAAa,CAACC,MACTA,EAAI,WAAW,OAAO,KAAKA,MAAQ,QAGxCC,IAAoD;AAAA,EACtD,GAAG;AAAA,EACH,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,GAAG;AAAA,EACH,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,WAAW;AAAA,EACX,OAAO;AAAA,EACP,MAAM;AAAA,EACN,SAAS;AAAA,EACT,MAAM;AACV,GAEMC,IAA2B,CAACF,GAAaG,MACvCH,MAAQ,aAAaA,MAAQ,SACzB,OAAOG,KAAU,WACV,UAAUA,CAAK,WAEnBA,IAIP,OAAOA,KAAU,WACV,GAAGA,IAAQ,IAAI,QAGnBA,GAGEC,IAAsB,CAC/BC,GACAC,IAAyD,OAElD,OAAO,QAAQD,CAAK,EAAE,OAAO,CAACE,GAAK,CAACP,GAAKG,CAAK,MAAM;AACnD,MAAAJ,EAAWC,CAAG;AACP,WAAAO;AAGL,QAAAC,IACFR,KAAOM,IACDA,EAA+BN,CAAG,IAClCA,KAAOC,IACLA,EAA0BD,CAAG,IAC7BA,GACNS,IAAuBD,KAAA,gBAAAA,EAAa,WAAW,+BAA+B,SAAS;AAEzF,MAAA,OAAOL,KAAU;AACjB,eAAW,CAACO,GAAYC,CAAe,KAAK,OAAO,QAAQR,CAAK;AAC5D,MAAIQ,MAAoB,WAEhBJ,EAAA,KAAKG,CAAU,IAAID,CAAoB,EAAE,IAAIP,EAAyBF,GAAKW,CAAe;AAAA;AAKtG,IAAAJ,EAAI,KAAKE,CAAoB,EAAE,IAAIP,EAAyBF,GAAKG,CAAK;AAGnE,SAAAI;AACX,GAAG,EAAmB;"}
|
|
@@ -1,121 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
emphasis: {
|
|
5
|
-
default: "",
|
|
6
|
-
weak: "",
|
|
7
|
-
strong: ""
|
|
8
|
-
},
|
|
9
|
-
variant: {
|
|
10
|
-
default: "",
|
|
11
|
-
positive: "",
|
|
12
|
-
negative: "",
|
|
13
|
-
danger: "",
|
|
14
|
-
loud: ""
|
|
15
|
-
},
|
|
16
|
-
disabled: {
|
|
17
|
-
true: "tw-text-box-disabled-inverse"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
compoundVariants: [
|
|
21
|
-
{
|
|
22
|
-
disabled: !1,
|
|
23
|
-
variant: "default",
|
|
24
|
-
emphasis: "default",
|
|
25
|
-
class: "[&_svg]:tw-text-button-icon group-hover:[&_svg]:tw-text-button-icon-hover group-active:[&_svg]:tw-text-button-icon-pressed [&_svg]:tw-leading-none"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
disabled: !1,
|
|
29
|
-
variant: "default",
|
|
30
|
-
emphasis: "weak",
|
|
31
|
-
class: "[&_svg]:tw-text-button-icon group-hover:[&_svg]:tw-text-button-icon-hover group-active:[&_svg]:tw-text-button-icon-pressed [&_svg]:tw-leading-none"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
disabled: !1,
|
|
35
|
-
variant: "default",
|
|
36
|
-
emphasis: "strong",
|
|
37
|
-
class: "[&_svg]:tw-text-button-strong-icon group-hover:[&_svg]:tw-text-button-strong-icon-hover group-active:[&_svg]:tw-text-button-strong-icon-pressed [&_svg]:tw-leading-none"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
disabled: !1,
|
|
41
|
-
variant: "positive",
|
|
42
|
-
emphasis: "default",
|
|
43
|
-
class: "[&_svg]:tw-text-button-positive-icon group-hover:[&_svg]:tw-text-button-positive-icon-hover group-active:[&_svg]:tw-text-button-positive-icon-pressed [&_svg]:tw-leading-none"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
disabled: !1,
|
|
47
|
-
variant: "positive",
|
|
48
|
-
emphasis: "weak",
|
|
49
|
-
class: "[&_svg]:tw-text-button-strong-positive-icon group-hover:[&_svg]:tw-text-button-strong-positive-icon-hovergroup-active:[&_svg]:tw-text-button-strong-positive-icon-pressed [&_svg]:tw-leading-none"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
disabled: !1,
|
|
53
|
-
variant: "positive",
|
|
54
|
-
emphasis: "strong",
|
|
55
|
-
class: "[&_svg]:tw-text-button-strong-positive-icon group-hover:[&_svg]:tw-text-button-strong-positive-icon-hover group-active:[&_svg]:tw-text-button-strong-positive-icon-pressed [&_svg]:tw-leading-none"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
disabled: !1,
|
|
59
|
-
variant: "negative",
|
|
60
|
-
emphasis: "default",
|
|
61
|
-
class: "[&_svg]:tw-text-button-negative-icon group-hover:[&_svg]:tw-text-button-negative-icon-hovergroup-active:[&_svg]:tw-text-button-negative-icon-pressed [&_svg]:tw-leading-none"
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
disabled: !1,
|
|
65
|
-
variant: "negative",
|
|
66
|
-
emphasis: "weak",
|
|
67
|
-
class: "[&_svg]:tw-text-button-negative-icon group-hover:[&_svg]:tw-text-button-negative-icon-hovergroup-active:[&_svg]:tw-text-button-negative-icon-pressed [&_svg]:tw-leading-none"
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
disabled: !1,
|
|
71
|
-
variant: "negative",
|
|
72
|
-
emphasis: "strong",
|
|
73
|
-
class: "[&_svg]:tw-text-button-strong-negative-icon group-hover:[&_svg]:tw-text-button-strong-negative-icon-hovergroup-active:[&_svg]:tw-text-button-strong-negative-icon-pressed [&_svg]:tw-leading-none"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
disabled: !1,
|
|
77
|
-
variant: "danger",
|
|
78
|
-
emphasis: "default",
|
|
79
|
-
class: "[&_svg]:tw-text-button-negative-icon group-hover:[&_svg]:tw-text-button-negative-icon-hovergroup-active:[&_svg]:tw-text-button-negative-icon-pressed [&_svg]:tw-leading-none"
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
disabled: !1,
|
|
83
|
-
variant: "danger",
|
|
84
|
-
emphasis: "weak",
|
|
85
|
-
class: "[&_svg]:tw-text-button-negative-icon group-hover:[&_svg]:tw-text-button-negative-icon-hovergroup-active:[&_svg]:tw-text-button-negative-icon-pressed [&_svg]:tw-leading-none"
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
disabled: !1,
|
|
89
|
-
variant: "danger",
|
|
90
|
-
emphasis: "strong",
|
|
91
|
-
class: "[&_svg]:tw-text-button-danger-icon group-hover:[&_svg]:tw-text-button-danger-icon-hovergroup-active:[&_svg]:tw-text-button-danger-icon-pressed [&_svg]:tw-leading-none"
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
disabled: !1,
|
|
95
|
-
variant: "loud",
|
|
96
|
-
emphasis: "default",
|
|
97
|
-
class: "[&_svg]:tw-text-box-selected-inverse group-hover:[&_svg]:tw-text-box-selected-inverse-hovergroup-active:[&_svg]:tw-text-box-selected-inverse-pressed [&_svg]:tw-leading-none"
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
disabled: !1,
|
|
101
|
-
variant: "loud",
|
|
102
|
-
emphasis: "weak",
|
|
103
|
-
class: "[&_svg]:tw-text-box-selected-inverse group-hover:[&_svg]:tw-text-box-selected-inverse-hovergroup-active:[&_svg]:tw-text-box-selected-inverse-pressed [&_svg]:tw-leading-none"
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
disabled: !1,
|
|
107
|
-
variant: "loud",
|
|
108
|
-
emphasis: "strong",
|
|
109
|
-
class: "[&_svg]:tw-text-box-selected-strong-inverse group-hover:[&_svg]:tw-text-box-selected-strong-inversegroup-active:[&_svg]:tw-text-box-selected-strong-inverse [&_svg]:tw-leading-none"
|
|
110
|
-
}
|
|
111
|
-
],
|
|
112
|
-
defaultVariants: {
|
|
113
|
-
emphasis: "strong",
|
|
114
|
-
variant: "default",
|
|
115
|
-
disabled: !1
|
|
116
|
-
}
|
|
117
|
-
});
|
|
1
|
+
const o = "_root_5sic9_5", t = {
|
|
2
|
+
root: o
|
|
3
|
+
};
|
|
118
4
|
export {
|
|
119
|
-
|
|
5
|
+
t as default,
|
|
6
|
+
o as root
|
|
120
7
|
};
|
|
121
8
|
//# sourceMappingURL=fondue-components35.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components35.js","sources":[
|
|
1
|
+
{"version":3,"file":"fondue-components35.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|