@kimdw-rtk/ui 0.0.31 → 0.1.2
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.d.ts +1 -1
- package/dist/components/Accordion/Accordion.d.ts.map +1 -1
- package/dist/components/Accordion/AccordionTrigger.js +1 -1
- package/dist/components/Box/index.d.ts +2 -2
- package/dist/components/Box/index.d.ts.map +1 -1
- package/dist/components/Button/index.d.ts +2 -2
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/components/Button/index.js +5 -3
- package/dist/components/Card/Card.css.d.ts +31 -0
- package/dist/components/Card/Card.css.d.ts.map +1 -1
- package/dist/components/Card/Card.css.js +3 -2
- package/dist/components/Card/Card.css.ts.vanilla.css +55 -38
- package/dist/components/Card/Card.d.ts +1 -1
- package/dist/components/Card/Card.d.ts.map +1 -1
- package/dist/components/Card/Card.js +2 -2
- package/dist/components/Card/CardContent.css.d.ts.map +1 -1
- package/dist/components/Card/CardContent.css.js +2 -0
- package/dist/components/Card/CardContent.css.ts.vanilla.css +1 -1
- package/dist/components/Card/CardContent.d.ts +1 -1
- package/dist/components/Card/CardContent.d.ts.map +1 -1
- package/dist/components/Card/CardHeader.css.d.ts +2 -0
- package/dist/components/Card/CardHeader.css.d.ts.map +1 -0
- package/dist/components/Card/CardHeader.css.js +10 -0
- package/dist/components/Card/CardHeader.css.ts.vanilla.css +7 -0
- package/dist/components/Card/CardHeader.d.ts +5 -0
- package/dist/components/Card/CardHeader.d.ts.map +1 -0
- package/dist/components/Card/CardHeader.js +12 -0
- package/dist/components/Card/CardInteraction.d.ts +1 -1
- package/dist/components/Card/CardInteraction.d.ts.map +1 -1
- package/dist/components/Card/CardThumbnail.css.d.ts.map +1 -1
- package/dist/components/Card/CardThumbnail.css.ts.vanilla.css +1 -2
- package/dist/components/Card/CardThumbnail.d.ts +1 -1
- package/dist/components/Card/CardThumbnail.d.ts.map +1 -1
- package/dist/components/Card/index.d.ts +1 -0
- package/dist/components/Card/index.d.ts.map +1 -1
- package/dist/components/Chip/Chip.d.ts +1 -1
- package/dist/components/Chip/Chip.d.ts.map +1 -1
- package/dist/components/Confirm/index.js +1 -1
- package/dist/components/Container/Container.css.d.ts +4 -0
- package/dist/components/Container/Container.css.d.ts.map +1 -0
- package/dist/components/Container/Container.css.js +9 -0
- package/dist/components/Container/Container.css.ts.vanilla.css +16 -0
- package/dist/components/Container/index.d.ts +7 -0
- package/dist/components/Container/index.d.ts.map +1 -0
- package/dist/components/Container/index.js +14 -0
- package/dist/components/Dialog/Dialog.d.ts +1 -1
- package/dist/components/Dialog/Dialog.d.ts.map +1 -1
- package/dist/components/Dialog/Dialog.js +1 -1
- package/dist/components/Dialog/DialogContent.d.ts +1 -1
- package/dist/components/Dialog/DialogContent.d.ts.map +1 -1
- package/dist/components/Dialog/DialogFooter.d.ts +1 -1
- package/dist/components/Dialog/DialogFooter.d.ts.map +1 -1
- package/dist/components/Dialog/DialogFooter.js +1 -1
- package/dist/components/Dialog/DialogHeader.d.ts +1 -1
- package/dist/components/Dialog/DialogHeader.d.ts.map +1 -1
- package/dist/components/Dialog/DialogHeader.js +1 -1
- package/dist/components/Flex/Flex.css.d.ts +2 -0
- package/dist/components/Flex/Flex.css.d.ts.map +1 -0
- package/dist/components/Flex/Flex.css.js +8 -0
- package/dist/components/Flex/Flex.css.ts.vanilla.css +6 -0
- package/dist/components/Flex/index.d.ts +6 -0
- package/dist/components/Flex/index.d.ts.map +1 -0
- package/dist/components/Flex/index.js +14 -0
- package/dist/components/Navigation/NavigationAside.d.ts +1 -1
- package/dist/components/Navigation/NavigationAside.d.ts.map +1 -1
- package/dist/components/Navigation/NavigationBar.css.d.ts +8 -0
- package/dist/components/Navigation/NavigationBar.css.d.ts.map +1 -1
- package/dist/components/Navigation/NavigationBar.css.js +1 -1
- package/dist/components/Navigation/NavigationBar.css.ts.vanilla.css +7 -1
- package/dist/components/Navigation/NavigationBar.d.ts +1 -1
- package/dist/components/Navigation/NavigationBar.d.ts.map +1 -1
- package/dist/components/Navigation/NavigationBar.js +4 -1
- package/dist/components/Navigation/NavigationContainer.d.ts +149 -4
- package/dist/components/Navigation/NavigationContainer.d.ts.map +1 -1
- package/dist/components/Navigation/NavigationContainer.js +2 -1
- package/dist/components/Navigation/NavigationDrawer.js +1 -1
- package/dist/components/Navigation/NavigationItem.d.ts +1 -1
- package/dist/components/Navigation/NavigationItem.d.ts.map +1 -1
- package/dist/components/Navigation/NavigationItem.js +1 -1
- package/dist/components/Navigation/NavigationLogo.d.ts +1 -1
- package/dist/components/Navigation/NavigationLogo.d.ts.map +1 -1
- package/dist/components/Navigation/NavigationMenu.d.ts +1 -1
- package/dist/components/Navigation/NavigationMenu.d.ts.map +1 -1
- package/dist/components/Range/Range.d.ts +1 -1
- package/dist/components/Range/Range.d.ts.map +1 -1
- package/dist/components/ScrollArea/ScrollArea.d.ts +1 -1
- package/dist/components/ScrollArea/ScrollArea.d.ts.map +1 -1
- package/dist/components/Select/Select.d.ts +1 -1
- package/dist/components/Select/Select.d.ts.map +1 -1
- package/dist/components/Select/Select.js +1 -1
- package/dist/components/Select/SelectTrigger.d.ts +1 -1
- package/dist/components/Select/SelectTrigger.d.ts.map +1 -1
- package/dist/components/Separator/index.d.ts +8 -0
- package/dist/components/Separator/index.d.ts.map +1 -0
- package/dist/components/Separator/index.js +9 -0
- package/dist/components/Skeleton/index.d.ts +1 -1
- package/dist/components/Skeleton/index.d.ts.map +1 -1
- package/dist/components/Table/Table.css.d.ts +25 -1
- package/dist/components/Table/Table.css.d.ts.map +1 -1
- package/dist/components/Table/Table.css.js +5 -3
- package/dist/components/Table/Table.css.ts.vanilla.css +13 -1
- package/dist/components/Table/Table.d.ts +2 -2
- package/dist/components/Table/Table.d.ts.map +1 -1
- package/dist/components/Table/Table.js +2 -2
- package/dist/components/Table/TableBody.d.ts +1 -1
- package/dist/components/Table/TableBody.d.ts.map +1 -1
- package/dist/components/Table/TableCell.css.d.ts.map +1 -1
- package/dist/components/Table/TableCell.css.ts.vanilla.css +6 -3
- package/dist/components/Table/TableCell.d.ts +1 -1
- package/dist/components/Table/TableCell.d.ts.map +1 -1
- package/dist/components/Table/TableCell.js +1 -1
- package/dist/components/Table/TableHead.d.ts +1 -1
- package/dist/components/Table/TableHead.d.ts.map +1 -1
- package/dist/components/Table/TableHead.js +1 -1
- package/dist/components/Table/TableHeader.d.ts +1 -1
- package/dist/components/Table/TableHeader.d.ts.map +1 -1
- package/dist/components/Table/TableRow.d.ts +1 -1
- package/dist/components/Table/TableRow.d.ts.map +1 -1
- package/dist/components/Tabs/Tabs.d.ts +1 -1
- package/dist/components/Tabs/Tabs.d.ts.map +1 -1
- package/dist/components/Tabs/TabsContent.d.ts +1 -1
- package/dist/components/Tabs/TabsContent.d.ts.map +1 -1
- package/dist/components/Tabs/TabsList.d.ts +1 -1
- package/dist/components/Tabs/TabsList.d.ts.map +1 -1
- package/dist/components/Tabs/TabsTrigger.d.ts +1 -1
- package/dist/components/Tabs/TabsTrigger.d.ts.map +1 -1
- package/dist/components/TextField/TextField.css.d.ts.map +1 -1
- package/dist/components/TextField/TextField.css.ts.vanilla.css +3 -1
- package/dist/components/TextField/index.d.ts +1 -1
- package/dist/components/TextField/index.d.ts.map +1 -1
- package/dist/components/TextField/index.js +1 -1
- package/dist/components/Toast/index.d.ts +1 -1
- package/dist/components/Toast/index.d.ts.map +1 -1
- package/dist/components/Toast/index.js +1 -1
- package/dist/components/Tooltip/Tooltip.css.d.ts +14 -0
- package/dist/components/Tooltip/Tooltip.css.d.ts.map +1 -0
- package/dist/components/Tooltip/Tooltip.css.js +9 -0
- package/dist/components/Tooltip/Tooltip.css.ts.vanilla.css +33 -0
- package/dist/components/Tooltip/index.d.ts +13 -0
- package/dist/components/Tooltip/index.d.ts.map +1 -0
- package/dist/components/Tooltip/index.js +32 -0
- package/dist/components/Typography/Typography.css.d.ts +7 -0
- package/dist/components/Typography/Typography.css.d.ts.map +1 -1
- package/dist/components/Typography/Typography.css.js +1 -1
- package/dist/components/Typography/Typography.css.ts.vanilla.css +5 -0
- package/dist/components/Typography/index.d.ts +7 -2
- package/dist/components/Typography/index.d.ts.map +1 -1
- package/dist/components/Typography/index.js +12 -2
- package/dist/components/index.d.ts +4 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/contexts/UIProvider.d.ts +2 -1
- package/dist/contexts/UIProvider.d.ts.map +1 -1
- package/dist/contexts/UIProvider.js +4 -3
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/useContainer/ContainerProvider.d.ts +9 -0
- package/dist/hooks/useContainer/ContainerProvider.d.ts.map +1 -0
- package/dist/hooks/useContainer/ContainerProvider.js +10 -0
- package/dist/hooks/useContainer/index.d.ts +2 -0
- package/dist/hooks/useContainer/index.d.ts.map +1 -0
- package/dist/hooks/useContainer/index.js +12 -0
- package/dist/hooks/useDialog/index.js +1 -1
- package/dist/hooks/usePointerSlider/index.js +2 -2
- package/dist/hooks/useToast/ToastContainer.css.d.ts.map +1 -1
- package/dist/hooks/useToast/ToastContainer.css.ts.vanilla.css +1 -0
- package/dist/hooks/useToast/ToastProvider.d.ts +1 -1
- package/dist/hooks/useToast/ToastProvider.d.ts.map +1 -1
- package/dist/hooks/useToast/ToastProvider.js +14 -10
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +14 -1
- package/dist/styles/sprinkles.css.d.ts +1957 -52
- package/dist/styles/sprinkles.css.d.ts.map +1 -1
- package/dist/styles/sprinkles.css.js +7 -5
- package/dist/styles/sprinkles.css.ts.vanilla.css +3021 -1167
- package/dist/styles/sx.d.ts +1 -1
- package/dist/styles/sx.d.ts.map +1 -1
- package/dist/tests/uiTest.d.ts.map +1 -1
- package/dist/tokens/index.d.ts +2 -1
- package/dist/tokens/index.d.ts.map +1 -1
- package/dist/tokens/scale/color.js +578 -0
- package/dist/tokens/semantic/breakpoint.d.ts +4 -4
- package/dist/tokens/semantic/breakpoint.d.ts.map +1 -1
- package/dist/tokens/semantic/breakpoint.js +8 -0
- package/dist/tokens/semantic/color.js +12 -0
- package/dist/tokens/semantic/spacing.d.ts +2 -0
- package/dist/tokens/semantic/spacing.d.ts.map +1 -1
- package/dist/tokens/semantic/spacing.js +13 -0
- package/dist/tokens/semantic/typography.js +34 -0
- package/dist/tokens/semantic/width.d.ts +6 -0
- package/dist/tokens/semantic/width.d.ts.map +1 -0
- package/dist/tokens/semantic/width.js +7 -0
- package/dist/types/ui.types.d.ts +1 -1
- package/dist/types/ui.types.d.ts.map +1 -1
- package/dist/utils/sprinklesUtils.d.ts +1 -1
- package/dist/utils/sprinklesUtils.d.ts.map +1 -1
- package/package.json +19 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAE1C,OAAO,KAAK,CAAC,MAAM,iBAAiB,CAAC;AAGrC,UAAU,cAAe,SAAQ,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC;IACrE,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,SAAS,wHA0BrB,CAAC"}
|
|
@@ -11,7 +11,7 @@ const AccordionTrigger = ({ children, iconPosition = 'right', }) => {
|
|
|
11
11
|
throw new Error('AccordionTrigger must be used within an Accordion component.');
|
|
12
12
|
}
|
|
13
13
|
const { dispatch, isExpanded } = accordionContext;
|
|
14
|
-
return (jsxs("div", { className: triggerContainer({ iconPosition }),
|
|
14
|
+
return (jsxs("div", { "aria-expanded": isExpanded, className: triggerContainer({ iconPosition }), onClick: () => dispatch(!isExpanded), children: [jsx("span", { children: children }), jsx("span", { className: arrow({ expand: isExpanded }), children: jsx(ChevronDown, { size: "1em" }) })] }));
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
export { AccordionTrigger };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type SprinklesProps } from '
|
|
2
|
-
import type { UIComponent } from '
|
|
1
|
+
import { type SprinklesProps } from '#styles';
|
|
2
|
+
import type { UIComponent } from '#types';
|
|
3
3
|
import * as s from './Box.css';
|
|
4
4
|
type BoxProps = UIComponent<'div', typeof s.box> & SprinklesProps;
|
|
5
5
|
export declare const Box: import("react").ForwardRefExoticComponent<Omit<BoxProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Box/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Box/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,SAAS,CAAC;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAG1C,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,KAAK,QAAQ,GAAG,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,GAAG,CAAC,GAAG,cAAc,CAAC;AAElE,eAAO,MAAM,GAAG,kHA2Bf,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type ReactElement } from 'react';
|
|
2
|
-
import type { UIComponent } from '
|
|
2
|
+
import type { UIComponent } from '#types';
|
|
3
3
|
import * as s from './Button.css';
|
|
4
|
-
interface ButtonProps extends
|
|
4
|
+
interface ButtonProps extends UIComponent<'button', typeof s.button> {
|
|
5
5
|
icon?: ReactElement;
|
|
6
6
|
}
|
|
7
7
|
export declare const Button: import("react").ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.tsx"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAsB,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAM9D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAE1C,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAElC,UAAU,WAAY,SAAQ,WAAW,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,MAAM,CAAC;IAClE,IAAI,CAAC,EAAE,YAAY,CAAC;CACrB;AAED,eAAO,MAAM,MAAM,wHAyClB,CAAC;AAGF,OAAO,EAAE,CAAC,IAAI,SAAS,EAAE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
-
import { forwardRef } from 'react';
|
|
3
|
+
import { forwardRef, useRef } from 'react';
|
|
4
4
|
import { clsx } from '../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js';
|
|
5
5
|
import { icon, span, button } from './Button.css.js';
|
|
6
6
|
import * as Button_css from './Button.css.js';
|
|
@@ -9,8 +9,10 @@ import { useRipple } from '../../hooks/useRipple/index.js';
|
|
|
9
9
|
import { sx } from '../../styles/sx.js';
|
|
10
10
|
|
|
11
11
|
const Button = forwardRef(({ children, color = 'primary', size = 'md', variant = 'contained', pulse = false, className, sx: propSx, icon: icon$1, ...props }, ref) => {
|
|
12
|
-
const
|
|
13
|
-
|
|
12
|
+
const localRef = useRef(null);
|
|
13
|
+
const elementRef = ref || localRef;
|
|
14
|
+
const { ripple } = useRipple(elementRef);
|
|
15
|
+
return (jsxs("button", { ref: elementRef, className: clsx(className, button({
|
|
14
16
|
color,
|
|
15
17
|
size,
|
|
16
18
|
variant,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export declare const paddingVar: `var(--${string})`;
|
|
1
2
|
export declare const card: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
2
3
|
variant: {
|
|
3
4
|
contained: {};
|
|
@@ -26,6 +27,9 @@ export declare const card: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
26
27
|
};
|
|
27
28
|
};
|
|
28
29
|
color: {
|
|
30
|
+
transparent: {
|
|
31
|
+
backgroundColor: "transparent";
|
|
32
|
+
};
|
|
29
33
|
red: string;
|
|
30
34
|
orange: string;
|
|
31
35
|
amber: string;
|
|
@@ -57,5 +61,32 @@ export declare const card: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
57
61
|
warning: string;
|
|
58
62
|
success: string;
|
|
59
63
|
};
|
|
64
|
+
size: {
|
|
65
|
+
sm: {
|
|
66
|
+
vars: {
|
|
67
|
+
[paddingVar]: "0.25em";
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
md: {
|
|
71
|
+
vars: {
|
|
72
|
+
[paddingVar]: "0.5em";
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
lg: {
|
|
76
|
+
vars: {
|
|
77
|
+
[paddingVar]: "0.75em";
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
xl: {
|
|
81
|
+
vars: {
|
|
82
|
+
[paddingVar]: "1em";
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
'2xl': {
|
|
86
|
+
vars: {
|
|
87
|
+
[paddingVar]: "1.5em";
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
};
|
|
60
91
|
}>;
|
|
61
92
|
//# sourceMappingURL=Card.css.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.css.d.ts","sourceRoot":"","sources":["../../../src/components/Card/Card.css.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Card.css.d.ts","sourceRoot":"","sources":["../../../src/components/Card/Card.css.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,UAAU,oBAAc,CAAC;AAsBtC,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAsEP,CAAC,UAAU,CAAC,WAAY;;;;;gBAMxB,CAAC,UAAU,CAAC,UAAY;;;;;gBAMxB,CAAC,UAAU,CAAC,WAAY;;;;;gBAMxB,CAAC,UAAU,CAAC,QAAY;;;;;gBAMxB,CAAC,UAAU,CAAC,UAAgB;;;;EAKpC,CAAC"}
|
|
@@ -5,6 +5,7 @@ import './CardInteraction.css.ts.vanilla.css';
|
|
|
5
5
|
import './Card.css.ts.vanilla.css';
|
|
6
6
|
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';
|
|
7
7
|
|
|
8
|
-
var card = createRuntimeFn({defaultClassName:'
|
|
8
|
+
var card = createRuntimeFn({defaultClassName:'Card__1foreks15 Card_layeredBase__1foreksv',variantClassNames:{variant:{contained:'Card_styleWithLayer__1foreksw',outlined:'Card_styleWithLayer__1foreksx',glass:'Card_styleWithLayer__1foreksy'},color:{primary:'Card_styleWithLayer__1foreks1',secondary:'Card_styleWithLayer__1foreks2',muted:'Card_styleWithLayer__1foreks3',accent:'Card_styleWithLayer__1foreks4',card:'Card_styleWithLayer__1foreks5',danger:'Card_styleWithLayer__1foreks6',warning:'Card_styleWithLayer__1foreks7',success:'Card_styleWithLayer__1foreks8',red:'Card_styleWithLayer__1foreks9',orange:'Card_styleWithLayer__1foreksa',amber:'Card_styleWithLayer__1foreksb',yellow:'Card_styleWithLayer__1foreksc',lime:'Card_styleWithLayer__1foreksd',green:'Card_styleWithLayer__1forekse',emerald:'Card_styleWithLayer__1foreksf',teal:'Card_styleWithLayer__1foreksg',cyan:'Card_styleWithLayer__1foreksh',sky:'Card_styleWithLayer__1foreksi',blue:'Card_styleWithLayer__1foreksj',indigo:'Card_styleWithLayer__1foreksk',violet:'Card_styleWithLayer__1foreksl',purple:'Card_styleWithLayer__1foreksm',fuchsia:'Card_styleWithLayer__1foreksn',pink:'Card_styleWithLayer__1forekso',rose:'Card_styleWithLayer__1foreksp',slate:'Card_styleWithLayer__1foreksq',gray:'Card_styleWithLayer__1foreksr',zinc:'Card_styleWithLayer__1forekss',neutral:'Card_styleWithLayer__1forekst',stone:'Card_styleWithLayer__1foreksu',transparent:'Card_styleWithLayer__1foreksz'},size:{sm:'Card_styleWithLayer__1foreks10',md:'Card_styleWithLayer__1foreks11',lg:'Card_styleWithLayer__1foreks12',xl:'Card_styleWithLayer__1foreks13','2xl':'Card_styleWithLayer__1foreks14'}},defaultVariants:{},compoundVariants:[]});
|
|
9
|
+
var paddingVar = 'var(--paddingVar__1foreks0)';
|
|
9
10
|
|
|
10
|
-
export { card };
|
|
11
|
+
export { card, paddingVar };
|
|
@@ -1,121 +1,120 @@
|
|
|
1
1
|
@layer components;
|
|
2
2
|
@layer components {
|
|
3
|
-
.
|
|
3
|
+
.Card_styleWithLayer__1foreks1 {
|
|
4
4
|
background-color: rgb(var(--color-primary__n6e2fs7));
|
|
5
5
|
}
|
|
6
|
-
.
|
|
6
|
+
.Card_styleWithLayer__1foreks2 {
|
|
7
7
|
background-color: rgb(var(--color-secondary__n6e2fs9));
|
|
8
8
|
}
|
|
9
|
-
.
|
|
9
|
+
.Card_styleWithLayer__1foreks3 {
|
|
10
10
|
background-color: rgb(var(--color-muted__n6e2fsb));
|
|
11
11
|
}
|
|
12
|
-
.
|
|
12
|
+
.Card_styleWithLayer__1foreks4 {
|
|
13
13
|
background-color: rgb(var(--color-accent__n6e2fsd));
|
|
14
14
|
}
|
|
15
|
-
.
|
|
15
|
+
.Card_styleWithLayer__1foreks5 {
|
|
16
16
|
background-color: rgb(var(--color-card__n6e2fsf));
|
|
17
17
|
}
|
|
18
|
-
.
|
|
18
|
+
.Card_styleWithLayer__1foreks6 {
|
|
19
19
|
background-color: rgb(var(--color-danger__n6e2fsh));
|
|
20
20
|
}
|
|
21
|
-
.
|
|
21
|
+
.Card_styleWithLayer__1foreks7 {
|
|
22
22
|
background-color: rgb(var(--color-warning__n6e2fsj));
|
|
23
23
|
}
|
|
24
|
-
.
|
|
24
|
+
.Card_styleWithLayer__1foreks8 {
|
|
25
25
|
background-color: rgb(var(--color-success__n6e2fsl));
|
|
26
26
|
}
|
|
27
|
-
.
|
|
27
|
+
.Card_styleWithLayer__1foreks9 {
|
|
28
28
|
background-color: color-mix(in srgb, rgb(var(--color-red-500__n6e2fss)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
29
29
|
}
|
|
30
|
-
.
|
|
30
|
+
.Card_styleWithLayer__1foreksa {
|
|
31
31
|
background-color: color-mix(in srgb, rgb(var(--color-orange-500__n6e2fs13)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
32
32
|
}
|
|
33
|
-
.
|
|
33
|
+
.Card_styleWithLayer__1foreksb {
|
|
34
34
|
background-color: color-mix(in srgb, rgb(var(--color-amber-500__n6e2fs1e)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
35
35
|
}
|
|
36
|
-
.
|
|
36
|
+
.Card_styleWithLayer__1foreksc {
|
|
37
37
|
background-color: color-mix(in srgb, rgb(var(--color-yellow-500__n6e2fs1p)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
38
38
|
}
|
|
39
|
-
.
|
|
39
|
+
.Card_styleWithLayer__1foreksd {
|
|
40
40
|
background-color: color-mix(in srgb, rgb(var(--color-lime-500__n6e2fs20)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
41
41
|
}
|
|
42
|
-
.
|
|
42
|
+
.Card_styleWithLayer__1forekse {
|
|
43
43
|
background-color: color-mix(in srgb, rgb(var(--color-green-500__n6e2fs2b)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
44
44
|
}
|
|
45
|
-
.
|
|
45
|
+
.Card_styleWithLayer__1foreksf {
|
|
46
46
|
background-color: color-mix(in srgb, rgb(var(--color-emerald-500__n6e2fs2m)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
47
47
|
}
|
|
48
|
-
.
|
|
48
|
+
.Card_styleWithLayer__1foreksg {
|
|
49
49
|
background-color: color-mix(in srgb, rgb(var(--color-teal-500__n6e2fs2x)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
50
50
|
}
|
|
51
|
-
.
|
|
51
|
+
.Card_styleWithLayer__1foreksh {
|
|
52
52
|
background-color: color-mix(in srgb, rgb(var(--color-cyan-500__n6e2fs38)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
53
53
|
}
|
|
54
|
-
.
|
|
54
|
+
.Card_styleWithLayer__1foreksi {
|
|
55
55
|
background-color: color-mix(in srgb, rgb(var(--color-sky-500__n6e2fs3j)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
56
56
|
}
|
|
57
|
-
.
|
|
57
|
+
.Card_styleWithLayer__1foreksj {
|
|
58
58
|
background-color: color-mix(in srgb, rgb(var(--color-blue-500__n6e2fs3u)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
59
59
|
}
|
|
60
|
-
.
|
|
60
|
+
.Card_styleWithLayer__1foreksk {
|
|
61
61
|
background-color: color-mix(in srgb, rgb(var(--color-indigo-500__n6e2fs45)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
62
62
|
}
|
|
63
|
-
.
|
|
63
|
+
.Card_styleWithLayer__1foreksl {
|
|
64
64
|
background-color: color-mix(in srgb, rgb(var(--color-violet-500__n6e2fs4g)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
65
65
|
}
|
|
66
|
-
.
|
|
66
|
+
.Card_styleWithLayer__1foreksm {
|
|
67
67
|
background-color: color-mix(in srgb, rgb(var(--color-purple-500__n6e2fs4r)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
68
68
|
}
|
|
69
|
-
.
|
|
69
|
+
.Card_styleWithLayer__1foreksn {
|
|
70
70
|
background-color: color-mix(in srgb, rgb(var(--color-fuchsia-500__n6e2fs52)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
71
71
|
}
|
|
72
|
-
.
|
|
72
|
+
.Card_styleWithLayer__1forekso {
|
|
73
73
|
background-color: color-mix(in srgb, rgb(var(--color-pink-500__n6e2fs5d)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
74
74
|
}
|
|
75
|
-
.
|
|
75
|
+
.Card_styleWithLayer__1foreksp {
|
|
76
76
|
background-color: color-mix(in srgb, rgb(var(--color-rose-500__n6e2fs5o)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
77
77
|
}
|
|
78
|
-
.
|
|
78
|
+
.Card_styleWithLayer__1foreksq {
|
|
79
79
|
background-color: color-mix(in srgb, rgb(var(--color-slate-500__n6e2fs5z)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
80
80
|
}
|
|
81
|
-
.
|
|
81
|
+
.Card_styleWithLayer__1foreksr {
|
|
82
82
|
background-color: color-mix(in srgb, rgb(var(--color-gray-500__n6e2fs6a)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
83
83
|
}
|
|
84
|
-
.
|
|
84
|
+
.Card_styleWithLayer__1forekss {
|
|
85
85
|
background-color: color-mix(in srgb, rgb(var(--color-zinc-500__n6e2fs6l)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
86
86
|
}
|
|
87
|
-
.
|
|
87
|
+
.Card_styleWithLayer__1forekst {
|
|
88
88
|
background-color: color-mix(in srgb, rgb(var(--color-neutral-500__n6e2fs6w)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
89
89
|
}
|
|
90
|
-
.
|
|
90
|
+
.Card_styleWithLayer__1foreksu {
|
|
91
91
|
background-color: color-mix(in srgb, rgb(var(--color-stone-500__n6e2fs77)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
|
|
92
92
|
}
|
|
93
|
-
.
|
|
93
|
+
.Card_layeredBase__1foreksv {
|
|
94
94
|
display: flex;
|
|
95
95
|
flex-direction: column;
|
|
96
|
-
overflow: hidden;
|
|
97
96
|
position: relative;
|
|
98
97
|
border-radius: var(--borderRadius__n6e2fs0);
|
|
99
98
|
color: rgb(var(--color-foreground__n6e2fs2));
|
|
100
99
|
transition: border-color 0.2s ease, transform 0.4s ease;
|
|
101
100
|
}
|
|
102
|
-
.
|
|
101
|
+
.Card_layeredBase__1foreksv:has(.CardInteraction_styleWithLayer__3n4sac0:hover) {
|
|
103
102
|
border-color: color-mix(in srgb, rgb(var(--color-primary__n6e2fs7)) 10%, rgb(var(--color-border__n6e2fs3)) 90%);
|
|
104
103
|
}
|
|
105
|
-
.
|
|
104
|
+
.Card_layeredBase__1foreksv:has(.CardInteraction_styleWithLayer__3n4sac0:active) {
|
|
106
105
|
border-color: color-mix(in srgb, rgb(var(--color-primary__n6e2fs7)) 40%, rgb(var(--color-border__n6e2fs3)) 60%);
|
|
107
106
|
}
|
|
108
|
-
.
|
|
107
|
+
.Card_styleWithLayer__1foreksx {
|
|
109
108
|
border: 1px solid;
|
|
110
109
|
border-color: rgb(var(--color-border__n6e2fs3));
|
|
111
110
|
}
|
|
112
|
-
.
|
|
111
|
+
.Card_styleWithLayer__1foreksy {
|
|
113
112
|
border: 1px solid rgb(var(--color-border\.weak__n6e2fs4));
|
|
114
113
|
border-radius: 0.75rem;
|
|
115
114
|
background: linear-gradient(rgba(var(--color-card\.gradient__n6e2fs5), 0.06) 0%, rgba(var(--color-card\.gradient__n6e2fs5), 0.02) 100%);
|
|
116
115
|
backdrop-filter: blur(1rem);
|
|
117
116
|
}
|
|
118
|
-
.
|
|
117
|
+
.Card_styleWithLayer__1foreksy::before {
|
|
119
118
|
content: "";
|
|
120
119
|
position: absolute;
|
|
121
120
|
inset: 0;
|
|
@@ -123,7 +122,25 @@
|
|
|
123
122
|
opacity: 0;
|
|
124
123
|
transition: opacity 0.3s ease;
|
|
125
124
|
}
|
|
126
|
-
.
|
|
125
|
+
.Card_styleWithLayer__1foreksy:hover::before {
|
|
127
126
|
opacity: 1;
|
|
128
127
|
}
|
|
128
|
+
.Card_styleWithLayer__1foreksz {
|
|
129
|
+
background-color: transparent;
|
|
130
|
+
}
|
|
131
|
+
.Card_styleWithLayer__1foreks10 {
|
|
132
|
+
--paddingVar__1foreks0: 0.25em;
|
|
133
|
+
}
|
|
134
|
+
.Card_styleWithLayer__1foreks11 {
|
|
135
|
+
--paddingVar__1foreks0: 0.5em;
|
|
136
|
+
}
|
|
137
|
+
.Card_styleWithLayer__1foreks12 {
|
|
138
|
+
--paddingVar__1foreks0: 0.75em;
|
|
139
|
+
}
|
|
140
|
+
.Card_styleWithLayer__1foreks13 {
|
|
141
|
+
--paddingVar__1foreks0: 1em;
|
|
142
|
+
}
|
|
143
|
+
.Card_styleWithLayer__1foreks14 {
|
|
144
|
+
--paddingVar__1foreks0: 1.5em;
|
|
145
|
+
}
|
|
129
146
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type CSSProperties } from 'react';
|
|
2
|
-
import type { UIComponent } from '
|
|
2
|
+
import type { UIComponent } from '#types';
|
|
3
3
|
import * as s from './Card.css';
|
|
4
4
|
interface CardProps extends UIComponent<'div', typeof s.card> {
|
|
5
5
|
width?: CSSProperties['width'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/components/Card/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAKvD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/components/Card/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAKvD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAE1C,OAAO,KAAK,CAAC,MAAM,YAAY,CAAC;AAEhC,UAAU,SAAU,SAAQ,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC;IAC3D,KAAK,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAC/B,MAAM,CAAC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;CAClC;AAED,eAAO,MAAM,IAAI,mHA4BhB,CAAC;AAGF,OAAO,EAAE,CAAC,IAAI,OAAO,EAAE,CAAC"}
|
|
@@ -6,8 +6,8 @@ import * as Card_css from './Card.css.js';
|
|
|
6
6
|
export { Card_css as cardCss };
|
|
7
7
|
import { sx } from '../../styles/sx.js';
|
|
8
8
|
|
|
9
|
-
const Card = forwardRef(({ width, height, color = 'card', variant = 'outlined', className, style, sx: propSx, ...props }, ref) => {
|
|
10
|
-
return (jsx("div", { ref: ref, className: clsx(card({ color, variant }), className, sx(propSx)), style: { width, height, ...style }, ...props }));
|
|
9
|
+
const Card = forwardRef(({ width, height, color = 'card', variant = 'outlined', size = 'md', className, style, sx: propSx, ...props }, ref) => {
|
|
10
|
+
return (jsx("div", { ref: ref, className: clsx(card({ color, size, variant }), className, sx(propSx)), style: { width, height, ...style }, ...props }));
|
|
11
11
|
});
|
|
12
12
|
Card.displayName = 'Card';
|
|
13
13
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardContent.css.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardContent.css.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CardContent.css.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardContent.css.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW,QAItB,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import './../../styles/layers.css.ts.vanilla.css';
|
|
2
2
|
import './../../styles/sprinkles.css.ts.vanilla.css';
|
|
3
3
|
import './../../styles/globalStyle.css.ts.vanilla.css';
|
|
4
|
+
import './CardInteraction.css.ts.vanilla.css';
|
|
5
|
+
import './Card.css.ts.vanilla.css';
|
|
4
6
|
import './CardContent.css.ts.vanilla.css';
|
|
5
7
|
|
|
6
8
|
var cardContent = 'CardContent_styleWithLayer__1nhygmc0';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UIComponent } from '
|
|
1
|
+
import type { UIComponent } from '#types';
|
|
2
2
|
type CardContentProps = UIComponent<'div'>;
|
|
3
3
|
export declare const CardContent: import("react").ForwardRefExoticComponent<Omit<CardContentProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
4
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardContent.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardContent.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"CardContent.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardContent.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAI1C,KAAK,gBAAgB,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3C,eAAO,MAAM,WAAW,0HAUvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardHeader.css.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardHeader.css.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU,QAGrB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import './../../styles/layers.css.ts.vanilla.css';
|
|
2
|
+
import './../../styles/sprinkles.css.ts.vanilla.css';
|
|
3
|
+
import './../../styles/globalStyle.css.ts.vanilla.css';
|
|
4
|
+
import './CardInteraction.css.ts.vanilla.css';
|
|
5
|
+
import './Card.css.ts.vanilla.css';
|
|
6
|
+
import './CardHeader.css.ts.vanilla.css';
|
|
7
|
+
|
|
8
|
+
var cardHeader = 'CardHeader_styleWithLayer__1mpqtlh0';
|
|
9
|
+
|
|
10
|
+
export { cardHeader };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { UIComponent } from '#types';
|
|
2
|
+
type CardHeaderProps = UIComponent<'div'>;
|
|
3
|
+
export declare const CardHeader: import("react").ForwardRefExoticComponent<Omit<CardHeaderProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
|
+
export {};
|
|
5
|
+
//# sourceMappingURL=CardHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardHeader.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardHeader.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAI1C,KAAK,eAAe,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC;AAE1C,eAAO,MAAM,UAAU,yHAUtB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { clsx } from '../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js';
|
|
4
|
+
import { cardHeader } from './CardHeader.css.js';
|
|
5
|
+
import { sx } from '../../styles/sx.js';
|
|
6
|
+
|
|
7
|
+
const CardHeader = forwardRef(({ className, sx: propSx, ...props }, ref) => {
|
|
8
|
+
return (jsx("div", { ref: ref, className: clsx(cardHeader, className, sx(propSx)), ...props }));
|
|
9
|
+
});
|
|
10
|
+
CardHeader.displayName = 'CardHeader';
|
|
11
|
+
|
|
12
|
+
export { CardHeader };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UIComponent } from '
|
|
1
|
+
import type { UIComponent } from '#types';
|
|
2
2
|
type CardInteractionProps = UIComponent<'div'>;
|
|
3
3
|
export declare const CardInteraction: import("react").ForwardRefExoticComponent<Omit<CardInteractionProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
4
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardInteraction.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardInteraction.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"CardInteraction.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardInteraction.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAI1C,KAAK,oBAAoB,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC;AAE/C,eAAO,MAAM,eAAe,8HAoB3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardThumbnail.css.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardThumbnail.css.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"CardThumbnail.css.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardThumbnail.css.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,QAEpB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UIComponent } from '
|
|
1
|
+
import type { UIComponent } from '#types';
|
|
2
2
|
type CardThumbnailProps = UIComponent<'img'>;
|
|
3
3
|
export declare const CardThumbnail: import("react").ForwardRefExoticComponent<Omit<CardThumbnailProps, "ref"> & import("react").RefAttributes<HTMLImageElement>>;
|
|
4
4
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardThumbnail.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardThumbnail.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"CardThumbnail.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardThumbnail.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAI1C,KAAK,kBAAkB,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC;AAE7C,eAAO,MAAM,aAAa,8HAUzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Card/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Card/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UIComponent } from '
|
|
1
|
+
import type { UIComponent } from '#types';
|
|
2
2
|
import * as s from './Chip.css';
|
|
3
3
|
type ChipProps = UIComponent<'div', typeof s.chip>;
|
|
4
4
|
export declare const Chip: import("react").ForwardRefExoticComponent<Omit<ChipProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAE1C,OAAO,KAAK,CAAC,MAAM,YAAY,CAAC;AAEhC,KAAK,SAAS,GAAG,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAEnD,eAAO,MAAM,IAAI,mHAsBhB,CAAC;AAGF,OAAO,EAAE,CAAC,IAAI,OAAO,EAAE,CAAC"}
|
|
@@ -14,7 +14,7 @@ const Confirm = ({ children, ref, onConfirm, onCancle, }) => {
|
|
|
14
14
|
useImperativeHandle(ref, () => ({
|
|
15
15
|
close,
|
|
16
16
|
}));
|
|
17
|
-
return (jsxs(Dialog, { children: [jsx(DialogContent, { children: children }), jsx(DialogFooter, { children: jsxs(Box, {
|
|
17
|
+
return (jsxs(Dialog, { children: [jsx(DialogContent, { children: children }), jsx(DialogFooter, { children: jsxs(Box, { gap: "md", flex: true, children: [jsx(Button, { size: "sm", onClick: onConfirm, children: "\uD655\uC778" }), jsx(Button, { color: "secondary", size: "sm", onClick: onCancle, children: "\uCDE8\uC18C" })] }) })] }));
|
|
18
18
|
};
|
|
19
19
|
|
|
20
20
|
export { Confirm };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Container.css.d.ts","sourceRoot":"","sources":["../../../src/components/Container/Container.css.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,SAAS;;EASpB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import './../../styles/layers.css.ts.vanilla.css';
|
|
2
|
+
import './../../styles/sprinkles.css.ts.vanilla.css';
|
|
3
|
+
import './../../styles/globalStyle.css.ts.vanilla.css';
|
|
4
|
+
import './Container.css.ts.vanilla.css';
|
|
5
|
+
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
|
+
|
|
7
|
+
var container = createRuntimeFn({defaultClassName:'Container__1ku3u154 Container_layeredBase__1ku3u153',variantClassNames:{size:{sm:'Container_styleWithLayer__1ku3u150',md:'Container_styleWithLayer__1ku3u151',lg:'Container_styleWithLayer__1ku3u152'}},defaultVariants:{},compoundVariants:[]});
|
|
8
|
+
|
|
9
|
+
export { container };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
@layer components;
|
|
2
|
+
@layer components {
|
|
3
|
+
.Container_styleWithLayer__1ku3u150 {
|
|
4
|
+
max-width: 768px;
|
|
5
|
+
}
|
|
6
|
+
.Container_styleWithLayer__1ku3u151 {
|
|
7
|
+
max-width: 1024px;
|
|
8
|
+
}
|
|
9
|
+
.Container_styleWithLayer__1ku3u152 {
|
|
10
|
+
max-width: 1440px;
|
|
11
|
+
}
|
|
12
|
+
.Container_layeredBase__1ku3u153 {
|
|
13
|
+
margin-inline: auto;
|
|
14
|
+
width: 100%;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type SprinklesProps } from '#styles';
|
|
2
|
+
import type { UIComponent } from '#types';
|
|
3
|
+
import * as s from './Container.css';
|
|
4
|
+
type ContainerProps = UIComponent<'div', typeof s.container> & SprinklesProps;
|
|
5
|
+
export declare const Container: import("react").ForwardRefExoticComponent<Omit<ContainerProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Container/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,SAAS,CAAC;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAG1C,OAAO,KAAK,CAAC,MAAM,iBAAiB,CAAC;AAErC,KAAK,cAAc,GAAG,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,GAAG,cAAc,CAAC;AAE9E,eAAO,MAAM,SAAS,wHAiBrB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { clsx } from '../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js';
|
|
4
|
+
import { container } from './Container.css.js';
|
|
5
|
+
import { omitSprinkles, filterSprinkles } from '../../utils/sprinklesUtils.js';
|
|
6
|
+
import { sprinkles } from '../../styles/sprinkles.css.js';
|
|
7
|
+
import { sx } from '../../styles/sx.js';
|
|
8
|
+
|
|
9
|
+
const Container = forwardRef(({ children, className, size, sx: propSx, ...props }, ref) => {
|
|
10
|
+
return (jsx("div", { ref: ref, className: clsx(className, container({ size }), sx(propSx), sprinkles(filterSprinkles(props))), ...omitSprinkles(props), children: children }));
|
|
11
|
+
});
|
|
12
|
+
Container.displayName = 'Container';
|
|
13
|
+
|
|
14
|
+
export { Container };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UIComponent } from '
|
|
1
|
+
import type { UIComponent } from '#types';
|
|
2
2
|
type DialogProps = Omit<UIComponent<'div'>, 'color'>;
|
|
3
3
|
export declare const Dialog: import("react").ForwardRefExoticComponent<Omit<DialogProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
4
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/Dialog.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/Dialog.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAI1C,KAAK,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,CAAC;AAErD,eAAO,MAAM,MAAM,qHAgBlB,CAAC"}
|