@kimdw-rtk/ui 0.0.22 → 0.0.23

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.
Files changed (56) hide show
  1. package/dist/components/Accordion/Accordion.js +2 -2
  2. package/dist/components/Accordion/AccordionContent.js +2 -2
  3. package/dist/components/Accordion/AccordionTrigger.js +2 -2
  4. package/dist/components/Alert/index.js +2 -2
  5. package/dist/components/Box/index.js +2 -2
  6. package/dist/components/Button/index.js +3 -3
  7. package/dist/components/Card/Card.js +2 -2
  8. package/dist/components/Card/CardContent.js +2 -2
  9. package/dist/components/Card/CardInteraction.js +2 -2
  10. package/dist/components/Card/CardThumbnail.js +2 -2
  11. package/dist/components/Chip/Chip.js +2 -2
  12. package/dist/components/Confirm/index.js +2 -2
  13. package/dist/components/Dialog/Dialog.js +2 -2
  14. package/dist/components/Dialog/DialogContent.js +2 -2
  15. package/dist/components/Dialog/DialogFooter.js +2 -2
  16. package/dist/components/Dialog/DialogHeader.js +2 -2
  17. package/dist/components/Navigation/NavigationAside.js +2 -2
  18. package/dist/components/Navigation/NavigationBar.js +2 -2
  19. package/dist/components/Navigation/NavigationContainer.js +2 -2
  20. package/dist/components/Navigation/NavigationDrawer.js +2 -2
  21. package/dist/components/Navigation/NavigationItem.js +2 -2
  22. package/dist/components/Navigation/NavigationLogo.js +2 -2
  23. package/dist/components/Navigation/NavigationMenu.js +2 -2
  24. package/dist/components/Range/Range.js +3 -3
  25. package/dist/components/ScrollArea/ScrollArea.js +2 -2
  26. package/dist/components/Select/Select.js +2 -2
  27. package/dist/components/Select/SelectOption.js +2 -2
  28. package/dist/components/Select/SelectOptionList.js +2 -2
  29. package/dist/components/Select/SelectTrigger.js +2 -2
  30. package/dist/components/Skeleton/index.js +2 -2
  31. package/dist/components/Table/Table.js +2 -2
  32. package/dist/components/Table/TableBody.js +2 -2
  33. package/dist/components/Table/TableCell.js +2 -2
  34. package/dist/components/Table/TableHead.js +2 -2
  35. package/dist/components/Table/TableHeader.js +2 -2
  36. package/dist/components/Table/TableRow.js +2 -2
  37. package/dist/components/Tabs/Tabs.js +2 -2
  38. package/dist/components/Tabs/TabsContent.js +2 -2
  39. package/dist/components/Tabs/TabsList.js +2 -2
  40. package/dist/components/Tabs/TabsTrigger.js +2 -2
  41. package/dist/components/TextField/index.js +2 -2
  42. package/dist/components/Toast/index.js +3 -3
  43. package/dist/components/Typography/index.js +2 -2
  44. package/dist/contexts/UIProvider.js +2 -2
  45. package/dist/hooks/useDialog/index.js +3 -3
  46. package/dist/hooks/useRipple/index.js +2 -2
  47. package/dist/hooks/useToast/ToastContainer.js +2 -2
  48. package/dist/hooks/useToast/ToastProvider.js +3 -3
  49. package/package.json +4 -4
  50. package/dist/_virtual/jsx-runtime.js +0 -5
  51. package/dist/_virtual/jsx-runtime2.js +0 -3
  52. package/dist/_virtual/react-jsx-runtime.development.js +0 -3
  53. package/dist/_virtual/react-jsx-runtime.production.min.js +0 -3
  54. package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.development.js +0 -1315
  55. package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -24
  56. package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js +0 -19
@@ -1,4 +1,4 @@
1
- import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
1
+ import { jsx } from 'react/jsx-runtime';
2
2
  import { forwardRef, useReducer } from 'react';
3
3
  import { clsx } from '../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js';
4
4
  import { accordion } from './Accordion.css.js';
@@ -7,7 +7,7 @@ import { sx } from '../../styles/sx.js';
7
7
 
8
8
  const Accordion = forwardRef(({ children, className, isPadding = true, isExpanded: initIsExpaned = false, sx: propSx, ...props }, ref) => {
9
9
  const [isExpanded, dispatch] = useReducer(accordionReducer, initIsExpaned);
10
- return (jsxRuntimeExports.jsx("div", { ref: ref, className: clsx(accordion({ isPadding }), className, sx(propSx)), ...props, children: jsxRuntimeExports.jsx(AccordionContext.Provider, { value: { isExpanded, dispatch }, children: children }) }));
10
+ return (jsx("div", { ref: ref, className: clsx(accordion({ isPadding }), className, sx(propSx)), ...props, children: jsx(AccordionContext.Provider, { value: { isExpanded, dispatch }, children: children }) }));
11
11
  });
