@kimdw-rtk/ui 0.0.30 → 0.1.1
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 +10 -7
- 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 +15 -15
|
@@ -6,7 +6,7 @@ import { Box } from '../Box/index.js';
|
|
|
6
6
|
import { sx } from '../../styles/sx.js';
|
|
7
7
|
|
|
8
8
|
const Dialog = forwardRef(({ children, className, sx: propSx, ...props }, ref) => {
|
|
9
|
-
return (jsx(Box, { ref: ref,
|
|
9
|
+
return (jsx(Box, { ref: ref, boxShadow: "border-sm", className: clsx(container, className, sx(propSx)), flexDirection: "row", gap: "lg", flex: true, ...props, children: children }));
|
|
10
10
|
});
|
|
11
11
|
Dialog.displayName = 'Dialog';
|
|
12
12
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UIComponent } from '
|
|
1
|
+
import type { UIComponent } from '#types';
|
|
2
2
|
type DialogContentProps = Omit<UIComponent<'div'>, 'color'>;
|
|
3
3
|
export declare const DialogContent: import("react").ForwardRefExoticComponent<Omit<DialogContentProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
4
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DialogContent.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/DialogContent.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"DialogContent.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/DialogContent.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAI1C,KAAK,kBAAkB,GAAG,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,CAAC;AAE5D,eAAO,MAAM,aAAa,4HAYzB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UIComponent } from '
|
|
1
|
+
import type { UIComponent } from '#types';
|
|
2
2
|
type DialogFooterProps = Omit<UIComponent<'div'>, 'color'>;
|
|
3
3
|
export declare const DialogFooter: import("react").ForwardRefExoticComponent<Omit<DialogFooterProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
4
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DialogFooter.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/DialogFooter.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"DialogFooter.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/DialogFooter.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAE1C,KAAK,iBAAiB,GAAG,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,CAAC;AAE3D,eAAO,MAAM,YAAY,2HAcxB,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { Box } from '../Box/index.js';
|
|
|
5
5
|
import { sx } from '../../styles/sx.js';
|
|
6
6
|
|
|
7
7
|
const DialogFooter = forwardRef(({ children, className, sx: propSx, ...props }, ref) => {
|
|
8
|
-
return (jsx(Box, { ref: ref,
|
|
8
|
+
return (jsx(Box, { ref: ref, className: clsx(className, sx(propSx)), justifyContent: "flex-end", flex: true, ...props, children: children }));
|
|
9
9
|
});
|
|
10
10
|
DialogFooter.displayName = 'DialogFooter';
|
|
11
11
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DialogHeader.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/DialogHeader.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"DialogHeader.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/DialogHeader.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAI1C,UAAU,iBAAkB,SAAQ,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC;IACnE,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,eAAO,MAAM,YAAY,2HAoBxB,CAAC"}
|
|
@@ -7,7 +7,7 @@ import { Box } from '../Box/index.js';
|
|
|
7
7
|
import { sx } from '../../styles/sx.js';
|
|
8
8
|
|
|
9
9
|
const DialogHeader = forwardRef(({ children, className, sx: propSx, onCloseClick, ...props }, ref) => {
|
|
10
|
-
return (jsxs(Box, { ref: ref,
|
|
10
|
+
return (jsxs(Box, { ref: ref, alignItems: "center", className: clsx(container, className, sx(propSx)), fontSize: "lg", fontWeight: "normal", justifyContent: "space-between", flex: true, ...props, children: [jsx("span", { children: children }), jsx("button", { "aria-label": "\uB2EB\uAE30", className: close, onClick: onCloseClick, children: jsx(X, {}) })] }));
|
|
11
11
|
});
|
|
12
12
|
DialogHeader.displayName = 'DialogHeader';
|
|
13
13
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Flex.css.d.ts","sourceRoot":"","sources":["../../../src/components/Flex/Flex.css.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,QAEf,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
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 './Flex.css.ts.vanilla.css';
|
|
5
|
+
|
|
6
|
+
var flex = 'Flex_styleWithLayer__jkg3sh0';
|
|
7
|
+
|
|
8
|
+
export { flex };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type SprinklesProps } from '#styles';
|
|
2
|
+
import type { UIComponent } from '#types';
|
|
3
|
+
type FlexProps = UIComponent<'div'> & SprinklesProps;
|
|
4
|
+
export declare const Flex: import("react").ForwardRefExoticComponent<Omit<FlexProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Flex/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,SAAS,CAAC;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAK1C,KAAK,SAAS,GAAG,WAAW,CAAC,KAAK,CAAC,GAAG,cAAc,CAAC;AAErD,eAAO,MAAM,IAAI,mHAiBhB,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 { flex } from './Flex.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 Flex = forwardRef(({ children, className, sx: propSx, ...props }, ref) => {
|
|
10
|
+
return (jsx("div", { ref: ref, className: clsx(className, flex, sx(propSx), sprinkles(filterSprinkles(props))), ...omitSprinkles(props), children: children }));
|
|
11
|
+
});
|
|
12
|
+
Flex.displayName = 'Flex';
|
|
13
|
+
|
|
14
|
+
export { Flex };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UIComponent } from '
|
|
1
|
+
import type { UIComponent } from '#types';
|
|
2
2
|
type NavigationAsideProps = UIComponent<'aside'>;
|
|
3
3
|
export declare const NavigationAside: import("react").ForwardRefExoticComponent<Omit<NavigationAsideProps, "ref"> & import("react").RefAttributes<HTMLElement>>;
|
|
4
4
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationAside.d.ts","sourceRoot":"","sources":["../../../src/components/Navigation/NavigationAside.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"NavigationAside.d.ts","sourceRoot":"","sources":["../../../src/components/Navigation/NavigationAside.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAI1C,KAAK,oBAAoB,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;AAEjD,eAAO,MAAM,eAAe,2HAQ3B,CAAC"}
|
|
@@ -11,5 +11,13 @@ export declare const navigationBar: import("@vanilla-extract/recipes").RuntimeFn
|
|
|
11
11
|
height: "6em";
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
+
isStuck: {
|
|
15
|
+
true: {
|
|
16
|
+
borderBottomColor: `rgb(var(--${string}))`;
|
|
17
|
+
};
|
|
18
|
+
false: {
|
|
19
|
+
borderBottomColor: "transparent";
|
|
20
|
+
};
|
|
21
|
+
};
|
|
14
22
|
}>;
|
|
15
23
|
//# sourceMappingURL=NavigationBar.css.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationBar.css.d.ts","sourceRoot":"","sources":["../../../src/components/Navigation/NavigationBar.css.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,sBAAsB,QAAoB,CAAC;AAExD,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"NavigationBar.css.d.ts","sourceRoot":"","sources":["../../../src/components/Navigation/NavigationBar.css.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,sBAAsB,QAAoB,CAAC;AAExD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;EA0CxB,CAAC"}
|
|
@@ -4,7 +4,7 @@ import './../../styles/globalStyle.css.ts.vanilla.css';
|
|
|
4
4
|
import './NavigationBar.css.ts.vanilla.css';
|
|
5
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
6
|
|
|
7
|
-
var navigationBar = createRuntimeFn({defaultClassName:'
|
|
7
|
+
var navigationBar = createRuntimeFn({defaultClassName:'NavigationBar__x4q5x97 NavigationBar_layeredBase__x4q5x91',variantClassNames:{size:{sm:'NavigationBar_styleWithLayer__x4q5x92',md:'NavigationBar_styleWithLayer__x4q5x93',lg:'NavigationBar_styleWithLayer__x4q5x94'},isStuck:{true:'NavigationBar_styleWithLayer__x4q5x95',false:'NavigationBar_styleWithLayer__x4q5x96'}},defaultVariants:{},compoundVariants:[]});
|
|
8
8
|
var navigationBarContainer = 'NavigationBar_navigationBarContainer__x4q5x90';
|
|
9
9
|
|
|
10
10
|
export { navigationBar, navigationBarContainer };
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
position: sticky;
|
|
6
6
|
top: 0;
|
|
7
7
|
width: 100%;
|
|
8
|
-
border-bottom: 1px solid
|
|
8
|
+
border-bottom: 1px solid;
|
|
9
9
|
background-color: rgba(var(--color-background__n6e2fs1), 0.75);
|
|
10
10
|
backdrop-filter: blur(2rem) saturate(150%);
|
|
11
11
|
color: rgb(var(--color-border__n6e2fs3));
|
|
@@ -22,4 +22,10 @@
|
|
|
22
22
|
.NavigationBar_styleWithLayer__x4q5x94 {
|
|
23
23
|
height: 6em;
|
|
24
24
|
}
|
|
25
|
+
.NavigationBar_styleWithLayer__x4q5x95 {
|
|
26
|
+
border-bottom-color: rgb(var(--color-border__n6e2fs3));
|
|
27
|
+
}
|
|
28
|
+
.NavigationBar_styleWithLayer__x4q5x96 {
|
|
29
|
+
border-bottom-color: transparent;
|
|
30
|
+
}
|
|
25
31
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UIComponent } from '
|
|
1
|
+
import type { UIComponent } from '#types';
|
|
2
2
|
import * as s from './NavigationBar.css';
|
|
3
3
|
type NavigationBarProps = UIComponent<'nav', typeof s.navigationBar>;
|
|
4
4
|
export declare const NavigationBar: import("react").ForwardRefExoticComponent<Omit<NavigationBarProps, "ref"> & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationBar.d.ts","sourceRoot":"","sources":["../../../src/components/Navigation/NavigationBar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NavigationBar.d.ts","sourceRoot":"","sources":["../../../src/components/Navigation/NavigationBar.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAE1C,OAAO,KAAK,CAAC,MAAM,qBAAqB,CAAC;AAEzC,KAAK,kBAAkB,GAAG,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,aAAa,CAAC,CAAC;AAErE,eAAO,MAAM,aAAa,yHAgBzB,CAAC;AAGF,OAAO,EAAE,CAAC,IAAI,gBAAgB,EAAE,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
"use client";
|
|
1
2
|
import { jsx } from 'react/jsx-runtime';
|
|
2
3
|
import { forwardRef } from 'react';
|
|
4
|
+
import { useIsScrolled } from '@kimdw-rtk/utils';
|
|
3
5
|
import { clsx } from '../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js';
|
|
4
6
|
import { navigationBar } from './NavigationBar.css.js';
|
|
5
7
|
import * as NavigationBar_css from './NavigationBar.css.js';
|
|
@@ -7,7 +9,8 @@ export { NavigationBar_css as navigationBarCss };
|
|
|
7
9
|
import { sx } from '../../styles/sx.js';
|
|
8
10
|
|
|
9
11
|
const NavigationBar = forwardRef(({ className, size = 'md', sx: propSx, ...props }, ref) => {
|
|
10
|
-
|
|
12
|
+
const isScrolled = useIsScrolled(window);
|
|
13
|
+
return (jsx("nav", { ref: ref, className: clsx(navigationBar({ size, isStuck: isScrolled }), className, sx(propSx)), ...props }));
|
|
11
14
|
});
|
|
12
15
|
NavigationBar.displayName = 'NavigationBar';
|
|
13
16
|
|
|
@@ -1,5 +1,150 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export declare const NavigationContainer: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
3
|
+
}, "size"> & {
|
|
4
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
5
|
+
} & {
|
|
6
|
+
sx?: import("#styles").SprinklesProps;
|
|
7
|
+
} & {
|
|
8
|
+
display?: "none" | "flex" | "block" | "inline" | "inline-block" | "inline-flex" | {
|
|
9
|
+
mobile?: "none" | "flex" | "block" | "inline" | "inline-block" | "inline-flex" | undefined;
|
|
10
|
+
desktop?: "none" | "flex" | "block" | "inline" | "inline-block" | "inline-flex" | undefined;
|
|
11
|
+
} | undefined;
|
|
12
|
+
flexDirection?: "column" | "column-reverse" | "row" | "row-reverse" | {
|
|
13
|
+
mobile?: "column" | "column-reverse" | "row" | "row-reverse" | undefined;
|
|
14
|
+
desktop?: "column" | "column-reverse" | "row" | "row-reverse" | undefined;
|
|
15
|
+
} | undefined;
|
|
16
|
+
flexWrap?: "revert" | "revert-layer" | "nowrap" | "wrap" | "wrap-reverse" | {
|
|
17
|
+
mobile?: "revert" | "revert-layer" | "nowrap" | "wrap" | "wrap-reverse" | undefined;
|
|
18
|
+
desktop?: "revert" | "revert-layer" | "nowrap" | "wrap" | "wrap-reverse" | undefined;
|
|
19
|
+
} | undefined;
|
|
20
|
+
flexShrink?: "0" | "1" | {
|
|
21
|
+
mobile?: "0" | "1" | undefined;
|
|
22
|
+
desktop?: "0" | "1" | undefined;
|
|
23
|
+
} | undefined;
|
|
24
|
+
flexGrow?: "0" | "1" | {
|
|
25
|
+
mobile?: "0" | "1" | undefined;
|
|
26
|
+
desktop?: "0" | "1" | undefined;
|
|
27
|
+
} | undefined;
|
|
28
|
+
flexBasis?: "0" | "auto" | "100%" | "5em" | "10em" | "15em" | "20em" | "25em" | {
|
|
29
|
+
mobile?: "0" | "auto" | "100%" | "5em" | "10em" | "15em" | "20em" | "25em" | undefined;
|
|
30
|
+
desktop?: "0" | "auto" | "100%" | "5em" | "10em" | "15em" | "20em" | "25em" | undefined;
|
|
31
|
+
} | undefined;
|
|
32
|
+
justifyContent?: "space-around" | "space-between" | "stretch" | "center" | "flex-end" | "flex-start" | {
|
|
33
|
+
mobile?: "space-around" | "space-between" | "stretch" | "center" | "flex-end" | "flex-start" | undefined;
|
|
34
|
+
desktop?: "space-around" | "space-between" | "stretch" | "center" | "flex-end" | "flex-start" | undefined;
|
|
35
|
+
} | undefined;
|
|
36
|
+
alignItems?: "stretch" | "center" | "flex-end" | "flex-start" | {
|
|
37
|
+
mobile?: "stretch" | "center" | "flex-end" | "flex-start" | undefined;
|
|
38
|
+
desktop?: "stretch" | "center" | "flex-end" | "flex-start" | undefined;
|
|
39
|
+
} | undefined;
|
|
40
|
+
gap?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | {
|
|
41
|
+
mobile?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
42
|
+
desktop?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
43
|
+
} | undefined;
|
|
44
|
+
paddingTop?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | {
|
|
45
|
+
mobile?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
46
|
+
desktop?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
47
|
+
} | undefined;
|
|
48
|
+
paddingBottom?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | {
|
|
49
|
+
mobile?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
50
|
+
desktop?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
51
|
+
} | undefined;
|
|
52
|
+
paddingLeft?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | {
|
|
53
|
+
mobile?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
54
|
+
desktop?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
55
|
+
} | undefined;
|
|
56
|
+
paddingRight?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | {
|
|
57
|
+
mobile?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
58
|
+
desktop?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
59
|
+
} | undefined;
|
|
60
|
+
marginTop?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | {
|
|
61
|
+
mobile?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
62
|
+
desktop?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
63
|
+
} | undefined;
|
|
64
|
+
marginBottom?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | {
|
|
65
|
+
mobile?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
66
|
+
desktop?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
67
|
+
} | undefined;
|
|
68
|
+
marginLeft?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | {
|
|
69
|
+
mobile?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
70
|
+
desktop?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
71
|
+
} | undefined;
|
|
72
|
+
marginRight?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | {
|
|
73
|
+
mobile?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
74
|
+
desktop?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
75
|
+
} | undefined;
|
|
76
|
+
boxShadow?: "border-sm" | "border-md" | "border-lg" | "accent-sm" | "accent-md" | "accent-lg" | {
|
|
77
|
+
mobile?: "border-sm" | "border-md" | "border-lg" | "accent-sm" | "accent-md" | "accent-lg" | undefined;
|
|
78
|
+
desktop?: "border-sm" | "border-md" | "border-lg" | "accent-sm" | "accent-md" | "accent-lg" | undefined;
|
|
79
|
+
} | undefined;
|
|
80
|
+
borderRadius?: "none" | "sm" | "md" | "lg" | {
|
|
81
|
+
mobile?: "none" | "sm" | "md" | "lg" | undefined;
|
|
82
|
+
desktop?: "none" | "sm" | "md" | "lg" | undefined;
|
|
83
|
+
} | undefined;
|
|
84
|
+
width?: "0" | "auto" | "100%" | "5em" | "10em" | "15em" | "20em" | "25em" | {
|
|
85
|
+
mobile?: "0" | "auto" | "100%" | "5em" | "10em" | "15em" | "20em" | "25em" | undefined;
|
|
86
|
+
desktop?: "0" | "auto" | "100%" | "5em" | "10em" | "15em" | "20em" | "25em" | undefined;
|
|
87
|
+
} | undefined;
|
|
88
|
+
height?: "0" | "auto" | "100%" | "5em" | "10em" | "15em" | "20em" | "25em" | {
|
|
89
|
+
mobile?: "0" | "auto" | "100%" | "5em" | "10em" | "15em" | "20em" | "25em" | undefined;
|
|
90
|
+
desktop?: "0" | "auto" | "100%" | "5em" | "10em" | "15em" | "20em" | "25em" | undefined;
|
|
91
|
+
} | undefined;
|
|
92
|
+
padding?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | {
|
|
93
|
+
mobile?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
94
|
+
desktop?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
95
|
+
} | undefined;
|
|
96
|
+
paddingX?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | {
|
|
97
|
+
mobile?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
98
|
+
desktop?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
99
|
+
} | undefined;
|
|
100
|
+
paddingY?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | {
|
|
101
|
+
mobile?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
102
|
+
desktop?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
103
|
+
} | undefined;
|
|
104
|
+
margin?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | {
|
|
105
|
+
mobile?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
106
|
+
desktop?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
107
|
+
} | undefined;
|
|
108
|
+
marginX?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | {
|
|
109
|
+
mobile?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
110
|
+
desktop?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
111
|
+
} | undefined;
|
|
112
|
+
marginY?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | {
|
|
113
|
+
mobile?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
114
|
+
desktop?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
115
|
+
} | undefined;
|
|
116
|
+
} & {
|
|
117
|
+
color?: "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | "slate" | "gray" | "zinc" | "neutral" | "stone" | "primary" | "secondary" | "muted" | "accent" | "card" | "danger" | "warning" | "success" | "primary-foreground" | "secondary-foreground" | "muted-foreground" | "accent-foreground" | "card-foreground" | "danger-foreground" | "warning-foreground" | "success-foreground" | "background" | "foreground" | "border" | "border.weak" | "card.gradient" | "shadow" | "red-50" | "red-100" | "red-200" | "red-300" | "red-400" | "red-500" | "red-600" | "red-700" | "red-800" | "red-900" | "red-950" | "orange-50" | "orange-100" | "orange-200" | "orange-300" | "orange-400" | "orange-500" | "orange-600" | "orange-700" | "orange-800" | "orange-900" | "orange-950" | "amber-50" | "amber-100" | "amber-200" | "amber-300" | "amber-400" | "amber-500" | "amber-600" | "amber-700" | "amber-800" | "amber-900" | "amber-950" | "yellow-50" | "yellow-100" | "yellow-200" | "yellow-300" | "yellow-400" | "yellow-500" | "yellow-600" | "yellow-700" | "yellow-800" | "yellow-900" | "yellow-950" | "lime-50" | "lime-100" | "lime-200" | "lime-300" | "lime-400" | "lime-500" | "lime-600" | "lime-700" | "lime-800" | "lime-900" | "lime-950" | "green-50" | "green-100" | "green-200" | "green-300" | "green-400" | "green-500" | "green-600" | "green-700" | "green-800" | "green-900" | "green-950" | "emerald-50" | "emerald-100" | "emerald-200" | "emerald-300" | "emerald-400" | "emerald-500" | "emerald-600" | "emerald-700" | "emerald-800" | "emerald-900" | "emerald-950" | "teal-50" | "teal-100" | "teal-200" | "teal-300" | "teal-400" | "teal-500" | "teal-600" | "teal-700" | "teal-800" | "teal-900" | "teal-950" | "cyan-50" | "cyan-100" | "cyan-200" | "cyan-300" | "cyan-400" | "cyan-500" | "cyan-600" | "cyan-700" | "cyan-800" | "cyan-900" | "cyan-950" | "sky-50" | "sky-100" | "sky-200" | "sky-300" | "sky-400" | "sky-500" | "sky-600" | "sky-700" | "sky-800" | "sky-900" | "sky-950" | "blue-50" | "blue-100" | "blue-200" | "blue-300" | "blue-400" | "blue-500" | "blue-600" | "blue-700" | "blue-800" | "blue-900" | "blue-950" | "indigo-50" | "indigo-100" | "indigo-200" | "indigo-300" | "indigo-400" | "indigo-500" | "indigo-600" | "indigo-700" | "indigo-800" | "indigo-900" | "indigo-950" | "violet-50" | "violet-100" | "violet-200" | "violet-300" | "violet-400" | "violet-500" | "violet-600" | "violet-700" | "violet-800" | "violet-900" | "violet-950" | "purple-50" | "purple-100" | "purple-200" | "purple-300" | "purple-400" | "purple-500" | "purple-600" | "purple-700" | "purple-800" | "purple-900" | "purple-950" | "fuchsia-50" | "fuchsia-100" | "fuchsia-200" | "fuchsia-300" | "fuchsia-400" | "fuchsia-500" | "fuchsia-600" | "fuchsia-700" | "fuchsia-800" | "fuchsia-900" | "fuchsia-950" | "pink-50" | "pink-100" | "pink-200" | "pink-300" | "pink-400" | "pink-500" | "pink-600" | "pink-700" | "pink-800" | "pink-900" | "pink-950" | "rose-50" | "rose-100" | "rose-200" | "rose-300" | "rose-400" | "rose-500" | "rose-600" | "rose-700" | "rose-800" | "rose-900" | "rose-950" | "slate-50" | "slate-100" | "slate-200" | "slate-300" | "slate-400" | "slate-500" | "slate-600" | "slate-700" | "slate-800" | "slate-900" | "slate-950" | "gray-50" | "gray-100" | "gray-200" | "gray-300" | "gray-400" | "gray-500" | "gray-600" | "gray-700" | "gray-800" | "gray-900" | "gray-950" | "zinc-50" | "zinc-100" | "zinc-200" | "zinc-300" | "zinc-400" | "zinc-500" | "zinc-600" | "zinc-700" | "zinc-800" | "zinc-900" | "zinc-950" | "neutral-50" | "neutral-100" | "neutral-200" | "neutral-300" | "neutral-400" | "neutral-500" | "neutral-600" | "neutral-700" | "neutral-800" | "neutral-900" | "neutral-950" | "stone-50" | "stone-100" | "stone-200" | "stone-300" | "stone-400" | "stone-500" | "stone-600" | "stone-700" | "stone-800" | "stone-900" | "stone-950" | undefined;
|
|
118
|
+
borderColor?: "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | "slate" | "gray" | "zinc" | "neutral" | "stone" | "primary" | "secondary" | "muted" | "accent" | "card" | "danger" | "warning" | "success" | "primary-foreground" | "secondary-foreground" | "muted-foreground" | "accent-foreground" | "card-foreground" | "danger-foreground" | "warning-foreground" | "success-foreground" | "background" | "foreground" | "border" | "border.weak" | "card.gradient" | "shadow" | "red-50" | "red-100" | "red-200" | "red-300" | "red-400" | "red-500" | "red-600" | "red-700" | "red-800" | "red-900" | "red-950" | "orange-50" | "orange-100" | "orange-200" | "orange-300" | "orange-400" | "orange-500" | "orange-600" | "orange-700" | "orange-800" | "orange-900" | "orange-950" | "amber-50" | "amber-100" | "amber-200" | "amber-300" | "amber-400" | "amber-500" | "amber-600" | "amber-700" | "amber-800" | "amber-900" | "amber-950" | "yellow-50" | "yellow-100" | "yellow-200" | "yellow-300" | "yellow-400" | "yellow-500" | "yellow-600" | "yellow-700" | "yellow-800" | "yellow-900" | "yellow-950" | "lime-50" | "lime-100" | "lime-200" | "lime-300" | "lime-400" | "lime-500" | "lime-600" | "lime-700" | "lime-800" | "lime-900" | "lime-950" | "green-50" | "green-100" | "green-200" | "green-300" | "green-400" | "green-500" | "green-600" | "green-700" | "green-800" | "green-900" | "green-950" | "emerald-50" | "emerald-100" | "emerald-200" | "emerald-300" | "emerald-400" | "emerald-500" | "emerald-600" | "emerald-700" | "emerald-800" | "emerald-900" | "emerald-950" | "teal-50" | "teal-100" | "teal-200" | "teal-300" | "teal-400" | "teal-500" | "teal-600" | "teal-700" | "teal-800" | "teal-900" | "teal-950" | "cyan-50" | "cyan-100" | "cyan-200" | "cyan-300" | "cyan-400" | "cyan-500" | "cyan-600" | "cyan-700" | "cyan-800" | "cyan-900" | "cyan-950" | "sky-50" | "sky-100" | "sky-200" | "sky-300" | "sky-400" | "sky-500" | "sky-600" | "sky-700" | "sky-800" | "sky-900" | "sky-950" | "blue-50" | "blue-100" | "blue-200" | "blue-300" | "blue-400" | "blue-500" | "blue-600" | "blue-700" | "blue-800" | "blue-900" | "blue-950" | "indigo-50" | "indigo-100" | "indigo-200" | "indigo-300" | "indigo-400" | "indigo-500" | "indigo-600" | "indigo-700" | "indigo-800" | "indigo-900" | "indigo-950" | "violet-50" | "violet-100" | "violet-200" | "violet-300" | "violet-400" | "violet-500" | "violet-600" | "violet-700" | "violet-800" | "violet-900" | "violet-950" | "purple-50" | "purple-100" | "purple-200" | "purple-300" | "purple-400" | "purple-500" | "purple-600" | "purple-700" | "purple-800" | "purple-900" | "purple-950" | "fuchsia-50" | "fuchsia-100" | "fuchsia-200" | "fuchsia-300" | "fuchsia-400" | "fuchsia-500" | "fuchsia-600" | "fuchsia-700" | "fuchsia-800" | "fuchsia-900" | "fuchsia-950" | "pink-50" | "pink-100" | "pink-200" | "pink-300" | "pink-400" | "pink-500" | "pink-600" | "pink-700" | "pink-800" | "pink-900" | "pink-950" | "rose-50" | "rose-100" | "rose-200" | "rose-300" | "rose-400" | "rose-500" | "rose-600" | "rose-700" | "rose-800" | "rose-900" | "rose-950" | "slate-50" | "slate-100" | "slate-200" | "slate-300" | "slate-400" | "slate-500" | "slate-600" | "slate-700" | "slate-800" | "slate-900" | "slate-950" | "gray-50" | "gray-100" | "gray-200" | "gray-300" | "gray-400" | "gray-500" | "gray-600" | "gray-700" | "gray-800" | "gray-900" | "gray-950" | "zinc-50" | "zinc-100" | "zinc-200" | "zinc-300" | "zinc-400" | "zinc-500" | "zinc-600" | "zinc-700" | "zinc-800" | "zinc-900" | "zinc-950" | "neutral-50" | "neutral-100" | "neutral-200" | "neutral-300" | "neutral-400" | "neutral-500" | "neutral-600" | "neutral-700" | "neutral-800" | "neutral-900" | "neutral-950" | "stone-50" | "stone-100" | "stone-200" | "stone-300" | "stone-400" | "stone-500" | "stone-600" | "stone-700" | "stone-800" | "stone-900" | "stone-950" | undefined;
|
|
119
|
+
backgroundColor?: "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | "slate" | "gray" | "zinc" | "neutral" | "stone" | "primary" | "secondary" | "muted" | "accent" | "card" | "danger" | "warning" | "success" | "primary-foreground" | "secondary-foreground" | "muted-foreground" | "accent-foreground" | "card-foreground" | "danger-foreground" | "warning-foreground" | "success-foreground" | "background" | "foreground" | "border" | "border.weak" | "card.gradient" | "shadow" | "red-50" | "red-100" | "red-200" | "red-300" | "red-400" | "red-500" | "red-600" | "red-700" | "red-800" | "red-900" | "red-950" | "orange-50" | "orange-100" | "orange-200" | "orange-300" | "orange-400" | "orange-500" | "orange-600" | "orange-700" | "orange-800" | "orange-900" | "orange-950" | "amber-50" | "amber-100" | "amber-200" | "amber-300" | "amber-400" | "amber-500" | "amber-600" | "amber-700" | "amber-800" | "amber-900" | "amber-950" | "yellow-50" | "yellow-100" | "yellow-200" | "yellow-300" | "yellow-400" | "yellow-500" | "yellow-600" | "yellow-700" | "yellow-800" | "yellow-900" | "yellow-950" | "lime-50" | "lime-100" | "lime-200" | "lime-300" | "lime-400" | "lime-500" | "lime-600" | "lime-700" | "lime-800" | "lime-900" | "lime-950" | "green-50" | "green-100" | "green-200" | "green-300" | "green-400" | "green-500" | "green-600" | "green-700" | "green-800" | "green-900" | "green-950" | "emerald-50" | "emerald-100" | "emerald-200" | "emerald-300" | "emerald-400" | "emerald-500" | "emerald-600" | "emerald-700" | "emerald-800" | "emerald-900" | "emerald-950" | "teal-50" | "teal-100" | "teal-200" | "teal-300" | "teal-400" | "teal-500" | "teal-600" | "teal-700" | "teal-800" | "teal-900" | "teal-950" | "cyan-50" | "cyan-100" | "cyan-200" | "cyan-300" | "cyan-400" | "cyan-500" | "cyan-600" | "cyan-700" | "cyan-800" | "cyan-900" | "cyan-950" | "sky-50" | "sky-100" | "sky-200" | "sky-300" | "sky-400" | "sky-500" | "sky-600" | "sky-700" | "sky-800" | "sky-900" | "sky-950" | "blue-50" | "blue-100" | "blue-200" | "blue-300" | "blue-400" | "blue-500" | "blue-600" | "blue-700" | "blue-800" | "blue-900" | "blue-950" | "indigo-50" | "indigo-100" | "indigo-200" | "indigo-300" | "indigo-400" | "indigo-500" | "indigo-600" | "indigo-700" | "indigo-800" | "indigo-900" | "indigo-950" | "violet-50" | "violet-100" | "violet-200" | "violet-300" | "violet-400" | "violet-500" | "violet-600" | "violet-700" | "violet-800" | "violet-900" | "violet-950" | "purple-50" | "purple-100" | "purple-200" | "purple-300" | "purple-400" | "purple-500" | "purple-600" | "purple-700" | "purple-800" | "purple-900" | "purple-950" | "fuchsia-50" | "fuchsia-100" | "fuchsia-200" | "fuchsia-300" | "fuchsia-400" | "fuchsia-500" | "fuchsia-600" | "fuchsia-700" | "fuchsia-800" | "fuchsia-900" | "fuchsia-950" | "pink-50" | "pink-100" | "pink-200" | "pink-300" | "pink-400" | "pink-500" | "pink-600" | "pink-700" | "pink-800" | "pink-900" | "pink-950" | "rose-50" | "rose-100" | "rose-200" | "rose-300" | "rose-400" | "rose-500" | "rose-600" | "rose-700" | "rose-800" | "rose-900" | "rose-950" | "slate-50" | "slate-100" | "slate-200" | "slate-300" | "slate-400" | "slate-500" | "slate-600" | "slate-700" | "slate-800" | "slate-900" | "slate-950" | "gray-50" | "gray-100" | "gray-200" | "gray-300" | "gray-400" | "gray-500" | "gray-600" | "gray-700" | "gray-800" | "gray-900" | "gray-950" | "zinc-50" | "zinc-100" | "zinc-200" | "zinc-300" | "zinc-400" | "zinc-500" | "zinc-600" | "zinc-700" | "zinc-800" | "zinc-900" | "zinc-950" | "neutral-50" | "neutral-100" | "neutral-200" | "neutral-300" | "neutral-400" | "neutral-500" | "neutral-600" | "neutral-700" | "neutral-800" | "neutral-900" | "neutral-950" | "stone-50" | "stone-100" | "stone-200" | "stone-300" | "stone-400" | "stone-500" | "stone-600" | "stone-700" | "stone-800" | "stone-900" | "stone-950" | undefined;
|
|
120
|
+
gradientFrom?: "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | "slate" | "gray" | "zinc" | "neutral" | "stone" | "primary" | "secondary" | "muted" | "accent" | "card" | "danger" | "warning" | "success" | "primary-foreground" | "secondary-foreground" | "muted-foreground" | "accent-foreground" | "card-foreground" | "danger-foreground" | "warning-foreground" | "success-foreground" | "background" | "foreground" | "border" | "border.weak" | "card.gradient" | "shadow" | "red-50" | "red-100" | "red-200" | "red-300" | "red-400" | "red-500" | "red-600" | "red-700" | "red-800" | "red-900" | "red-950" | "orange-50" | "orange-100" | "orange-200" | "orange-300" | "orange-400" | "orange-500" | "orange-600" | "orange-700" | "orange-800" | "orange-900" | "orange-950" | "amber-50" | "amber-100" | "amber-200" | "amber-300" | "amber-400" | "amber-500" | "amber-600" | "amber-700" | "amber-800" | "amber-900" | "amber-950" | "yellow-50" | "yellow-100" | "yellow-200" | "yellow-300" | "yellow-400" | "yellow-500" | "yellow-600" | "yellow-700" | "yellow-800" | "yellow-900" | "yellow-950" | "lime-50" | "lime-100" | "lime-200" | "lime-300" | "lime-400" | "lime-500" | "lime-600" | "lime-700" | "lime-800" | "lime-900" | "lime-950" | "green-50" | "green-100" | "green-200" | "green-300" | "green-400" | "green-500" | "green-600" | "green-700" | "green-800" | "green-900" | "green-950" | "emerald-50" | "emerald-100" | "emerald-200" | "emerald-300" | "emerald-400" | "emerald-500" | "emerald-600" | "emerald-700" | "emerald-800" | "emerald-900" | "emerald-950" | "teal-50" | "teal-100" | "teal-200" | "teal-300" | "teal-400" | "teal-500" | "teal-600" | "teal-700" | "teal-800" | "teal-900" | "teal-950" | "cyan-50" | "cyan-100" | "cyan-200" | "cyan-300" | "cyan-400" | "cyan-500" | "cyan-600" | "cyan-700" | "cyan-800" | "cyan-900" | "cyan-950" | "sky-50" | "sky-100" | "sky-200" | "sky-300" | "sky-400" | "sky-500" | "sky-600" | "sky-700" | "sky-800" | "sky-900" | "sky-950" | "blue-50" | "blue-100" | "blue-200" | "blue-300" | "blue-400" | "blue-500" | "blue-600" | "blue-700" | "blue-800" | "blue-900" | "blue-950" | "indigo-50" | "indigo-100" | "indigo-200" | "indigo-300" | "indigo-400" | "indigo-500" | "indigo-600" | "indigo-700" | "indigo-800" | "indigo-900" | "indigo-950" | "violet-50" | "violet-100" | "violet-200" | "violet-300" | "violet-400" | "violet-500" | "violet-600" | "violet-700" | "violet-800" | "violet-900" | "violet-950" | "purple-50" | "purple-100" | "purple-200" | "purple-300" | "purple-400" | "purple-500" | "purple-600" | "purple-700" | "purple-800" | "purple-900" | "purple-950" | "fuchsia-50" | "fuchsia-100" | "fuchsia-200" | "fuchsia-300" | "fuchsia-400" | "fuchsia-500" | "fuchsia-600" | "fuchsia-700" | "fuchsia-800" | "fuchsia-900" | "fuchsia-950" | "pink-50" | "pink-100" | "pink-200" | "pink-300" | "pink-400" | "pink-500" | "pink-600" | "pink-700" | "pink-800" | "pink-900" | "pink-950" | "rose-50" | "rose-100" | "rose-200" | "rose-300" | "rose-400" | "rose-500" | "rose-600" | "rose-700" | "rose-800" | "rose-900" | "rose-950" | "slate-50" | "slate-100" | "slate-200" | "slate-300" | "slate-400" | "slate-500" | "slate-600" | "slate-700" | "slate-800" | "slate-900" | "slate-950" | "gray-50" | "gray-100" | "gray-200" | "gray-300" | "gray-400" | "gray-500" | "gray-600" | "gray-700" | "gray-800" | "gray-900" | "gray-950" | "zinc-50" | "zinc-100" | "zinc-200" | "zinc-300" | "zinc-400" | "zinc-500" | "zinc-600" | "zinc-700" | "zinc-800" | "zinc-900" | "zinc-950" | "neutral-50" | "neutral-100" | "neutral-200" | "neutral-300" | "neutral-400" | "neutral-500" | "neutral-600" | "neutral-700" | "neutral-800" | "neutral-900" | "neutral-950" | "stone-50" | "stone-100" | "stone-200" | "stone-300" | "stone-400" | "stone-500" | "stone-600" | "stone-700" | "stone-800" | "stone-900" | "stone-950" | undefined;
|
|
121
|
+
gradientTo?: "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | "slate" | "gray" | "zinc" | "neutral" | "stone" | "primary" | "secondary" | "muted" | "accent" | "card" | "danger" | "warning" | "success" | "primary-foreground" | "secondary-foreground" | "muted-foreground" | "accent-foreground" | "card-foreground" | "danger-foreground" | "warning-foreground" | "success-foreground" | "background" | "foreground" | "border" | "border.weak" | "card.gradient" | "shadow" | "red-50" | "red-100" | "red-200" | "red-300" | "red-400" | "red-500" | "red-600" | "red-700" | "red-800" | "red-900" | "red-950" | "orange-50" | "orange-100" | "orange-200" | "orange-300" | "orange-400" | "orange-500" | "orange-600" | "orange-700" | "orange-800" | "orange-900" | "orange-950" | "amber-50" | "amber-100" | "amber-200" | "amber-300" | "amber-400" | "amber-500" | "amber-600" | "amber-700" | "amber-800" | "amber-900" | "amber-950" | "yellow-50" | "yellow-100" | "yellow-200" | "yellow-300" | "yellow-400" | "yellow-500" | "yellow-600" | "yellow-700" | "yellow-800" | "yellow-900" | "yellow-950" | "lime-50" | "lime-100" | "lime-200" | "lime-300" | "lime-400" | "lime-500" | "lime-600" | "lime-700" | "lime-800" | "lime-900" | "lime-950" | "green-50" | "green-100" | "green-200" | "green-300" | "green-400" | "green-500" | "green-600" | "green-700" | "green-800" | "green-900" | "green-950" | "emerald-50" | "emerald-100" | "emerald-200" | "emerald-300" | "emerald-400" | "emerald-500" | "emerald-600" | "emerald-700" | "emerald-800" | "emerald-900" | "emerald-950" | "teal-50" | "teal-100" | "teal-200" | "teal-300" | "teal-400" | "teal-500" | "teal-600" | "teal-700" | "teal-800" | "teal-900" | "teal-950" | "cyan-50" | "cyan-100" | "cyan-200" | "cyan-300" | "cyan-400" | "cyan-500" | "cyan-600" | "cyan-700" | "cyan-800" | "cyan-900" | "cyan-950" | "sky-50" | "sky-100" | "sky-200" | "sky-300" | "sky-400" | "sky-500" | "sky-600" | "sky-700" | "sky-800" | "sky-900" | "sky-950" | "blue-50" | "blue-100" | "blue-200" | "blue-300" | "blue-400" | "blue-500" | "blue-600" | "blue-700" | "blue-800" | "blue-900" | "blue-950" | "indigo-50" | "indigo-100" | "indigo-200" | "indigo-300" | "indigo-400" | "indigo-500" | "indigo-600" | "indigo-700" | "indigo-800" | "indigo-900" | "indigo-950" | "violet-50" | "violet-100" | "violet-200" | "violet-300" | "violet-400" | "violet-500" | "violet-600" | "violet-700" | "violet-800" | "violet-900" | "violet-950" | "purple-50" | "purple-100" | "purple-200" | "purple-300" | "purple-400" | "purple-500" | "purple-600" | "purple-700" | "purple-800" | "purple-900" | "purple-950" | "fuchsia-50" | "fuchsia-100" | "fuchsia-200" | "fuchsia-300" | "fuchsia-400" | "fuchsia-500" | "fuchsia-600" | "fuchsia-700" | "fuchsia-800" | "fuchsia-900" | "fuchsia-950" | "pink-50" | "pink-100" | "pink-200" | "pink-300" | "pink-400" | "pink-500" | "pink-600" | "pink-700" | "pink-800" | "pink-900" | "pink-950" | "rose-50" | "rose-100" | "rose-200" | "rose-300" | "rose-400" | "rose-500" | "rose-600" | "rose-700" | "rose-800" | "rose-900" | "rose-950" | "slate-50" | "slate-100" | "slate-200" | "slate-300" | "slate-400" | "slate-500" | "slate-600" | "slate-700" | "slate-800" | "slate-900" | "slate-950" | "gray-50" | "gray-100" | "gray-200" | "gray-300" | "gray-400" | "gray-500" | "gray-600" | "gray-700" | "gray-800" | "gray-900" | "gray-950" | "zinc-50" | "zinc-100" | "zinc-200" | "zinc-300" | "zinc-400" | "zinc-500" | "zinc-600" | "zinc-700" | "zinc-800" | "zinc-900" | "zinc-950" | "neutral-50" | "neutral-100" | "neutral-200" | "neutral-300" | "neutral-400" | "neutral-500" | "neutral-600" | "neutral-700" | "neutral-800" | "neutral-900" | "neutral-950" | "stone-50" | "stone-100" | "stone-200" | "stone-300" | "stone-400" | "stone-500" | "stone-600" | "stone-700" | "stone-800" | "stone-900" | "stone-950" | undefined;
|
|
122
|
+
} & {
|
|
123
|
+
lineHeight?: "sm" | "md" | "lg" | "xl" | "xs" | {
|
|
124
|
+
mobile?: "sm" | "md" | "lg" | "xl" | "xs" | undefined;
|
|
125
|
+
desktop?: "sm" | "md" | "lg" | "xl" | "xs" | undefined;
|
|
126
|
+
} | undefined;
|
|
127
|
+
fontSize?: "1rem" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "xs" | {
|
|
128
|
+
mobile?: "1rem" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "xs" | undefined;
|
|
129
|
+
desktop?: "1rem" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "xs" | undefined;
|
|
130
|
+
} | undefined;
|
|
131
|
+
fontWeight?: "normal" | "black" | "medium" | "thin" | "light" | "bold" | "extraLight" | "semiBold" | "extraBold" | {
|
|
132
|
+
mobile?: "normal" | "black" | "medium" | "thin" | "light" | "bold" | "extraLight" | "semiBold" | "extraBold" | undefined;
|
|
133
|
+
desktop?: "normal" | "black" | "medium" | "thin" | "light" | "bold" | "extraLight" | "semiBold" | "extraBold" | undefined;
|
|
134
|
+
} | undefined;
|
|
135
|
+
letterSpacing?: "1px" | {
|
|
136
|
+
mobile?: "1px" | undefined;
|
|
137
|
+
desktop?: "1px" | undefined;
|
|
138
|
+
} | undefined;
|
|
139
|
+
wordBreak?: "break-word" | "break-all" | "keep-all" | {
|
|
140
|
+
mobile?: "break-word" | "break-all" | "keep-all" | undefined;
|
|
141
|
+
desktop?: "break-word" | "break-all" | "keep-all" | undefined;
|
|
142
|
+
} | undefined;
|
|
143
|
+
textAlign?: "inherit" | "left" | "right" | "center" | {
|
|
144
|
+
mobile?: "inherit" | "left" | "right" | "center" | undefined;
|
|
145
|
+
desktop?: "inherit" | "left" | "right" | "center" | undefined;
|
|
146
|
+
} | undefined;
|
|
147
|
+
} & {
|
|
148
|
+
cursor?: "default" | "not-allowed" | "pointer" | undefined;
|
|
149
|
+
}, "ref"> & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
150
|
//# sourceMappingURL=NavigationContainer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationContainer.d.ts","sourceRoot":"","sources":["../../../src/components/Navigation/NavigationContainer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NavigationContainer.d.ts","sourceRoot":"","sources":["../../../src/components/Navigation/NavigationContainer.tsx"],"names":[],"mappings":"AAWA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kHAa9B,CAAC"}
|
|
@@ -2,10 +2,11 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import { forwardRef } from 'react';
|
|
3
3
|
import { clsx } from '../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js';
|
|
4
4
|
import { container } from './NavigationContainer.css.js';
|
|
5
|
+
import { Container } from '../Container/index.js';
|
|
5
6
|
import { sx } from '../../styles/sx.js';
|
|
6
7
|
|
|
7
8
|
const NavigationContainer = forwardRef(({ children, className, sx: propSx, ...props }, ref) => {
|
|
8
|
-
return (jsx(
|
|
9
|
+
return (jsx(Container, { ref: ref, className: clsx(className, container, sx(propSx)), ...props, children: children }));
|
|
9
10
|
});
|
|
10
11
|
NavigationContainer.displayName = 'NavigationContainer';
|
|
11
12
|
|
|
@@ -22,7 +22,7 @@ const NavigationDrawer = ({ menu, aside }) => {
|
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
}, [isExpanded]);
|
|
25
|
-
return (jsxs(Fragment, { children: [jsxs("div", { className: wide, children: [menu, aside] }), jsxs("div", { className: narrow, children: [jsx(Button, {
|
|
25
|
+
return (jsxs(Fragment, { children: [jsxs("div", { className: wide, children: [menu, aside] }), jsxs("div", { className: narrow, children: [jsx(Button, { color: "secondary", size: "icon-md", variant: "ghost", onClick: handleClick, children: isExpanded ? jsx(X, {}) : jsx(AlignJustify, {}) }), jsx("div", { className: popup({ isVisible: isExpanded }), children: jsxs(Box, { alignItems: "flex-end", flexDirection: "column-reverse", gap: "xl", paddingY: "lg", flex: true, children: [jsx(Box, { width: "100%", onClick: () => setIsExpanded(false), children: menu }), aside] }) })] })] }));
|
|
26
26
|
};
|
|
27
27
|
|
|
28
28
|
export { NavigationDrawer };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UIComponent } from '
|
|
1
|
+
import type { UIComponent } from '#types';
|
|
2
2
|
import * as s from './NavigationItem.css';
|
|
3
3
|
type NavigationItemProps = UIComponent<'div', typeof s.container>;
|
|
4
4
|
export declare const NavigationItem: import("react").ForwardRefExoticComponent<Omit<NavigationItemProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationItem.d.ts","sourceRoot":"","sources":["../../../src/components/Navigation/NavigationItem.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"NavigationItem.d.ts","sourceRoot":"","sources":["../../../src/components/Navigation/NavigationItem.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAE1C,OAAO,KAAK,CAAC,MAAM,sBAAsB,CAAC;AAE1C,KAAK,mBAAmB,GAAG,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC;AAElE,eAAO,MAAM,cAAc,6HAW1B,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { container } from './NavigationItem.css.js';
|
|
|
5
5
|
import { sx } from '../../styles/sx.js';
|
|
6
6
|
|
|
7
7
|
const NavigationItem = forwardRef(({ style, className, sx: propSx, isSelected = false, ...props }, ref) => {
|
|
8
|
-
return (jsx("div", { ref: ref,
|
|
8
|
+
return (jsx("div", { ref: ref, className: clsx(container({ isSelected }), className, sx(propSx)), style: { ...style }, ...props }));
|
|
9
9
|
});
|
|
10
10
|
NavigationItem.displayName = 'NavigationItem';
|
|
11
11
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UIComponent } from '
|
|
1
|
+
import type { UIComponent } from '#types';
|
|
2
2
|
type NavigationLogoProps = UIComponent<'div'>;
|
|
3
3
|
export declare const NavigationLogo: import("react").ForwardRefExoticComponent<Omit<NavigationLogoProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
4
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationLogo.d.ts","sourceRoot":"","sources":["../../../src/components/Navigation/NavigationLogo.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"NavigationLogo.d.ts","sourceRoot":"","sources":["../../../src/components/Navigation/NavigationLogo.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAI1C,KAAK,mBAAmB,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC;AAE9C,eAAO,MAAM,cAAc,6HAe1B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UIComponent } from '
|
|
1
|
+
import type { UIComponent } from '#types';
|
|
2
2
|
import * as s from './NavigationMenu.css';
|
|
3
3
|
type NavigationMenuProps = UIComponent<'div'>;
|
|
4
4
|
export declare const NavigationMenu: import("react").ForwardRefExoticComponent<Omit<NavigationMenuProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationMenu.d.ts","sourceRoot":"","sources":["../../../src/components/Navigation/NavigationMenu.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"NavigationMenu.d.ts","sourceRoot":"","sources":["../../../src/components/Navigation/NavigationMenu.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAE1C,OAAO,KAAK,CAAC,MAAM,sBAAsB,CAAC;AAE1C,KAAK,mBAAmB,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC;AAE9C,eAAO,MAAM,cAAc,6HAU1B,CAAC;AAGF,OAAO,EAAE,CAAC,IAAI,iBAAiB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Range.d.ts","sourceRoot":"","sources":["../../../src/components/Range/Range.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Range.d.ts","sourceRoot":"","sources":["../../../src/components/Range/Range.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAG1C,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,UAAU,UACR,SAAQ,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC;IACzE,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9C;AAED,eAAO,MAAM,KAAK,oHAiEjB,CAAC;AAGF,OAAO,EAAE,CAAC,IAAI,QAAQ,EAAE,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UIComponent } from '
|
|
1
|
+
import type { UIComponent } from '#types';
|
|
2
2
|
import * as s from './ScrollArea.css';
|
|
3
3
|
type ScrollAreaProps = UIComponent<'div'>;
|
|
4
4
|
export declare const ScrollArea: import("react").ForwardRefExoticComponent<Omit<ScrollAreaProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollArea.d.ts","sourceRoot":"","sources":["../../../src/components/ScrollArea/ScrollArea.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ScrollArea.d.ts","sourceRoot":"","sources":["../../../src/components/ScrollArea/ScrollArea.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAE1C,OAAO,KAAK,CAAC,MAAM,kBAAkB,CAAC;AAEtC,KAAK,eAAe,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC;AAE1C,eAAO,MAAM,UAAU,yHAiDtB,CAAC;AAGF,OAAO,EAAE,CAAC,IAAI,aAAa,EAAE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ComponentProps, type CSSProperties, type RefObject } from 'react';
|
|
2
|
-
import type { UIComponent } from '
|
|
2
|
+
import type { UIComponent } from '#types';
|
|
3
3
|
import * as s from './Select.css';
|
|
4
4
|
import SelectTrigger from './SelectTrigger';
|
|
5
5
|
interface SelectProps extends Omit<UIComponent<'div', typeof s.select>, 'ref' | 'onChange'> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAEA,OAAO,EAKL,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAMf,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAEA,OAAO,EAKL,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAMf,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAE1C,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAGlC,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAE5C,UAAU,WACR,SAAQ,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,MAAM,CAAC,EAAE,KAAK,GAAG,UAAU,CAAC;IACrE,GAAG,CAAC,EAAE,SAAS,CAAC;QAAE,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC,CAAC;IAC3C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAC/B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,cAAc,CAAC,OAAO,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC;IAC1D,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC;CAChD;AAED,eAAO,MAAM,MAAM,qHA0ElB,CAAC;AAGF,OAAO,EAAE,CAAC,IAAI,SAAS,EAAE,CAAC"}
|