@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
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
@layer components;
|
|
2
|
+
@layer components {
|
|
3
|
+
.NavigationBar_layeredBase__x4q5x91 {
|
|
4
|
+
z-index: 20;
|
|
5
|
+
position: sticky;
|
|
6
|
+
top: 0;
|
|
7
|
+
width: 100%;
|
|
8
|
+
border-bottom: 1px solid rgb(var(--color-border\.weak__n6e2fs4));
|
|
9
|
+
background-color: rgba(var(--color-background__n6e2fs1), 0.75);
|
|
10
|
+
backdrop-filter: blur(2rem) saturate(150%);
|
|
11
|
+
color: rgb(var(--color-border__n6e2fs3));
|
|
12
|
+
transition: border-bottom-color 0.2s ease;
|
|
13
|
+
container-type: inline-size;
|
|
14
|
+
container-name: NavigationBar_navigationBarContainer__x4q5x90;
|
|
15
|
+
}
|
|
16
|
+
.NavigationBar_styleWithLayer__x4q5x92 {
|
|
17
|
+
height: 4em;
|
|
18
|
+
}
|
|
19
|
+
.NavigationBar_styleWithLayer__x4q5x93 {
|
|
20
|
+
height: 5em;
|
|
21
|
+
}
|
|
22
|
+
.NavigationBar_styleWithLayer__x4q5x94 {
|
|
23
|
+
height: 6em;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const container = style({
|
|
4
|
-
display: 'flex',
|
|
5
|
-
alignItems: 'center',
|
|
6
|
-
justifyContent: 'space-between',
|
|
7
|
-
gap: '0.5em',
|
|
8
|
-
height: '100%',
|
|
9
|
-
margin: '0 auto',
|
|
10
|
-
});
|
|
1
|
+
var container = 'NavigationContainer_container__1s3m4g70';
|
|
11
2
|
|
|
12
3
|
export { container };
|
|
@@ -1,52 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { navigationBarContainer } from './NavigationBar.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
|
-
|
|
8
|
-
[`${navigationBarContainer} (max-width: 800px)`]: {
|
|
9
|
-
display: 'block',
|
|
10
|
-
},
|
|
11
|
-
},
|
|
12
|
-
});
|
|
13
|
-
const wide = styleWithLayer({
|
|
14
|
-
display: 'flex',
|
|
15
|
-
alignItems: 'center',
|
|
16
|
-
justifyContent: 'space-between',
|
|
17
|
-
gap: '0.5em',
|
|
18
|
-
flexGrow: '1',
|
|
19
|
-
'@container': {
|
|
20
|
-
[`${navigationBarContainer} (max-width: 800px)`]: {
|
|
21
|
-
display: 'none',
|
|
22
|
-
},
|
|
23
|
-
},
|
|
24
|
-
});
|
|
25
|
-
const popup = recipeWithLayer({
|
|
26
|
-
base: {
|
|
27
|
-
position: 'absolute',
|
|
28
|
-
top: '100%',
|
|
29
|
-
height: 'calc(100vh - 100%)',
|
|
30
|
-
left: '0',
|
|
31
|
-
width: '100%',
|
|
32
|
-
zIndex: '100',
|
|
33
|
-
maxHeight: '100vh',
|
|
34
|
-
padding: '0.75em',
|
|
35
|
-
borderBottom: `1px solid rgb(${theme.color.border})`,
|
|
36
|
-
backgroundColor: `rgb(${theme.color.background})`,
|
|
37
|
-
transition: 'opacity 0.2s ease',
|
|
38
|
-
},
|
|
39
|
-
variants: {
|
|
40
|
-
isVisible: {
|
|
41
|
-
true: {
|
|
42
|
-
opacity: '1',
|
|
43
|
-
},
|
|
44
|
-
false: {
|
|
45
|
-
opacity: '0',
|
|
46
|
-
pointerEvents: 'none',
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
|
-
},
|
|
50
|
-
});
|
|
3
|
+
var narrow = 'NavigationDrawer_styleWithLayer__1190lva0';
|
|
4
|
+
var popup = createRuntimeFn({defaultClassName:'NavigationDrawer__1190lva5 NavigationDrawer_layeredBase__1190lva2',variantClassNames:{isVisible:{true:'NavigationDrawer_styleWithLayer__1190lva3',false:'NavigationDrawer_styleWithLayer__1190lva4'}},defaultVariants:{},compoundVariants:[]});
|
|
5
|
+
var wide = 'NavigationDrawer_styleWithLayer__1190lva1';
|
|
51
6
|
|
|
52
7
|
export { narrow, popup, wide };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
@layer components;
|
|
2
|
+
@layer components {
|
|
3
|
+
.NavigationDrawer_styleWithLayer__1190lva0 {
|
|
4
|
+
display: none;
|
|
5
|
+
}
|
|
6
|
+
.NavigationDrawer_styleWithLayer__1190lva1 {
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
justify-content: space-between;
|
|
10
|
+
gap: 0.5em;
|
|
11
|
+
flex-grow: 1;
|
|
12
|
+
}
|
|
13
|
+
.NavigationDrawer_layeredBase__1190lva2 {
|
|
14
|
+
position: absolute;
|
|
15
|
+
top: 100%;
|
|
16
|
+
height: calc(100vh - 100%);
|
|
17
|
+
left: 0;
|
|
18
|
+
width: 100%;
|
|
19
|
+
z-index: 100;
|
|
20
|
+
max-height: 100vh;
|
|
21
|
+
padding: 0.75em;
|
|
22
|
+
border-bottom: 1px solid rgb(var(--color-border__n6e2fs3));
|
|
23
|
+
background-color: rgb(var(--color-background__n6e2fs1));
|
|
24
|
+
transition: opacity 0.2s ease;
|
|
25
|
+
}
|
|
26
|
+
.NavigationDrawer_styleWithLayer__1190lva3 {
|
|
27
|
+
opacity: 1;
|
|
28
|
+
}
|
|
29
|
+
.NavigationDrawer_styleWithLayer__1190lva4 {
|
|
30
|
+
opacity: 0;
|
|
31
|
+
pointer-events: none;
|
|
32
|
+
}
|
|
33
|
+
@container NavigationBar_navigationBarContainer__x4q5x90 (max-width: 800px) {
|
|
34
|
+
.NavigationDrawer_styleWithLayer__1190lva0 {
|
|
35
|
+
display: block;
|
|
36
|
+
}
|
|
37
|
+
.NavigationDrawer_styleWithLayer__1190lva1 {
|
|
38
|
+
display: none;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -1,38 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { narrow } from './NavigationDrawer.css.js';
|
|
3
|
-
import { spacing } from '../../tokens/semantic/spacing.js';
|
|
4
|
-
import { theme } from '../../themes/theme.css.js';
|
|
5
|
-
import { typography } from '../../tokens/semantic/typography.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
|
-
base: {
|
|
9
|
-
position: 'relative',
|
|
10
|
-
lineHeight: '0',
|
|
11
|
-
padding: spacing.lg,
|
|
12
|
-
fontSize: '0.9375em',
|
|
13
|
-
fontWeight: typography.weight.semiBold,
|
|
14
|
-
transition: 'color 0.2s ease',
|
|
15
|
-
cursor: 'pointer',
|
|
16
|
-
':hover': {
|
|
17
|
-
color: `rgb(${theme.color.foreground})`,
|
|
18
|
-
},
|
|
19
|
-
selectors: {
|
|
20
|
-
[`${narrow} &`]: {
|
|
21
|
-
padding: `${spacing['2xl']} ${spacing.lg}`,
|
|
22
|
-
fontSize: '1.125em',
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
},
|
|
26
|
-
variants: {
|
|
27
|
-
isSelected: {
|
|
28
|
-
true: {
|
|
29
|
-
color: `rgb(${theme.color['secondary-foreground']})`,
|
|
30
|
-
},
|
|
31
|
-
false: {
|
|
32
|
-
color: `rgba(${theme.color['secondary-foreground']}, 0.5)`,
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
},
|
|
36
|
-
});
|
|
3
|
+
var container = createRuntimeFn({defaultClassName:'NavigationItem__1epy0hz3 NavigationItem_layeredBase__1epy0hz0',variantClassNames:{isSelected:{true:'NavigationItem_styleWithLayer__1epy0hz1',false:'NavigationItem_styleWithLayer__1epy0hz2'}},defaultVariants:{},compoundVariants:[]});
|
|
37
4
|
|
|
38
5
|
export { container };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
@layer components;
|
|
2
|
+
@layer components {
|
|
3
|
+
.NavigationItem_layeredBase__1epy0hz0 {
|
|
4
|
+
position: relative;
|
|
5
|
+
line-height: 0;
|
|
6
|
+
padding: 0.75em;
|
|
7
|
+
font-size: 0.9375em;
|
|
8
|
+
font-weight: 600;
|
|
9
|
+
transition: color 0.2s ease;
|
|
10
|
+
cursor: pointer;
|
|
11
|
+
}
|
|
12
|
+
.NavigationItem_layeredBase__1epy0hz0:hover {
|
|
13
|
+
color: rgb(var(--color-foreground__n6e2fs2));
|
|
14
|
+
}
|
|
15
|
+
.NavigationDrawer_styleWithLayer__1190lva0 .NavigationItem_layeredBase__1epy0hz0 {
|
|
16
|
+
padding: 1.5em 0.75em;
|
|
17
|
+
font-size: 1.125em;
|
|
18
|
+
}
|
|
19
|
+
.NavigationItem_styleWithLayer__1epy0hz1 {
|
|
20
|
+
color: rgb(var(--color-secondary-foreground__n6e2fsa));
|
|
21
|
+
}
|
|
22
|
+
.NavigationItem_styleWithLayer__1epy0hz2 {
|
|
23
|
+
color: rgba(var(--color-secondary-foreground__n6e2fsa), 0.5);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -1,22 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
import { narrow } from './NavigationDrawer.css.js';
|
|
3
|
-
import { spacing } from '../../tokens/semantic/spacing.js';
|
|
4
|
-
import { theme } from '../../themes/theme.css.js';
|
|
5
|
-
|
|
6
|
-
const navigationMenu = styleWithLayer({
|
|
7
|
-
display: 'flex',
|
|
8
|
-
alignItems: 'center',
|
|
9
|
-
gap: '0.5em',
|
|
10
|
-
selectors: {
|
|
11
|
-
[`${narrow} &`]: {
|
|
12
|
-
flexDirection: 'column',
|
|
13
|
-
alignItems: 'stretch',
|
|
14
|
-
gap: '0',
|
|
15
|
-
width: '100%',
|
|
16
|
-
borderTop: `1px solid rgb(${theme.color['border.weak']})`,
|
|
17
|
-
paddingTop: spacing['md'],
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
});
|
|
1
|
+
var navigationMenu = 'NavigationMenu_styleWithLayer__rsojes0';
|
|
21
2
|
|
|
22
3
|
export { navigationMenu };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
@layer components;
|
|
2
|
+
@layer components {
|
|
3
|
+
.NavigationMenu_styleWithLayer__rsojes0 {
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
gap: 0.5em;
|
|
7
|
+
}
|
|
8
|
+
.NavigationDrawer_styleWithLayer__1190lva0 .NavigationMenu_styleWithLayer__rsojes0 {
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
align-items: stretch;
|
|
11
|
+
gap: 0;
|
|
12
|
+
width: 100%;
|
|
13
|
+
border-top: 1px solid rgb(var(--color-border\.weak__n6e2fs4));
|
|
14
|
+
padding-top: 0.5em;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -1,96 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { recipeWithLayer, styleWithLayer } from '../../utils/styleUtils.css.js';
|
|
3
|
-
import { SCALE_COLOR } from '../../tokens/scale/color.js';
|
|
4
|
-
import { semanticColor } from '../../tokens/semantic/color.js';
|
|
5
|
-
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';
|
|
6
2
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
vars: {
|
|
12
|
-
[backgroundVar]: theme.color[color],
|
|
13
|
-
},
|
|
14
|
-
}),
|
|
15
|
-
}), {});
|
|
16
|
-
const scaleColors = SCALE_COLOR.reduce((prev, value) => ({
|
|
17
|
-
...prev,
|
|
18
|
-
[value]: styleWithLayer({
|
|
19
|
-
vars: {
|
|
20
|
-
[backgroundVar]: theme.color[value][100],
|
|
21
|
-
},
|
|
22
|
-
}),
|
|
23
|
-
}), {});
|
|
24
|
-
const range = recipeWithLayer({
|
|
25
|
-
base: {
|
|
26
|
-
position: 'relative',
|
|
27
|
-
width: '100%',
|
|
28
|
-
height: '2em',
|
|
29
|
-
userSelect: 'none',
|
|
30
|
-
},
|
|
31
|
-
variants: {
|
|
32
|
-
color: {
|
|
33
|
-
...semanticColors,
|
|
34
|
-
...scaleColors,
|
|
35
|
-
},
|
|
36
|
-
size: {
|
|
37
|
-
sm: {
|
|
38
|
-
fontSize: '0.75em',
|
|
39
|
-
},
|
|
40
|
-
md: {
|
|
41
|
-
fontSize: '1em',
|
|
42
|
-
},
|
|
43
|
-
lg: {
|
|
44
|
-
fontSize: '1.25em',
|
|
45
|
-
},
|
|
46
|
-
},
|
|
47
|
-
},
|
|
48
|
-
});
|
|
49
|
-
const thumb = styleWithLayer({
|
|
50
|
-
display: 'inline-block',
|
|
51
|
-
position: 'absolute',
|
|
52
|
-
top: '50%',
|
|
53
|
-
width: '1.25em',
|
|
54
|
-
height: '1.25em',
|
|
55
|
-
borderRadius: '50%',
|
|
56
|
-
boxShadow: `0 0 0.375em 0.125em rgba(${backgroundVar}, 0.33)`,
|
|
57
|
-
backgroundColor: `rgb(${backgroundVar})`,
|
|
58
|
-
transform: 'translate(-50%, -50%)',
|
|
59
|
-
cursor: 'pointer',
|
|
60
|
-
'::before': {
|
|
61
|
-
position: 'absolute',
|
|
62
|
-
inset: '-0.75em',
|
|
63
|
-
content: '',
|
|
64
|
-
},
|
|
65
|
-
'::after': {
|
|
66
|
-
position: 'absolute',
|
|
67
|
-
inset: '0',
|
|
68
|
-
borderRadius: '50%',
|
|
69
|
-
boxShadow: `0 0 0.5em 0.125em rgba(${backgroundVar}, 0.5)`,
|
|
70
|
-
opacity: '0',
|
|
71
|
-
transition: 'opacity 0.2s ease',
|
|
72
|
-
content: '',
|
|
73
|
-
},
|
|
74
|
-
selectors: {
|
|
75
|
-
'&:hover::after': {
|
|
76
|
-
opacity: '1',
|
|
77
|
-
},
|
|
78
|
-
},
|
|
79
|
-
});
|
|
80
|
-
const fill = styleWithLayer({
|
|
81
|
-
position: 'absolute',
|
|
82
|
-
top: '0',
|
|
83
|
-
height: '100%',
|
|
84
|
-
backgroundColor: `rgb(${backgroundVar})`,
|
|
85
|
-
});
|
|
86
|
-
const bar = styleWithLayer({
|
|
87
|
-
position: 'absolute',
|
|
88
|
-
top: '50%',
|
|
89
|
-
width: '100%',
|
|
90
|
-
height: '0.5em',
|
|
91
|
-
borderRadius: theme.borderRadius,
|
|
92
|
-
backgroundColor: `rgb(${theme.color.muted})`,
|
|
93
|
-
transform: 'translateY(-50%)',
|
|
94
|
-
});
|
|
3
|
+
var bar = 'Range_styleWithLayer__biyxwo1z';
|
|
4
|
+
var fill = 'Range_styleWithLayer__biyxwo1y';
|
|
5
|
+
var range = createRuntimeFn({defaultClassName:'Range__biyxwoz Range_layeredBase__biyxwov',variantClassNames:{color:{primary:'Range_styleWithLayer__biyxwo1',secondary:'Range_styleWithLayer__biyxwo2',muted:'Range_styleWithLayer__biyxwo3',accent:'Range_styleWithLayer__biyxwo4',card:'Range_styleWithLayer__biyxwo5',danger:'Range_styleWithLayer__biyxwo6',warning:'Range_styleWithLayer__biyxwo7',success:'Range_styleWithLayer__biyxwo8',red:'Range_styleWithLayer__biyxwo9',orange:'Range_styleWithLayer__biyxwoa',amber:'Range_styleWithLayer__biyxwob',yellow:'Range_styleWithLayer__biyxwoc',lime:'Range_styleWithLayer__biyxwod',green:'Range_styleWithLayer__biyxwoe',emerald:'Range_styleWithLayer__biyxwof',teal:'Range_styleWithLayer__biyxwog',cyan:'Range_styleWithLayer__biyxwoh',sky:'Range_styleWithLayer__biyxwoi',blue:'Range_styleWithLayer__biyxwoj',indigo:'Range_styleWithLayer__biyxwok',violet:'Range_styleWithLayer__biyxwol',purple:'Range_styleWithLayer__biyxwom',fuchsia:'Range_styleWithLayer__biyxwon',pink:'Range_styleWithLayer__biyxwoo',rose:'Range_styleWithLayer__biyxwop',slate:'Range_styleWithLayer__biyxwoq',gray:'Range_styleWithLayer__biyxwor',zinc:'Range_styleWithLayer__biyxwos',neutral:'Range_styleWithLayer__biyxwot',stone:'Range_styleWithLayer__biyxwou'},size:{sm:'Range_styleWithLayer__biyxwow',md:'Range_styleWithLayer__biyxwox',lg:'Range_styleWithLayer__biyxwoy'}},defaultVariants:{},compoundVariants:[]});
|
|
6
|
+
var thumb = 'Range_styleWithLayer__biyxwo1x';
|
|
95
7
|
|
|
96
8
|
export { bar, fill, range, thumb };
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
@layer components;
|
|
2
|
+
@layer components {
|
|
3
|
+
.Range_styleWithLayer__biyxwo1 {
|
|
4
|
+
--backgroundVar__biyxwo0: var(--color-primary__n6e2fs7);
|
|
5
|
+
}
|
|
6
|
+
.Range_styleWithLayer__biyxwo2 {
|
|
7
|
+
--backgroundVar__biyxwo0: var(--color-secondary__n6e2fs9);
|
|
8
|
+
}
|
|
9
|
+
.Range_styleWithLayer__biyxwo3 {
|
|
10
|
+
--backgroundVar__biyxwo0: var(--color-muted__n6e2fsb);
|
|
11
|
+
}
|
|
12
|
+
.Range_styleWithLayer__biyxwo4 {
|
|
13
|
+
--backgroundVar__biyxwo0: var(--color-accent__n6e2fsd);
|
|
14
|
+
}
|
|
15
|
+
.Range_styleWithLayer__biyxwo5 {
|
|
16
|
+
--backgroundVar__biyxwo0: var(--color-card__n6e2fsf);
|
|
17
|
+
}
|
|
18
|
+
.Range_styleWithLayer__biyxwo6 {
|
|
19
|
+
--backgroundVar__biyxwo0: var(--color-danger__n6e2fsh);
|
|
20
|
+
}
|
|
21
|
+
.Range_styleWithLayer__biyxwo7 {
|
|
22
|
+
--backgroundVar__biyxwo0: var(--color-warning__n6e2fsj);
|
|
23
|
+
}
|
|
24
|
+
.Range_styleWithLayer__biyxwo8 {
|
|
25
|
+
--backgroundVar__biyxwo0: var(--color-success__n6e2fsl);
|
|
26
|
+
}
|
|
27
|
+
.Range_styleWithLayer__biyxwo9 {
|
|
28
|
+
--backgroundVar__biyxwo0: var(--color-red-100__n6e2fso);
|
|
29
|
+
}
|
|
30
|
+
.Range_styleWithLayer__biyxwoa {
|
|
31
|
+
--backgroundVar__biyxwo0: var(--color-orange-100__n6e2fsz);
|
|
32
|
+
}
|
|
33
|
+
.Range_styleWithLayer__biyxwob {
|
|
34
|
+
--backgroundVar__biyxwo0: var(--color-amber-100__n6e2fs1a);
|
|
35
|
+
}
|
|
36
|
+
.Range_styleWithLayer__biyxwoc {
|
|
37
|
+
--backgroundVar__biyxwo0: var(--color-yellow-100__n6e2fs1l);
|
|
38
|
+
}
|
|
39
|
+
.Range_styleWithLayer__biyxwod {
|
|
40
|
+
--backgroundVar__biyxwo0: var(--color-lime-100__n6e2fs1w);
|
|
41
|
+
}
|
|
42
|
+
.Range_styleWithLayer__biyxwoe {
|
|
43
|
+
--backgroundVar__biyxwo0: var(--color-green-100__n6e2fs27);
|
|
44
|
+
}
|
|
45
|
+
.Range_styleWithLayer__biyxwof {
|
|
46
|
+
--backgroundVar__biyxwo0: var(--color-emerald-100__n6e2fs2i);
|
|
47
|
+
}
|
|
48
|
+
.Range_styleWithLayer__biyxwog {
|
|
49
|
+
--backgroundVar__biyxwo0: var(--color-teal-100__n6e2fs2t);
|
|
50
|
+
}
|
|
51
|
+
.Range_styleWithLayer__biyxwoh {
|
|
52
|
+
--backgroundVar__biyxwo0: var(--color-cyan-100__n6e2fs34);
|
|
53
|
+
}
|
|
54
|
+
.Range_styleWithLayer__biyxwoi {
|
|
55
|
+
--backgroundVar__biyxwo0: var(--color-sky-100__n6e2fs3f);
|
|
56
|
+
}
|
|
57
|
+
.Range_styleWithLayer__biyxwoj {
|
|
58
|
+
--backgroundVar__biyxwo0: var(--color-blue-100__n6e2fs3q);
|
|
59
|
+
}
|
|
60
|
+
.Range_styleWithLayer__biyxwok {
|
|
61
|
+
--backgroundVar__biyxwo0: var(--color-indigo-100__n6e2fs41);
|
|
62
|
+
}
|
|
63
|
+
.Range_styleWithLayer__biyxwol {
|
|
64
|
+
--backgroundVar__biyxwo0: var(--color-violet-100__n6e2fs4c);
|
|
65
|
+
}
|
|
66
|
+
.Range_styleWithLayer__biyxwom {
|
|
67
|
+
--backgroundVar__biyxwo0: var(--color-purple-100__n6e2fs4n);
|
|
68
|
+
}
|
|
69
|
+
.Range_styleWithLayer__biyxwon {
|
|
70
|
+
--backgroundVar__biyxwo0: var(--color-fuchsia-100__n6e2fs4y);
|
|
71
|
+
}
|
|
72
|
+
.Range_styleWithLayer__biyxwoo {
|
|
73
|
+
--backgroundVar__biyxwo0: var(--color-pink-100__n6e2fs59);
|
|
74
|
+
}
|
|
75
|
+
.Range_styleWithLayer__biyxwop {
|
|
76
|
+
--backgroundVar__biyxwo0: var(--color-rose-100__n6e2fs5k);
|
|
77
|
+
}
|
|
78
|
+
.Range_styleWithLayer__biyxwoq {
|
|
79
|
+
--backgroundVar__biyxwo0: var(--color-slate-100__n6e2fs5v);
|
|
80
|
+
}
|
|
81
|
+
.Range_styleWithLayer__biyxwor {
|
|
82
|
+
--backgroundVar__biyxwo0: var(--color-gray-100__n6e2fs66);
|
|
83
|
+
}
|
|
84
|
+
.Range_styleWithLayer__biyxwos {
|
|
85
|
+
--backgroundVar__biyxwo0: var(--color-zinc-100__n6e2fs6h);
|
|
86
|
+
}
|
|
87
|
+
.Range_styleWithLayer__biyxwot {
|
|
88
|
+
--backgroundVar__biyxwo0: var(--color-neutral-100__n6e2fs6s);
|
|
89
|
+
}
|
|
90
|
+
.Range_styleWithLayer__biyxwou {
|
|
91
|
+
--backgroundVar__biyxwo0: var(--color-stone-100__n6e2fs73);
|
|
92
|
+
}
|
|
93
|
+
.Range_layeredBase__biyxwov {
|
|
94
|
+
position: relative;
|
|
95
|
+
width: 100%;
|
|
96
|
+
height: 2em;
|
|
97
|
+
user-select: none;
|
|
98
|
+
}
|
|
99
|
+
.Range_styleWithLayer__biyxwow {
|
|
100
|
+
font-size: 0.75em;
|
|
101
|
+
}
|
|
102
|
+
.Range_styleWithLayer__biyxwox {
|
|
103
|
+
font-size: 1em;
|
|
104
|
+
}
|
|
105
|
+
.Range_styleWithLayer__biyxwoy {
|
|
106
|
+
font-size: 1.25em;
|
|
107
|
+
}
|
|
108
|
+
.Range_styleWithLayer__biyxwo1x {
|
|
109
|
+
display: inline-block;
|
|
110
|
+
position: absolute;
|
|
111
|
+
top: 50%;
|
|
112
|
+
width: 1.25em;
|
|
113
|
+
height: 1.25em;
|
|
114
|
+
border-radius: 50%;
|
|
115
|
+
box-shadow: 0 0 0.375em 0.125em rgba(var(--backgroundVar__biyxwo0), 0.33);
|
|
116
|
+
background-color: rgb(var(--backgroundVar__biyxwo0));
|
|
117
|
+
transform: translate(-50%, -50%);
|
|
118
|
+
cursor: pointer;
|
|
119
|
+
}
|
|
120
|
+
.Range_styleWithLayer__biyxwo1x::before {
|
|
121
|
+
content: "";
|
|
122
|
+
position: absolute;
|
|
123
|
+
inset: -0.75em;
|
|
124
|
+
}
|
|
125
|
+
.Range_styleWithLayer__biyxwo1x::after {
|
|
126
|
+
content: "";
|
|
127
|
+
position: absolute;
|
|
128
|
+
inset: 0;
|
|
129
|
+
border-radius: 50%;
|
|
130
|
+
box-shadow: 0 0 0.5em 0.125em rgba(var(--backgroundVar__biyxwo0), 0.5);
|
|
131
|
+
opacity: 0;
|
|
132
|
+
transition: opacity 0.2s ease;
|
|
133
|
+
}
|
|
134
|
+
.Range_styleWithLayer__biyxwo1x:hover::after {
|
|
135
|
+
opacity: 1;
|
|
136
|
+
}
|
|
137
|
+
.Range_styleWithLayer__biyxwo1y {
|
|
138
|
+
position: absolute;
|
|
139
|
+
top: 0;
|
|
140
|
+
height: 100%;
|
|
141
|
+
background-color: rgb(var(--backgroundVar__biyxwo0));
|
|
142
|
+
}
|
|
143
|
+
.Range_styleWithLayer__biyxwo1z {
|
|
144
|
+
position: absolute;
|
|
145
|
+
top: 50%;
|
|
146
|
+
width: 100%;
|
|
147
|
+
height: 0.5em;
|
|
148
|
+
border-radius: var(--borderRadius__n6e2fs0);
|
|
149
|
+
background-color: rgb(var(--color-muted__n6e2fsb));
|
|
150
|
+
transform: translateY(-50%);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
@@ -1,35 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
width: '100%',
|
|
7
|
-
overflowX: 'scroll',
|
|
8
|
-
'::-webkit-scrollbar': {
|
|
9
|
-
display: 'none',
|
|
10
|
-
},
|
|
11
|
-
});
|
|
12
|
-
const maskLeft = style({
|
|
13
|
-
maskImage: `linear-gradient(to left,
|
|
14
|
-
black 0%,
|
|
15
|
-
black calc(100% - ${MASK_SIZE}),
|
|
16
|
-
transparent 100%)`,
|
|
17
|
-
});
|
|
18
|
-
const maskRight = style({
|
|
19
|
-
maskImage: `linear-gradient(to right,
|
|
20
|
-
black 0%,
|
|
21
|
-
black calc(100% - ${MASK_SIZE}),
|
|
22
|
-
transparent 100%)`,
|
|
23
|
-
});
|
|
24
|
-
const maskBoth = style({
|
|
25
|
-
maskImage: `linear-gradient(to right,
|
|
26
|
-
transparent 0%,
|
|
27
|
-
black ${MASK_SIZE},
|
|
28
|
-
black calc(100% - ${MASK_SIZE}),
|
|
29
|
-
transparent 100%)`,
|
|
30
|
-
});
|
|
31
|
-
const wrapper = style({
|
|
32
|
-
width: 'max-content',
|
|
33
|
-
});
|
|
1
|
+
var maskBoth = 'ScrollArea_maskBoth__m6lfro3';
|
|
2
|
+
var maskLeft = 'ScrollArea_maskLeft__m6lfro1';
|
|
3
|
+
var maskRight = 'ScrollArea_maskRight__m6lfro2';
|
|
4
|
+
var scrollArea = 'ScrollArea_styleWithLayer__m6lfro0';
|
|
5
|
+
var wrapper = 'ScrollArea_wrapper__m6lfro4';
|
|
34
6
|
|
|
35
7
|
export { maskBoth, maskLeft, maskRight, scrollArea, wrapper };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
@layer components;
|
|
2
|
+
.ScrollArea_maskLeft__m6lfro1 {
|
|
3
|
+
mask-image: linear-gradient(to left,
|
|
4
|
+
black 0%,
|
|
5
|
+
black calc(100% - 3rem),
|
|
6
|
+
transparent 100%);
|
|
7
|
+
}
|
|
8
|
+
.ScrollArea_maskRight__m6lfro2 {
|
|
9
|
+
mask-image: linear-gradient(to right,
|
|
10
|
+
black 0%,
|
|
11
|
+
black calc(100% - 3rem),
|
|
12
|
+
transparent 100%);
|
|
13
|
+
}
|
|
14
|
+
.ScrollArea_maskBoth__m6lfro3 {
|
|
15
|
+
mask-image: linear-gradient(to right,
|
|
16
|
+
transparent 0%,
|
|
17
|
+
black 3rem,
|
|
18
|
+
black calc(100% - 3rem),
|
|
19
|
+
transparent 100%);
|
|
20
|
+
}
|
|
21
|
+
.ScrollArea_wrapper__m6lfro4 {
|
|
22
|
+
width: max-content;
|
|
23
|
+
}
|
|
24
|
+
@layer components {
|
|
25
|
+
.ScrollArea_styleWithLayer__m6lfro0 {
|
|
26
|
+
width: 100%;
|
|
27
|
+
overflow-x: scroll;
|
|
28
|
+
}
|
|
29
|
+
.ScrollArea_styleWithLayer__m6lfro0::-webkit-scrollbar {
|
|
30
|
+
display: none;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,23 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { typography } from '../../tokens/semantic/typography.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
|
-
base: {
|
|
6
|
-
position: 'relative',
|
|
7
|
-
},
|
|
8
|
-
variants: {
|
|
9
|
-
size: {
|
|
10
|
-
sm: {
|
|
11
|
-
fontSize: typography.size.sm,
|
|
12
|
-
},
|
|
13
|
-
md: {
|
|
14
|
-
fontSize: typography.size.md,
|
|
15
|
-
},
|
|
16
|
-
lg: {
|
|
17
|
-
fontSize: typography.size.lg,
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
},
|
|
21
|
-
});
|
|
3
|
+
var select = createRuntimeFn({defaultClassName:'Select__7k9d9e4 Select_layeredBase__7k9d9e0',variantClassNames:{size:{sm:'Select_styleWithLayer__7k9d9e1',md:'Select_styleWithLayer__7k9d9e2',lg:'Select_styleWithLayer__7k9d9e3'}},defaultVariants:{},compoundVariants:[]});
|
|
22
4
|
|
|
23
5
|
export { select };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@layer components;
|
|
2
|
+
@layer components {
|
|
3
|
+
.Select_layeredBase__7k9d9e0 {
|
|
4
|
+
position: relative;
|
|
5
|
+
}
|
|
6
|
+
.Select_styleWithLayer__7k9d9e1 {
|
|
7
|
+
font-size: 0.875em;
|
|
8
|
+
}
|
|
9
|
+
.Select_styleWithLayer__7k9d9e2 {
|
|
10
|
+
font-size: 1em;
|
|
11
|
+
}
|
|
12
|
+
.Select_styleWithLayer__7k9d9e3 {
|
|
13
|
+
font-size: 1.125em;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
import { theme } from '../../themes/theme.css.js';
|
|
3
|
-
|
|
4
|
-
const selectOption = styleWithLayer({
|
|
5
|
-
padding: '0.75em 0.5em',
|
|
6
|
-
transition: 'background-color 0.2s ease',
|
|
7
|
-
cursor: 'default',
|
|
8
|
-
':hover': {
|
|
9
|
-
backgroundColor: `rgb(${theme.color.accent})`,
|
|
10
|
-
},
|
|
11
|
-
});
|
|
1
|
+
var selectOption = 'SelectOption_styleWithLayer__16jsez30';
|
|
12
2
|
|
|
13
3
|
export { selectOption };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
@layer components;
|
|
2
|
+
@layer components {
|
|
3
|
+
.SelectOption_styleWithLayer__16jsez30 {
|
|
4
|
+
padding: 0.75em 0.5em;
|
|
5
|
+
transition: background-color 0.2s ease;
|
|
6
|
+
cursor: default;
|
|
7
|
+
}
|
|
8
|
+
.SelectOption_styleWithLayer__16jsez30:hover {
|
|
9
|
+
background-color: rgb(var(--color-accent__n6e2fsd));
|
|
10
|
+
}
|
|
11
|
+
}
|