12
12
  Accordion.displayName = 'Accordion';
13
13
 
@@ -1,4 +1,4 @@
1
- import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
1
+ import { jsx } from 'react/jsx-runtime';
2
2
  import { useRef, useContext, useLayoutEffect, useEffect } from 'react';
3
3
  import { container, inner } from './AccordionContent.css.js';
4
4
  import { AccordionContext } from './AccordionContext.js';
@@ -50,7 +50,7 @@ const AccordionContent = ({ children }) => {
50
50
  container.removeEventListener('transitionend', handleTransitionEnd);
51
51
  };
52
52
  }, [containerRef, isExpanded]);
53
- return (jsxRuntimeExports.jsx("div", { ref: containerRef, className: container({ isExpanded }), children: jsxRuntimeExports.jsx("div", { className: inner, children: children }) }));
53
+ return (jsx("div", { ref: containerRef, className: container({ isExpanded }), children: jsx("div", { className: inner, children: children }) }));
54
54
  };
55
55
 
56
56
  export { AccordionContent };
@@ -1,4 +1,4 @@
1
- import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
1
+ import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import { useContext } from 'react';
3
3
  import { AccordionContext } from './AccordionContext.js';
4
4
  import { triggerContainer, arrow } from './AccordionTrigger.css.js';
@@ -10,7 +10,7 @@ const AccordionTrigger = ({ children, iconPosition = 'right', }) => {
10
10
  throw new Error('AccordionTrigger must be used within an Accordion component.');
11
11
  }
12
12
  const { dispatch, isExpanded } = accordionContext;
13
- return (jsxRuntimeExports.jsxs("div", { className: triggerContainer({ iconPosition }), "aria-expanded": isExpanded, onClick: () => dispatch(!isExpanded), children: [jsxRuntimeExports.jsx("span", { children: children }), jsxRuntimeExports.jsx("span", { className: arrow({ expand: isExpanded }), children: jsxRuntimeExports.jsx(ChevronDown, { size: "1em" }) })] }));
13
+ return (jsxs("div", { className: triggerContainer({ iconPosition }), "aria-expanded": isExpanded, onClick: () => dispatch(!isExpanded), children: [jsx("span", { children: children }), jsx("span", { className: arrow({ expand: isExpanded }), children: jsx(ChevronDown, { size: "1em" }) })] }));
14
14
  };
15
15
 
16
16
  export { AccordionTrigger };
@@ -1,4 +1,4 @@
1
- import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
1
+ import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import { useOverlay, usePreventKeyboardInput } from '@kimdw-rtk/utils';
3
3
  import { Dialog } from '../Dialog/Dialog.js';
4
4
  import { DialogContent } from '../Dialog/DialogContent.js';
@@ -8,7 +8,7 @@ import { Button } from '../Button/index.js';
8
8
  const Alert = ({ children }) => {
9
9
  const { close } = useOverlay();
10
10
  usePreventKeyboardInput();
11
- return (jsxRuntimeExports.jsxs(Dialog, { children: [jsxRuntimeExports.jsx(DialogContent, { children: children }), jsxRuntimeExports.jsx(DialogFooter, { children: jsxRuntimeExports.jsx(Button, { size: "sm", onClick: close, children: "\uD655\uC778" }) })] }));
11
+ return (jsxs(Dialog, { children: [jsx(DialogContent, { children: children }), jsx(DialogFooter, { children: jsx(Button, { size: "sm", onClick: close, children: "\uD655\uC778" }) })] }));
12
12
  };
13
13
 
14
14
  export { Alert };
@@ -1,4 +1,4 @@
1
- import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
1
+ 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 { box } from './Box.css.js';
@@ -7,7 +7,7 @@ import { sprinkles } from '../../styles/sprinkles.css.js';
7
7
  import { sx } from '../../styles/sx.js';
8
8
 
9
9
  const Box = forwardRef(({ children, flex = false, rounded = false, className, sx: propSx, ...props }, ref) => {
10
- return (jsxRuntimeExports.jsx("div", { ref: ref, className: clsx(className, box({ flex, rounded }), sx(propSx), sprinkles(filterSprinkles(props))), ...omitSprinkles(props), children: children }));
10
+ return (jsx("div", { ref: ref, className: clsx(className, box({ flex, rounded }), sx(propSx), sprinkles(filterSprinkles(props))), ...omitSprinkles(props), children: children }));
11
11
  });
12
12
  Box.displayName = 'Box';
13
13
 
