@frontify/fondue-components 1.2.2 → 1.2.3
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 +110 -27
- package/dist/fondue-components10.js.map +1 -1
- package/dist/fondue-components11.js +30 -2355
- package/dist/fondue-components11.js.map +1 -1
- package/dist/fondue-components12.js +2352 -135
- package/dist/fondue-components12.js.map +1 -1
- package/dist/fondue-components13.js +142 -28
- package/dist/fondue-components13.js.map +1 -1
- package/dist/fondue-components14.js +32 -0
- package/dist/fondue-components14.js.map +1 -0
- package/dist/fondue-components3.js +21 -16
- package/dist/fondue-components3.js.map +1 -1
- package/dist/fondue-components5.js +1 -1
- package/dist/fondue-components6.js +8 -12
- package/dist/fondue-components6.js.map +1 -1
- package/dist/fondue-components7.js +10 -152
- package/dist/fondue-components7.js.map +1 -1
- package/dist/fondue-components8.js +58 -21
- package/dist/fondue-components8.js.map +1 -1
- package/dist/fondue-components9.js +20 -19
- package/dist/fondue-components9.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +5 -3
|
@@ -1,38 +1,121 @@
|
|
|
1
|
-
import { sv as t } from "./fondue-
|
|
2
|
-
const
|
|
3
|
-
base: "tw-relative tw-w-full tw-overflow-hidden",
|
|
1
|
+
import { sv as t } from "./fondue-components7.js";
|
|
2
|
+
const s = t({
|
|
4
3
|
variants: {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
small: "tw-h-1",
|
|
10
|
-
medium: "tw-h-2",
|
|
11
|
-
large: "tw-h-3",
|
|
12
|
-
"x-large": "tw-h-4"
|
|
4
|
+
emphasis: {
|
|
5
|
+
default: "",
|
|
6
|
+
weak: "",
|
|
7
|
+
strong: ""
|
|
13
8
|
},
|
|
14
9
|
style: {
|
|
15
|
-
default: "
|
|
16
|
-
positive: "
|
|
17
|
-
negative: "
|
|
10
|
+
default: "",
|
|
11
|
+
positive: "",
|
|
12
|
+
negative: "",
|
|
13
|
+
danger: "",
|
|
14
|
+
loud: ""
|
|
15
|
+
},
|
|
16
|
+
disabled: {
|
|
17
|
+
true: "tw-text-box-disabled-inverse"
|
|
18
18
|
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
19
|
+
},
|
|
20
|
+
compoundVariants: [
|
|
21
|
+
{
|
|
22
|
+
disabled: !1,
|
|
23
|
+
style: "default",
|
|
24
|
+
emphasis: "default",
|
|
25
|
+
class: "tw-text-button-text group-hover:tw-text-button-text-hover group-active:tw-text-button-text-pressed"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
disabled: !1,
|
|
29
|
+
style: "default",
|
|
30
|
+
emphasis: "weak",
|
|
31
|
+
class: "tw-text-button-text group-hover:tw-text-button-text-hover group-active:tw-text-button-text-pressed"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
disabled: !1,
|
|
35
|
+
style: "default",
|
|
36
|
+
emphasis: "strong",
|
|
37
|
+
class: "tw-text-button-strong-icon group-hover:tw-text-button-strong-icon-hover group-active:tw-text-button-strong-text-pressed"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
disabled: !1,
|
|
41
|
+
style: "positive",
|
|
42
|
+
emphasis: "default",
|
|
43
|
+
class: "tw-text-button-positive-text group-hover:tw-text-button-positive-text-hover group-active:tw-text-button-positive-text-pressed"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
disabled: !1,
|
|
47
|
+
style: "positive",
|
|
48
|
+
emphasis: "weak",
|
|
49
|
+
class: "tw-text-button-positive-text group-hover:tw-text-button-positive-text-hover group-active:tw-text-button-positive-text-pressed"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
disabled: !1,
|
|
53
|
+
style: "positive",
|
|
54
|
+
emphasis: "strong",
|
|
55
|
+
class: "tw-text-button-strong-positive-text group-hover:tw-text-button-strong-positive-text-hover group-active:tw-text-button-strong-positive-text-pressed"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
disabled: !1,
|
|
59
|
+
style: "negative",
|
|
60
|
+
emphasis: "default",
|
|
61
|
+
class: "tw-text-button-negative-text group-hover:tw-text-button-negative-text-hovergroup-active:tw-text-button-negative-text-pressed"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
disabled: !1,
|
|
65
|
+
style: "negative",
|
|
66
|
+
emphasis: "weak",
|
|
67
|
+
class: "tw-text-button-negative-text group-hover:tw-text-button-negative-text-hovergroup-active:tw-text-button-negative-text-pressed"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
disabled: !1,
|
|
71
|
+
style: "negative",
|
|
72
|
+
emphasis: "strong",
|
|
73
|
+
class: "tw-text-button-strong-negative-text group-hover:tw-text-button-strong-negative-text-hovergroup-active:tw-text-button-strong-negative-text-pressed"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
disabled: !1,
|
|
77
|
+
style: "danger",
|
|
78
|
+
emphasis: "default",
|
|
79
|
+
class: "tw-text-button-negative-icon group-hover:tw-text-button-negative-icon-hovergroup-active:tw-text-button-negative-icon-pressed"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
disabled: !1,
|
|
83
|
+
style: "danger",
|
|
84
|
+
emphasis: "weak",
|
|
85
|
+
class: "tw-text-button-negative-icon group-hover:tw-text-button-negative-icon-hovergroup-active:tw-text-button-negative-icon-pressed"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
disabled: !1,
|
|
89
|
+
style: "danger",
|
|
90
|
+
emphasis: "strong",
|
|
91
|
+
class: "tw-text-button-danger-text group-hover:tw-text-button-danger-text-hovergroup-active:tw-text-button-danger-text-pressed"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
disabled: !1,
|
|
95
|
+
style: "loud",
|
|
96
|
+
emphasis: "default",
|
|
97
|
+
class: "tw-text-box-selected-inverse group-hover:tw-text-box-selected-inverse-hovergroup-active:tw-text-box-selected-inverse-pressed"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
disabled: !1,
|
|
101
|
+
style: "loud",
|
|
102
|
+
emphasis: "weak",
|
|
103
|
+
class: "tw-text-box-selected-inverse group-hover:tw-text-box-selected-inverse-hovergroup-active:tw-text-box-selected-inverse-pressed"
|
|
27
104
|
},
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
105
|
+
{
|
|
106
|
+
disabled: !1,
|
|
107
|
+
style: "loud",
|
|
108
|
+
emphasis: "strong",
|
|
109
|
+
class: "tw-text-box-selected-strong-inverse group-hover:tw-text-box-selected-strong-inversegroup-active:tw-text-box-selected-strong-inverse"
|
|
31
110
|
}
|
|
111
|
+
],
|
|
112
|
+
defaultVariants: {
|
|
113
|
+
emphasis: "strong",
|
|
114
|
+
style: "default",
|
|
115
|
+
disabled: !1
|
|
32
116
|
}
|
|
33
117
|
});
|
|
34
118
|
export {
|
|
35
|
-
|
|
36
|
-
i as loadingBarStyles
|
|
119
|
+
s as textStyles
|
|
37
120
|
};
|
|
38
121
|
//# sourceMappingURL=fondue-components10.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components10.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"fondue-components10.js","sources":["../src/components/Button/styles/textStyles.ts"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { sv } from '#/utilities/styleUtilities';\n\nexport const textStyles = sv({\n variants: {\n emphasis: {\n default: '',\n weak: '',\n strong: '',\n },\n style: {\n default: '',\n positive: '',\n negative: '',\n danger: '',\n loud: '',\n },\n disabled: {\n true: 'tw-text-box-disabled-inverse',\n },\n },\n compoundVariants: [\n {\n disabled: false,\n style: 'default',\n emphasis: 'default',\n class:\n 'tw-text-button-text ' +\n 'group-hover:tw-text-button-text-hover ' +\n 'group-active:tw-text-button-text-pressed',\n },\n {\n disabled: false,\n style: 'default',\n emphasis: 'weak',\n class:\n 'tw-text-button-text ' +\n 'group-hover:tw-text-button-text-hover ' +\n 'group-active:tw-text-button-text-pressed',\n },\n {\n disabled: false,\n style: 'default',\n emphasis: 'strong',\n class:\n 'tw-text-button-strong-icon ' +\n 'group-hover:tw-text-button-strong-icon-hover ' +\n 'group-active:tw-text-button-strong-text-pressed',\n },\n {\n disabled: false,\n style: 'positive',\n emphasis: 'default',\n class:\n 'tw-text-button-positive-text ' +\n 'group-hover:tw-text-button-positive-text-hover ' +\n 'group-active:tw-text-button-positive-text-pressed',\n },\n {\n disabled: false,\n style: 'positive',\n emphasis: 'weak',\n class:\n 'tw-text-button-positive-text ' +\n 'group-hover:tw-text-button-positive-text-hover ' +\n 'group-active:tw-text-button-positive-text-pressed',\n },\n {\n disabled: false,\n style: 'positive',\n emphasis: 'strong',\n class:\n 'tw-text-button-strong-positive-text ' +\n 'group-hover:tw-text-button-strong-positive-text-hover ' +\n 'group-active:tw-text-button-strong-positive-text-pressed',\n },\n {\n disabled: false,\n style: 'negative',\n emphasis: 'default',\n class:\n 'tw-text-button-negative-text ' +\n 'group-hover:tw-text-button-negative-text-hover' +\n 'group-active:tw-text-button-negative-text-pressed',\n },\n {\n disabled: false,\n style: 'negative',\n emphasis: 'weak',\n class:\n 'tw-text-button-negative-text ' +\n 'group-hover:tw-text-button-negative-text-hover' +\n 'group-active:tw-text-button-negative-text-pressed',\n },\n {\n disabled: false,\n style: 'negative',\n emphasis: 'strong',\n class:\n 'tw-text-button-strong-negative-text ' +\n 'group-hover:tw-text-button-strong-negative-text-hover' +\n 'group-active:tw-text-button-strong-negative-text-pressed',\n },\n {\n disabled: false,\n style: 'danger',\n emphasis: 'default',\n class:\n 'tw-text-button-negative-icon ' +\n 'group-hover:tw-text-button-negative-icon-hover' +\n 'group-active:tw-text-button-negative-icon-pressed',\n },\n {\n disabled: false,\n style: 'danger',\n emphasis: 'weak',\n class:\n 'tw-text-button-negative-icon ' +\n 'group-hover:tw-text-button-negative-icon-hover' +\n 'group-active:tw-text-button-negative-icon-pressed',\n },\n {\n disabled: false,\n style: 'danger',\n emphasis: 'strong',\n class:\n 'tw-text-button-danger-text ' +\n 'group-hover:tw-text-button-danger-text-hover' +\n 'group-active:tw-text-button-danger-text-pressed',\n },\n {\n disabled: false,\n style: 'loud',\n emphasis: 'default',\n class:\n 'tw-text-box-selected-inverse ' +\n 'group-hover:tw-text-box-selected-inverse-hover' +\n 'group-active:tw-text-box-selected-inverse-pressed',\n },\n {\n disabled: false,\n style: 'loud',\n emphasis: 'weak',\n class:\n 'tw-text-box-selected-inverse ' +\n 'group-hover:tw-text-box-selected-inverse-hover' +\n 'group-active:tw-text-box-selected-inverse-pressed',\n },\n {\n disabled: false,\n style: 'loud',\n emphasis: 'strong',\n class:\n 'tw-text-box-selected-strong-inverse ' +\n 'group-hover:tw-text-box-selected-strong-inverse' +\n 'group-active:tw-text-box-selected-strong-inverse',\n },\n ],\n defaultVariants: {\n emphasis: 'strong',\n style: 'default',\n disabled: false,\n },\n});\n"],"names":["textStyles","sv"],"mappings":";AAIO,MAAMA,IAAaC,EAAG;AAAA,EACzB,UAAU;AAAA,IACN,UAAU;AAAA,MACN,SAAS;AAAA,MACT,MAAM;AAAA,MACN,QAAQ;AAAA,IACZ;AAAA,IACA,OAAO;AAAA,MACH,SAAS;AAAA,MACT,UAAU;AAAA,MACV,UAAU;AAAA,MACV,QAAQ;AAAA,MACR,MAAM;AAAA,IACV;AAAA,IACA,UAAU;AAAA,MACN,MAAM;AAAA,IACV;AAAA,EACJ;AAAA,EACA,kBAAkB;AAAA,IACd;AAAA,MACI,UAAU;AAAA,MACV,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,UAAU;AAAA,MACV,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,UAAU;AAAA,MACV,OAAO;AAAA,MACP,UAAU;AAAA,M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