@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,71 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SCALE_COLOR } from '../../tokens/scale/color.js';
|
|
3
|
-
import { cardInteraction } from './CardInteraction.css.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
|
-
...prev,
|
|
9
|
-
[color]: styleWithLayer({
|
|
10
|
-
backgroundColor: `rgb(${theme.color[color]})`,
|
|
11
|
-
}),
|
|
12
|
-
}), {});
|
|
13
|
-
const scaleColors = SCALE_COLOR.reduce((prev, value) => ({
|
|
14
|
-
...prev,
|
|
15
|
-
[value]: styleWithLayer({
|
|
16
|
-
backgroundColor: `color-mix(in srgb, rgb(${theme.color[value][500]}) 20%, rgb(${theme.color.background}) 80%)`,
|
|
17
|
-
}),
|
|
18
|
-
}), {});
|
|
19
|
-
const card = recipeWithLayer({
|
|
20
|
-
base: {
|
|
21
|
-
display: 'flex',
|
|
22
|
-
flexDirection: 'column',
|
|
23
|
-
overflow: 'hidden',
|
|
24
|
-
position: 'relative',
|
|
25
|
-
borderRadius: theme.borderRadius,
|
|
26
|
-
color: `rgb(${theme.color.foreground})`,
|
|
27
|
-
transition: 'border-color 0.2s ease, transform 0.4s ease',
|
|
28
|
-
selectors: {
|
|
29
|
-
[`&:has(${cardInteraction}:hover)`]: {
|
|
30
|
-
borderColor: `color-mix(in srgb, rgb(${theme.color.primary}) 10%, rgb(${theme.color.border}) 90%)`,
|
|
31
|
-
},
|
|
32
|
-
[`&:has(${cardInteraction}:active)`]: {
|
|
33
|
-
borderColor: `color-mix(in srgb, rgb(${theme.color.primary}) 40%, rgb(${theme.color.border}) 60%)`,
|
|
34
|
-
},
|
|
35
|
-
},
|
|
36
|
-
},
|
|
37
|
-
variants: {
|
|
38
|
-
variant: {
|
|
39
|
-
contained: {},
|
|
40
|
-
outlined: {
|
|
41
|
-
border: '1px solid',
|
|
42
|
-
borderColor: `rgb(${theme.color.border})`,
|
|
43
|
-
},
|
|
44
|
-
glass: {
|
|
45
|
-
border: `1px solid rgb(${theme.color['border.weak']})`,
|
|
46
|
-
borderRadius: '0.75rem',
|
|
47
|
-
background: `linear-gradient(rgba(${theme.color['card.gradient']}, 0.06) 0%, rgba(${theme.color['card.gradient']}, 0.02) 100%)`,
|
|
48
|
-
backdropFilter: 'blur(1rem)',
|
|
49
|
-
'::before': {
|
|
50
|
-
position: 'absolute',
|
|
51
|
-
inset: '0',
|
|
52
|
-
background: 'linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%)',
|
|
53
|
-
opacity: '0',
|
|
54
|
-
transition: 'opacity 0.3s ease',
|
|
55
|
-
content: '',
|
|
56
|
-
},
|
|
57
|
-
selectors: {
|
|
58
|
-
'&:hover::before': {
|
|
59
|
-
opacity: '1',
|
|
60
|
-
},
|
|
61
|
-
},
|
|
62
|
-
},
|
|
63
|
-
},
|
|
64
|
-
color: {
|
|
65
|
-
...semanticColors,
|
|
66
|
-
...scaleColors,
|
|
67
|
-
},
|
|
68
|
-
},
|
|
69
|
-
});
|
|
3
|
+
var card = createRuntimeFn({defaultClassName:'Card__1foreksy Card_layeredBase__1foreksu',variantClassNames:{variant:{contained:'Card_styleWithLayer__1foreksv',outlined:'Card_styleWithLayer__1foreksw',glass:'Card_styleWithLayer__1foreksx'},color:{primary:'Card_styleWithLayer__1foreks0',secondary:'Card_styleWithLayer__1foreks1',muted:'Card_styleWithLayer__1foreks2',accent:'Card_styleWithLayer__1foreks3',card:'Card_styleWithLayer__1foreks4',danger:'Card_styleWithLayer__1foreks5',warning:'Card_styleWithLayer__1foreks6',success:'Card_styleWithLayer__1foreks7',red:'Card_styleWithLayer__1foreks8',orange:'Card_styleWithLayer__1foreks9',amber:'Card_styleWithLayer__1foreksa',yellow:'Card_styleWithLayer__1foreksb',lime:'Card_styleWithLayer__1foreksc',green:'Card_styleWithLayer__1foreksd',emerald:'Card_styleWithLayer__1forekse',teal:'Card_styleWithLayer__1foreksf',cyan:'Card_styleWithLayer__1foreksg',sky:'Card_styleWithLayer__1foreksh',blue:'Card_styleWithLayer__1foreksi',indigo:'Card_styleWithLayer__1foreksj',violet:'Card_styleWithLayer__1foreksk',purple:'Card_styleWithLayer__1foreksl',fuchsia:'Card_styleWithLayer__1foreksm',pink:'Card_styleWithLayer__1foreksn',rose:'Card_styleWithLayer__1forekso',slate:'Card_styleWithLayer__1foreksp',gray:'Card_styleWithLayer__1foreksq',zinc:'Card_styleWithLayer__1foreksr',neutral:'Card_styleWithLayer__1forekss',stone:'Card_styleWithLayer__1forekst'}},defaultVariants:{},compoundVariants:[]});
|
|
70
4
|
|
|
71
5
|
export { card };
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
@layer components;
|
|
2
|
+
@layer components {
|
|
3
|
+
.Card_styleWithLayer__1foreks0 {
|
|
4
|
+
background-color: rgb(var(--color-primary__n6e2fs7));
|
|
5
|
+
}
|
|
6
|
+
.Card_styleWithLayer__1foreks1 {
|
|
7
|
+
background-color: rgb(var(--color-secondary__n6e2fs9));
|
|
8
|
+
}
|
|
9
|
+
.Card_styleWithLayer__1foreks2 {
|
|
10
|
+
background-color: rgb(var(--color-muted__n6e2fsb));
|
|
11
|
+
}
|
|
12
|
+
.Card_styleWithLayer__1foreks3 {
|
|
13
|
+
background-color: rgb(var(--color-accent__n6e2fsd));
|
|
14
|
+
}
|
|
15
|
+
.Card_styleWithLayer__1foreks4 {
|
|
16
|
+
background-color: rgb(var(--color-card__n6e2fsf));
|
|
17
|
+
}
|
|
18
|
+
.Card_styleWithLayer__1foreks5 {
|
|
19
|
+
background-color: rgb(var(--color-danger__n6e2fsh));
|
|
20
|
+
}
|
|
21
|
+
.Card_styleWithLayer__1foreks6 {
|
|
22
|
+
background-color: rgb(var(--color-warning__n6e2fsj));
|
|
23
|
+
}
|
|
24
|
+
.Card_styleWithLayer__1foreks7 {
|
|
25
|
+
background-color: rgb(var(--color-success__n6e2fsl));
|
|
26
|
+
}
|
|
27
|
+
.Card_styleWithLayer__1foreks8 {
|
|
28
|
+
background-color: color-mix(in srgb, rgb(var(--color-red-500__n6e2fss)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
29
|
+
}
|
|
30
|
+
.Card_styleWithLayer__1foreks9 {
|
|
31
|
+
background-color: color-mix(in srgb, rgb(var(--color-orange-500__n6e2fs13)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
32
|
+
}
|
|
33
|
+
.Card_styleWithLayer__1foreksa {
|
|
34
|
+
background-color: color-mix(in srgb, rgb(var(--color-amber-500__n6e2fs1e)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
35
|
+
}
|
|
36
|
+
.Card_styleWithLayer__1foreksb {
|
|
37
|
+
background-color: color-mix(in srgb, rgb(var(--color-yellow-500__n6e2fs1p)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
38
|
+
}
|
|
39
|
+
.Card_styleWithLayer__1foreksc {
|
|
40
|
+
background-color: color-mix(in srgb, rgb(var(--color-lime-500__n6e2fs20)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
41
|
+
}
|
|
42
|
+
.Card_styleWithLayer__1foreksd {
|
|
43
|
+
background-color: color-mix(in srgb, rgb(var(--color-green-500__n6e2fs2b)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
44
|
+
}
|
|
45
|
+
.Card_styleWithLayer__1forekse {
|
|
46
|
+
background-color: color-mix(in srgb, rgb(var(--color-emerald-500__n6e2fs2m)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
47
|
+
}
|
|
48
|
+
.Card_styleWithLayer__1foreksf {
|
|
49
|
+
background-color: color-mix(in srgb, rgb(var(--color-teal-500__n6e2fs2x)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
50
|
+
}
|
|
51
|
+
.Card_styleWithLayer__1foreksg {
|
|
52
|
+
background-color: color-mix(in srgb, rgb(var(--color-cyan-500__n6e2fs38)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
53
|
+
}
|
|
54
|
+
.Card_styleWithLayer__1foreksh {
|
|
55
|
+
background-color: color-mix(in srgb, rgb(var(--color-sky-500__n6e2fs3j)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
56
|
+
}
|
|
57
|
+
.Card_styleWithLayer__1foreksi {
|
|
58
|
+
background-color: color-mix(in srgb, rgb(var(--color-blue-500__n6e2fs3u)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
59
|
+
}
|
|
60
|
+
.Card_styleWithLayer__1foreksj {
|
|
61
|
+
background-color: color-mix(in srgb, rgb(var(--color-indigo-500__n6e2fs45)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
62
|
+
}
|
|
63
|
+
.Card_styleWithLayer__1foreksk {
|
|
64
|
+
background-color: color-mix(in srgb, rgb(var(--color-violet-500__n6e2fs4g)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
65
|
+
}
|
|
66
|
+
.Card_styleWithLayer__1foreksl {
|
|
67
|
+
background-color: color-mix(in srgb, rgb(var(--color-purple-500__n6e2fs4r)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
68
|
+
}
|
|
69
|
+
.Card_styleWithLayer__1foreksm {
|
|
70
|
+
background-color: color-mix(in srgb, rgb(var(--color-fuchsia-500__n6e2fs52)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
71
|
+
}
|
|
72
|
+
.Card_styleWithLayer__1foreksn {
|
|
73
|
+
background-color: color-mix(in srgb, rgb(var(--color-pink-500__n6e2fs5d)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
74
|
+
}
|
|
75
|
+
.Card_styleWithLayer__1forekso {
|
|
76
|
+
background-color: color-mix(in srgb, rgb(var(--color-rose-500__n6e2fs5o)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
77
|
+
}
|
|
78
|
+
.Card_styleWithLayer__1foreksp {
|
|
79
|
+
background-color: color-mix(in srgb, rgb(var(--color-slate-500__n6e2fs5z)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
80
|
+
}
|
|
81
|
+
.Card_styleWithLayer__1foreksq {
|
|
82
|
+
background-color: color-mix(in srgb, rgb(var(--color-gray-500__n6e2fs6a)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
83
|
+
}
|
|
84
|
+
.Card_styleWithLayer__1foreksr {
|
|
85
|
+
background-color: color-mix(in srgb, rgb(var(--color-zinc-500__n6e2fs6l)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
86
|
+
}
|
|
87
|
+
.Card_styleWithLayer__1forekss {
|
|
88
|
+
background-color: color-mix(in srgb, rgb(var(--color-neutral-500__n6e2fs6w)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
89
|
+
}
|
|
90
|
+
.Card_styleWithLayer__1forekst {
|
|
91
|
+
background-color: color-mix(in srgb, rgb(var(--color-stone-500__n6e2fs77)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
92
|
+
}
|
|
93
|
+
.Card_layeredBase__1foreksu {
|
|
94
|
+
display: flex;
|
|
95
|
+
flex-direction: column;
|
|
96
|
+
overflow: hidden;
|
|
97
|
+
position: relative;
|
|
98
|
+
border-radius: var(--borderRadius__n6e2fs0);
|
|
99
|
+
color: rgb(var(--color-foreground__n6e2fs2));
|
|
100
|
+
transition: border-color 0.2s ease, transform 0.4s ease;
|
|
101
|
+
}
|
|
102
|
+
.Card_layeredBase__1foreksu:has(.CardInteraction_styleWithLayer__3n4sac0:hover) {
|
|
103
|
+
border-color: color-mix(in srgb, rgb(var(--color-primary__n6e2fs7)) 10%, rgb(var(--color-border__n6e2fs3)) 90%);
|
|
104
|
+
}
|
|
105
|
+
.Card_layeredBase__1foreksu:has(.CardInteraction_styleWithLayer__3n4sac0:active) {
|
|
106
|
+
border-color: color-mix(in srgb, rgb(var(--color-primary__n6e2fs7)) 40%, rgb(var(--color-border__n6e2fs3)) 60%);
|
|
107
|
+
}
|
|
108
|
+
.Card_styleWithLayer__1foreksw {
|
|
109
|
+
border: 1px solid;
|
|
110
|
+
border-color: rgb(var(--color-border__n6e2fs3));
|
|
111
|
+
}
|
|
112
|
+
.Card_styleWithLayer__1foreksx {
|
|
113
|
+
border: 1px solid rgb(var(--color-border\.weak__n6e2fs4));
|
|
114
|
+
border-radius: 0.75rem;
|
|
115
|
+
background: linear-gradient(rgba(var(--color-card\.gradient__n6e2fs5), 0.06) 0%, rgba(var(--color-card\.gradient__n6e2fs5), 0.02) 100%);
|
|
116
|
+
backdrop-filter: blur(1rem);
|
|
117
|
+
}
|
|
118
|
+
.Card_styleWithLayer__1foreksx::before {
|
|
119
|
+
content: "";
|
|
120
|
+
position: absolute;
|
|
121
|
+
inset: 0;
|
|
122
|
+
background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
|
|
123
|
+
opacity: 0;
|
|
124
|
+
transition: opacity 0.3s ease;
|
|
125
|
+
}
|
|
126
|
+
.Card_styleWithLayer__1foreksx:hover::before {
|
|
127
|
+
opacity: 1;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
import { spacing } from '../../tokens/semantic/spacing.js';
|
|
3
|
-
|
|
4
|
-
const cardContent = styleWithLayer({
|
|
5
|
-
flex: '1 1 auto',
|
|
6
|
-
padding: spacing.md,
|
|
7
|
-
});
|
|
1
|
+
var cardContent = 'CardContent_styleWithLayer__1nhygmc0';
|
|
8
2
|
|
|
9
3
|
export { cardContent };
|
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const cardInteraction = styleWithLayer({
|
|
4
|
-
position: 'relative',
|
|
5
|
-
overflow: 'hidden',
|
|
6
|
-
height: '100%',
|
|
7
|
-
cursor: 'pointer',
|
|
8
|
-
userSelect: 'none',
|
|
9
|
-
});
|
|
1
|
+
var cardInteraction = 'CardInteraction_styleWithLayer__3n4sac0';
|
|
10
2
|
|
|
11
3
|
export { cardInteraction };
|
|
@@ -1,59 +1,5 @@
|
|
|
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
|
-
const foregroundVar = createVar();
|
|
9
|
-
const semanticColors = semanticColor.reduce((prev, color) => ({
|
|
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[value][50],
|
|
24
|
-
},
|
|
25
|
-
}),
|
|
26
|
-
}), {});
|
|
27
|
-
const chip = recipeWithLayer({
|
|
28
|
-
base: {
|
|
29
|
-
display: 'inline-flex',
|
|
30
|
-
alignItems: 'center',
|
|
31
|
-
lineHeight: '0',
|
|
32
|
-
gap: '0.125em',
|
|
33
|
-
height: '2em',
|
|
34
|
-
padding: '0 0.75em',
|
|
35
|
-
borderRadius: theme.borderRadius,
|
|
36
|
-
backgroundColor: `rgb(${backgroundVar})`,
|
|
37
|
-
color: `rgb(${foregroundVar})`,
|
|
38
|
-
userSelect: 'none',
|
|
39
|
-
},
|
|
40
|
-
variants: {
|
|
41
|
-
color: {
|
|
42
|
-
...semanticColors,
|
|
43
|
-
...scaleColors,
|
|
44
|
-
},
|
|
45
|
-
size: {
|
|
46
|
-
sm: {
|
|
47
|
-
fontSize: '0.75em',
|
|
48
|
-
},
|
|
49
|
-
md: {
|
|
50
|
-
fontSize: '0.875em',
|
|
51
|
-
},
|
|
52
|
-
lg: {
|
|
53
|
-
fontSize: '1em',
|
|
54
|
-
},
|
|
55
|
-
},
|
|
56
|
-
},
|
|
57
|
-
});
|
|
3
|
+
var chip = createRuntimeFn({defaultClassName:'Chip__1ogf81t10 Chip_layeredBase__1ogf81tw',variantClassNames:{color:{primary:'Chip_styleWithLayer__1ogf81t2',secondary:'Chip_styleWithLayer__1ogf81t3',muted:'Chip_styleWithLayer__1ogf81t4',accent:'Chip_styleWithLayer__1ogf81t5',card:'Chip_styleWithLayer__1ogf81t6',danger:'Chip_styleWithLayer__1ogf81t7',warning:'Chip_styleWithLayer__1ogf81t8',success:'Chip_styleWithLayer__1ogf81t9',red:'Chip_styleWithLayer__1ogf81ta',orange:'Chip_styleWithLayer__1ogf81tb',amber:'Chip_styleWithLayer__1ogf81tc',yellow:'Chip_styleWithLayer__1ogf81td',lime:'Chip_styleWithLayer__1ogf81te',green:'Chip_styleWithLayer__1ogf81tf',emerald:'Chip_styleWithLayer__1ogf81tg',teal:'Chip_styleWithLayer__1ogf81th',cyan:'Chip_styleWithLayer__1ogf81ti',sky:'Chip_styleWithLayer__1ogf81tj',blue:'Chip_styleWithLayer__1ogf81tk',indigo:'Chip_styleWithLayer__1ogf81tl',violet:'Chip_styleWithLayer__1ogf81tm',purple:'Chip_styleWithLayer__1ogf81tn',fuchsia:'Chip_styleWithLayer__1ogf81to',pink:'Chip_styleWithLayer__1ogf81tp',rose:'Chip_styleWithLayer__1ogf81tq',slate:'Chip_styleWithLayer__1ogf81tr',gray:'Chip_styleWithLayer__1ogf81ts',zinc:'Chip_styleWithLayer__1ogf81tt',neutral:'Chip_styleWithLayer__1ogf81tu',stone:'Chip_styleWithLayer__1ogf81tv'},size:{sm:'Chip_styleWithLayer__1ogf81tx',md:'Chip_styleWithLayer__1ogf81ty',lg:'Chip_styleWithLayer__1ogf81tz'}},defaultVariants:{},compoundVariants:[]});
|
|
58
4
|
|
|
59
5
|
export { chip };
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
@layer components;
|
|
2
|
+
@layer components {
|
|
3
|
+
.Chip_styleWithLayer__1ogf81t2 {
|
|
4
|
+
--backgroundVar__1ogf81t0: var(--color-primary__n6e2fs7);
|
|
5
|
+
--foregroundVar__1ogf81t1: var(--color-primary-foreground__n6e2fs8);
|
|
6
|
+
}
|
|
7
|
+
.Chip_styleWithLayer__1ogf81t3 {
|
|
8
|
+
--backgroundVar__1ogf81t0: var(--color-secondary__n6e2fs9);
|
|
9
|
+
--foregroundVar__1ogf81t1: var(--color-secondary-foreground__n6e2fsa);
|
|
10
|
+
}
|
|
11
|
+
.Chip_styleWithLayer__1ogf81t4 {
|
|
12
|
+
--backgroundVar__1ogf81t0: var(--color-muted__n6e2fsb);
|
|
13
|
+
--foregroundVar__1ogf81t1: var(--color-muted-foreground__n6e2fsc);
|
|
14
|
+
}
|
|
15
|
+
.Chip_styleWithLayer__1ogf81t5 {
|
|
16
|
+
--backgroundVar__1ogf81t0: var(--color-accent__n6e2fsd);
|
|
17
|
+
--foregroundVar__1ogf81t1: var(--color-accent-foreground__n6e2fse);
|
|
18
|
+
}
|
|
19
|
+
.Chip_styleWithLayer__1ogf81t6 {
|
|
20
|
+
--backgroundVar__1ogf81t0: var(--color-card__n6e2fsf);
|
|
21
|
+
--foregroundVar__1ogf81t1: var(--color-card-foreground__n6e2fsg);
|
|
22
|
+
}
|
|
23
|
+
.Chip_styleWithLayer__1ogf81t7 {
|
|
24
|
+
--backgroundVar__1ogf81t0: var(--color-danger__n6e2fsh);
|
|
25
|
+
--foregroundVar__1ogf81t1: var(--color-danger-foreground__n6e2fsi);
|
|
26
|
+
}
|
|
27
|
+
.Chip_styleWithLayer__1ogf81t8 {
|
|
28
|
+
--backgroundVar__1ogf81t0: var(--color-warning__n6e2fsj);
|
|
29
|
+
--foregroundVar__1ogf81t1: var(--color-warning-foreground__n6e2fsk);
|
|
30
|
+
}
|
|
31
|
+
.Chip_styleWithLayer__1ogf81t9 {
|
|
32
|
+
--backgroundVar__1ogf81t0: var(--color-success__n6e2fsl);
|
|
33
|
+
--foregroundVar__1ogf81t1: var(--color-success-foreground__n6e2fsm);
|
|
34
|
+
}
|
|
35
|
+
.Chip_styleWithLayer__1ogf81ta {
|
|
36
|
+
--backgroundVar__1ogf81t0: var(--color-red-500__n6e2fss);
|
|
37
|
+
--foregroundVar__1ogf81t1: var(--color-red-50__n6e2fsn);
|
|
38
|
+
}
|
|
39
|
+
.Chip_styleWithLayer__1ogf81tb {
|
|
40
|
+
--backgroundVar__1ogf81t0: var(--color-orange-500__n6e2fs13);
|
|
41
|
+
--foregroundVar__1ogf81t1: var(--color-orange-50__n6e2fsy);
|
|
42
|
+
}
|
|
43
|
+
.Chip_styleWithLayer__1ogf81tc {
|
|
44
|
+
--backgroundVar__1ogf81t0: var(--color-amber-500__n6e2fs1e);
|
|
45
|
+
--foregroundVar__1ogf81t1: var(--color-amber-50__n6e2fs19);
|
|
46
|
+
}
|
|
47
|
+
.Chip_styleWithLayer__1ogf81td {
|
|
48
|
+
--backgroundVar__1ogf81t0: var(--color-yellow-500__n6e2fs1p);
|
|
49
|
+
--foregroundVar__1ogf81t1: var(--color-yellow-50__n6e2fs1k);
|
|
50
|
+
}
|
|
51
|
+
.Chip_styleWithLayer__1ogf81te {
|
|
52
|
+
--backgroundVar__1ogf81t0: var(--color-lime-500__n6e2fs20);
|
|
53
|
+
--foregroundVar__1ogf81t1: var(--color-lime-50__n6e2fs1v);
|
|
54
|
+
}
|
|
55
|
+
.Chip_styleWithLayer__1ogf81tf {
|
|
56
|
+
--backgroundVar__1ogf81t0: var(--color-green-500__n6e2fs2b);
|
|
57
|
+
--foregroundVar__1ogf81t1: var(--color-green-50__n6e2fs26);
|
|
58
|
+
}
|
|
59
|
+
.Chip_styleWithLayer__1ogf81tg {
|
|
60
|
+
--backgroundVar__1ogf81t0: var(--color-emerald-500__n6e2fs2m);
|
|
61
|
+
--foregroundVar__1ogf81t1: var(--color-emerald-50__n6e2fs2h);
|
|
62
|
+
}
|
|
63
|
+
.Chip_styleWithLayer__1ogf81th {
|
|
64
|
+
--backgroundVar__1ogf81t0: var(--color-teal-500__n6e2fs2x);
|
|
65
|
+
--foregroundVar__1ogf81t1: var(--color-teal-50__n6e2fs2s);
|
|
66
|
+
}
|
|
67
|
+
.Chip_styleWithLayer__1ogf81ti {
|
|
68
|
+
--backgroundVar__1ogf81t0: var(--color-cyan-500__n6e2fs38);
|
|
69
|
+
--foregroundVar__1ogf81t1: var(--color-cyan-50__n6e2fs33);
|
|
70
|
+
}
|
|
71
|
+
.Chip_styleWithLayer__1ogf81tj {
|
|
72
|
+
--backgroundVar__1ogf81t0: var(--color-sky-500__n6e2fs3j);
|
|
73
|
+
--foregroundVar__1ogf81t1: var(--color-sky-50__n6e2fs3e);
|
|
74
|
+
}
|
|
75
|
+
.Chip_styleWithLayer__1ogf81tk {
|
|
76
|
+
--backgroundVar__1ogf81t0: var(--color-blue-500__n6e2fs3u);
|
|
77
|
+
--foregroundVar__1ogf81t1: var(--color-blue-50__n6e2fs3p);
|
|
78
|
+
}
|
|
79
|
+
.Chip_styleWithLayer__1ogf81tl {
|
|
80
|
+
--backgroundVar__1ogf81t0: var(--color-indigo-500__n6e2fs45);
|
|
81
|
+
--foregroundVar__1ogf81t1: var(--color-indigo-50__n6e2fs40);
|
|
82
|
+
}
|
|
83
|
+
.Chip_styleWithLayer__1ogf81tm {
|
|
84
|
+
--backgroundVar__1ogf81t0: var(--color-violet-500__n6e2fs4g);
|
|
85
|
+
--foregroundVar__1ogf81t1: var(--color-violet-50__n6e2fs4b);
|
|
86
|
+
}
|
|
87
|
+
.Chip_styleWithLayer__1ogf81tn {
|
|
88
|
+
--backgroundVar__1ogf81t0: var(--color-purple-500__n6e2fs4r);
|
|
89
|
+
--foregroundVar__1ogf81t1: var(--color-purple-50__n6e2fs4m);
|
|
90
|
+
}
|
|
91
|
+
.Chip_styleWithLayer__1ogf81to {
|
|
92
|
+
--backgroundVar__1ogf81t0: var(--color-fuchsia-500__n6e2fs52);
|
|
93
|
+
--foregroundVar__1ogf81t1: var(--color-fuchsia-50__n6e2fs4x);
|
|
94
|
+
}
|
|
95
|
+
.Chip_styleWithLayer__1ogf81tp {
|
|
96
|
+
--backgroundVar__1ogf81t0: var(--color-pink-500__n6e2fs5d);
|
|
97
|
+
--foregroundVar__1ogf81t1: var(--color-pink-50__n6e2fs58);
|
|
98
|
+
}
|
|
99
|
+
.Chip_styleWithLayer__1ogf81tq {
|
|
100
|
+
--backgroundVar__1ogf81t0: var(--color-rose-500__n6e2fs5o);
|
|
101
|
+
--foregroundVar__1ogf81t1: var(--color-rose-50__n6e2fs5j);
|
|
102
|
+
}
|
|
103
|
+
.Chip_styleWithLayer__1ogf81tr {
|
|
104
|
+
--backgroundVar__1ogf81t0: var(--color-slate-500__n6e2fs5z);
|
|
105
|
+
--foregroundVar__1ogf81t1: var(--color-slate-50__n6e2fs5u);
|
|
106
|
+
}
|
|
107
|
+
.Chip_styleWithLayer__1ogf81ts {
|
|
108
|
+
--backgroundVar__1ogf81t0: var(--color-gray-500__n6e2fs6a);
|
|
109
|
+
--foregroundVar__1ogf81t1: var(--color-gray-50__n6e2fs65);
|
|
110
|
+
}
|
|
111
|
+
.Chip_styleWithLayer__1ogf81tt {
|
|
112
|
+
--backgroundVar__1ogf81t0: var(--color-zinc-500__n6e2fs6l);
|
|
113
|
+
--foregroundVar__1ogf81t1: var(--color-zinc-50__n6e2fs6g);
|
|
114
|
+
}
|
|
115
|
+
.Chip_styleWithLayer__1ogf81tu {
|
|
116
|
+
--backgroundVar__1ogf81t0: var(--color-neutral-500__n6e2fs6w);
|
|
117
|
+
--foregroundVar__1ogf81t1: var(--color-neutral-50__n6e2fs6r);
|
|
118
|
+
}
|
|
119
|
+
.Chip_styleWithLayer__1ogf81tv {
|
|
120
|
+
--backgroundVar__1ogf81t0: var(--color-stone-500__n6e2fs77);
|
|
121
|
+
--foregroundVar__1ogf81t1: var(--color-stone-50__n6e2fs72);
|
|
122
|
+
}
|
|
123
|
+
.Chip_layeredBase__1ogf81tw {
|
|
124
|
+
display: inline-flex;
|
|
125
|
+
align-items: center;
|
|
126
|
+
line-height: 0;
|
|
127
|
+
gap: 0.125em;
|
|
128
|
+
height: 2em;
|
|
129
|
+
padding: 0 0.75em;
|
|
130
|
+
border-radius: var(--borderRadius__n6e2fs0);
|
|
131
|
+
background-color: rgb(var(--backgroundVar__1ogf81t0));
|
|
132
|
+
color: rgb(var(--foregroundVar__1ogf81t1));
|
|
133
|
+
user-select: none;
|
|
134
|
+
}
|
|
135
|
+
.Chip_styleWithLayer__1ogf81tx {
|
|
136
|
+
font-size: 0.75em;
|
|
137
|
+
}
|
|
138
|
+
.Chip_styleWithLayer__1ogf81ty {
|
|
139
|
+
font-size: 0.875em;
|
|
140
|
+
}
|
|
141
|
+
.Chip_styleWithLayer__1ogf81tz {
|
|
142
|
+
font-size: 1em;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
@@ -1,22 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
import { theme } from '../../themes/theme.css.js';
|
|
3
|
-
|
|
4
|
-
const container = style({
|
|
5
|
-
display: 'flex',
|
|
6
|
-
flexDirection: 'column',
|
|
7
|
-
gap: '1rem',
|
|
8
|
-
overflowY: 'auto',
|
|
9
|
-
maxWidth: 'calc(100vw - 2rem)',
|
|
10
|
-
minWidth: 'min(20rem, calc(100vw - 2rem))',
|
|
11
|
-
maxHeight: 'calc(100vh - 2rem)',
|
|
12
|
-
borderRadius: theme.borderRadius,
|
|
13
|
-
boxSizing: 'border-box',
|
|
14
|
-
backgroundColor: `rgb(${theme.color.background})`,
|
|
15
|
-
});
|
|
16
|
-
style({
|
|
17
|
-
marginBottom: '1rem',
|
|
18
|
-
lineHeight: '150%',
|
|
19
|
-
wordBreak: 'break-all',
|
|
20
|
-
});
|
|
1
|
+
var container = 'Dialog_container__qjtgcx0';
|
|
21
2
|
|
|
22
3
|
export { container };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
.Dialog_container__qjtgcx0 {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: 1rem;
|
|
5
|
+
overflow-y: auto;
|
|
6
|
+
max-width: calc(100vw - 2rem);
|
|
7
|
+
min-width: min(20rem, calc(100vw - 2rem));
|
|
8
|
+
max-height: calc(100vh - 2rem);
|
|
9
|
+
border-radius: var(--borderRadius__n6e2fs0);
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
background-color: rgb(var(--color-background__n6e2fs1));
|
|
12
|
+
}
|
|
13
|
+
.Dialog_message__qjtgcx1 {
|
|
14
|
+
margin-bottom: 1rem;
|
|
15
|
+
line-height: 150%;
|
|
16
|
+
word-break: break-all;
|
|
17
|
+
}
|
|
@@ -1,15 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
import { container as container$1 } from './DialogHeader.css.js';
|
|
3
|
-
import { theme } from '../../themes/theme.css.js';
|
|
4
|
-
|
|
5
|
-
const container = styleWithLayer({
|
|
6
|
-
padding: '0 1.5rem 1.5rem 1.5rem',
|
|
7
|
-
wordBreak: 'break-all',
|
|
8
|
-
selectors: {
|
|
9
|
-
[`${container$1} + &`]: {
|
|
10
|
-
color: `rgb(${theme.color['muted-foreground']})`,
|
|
11
|
-
},
|
|
12
|
-
},
|
|
13
|
-
});
|
|
1
|
+
var container = 'DialogContent_styleWithLayer__1v0lk0e0';
|
|
14
2
|
|
|
15
3
|
export { container };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
@layer components;
|
|
2
|
+
@layer components {
|
|
3
|
+
.DialogContent_styleWithLayer__1v0lk0e0 {
|
|
4
|
+
padding: 0 1.5rem 1.5rem 1.5rem;
|
|
5
|
+
word-break: break-all;
|
|
6
|
+
}
|
|
7
|
+
.DialogHeader_styleWithLayer__jb8ns00 + .DialogContent_styleWithLayer__1v0lk0e0 {
|
|
8
|
+
color: rgb(var(--color-muted-foreground__n6e2fsc));
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -1,26 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const container = styleWithLayer({
|
|
5
|
-
position: 'sticky',
|
|
6
|
-
top: '0',
|
|
7
|
-
padding: '1.5rem',
|
|
8
|
-
zIndex: '10',
|
|
9
|
-
backgroundColor: `rgb(${theme.color.background})`,
|
|
10
|
-
});
|
|
11
|
-
const close = styleWithLayer({
|
|
12
|
-
width: '1.25rem',
|
|
13
|
-
height: '1.25rem',
|
|
14
|
-
padding: '0',
|
|
15
|
-
border: '0',
|
|
16
|
-
backgroundColor: 'transparent',
|
|
17
|
-
fontSize: '1em',
|
|
18
|
-
color: `rgb(${theme.color['muted-foreground']})`,
|
|
19
|
-
cursor: 'pointer',
|
|
20
|
-
transition: 'color 0.1s ease',
|
|
21
|
-
':hover': {
|
|
22
|
-
color: `rgb(${theme.color['foreground']})`,
|
|
23
|
-
},
|
|
24
|
-
});
|
|
1
|
+
var close = 'DialogHeader_styleWithLayer__jb8ns01';
|
|
2
|
+
var container = 'DialogHeader_styleWithLayer__jb8ns00';
|
|
25
3
|
|
|
26
4
|
export { close, container };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
@layer components;
|
|
2
|
+
@layer components {
|
|
3
|
+
.DialogHeader_styleWithLayer__jb8ns00 {
|
|
4
|
+
position: sticky;
|
|
5
|
+
top: 0;
|
|
6
|
+
padding: 1.5rem;
|
|
7
|
+
z-index: 10;
|
|
8
|
+
background-color: rgb(var(--color-background__n6e2fs1));
|
|
9
|
+
}
|
|
10
|
+
.DialogHeader_styleWithLayer__jb8ns01 {
|
|
11
|
+
width: 1.25rem;
|
|
12
|
+
height: 1.25rem;
|
|
13
|
+
padding: 0;
|
|
14
|
+
border: 0;
|
|
15
|
+
background-color: transparent;
|
|
16
|
+
font-size: 1em;
|
|
17
|
+
color: rgb(var(--color-muted-foreground__n6e2fsc));
|
|
18
|
+
cursor: pointer;
|
|
19
|
+
transition: color 0.1s ease;
|
|
20
|
+
}
|
|
21
|
+
.DialogHeader_styleWithLayer__jb8ns01:hover {
|
|
22
|
+
color: rgb(var(--color-foreground__n6e2fs2));
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -1,35 +1,6 @@
|
|
|
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
|
-
|
|
7
|
-
base: {
|
|
8
|
-
zIndex: '20',
|
|
9
|
-
position: 'sticky',
|
|
10
|
-
top: '0',
|
|
11
|
-
width: '100%',
|
|
12
|
-
borderBottom: `1px solid rgb(${theme.color['border.weak']})`,
|
|
13
|
-
backgroundColor: `rgba(${theme.color.background}, 0.75)`,
|
|
14
|
-
backdropFilter: 'blur(2rem) saturate(150%)',
|
|
15
|
-
color: `rgb(${theme.color.border})`,
|
|
16
|
-
transition: 'border-bottom-color 0.2s ease',
|
|
17
|
-
containerType: 'inline-size',
|
|
18
|
-
containerName: navigationBarContainer,
|
|
19
|
-
},
|
|
20
|
-
variants: {
|
|
21
|
-
size: {
|
|
22
|
-
sm: {
|
|
23
|
-
height: '4em',
|
|
24
|
-
},
|
|
25
|
-
md: {
|
|
26
|
-
height: '5em',
|
|
27
|
-
},
|
|
28
|
-
lg: {
|
|
29
|
-
height: '6em',
|
|
30
|
-
},
|
|
31
|
-
},
|
|
32
|
-
},
|
|
33
|
-
});
|
|
3
|
+
var navigationBar = createRuntimeFn({defaultClassName:'NavigationBar__x4q5x95 NavigationBar_layeredBase__x4q5x91',variantClassNames:{size:{sm:'NavigationBar_styleWithLayer__x4q5x92',md:'NavigationBar_styleWithLayer__x4q5x93',lg:'NavigationBar_styleWithLayer__x4q5x94'}},defaultVariants:{},compoundVariants:[]});
|
|
4
|
+
var navigationBarContainer = 'NavigationBar_navigationBarContainer__x4q5x90';
|
|
34
5
|
|
|
35
6
|
export { navigationBar, navigationBarContainer };
|