@@ -1,4 +1,4 @@
1
- import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
1
+ import { jsxs, 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 { icon, span, button } from './Button.css.js';
@@ -9,13 +9,13 @@ import { sx } from '../../styles/sx.js';
9
9
 
10
10
  const Button = forwardRef(({ children, color = 'primary', size = 'md', variant = 'contained', pulse = false, className, sx: propSx, icon: icon$1, ...props }, ref) => {
11
11
  const { ripple } = useRipple(ref);
12
- return (jsxRuntimeExports.jsxs("button", { ref: ref, className: clsx(className, button({
12
+ return (jsxs("button", { ref: ref, className: clsx(className, button({
13
13
  color,
14
14
  size,
15
15
  variant,
16
16
  pulse,
17
17
  hasIcon: icon$1 !== undefined,
18
- }), sx(propSx)), ...props, children: [icon$1 !== undefined && jsxRuntimeExports.jsx("span", { className: icon, children: icon$1 }), jsxRuntimeExports.jsx("span", { className: span({ size }), children: children }), ripple] }));
18
+ }), sx(propSx)), ...props, children: [icon$1 !== undefined && jsx("span", { className: icon, children: icon$1 }), jsx("span", { className: span({ size }), children: children }), ripple] }));
19
19
  });
20
20
  Button.displayName = 'Button';
21
21
 
@@ -1,4 +1,4 @@
1
- import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
1
+ 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 { card } from './Card.css.js';
@@ -7,7 +7,7 @@ export { Card_css as cardCss };
7
7
  import { sx } from '../../styles/sx.js';
8
8
 
9
9
  const Card = forwardRef(({ width, height, color = 'card', variant = 'outlined', className, style, sx: propSx, ...props }, ref) => {
10
- return (jsxRuntimeExports.jsx("div", { ref: ref, className: clsx(card({ color, variant }), className, sx(propSx)), style: { width, height, ...style }, ...props }));
10
+ return (jsx("div", { ref: ref, className: clsx(card({ color, variant }), className, sx(propSx)), style: { width, height, ...style }, ...props }));
11
11
  });
12
12
  Card.displayName = 'Card';
13
13
 
@@ -1,11 +1,11 @@
1
- import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
1
+ 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 { cardContent } from './CardContent.css.js';
5
5
  import { sx } from '../../styles/sx.js';
6
6
 
7
7
  const CardContent = forwardRef(({ className, sx: propSx, ...props }, ref) => {
8
- return (jsxRuntimeExports.jsx("div", { ref: ref, className: clsx(cardContent, className, sx(propSx)), ...props }));
8
+ return (jsx("div", { ref: ref, className: clsx(cardContent, className, sx(propSx)), ...props }));
9
9
  });
10
10
  CardContent.displayName = 'CardContent';
11
11
 
@@ -1,4 +1,4 @@
1
- import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
1
+ import { jsxs } 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 { cardInteraction } from './CardInteraction.css.js';
@@ -7,7 +7,7 @@ import { sx } from '../../styles/sx.js';
7
7
 
8
8
  const CardInteraction = forwardRef(({ children, className, sx: propSx, ...props }, ref) => {
9
9
  const { ripple } = useRipple(ref);
10
- return (jsxRuntimeExports.jsxs("div", { ref: ref, className: clsx(className, cardInteraction, cardInteraction, sx(propSx)), ...props, children: [children, ripple] }));
10
+ return (jsxs("div", { ref: ref, className: clsx(className, cardInteraction, cardInteraction, sx(propSx)), ...props, children: [children, ripple] }));
11
11
  });
12
12
  CardInteraction.displayName = 'CardInteraction';
13
13
 
@@ -1,11 +1,11 @@
1
- import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
1
+ 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 { thumbnail } from './CardThumbnail.css.js';
5
5
  import { sx } from '../../styles/sx.js';
6
6
 
7
7
  const CardThumbnail = forwardRef(({ className, sx: propSx, ...props }, ref) => {
8
- return (jsxRuntimeExports.jsx("img", { ref: ref, className: clsx(thumbnail, className, sx(propSx)), ...props }));
8
+ return (jsx("img", { ref: ref, className: clsx(thumbnail, className, sx(propSx)), ...props }));
9
9
  });
10
10
  CardThumbnail.displayName = 'CardThumbnail';
11
11
 
@@ -1,4 +1,4 @@
1
- import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
1
+ 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 { chip } from './Chip.css.js';
@@ -7,7 +7,7 @@ export { Chip_css as chipCss };
7
7
  import { sx } from '../../styles/sx.js';
8
8
 
9
9
  const Chip = forwardRef(({ children, className, color = 'primary', size = 'md', sx: propSx, ...props }, ref) => {
10
- return (jsxRuntimeExports.jsx("div", { ref: ref, className: clsx(chip({ color, size }), className, sx(propSx)), ...props, children: jsxRuntimeExports.jsx("span", { children: children }) }));
10
+ return (jsx("div", { ref: ref, className: clsx(chip({ color, size }), className, sx(propSx)), ...props, children: jsx("span", { children: children }) }));
11
11
  });
12
12
  Chip.displayName = 'Chip';
13
13
 
@@ -1,4 +1,4 @@
1
- import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
1
+ import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import { useImperativeHandle } from 'react';
3
3
  import { useOverlay, usePreventKeyboardInput } from '@kimdw-rtk/utils';
4
4
  import { Box } from '../Box/index.js';
@@ -13,7 +13,7 @@ const Confirm = ({ children, ref, onConfirm, onCancle, }) => {
13
13
  useImperativeHandle(ref, () => ({
14
14
  close,
15
15
  }));
16
- return (jsxRuntimeExports.jsxs(Dialog, { children: [jsxRuntimeExports.jsx(DialogContent, { children: children }), jsxRuntimeExports.jsx(DialogFooter, { children: jsxRuntimeExports.jsxs(Box, { flex: true, gap: "md", children: [jsxRuntimeExports.jsx(Button, { size: "sm", onClick: onConfirm, children: "\uD655\uC778" }), jsxRuntimeExports.jsx(Button, { color: "secondary", size: "sm", onClick: onCancle, children: "\uCDE8\uC18C" })] }) })] }));
16
+ return (jsxs(Dialog, { children: [jsx(DialogContent, { children: children }), jsx(DialogFooter, { children: jsxs(Box, { flex: true, gap: "md", children: [jsx(Button, { size: "sm", onClick: onConfirm, children: "\uD655\uC778" }), jsx(Button, { color: "secondary", size: "sm", onClick: onCancle, children: "\uCDE8\uC18C" })] }) })] }));
17
17
  };
18
18
 
19
19
  export { Confirm };
@@ -1,4 +1,4 @@
1
- import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
1
+ 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 './Dialog.css.js';
@@ -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 (jsxRuntimeExports.jsx(Box, { ref: ref, flex: true, flexDirection: "row", gap: "lg", boxShadow: "border-sm", className: clsx(container, className, sx(propSx)), ...props, children: children }));
9
+ return (jsx(Box, { ref: ref, flex: true, flexDirection: "row", gap: "lg", boxShadow: "border-sm", className: clsx(container, className, sx(propSx)), ...props, children: children }));
10
10
  });
