@lotte-innovate/ui-component-test 0.1.125 → 0.1.126

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. package/dist/globals.css +1 -1
  2. package/dist/lib/color/alpha.mjs.map +1 -1
  3. package/dist/lib/color/constants.mjs.map +1 -1
  4. package/dist/lib/color/light.mjs.map +1 -1
  5. package/dist/lib/components/AlertDialog/index.mjs.map +1 -1
  6. package/dist/lib/components/BarChart/index.mjs.map +1 -1
  7. package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs.map +1 -1
  8. package/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs.map +1 -1
  9. package/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs.map +1 -1
  10. package/dist/lib/components/Breadcrumb/BreadcrumbList.mjs.map +1 -1
  11. package/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs.map +1 -1
  12. package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs.map +1 -1
  13. package/dist/lib/components/Breadcrumb/index.mjs.map +1 -1
  14. package/dist/lib/components/BubbleChart/index.mjs.map +1 -1
  15. package/dist/lib/components/Callout/index.mjs.map +1 -1
  16. package/dist/lib/components/CheckboxGroup/index.mjs.map +1 -1
  17. package/dist/lib/components/ContextMenu/ContextMenuGroup.mjs.map +1 -1
  18. package/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs.map +1 -1
  19. package/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs.map +1 -1
  20. package/dist/lib/components/ContextMenu/index.mjs.map +1 -1
  21. package/dist/lib/components/DataList/index.mjs.map +1 -1
  22. package/dist/lib/components/Dialog/DialogTrigger.mjs.map +1 -1
  23. package/dist/lib/components/Dialog/index.mjs.map +1 -1
  24. package/dist/lib/components/DoughnutChart/index.mjs.map +1 -1
  25. package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs.map +1 -1
  26. package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs.map +1 -1
  27. package/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs.map +1 -1
  28. package/dist/lib/components/DropdownMenu/index.mjs.map +1 -1
  29. package/dist/lib/components/Editor/index.d.ts +14 -14
  30. package/dist/lib/components/Editor/index.js +15 -15
  31. package/dist/lib/components/Gnb/GnbLogo.js +0 -1
  32. package/dist/lib/components/Gnb/GnbLogo.mjs +0 -1
  33. package/dist/lib/components/Gnb/GnbLogo.mjs.map +1 -1
  34. package/dist/lib/components/Gnb/index.mjs.map +1 -1
  35. package/dist/lib/components/Grid/Pagination.mjs.map +1 -1
  36. package/dist/lib/components/HoverCard/HoverCardTrigger.mjs.map +1 -1
  37. package/dist/lib/components/HoverCard/index.mjs.map +1 -1
  38. package/dist/lib/components/Label/index.d.ts +2 -0
  39. package/dist/lib/components/Label/index.js +3 -3
  40. package/dist/lib/components/Label/index.mjs +1 -1
  41. package/dist/lib/components/LineChart/index.mjs.map +1 -1
  42. package/dist/lib/components/Menubar/MenubarMenu.mjs.map +1 -1
  43. package/dist/lib/components/Menubar/MenubarSeparator.mjs.map +1 -1
  44. package/dist/lib/components/Menubar/MenubarSub.mjs.map +1 -1
  45. package/dist/lib/components/Menubar/index.mjs.map +1 -1
  46. package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs.map +1 -1
  47. package/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs.map +1 -1
  48. package/dist/lib/components/NavigationMenu/index.mjs.map +1 -1
  49. package/dist/lib/components/PieChart/index.mjs.map +1 -1
  50. package/dist/lib/components/Popover/PopoverTrigger.mjs.map +1 -1
  51. package/dist/lib/components/Popover/index.mjs.map +1 -1
  52. package/dist/lib/components/RadarChart/index.mjs.map +1 -1
  53. package/dist/lib/components/RadioCards/index.mjs.map +1 -1
  54. package/dist/lib/components/RadioGroup/index.mjs.map +1 -1
  55. package/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs.map +1 -1
  56. package/dist/lib/components/SegmentedControl/index.mjs.map +1 -1
  57. package/dist/lib/components/SideBar/index.d.ts +21 -0
  58. package/dist/lib/components/SideBar/index.js +71 -0
  59. package/dist/lib/components/Toast/index.mjs.map +1 -1
  60. package/dist/lib/components/ToggleGroup/index.mjs.map +1 -1
  61. package/dist/lib/components/index.d.ts +0 -1
  62. package/dist/lib/components/index.js +0 -1
  63. package/dist/lib/constants.mjs.map +1 -1
  64. package/dist/lib/index.mjs +1 -1
  65. package/dist/lib/tailwind.config.d.ts +3 -0
  66. package/dist/lib/tsconfig.tsbuildinfo +1 -0
  67. package/dist/lib/utils/useWindowSize.d.ts +1 -0
  68. package/dist/lib/utils/useWindowSize.js +17 -0
  69. package/dist/lib/utils/utils.mjs.map +1 -1
  70. package/dist/tsconfig.tsbuildinfo +1 -1
  71. package/package.json +3 -3
  72. package/dist/lib/components/Editor/index copy.d.ts +0 -26
  73. package/dist/lib/components/Editor/index copy.js +0 -120
  74. package/dist/lib/components/Editor/index.mjs +0 -3
  75. package/dist/lib/components/Editor/index.mjs.map +0 -1
