@lotte-innovate/ui-component-test 0.1.124 → 0.1.126
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/globals.css +1 -1
- 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/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/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/Toast/index.mjs.map +1 -1
- package/dist/lib/components/ToggleGroup/index.mjs.map +1 -1
- package/dist/lib/components/index.d.ts +0 -1
- package/dist/lib/components/index.js +0 -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/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -5
- package/_virtual/icons.mjs +0 -2
- package/_virtual/icons.mjs.map +0 -1
- package/_virtual/index.mjs +0 -2
- package/_virtual/index.mjs.map +0 -1
- package/_virtual/index10.mjs +0 -2
- package/_virtual/index10.mjs.map +0 -1
- package/_virtual/index11.mjs +0 -2
- package/_virtual/index11.mjs.map +0 -1
- package/_virtual/index12.mjs +0 -2
- package/_virtual/index12.mjs.map +0 -1
- package/_virtual/index13.mjs +0 -2
- package/_virtual/index13.mjs.map +0 -1
- package/_virtual/index14.mjs +0 -2
- package/_virtual/index14.mjs.map +0 -1
- package/_virtual/index15.mjs +0 -2
- package/_virtual/index15.mjs.map +0 -1
- package/_virtual/index16.mjs +0 -2
- package/_virtual/index16.mjs.map +0 -1
- package/_virtual/index17.mjs +0 -2
- package/_virtual/index17.mjs.map +0 -1
- package/_virtual/index18.mjs +0 -2
- package/_virtual/index18.mjs.map +0 -1
- package/_virtual/index19.mjs +0 -2
- package/_virtual/index19.mjs.map +0 -1
- package/_virtual/index2.mjs +0 -2
- package/_virtual/index2.mjs.map +0 -1
- package/_virtual/index20.mjs +0 -2
- package/_virtual/index20.mjs.map +0 -1
- package/_virtual/index3.mjs +0 -2
- package/_virtual/index3.mjs.map +0 -1
- package/_virtual/index4.mjs +0 -2
- package/_virtual/index4.mjs.map +0 -1
- package/_virtual/index5.mjs +0 -2
- package/_virtual/index5.mjs.map +0 -1
- package/_virtual/index6.mjs +0 -2
- package/_virtual/index6.mjs.map +0 -1
- package/_virtual/index7.mjs +0 -2
- package/_virtual/index7.mjs.map +0 -1
- package/_virtual/index8.mjs +0 -2
- package/_virtual/index8.mjs.map +0 -1
- package/_virtual/index9.mjs +0 -2
- package/_virtual/index9.mjs.map +0 -1
- package/_virtual/model.mjs +0 -2
- package/_virtual/model.mjs.map +0 -1
- package/_virtual/plugin.mjs +0 -2
- package/_virtual/plugin.mjs.map +0 -1
- package/_virtual/plugin2.mjs +0 -2
- package/_virtual/plugin2.mjs.map +0 -1
- package/_virtual/plugin3.mjs +0 -2
- package/_virtual/plugin3.mjs.map +0 -1
- package/_virtual/plugin4.mjs +0 -2
- package/_virtual/plugin4.mjs.map +0 -1
- package/_virtual/plugin5.mjs +0 -2
- package/_virtual/plugin5.mjs.map +0 -1
- package/_virtual/plugin6.mjs +0 -2
- package/_virtual/plugin6.mjs.map +0 -1
- package/_virtual/plugin7.mjs +0 -2
- package/_virtual/plugin7.mjs.map +0 -1
- package/_virtual/theme.mjs +0 -2
- package/_virtual/theme.mjs.map +0 -1
- package/_virtual/tinymce.mjs +0 -2
- package/_virtual/tinymce.mjs.map +0 -1
- package/_virtual/tinymce2.mjs +0 -2
- package/_virtual/tinymce2.mjs.map +0 -1
- 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
- package/public/tinymce/CHANGELOG.md +0 -3453
- package/public/tinymce/README.md +0 -73
- package/public/tinymce/bower.json +0 -27
- package/public/tinymce/composer.json +0 -52
- package/public/tinymce/icons/default/icons.js +0 -194
- package/public/tinymce/icons/default/icons.min.js +0 -1
- package/public/tinymce/icons/default/index.js +0 -7
- package/public/tinymce/license.txt +0 -21
- package/public/tinymce/models/dom/index.js +0 -7
- package/public/tinymce/models/dom/model.js +0 -8040
- package/public/tinymce/models/dom/model.min.js +0 -4
- package/public/tinymce/package.json +0 -32
- package/public/tinymce/plugins/advlist/index.js +0 -7
- package/public/tinymce/plugins/advlist/plugin.js +0 -259
- package/public/tinymce/plugins/advlist/plugin.min.js +0 -4
- package/public/tinymce/plugins/autolink/index.js +0 -7
- package/public/tinymce/plugins/autolink/plugin.js +0 -228
- package/public/tinymce/plugins/autolink/plugin.min.js +0 -4
- package/public/tinymce/plugins/code/index.js +0 -7
- package/public/tinymce/plugins/code/plugin.js +0 -85
- package/public/tinymce/plugins/code/plugin.min.js +0 -4
- package/public/tinymce/plugins/codesample/index.js +0 -7
- package/public/tinymce/plugins/codesample/plugin.js +0 -2463
- package/public/tinymce/plugins/codesample/plugin.min.js +0 -4
- package/public/tinymce/plugins/image/index.js +0 -7
- package/public/tinymce/plugins/image/plugin.js +0 -1505
- package/public/tinymce/plugins/image/plugin.min.js +0 -4
- package/public/tinymce/plugins/link/index.js +0 -7
- package/public/tinymce/plugins/link/plugin.js +0 -1242
- package/public/tinymce/plugins/link/plugin.min.js +0 -4
- package/public/tinymce/plugins/lists/index.js +0 -7
- package/public/tinymce/plugins/lists/plugin.js +0 -2172
- package/public/tinymce/plugins/lists/plugin.min.js +0 -4
- package/public/tinymce/plugins/table/index.js +0 -7
- package/public/tinymce/plugins/table/plugin.js +0 -3462
- package/public/tinymce/plugins/table/plugin.min.js +0 -4
- package/public/tinymce/skins/content/default/content.css +0 -61
- package/public/tinymce/skins/content/default/content.js +0 -2
- package/public/tinymce/skins/content/default/content.min.css +0 -1
- package/public/tinymce/skins/ui/oxide/content.css +0 -785
- package/public/tinymce/skins/ui/oxide/content.inline.css +0 -779
- package/public/tinymce/skins/ui/oxide/content.inline.js +0 -2
- package/public/tinymce/skins/ui/oxide/content.inline.min.css +0 -1
- package/public/tinymce/skins/ui/oxide/content.js +0 -2
- package/public/tinymce/skins/ui/oxide/content.min.css +0 -1
- package/public/tinymce/skins/ui/oxide/skin.css +0 -3763
- package/public/tinymce/skins/ui/oxide/skin.js +0 -2
- package/public/tinymce/skins/ui/oxide/skin.min.css +0 -1
- package/public/tinymce/skins/ui/oxide/skin.shadowdom.css +0 -30
- package/public/tinymce/skins/ui/oxide/skin.shadowdom.js +0 -2
- package/public/tinymce/skins/ui/oxide/skin.shadowdom.min.css +0 -1
- package/public/tinymce/skins/ui/oxide-dark/content.css +0 -766
- package/public/tinymce/skins/ui/oxide-dark/content.inline.css +0 -779
- package/public/tinymce/skins/ui/oxide-dark/content.inline.js +0 -2
- package/public/tinymce/skins/ui/oxide-dark/content.inline.min.css +0 -1
- package/public/tinymce/skins/ui/oxide-dark/content.js +0 -2
- package/public/tinymce/skins/ui/oxide-dark/content.min.css +0 -1
- package/public/tinymce/skins/ui/oxide-dark/skin.css +0 -3766
- package/public/tinymce/skins/ui/oxide-dark/skin.js +0 -2
- package/public/tinymce/skins/ui/oxide-dark/skin.min.css +0 -1
- package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.css +0 -30
- package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +0 -2
- package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +0 -1
- package/public/tinymce/themes/silver/index.js +0 -7
- package/public/tinymce/themes/silver/theme.js +0 -30775
- package/public/tinymce/themes/silver/theme.min.js +0 -384
- package/public/tinymce/tinymce.d.ts +0 -3238
- package/public/tinymce/tinymce.js +0 -31779
- package/public/tinymce/tinymce.min.js +0 -384
@@ -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"}
|