11
11
  Dialog.displayName = 'Dialog';
12
12
 
@@ -1,4 +1,4 @@
1
- import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
1
+ 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 './DialogContent.css.js';
@@ -6,7 +6,7 @@ import { Box } from '../Box/index.js';
6
6
  import { sx } from '../../styles/sx.js';
7
7
 
8
8
  const DialogContent = forwardRef(({ children, className, sx: propSx, ...props }, ref) => {
9
- return (jsxRuntimeExports.jsx(Box, { ref: ref, className: clsx(container, className, sx(propSx)), ...props, children: children }));
9
+ return (jsx(Box, { ref: ref, className: clsx(container, className, sx(propSx)), ...props, children: children }));
10
10
  });
11
11
  DialogContent.displayName = 'DialogContent';
12
12
 
@@ -1,11 +1,11 @@
1
- import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
1
+ 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 { 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 (jsxRuntimeExports.jsx(Box, { ref: ref, flex: true, justifyContent: "flex-end", className: clsx(className, sx(propSx)), ...props, children: children }));
8
+ return (jsx(Box, { ref: ref, flex: true, justifyContent: "flex-end", className: clsx(className, sx(propSx)), ...props, children: children }));
9
9
  });
10
10
  DialogFooter.displayName = 'DialogFooter';
11
11
 
@@ -1,4 +1,4 @@
1
- import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
1
+ import { jsxs, 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 { close, container } from './DialogHeader.css.js';
@@ -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 (jsxRuntimeExports.jsxs(Box, { ref: ref, flex: true, justifyContent: "space-between", alignItems: "center", fontSize: "lg", fontWeight: "normal", className: clsx(container, className, sx(propSx)), ...props, children: [jsxRuntimeExports.jsx("span", { children: children }), jsxRuntimeExports.jsx("button", { className: close, onClick: onCloseClick, "aria-label": "\uB2EB\uAE30", children: jsxRuntimeExports.jsx(X, {}) })] }));
10
+ return (jsxs(Box, { ref: ref, flex: true, justifyContent: "space-between", alignItems: "center", fontSize: "lg", fontWeight: "normal", className: clsx(container, className, sx(propSx)), ...props, children: [jsx("span", { children: children }), jsx("button", { className: close, onClick: onCloseClick, "aria-label": "\uB2EB\uAE30", children: jsx(X, {}) })] }));
11
11
  });
12
12
  DialogHeader.displayName = 'DialogHeader';
13
13
 
@@ -1,11 +1,11 @@
1
- import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
1
+ 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 { wide } from './NavigationAside.css.js';
5
5
  import { sx } from '../../styles/sx.js';
6
6
 
7
7
  const NavigationAside = forwardRef(({ children, className, sx: propSx, ...props }, ref) => {
8
- return (jsxRuntimeExports.jsx("aside", { ref: ref, className: clsx(className, sx(propSx)), ...props, children: jsxRuntimeExports.jsx("div", { className: wide, children: children }) }));
8
+ return (jsx("aside", { ref: ref, className: clsx(className, sx(propSx)), ...props, children: jsx("div", { className: wide, children: children }) }));
9
9
  });