@@ -0,0 +1 @@
1
+ export declare function useWindowSize(): number;
@@ -0,0 +1,17 @@
1
+ import { useState, useEffect } from 'react';
2
+ var MIN_SIZE = 250;
3
+ export function useWindowSize() {
4
+ var _a = useState(MIN_SIZE), size = _a[0], setSize = _a[1];
5
+ useEffect(function () {
6
+ function handleResize() {
7
+ var width = 130 + window.innerWidth * 0.15;
8
+ width = Math.max(width, MIN_SIZE);
9
+ width = Math.min(width, 300);
10
+ setSize(width);
11
+ }
12
+ window.addEventListener('resize', handleResize);
13
+ handleResize();
14
+ return function () { return window.removeEventListener('resize', handleResize); };
15
+ }, []);
16
+ return size;
17
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"utils.mjs","sources":["../../../../lib/utils/utils.js"],"sourcesContent":["import { clsx } from 'clsx';\nimport { twMerge } from 'tailwind-merge';\n// tailwind를 merge할 때 발생할 수 있는 클래스 충돌 문제 해결\nexport function cn() {\n var inputs = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n inputs[_i] = arguments[_i];\n }\n return twMerge(clsx(inputs));\n}\n"],"names":["cn","inputs","_i","arguments","length","twMerge","clsx"],"mappings":"qEAGO,SAASA,IAEZ,IADA,IAAIC,EAAS,GACJC,EAAK,EAAGA,EAAKC,UAAUC,OAAQF,IACpCD,EAAOC,GAAMC,UAAUD,GAE3B,OAAOG,EAAQC,EAAKL,GACxB"}
1
+ {"version":3,"file":"utils.mjs","sources":["../../lib/utils/utils.js"],"sourcesContent":["import { clsx } from 'clsx';\nimport { twMerge } from 'tailwind-merge';\n// tailwind를 merge할 때 발생할 수 있는 클래스 충돌 문제 해결\nexport function cn() {\n var inputs = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n inputs[_i] = arguments[_i];\n }\n return twMerge(clsx(inputs));\n}\n"],"names":["cn","inputs","_i","arguments","length","twMerge","clsx"],"mappings":"qEAGO,SAASA,IAEZ,IADA,IAAIC,EAAS,GACJC,EAAK,EAAGA,EAAKC,UAAUC,OAAQF,IACpCD,EAAOC,GAAMC,UAAUD,GAE3B,OAAOG,EAAQC,EAAKL,GACxB"}