@frontify/fondue-components 1.0.1 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fondue-components10.js +6 -34
- package/dist/fondue-components10.js.map +1 -1
- package/dist/fondue-components11.js +2360 -7
- package/dist/fondue-components11.js.map +1 -1
- package/dist/fondue-components12.js +143 -2
- package/dist/fondue-components12.js.map +1 -1
- package/dist/fondue-components13.js +28 -29
- package/dist/fondue-components13.js.map +1 -1
- package/dist/fondue-components3.js +19 -19
- package/dist/fondue-components3.js.map +1 -1
- package/dist/fondue-components4.js +11 -11
- package/dist/fondue-components4.js.map +1 -1
- package/dist/fondue-components5.js +11 -11
- package/dist/fondue-components5.js.map +1 -1
- package/dist/fondue-components6.js +141 -6
- package/dist/fondue-components6.js.map +1 -1
- package/dist/fondue-components7.js +24 -45
- package/dist/fondue-components7.js.map +1 -1
- package/dist/fondue-components8.js +20 -23
- package/dist/fondue-components8.js.map +1 -1
- package/dist/fondue-components9.js +26 -93
- package/dist/fondue-components9.js.map +1 -1
- package/package.json +7 -4
- package/dist/fondue-components14.js +0 -602
- package/dist/fondue-components14.js.map +0 -1
- package/dist/fondue-components15.js +0 -2363
- package/dist/fondue-components15.js.map +0 -1
- package/dist/fondue-components16.js +0 -146
- package/dist/fondue-components16.js.map +0 -1
- package/dist/fondue-components17.js +0 -5
- package/dist/fondue-components17.js.map +0 -1
- package/dist/fondue-components18.js +0 -5
- package/dist/fondue-components18.js.map +0 -1
- package/dist/fondue-components19.js +0 -32
- package/dist/fondue-components19.js.map +0 -1
|
@@ -1,38 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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
|
-
style: {
|
|
15
|
-
default: "tw-bg-box-selected",
|
|
16
|
-
positive: "tw-bg-box-positive",
|
|
17
|
-
negative: "tw-bg-box-negative"
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}), i = t({
|
|
21
|
-
base: "tw-h-full tw-w-full",
|
|
22
|
-
variants: {
|
|
23
|
-
style: {
|
|
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--translate-x-[calc(100%-var(--loading-bar-value))]"
|
|
31
|
-
}
|
|
32
|
-
}
|
|
1
|
+
import { extendTailwindMerge as e } from "./fondue-components11.js";
|
|
2
|
+
import { tv as t } from "./fondue-components12.js";
|
|
3
|
+
e({
|
|
4
|
+
prefix: "tw-"
|
|
33
5
|
});
|
|
6
|
+
const m = (r) => t(r);
|
|
34
7
|
export {
|
|
35
|
-
|
|
36
|
-
i as loadingBarStyles
|
|
8
|
+
m as sv
|
|
37
9
|
};
|
|
38
10
|
//# sourceMappingURL=fondue-components10.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components10.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"fondue-components10.js","sources":["../src/utilities/styleUtilities.ts"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { extendTailwindMerge } from 'tailwind-merge';\nimport { type TV, tv } from 'tailwind-variants';\n\ntype ClassNameValue = ClassNameArray | string | null | undefined | 0 | false;\ntype ClassNameArray = ClassNameValue[];\n\nconst customTwMerge = extendTailwindMerge({\n prefix: 'tw-',\n});\n\nexport const cn = (...classLists: ClassNameValue[]): string => {\n return customTwMerge(...classLists);\n};\n\nexport const sv: TV = (variants) => {\n return tv(variants);\n};\n"],"names":["extendTailwindMerge","sv","variants","tv"],"mappings":";;AAQsBA,EAAoB;AAAA,EACtC,QAAQ;AACZ,CAAC;AAMY,MAAAC,IAAS,CAACC,MACZC,EAAGD,CAAQ;"}
|