10
10
  NavigationAside.displayName = 'NavigationAside';
11
11
 
@@ -1,4 +1,4 @@
1
- import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
1
+ 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 { navigationBar } from './NavigationBar.css.js';
@@ -7,7 +7,7 @@ export { NavigationBar_css as navigationBarCss };
7
7
  import { sx } from '../../styles/sx.js';
8
8
 
9
9
  const NavigationBar = forwardRef(({ className, size = 'md', sx: propSx, ...props }, ref) => {
10
- return (jsxRuntimeExports.jsx("nav", { ref: ref, className: clsx(navigationBar({ size }), className, sx(propSx)), ...props }));
10
+ return (jsx("nav", { ref: ref, className: clsx(navigationBar({ size }), className, sx(propSx)), ...props }));
11
11
  });
12
12
  NavigationBar.displayName = 'NavigationBar';
13
13
 
@@ -1,11 +1,11 @@
1
- import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
1
+ 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
5
  import { sx } from '../../styles/sx.js';
6
6
 
7
7
  const NavigationContainer = forwardRef(({ children, className, sx: propSx, ...props }, ref) => {
8
- return (jsxRuntimeExports.jsx("div", { ref: ref, className: clsx(className, container, sx(propSx)), ...props, children: children }));
8
+ return (jsx("div", { ref: ref, className: clsx(className, container, sx(propSx)), ...props, children: children }));
9
9
  });
10
10
  NavigationContainer.displayName = 'NavigationContainer';
11
11
 
@@ -1,4 +1,4 @@
1
- import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
1
+ import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
2
2
  import { useState, useEffect } from 'react';
3
3
  import { wide, narrow, popup } from './NavigationDrawer.css.js';
4
4
  import X from '../../node_modules/.pnpm/lucide-react@0.503.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/x.js';
@@ -21,7 +21,7 @@ const NavigationDrawer = ({ menu, aside }) => {
21
21
  }
22
22
  };
23
23
  }, [isExpanded]);
24
- return (jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsxs("div", { className: wide, children: [menu, aside] }), jsxRuntimeExports.jsxs("div", { className: narrow, children: [jsxRuntimeExports.jsx(Button, { size: "icon-md", color: "secondary", variant: "ghost", onClick: handleClick, children: isExpanded ? jsxRuntimeExports.jsx(X, {}) : jsxRuntimeExports.jsx(AlignJustify, {}) }), jsxRuntimeExports.jsx("div", { className: popup({ isVisible: isExpanded }), children: jsxRuntimeExports.jsxs(Box, { flex: true, gap: "xl", flexDirection: "column-reverse", alignItems: "flex-end", paddingY: "lg", children: [jsxRuntimeExports.jsx(Box, { width: "100%", onClick: () => setIsExpanded(false), children: menu }), aside] }) })] })] }));
24
+ return (jsxs(Fragment, { children: [jsxs("div", { className: wide, children: [menu, aside] }), jsxs("div", { className: narrow, children: [jsx(Button, { size: "icon-md", color: "secondary", variant: "ghost", onClick: handleClick, children: isExpanded ? jsx(X, {}) : jsx(AlignJustify, {}) }), jsx("div", { className: popup({ isVisible: isExpanded }), children: jsxs(Box, { flex: true, gap: "xl", flexDirection: "column-reverse", alignItems: "flex-end", paddingY: "lg", children: [jsx(Box, { width: "100%", onClick: () => setIsExpanded(false), children: menu }), aside] }) })] })] }));
25
25
  };
26
26
 
27
27
  export { NavigationDrawer };
@@ -1,11 +1,11 @@
1
- import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
1
+ 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 './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 (jsxRuntimeExports.jsx("div", { ref: ref, style: { ...style }, className: clsx(container({ isSelected }), className, sx(propSx)), ...props }));
8
+ return (jsx("div", { ref: ref, style: { ...style }, className: clsx(container({ isSelected }), className, sx(propSx)), ...props }));
9
9
  });
10
10
  NavigationItem.displayName = 'NavigationItem';
11
11
 
@@ -1,11 +1,11 @@
1
- import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
1
+ 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 { navigationLogo } from './NavigationLogo.css.js';
5
5
  import { sx } from '../../styles/sx.js';
6
6
 
7
7
  const NavigationLogo = forwardRef(({ className, sx: propSx, ...props }, ref) => {
8
- return (jsxRuntimeExports.jsx("div", { ref: ref, className: clsx(navigationLogo, className, sx({ marginRight: { mobile: 'lg', desktop: '3xl' } }), sx(propSx)), ...props }));
8
+ return (jsx("div", { ref: ref, className: clsx(navigationLogo, className, sx({ marginRight: { mobile: 'lg', desktop: '3xl' } }), sx(propSx)), ...props }));
9
9
  });
10
10
  NavigationLogo.displayName = 'NavigationLogo';
