@kimdw-rtk/ui 0.0.23 → 0.0.25
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/components/Accordion/Accordion.css.js +3 -25
- package/dist/components/Accordion/Accordion.css.ts.vanilla.css +13 -0
- package/dist/components/Accordion/AccordionContent.css.js +3 -22
- package/dist/components/Accordion/AccordionContent.css.ts.vanilla.css +17 -0
- package/dist/components/Accordion/AccordionTrigger.css.js +3 -39
- package/dist/components/Accordion/AccordionTrigger.css.ts.vanilla.css +27 -0
- package/dist/components/Box/Box.css.js +2 -16
- package/dist/components/Box/Box.css.ts.vanilla.css +9 -0
- package/dist/components/Button/Button.css.js +4 -182
- package/dist/components/Button/Button.css.ts.vanilla.css +256 -0
- package/dist/components/Card/Card.css.js +2 -68
- package/dist/components/Card/Card.css.ts.vanilla.css +129 -0
- package/dist/components/Card/CardContent.css.js +1 -7
- package/dist/components/Card/CardContent.css.ts.vanilla.css +7 -0
- package/dist/components/Card/CardInteraction.css.js +1 -9
- package/dist/components/Card/CardInteraction.css.ts.vanilla.css +10 -0
- package/dist/components/Card/CardThumbnail.css.js +1 -6
- package/dist/components/Card/CardThumbnail.css.ts.vanilla.css +7 -0
- package/dist/components/Chip/Chip.css.js +2 -56
- package/dist/components/Chip/Chip.css.ts.vanilla.css +144 -0
- package/dist/components/Dialog/Dialog.css.js +1 -20
- package/dist/components/Dialog/Dialog.css.ts.vanilla.css +17 -0
- package/dist/components/Dialog/DialogContent.css.js +1 -13
- package/dist/components/Dialog/DialogContent.css.ts.vanilla.css +10 -0
- package/dist/components/Dialog/DialogHeader.css.js +2 -24
- package/dist/components/Dialog/DialogHeader.css.ts.vanilla.css +24 -0
- package/dist/components/Navigation/NavigationAside.css.js +1 -7
- package/dist/components/Navigation/NavigationAside.css.ts.vanilla.css +8 -0
- package/dist/components/Navigation/NavigationBar.css.js +3 -32
- package/dist/components/Navigation/NavigationBar.css.ts.vanilla.css +25 -0
- package/dist/components/Navigation/NavigationContainer.css.js +1 -10
- package/dist/components/Navigation/NavigationContainer.css.ts.vanilla.css +8 -0
- package/dist/components/Navigation/NavigationDrawer.css.js +4 -49
- package/dist/components/Navigation/NavigationDrawer.css.ts.vanilla.css +41 -0
- package/dist/components/Navigation/NavigationItem.css.js +2 -35
- package/dist/components/Navigation/NavigationItem.css.ts.vanilla.css +25 -0
- package/dist/components/Navigation/NavigationLogo.css.js +1 -5
- package/dist/components/Navigation/NavigationLogo.css.ts.vanilla.css +6 -0
- package/dist/components/Navigation/NavigationMenu.css.js +1 -20
- package/dist/components/Navigation/NavigationMenu.css.ts.vanilla.css +16 -0
- package/dist/components/Range/Range.css.js +5 -93
- package/dist/components/Range/Range.css.ts.vanilla.css +152 -0
- package/dist/components/ScrollArea/ScrollArea.css.js +5 -33
- package/dist/components/ScrollArea/ScrollArea.css.ts.vanilla.css +32 -0
- package/dist/components/Select/Select.css.js +2 -20
- package/dist/components/Select/Select.css.ts.vanilla.css +15 -0
- package/dist/components/Select/SelectOption.css.js +1 -11
- package/dist/components/Select/SelectOption.css.ts.vanilla.css +11 -0
- package/dist/components/Select/SelectOptionList.css.js +2 -55
- package/dist/components/Select/SelectOptionList.css.ts.vanilla.css +47 -0
- package/dist/components/Select/SelectTrigger.css.js +4 -59
- package/dist/components/Select/SelectTrigger.css.ts.vanilla.css +42 -0
- package/dist/components/Skeleton/Skeleton.css.js +1 -20
- package/dist/components/Skeleton/Skeleton.css.ts.vanilla.css +19 -0
- package/dist/components/Table/Table.css.js +2 -8
- package/dist/components/Table/Table.css.ts.vanilla.css +8 -0
- package/dist/components/Table/TableCell.css.js +1 -33
- package/dist/components/Table/TableCell.css.ts.vanilla.css +29 -0
- package/dist/components/Table/TableHead.css.js +1 -9
- package/dist/components/Table/TableHead.css.ts.vanilla.css +9 -0
- package/dist/components/Table/TableRow.css.js +1 -3
- package/dist/components/Table/TableRow.css.ts.vanilla.css +4 -0
- package/dist/components/Tabs/TabsList.css.js +1 -9
- package/dist/components/Tabs/TabsList.css.ts.vanilla.css +9 -0
- package/dist/components/Tabs/TabsTrigger.css.js +2 -29
- package/dist/components/Tabs/TabsTrigger.css.ts.vanilla.css +24 -0
- package/dist/components/TextField/TextField.css.js +2 -59
- package/dist/components/TextField/TextField.css.ts.vanilla.css +120 -0
- package/dist/components/Toast/Toast.css.js +3 -62
- package/dist/components/Toast/Toast.css.ts.vanilla.css +69 -0
- package/dist/components/Typography/Typography.css.js +2 -15
- package/dist/components/Typography/Typography.css.ts.vanilla.css +11 -0
- package/dist/hooks/useRipple/ripple.css.js +3 -30
- package/dist/hooks/useRipple/ripple.css.ts.vanilla.css +18 -0
- package/dist/hooks/useToast/ToastContainer.css.js +1 -11
- package/dist/hooks/useToast/ToastContainer.css.ts.vanilla.css +9 -0
- package/dist/node_modules/.pnpm/@vanilla-extract_sprinkles@1.6.5_@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0_/node_modules/@vanilla-extract/sprinkles/createRuntimeSprinkles/dist/vanilla-extract-sprinkles-createRuntimeSprinkles.esm.js +8 -0
- package/dist/styles/globalStyle.css.ts.vanilla.css +552 -0
- package/dist/styles/layers.css.js +2 -4
- package/dist/styles/layers.css.ts.vanilla.css +2 -0
- package/dist/styles/overlay.css.js +3 -32
- package/dist/styles/overlay.css.ts.vanilla.css +30 -0
- package/dist/styles/sprinkles.css.js +6 -121
- package/dist/styles/sprinkles.css.ts.vanilla.css +3506 -0
- package/dist/themes/darkTheme.css.js +1 -30
- package/dist/themes/lightTheme.css.js +1 -30
- package/dist/themes/theme.css.js +1 -22
- package/package.json +4 -4
- package/dist/_virtual/cjs.js +0 -5
- package/dist/_virtual/cssesc.js +0 -5
- package/dist/node_modules/.pnpm/@emotion_hash@0.9.2/node_modules/@emotion/hash/dist/emotion-hash.esm.js +0 -55
- package/dist/node_modules/.pnpm/@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0/node_modules/@vanilla-extract/css/adapter/dist/vanilla-extract-css-adapter.esm.js +0 -51
- package/dist/node_modules/.pnpm/@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0/node_modules/@vanilla-extract/css/dist/taggedTemplateLiteral-10998315.esm.js +0 -12
- package/dist/node_modules/.pnpm/@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0/node_modules/@vanilla-extract/css/dist/transformCss-0dba36bf.esm.js +0 -955
- package/dist/node_modules/.pnpm/@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0/node_modules/@vanilla-extract/css/dist/vanilla-extract-css.esm.js +0 -325
- package/dist/node_modules/.pnpm/@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0/node_modules/@vanilla-extract/css/fileScope/dist/vanilla-extract-css-fileScope.esm.js +0 -20
- package/dist/node_modules/.pnpm/@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0/node_modules/@vanilla-extract/css/functionSerializer/dist/vanilla-extract-css-functionSerializer.esm.js +0 -11
- package/dist/node_modules/.pnpm/@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0/node_modules/@vanilla-extract/css/injectStyles/dist/vanilla-extract-css-injectStyles.esm.js +0 -22
- package/dist/node_modules/.pnpm/@vanilla-extract_private@1.0.9/node_modules/@vanilla-extract/private/dist/vanilla-extract-private.esm.js +0 -26
- package/dist/node_modules/.pnpm/@vanilla-extract_recipes@0.5.7_@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0_/node_modules/@vanilla-extract/recipes/dist/vanilla-extract-recipes.esm.js +0 -43
- package/dist/node_modules/.pnpm/@vanilla-extract_sprinkles@1.6.5_@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0_/node_modules/@vanilla-extract/sprinkles/dist/vanilla-extract-sprinkles.esm.js +0 -146
- package/dist/node_modules/.pnpm/css-what@6.2.2/node_modules/css-what/lib/es/parse.js +0 -423
- package/dist/node_modules/.pnpm/css-what@6.2.2/node_modules/css-what/lib/es/types.js +0 -28
- package/dist/node_modules/.pnpm/cssesc@3.0.0/node_modules/cssesc/cssesc.js +0 -119
- package/dist/node_modules/.pnpm/dedent@1.6.0_babel-plugin-macros@3.1.0/node_modules/dedent/dist/dedent.js +0 -68
- package/dist/node_modules/.pnpm/deepmerge@4.3.1/node_modules/deepmerge/dist/cjs.js +0 -142
- package/dist/node_modules/.pnpm/lru-cache@10.4.3/node_modules/lru-cache/dist/esm/index.js +0 -1542
- package/dist/node_modules/.pnpm/media-query-parser@2.0.2/node_modules/media-query-parser/dist/media-query-parser.esm.js +0 -1378
- package/dist/node_modules/.pnpm/modern-ahocorasick@1.1.0/node_modules/modern-ahocorasick/dist/index.js +0 -101
- package/dist/tokens/scale/color.js +0 -602
- package/dist/tokens/semantic/breakpoint.js +0 -4
- package/dist/tokens/semantic/color.js +0 -12
- package/dist/tokens/semantic/spacing.js +0 -11
- package/dist/tokens/semantic/typography.js +0 -34
- package/dist/utils/styleUtils.css.js +0 -64
|
@@ -1,27 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { recipeWithLayer } from '../../utils/styleUtils.css.js';
|
|
3
|
-
import { theme } from '../../themes/theme.css.js';
|
|
1
|
+
import { c as createRuntimeFn } from '../../node_modules/.pnpm/@vanilla-extract_recipes@0.5.7_@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0_/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js';
|
|
4
2
|
|
|
5
|
-
|
|
6
|
-
const accordion = recipeWithLayer({
|
|
7
|
-
base: {
|
|
8
|
-
width: '100%',
|
|
9
|
-
borderBottom: `1px solid rgb(${theme.color.border})`,
|
|
10
|
-
},
|
|
11
|
-
variants: {
|
|
12
|
-
isPadding: {
|
|
13
|
-
true: {
|
|
14
|
-
vars: {
|
|
15
|
-
[paddingVar]: '0.75em',
|
|
16
|
-
},
|
|
17
|
-
},
|
|
18
|
-
false: {
|
|
19
|
-
vars: {
|
|
20
|
-
[paddingVar]: '0.75em 0',
|
|
21
|
-
},
|
|
22
|
-
},
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
});
|
|
3
|
+
var accordion = createRuntimeFn({defaultClassName:'Accordion__18xln004 Accordion_layeredBase__18xln001',variantClassNames:{isPadding:{true:'Accordion_styleWithLayer__18xln002',false:'Accordion_styleWithLayer__18xln003'}},defaultVariants:{},compoundVariants:[]});
|
|
26
4
|
|
|
27
|
-
export { accordion
|
|
5
|
+
export { accordion };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
@layer components;
|
|
2
|
+
@layer components {
|
|
3
|
+
.Accordion_layeredBase__18xln001 {
|
|
4
|
+
width: 100%;
|
|
5
|
+
border-bottom: 1px solid rgb(var(--color-border__n6e2fs3));
|
|
6
|
+
}
|
|
7
|
+
.Accordion_styleWithLayer__18xln002 {
|
|
8
|
+
--paddingVar__18xln000: 0.75em;
|
|
9
|
+
}
|
|
10
|
+
.Accordion_styleWithLayer__18xln003 {
|
|
11
|
+
--paddingVar__18xln000: 0.75em 0;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -1,25 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { paddingVar } from './Accordion.css.js';
|
|
1
|
+
import { c as createRuntimeFn } from '../../node_modules/.pnpm/@vanilla-extract_recipes@0.5.7_@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0_/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js';
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
overflow: 'hidden',
|
|
7
|
-
transition: 'height 0.2s ease, opacity 0.2s ease',
|
|
8
|
-
},
|
|
9
|
-
variants: {
|
|
10
|
-
isExpanded: {
|
|
11
|
-
true: {
|
|
12
|
-
opacity: '1',
|
|
13
|
-
},
|
|
14
|
-
false: {
|
|
15
|
-
height: '0',
|
|
16
|
-
opacity: '0',
|
|
17
|
-
},
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
});
|
|
21
|
-
const inner = styleWithLayer({
|
|
22
|
-
padding: paddingVar,
|
|
23
|
-
});
|
|
3
|
+
var container = createRuntimeFn({defaultClassName:'AccordionContent__a19wuy3 AccordionContent_layeredBase__a19wuy0',variantClassNames:{isExpanded:{true:'AccordionContent_styleWithLayer__a19wuy1',false:'AccordionContent_styleWithLayer__a19wuy2'}},defaultVariants:{},compoundVariants:[]});
|
|
4
|
+
var inner = 'AccordionContent_styleWithLayer__a19wuy6';
|
|
24
5
|
|
|
25
6
|
export { container, inner };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
@layer components;
|
|
2
|
+
@layer components {
|
|
3
|
+
.AccordionContent_layeredBase__a19wuy0 {
|
|
4
|
+
overflow: hidden;
|
|
5
|
+
transition: height 0.2s ease, opacity 0.2s ease;
|
|
6
|
+
}
|
|
7
|
+
.AccordionContent_styleWithLayer__a19wuy1 {
|
|
8
|
+
opacity: 1;
|
|
9
|
+
}
|
|
10
|
+
.AccordionContent_styleWithLayer__a19wuy2 {
|
|
11
|
+
height: 0;
|
|
12
|
+
opacity: 0;
|
|
13
|
+
}
|
|
14
|
+
.AccordionContent_styleWithLayer__a19wuy6 {
|
|
15
|
+
padding: var(--paddingVar__18xln000);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -1,42 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { paddingVar } from './Accordion.css.js';
|
|
1
|
+
import { c as createRuntimeFn } from '../../node_modules/.pnpm/@vanilla-extract_recipes@0.5.7_@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0_/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js';
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
display: 'flex',
|
|
7
|
-
alignItems: 'center',
|
|
8
|
-
gap: '0.25em',
|
|
9
|
-
width: '100%',
|
|
10
|
-
padding: paddingVar,
|
|
11
|
-
cursor: 'pointer',
|
|
12
|
-
':hover': {
|
|
13
|
-
textDecoration: 'underline',
|
|
14
|
-
},
|
|
15
|
-
},
|
|
16
|
-
variants: {
|
|
17
|
-
iconPosition: {
|
|
18
|
-
text: {},
|
|
19
|
-
right: {
|
|
20
|
-
justifyContent: 'space-between',
|
|
21
|
-
},
|
|
22
|
-
},
|
|
23
|
-
},
|
|
24
|
-
});
|
|
25
|
-
const arrow = recipeWithLayer({
|
|
26
|
-
base: {
|
|
27
|
-
lineHeight: '0',
|
|
28
|
-
transition: 'transform 0.2s ease',
|
|
29
|
-
},
|
|
30
|
-
variants: {
|
|
31
|
-
expand: {
|
|
32
|
-
true: {
|
|
33
|
-
transform: 'rotate(-180deg)',
|
|
34
|
-
},
|
|
35
|
-
false: {
|
|
36
|
-
transform: 'rotate(0)',
|
|
37
|
-
},
|
|
38
|
-
},
|
|
39
|
-
},
|
|
40
|
-
});
|
|
3
|
+
var arrow = createRuntimeFn({defaultClassName:'AccordionTrigger__1xaprgb9 AccordionTrigger_layeredBase__1xaprgb6',variantClassNames:{expand:{true:'AccordionTrigger_styleWithLayer__1xaprgb7',false:'AccordionTrigger_styleWithLayer__1xaprgb8'}},defaultVariants:{},compoundVariants:[]});
|
|
4
|
+
var triggerContainer = createRuntimeFn({defaultClassName:'AccordionTrigger__1xaprgb3 AccordionTrigger_layeredBase__1xaprgb0',variantClassNames:{iconPosition:{text:'AccordionTrigger_styleWithLayer__1xaprgb1',right:'AccordionTrigger_styleWithLayer__1xaprgb2'}},defaultVariants:{},compoundVariants:[]});
|
|
41
5
|
|
|
42
6
|
export { arrow, triggerContainer };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
@layer components;
|
|
2
|
+
@layer components {
|
|
3
|
+
.AccordionTrigger_layeredBase__1xaprgb0 {
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
gap: 0.25em;
|
|
7
|
+
width: 100%;
|
|
8
|
+
padding: var(--paddingVar__18xln000);
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
}
|
|
11
|
+
.AccordionTrigger_layeredBase__1xaprgb0:hover {
|
|
12
|
+
text-decoration: underline;
|
|
13
|
+
}
|
|
14
|
+
.AccordionTrigger_styleWithLayer__1xaprgb2 {
|
|
15
|
+
justify-content: space-between;
|
|
16
|
+
}
|
|
17
|
+
.AccordionTrigger_layeredBase__1xaprgb6 {
|
|
18
|
+
line-height: 0;
|
|
19
|
+
transition: transform 0.2s ease;
|
|
20
|
+
}
|
|
21
|
+
.AccordionTrigger_styleWithLayer__1xaprgb7 {
|
|
22
|
+
transform: rotate(-180deg);
|
|
23
|
+
}
|
|
24
|
+
.AccordionTrigger_styleWithLayer__1xaprgb8 {
|
|
25
|
+
transform: rotate(0);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -1,19 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { theme } from '../../themes/theme.css.js';
|
|
1
|
+
import { c as createRuntimeFn } from '../../node_modules/.pnpm/@vanilla-extract_recipes@0.5.7_@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0_/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js';
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
variants: {
|
|
6
|
-
flex: {
|
|
7
|
-
true: {
|
|
8
|
-
display: 'flex',
|
|
9
|
-
},
|
|
10
|
-
},
|
|
11
|
-
rounded: {
|
|
12
|
-
true: {
|
|
13
|
-
borderRadius: theme.borderRadius,
|
|
14
|
-
},
|
|
15
|
-
},
|
|
16
|
-
},
|
|
17
|
-
});
|
|
3
|
+
var box = createRuntimeFn({defaultClassName:'Box__1wsb57c2',variantClassNames:{flex:{true:'Box_styleWithLayer__1wsb57c0'},rounded:{true:'Box_styleWithLayer__1wsb57c1'}},defaultVariants:{},compoundVariants:[]});
|
|
18
4
|
|
|
19
5
|
export { box };
|
|
@@ -1,185 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { recipeWithLayer, styleWithLayer } from '../../utils/styleUtils.css.js';
|
|
3
|
-
import { SCALE_COLOR } from '../../tokens/scale/color.js';
|
|
4
|
-
import { theme } from '../../themes/theme.css.js';
|
|
5
|
-
import { semanticColor } from '../../tokens/semantic/color.js';
|
|
1
|
+
import { c as createRuntimeFn } from '../../node_modules/.pnpm/@vanilla-extract_recipes@0.5.7_@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0_/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js';
|
|
6
2
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
...prev,
|
|
11
|
-
[color]: styleWithLayer({
|
|
12
|
-
vars: {
|
|
13
|
-
[backgroundVar]: theme.color[color],
|
|
14
|
-
[foregroundVar]: theme.color[`${color}-foreground`],
|
|
15
|
-
},
|
|
16
|
-
}),
|
|
17
|
-
}), {});
|
|
18
|
-
const scaleColors = SCALE_COLOR.reduce((prev, value) => ({
|
|
19
|
-
...prev,
|
|
20
|
-
[value]: styleWithLayer({
|
|
21
|
-
vars: {
|
|
22
|
-
[backgroundVar]: theme.color[value][500],
|
|
23
|
-
[foregroundVar]: theme.color.background,
|
|
24
|
-
},
|
|
25
|
-
}),
|
|
26
|
-
}), {});
|
|
27
|
-
const pulse = keyframes({
|
|
28
|
-
'0%': {
|
|
29
|
-
backgroundPosition: '-300% 0',
|
|
30
|
-
},
|
|
31
|
-
'100%': {
|
|
32
|
-
backgroundPosition: '300% 0',
|
|
33
|
-
},
|
|
34
|
-
});
|
|
35
|
-
const span = recipeWithLayer({
|
|
36
|
-
base: {
|
|
37
|
-
lineHeight: '0',
|
|
38
|
-
},
|
|
39
|
-
variants: {
|
|
40
|
-
size: {
|
|
41
|
-
sm: {
|
|
42
|
-
fontSize: '0.875em',
|
|
43
|
-
},
|
|
44
|
-
md: {
|
|
45
|
-
fontSize: '1em',
|
|
46
|
-
},
|
|
47
|
-
lg: {
|
|
48
|
-
fontSize: '1.125em',
|
|
49
|
-
},
|
|
50
|
-
'icon-sm': {
|
|
51
|
-
fontSize: '1em',
|
|
52
|
-
},
|
|
53
|
-
'icon-md': {
|
|
54
|
-
fontSize: '1.25em',
|
|
55
|
-
},
|
|
56
|
-
'icon-lg': {
|
|
57
|
-
fontSize: '1.5em',
|
|
58
|
-
},
|
|
59
|
-
},
|
|
60
|
-
},
|
|
61
|
-
});
|
|
62
|
-
const button = recipeWithLayer({
|
|
63
|
-
base: {
|
|
64
|
-
display: 'inline-flex',
|
|
65
|
-
alignItems: 'center',
|
|
66
|
-
justifyContent: 'center',
|
|
67
|
-
position: 'relative',
|
|
68
|
-
overflow: 'hidden',
|
|
69
|
-
border: '0',
|
|
70
|
-
borderRadius: theme.borderRadius,
|
|
71
|
-
fontSize: '1em',
|
|
72
|
-
transition: 'background-color 0.2s ease, color 0.2s ease',
|
|
73
|
-
cursor: 'pointer',
|
|
74
|
-
userSelect: 'none',
|
|
75
|
-
},
|
|
76
|
-
variants: {
|
|
77
|
-
hasIcon: {
|
|
78
|
-
true: {
|
|
79
|
-
gap: '0.5em',
|
|
80
|
-
},
|
|
81
|
-
},
|
|
82
|
-
color: {
|
|
83
|
-
...semanticColors,
|
|
84
|
-
...scaleColors,
|
|
85
|
-
},
|
|
86
|
-
size: {
|
|
87
|
-
sm: {
|
|
88
|
-
height: '2.25em',
|
|
89
|
-
padding: '0 0.75em',
|
|
90
|
-
},
|
|
91
|
-
md: {
|
|
92
|
-
height: '2.5em',
|
|
93
|
-
padding: '0 0.875em',
|
|
94
|
-
},
|
|
95
|
-
lg: {
|
|
96
|
-
height: '2.75em',
|
|
97
|
-
padding: '0 1em',
|
|
98
|
-
},
|
|
99
|
-
'icon-sm': {
|
|
100
|
-
width: '2em',
|
|
101
|
-
height: '2em',
|
|
102
|
-
},
|
|
103
|
-
'icon-md': {
|
|
104
|
-
width: '2.5em',
|
|
105
|
-
height: '2.5em',
|
|
106
|
-
},
|
|
107
|
-
'icon-lg': {
|
|
108
|
-
width: '2.75em',
|
|
109
|
-
height: '2.75em',
|
|
110
|
-
},
|
|
111
|
-
},
|
|
112
|
-
variant: {
|
|
113
|
-
contained: {
|
|
114
|
-
boxShadow: `inset 0 0 0 1px rgba(255, 255, 255, 0.08)`,
|
|
115
|
-
backgroundColor: `rgb(${backgroundVar})`,
|
|
116
|
-
color: `rgb(${foregroundVar})`,
|
|
117
|
-
':disabled': {
|
|
118
|
-
backgroundColor: `rgb(${theme.color.muted})`,
|
|
119
|
-
color: `rgb(${theme.color['muted-foreground']})`,
|
|
120
|
-
cursor: 'default',
|
|
121
|
-
},
|
|
122
|
-
},
|
|
123
|
-
outlined: {
|
|
124
|
-
boxShadow: `inset 0 0 0 1px rgb(${backgroundVar})`,
|
|
125
|
-
backgroundColor: `rgb(${theme.color.background})`,
|
|
126
|
-
color: `rgb(${theme.color.foreground})`,
|
|
127
|
-
':disabled': {
|
|
128
|
-
backgroundColor: `rgb(${theme.color.muted})`,
|
|
129
|
-
color: `rgb(${theme.color['muted-foreground']})`,
|
|
130
|
-
cursor: 'default',
|
|
131
|
-
},
|
|
132
|
-
},
|
|
133
|
-
ghost: {
|
|
134
|
-
background: 'transparent',
|
|
135
|
-
color: `rgb(${theme.color.foreground})`,
|
|
136
|
-
':hover': {
|
|
137
|
-
backgroundColor: `rgba(${backgroundVar}, 0.8)`,
|
|
138
|
-
color: `rgb(${foregroundVar})`,
|
|
139
|
-
},
|
|
140
|
-
':disabled': {
|
|
141
|
-
color: `rgb(${theme.color['muted-foreground']})`,
|
|
142
|
-
cursor: 'default',
|
|
143
|
-
},
|
|
144
|
-
},
|
|
145
|
-
glass: {
|
|
146
|
-
boxShadow: `inset 0 0 0 1px rgba(255, 255, 255, 0.08)`,
|
|
147
|
-
backgroundColor: `rgba(${backgroundVar}, 0.75)`,
|
|
148
|
-
backdropFilter: 'blur(1rem)',
|
|
149
|
-
color: `rgb(${theme.color.foreground})`,
|
|
150
|
-
':disabled': {
|
|
151
|
-
backgroundColor: `rgb(${theme.color.muted})`,
|
|
152
|
-
color: `rgb(${theme.color['muted-foreground']})`,
|
|
153
|
-
cursor: 'default',
|
|
154
|
-
},
|
|
155
|
-
},
|
|
156
|
-
},
|
|
157
|
-
pulse: {
|
|
158
|
-
true: {
|
|
159
|
-
'::after': {
|
|
160
|
-
content: '',
|
|
161
|
-
position: 'absolute',
|
|
162
|
-
inset: '0',
|
|
163
|
-
background: 'linear-gradient(90deg, transparent 30%, #ffffff33 65%, transparent 100%)',
|
|
164
|
-
backgroundSize: '300% 100%',
|
|
165
|
-
animation: `${pulse} 5s linear 0s infinite`,
|
|
166
|
-
},
|
|
167
|
-
},
|
|
168
|
-
},
|
|
169
|
-
},
|
|
170
|
-
});
|
|
171
|
-
const icon = style({
|
|
172
|
-
lineHeight: '0',
|
|
173
|
-
});
|
|
174
|
-
globalStyle(`${icon} > *`, {
|
|
175
|
-
width: '1em',
|
|
176
|
-
height: '1em',
|
|
177
|
-
lineHeight: '0',
|
|
178
|
-
pointerEvents: 'none',
|
|
179
|
-
});
|
|
180
|
-
globalStyle(`${button.classNames.base} svg`, {
|
|
181
|
-
width: '1em',
|
|
182
|
-
height: '1em',
|
|
183
|
-
});
|
|
3
|
+
var button = createRuntimeFn({defaultClassName:'Button__1abigts1o Button_layeredBase__1abigts1b',variantClassNames:{hasIcon:{true:'Button_styleWithLayer__1abigts1c'},color:{primary:'Button_styleWithLayer__1abigts2',secondary:'Button_styleWithLayer__1abigts3',muted:'Button_styleWithLayer__1abigts4',accent:'Button_styleWithLayer__1abigts5',card:'Button_styleWithLayer__1abigts6',danger:'Button_styleWithLayer__1abigts7',warning:'Button_styleWithLayer__1abigts8',success:'Button_styleWithLayer__1abigts9',red:'Button_styleWithLayer__1abigtsa',orange:'Button_styleWithLayer__1abigtsb',amber:'Button_styleWithLayer__1abigtsc',yellow:'Button_styleWithLayer__1abigtsd',lime:'Button_styleWithLayer__1abigtse',green:'Button_styleWithLayer__1abigtsf',emerald:'Button_styleWithLayer__1abigtsg',teal:'Button_styleWithLayer__1abigtsh',cyan:'Button_styleWithLayer__1abigtsi',sky:'Button_styleWithLayer__1abigtsj',blue:'Button_styleWithLayer__1abigtsk',indigo:'Button_styleWithLayer__1abigtsl',violet:'Button_styleWithLayer__1abigtsm',purple:'Button_styleWithLayer__1abigtsn',fuchsia:'Button_styleWithLayer__1abigtso',pink:'Button_styleWithLayer__1abigtsp',rose:'Button_styleWithLayer__1abigtsq',slate:'Button_styleWithLayer__1abigtsr',gray:'Button_styleWithLayer__1abigtss',zinc:'Button_styleWithLayer__1abigtst',neutral:'Button_styleWithLayer__1abigtsu',stone:'Button_styleWithLayer__1abigtsv'},size:{sm:'Button_styleWithLayer__1abigts1d',md:'Button_styleWithLayer__1abigts1e',lg:'Button_styleWithLayer__1abigts1f','icon-sm':'Button_styleWithLayer__1abigts1g','icon-md':'Button_styleWithLayer__1abigts1h','icon-lg':'Button_styleWithLayer__1abigts1i'},variant:{contained:'Button_styleWithLayer__1abigts1j',outlined:'Button_styleWithLayer__1abigts1k',ghost:'Button_styleWithLayer__1abigts1l',glass:'Button_styleWithLayer__1abigts1m'},pulse:{true:'Button_styleWithLayer__1abigts1n'}},defaultVariants:{},compoundVariants:[]});
|
|
4
|
+
var icon = 'Button_icon__1abigts2v';
|
|
5
|
+
var span = createRuntimeFn({defaultClassName:'Button__1abigts14 Button_layeredBase__1abigtsx',variantClassNames:{size:{sm:'Button_styleWithLayer__1abigtsy',md:'Button_styleWithLayer__1abigtsz',lg:'Button_styleWithLayer__1abigts10','icon-sm':'Button_styleWithLayer__1abigts11','icon-md':'Button_styleWithLayer__1abigts12','icon-lg':'Button_styleWithLayer__1abigts13'}},defaultVariants:{},compoundVariants:[]});
|
|
184
6
|
|
|
185
7
|
export { button, icon, span };
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
@keyframes Button_pulse__1abigtsw {
|
|
2
|
+
0% {
|
|
3
|
+
background-position: -300% 0;
|
|
4
|
+
}
|
|
5
|
+
100% {
|
|
6
|
+
background-position: 300% 0;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
@layer components;
|
|
10
|
+
.Button_icon__1abigts2v {
|
|
11
|
+
line-height: 0;
|
|
12
|
+
}
|
|
13
|
+
.Button_icon__1abigts2v > * {
|
|
14
|
+
width: 1em;
|
|
15
|
+
height: 1em;
|
|
16
|
+
line-height: 0;
|
|
17
|
+
pointer-events: none;
|
|
18
|
+
}
|
|
19
|
+
.Button__1abigts1o svg {
|
|
20
|
+
width: 1em;
|
|
21
|
+
height: 1em;
|
|
22
|
+
}
|
|
23
|
+
@layer components {
|
|
24
|
+
.Button_styleWithLayer__1abigts2 {
|
|
25
|
+
--backgroundVar__1abigts0: var(--color-primary__n6e2fs7);
|
|
26
|
+
--foregroundVar__1abigts1: var(--color-primary-foreground__n6e2fs8);
|
|
27
|
+
}
|
|
28
|
+
.Button_styleWithLayer__1abigts3 {
|
|
29
|
+
--backgroundVar__1abigts0: var(--color-secondary__n6e2fs9);
|
|
30
|
+
--foregroundVar__1abigts1: var(--color-secondary-foreground__n6e2fsa);
|
|
31
|
+
}
|
|
32
|
+
.Button_styleWithLayer__1abigts4 {
|
|
33
|
+
--backgroundVar__1abigts0: var(--color-muted__n6e2fsb);
|
|
34
|
+
--foregroundVar__1abigts1: var(--color-muted-foreground__n6e2fsc);
|
|
35
|
+
}
|
|
36
|
+
.Button_styleWithLayer__1abigts5 {
|
|
37
|
+
--backgroundVar__1abigts0: var(--color-accent__n6e2fsd);
|
|
38
|
+
--foregroundVar__1abigts1: var(--color-accent-foreground__n6e2fse);
|
|
39
|
+
}
|
|
40
|
+
.Button_styleWithLayer__1abigts6 {
|
|
41
|
+
--backgroundVar__1abigts0: var(--color-card__n6e2fsf);
|
|
42
|
+
--foregroundVar__1abigts1: var(--color-card-foreground__n6e2fsg);
|
|
43
|
+
}
|
|
44
|
+
.Button_styleWithLayer__1abigts7 {
|
|
45
|
+
--backgroundVar__1abigts0: var(--color-danger__n6e2fsh);
|
|
46
|
+
--foregroundVar__1abigts1: var(--color-danger-foreground__n6e2fsi);
|
|
47
|
+
}
|
|
48
|
+
.Button_styleWithLayer__1abigts8 {
|
|
49
|
+
--backgroundVar__1abigts0: var(--color-warning__n6e2fsj);
|
|
50
|
+
--foregroundVar__1abigts1: var(--color-warning-foreground__n6e2fsk);
|
|
51
|
+
}
|
|
52
|
+
.Button_styleWithLayer__1abigts9 {
|
|
53
|
+
--backgroundVar__1abigts0: var(--color-success__n6e2fsl);
|
|
54
|
+
--foregroundVar__1abigts1: var(--color-success-foreground__n6e2fsm);
|
|
55
|
+
}
|
|
56
|
+
.Button_styleWithLayer__1abigtsa {
|
|
57
|
+
--backgroundVar__1abigts0: var(--color-red-500__n6e2fss);
|
|
58
|
+
--foregroundVar__1abigts1: var(--color-background__n6e2fs1);
|
|
59
|
+
}
|
|
60
|
+
.Button_styleWithLayer__1abigtsb {
|
|
61
|
+
--backgroundVar__1abigts0: var(--color-orange-500__n6e2fs13);
|
|
62
|
+
--foregroundVar__1abigts1: var(--color-background__n6e2fs1);
|
|
63
|
+
}
|
|
64
|
+
.Button_styleWithLayer__1abigtsc {
|
|
65
|
+
--backgroundVar__1abigts0: var(--color-amber-500__n6e2fs1e);
|
|
66
|
+
--foregroundVar__1abigts1: var(--color-background__n6e2fs1);
|
|
67
|
+
}
|
|
68
|
+
.Button_styleWithLayer__1abigtsd {
|
|
69
|
+
--backgroundVar__1abigts0: var(--color-yellow-500__n6e2fs1p);
|
|
70
|
+
--foregroundVar__1abigts1: var(--color-background__n6e2fs1);
|
|
71
|
+
}
|
|
72
|
+
.Button_styleWithLayer__1abigtse {
|
|
73
|
+
--backgroundVar__1abigts0: var(--color-lime-500__n6e2fs20);
|
|
74
|
+
--foregroundVar__1abigts1: var(--color-background__n6e2fs1);
|
|
75
|
+
}
|
|
76
|
+
.Button_styleWithLayer__1abigtsf {
|
|
77
|
+
--backgroundVar__1abigts0: var(--color-green-500__n6e2fs2b);
|
|
78
|
+
--foregroundVar__1abigts1: var(--color-background__n6e2fs1);
|
|
79
|
+
}
|
|
80
|
+
.Button_styleWithLayer__1abigtsg {
|
|
81
|
+
--backgroundVar__1abigts0: var(--color-emerald-500__n6e2fs2m);
|
|
82
|
+
--foregroundVar__1abigts1: var(--color-background__n6e2fs1);
|
|
83
|
+
}
|
|
84
|
+
.Button_styleWithLayer__1abigtsh {
|
|
85
|
+
--backgroundVar__1abigts0: var(--color-teal-500__n6e2fs2x);
|
|
86
|
+
--foregroundVar__1abigts1: var(--color-background__n6e2fs1);
|
|
87
|
+
}
|
|
88
|
+
.Button_styleWithLayer__1abigtsi {
|
|
89
|
+
--backgroundVar__1abigts0: var(--color-cyan-500__n6e2fs38);
|
|
90
|
+
--foregroundVar__1abigts1: var(--color-background__n6e2fs1);
|
|
91
|
+
}
|
|
92
|
+
.Button_styleWithLayer__1abigtsj {
|
|
93
|
+
--backgroundVar__1abigts0: var(--color-sky-500__n6e2fs3j);
|
|
94
|
+
--foregroundVar__1abigts1: var(--color-background__n6e2fs1);
|
|
95
|
+
}
|
|
96
|
+
.Button_styleWithLayer__1abigtsk {
|
|
97
|
+
--backgroundVar__1abigts0: var(--color-blue-500__n6e2fs3u);
|
|
98
|
+
--foregroundVar__1abigts1: var(--color-background__n6e2fs1);
|
|
99
|
+
}
|
|
100
|
+
.Button_styleWithLayer__1abigtsl {
|
|
101
|
+
--backgroundVar__1abigts0: var(--color-indigo-500__n6e2fs45);
|
|
102
|
+
--foregroundVar__1abigts1: var(--color-background__n6e2fs1);
|
|
103
|
+
}
|
|
104
|
+
.Button_styleWithLayer__1abigtsm {
|
|
105
|
+
--backgroundVar__1abigts0: var(--color-violet-500__n6e2fs4g);
|
|
106
|
+
--foregroundVar__1abigts1: var(--color-background__n6e2fs1);
|
|
107
|
+
}
|
|
108
|
+
.Button_styleWithLayer__1abigtsn {
|
|
109
|
+
--backgroundVar__1abigts0: var(--color-purple-500__n6e2fs4r);
|
|
110
|
+
--foregroundVar__1abigts1: var(--color-background__n6e2fs1);
|
|
111
|
+
}
|
|
112
|
+
.Button_styleWithLayer__1abigtso {
|
|
113
|
+
--backgroundVar__1abigts0: var(--color-fuchsia-500__n6e2fs52);
|
|
114
|
+
--foregroundVar__1abigts1: var(--color-background__n6e2fs1);
|
|
115
|
+
}
|
|
116
|
+
.Button_styleWithLayer__1abigtsp {
|
|
117
|
+
--backgroundVar__1abigts0: var(--color-pink-500__n6e2fs5d);
|
|
118
|
+
--foregroundVar__1abigts1: var(--color-background__n6e2fs1);
|
|
119
|
+
}
|
|
120
|
+
.Button_styleWithLayer__1abigtsq {
|
|
121
|
+
--backgroundVar__1abigts0: var(--color-rose-500__n6e2fs5o);
|
|
122
|
+
--foregroundVar__1abigts1: var(--color-background__n6e2fs1);
|
|
123
|
+
}
|
|
124
|
+
.Button_styleWithLayer__1abigtsr {
|
|
125
|
+
--backgroundVar__1abigts0: var(--color-slate-500__n6e2fs5z);
|
|
126
|
+
--foregroundVar__1abigts1: var(--color-background__n6e2fs1);
|
|
127
|
+
}
|
|
128
|
+
.Button_styleWithLayer__1abigtss {
|
|
129
|
+
--backgroundVar__1abigts0: var(--color-gray-500__n6e2fs6a);
|
|
130
|
+
--foregroundVar__1abigts1: var(--color-background__n6e2fs1);
|
|
131
|
+
}
|
|
132
|
+
.Button_styleWithLayer__1abigtst {
|
|
133
|
+
--backgroundVar__1abigts0: var(--color-zinc-500__n6e2fs6l);
|
|
134
|
+
--foregroundVar__1abigts1: var(--color-background__n6e2fs1);
|
|
135
|
+
}
|
|
136
|
+
.Button_styleWithLayer__1abigtsu {
|
|
137
|
+
--backgroundVar__1abigts0: var(--color-neutral-500__n6e2fs6w);
|
|
138
|
+
--foregroundVar__1abigts1: var(--color-background__n6e2fs1);
|
|
139
|
+
}
|
|
140
|
+
.Button_styleWithLayer__1abigtsv {
|
|
141
|
+
--backgroundVar__1abigts0: var(--color-stone-500__n6e2fs77);
|
|
142
|
+
--foregroundVar__1abigts1: var(--color-background__n6e2fs1);
|
|
143
|
+
}
|
|
144
|
+
.Button_layeredBase__1abigtsx {
|
|
145
|
+
line-height: 0;
|
|
146
|
+
}
|
|
147
|
+
.Button_styleWithLayer__1abigtsy {
|
|
148
|
+
font-size: 0.875em;
|
|
149
|
+
}
|
|
150
|
+
.Button_styleWithLayer__1abigtsz {
|
|
151
|
+
font-size: 1em;
|
|
152
|
+
}
|
|
153
|
+
.Button_styleWithLayer__1abigts10 {
|
|
154
|
+
font-size: 1.125em;
|
|
155
|
+
}
|
|
156
|
+
.Button_styleWithLayer__1abigts11 {
|
|
157
|
+
font-size: 1em;
|
|
158
|
+
}
|
|
159
|
+
.Button_styleWithLayer__1abigts12 {
|
|
160
|
+
font-size: 1.25em;
|
|
161
|
+
}
|
|
162
|
+
.Button_styleWithLayer__1abigts13 {
|
|
163
|
+
font-size: 1.5em;
|
|
164
|
+
}
|
|
165
|
+
.Button_layeredBase__1abigts1b {
|
|
166
|
+
display: inline-flex;
|
|
167
|
+
align-items: center;
|
|
168
|
+
justify-content: center;
|
|
169
|
+
position: relative;
|
|
170
|
+
overflow: hidden;
|
|
171
|
+
border: 0;
|
|
172
|
+
border-radius: var(--borderRadius__n6e2fs0);
|
|
173
|
+
font-size: 1em;
|
|
174
|
+
transition: background-color 0.2s ease, color 0.2s ease;
|
|
175
|
+
cursor: pointer;
|
|
176
|
+
user-select: none;
|
|
177
|
+
}
|
|
178
|
+
.Button_styleWithLayer__1abigts1c {
|
|
179
|
+
gap: 0.5em;
|
|
180
|
+
}
|
|
181
|
+
.Button_styleWithLayer__1abigts1d {
|
|
182
|
+
height: 2.25em;
|
|
183
|
+
padding: 0 0.75em;
|
|
184
|
+
}
|
|
185
|
+
.Button_styleWithLayer__1abigts1e {
|
|
186
|
+
height: 2.5em;
|
|
187
|
+
padding: 0 0.875em;
|
|
188
|
+
}
|
|
189
|
+
.Button_styleWithLayer__1abigts1f {
|
|
190
|
+
height: 2.75em;
|
|
191
|
+
padding: 0 1em;
|
|
192
|
+
}
|
|
193
|
+
.Button_styleWithLayer__1abigts1g {
|
|
194
|
+
width: 2em;
|
|
195
|
+
height: 2em;
|
|
196
|
+
}
|
|
197
|
+
.Button_styleWithLayer__1abigts1h {
|
|
198
|
+
width: 2.5em;
|
|
199
|
+
height: 2.5em;
|
|
200
|
+
}
|
|
201
|
+
.Button_styleWithLayer__1abigts1i {
|
|
202
|
+
width: 2.75em;
|
|
203
|
+
height: 2.75em;
|
|
204
|
+
}
|
|
205
|
+
.Button_styleWithLayer__1abigts1j {
|
|
206
|
+
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
|
|
207
|
+
background-color: rgb(var(--backgroundVar__1abigts0));
|
|
208
|
+
color: rgb(var(--foregroundVar__1abigts1));
|
|
209
|
+
}
|
|
210
|
+
.Button_styleWithLayer__1abigts1j:disabled {
|
|
211
|
+
background-color: rgb(var(--color-muted__n6e2fsb));
|
|
212
|
+
color: rgb(var(--color-muted-foreground__n6e2fsc));
|
|
213
|
+
cursor: default;
|
|
214
|
+
}
|
|
215
|
+
.Button_styleWithLayer__1abigts1k {
|
|
216
|
+
box-shadow: inset 0 0 0 1px rgb(var(--backgroundVar__1abigts0));
|
|
217
|
+
background-color: rgb(var(--color-background__n6e2fs1));
|
|
218
|
+
color: rgb(var(--color-foreground__n6e2fs2));
|
|
219
|
+
}
|
|
220
|
+
.Button_styleWithLayer__1abigts1k:disabled {
|
|
221
|
+
background-color: rgb(var(--color-muted__n6e2fsb));
|
|
222
|
+
color: rgb(var(--color-muted-foreground__n6e2fsc));
|
|
223
|
+
cursor: default;
|
|
224
|
+
}
|
|
225
|
+
.Button_styleWithLayer__1abigts1l {
|
|
226
|
+
background: transparent;
|
|
227
|
+
color: rgb(var(--color-foreground__n6e2fs2));
|
|
228
|
+
}
|
|
229
|
+
.Button_styleWithLayer__1abigts1l:hover {
|
|
230
|
+
background-color: rgba(var(--backgroundVar__1abigts0), 0.8);
|
|
231
|
+
color: rgb(var(--foregroundVar__1abigts1));
|
|
232
|
+
}
|
|
233
|
+
.Button_styleWithLayer__1abigts1l:disabled {
|
|
234
|
+
color: rgb(var(--color-muted-foreground__n6e2fsc));
|
|
235
|
+
cursor: default;
|
|
236
|
+
}
|
|
237
|
+
.Button_styleWithLayer__1abigts1m {
|
|
238
|
+
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
|
|
239
|
+
background-color: rgba(var(--backgroundVar__1abigts0), 0.75);
|
|
240
|
+
backdrop-filter: blur(1rem);
|
|
241
|
+
color: rgb(var(--color-foreground__n6e2fs2));
|
|
242
|
+
}
|
|
243
|
+
.Button_styleWithLayer__1abigts1m:disabled {
|
|
244
|
+
background-color: rgb(var(--color-muted__n6e2fsb));
|
|
245
|
+
color: rgb(var(--color-muted-foreground__n6e2fsc));
|
|
246
|
+
cursor: default;
|
|
247
|
+
}
|
|
248
|
+
.Button_styleWithLayer__1abigts1n::after {
|
|
249
|
+
content: "";
|
|
250
|
+
position: absolute;
|
|
251
|
+
inset: 0;
|
|
252
|
+
background: linear-gradient(90deg, transparent 30%, #ffffff33 65%, transparent 100%);
|
|
253
|
+
background-size: 300% 100%;
|
|
254
|
+
animation: Button_pulse__1abigtsw 5s linear 0s infinite;
|
|
255
|
+
}
|
|
256
|
+
}
|