@frontify/fondue-components 1.1.1 → 1.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-components10.js +34 -6
- package/dist/fondue-components10.js.map +1 -1
- package/dist/fondue-components3.js +26 -40
- package/dist/fondue-components3.js.map +1 -1
- package/dist/fondue-components5.js +1 -1
- package/dist/fondue-components6.js +10 -139
- package/dist/fondue-components6.js.map +1 -1
- package/dist/fondue-components7.js +56 -23
- package/dist/fondue-components7.js.map +1 -1
- package/dist/fondue-components8.js +17 -20
- package/dist/fondue-components8.js.map +1 -1
- package/dist/fondue-components9.js +91 -27
- package/dist/fondue-components9.js.map +1 -1
- package/dist/index.d.ts +7 -5
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,38 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { sv as t } from "./fondue-components6.js";
|
|
2
|
+
const a = 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
|
+
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
|
+
}
|
|
5
33
|
});
|
|
6
|
-
const m = (r) => t(r);
|
|
7
34
|
export {
|
|
8
|
-
|
|
35
|
+
a as loadingBarContainerStyles,
|
|
36
|
+
i as loadingBarStyles
|
|
9
37
|
};
|
|
10
38
|
//# 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/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 style: {\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 style: {\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--translate-x-[calc(100%-var(--loading-bar-value))]',\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,OAAO;AAAA,MACH,SAAS;AAAA,MACT,UAAU;AAAA,MACV,UAAU;AAAA,IACd;AAAA,EACJ;AACJ,CAAC,GAEYC,IAAmBD,EAAG;AAAA,EAC/B,MAAM;AAAA,EACN,UAAU;AAAA,IACN,OAAO;AAAA,MACH,SAAS;AAAA,MACT,UAAU;AAAA,MACV,UAAU;AAAA,IACd;AAAA,IACA,oBAAoB;AAAA,MAChB,MAAM;AAAA,MACN,OAAO;AAAA,IACX;AAAA,EACJ;AACJ,CAAC;"}
|
|
@@ -1,49 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as f } from "react";
|
|
3
|
+
import { cn as d } from "./fondue-components6.js";
|
|
4
|
+
import { buttonStyles as u } from "./fondue-components7.js";
|
|
5
|
+
import { iconStyles as s } from "./fondue-components8.js";
|
|
6
|
+
import { textStyles as c } from "./fondue-components9.js";
|
|
7
|
+
const b = f(
|
|
7
8
|
({
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}, r) => /* @__PURE__ */ u(
|
|
9
|
+
children: m,
|
|
10
|
+
style: o,
|
|
11
|
+
size: r = "medium",
|
|
12
|
+
"data-test-id": e = "fondue-button",
|
|
13
|
+
className: i = "",
|
|
14
|
+
...t
|
|
15
|
+
}, n) => /* @__PURE__ */ a(
|
|
16
16
|
"button",
|
|
17
17
|
{
|
|
18
|
-
ref:
|
|
19
|
-
"data-test-id":
|
|
20
|
-
className: d(
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
style:
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
...
|
|
27
|
-
children:
|
|
28
|
-
n && /* @__PURE__ */ i(
|
|
29
|
-
"span",
|
|
30
|
-
{
|
|
31
|
-
"data-test-id": `${s}-icon`,
|
|
32
|
-
className: p({
|
|
33
|
-
iconSpacing: t && !m ? e : "none",
|
|
34
|
-
style: a,
|
|
35
|
-
...o
|
|
36
|
-
}),
|
|
37
|
-
children: f(n, { size: l[e] })
|
|
38
|
-
}
|
|
39
|
-
),
|
|
40
|
-
t && /* @__PURE__ */ i("span", { className: x({ hideLabel: m, style: a, ...o }), "data-test-id": `${s}-text`, children: t })
|
|
41
|
-
]
|
|
18
|
+
ref: n,
|
|
19
|
+
"data-test-id": e,
|
|
20
|
+
className: d(
|
|
21
|
+
u({ size: r, style: o, ...t }),
|
|
22
|
+
c({ style: o, ...t }),
|
|
23
|
+
s({ style: o, ...t }),
|
|
24
|
+
i
|
|
25
|
+
),
|
|
26
|
+
...t,
|
|
27
|
+
children: m
|
|
42
28
|
}
|
|
43
29
|
)
|
|
44
30
|
);
|
|
45
|
-
|
|
31
|
+
b.displayName = "Button";
|
|
46
32
|
export {
|
|
47
|
-
|
|
33
|
+
b as Button
|
|
48
34
|
};
|
|
49
35
|
//# sourceMappingURL=fondue-components3.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components3.js","sources":["../src/components/Button/Button.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport {
|
|
1
|
+
{"version":3,"file":"fondue-components3.js","sources":["../src/components/Button/Button.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { forwardRef, type ForwardedRef, type MouseEvent, type ReactNode } from 'react';\n\nimport { cn } from '#/utilities/styleUtilities';\n\nimport { buttonStyles } from './styles/buttonStyles';\nimport { iconStyles } from './styles/iconStyles';\nimport { textStyles } from './styles/textStyles';\n\ntype ButtonRounding = 'medium' | 'full';\n\ntype ButtonStyle = 'default' | 'positive' | 'negative' | 'danger' | 'loud';\n\ntype ButtonSize = 'small' | 'medium' | 'large';\n\ntype ButtonType = 'button' | 'submit' | 'reset';\n\ntype ButtonEmphasis = 'default' | 'weak' | 'strong';\n\ntype ButtonAspect = 'default' | 'square';\n\nexport type ButtonProps = {\n /**\n * @default null\n */\n type?: ButtonType;\n /**\n * @default null\n */\n title?: string;\n /**\n * @default 'default'\n */\n style?: ButtonStyle;\n /**\n * @default 'strong'\n */\n emphasis?: ButtonEmphasis;\n /**\n * @default 'medium'\n */\n size?: ButtonSize;\n /**\n * @default 'medium'\n */\n rounding?: ButtonRounding;\n /**\n * @default false\n */\n disabled?: boolean;\n /**\n * @default 'default'\n */\n aspect?: ButtonAspect;\n /**\n * @default true\n */\n hugWidth?: boolean;\n children?: ReactNode;\n onClick?: (event?: MouseEvent<HTMLButtonElement>) => void;\n 'aria-label'?: string;\n 'aria-describedby'?: string;\n 'data-test-id'?: string;\n className?: string;\n};\n\nexport const Button = forwardRef<HTMLButtonElement | null, ButtonProps>(\n (\n {\n children,\n style,\n size = 'medium',\n 'data-test-id': dataTestId = 'fondue-button',\n className = '',\n ...props\n }: ButtonProps,\n ref: ForwardedRef<HTMLButtonElement | null>,\n ) => {\n return (\n <button\n ref={ref}\n data-test-id={dataTestId}\n className={cn(\n buttonStyles({ size, style, ...props }),\n textStyles({ style, ...props }),\n iconStyles({ style, ...props }),\n className,\n )}\n {...props}\n >\n {children}\n </button>\n );\n },\n);\n\nButton.displayName = 'Button';\n"],"names":["Button","forwardRef","children","style","size","dataTestId","className","props","ref","jsx","cn","buttonStyles","textStyles","iconStyles"],"mappings":";;;;;;AAmEO,MAAMA,IAASC;AAAA,EAClB,CACI;AAAA,IACI,UAAAC;AAAA,IACA,OAAAC;AAAA,IACA,MAAAC,IAAO;AAAA,IACP,gBAAgBC,IAAa;AAAA,IAC7B,WAAAC,IAAY;AAAA,IACZ,GAAGC;AAAA,KAEPC,MAGI,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACG,KAAAD;AAAA,MACA,gBAAcH;AAAA,MACd,WAAWK;AAAA,QACPC,EAAa,EAAE,MAAAP,GAAM,OAAAD,GAAO,GAAGI,GAAO;AAAA,QACtCK,EAAW,EAAE,OAAAT,GAAO,GAAGI,GAAO;AAAA,QAC9BM,EAAW,EAAE,OAAAV,GAAO,GAAGI,GAAO;AAAA,QAC9BD;AAAA,MACJ;AAAA,MACC,GAAGC;AAAA,MAEH,UAAAL;AAAA,IAAA;AAAA,EAAA;AAIjB;AAEAF,EAAO,cAAc;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import * as o from "@radix-ui/react-progress";
|
|
3
3
|
import { forwardRef as l } from "react";
|
|
4
|
-
import { loadingBarContainerStyles as f, loadingBarStyles as g } from "./fondue-
|
|
4
|
+
import { loadingBarContainerStyles as f, loadingBarStyles as g } from "./fondue-components10.js";
|
|
5
5
|
const p = l(
|
|
6
6
|
({
|
|
7
7
|
value: a,
|
|
@@ -1,144 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
variants: {
|
|
9
|
-
disabled: {
|
|
10
|
-
true: "tw-not-allowed tw-pointer-events-none tw-border-transparent tw-text-box-disabled-inverse tw-bg-box-disabled"
|
|
11
|
-
},
|
|
12
|
-
rounding: {
|
|
13
|
-
medium: "tw-rounded",
|
|
14
|
-
full: "tw-rounded-full"
|
|
15
|
-
},
|
|
16
|
-
size: {
|
|
17
|
-
small: "tw-h-6 tw-text-body-small",
|
|
18
|
-
medium: "tw-h-9 tw-text-body-medium",
|
|
19
|
-
large: "tw-h-12 tw-text-body-large"
|
|
20
|
-
},
|
|
21
|
-
iconOnly: {
|
|
22
|
-
true: "tw-aspect-square tw-px-0"
|
|
23
|
-
},
|
|
24
|
-
hugWidth: {
|
|
25
|
-
false: "tw-w-full"
|
|
26
|
-
},
|
|
27
|
-
emphasis: {
|
|
28
|
-
default: "",
|
|
29
|
-
weak: "",
|
|
30
|
-
strong: ""
|
|
31
|
-
},
|
|
32
|
-
style: {
|
|
33
|
-
default: "",
|
|
34
|
-
positive: "",
|
|
35
|
-
negative: "",
|
|
36
|
-
danger: "",
|
|
37
|
-
loud: ""
|
|
1
|
+
import { extendTailwindMerge as e } from "./fondue-components11.js";
|
|
2
|
+
import { tv as o } from "./fondue-components12.js";
|
|
3
|
+
const r = e({
|
|
4
|
+
prefix: "tw-",
|
|
5
|
+
extend: {
|
|
6
|
+
classGroups: {
|
|
7
|
+
"font-size": ["text-body-x-small", "text-body-small", "text-body-medium", "text-body-large"]
|
|
38
8
|
}
|
|
39
|
-
},
|
|
40
|
-
compoundVariants: [
|
|
41
|
-
{
|
|
42
|
-
style: "default",
|
|
43
|
-
emphasis: "default",
|
|
44
|
-
class: "tw-bg-button-background tw-border-button-border hover:tw-bg-button-background-hover active:tw-bg-button-background-pressed"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
style: "default",
|
|
48
|
-
emphasis: "weak",
|
|
49
|
-
class: "tw-border-transparent hover:tw-bg-button-background-hover hover:tw-border-button-border active:tw-bg-button-background-pressed"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
style: "default",
|
|
53
|
-
emphasis: "strong",
|
|
54
|
-
class: "tw-bg-button-strong-background tw-border-button-strong-border hover:tw-bg-button-strong-background-hover active:tw-bg-button-strong-background-pressed"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
style: "positive",
|
|
58
|
-
emphasis: "default",
|
|
59
|
-
class: "tw-bg-button-positive-background tw-border-button-positive-border hover:tw-bg-button-positive-background-hover active:tw-bg-button-positive-background-pressed"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
style: "positive",
|
|
63
|
-
emphasis: "weak",
|
|
64
|
-
class: "tw-border-transparent hover:tw-bg-button-positive-background-hover hover:tw-border-button-positive-border active:tw-bg-button-positive-background-pressed"
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
style: "positive",
|
|
68
|
-
emphasis: "strong",
|
|
69
|
-
class: "tw-bg-button-strong-positive-background tw-border-button-strong-positive-border hover:tw-bg-button-strong-positive-background-hover active:tw-bg-button-strong-positive-background-pressed"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
style: "negative",
|
|
73
|
-
emphasis: "default",
|
|
74
|
-
class: "tw-bg-button-negative-background tw-border-button-negative-border hover:tw-bg-button-negative-background-hover active:tw-bg-button-negative-background-pressed"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
style: "negative",
|
|
78
|
-
emphasis: "weak",
|
|
79
|
-
class: "tw-border-transparent hover:tw-bg-button-negative-background-hover hover:tw-border-button-negative-border active:tw-bg-button-negative-background-pressed"
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
style: "negative",
|
|
83
|
-
emphasis: "strong",
|
|
84
|
-
class: "tw-bg-button-strong-negative-background tw-border-button-strong-negative-border hover:tw-bg-button-strong-negative-background-hover active:tw-bg-button-strong-negative-background-pressed"
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
style: "danger",
|
|
88
|
-
emphasis: "default",
|
|
89
|
-
class: "tw-bg-button-background tw-border-button-border hover:tw-bg-button-background-hover active:tw-bg-button-background-pressed"
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
style: "danger",
|
|
93
|
-
emphasis: "weak",
|
|
94
|
-
class: "tw-border-transparent hover:tw-bg-button-background-hover active:tw-bg-button-background-pressed"
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
style: "danger",
|
|
98
|
-
emphasis: "strong",
|
|
99
|
-
class: "tw-bg-button-danger-background tw-border-button-danger-border hover:tw-bg-button-danger-background-hover active:tw-bg-button-danger-background-pressed"
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
style: "loud",
|
|
103
|
-
emphasis: "default",
|
|
104
|
-
class: "tw-bg-box-selected tw-border-button-border hover:tw-bg-box-selected-hover active:tw-bg-box-selected-pressed "
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
style: "loud",
|
|
108
|
-
emphasis: "weak",
|
|
109
|
-
class: "tw-border-transparent hover:tw-bg-box-selected-hover active:tw-bg-box-selected-pressed"
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
style: "loud",
|
|
113
|
-
emphasis: "strong",
|
|
114
|
-
class: "tw-bg-box-selected-strong tw-border-box-selected-strong hover:tw-bg-box-selected-strong-hover active:tw-bg-box-selected-strong-pressed "
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
iconOnly: !1,
|
|
118
|
-
size: "small",
|
|
119
|
-
class: "tw-px-2"
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
iconOnly: !1,
|
|
123
|
-
size: "medium",
|
|
124
|
-
class: "tw-px-4"
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
iconOnly: !1,
|
|
128
|
-
size: "small",
|
|
129
|
-
class: "tw-px-6"
|
|
130
|
-
}
|
|
131
|
-
],
|
|
132
|
-
defaultVariants: {
|
|
133
|
-
style: "default",
|
|
134
|
-
emphasis: "strong",
|
|
135
|
-
size: "medium",
|
|
136
|
-
rounding: "medium",
|
|
137
|
-
hugWidth: !0
|
|
138
9
|
}
|
|
139
|
-
});
|
|
10
|
+
}), m = (...t) => r(...t), x = (t) => o(t);
|
|
140
11
|
export {
|
|
141
|
-
|
|
142
|
-
|
|
12
|
+
m as cn,
|
|
13
|
+
x as sv
|
|
143
14
|
};
|
|
144
15
|
//# sourceMappingURL=fondue-components6.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components6.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"fondue-components6.js","sources":["../src/utilities/styleUtilities.ts"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { extendTailwindMerge } from 'tailwind-merge';\nimport { tv, type TV } from 'tailwind-variants';\n\ntype ClassNameValue = ClassNameArray | string | null | undefined | 0 | false;\ntype ClassNameArray = ClassNameValue[];\n\nconst customTwMerge = extendTailwindMerge({\n prefix: 'tw-',\n extend: {\n classGroups: {\n 'font-size': ['text-body-x-small', 'text-body-small', 'text-body-medium', 'text-body-large'],\n },\n },\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":["customTwMerge","extendTailwindMerge","cn","classLists","sv","variants","tv"],"mappings":";;AAQA,MAAMA,IAAgBC,EAAoB;AAAA,EACtC,QAAQ;AAAA,EACR,QAAQ;AAAA,IACJ,aAAa;AAAA,MACT,aAAa,CAAC,qBAAqB,mBAAmB,oBAAoB,iBAAiB;AAAA,IAC/F;AAAA,EACJ;AACJ,CAAC,GAEYC,IAAK,IAAIC,MACXH,EAAc,GAAGG,CAAU,GAGzBC,IAAS,CAACC,MACZC,EAAGD,CAAQ;"}
|
|
@@ -1,11 +1,25 @@
|
|
|
1
|
-
import { sv as t } from "./fondue-
|
|
1
|
+
import { sv as t } from "./fondue-components6.js";
|
|
2
2
|
const o = t({
|
|
3
|
+
base: "tw-group tw-border tw-box-box tw-relative tw-flex tw-flex-row tw-gap-2 tw-items-center tw-justify-center tw-cursor-pointer tw-outline-none tw-font-body tw-font-medium",
|
|
3
4
|
variants: {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
disabled: {
|
|
6
|
+
true: "tw-not-allowed tw-pointer-events-none tw-border-transparent tw-text-box-disabled-inverse tw-bg-box-disabled"
|
|
7
|
+
},
|
|
8
|
+
rounding: {
|
|
9
|
+
medium: "tw-rounded",
|
|
10
|
+
full: "tw-rounded-full"
|
|
11
|
+
},
|
|
12
|
+
size: {
|
|
13
|
+
small: "tw-h-6 tw-text-body-small",
|
|
14
|
+
medium: "tw-h-9 tw-text-body-medium",
|
|
15
|
+
large: "tw-h-12 tw-text-body-large"
|
|
16
|
+
},
|
|
17
|
+
aspect: {
|
|
18
|
+
square: "tw-aspect-square tw-px-0",
|
|
19
|
+
default: ""
|
|
20
|
+
},
|
|
21
|
+
hugWidth: {
|
|
22
|
+
false: "tw-w-full"
|
|
9
23
|
},
|
|
10
24
|
emphasis: {
|
|
11
25
|
default: "",
|
|
@@ -24,85 +38,104 @@ const o = t({
|
|
|
24
38
|
{
|
|
25
39
|
style: "default",
|
|
26
40
|
emphasis: "default",
|
|
27
|
-
class: "tw-
|
|
41
|
+
class: "tw-bg-button-background tw-border-button-border hover:tw-bg-button-background-hover active:tw-bg-button-background-pressed"
|
|
28
42
|
},
|
|
29
43
|
{
|
|
30
44
|
style: "default",
|
|
31
45
|
emphasis: "weak",
|
|
32
|
-
class: "tw-
|
|
46
|
+
class: "tw-border-transparent hover:tw-bg-button-background-hover hover:tw-border-button-border active:tw-bg-button-background-pressed"
|
|
33
47
|
},
|
|
34
48
|
{
|
|
35
49
|
style: "default",
|
|
36
50
|
emphasis: "strong",
|
|
37
|
-
class: "tw-
|
|
51
|
+
class: "tw-bg-button-strong-background tw-border-button-strong-border hover:tw-bg-button-strong-background-hover active:tw-bg-button-strong-background-pressed"
|
|
38
52
|
},
|
|
39
53
|
{
|
|
40
54
|
style: "positive",
|
|
41
55
|
emphasis: "default",
|
|
42
|
-
class: "tw-
|
|
56
|
+
class: "tw-bg-button-positive-background tw-border-button-positive-border hover:tw-bg-button-positive-background-hover active:tw-bg-button-positive-background-pressed"
|
|
43
57
|
},
|
|
44
58
|
{
|
|
45
59
|
style: "positive",
|
|
46
60
|
emphasis: "weak",
|
|
47
|
-
class: "tw-
|
|
61
|
+
class: "tw-border-transparent hover:tw-bg-button-positive-background-hover hover:tw-border-button-positive-border active:tw-bg-button-positive-background-pressed"
|
|
48
62
|
},
|
|
49
63
|
{
|
|
50
64
|
style: "positive",
|
|
51
65
|
emphasis: "strong",
|
|
52
|
-
class: "tw-
|
|
66
|
+
class: "tw-bg-button-strong-positive-background tw-border-button-strong-positive-border hover:tw-bg-button-strong-positive-background-hover active:tw-bg-button-strong-positive-background-pressed"
|
|
53
67
|
},
|
|
54
68
|
{
|
|
55
69
|
style: "negative",
|
|
56
70
|
emphasis: "default",
|
|
57
|
-
class: "tw-
|
|
71
|
+
class: "tw-bg-button-negative-background tw-border-button-negative-border hover:tw-bg-button-negative-background-hover active:tw-bg-button-negative-background-pressed"
|
|
58
72
|
},
|
|
59
73
|
{
|
|
60
74
|
style: "negative",
|
|
61
75
|
emphasis: "weak",
|
|
62
|
-
class: "tw-
|
|
76
|
+
class: "tw-border-transparent hover:tw-bg-button-negative-background-hover hover:tw-border-button-negative-border active:tw-bg-button-negative-background-pressed"
|
|
63
77
|
},
|
|
64
78
|
{
|
|
65
79
|
style: "negative",
|
|
66
80
|
emphasis: "strong",
|
|
67
|
-
class: "tw-
|
|
81
|
+
class: "tw-bg-button-strong-negative-background tw-border-button-strong-negative-border hover:tw-bg-button-strong-negative-background-hover active:tw-bg-button-strong-negative-background-pressed"
|
|
68
82
|
},
|
|
69
83
|
{
|
|
70
84
|
style: "danger",
|
|
71
85
|
emphasis: "default",
|
|
72
|
-
class: "tw-
|
|
86
|
+
class: "tw-bg-button-background tw-border-button-border hover:tw-bg-button-background-hover active:tw-bg-button-background-pressed"
|
|
73
87
|
},
|
|
74
88
|
{
|
|
75
89
|
style: "danger",
|
|
76
90
|
emphasis: "weak",
|
|
77
|
-
class: "tw-
|
|
91
|
+
class: "tw-border-transparent hover:tw-bg-button-background-hover active:tw-bg-button-background-pressed"
|
|
78
92
|
},
|
|
79
93
|
{
|
|
80
94
|
style: "danger",
|
|
81
95
|
emphasis: "strong",
|
|
82
|
-
class: "tw-
|
|
96
|
+
class: "tw-bg-button-danger-background tw-border-button-danger-border hover:tw-bg-button-danger-background-hover active:tw-bg-button-danger-background-pressed"
|
|
83
97
|
},
|
|
84
98
|
{
|
|
85
99
|
style: "loud",
|
|
86
100
|
emphasis: "default",
|
|
87
|
-
class: "tw-
|
|
101
|
+
class: "tw-bg-box-selected tw-border-button-border hover:tw-bg-box-selected-hover active:tw-bg-box-selected-pressed "
|
|
88
102
|
},
|
|
89
103
|
{
|
|
90
104
|
style: "loud",
|
|
91
105
|
emphasis: "weak",
|
|
92
|
-
class: "tw-
|
|
106
|
+
class: "tw-border-transparent hover:tw-bg-box-selected-hover active:tw-bg-box-selected-pressed"
|
|
93
107
|
},
|
|
94
108
|
{
|
|
95
109
|
style: "loud",
|
|
96
110
|
emphasis: "strong",
|
|
97
|
-
class: "tw-
|
|
111
|
+
class: "tw-bg-box-selected-strong tw-border-box-selected-strong hover:tw-bg-box-selected-strong-hover active:tw-bg-box-selected-strong-pressed "
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
aspect: "default",
|
|
115
|
+
size: "small",
|
|
116
|
+
class: "tw-px-2"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
aspect: "default",
|
|
120
|
+
size: "medium",
|
|
121
|
+
class: "tw-px-4"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
aspect: "default",
|
|
125
|
+
size: "large",
|
|
126
|
+
class: "tw-px-6"
|
|
98
127
|
}
|
|
99
128
|
],
|
|
100
129
|
defaultVariants: {
|
|
130
|
+
style: "default",
|
|
101
131
|
emphasis: "strong",
|
|
102
|
-
|
|
132
|
+
size: "medium",
|
|
133
|
+
rounding: "medium",
|
|
134
|
+
hugWidth: !0,
|
|
135
|
+
aspect: "default"
|
|
103
136
|
}
|
|
104
137
|
});
|
|
105
138
|
export {
|
|
106
|
-
o as
|
|
139
|
+
o as buttonStyles
|
|
107
140
|
};
|
|
108
141
|
//# sourceMappingURL=fondue-components7.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components7.js","sources":["../src/components/Button/styles/
|
|
1
|
+
{"version":3,"file":"fondue-components7.js","sources":["../src/components/Button/styles/buttonStyles.ts"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { sv } from '#/utilities/styleUtilities';\n\nexport const buttonStyles = sv({\n base: 'tw-group tw-border tw-box-box tw-relative tw-flex tw-flex-row tw-gap-2 tw-items-center tw-justify-center tw-cursor-pointer tw-outline-none tw-font-body tw-font-medium',\n variants: {\n disabled: {\n true: 'tw-not-allowed tw-pointer-events-none tw-border-transparent tw-text-box-disabled-inverse tw-bg-box-disabled',\n },\n rounding: {\n medium: 'tw-rounded',\n full: 'tw-rounded-full',\n },\n size: {\n small: 'tw-h-6 tw-text-body-small',\n medium: 'tw-h-9 tw-text-body-medium',\n large: 'tw-h-12 tw-text-body-large',\n },\n aspect: {\n square: 'tw-aspect-square tw-px-0',\n default: '',\n },\n hugWidth: {\n false: 'tw-w-full',\n },\n emphasis: {\n default: '',\n weak: '',\n strong: '',\n },\n style: {\n default: '',\n positive: '',\n negative: '',\n danger: '',\n loud: '',\n },\n },\n compoundVariants: [\n {\n style: 'default',\n emphasis: 'default',\n class:\n 'tw-bg-button-background tw-border-button-border ' +\n 'hover:tw-bg-button-background-hover ' +\n 'active:tw-bg-button-background-pressed',\n },\n {\n style: 'default',\n emphasis: 'weak',\n class:\n 'tw-border-transparent ' +\n 'hover:tw-bg-button-background-hover hover:tw-border-button-border ' +\n 'active:tw-bg-button-background-pressed',\n },\n {\n style: 'default',\n emphasis: 'strong',\n class:\n 'tw-bg-button-strong-background tw-border-button-strong-border ' +\n 'hover:tw-bg-button-strong-background-hover ' +\n 'active:tw-bg-button-strong-background-pressed',\n },\n {\n style: 'positive',\n emphasis: 'default',\n class:\n 'tw-bg-button-positive-background tw-border-button-positive-border ' +\n 'hover:tw-bg-button-positive-background-hover ' +\n 'active:tw-bg-button-positive-background-pressed',\n },\n {\n style: 'positive',\n emphasis: 'weak',\n class:\n 'tw-border-transparent ' +\n 'hover:tw-bg-button-positive-background-hover hover:tw-border-button-positive-border ' +\n 'active:tw-bg-button-positive-background-pressed',\n },\n {\n style: 'positive',\n emphasis: 'strong',\n class:\n 'tw-bg-button-strong-positive-background tw-border-button-strong-positive-border ' +\n 'hover:tw-bg-button-strong-positive-background-hover ' +\n 'active:tw-bg-button-strong-positive-background-pressed',\n },\n {\n style: 'negative',\n emphasis: 'default',\n class:\n 'tw-bg-button-negative-background tw-border-button-negative-border ' +\n 'hover:tw-bg-button-negative-background-hover ' +\n 'active:tw-bg-button-negative-background-pressed',\n },\n {\n style: 'negative',\n emphasis: 'weak',\n class:\n 'tw-border-transparent ' +\n 'hover:tw-bg-button-negative-background-hover hover:tw-border-button-negative-border ' +\n 'active:tw-bg-button-negative-background-pressed',\n },\n {\n style: 'negative',\n emphasis: 'strong',\n class:\n 'tw-bg-button-strong-negative-background tw-border-button-strong-negative-border ' +\n 'hover:tw-bg-button-strong-negative-background-hover ' +\n 'active:tw-bg-button-strong-negative-background-pressed',\n },\n {\n style: 'danger',\n emphasis: 'default',\n class:\n 'tw-bg-button-background tw-border-button-border ' +\n 'hover:tw-bg-button-background-hover ' +\n 'active:tw-bg-button-background-pressed',\n },\n {\n style: 'danger',\n emphasis: 'weak',\n class:\n 'tw-border-transparent ' +\n 'hover:tw-bg-button-background-hover ' +\n 'active:tw-bg-button-background-pressed',\n },\n {\n style: 'danger',\n emphasis: 'strong',\n class:\n 'tw-bg-button-danger-background tw-border-button-danger-border ' +\n 'hover:tw-bg-button-danger-background-hover ' +\n 'active:tw-bg-button-danger-background-pressed',\n },\n {\n style: 'loud',\n emphasis: 'default',\n class:\n 'tw-bg-box-selected tw-border-button-border ' +\n 'hover:tw-bg-box-selected-hover ' +\n 'active:tw-bg-box-selected-pressed ',\n },\n {\n style: 'loud',\n emphasis: 'weak',\n class: 'tw-border-transparent hover:tw-bg-box-selected-hover active:tw-bg-box-selected-pressed',\n },\n {\n style: 'loud',\n emphasis: 'strong',\n class:\n 'tw-bg-box-selected-strong tw-border-box-selected-strong ' +\n 'hover:tw-bg-box-selected-strong-hover ' +\n 'active:tw-bg-box-selected-strong-pressed ',\n },\n {\n aspect: 'default',\n size: 'small',\n class: 'tw-px-2',\n },\n {\n aspect: 'default',\n size: 'medium',\n class: 'tw-px-4',\n },\n {\n aspect: 'default',\n size: 'large',\n class: 'tw-px-6',\n },\n ],\n defaultVariants: {\n style: 'default',\n emphasis: 'strong',\n size: 'medium',\n rounding: 'medium',\n hugWidth: true,\n aspect: 'default',\n },\n});\n"],"names":["buttonStyles","sv"],"mappings":";AAIO,MAAMA,IAAeC,EAAG;AAAA,EAC3B,MAAM;AAAA,EACN,UAAU;AAAA,IACN,UAAU;AAAA,MACN,MAAM;AAAA,IACV;AAAA,IACA,UAAU;AAAA,MACN,QAAQ;AAAA,MACR,MAAM;AAAA,IACV;AAAA,IACA,MAAM;AAAA,MACF,OAAO;AAAA,MACP,QAAQ;AAAA,MACR,OAAO;AAAA,IACX;AAAA,IACA,QAAQ;AAAA,MACJ,QAAQ;AAAA,MACR,SAAS;AAAA,IACb;AAAA,IACA,UAAU;AAAA,MACN,OAAO;AAAA,IACX;AAAA,IACA,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,EACJ;AAAA,EACA,kBAAkB;AAAA,IACd;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OAAO;AAAA,IACX;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,QAAQ;AAAA,MACR,MAAM;AAAA,MACN,OAAO;AAAA,IACX;AAAA,IACA;AAAA,MACI,QAAQ;AAAA,MACR,MAAM;AAAA,MACN,OAAO;AAAA,IACX;AAAA,IACA;AAAA,MACI,QAAQ;AAAA,MACR,MAAM;AAAA,MACN,OAAO;AAAA,IACX;AAAA,EACJ;AAAA,EACA,iBAAiB;AAAA,IACb,OAAO;AAAA,IACP,UAAU;AAAA,IACV,MAAM;AAAA,IACN,UAAU;AAAA,IACV,UAAU;AAAA,IACV,QAAQ;AAAA,EACZ;AACJ,CAAC;"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import { sv as t } from "./fondue-
|
|
1
|
+
import { sv as t } from "./fondue-components6.js";
|
|
2
2
|
const s = t({
|
|
3
3
|
variants: {
|
|
4
|
-
hideLabel: {
|
|
5
|
-
true: "tw-sr-only"
|
|
6
|
-
},
|
|
7
4
|
emphasis: {
|
|
8
5
|
default: "",
|
|
9
6
|
weak: "",
|
|
@@ -21,77 +18,77 @@ const s = t({
|
|
|
21
18
|
{
|
|
22
19
|
style: "default",
|
|
23
20
|
emphasis: "default",
|
|
24
|
-
class: "tw-text-button-
|
|
21
|
+
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"
|
|
25
22
|
},
|
|
26
23
|
{
|
|
27
24
|
style: "default",
|
|
28
25
|
emphasis: "weak",
|
|
29
|
-
class: "tw-text-button-
|
|
26
|
+
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"
|
|
30
27
|
},
|
|
31
28
|
{
|
|
32
29
|
style: "default",
|
|
33
30
|
emphasis: "strong",
|
|
34
|
-
class: "tw-text-button-strong-icon group-hover:tw-text-button-strong-icon-hover group-active:tw-text-button-strong-
|
|
31
|
+
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"
|
|
35
32
|
},
|
|
36
33
|
{
|
|
37
34
|
style: "positive",
|
|
38
35
|
emphasis: "default",
|
|
39
|
-
class: "tw-text-button-positive-
|
|
36
|
+
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"
|
|
40
37
|
},
|
|
41
38
|
{
|
|
42
39
|
style: "positive",
|
|
43
40
|
emphasis: "weak",
|
|
44
|
-
class: "tw-text-button-positive-
|
|
41
|
+
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"
|
|
45
42
|
},
|
|
46
43
|
{
|
|
47
44
|
style: "positive",
|
|
48
45
|
emphasis: "strong",
|
|
49
|
-
class: "tw-text-button-strong-positive-
|
|
46
|
+
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"
|
|
50
47
|
},
|
|
51
48
|
{
|
|
52
49
|
style: "negative",
|
|
53
50
|
emphasis: "default",
|
|
54
|
-
class: "tw-text-button-negative-
|
|
51
|
+
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"
|
|
55
52
|
},
|
|
56
53
|
{
|
|
57
54
|
style: "negative",
|
|
58
55
|
emphasis: "weak",
|
|
59
|
-
class: "tw-text-button-negative-
|
|
56
|
+
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"
|
|
60
57
|
},
|
|
61
58
|
{
|
|
62
59
|
style: "negative",
|
|
63
60
|
emphasis: "strong",
|
|
64
|
-
class: "tw-text-button-strong-negative-
|
|
61
|
+
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"
|
|
65
62
|
},
|
|
66
63
|
{
|
|
67
64
|
style: "danger",
|
|
68
65
|
emphasis: "default",
|
|
69
|
-
class: "tw-text-button-negative-icon group-hover:tw-text-button-negative-icon-hovergroup-active:tw-text-button-negative-icon-pressed"
|
|
66
|
+
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"
|
|
70
67
|
},
|
|
71
68
|
{
|
|
72
69
|
style: "danger",
|
|
73
70
|
emphasis: "weak",
|
|
74
|
-
class: "tw-text-button-negative-icon group-hover:tw-text-button-negative-icon-hovergroup-active:tw-text-button-negative-icon-pressed"
|
|
71
|
+
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"
|
|
75
72
|
},
|
|
76
73
|
{
|
|
77
74
|
style: "danger",
|
|
78
75
|
emphasis: "strong",
|
|
79
|
-
class: "tw-text-button-danger-
|
|
76
|
+
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"
|
|
80
77
|
},
|
|
81
78
|
{
|
|
82
79
|
style: "loud",
|
|
83
80
|
emphasis: "default",
|
|
84
|
-
class: "tw-text-box-selected-inverse group-hover:tw-text-box-selected-inverse-hovergroup-active:tw-text-box-selected-inverse-pressed"
|
|
81
|
+
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"
|
|
85
82
|
},
|
|
86
83
|
{
|
|
87
84
|
style: "loud",
|
|
88
85
|
emphasis: "weak",
|
|
89
|
-
class: "tw-text-box-selected-inverse group-hover:tw-text-box-selected-inverse-hovergroup-active:tw-text-box-selected-inverse-pressed"
|
|
86
|
+
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"
|
|
90
87
|
},
|
|
91
88
|
{
|
|
92
89
|
style: "loud",
|
|
93
90
|
emphasis: "strong",
|
|
94
|
-
class: "tw-text-box-selected-strong-inverse group-hover:tw-text-box-selected-strong-inversegroup-active:tw-text-box-selected-strong-inverse"
|
|
91
|
+
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"
|
|
95
92
|
}
|
|
96
93
|
],
|
|
97
94
|
defaultVariants: {
|
|
@@ -100,6 +97,6 @@ const s = t({
|
|
|
100
97
|
}
|
|
101
98
|
});
|
|
102
99
|
export {
|
|
103
|
-
s as
|
|
100
|
+
s as iconStyles
|
|
104
101
|
};
|
|
105
102
|
//# sourceMappingURL=fondue-components8.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components8.js","sources":["../src/components/Button/styles/
|
|
1
|
+
{"version":3,"file":"fondue-components8.js","sources":["../src/components/Button/styles/iconStyles.ts"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { sv } from '#/utilities/styleUtilities';\n\nexport const iconStyles = 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 },\n compoundVariants: [\n {\n style: 'default',\n emphasis: 'default',\n class:\n '[&_svg]:tw-text-button-icon ' +\n 'group-hover:[&_svg]:tw-text-button-icon-hover ' +\n 'group-active:[&_svg]:tw-text-button-icon-pressed [&_svg]:tw-leading-none',\n },\n {\n style: 'default',\n emphasis: 'weak',\n class:\n '[&_svg]:tw-text-button-icon ' +\n 'group-hover:[&_svg]:tw-text-button-icon-hover ' +\n 'group-active:[&_svg]:tw-text-button-icon-pressed [&_svg]:tw-leading-none',\n },\n {\n style: 'default',\n emphasis: 'strong',\n class:\n '[&_svg]:tw-text-button-strong-icon ' +\n 'group-hover:[&_svg]:tw-text-button-strong-icon-hover ' +\n 'group-active:[&_svg]:tw-text-button-strong-icon-pressed [&_svg]:tw-leading-none',\n },\n {\n style: 'positive',\n emphasis: 'default',\n class:\n '[&_svg]:tw-text-button-positive-icon ' +\n 'group-hover:[&_svg]:tw-text-button-positive-icon-hover ' +\n 'group-active:[&_svg]:tw-text-button-positive-icon-pressed [&_svg]:tw-leading-none',\n },\n {\n style: 'positive',\n emphasis: 'weak',\n class:\n '[&_svg]:tw-text-button-strong-positive-icon ' +\n 'group-hover:[&_svg]:tw-text-button-strong-positive-icon-hover' +\n 'group-active:[&_svg]:tw-text-button-strong-positive-icon-pressed [&_svg]:tw-leading-none',\n },\n {\n style: 'positive',\n emphasis: 'strong',\n class:\n '[&_svg]:tw-text-button-strong-positive-icon ' +\n 'group-hover:[&_svg]:tw-text-button-strong-positive-icon-hover ' +\n 'group-active:[&_svg]:tw-text-button-strong-positive-icon-pressed [&_svg]:tw-leading-none',\n },\n {\n style: 'negative',\n emphasis: 'default',\n class:\n '[&_svg]:tw-text-button-negative-icon ' +\n 'group-hover:[&_svg]:tw-text-button-negative-icon-hover' +\n 'group-active:[&_svg]:tw-text-button-negative-icon-pressed [&_svg]:tw-leading-none',\n },\n {\n style: 'negative',\n emphasis: 'weak',\n class:\n '[&_svg]:tw-text-button-negative-icon ' +\n 'group-hover:[&_svg]:tw-text-button-negative-icon-hover' +\n 'group-active:[&_svg]:tw-text-button-negative-icon-pressed [&_svg]:tw-leading-none',\n },\n {\n style: 'negative',\n emphasis: 'strong',\n class:\n '[&_svg]:tw-text-button-strong-negative-icon ' +\n 'group-hover:[&_svg]:tw-text-button-strong-negative-icon-hover' +\n 'group-active:[&_svg]:tw-text-button-strong-negative-icon-pressed [&_svg]:tw-leading-none',\n },\n {\n style: 'danger',\n emphasis: 'default',\n class:\n '[&_svg]:tw-text-button-negative-icon ' +\n 'group-hover:[&_svg]:tw-text-button-negative-icon-hover' +\n 'group-active:[&_svg]:tw-text-button-negative-icon-pressed [&_svg]:tw-leading-none',\n },\n {\n style: 'danger',\n emphasis: 'weak',\n class:\n '[&_svg]:tw-text-button-negative-icon ' +\n 'group-hover:[&_svg]:tw-text-button-negative-icon-hover' +\n 'group-active:[&_svg]:tw-text-button-negative-icon-pressed [&_svg]:tw-leading-none',\n },\n {\n style: 'danger',\n emphasis: 'strong',\n class:\n '[&_svg]:tw-text-button-danger-icon ' +\n 'group-hover:[&_svg]:tw-text-button-danger-icon-hover' +\n 'group-active:[&_svg]:tw-text-button-danger-icon-pressed [&_svg]:tw-leading-none',\n },\n {\n style: 'loud',\n emphasis: 'default',\n class:\n '[&_svg]:tw-text-box-selected-inverse ' +\n 'group-hover:[&_svg]:tw-text-box-selected-inverse-hover' +\n 'group-active:[&_svg]:tw-text-box-selected-inverse-pressed [&_svg]:tw-leading-none',\n },\n {\n style: 'loud',\n emphasis: 'weak',\n class:\n '[&_svg]:tw-text-box-selected-inverse ' +\n 'group-hover:[&_svg]:tw-text-box-selected-inverse-hover' +\n 'group-active:[&_svg]:tw-text-box-selected-inverse-pressed [&_svg]:tw-leading-none',\n },\n {\n style: 'loud',\n emphasis: 'strong',\n class:\n '[&_svg]:tw-text-box-selected-strong-inverse ' +\n 'group-hover:[&_svg]:tw-text-box-selected-strong-inverse' +\n 'group-active:[&_svg]:tw-text-box-selected-strong-inverse [&_svg]:tw-leading-none',\n },\n ],\n defaultVariants: {\n emphasis: 'strong',\n style: 'default',\n },\n});\n"],"names":["iconStyles","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,EACJ;AAAA,EACA,kBAAkB;AAAA,IACd;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,EACJ;AAAA,EACA,iBAAiB;AAAA,IACb,UAAU;AAAA,IACV,OAAO;AAAA,EACX;AACJ,CAAC;"}
|
|
@@ -1,38 +1,102 @@
|
|
|
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-components6.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: ""
|
|
18
15
|
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
16
|
+
},
|
|
17
|
+
compoundVariants: [
|
|
18
|
+
{
|
|
19
|
+
style: "default",
|
|
20
|
+
emphasis: "default",
|
|
21
|
+
class: "tw-text-button-text group-hover:tw-text-button-text-hover group-active:tw-text-button-text-pressed"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
style: "default",
|
|
25
|
+
emphasis: "weak",
|
|
26
|
+
class: "tw-text-button-text group-hover:tw-text-button-text-hover group-active:tw-text-button-text-pressed"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
style: "default",
|
|
30
|
+
emphasis: "strong",
|
|
31
|
+
class: "tw-text-button-strong-icon group-hover:tw-text-button-strong-icon-hover group-active:tw-text-button-strong-text-pressed"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
style: "positive",
|
|
35
|
+
emphasis: "default",
|
|
36
|
+
class: "tw-text-button-positive-text group-hover:tw-text-button-positive-text-hover group-active:tw-text-button-positive-text-pressed"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
style: "positive",
|
|
40
|
+
emphasis: "weak",
|
|
41
|
+
class: "tw-text-button-positive-text group-hover:tw-text-button-positive-text-hover group-active:tw-text-button-positive-text-pressed"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
style: "positive",
|
|
45
|
+
emphasis: "strong",
|
|
46
|
+
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"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
style: "negative",
|
|
50
|
+
emphasis: "default",
|
|
51
|
+
class: "tw-text-button-negative-text group-hover:tw-text-button-negative-text-hovergroup-active:tw-text-button-negative-text-pressed"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
style: "negative",
|
|
55
|
+
emphasis: "weak",
|
|
56
|
+
class: "tw-text-button-negative-text group-hover:tw-text-button-negative-text-hovergroup-active:tw-text-button-negative-text-pressed"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
style: "negative",
|
|
60
|
+
emphasis: "strong",
|
|
61
|
+
class: "tw-text-button-strong-negative-text group-hover:tw-text-button-strong-negative-text-hovergroup-active:tw-text-button-strong-negative-text-pressed"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
style: "danger",
|
|
65
|
+
emphasis: "default",
|
|
66
|
+
class: "tw-text-button-negative-icon group-hover:tw-text-button-negative-icon-hovergroup-active:tw-text-button-negative-icon-pressed"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
style: "danger",
|
|
70
|
+
emphasis: "weak",
|
|
71
|
+
class: "tw-text-button-negative-icon group-hover:tw-text-button-negative-icon-hovergroup-active:tw-text-button-negative-icon-pressed"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
style: "danger",
|
|
75
|
+
emphasis: "strong",
|
|
76
|
+
class: "tw-text-button-danger-text group-hover:tw-text-button-danger-text-hovergroup-active:tw-text-button-danger-text-pressed"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
style: "loud",
|
|
80
|
+
emphasis: "default",
|
|
81
|
+
class: "tw-text-box-selected-inverse group-hover:tw-text-box-selected-inverse-hovergroup-active:tw-text-box-selected-inverse-pressed"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
style: "loud",
|
|
85
|
+
emphasis: "weak",
|
|
86
|
+
class: "tw-text-box-selected-inverse group-hover:tw-text-box-selected-inverse-hovergroup-active:tw-text-box-selected-inverse-pressed"
|
|
27
87
|
},
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
88
|
+
{
|
|
89
|
+
style: "loud",
|
|
90
|
+
emphasis: "strong",
|
|
91
|
+
class: "tw-text-box-selected-strong-inverse group-hover:tw-text-box-selected-strong-inversegroup-active:tw-text-box-selected-strong-inverse"
|
|
31
92
|
}
|
|
93
|
+
],
|
|
94
|
+
defaultVariants: {
|
|
95
|
+
emphasis: "strong",
|
|
96
|
+
style: "default"
|
|
32
97
|
}
|
|
33
98
|
});
|
|
34
99
|
export {
|
|
35
|
-
|
|
36
|
-
i as loadingBarStyles
|
|
100
|
+
s as textStyles
|
|
37
101
|
};
|
|
38
102
|
//# sourceMappingURL=fondue-components9.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components9.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"fondue-components9.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 },\n compoundVariants: [\n {\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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 },\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,EACJ;AAAA,EACA,kBAAkB;AAAA,IACd;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,IACA;AAAA,MACI,OAAO;AAAA,MACP,UAAU;AAAA,MACV,OACI;AAAA,IAGR;AAAA,EACJ;AAAA,EACA,iBAAiB;AAAA,IACb,UAAU;AAAA,IACV,OAAO;AAAA,EACX;AACJ,CAAC;"}
|
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,8 @@ import { RefAttributes } from 'react';
|
|
|
8
8
|
|
|
9
9
|
export declare const Button: ForwardRefExoticComponent<ButtonProps & RefAttributes<HTMLButtonElement | null>>;
|
|
10
10
|
|
|
11
|
+
declare type ButtonAspect = 'default' | 'square';
|
|
12
|
+
|
|
11
13
|
declare type ButtonEmphasis = 'default' | 'weak' | 'strong';
|
|
12
14
|
|
|
13
15
|
declare type ButtonProps = {
|
|
@@ -27,10 +29,6 @@ declare type ButtonProps = {
|
|
|
27
29
|
* @default 'strong'
|
|
28
30
|
*/
|
|
29
31
|
emphasis?: ButtonEmphasis;
|
|
30
|
-
/**
|
|
31
|
-
* @default false
|
|
32
|
-
*/
|
|
33
|
-
hideLabel?: boolean;
|
|
34
32
|
/**
|
|
35
33
|
* @default 'medium'
|
|
36
34
|
*/
|
|
@@ -43,16 +41,20 @@ declare type ButtonProps = {
|
|
|
43
41
|
* @default false
|
|
44
42
|
*/
|
|
45
43
|
disabled?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* @default 'default'
|
|
46
|
+
*/
|
|
47
|
+
aspect?: ButtonAspect;
|
|
46
48
|
/**
|
|
47
49
|
* @default true
|
|
48
50
|
*/
|
|
49
51
|
hugWidth?: boolean;
|
|
50
|
-
icon?: ReactElement;
|
|
51
52
|
children?: ReactNode;
|
|
52
53
|
onClick?: (event?: MouseEvent_2<HTMLButtonElement>) => void;
|
|
53
54
|
'aria-label'?: string;
|
|
54
55
|
'aria-describedby'?: string;
|
|
55
56
|
'data-test-id'?: string;
|
|
57
|
+
className?: string;
|
|
56
58
|
};
|
|
57
59
|
|
|
58
60
|
declare type ButtonRounding = 'medium' | 'full';
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Space Grotesk Frontify,Arial,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:Menlo,Courier,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(147 197 253 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(147 197 253 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.tw-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.tw-pointer-events-none{pointer-events:none}.tw-relative{position:relative}.tw-m-0{margin:0}.tw-mx-5{margin-left:1.25rem;margin-right:1.25rem}.tw--ml-0{margin-left:-0px}.tw--ml-0\.5{margin-left:-.125rem}.tw--ml-1{margin-left:-.25rem}.tw-mb-0{margin-bottom:0}.tw-mr-1{margin-right:.25rem}.tw-mr-1\.5{margin-right:.375rem}.tw-mr-2{margin-right:.5rem}.tw-mt-0{margin-top:0}.tw-flex{display:flex}.tw-aspect-square{aspect-ratio:1 / 1}.tw-h-1{height:.25rem}.tw-h-12{height:3rem}.tw-h-2{height:.5rem}.tw-h-3{height:.75rem}.tw-h-4{height:1rem}.tw-h-6{height:1.5rem}.tw-h-9{height:2.25rem}.tw-h-full{height:100%}.tw-w-full{width:100%}.tw-w-px{width:1px}.tw-origin-left-right{transform-origin:0% 50%}.tw--translate-x-\[calc\(100\%-var\(--loading-bar-value\)\)\]{--tw-translate-x: calc(calc(100% - var(--loading-bar-value)) * -1);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes tw-loading-bar-infinite{0%{transform:translate(0) scaleX(0)}40%{transform:translate(0) scaleX(.4)}to{transform:translate(100%) scaleX(.5)}}.tw-animate-loading-bar-infinite{animation:tw-loading-bar-infinite 1s infinite linear}.tw-cursor-pointer{cursor:pointer}.tw-flex-col{flex-direction:column}.tw-items-start{align-items:flex-start}.tw-items-end{align-items:flex-end}.tw-items-center{align-items:center}.tw-justify-center{justify-content:center}.tw-self-stretch{align-self:stretch}.tw-overflow-hidden{overflow:hidden}.tw-rounded{border-radius:var(--radius)}.tw-rounded-full{border-radius:9999px}.tw-border{border-width:var(--line-width)}.tw-border-2{border-width:2px}.tw-border-r{border-right-width:var(--line-width)}.tw-border-t{border-top-width:var(--line-width)}.tw-border-solid{border-style:solid}.tw-border-dashed{border-style:dashed}.tw-border-dotted{border-style:dotted}.tw-border-none{border-style:none}.tw-border-black{--tw-border-opacity: 1;border-color:rgb(45 50 50 / var(--tw-border-opacity))}.tw-border-box-selected-strong{border-color:var(--box-selected-strong-color)}.tw-border-button-border{border-color:var(--button-border-color)}.tw-border-button-danger-border{border-color:var(--button-danger-border-color)}.tw-border-button-negative-border{border-color:var(--button-negative-border-color)}.tw-border-button-positive-border{border-color:var(--button-positive-border-color)}.tw-border-button-strong-border{border-color:var(--button-strong-border-color)}.tw-border-button-strong-negative-border{border-color:var(--button-strong-negative-border-color)}.tw-border-button-strong-positive-border{border-color:var(--button-strong-positive-border-color)}.tw-border-transparent{border-color:transparent}.tw-bg-box-disabled{background-color:var(--box-disabled-color)}.tw-bg-box-negative{background-color:var(--box-negative-color)}.tw-bg-box-positive{background-color:var(--box-positive-color)}.tw-bg-box-selected{background-color:var(--box-selected-color)}.tw-bg-box-selected-strong{background-color:var(--box-selected-strong-color)}.tw-bg-button-background{background-color:var(--button-background-color)}.tw-bg-button-danger-background{background-color:var(--button-danger-background-color)}.tw-bg-button-negative-background{background-color:var(--button-negative-background-color)}.tw-bg-button-positive-background{background-color:var(--button-positive-background-color)}.tw-bg-button-strong-background{background-color:var(--button-strong-background-color)}.tw-bg-button-strong-negative-background{background-color:var(--button-strong-negative-background-color)}.tw-bg-button-strong-positive-background{background-color:var(--button-strong-positive-background-color)}.tw-bg-text-interactive{background-color:var(--text-color-interactive)}.tw-bg-text-negative{background-color:var(--text-color-negative)}.tw-bg-text-positive{background-color:var(--text-color-positive)}.tw-p-2{padding:.5rem}.tw-p-8{padding:2rem}.tw-px-0{padding-left:0;padding-right:0}.tw-px-2{padding-left:.5rem;padding-right:.5rem}.tw-px-4{padding-left:1rem;padding-right:1rem}.tw-px-6{padding-left:1.5rem;padding-right:1.5rem}.tw-font-body{font-family:var(--body-family)}.tw-text-body-large{font-size:var(--body-size-large);line-height:var(--body-size-large-line-height)}.tw-text-body-medium{font-size:var(--body-size-medium);line-height:var(--body-size-medium-line-height)}.tw-text-body-small{font-size:var(--body-size-small);line-height:var(--body-size-small-line-height)}.tw-font-medium{font-weight:500}.tw-leading-none{line-height:1}.tw-text-box-disabled-inverse{color:var(--box-disabled-color-inverse)}.tw-text-box-selected-inverse{color:var(--box-selected-inverse-color)}.tw-text-box-selected-strong-inverse{color:var(--box-selected-strong-inverse-color)}.tw-text-button-danger-icon{color:var(--button-danger-icon-color)}.tw-text-button-danger-text{color:var(--button-danger-text-color)}.tw-text-button-icon{color:var(--button-icon-color)}.tw-text-button-negative-icon{color:var(--button-negative-icon-color)}.tw-text-button-negative-text{color:var(--button-negative-text-color)}.tw-text-button-positive-icon{color:var(--button-positive-icon-color)}.tw-text-button-positive-text{color:var(--button-positive-text-color)}.tw-text-button-strong-icon{color:var(--button-strong-icon-color)}.tw-text-button-strong-negative-icon{color:var(--button-strong-negative-icon-color)}.tw-text-button-strong-negative-text{color:var(--button-strong-negative-text-color)}.tw-text-button-strong-positive-icon{color:var(--button-strong-positive-icon-color)}.tw-text-button-strong-positive-text{color:var(--button-strong-positive-text-color)}.tw-text-button-text{color:var(--button-text-color)}.tw-outline-none{outline:2px solid transparent;outline-offset:2px}.tw-ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.tw-ring-inset{--tw-ring-inset: inset}.tw-ring-blue{--tw-ring-opacity: 1;--tw-ring-color: rgb(94 158 214 / var(--tw-ring-opacity))}.tw-ring-offset-2{--tw-ring-offset-width: 2px}.tw-transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.focus-within\:tw-outline-none:focus-within{outline:2px solid transparent;outline-offset:2px}.focus-within\:tw-ring-4:focus-within{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-within\:tw-ring-blue:focus-within{--tw-ring-opacity: 1;--tw-ring-color: rgb(94 158 214 / var(--tw-ring-opacity))}.focus-within\:tw-ring-offset-2:focus-within{--tw-ring-offset-width: 2px}.hover\:tw-border-button-border:hover{border-color:var(--button-border-color)}.hover\:tw-border-button-negative-border:hover{border-color:var(--button-negative-border-color)}.hover\:tw-border-button-positive-border:hover{border-color:var(--button-positive-border-color)}.hover\:tw-bg-box-selected-hover:hover{background-color:var(--box-selected-color-hover)}.hover\:tw-bg-box-selected-strong-hover:hover{background-color:var(--box-selected-strong-color-hover)}.hover\:tw-bg-button-background-hover:hover{background-color:var(--button-background-color-hover)}.hover\:tw-bg-button-danger-background-hover:hover{background-color:var(--button-danger-background-color-hover)}.hover\:tw-bg-button-negative-background-hover:hover{background-color:var(--button-negative-background-color-hover)}.hover\:tw-bg-button-positive-background-hover:hover{background-color:var(--button-positive-background-color-hover)}.hover\:tw-bg-button-strong-background-hover:hover{background-color:var(--button-strong-background-color-hover)}.hover\:tw-bg-button-strong-negative-background-hover:hover{background-color:var(--button-strong-negative-background-color-hover)}.hover\:tw-bg-button-strong-positive-background-hover:hover{background-color:var(--button-strong-positive-background-color-hover)}.focus-visible\:tw-outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:tw-ring-4:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:tw-ring-blue:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(94 158 214 / var(--tw-ring-opacity))}.focus-visible\:tw-ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.active\:tw-bg-box-selected-pressed:active{background-color:var(--box-selected-color-pressed)}.active\:tw-bg-box-selected-strong-pressed:active{background-color:var(--box-selected-strong-color-pressed)}.active\:tw-bg-button-background-pressed:active{background-color:var(--button-background-color-pressed)}.active\:tw-bg-button-danger-background-pressed:active{background-color:var(--button-danger-background-color-pressed)}.active\:tw-bg-button-negative-background-pressed:active{background-color:var(--button-negative-background-color-pressed)}.active\:tw-bg-button-positive-background-pressed:active{background-color:var(--button-positive-background-color-pressed)}.active\:tw-bg-button-strong-background-pressed:active{background-color:var(--button-strong-background-color-pressed)}.active\:tw-bg-button-strong-negative-background-pressed:active{background-color:var(--button-strong-negative-background-color-pressed)}.active\:tw-bg-button-strong-positive-background-pressed:active{background-color:var(--button-strong-positive-background-color-pressed)}.tw-group:hover .group-hover\:tw-text-box-selected-inverse-hover{color:var(--box-selected-inverse-color-hover)}.tw-group:hover .group-hover\:tw-text-box-selected-strong-inverse{color:var(--box-selected-strong-inverse-color)}.tw-group:active .group-active\:tw-text-box-selected-inverse-pressed{color:var(--box-selected-inverse-color-pressed)}.tw-group:active .group-active\:tw-text-box-selected-strong-inverse{color:var(--box-selected-strong-inverse-color)}.dark\:tw-ring-offset-black:is(.tw-dark *){--tw-ring-offset-color: #2d3232}.focus-within\:dark\:tw-ring-offset-black:is(.tw-dark *):focus-within{--tw-ring-offset-color: #2d3232}.focus-visible\:dark\:tw-ring-offset-black:is(.tw-dark *):focus-visible{--tw-ring-offset-color: #2d3232}
|
|
1
|
+
*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Space Grotesk Frontify,Arial,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:Menlo,Courier,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(147 197 253 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(147 197 253 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.tw-pointer-events-none{pointer-events:none}.tw-relative{position:relative}.tw-m-0{margin:0}.tw-mx-5{margin-left:1.25rem;margin-right:1.25rem}.tw-mb-0{margin-bottom:0}.tw-mt-0{margin-top:0}.tw-flex{display:flex}.tw-aspect-square{aspect-ratio:1 / 1}.tw-h-1{height:.25rem}.tw-h-12{height:3rem}.tw-h-2{height:.5rem}.tw-h-3{height:.75rem}.tw-h-4{height:1rem}.tw-h-6{height:1.5rem}.tw-h-9{height:2.25rem}.tw-h-full{height:100%}.tw-w-full{width:100%}.tw-w-px{width:1px}.tw-origin-left-right{transform-origin:0% 50%}.tw--translate-x-\[calc\(100\%-var\(--loading-bar-value\)\)\]{--tw-translate-x: calc(calc(100% - var(--loading-bar-value)) * -1);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes tw-loading-bar-infinite{0%{transform:translate(0) scaleX(0)}40%{transform:translate(0) scaleX(.4)}to{transform:translate(100%) scaleX(.5)}}.tw-animate-loading-bar-infinite{animation:tw-loading-bar-infinite 1s infinite linear}.tw-cursor-pointer{cursor:pointer}.tw-flex-row{flex-direction:row}.tw-flex-col{flex-direction:column}.tw-items-start{align-items:flex-start}.tw-items-end{align-items:flex-end}.tw-items-center{align-items:center}.tw-justify-center{justify-content:center}.tw-gap-2{gap:.5rem}.tw-self-stretch{align-self:stretch}.tw-overflow-hidden{overflow:hidden}.tw-rounded{border-radius:var(--radius)}.tw-rounded-full{border-radius:9999px}.tw-border{border-width:var(--line-width)}.tw-border-2{border-width:2px}.tw-border-r{border-right-width:var(--line-width)}.tw-border-t{border-top-width:var(--line-width)}.tw-border-solid{border-style:solid}.tw-border-dashed{border-style:dashed}.tw-border-dotted{border-style:dotted}.tw-border-none{border-style:none}.tw-border-black{--tw-border-opacity: 1;border-color:rgb(45 50 50 / var(--tw-border-opacity))}.tw-border-box-selected-strong{border-color:var(--box-selected-strong-color)}.tw-border-button-border{border-color:var(--button-border-color)}.tw-border-button-danger-border{border-color:var(--button-danger-border-color)}.tw-border-button-negative-border{border-color:var(--button-negative-border-color)}.tw-border-button-positive-border{border-color:var(--button-positive-border-color)}.tw-border-button-strong-border{border-color:var(--button-strong-border-color)}.tw-border-button-strong-negative-border{border-color:var(--button-strong-negative-border-color)}.tw-border-button-strong-positive-border{border-color:var(--button-strong-positive-border-color)}.tw-border-transparent{border-color:transparent}.tw-bg-box-disabled{background-color:var(--box-disabled-color)}.tw-bg-box-negative{background-color:var(--box-negative-color)}.tw-bg-box-positive{background-color:var(--box-positive-color)}.tw-bg-box-selected{background-color:var(--box-selected-color)}.tw-bg-box-selected-strong{background-color:var(--box-selected-strong-color)}.tw-bg-button-background{background-color:var(--button-background-color)}.tw-bg-button-danger-background{background-color:var(--button-danger-background-color)}.tw-bg-button-negative-background{background-color:var(--button-negative-background-color)}.tw-bg-button-positive-background{background-color:var(--button-positive-background-color)}.tw-bg-button-strong-background{background-color:var(--button-strong-background-color)}.tw-bg-button-strong-negative-background{background-color:var(--button-strong-negative-background-color)}.tw-bg-button-strong-positive-background{background-color:var(--button-strong-positive-background-color)}.tw-bg-text-interactive{background-color:var(--text-color-interactive)}.tw-bg-text-negative{background-color:var(--text-color-negative)}.tw-bg-text-positive{background-color:var(--text-color-positive)}.tw-p-2{padding:.5rem}.tw-p-8{padding:2rem}.tw-px-0{padding-left:0;padding-right:0}.tw-px-2{padding-left:.5rem;padding-right:.5rem}.tw-px-4{padding-left:1rem;padding-right:1rem}.tw-px-6{padding-left:1.5rem;padding-right:1.5rem}.tw-font-body{font-family:var(--body-family)}.tw-text-body-large{font-size:var(--body-size-large);line-height:var(--body-size-large-line-height)}.tw-text-body-medium{font-size:var(--body-size-medium);line-height:var(--body-size-medium-line-height)}.tw-text-body-small{font-size:var(--body-size-small);line-height:var(--body-size-small-line-height)}.tw-font-medium{font-weight:500}.tw-text-box-disabled-inverse{color:var(--box-disabled-color-inverse)}.tw-text-box-selected-inverse{color:var(--box-selected-inverse-color)}.tw-text-box-selected-strong-inverse{color:var(--box-selected-strong-inverse-color)}.tw-text-button-danger-text{color:var(--button-danger-text-color)}.tw-text-button-negative-icon{color:var(--button-negative-icon-color)}.tw-text-button-negative-text{color:var(--button-negative-text-color)}.tw-text-button-positive-text{color:var(--button-positive-text-color)}.tw-text-button-strong-icon{color:var(--button-strong-icon-color)}.tw-text-button-strong-negative-text{color:var(--button-strong-negative-text-color)}.tw-text-button-strong-positive-text{color:var(--button-strong-positive-text-color)}.tw-text-button-text{color:var(--button-text-color)}.tw-outline-none{outline:2px solid transparent;outline-offset:2px}.tw-ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.tw-ring-inset{--tw-ring-inset: inset}.tw-ring-blue{--tw-ring-opacity: 1;--tw-ring-color: rgb(94 158 214 / var(--tw-ring-opacity))}.tw-ring-offset-2{--tw-ring-offset-width: 2px}.tw-transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.focus-within\:tw-outline-none:focus-within{outline:2px solid transparent;outline-offset:2px}.focus-within\:tw-ring-4:focus-within{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-within\:tw-ring-blue:focus-within{--tw-ring-opacity: 1;--tw-ring-color: rgb(94 158 214 / var(--tw-ring-opacity))}.focus-within\:tw-ring-offset-2:focus-within{--tw-ring-offset-width: 2px}.hover\:tw-border-button-border:hover{border-color:var(--button-border-color)}.hover\:tw-border-button-negative-border:hover{border-color:var(--button-negative-border-color)}.hover\:tw-border-button-positive-border:hover{border-color:var(--button-positive-border-color)}.hover\:tw-bg-box-selected-hover:hover{background-color:var(--box-selected-color-hover)}.hover\:tw-bg-box-selected-strong-hover:hover{background-color:var(--box-selected-strong-color-hover)}.hover\:tw-bg-button-background-hover:hover{background-color:var(--button-background-color-hover)}.hover\:tw-bg-button-danger-background-hover:hover{background-color:var(--button-danger-background-color-hover)}.hover\:tw-bg-button-negative-background-hover:hover{background-color:var(--button-negative-background-color-hover)}.hover\:tw-bg-button-positive-background-hover:hover{background-color:var(--button-positive-background-color-hover)}.hover\:tw-bg-button-strong-background-hover:hover{background-color:var(--button-strong-background-color-hover)}.hover\:tw-bg-button-strong-negative-background-hover:hover{background-color:var(--button-strong-negative-background-color-hover)}.hover\:tw-bg-button-strong-positive-background-hover:hover{background-color:var(--button-strong-positive-background-color-hover)}.focus-visible\:tw-outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:tw-ring-4:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:tw-ring-blue:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(94 158 214 / var(--tw-ring-opacity))}.focus-visible\:tw-ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.active\:tw-bg-box-selected-pressed:active{background-color:var(--box-selected-color-pressed)}.active\:tw-bg-box-selected-strong-pressed:active{background-color:var(--box-selected-strong-color-pressed)}.active\:tw-bg-button-background-pressed:active{background-color:var(--button-background-color-pressed)}.active\:tw-bg-button-danger-background-pressed:active{background-color:var(--button-danger-background-color-pressed)}.active\:tw-bg-button-negative-background-pressed:active{background-color:var(--button-negative-background-color-pressed)}.active\:tw-bg-button-positive-background-pressed:active{background-color:var(--button-positive-background-color-pressed)}.active\:tw-bg-button-strong-background-pressed:active{background-color:var(--button-strong-background-color-pressed)}.active\:tw-bg-button-strong-negative-background-pressed:active{background-color:var(--button-strong-negative-background-color-pressed)}.active\:tw-bg-button-strong-positive-background-pressed:active{background-color:var(--button-strong-positive-background-color-pressed)}.tw-group:hover .group-hover\:tw-text-box-selected-inverse-hover{color:var(--box-selected-inverse-color-hover)}.tw-group:hover .group-hover\:tw-text-box-selected-strong-inverse{color:var(--box-selected-strong-inverse-color)}.tw-group:active .group-active\:tw-text-box-selected-inverse-pressed{color:var(--box-selected-inverse-color-pressed)}.tw-group:active .group-active\:tw-text-box-selected-strong-inverse{color:var(--box-selected-strong-inverse-color)}.dark\:tw-ring-offset-black:is(.tw-dark *){--tw-ring-offset-color: #2d3232}.focus-within\:dark\:tw-ring-offset-black:is(.tw-dark *):focus-within{--tw-ring-offset-color: #2d3232}.focus-visible\:dark\:tw-ring-offset-black:is(.tw-dark *):focus-visible{--tw-ring-offset-color: #2d3232}.\[\&_svg\]\:tw-leading-none svg{line-height:1}.\[\&_svg\]\:tw-text-box-selected-inverse svg{color:var(--box-selected-inverse-color)}.\[\&_svg\]\:tw-text-box-selected-strong-inverse svg{color:var(--box-selected-strong-inverse-color)}.\[\&_svg\]\:tw-text-button-danger-icon svg{color:var(--button-danger-icon-color)}.\[\&_svg\]\:tw-text-button-icon svg{color:var(--button-icon-color)}.\[\&_svg\]\:tw-text-button-negative-icon svg{color:var(--button-negative-icon-color)}.\[\&_svg\]\:tw-text-button-positive-icon svg{color:var(--button-positive-icon-color)}.\[\&_svg\]\:tw-text-button-strong-icon svg{color:var(--button-strong-icon-color)}.\[\&_svg\]\:tw-text-button-strong-negative-icon svg{color:var(--button-strong-negative-icon-color)}.\[\&_svg\]\:tw-text-button-strong-positive-icon svg{color:var(--button-strong-positive-icon-color)}.tw-group:hover .group-hover\:\[\&_svg\]\:tw-text-box-selected-inverse-hover svg{color:var(--box-selected-inverse-color-hover)}.tw-group:hover .group-hover\:\[\&_svg\]\:tw-text-box-selected-strong-inverse svg{color:var(--box-selected-strong-inverse-color)}.tw-group:active .group-active\:\[\&_svg\]\:tw-text-box-selected-inverse-pressed svg{color:var(--box-selected-inverse-color-pressed)}.tw-group:active .group-active\:\[\&_svg\]\:tw-text-box-selected-strong-inverse svg{color:var(--box-selected-strong-inverse-color)}
|