11
11
 
@@ -1,4 +1,4 @@
1
- import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
1
+ 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 { navigationMenu } from './NavigationMenu.css.js';
@@ -7,7 +7,7 @@ export { NavigationMenu_css as navigationMenuCss };
7
7
  import { sx } from '../../styles/sx.js';
8
8
 
9
9
  const NavigationMenu = forwardRef(({ className, sx: propSx, ...props }, ref) => {
10
- return (jsxRuntimeExports.jsx("div", { ref: ref, className: clsx(navigationMenu, className, sx(propSx)), ...props }));
10
+ return (jsx("div", { ref: ref, className: clsx(navigationMenu, className, sx(propSx)), ...props }));
11
11
  });
12
12
  NavigationMenu.displayName = 'NavigationMenu';
13
13
 
@@ -1,4 +1,4 @@
1
- import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
1
+ import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import { forwardRef, useRef, useEffect } from 'react';
3
3
  import { clsx } from '../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js';
4
4
  import { usePointerSlider } from '../../hooks/usePointerSlider/index.js';
@@ -30,10 +30,10 @@ const Range = forwardRef(({ min, max, defaultMinValue, defaultMaxValue, onChange
30
30
  onChange(minValue, maxValue);
31
31
  // eslint-disable-next-line
32
32
  }, [minValue, maxValue]);
33
- return (jsxRuntimeExports.jsxs("div", { ref: ref, className: clsx(range({ color, size }), className, sx(propSx)), ...props, children: [jsxRuntimeExports.jsx("div", { className: bar, children: jsxRuntimeExports.jsx("div", { ref: barRef, className: fill, style: {
33
+ return (jsxs("div", { ref: ref, className: clsx(range({ color, size }), className, sx(propSx)), ...props, children: [jsx("div", { className: bar, children: jsx("div", { ref: barRef, className: fill, style: {
34
34
  left: `${((minValue - min) / (max - min)) * 100}%`,
35
35
  right: `${(1 - (maxValue - min) / (max - min)) * 100}%`,
36
- } }) }), jsxRuntimeExports.jsx("span", { ref: leftThumbRef, className: thumb }), jsxRuntimeExports.jsx("span", { ref: rightThumbRef, className: thumb })] }));
36
+ } }) }), jsx("span", { ref: leftThumbRef, className: thumb }), jsx("span", { ref: rightThumbRef, className: thumb })] }));
37
37
  });
38
38
  Range.displayName = 'Range';
39
39
 
@@ -1,4 +1,4 @@
1
- import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
1
+ import { jsx } from 'react/jsx-runtime';
2
2
  import { forwardRef, useRef, useState, useEffect } from 'react';
3
3
  import { useCombinedRefs } from '@kimdw-rtk/utils';
4
4
  import { clsx } from '../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js';
@@ -30,7 +30,7 @@ const ScrollArea = forwardRef(({ children, className, sx: propSx, ...props }, re
30
30
  element.removeEventListener('scroll', handleScroll);
31
31
  };
32
32
  }, []);
33
- return (jsxRuntimeExports.jsx("div", { ref: targetRef, className: clsx(scrollArea, className, sx(propSx), hasLeftSpace && hasRightSpace && maskBoth, hasLeftSpace && maskLeft, hasRightSpace && maskRight), ...props, children: jsxRuntimeExports.jsx("div", { className: wrapper, children: children }) }));
33
+ return (jsx("div", { ref: targetRef, className: clsx(scrollArea, className, sx(propSx), hasLeftSpace && hasRightSpace && maskBoth, hasLeftSpace && maskLeft, hasRightSpace && maskRight), ...props, children: jsx("div", { className: wrapper, children: children }) }));
34
34
  });
35
35
  ScrollArea.displayName = 'ScrollArea';
36
36
 
@@ -1,4 +1,4 @@
1
- import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
1
+ import { jsx, jsxs } from 'react/jsx-runtime';
2
2
  import { forwardRef, useRef, useReducer, useEffect } from 'react';
3
3
  import { useCombinedRefs } from '@kimdw-rtk/utils';
4
4
  import { clsx } from '../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js';
@@ -42,7 +42,7 @@ const Select = forwardRef(({ children, className, style, name, defaultValue, wid
42
42
  onChange(state.selected);
43
43
  //eslint-disable-next-line
44
44
  }, [state.selected]);
45
- return (jsxRuntimeExports.jsx(SelectContext.Provider, { value: { state, dispatch }, children: jsxRuntimeExports.jsxs("div", { ref: targetRef, style: { ...style, width }, className: clsx(select({ size }), className, sx(propSx)), ...props, children: [jsxRuntimeExports.jsx(SelectTrigger, { variant: variant, children: state.selected !== null && state.items.get(state.selected || '') }), jsxRuntimeExports.jsx(SelectOptionList, { children: children }), jsxRuntimeExports.jsx("input", { type: "hidden", name: name, value: state.selected || '' })] }) }));
45
+ return (jsx(SelectContext.Provider, { value: { state, dispatch }, children: jsxs("div", { ref: targetRef, style: { ...style, width }, className: clsx(select({ size }), className, sx(propSx)), ...props, children: [jsx(SelectTrigger, { variant: variant, children: state.selected !== null && state.items.get(state.selected || '') }), jsx(SelectOptionList, { children: children }), jsx("input", { type: "hidden", name: name, value: state.selected || '' })] }) }));
46
46
  });
