@lotte-innovate/ui-component-test 0.1.125 → 0.1.127-beta.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +222 -222
- package/dist/globals.css +4 -4
- package/dist/lib/color/alpha.mjs.map +1 -1
- package/dist/lib/color/constants.mjs.map +1 -1
- package/dist/lib/color/light.mjs.map +1 -1
- package/dist/lib/components/AlertDialog/index.mjs.map +1 -1
- package/dist/lib/components/BarChart/index.mjs.map +1 -1
- package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs.map +1 -1
- package/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs.map +1 -1
- package/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs.map +1 -1
- package/dist/lib/components/Breadcrumb/BreadcrumbList.mjs.map +1 -1
- package/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs.map +1 -1
- package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs.map +1 -1
- package/dist/lib/components/Breadcrumb/index.mjs.map +1 -1
- package/dist/lib/components/BubbleChart/index.mjs.map +1 -1
- package/dist/lib/components/Callout/index.mjs.map +1 -1
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.d.ts +6 -2
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.js +18 -3
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs +1 -1
- package/dist/lib/components/CheckboxGroup/index.mjs.map +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuGroup.mjs.map +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs.map +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs.map +1 -1
- package/dist/lib/components/ContextMenu/index.mjs.map +1 -1
- package/dist/lib/components/DataList/index.mjs.map +1 -1
- package/dist/lib/components/Dialog/DialogTrigger.mjs.map +1 -1
- package/dist/lib/components/Dialog/index.mjs.map +1 -1
- package/dist/lib/components/DoughnutChart/index.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/index.mjs.map +1 -1
- package/dist/lib/components/Editor/index.d.ts +14 -14
- package/dist/lib/components/Editor/index.js +15 -15
- package/dist/lib/components/Gnb/GnbLogo.js +0 -1
- package/dist/lib/components/Gnb/GnbLogo.mjs +0 -1
- package/dist/lib/components/Gnb/GnbLogo.mjs.map +1 -1
- package/dist/lib/components/Gnb/index.mjs.map +1 -1
- package/dist/lib/components/Grid/Pagination.mjs.map +1 -1
- package/dist/lib/components/Grid/useGrid.js +8 -4
- package/dist/lib/components/Grid/useGrid.mjs +1 -1
- package/dist/lib/components/HoverCard/HoverCardTrigger.mjs.map +1 -1
- package/dist/lib/components/HoverCard/index.mjs.map +1 -1
- package/dist/lib/components/Label/index.d.ts +2 -0
- package/dist/lib/components/Label/index.js +3 -3
- package/dist/lib/components/Label/index.mjs +1 -1
- package/dist/lib/components/LineChart/index.mjs.map +1 -1
- package/dist/lib/components/Menubar/MenubarMenu.mjs.map +1 -1
- package/dist/lib/components/Menubar/MenubarSeparator.mjs.map +1 -1
- package/dist/lib/components/Menubar/MenubarSub.mjs.map +1 -1
- package/dist/lib/components/Menubar/index.mjs.map +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs.map +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs.map +1 -1
- package/dist/lib/components/NavigationMenu/index.mjs.map +1 -1
- package/dist/lib/components/PieChart/index.mjs.map +1 -1
- package/dist/lib/components/Popover/PopoverTrigger.mjs.map +1 -1
- package/dist/lib/components/Popover/index.mjs.map +1 -1
- package/dist/lib/components/RadarChart/index.mjs.map +1 -1
- package/dist/lib/components/RadioCards/index.mjs.map +1 -1
- package/dist/lib/components/RadioGroup/index.mjs.map +1 -1
- package/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs.map +1 -1
- package/dist/lib/components/SegmentedControl/index.mjs.map +1 -1
- package/dist/lib/components/SideBar/index.d.ts +21 -0
- package/dist/lib/components/SideBar/index.js +71 -0
- package/dist/lib/components/Timeline/TimelineConnector.js +1 -3
- package/dist/lib/components/Timeline/TimelineConnector.mjs +2 -0
- package/dist/lib/components/Timeline/TimelineConnector.mjs.map +1 -0
- package/dist/lib/components/Timeline/TimelineContent.mjs +2 -0
- package/dist/lib/components/Timeline/TimelineContent.mjs.map +1 -0
- package/dist/lib/components/Timeline/TimelineDescription.mjs +2 -0
- package/dist/lib/components/Timeline/TimelineDescription.mjs.map +1 -0
- package/dist/lib/components/Timeline/TimelineHeader.mjs +2 -0
- package/dist/lib/components/Timeline/TimelineHeader.mjs.map +1 -0
- package/dist/lib/components/Timeline/TimelineIcon.js +4 -3
- package/dist/lib/components/Timeline/TimelineIcon.mjs +3 -0
- package/dist/lib/components/Timeline/TimelineIcon.mjs.map +1 -0
- package/dist/lib/components/Timeline/TimelineItem.js +1 -1
- package/dist/lib/components/Timeline/TimelineItem.mjs +2 -0
- package/dist/lib/components/Timeline/TimelineItem.mjs.map +1 -0
- package/dist/lib/components/Timeline/TimelineRoot.js +5 -5
- package/dist/lib/components/Timeline/TimelineRoot.mjs +3 -0
- package/dist/lib/components/Timeline/TimelineRoot.mjs.map +1 -0
- package/dist/lib/components/Timeline/TimelineTime.d.ts +3 -1
- package/dist/lib/components/Timeline/TimelineTime.js +16 -4
- package/dist/lib/components/Timeline/TimelineTime.mjs +3 -0
- package/dist/lib/components/Timeline/TimelineTime.mjs.map +1 -0
- package/dist/lib/components/Timeline/TimelineTitle.d.ts +3 -1
- package/dist/lib/components/Timeline/TimelineTitle.js +16 -4
- package/dist/lib/components/Timeline/TimelineTitle.mjs +3 -0
- package/dist/lib/components/Timeline/TimelineTitle.mjs.map +1 -0
- package/dist/lib/components/Timeline/index.mjs +2 -0
- package/dist/lib/components/Timeline/index.mjs.map +1 -0
- package/dist/lib/components/Toast/index.mjs.map +1 -1
- package/dist/lib/components/ToggleGroup/index.mjs.map +1 -1
- package/dist/lib/components/index.d.ts +1 -1
- package/dist/lib/components/index.js +1 -1
- package/dist/lib/constants.mjs +1 -1
- package/dist/lib/constants.mjs.map +1 -1
- package/dist/lib/index.mjs +1 -1
- package/dist/lib/tailwind.config.d.ts +3 -0
- package/dist/lib/tsconfig.tsbuildinfo +1 -0
- package/dist/lib/utils/useWindowSize.d.ts +1 -0
- package/dist/lib/utils/useWindowSize.js +17 -0
- package/dist/lib/utils/utils.mjs.map +1 -1
- package/dist/tailwind.config.js +3 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +147 -147
- package/dist/lib/components/Editor/index copy.d.ts +0 -26
- package/dist/lib/components/Editor/index copy.js +0 -120
- package/dist/lib/components/Editor/index.mjs +0 -3
- 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":["
|
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"}
|
package/dist/tailwind.config.js
CHANGED
@@ -87,6 +87,9 @@ var config = {
|
|
87
87
|
'card-dark-classic': '0px 0px 0px 0.5px #414142, 0px 1px 4px 0px #414142, 0px 2px 1px -1px #414142, 0px 1px 3px 0px #414142',
|
88
88
|
'segmented-control-dark-classic': '0px 0px 0px 0.5px #0000000D, 0px 1px 4px 0px #363636, 0px 2px 1px -1px #0000000D, 0px 1px 3px 0px #0000000D',
|
89
89
|
},
|
90
|
+
flex: {
|
91
|
+
'6': '6 6 0%',
|
92
|
+
},
|
90
93
|
},
|
91
94
|
},
|
92
95
|
plugins: [
|