47
47
  Select.displayName = 'Select';
48
48
 
@@ -1,4 +1,4 @@
1
- import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
1
+ import { jsx } from 'react/jsx-runtime';
2
2
  import { useContext, useEffect } from 'react';
3
3
  import { SelectContext } from './SelectContext.js';
4
4
  import { selectOption } from './SelectOption.css.js';
@@ -19,7 +19,7 @@ const SelectOption = ({ children, value }) => {
19
19
  const handleClick = () => {
20
20
  dispatch({ type: 'SELECT', payload: { value } });
21
21
  };
22
- return (jsxRuntimeExports.jsx("div", { className: selectOption, onClick: handleClick, children: children }));
22
+ return (jsx("div", { className: selectOption, onClick: handleClick, children: children }));
23
23
  };
24
24
 
25
25
  export { SelectOption };
@@ -1,4 +1,4 @@
1
- import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
1
+ import { jsx } from 'react/jsx-runtime';
2
2
  import { useContext, useRef, useMemo } from 'react';
3
3
  import { clsx } from '../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js';
4
4
  import { SelectContext } from './SelectContext.js';
@@ -29,7 +29,7 @@ const SelectOptionList = ({ children }) => {
29
29
  // 그렇지 않으면 parent의 상단/하단 중 공간이 더 넓은 쪽으로 리스트를 보여줌
30
30
  return parentRect.top + parentRect.height / 2 < window.innerHeight / 2;
31
31
  }, [state.isActive, state.containerRef]);
32
- return (jsxRuntimeExports.jsx("div", { ref: containerRef, className: clsx(container({ isVisible: state.isActive, isAbove }), sprinkles({ boxShadow: 'accent-sm' })), children: children }));
32
+ return (jsx("div", { ref: containerRef, className: clsx(container({ isVisible: state.isActive, isAbove }), sprinkles({ boxShadow: 'accent-sm' })), children: children }));
33
33
  };
34
34
 
35
35
  export { SelectOptionList as default };
@@ -1,4 +1,4 @@
1
- import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
1
+ import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import { useContext } from 'react';
3
3
  import { clsx } from '../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js';
4
4
  import { SelectContext } from './SelectContext.js';
@@ -15,7 +15,7 @@ const SelectTrigger = ({ children: children$1, className, variant, sx: propSx, }
15
15
  const handleClick = () => {
16
16
  dispatch({ type: 'TOGGLE' });
17
17
  };
18
- return (jsxRuntimeExports.jsxs("div", { className: clsx(selectTrigger({ isActive: state.isActive, variant }), className, sx(propSx)), onClick: handleClick, children: [jsxRuntimeExports.jsx("span", { className: children, children: children$1 }), jsxRuntimeExports.jsx("span", { className: icon({ isActive: state.isActive }), children: jsxRuntimeExports.jsx(ChevronDown, { size: "1em", strokeWidth: "2px" }) })] }));
18
+ return (jsxs("div", { className: clsx(selectTrigger({ isActive: state.isActive, variant }), className, sx(propSx)), onClick: handleClick, children: [jsx("span", { className: children, children: children$1 }), jsx("span", { className: icon({ isActive: state.isActive }), children: jsx(ChevronDown, { size: "1em", strokeWidth: "2px" }) })] }));
19
19
  };
20
20
 
21
21
  export { SelectTrigger as default };
@@ -1,11 +1,11 @@
1
- import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
1
+ 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 { skeleton } from './Skeleton.css.js';
5
5
  import { sx } from '../../styles/sx.js';
6
6
 
7
7
  const Skeleton = forwardRef(({ className, width, height, style, sx: propSx, ...props }, ref) => {
8
- return (jsxRuntimeExports.jsx("div", { ref: ref, className: clsx(skeleton, className, sx(propSx)), style: { ...style, width, height }, ...props }));
8
+ return (jsx("div", { ref: ref, className: clsx(skeleton, className, sx(propSx)), style: { ...style, width, height }, ...props }));
9
9
  });
10
10
  Skeleton.displayName = 'Skeleton';
11
11
 
@@ -1,4 +1,4 @@
1
- import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
1
+ 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 { striped, table } from './Table.css.js';
@@ -7,7 +7,7 @@ export { Table_css as tableCss };
7
7
  import { sx } from '../../styles/sx.js';
8
8
 
9
9
  const Table = forwardRef(({ isStriped, className, sx: propSx, ...props }, ref) => {
10
- return (jsxRuntimeExports.jsx("table", { ref: ref, className: clsx(table, isStriped && striped, sx(propSx), className), ...props }));
10
+ return (jsx("table", { ref: ref, className: clsx(table, isStriped && striped, sx(propSx), className), ...props }));
11
11
  });
12
12
  Table.displayName = 'Table';
13
13
 
@@ -1,9 +1,9 @@
1
- import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
1
+ import { jsx } from 'react/jsx-runtime';
2
2
  import { clsx } from '../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js';
3
3
  import { sx } from '../../styles/sx.js';
4
4
 
5
5
  const TableBody = ({ className, sx: propSx, ...props }) => {
6
- return jsxRuntimeExports.jsx("tbody", { className: clsx(className, sx(propSx)), ...props });
6
+ return jsx("tbody", { className: clsx(className, sx(propSx)), ...props });
7
7
  };
8
8
 
9
9
  export { TableBody };
@@ -1,10 +1,10 @@
1
- import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
1
+ import { jsx } from 'react/jsx-runtime';
2
2
  import { clsx } from '../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js';
3
3
  import { tableCell } from './TableCell.css.js';
4
4
  import { sx } from '../../styles/sx.js';
5
5
 
6
6
  const TableCell = ({ width, textAlign, style, className, sx: propSx, ...props }) => {
7
- return (jsxRuntimeExports.jsx("td", { style: { ...style, width, textAlign }, className: clsx(tableCell, className, sx(propSx)), ...props }));
7
+ return (jsx("td", { style: { ...style, width, textAlign }, className: clsx(tableCell, className, sx(propSx)), ...props }));
8
8
  };
9
9
 
10
10
  export { TableCell };
@@ -1,10 +1,10 @@
1
- import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
1
+ import { jsx } from 'react/jsx-runtime';
2
2
  import { clsx } from '../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js';
3
3
  import { tableHead } from './TableHead.css.js';
4
4
  import { sx } from '../../styles/sx.js';
5
5
 
6
6
  const TableHead = ({ width, textAlign, style, className, sx: propSx, ...props }) => {
7
- return (jsxRuntimeExports.jsx("th", { style: { ...style, width, textAlign }, className: clsx(tableHead, className, sx(propSx)), ...props }));
7
+ return (jsx("th", { style: { ...style, width, textAlign }, className: clsx(tableHead, className, sx(propSx)), ...props }));
8
8
  };
9
9
 
10
10
  export { TableHead };
@@ -1,9 +1,9 @@
1
- import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
1
+ import { jsx } from 'react/jsx-runtime';
2
2
  import { clsx } from '../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js';
3
3
  import { sx } from '../../styles/sx.js';
4
4
 
5
5
  const TableHeader = ({ className, sx: propSx, ...props }) => {
6
- return jsxRuntimeExports.jsx("thead", { className: clsx(className, sx(propSx)), ...props });
6
+ return jsx("thead", { className: clsx(className, sx(propSx)), ...props });
7
7
  };
8
8
 
9
9
  export { TableHeader };
@@ -1,10 +1,10 @@
1
- import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
1
+ import { jsx } from 'react/jsx-runtime';
2
2
  import { clsx } from '../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js';
3
3
  import { interactive } from './TableRow.css.js';
4
4
  import { sx } from '../../styles/sx.js';
5
5
 
6
6
  const TableRow = ({ isInteractive = false, className, sx: propSx, ...props }) => {
7
- return (jsxRuntimeExports.jsx("tr", { className: clsx(isInteractive && interactive, className, sx(propSx)), ...props }));
7
+ return (jsx("tr", { className: clsx(isInteractive && interactive, className, sx(propSx)), ...props }));
8
8
  };
9
9
 
10
10
  export { TableRow };
@@ -1,4 +1,4 @@
1
- import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
1
+ import { jsx } from 'react/jsx-runtime';
2
2
  import { forwardRef, useReducer } from 'react';
3
3
  import { clsx } from '../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js';
4
4
  import { tabsReducer, TabsContext } from './TabsProvider.js';
@@ -6,7 +6,7 @@ import { sx } from '../../styles/sx.js';
6
6
 
7
7
  const Tabs = forwardRef(({ children, defaultValue, className, sx: propSx, ...props }, ref) => {
8
8
  const [value, setValue] = useReducer(tabsReducer, defaultValue);
9
- return (jsxRuntimeExports.jsx(TabsContext.Provider, { value: { value, setValue }, children: jsxRuntimeExports.jsx("div", { ref: ref, className: clsx(className, sx(propSx)), style: { width: '100%' }, ...props, children: children }) }));
9
+ return (jsx(TabsContext.Provider, { value: { value, setValue }, children: jsx("div", { ref: ref, className: clsx(className, sx(propSx)), style: { width: '100%' }, ...props, children: children }) }));
10
10
  });
11
11
  Tabs.displayName = 'Tabs';
12
12