@lotte-innovate/ui-component-test 0.0.6 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +163 -163
- package/dist/Typography/Header/index.d.ts +1 -1
- package/dist/Typography/Header/index.jsx +4 -4
- package/dist/Typography/Text/index.d.ts +1 -1
- package/dist/Typography/Text/index.jsx +4 -4
- package/dist/Typography/index.js +3 -2
- package/dist/app/layout.jsx +2 -2
- package/dist/app/page.d.ts +1 -1
- package/dist/app/page.jsx +3 -39
- package/dist/app/template/badgeTemplate.jsx +71 -71
- package/dist/app/template/buttonTemplate.jsx +71 -71
- package/dist/app/template/colorPicker.jsx +6 -6
- package/dist/app/template/textTemplate.jsx +55 -55
- package/dist/app/template/theme.jsx +32 -32
- package/dist/components/Accordion/index.jsx +13 -13
- package/dist/components/AlertDialog/AlertDialogAction.jsx +2 -2
- package/dist/components/AlertDialog/AlertDialogCancel.jsx +2 -2
- package/dist/components/AlertDialog/AlertDialogContent.jsx +5 -5
- package/dist/components/AlertDialog/AlertDialogDescription.jsx +2 -2
- package/dist/components/AlertDialog/AlertDialogTitle.jsx +2 -2
- package/dist/components/AlertDialog/AlertDialogTrigger.jsx +2 -2
- package/dist/components/AspectRatio/index.jsx +2 -2
- package/dist/components/Avatar/index.jsx +5 -5
- package/dist/components/Badge/index.jsx +2 -2
- package/dist/components/BubbleChart/index.d.ts +1 -1
- package/dist/components/Button/index.jsx +2 -2
- package/dist/components/Callout/CalloutIcon.jsx +6 -6
- package/dist/components/Callout/CalloutText.jsx +2 -2
- package/dist/components/Callout/index.jsx +4 -4
- package/dist/components/Card/index.jsx +2 -2
- package/dist/components/Checkbox/index.jsx +9 -9
- package/dist/components/CheckboxCard/index.jsx +3 -3
- package/dist/components/CheckboxGroup/CheckboxGroupItem.jsx +4 -4
- package/dist/components/CheckboxGroup/index.jsx +4 -4
- package/dist/components/ContextMenu/ContextMenuCheckboxItem.jsx +5 -5
- package/dist/components/ContextMenu/ContextMenuContent.jsx +4 -4
- package/dist/components/ContextMenu/ContextMenuGroup.jsx +2 -2
- package/dist/components/ContextMenu/ContextMenuItem.jsx +3 -3
- package/dist/components/ContextMenu/ContextMenuItemIndicator.jsx +2 -2
- package/dist/components/ContextMenu/ContextMenuLabel.jsx +2 -2
- package/dist/components/ContextMenu/ContextMenuRadioGroup.jsx +4 -4
- package/dist/components/ContextMenu/ContextMenuRadioItem.jsx +5 -5
- package/dist/components/ContextMenu/ContextMenuSeparator.jsx +2 -2
- package/dist/components/ContextMenu/ContextMenuSubContent.jsx +4 -4
- package/dist/components/ContextMenu/ContextMenuSubTrigger.jsx +7 -7
- package/dist/components/ContextMenu/ContextMenuTrigger.jsx +2 -2
- package/dist/components/ContextMenu/index.jsx +2 -2
- package/dist/components/DataList/DataListItem.jsx +2 -2
- package/dist/components/DataList/DataListLabel.jsx +2 -2
- package/dist/components/DataList/DataListValue.jsx +2 -2
- package/dist/components/DataList/index.jsx +4 -4
- package/dist/components/Dialog/DialogAction.jsx +2 -2
- package/dist/components/Dialog/DialogCancel.jsx +2 -2
- package/dist/components/Dialog/DialogContent.jsx +2 -2
- package/dist/components/Dialog/DialogDescription.jsx +2 -2
- package/dist/components/Dialog/DialogSlot.jsx +2 -2
- package/dist/components/Dialog/DialogTitle.jsx +2 -2
- package/dist/components/Dialog/DialogTrigger.jsx +2 -2
- package/dist/components/Dialog/index.jsx +2 -2
- package/dist/components/DropdownMenu/DropdonMenuRadioGroup.jsx +4 -4
- package/dist/components/DropdownMenu/DropdonMenuSubContent.jsx +4 -4
- package/dist/components/DropdownMenu/DropdownMenuCheckboxItem.jsx +5 -5
- package/dist/components/DropdownMenu/DropdownMenuContent.jsx +4 -4
- package/dist/components/DropdownMenu/DropdownMenuItem.jsx +3 -3
- package/dist/components/DropdownMenu/DropdownMenuItemIndicator.jsx +2 -2
- package/dist/components/DropdownMenu/DropdownMenuLable.jsx +2 -2
- package/dist/components/DropdownMenu/DropdownMenuRadioItem.jsx +5 -5
- package/dist/components/DropdownMenu/DropdownMenuSubTrigger.jsx +5 -5
- package/dist/components/DropdownMenu/DropdownMenuTrigger.jsx +2 -2
- package/dist/components/HoverCard/HoverCardContent.jsx +2 -2
- package/dist/components/HoverCard/HoverCardTrigger.jsx +2 -2
- package/dist/components/HoverCard/index.jsx +2 -2
- package/dist/components/IconButton/index.jsx +2 -2
- package/dist/components/Input/Input.stories.jsx +6 -6
- package/dist/components/Inset/index.jsx +4 -4
- package/dist/components/Label/index.jsx +2 -2
- package/dist/components/Menubar/MenubarCheckboxItem.jsx +5 -5
- package/dist/components/Menubar/MenubarContent.jsx +4 -4
- package/dist/components/Menubar/MenubarItem.jsx +3 -3
- package/dist/components/Menubar/MenubarItemIndicator.jsx +2 -2
- package/dist/components/Menubar/MenubarRadioGroup.jsx +4 -4
- package/dist/components/Menubar/MenubarRadioItem.jsx +5 -5
- package/dist/components/Menubar/MenubarSeparator.jsx +2 -2
- package/dist/components/Menubar/MenubarSubContent.jsx +2 -2
- package/dist/components/Menubar/MenubarSubTrigger.jsx +5 -5
- package/dist/components/Menubar/MenubarTrigger.jsx +2 -2
- package/dist/components/Menubar/index.jsx +4 -4
- package/dist/components/NavigationMenu/NavigationMenuContent.jsx +2 -2
- package/dist/components/NavigationMenu/NavigationMenuIndicator.jsx +3 -3
- package/dist/components/NavigationMenu/NavigationMenuItem.jsx +2 -2
- package/dist/components/NavigationMenu/NavigationMenuLink.jsx +2 -2
- package/dist/components/NavigationMenu/NavigationMenuList.jsx +3 -3
- package/dist/components/NavigationMenu/NavigationMenuTrigger.jsx +3 -3
- package/dist/components/NavigationMenu/NavigationMenuViewport.jsx +2 -2
- package/dist/components/NavigationMenu/index.jsx +4 -4
- package/dist/components/Popover/PopoverClose.jsx +2 -2
- package/dist/components/Popover/PopoverContent.jsx +2 -2
- package/dist/components/Popover/PopoverTrigger.jsx +2 -2
- package/dist/components/Popover/index.jsx +2 -2
- package/dist/components/Progress/index.d.ts +3 -3
- package/dist/components/Progress/index.jsx +2 -2
- package/dist/components/RadarChart/index.d.ts +1 -1
- package/dist/components/Radio/index.d.ts +1 -1
- package/dist/components/Radio/index.jsx +7 -7
- package/dist/components/RadioCards/RadioCardsItem.jsx +2 -2
- package/dist/components/RadioCards/index.d.ts +1 -1
- package/dist/components/RadioCards/index.jsx +4 -4
- package/dist/components/RadioGroup/RadioGroupItem.jsx +2 -2
- package/dist/components/RadioGroup/index.d.ts +1 -1
- package/dist/components/RadioGroup/index.jsx +4 -4
- package/dist/components/ScrollArea/index.jsx +4 -4
- package/dist/components/SegmentedControl/SegmentedControlItem.jsx +2 -2
- package/dist/components/SegmentedControl/index.d.ts +1 -1
- package/dist/components/SegmentedControl/index.jsx +4 -4
- package/dist/components/Select/index.d.ts +1 -1
- package/dist/components/Select/index.jsx +16 -16
- package/dist/components/Separator/index.d.ts +1 -1
- package/dist/components/Separator/index.jsx +4 -4
- package/dist/components/Skeleton/index.d.ts +1 -1
- package/dist/components/Skeleton/index.jsx +4 -4
- package/dist/components/Slider/index.d.ts +1 -1
- package/dist/components/Slider/index.jsx +2 -2
- package/dist/components/Spinner/index.d.ts +1 -1
- package/dist/components/Spinner/index.jsx +4 -4
- package/dist/components/TabNav/index.jsx +6 -6
- package/dist/components/Table/index.d.ts +2 -2
- package/dist/components/Table/index.jsx +16 -16
- package/dist/components/Tabs/index.d.ts +1 -1
- package/dist/components/Tabs/index.jsx +10 -10
- package/dist/components/TextArea/index.d.ts +3 -3
- package/dist/components/TextArea/index.jsx +2 -2
- package/dist/components/TextField/index.d.ts +1 -1
- package/dist/components/TextField/index.jsx +6 -6
- package/dist/components/Toast/ToastActionButton.d.ts +3 -3
- package/dist/components/Toast/ToastActionButton.jsx +2 -2
- package/dist/components/Toast/ToastDescription.d.ts +1 -1
- package/dist/components/Toast/ToastDescription.jsx +4 -4
- package/dist/components/Toast/ToastTitle.d.ts +1 -1
- package/dist/components/Toast/ToastTitle.jsx +2 -2
- package/dist/components/Toast/index.d.ts +3 -3
- package/dist/components/Toast/index.jsx +7 -7
- package/dist/components/Toggle/ToggleWithText.jsx +3 -3
- package/dist/components/Toggle/index.d.ts +3 -3
- package/dist/components/Toggle/index.jsx +2 -2
- package/dist/components/ToggleGroup/index.d.ts +1 -1
- package/dist/components/ToggleGroup/index.jsx +4 -4
- package/dist/components/ToggleGroup/toggleGroupItem.jsx +2 -2
- package/dist/components/ToggleSwitch/index.d.ts +3 -3
- package/dist/components/ToggleSwitch/index.jsx +5 -5
- package/dist/components/Tooltip/index.d.ts +1 -1
- package/dist/components/Tooltip/index.jsx +10 -10
- package/dist/components/index.d.ts +0 -2
- package/dist/index.d.ts +0 -5
- package/dist/index.js +3 -5
- package/dist/stories/Welcome.jsx +19 -19
- package/dist/stories/accordion/Accordion.stories.jsx +19 -19
- package/dist/stories/alert-dialog/AlertDialog.stories.jsx +14 -14
- package/dist/stories/aspect-ratio/AspectRatio.stories.jsx +29 -29
- package/dist/stories/avatar/Avatar.stories.jsx +12 -12
- package/dist/stories/badge/Badge.stories.jsx +44 -44
- package/dist/stories/bubble-chart/BubbleChart.stories.jsx +9 -9
- package/dist/stories/button/Button.stories.jsx +34 -34
- package/dist/stories/button/IconButton.stories.jsx +14 -14
- package/dist/stories/callout/Callout.stories.jsx +107 -107
- package/dist/stories/card/Card.stories.jsx +51 -51
- package/dist/stories/checkbox/Checkbox.stories.jsx +57 -57
- package/dist/stories/checkbox/CheckboxCard.stories.jsx +36 -36
- package/dist/stories/checkbox/CheckboxGroup.stories.jsx +73 -73
- package/dist/stories/context-menu/ContextMenu.stories.jsx +70 -70
- package/dist/stories/data-list/DataList.stories.jsx +102 -102
- package/dist/stories/dialog/Dialog.stories.jsx +24 -24
- package/dist/stories/doughnut-chart/DoughnutChart.stories.jsx +9 -9
- package/dist/stories/dropdown-menu/DropdownMenu.stories.jsx +96 -96
- package/dist/stories/header/Header.stories.jsx +20 -20
- package/dist/stories/hover-card/HoverCard.stories.jsx +28 -28
- package/dist/stories/inset/Inset.stories.jsx +16 -16
- package/dist/stories/label/Label.stories.jsx +22 -22
- package/dist/stories/menubar/Menubar.stories.jsx +38 -38
- package/dist/stories/navigation-menu/NavigationMenu.stories.d.ts +9 -9
- package/dist/stories/navigation-menu/NavigationMenu.stories.jsx +67 -67
- package/dist/stories/pie-chart/PieChart.stories.jsx +20 -20
- package/dist/stories/popover/Popover.stories.jsx +34 -34
- package/dist/stories/progress/Progress.stories.jsx +6 -6
- package/dist/stories/radio/Radio.stories.jsx +11 -11
- package/dist/stories/radio/RadioCards.stories.jsx +60 -60
- package/dist/stories/radio/RadioGroup.stories.jsx +55 -55
- package/dist/stories/scroll-area/ScrollArea.stories.jsx +61 -61
- package/dist/stories/segmented-control/SegmentedControl.stories.jsx +22 -22
- package/dist/stories/select/Select.stories.jsx +62 -62
- package/dist/stories/separator/Separator.stories.jsx +25 -25
- package/dist/stories/skeleton/Skeleton.stories.jsx +28 -28
- package/dist/stories/slider/Slider.stories.jsx +12 -12
- package/dist/stories/spinner/Spinner.stories.jsx +26 -26
- package/dist/stories/switch/Switch.stories.jsx +12 -12
- package/dist/stories/tab-nav/TabNav.stories.jsx +10 -10
- package/dist/stories/table/Table.stories.jsx +28 -28
- package/dist/stories/tabs/Tabs.stories.jsx +18 -18
- package/dist/stories/text/Text.stories.jsx +16 -16
- package/dist/stories/textArea/TextArea.stories.jsx +17 -17
- package/dist/stories/textfield/TextField.stories.jsx +33 -33
- package/dist/stories/toast/Toast.stories.jsx +19 -19
- package/dist/stories/toggle/Toggle.stories.jsx +18 -18
- package/dist/stories/toggle/ToggleGroup.stories.jsx +34 -34
- package/dist/stories/tooltip/Tooltip.stories.jsx +14 -14
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +119 -118
@@ -77,51 +77,51 @@ var meta = {
|
|
77
77
|
export default meta;
|
78
78
|
export var Default = function (_a) {
|
79
79
|
var args = __rest(_a, []);
|
80
|
-
return (<ToggleGroup type={'single'} defaultValue={'left'} aria-label="Text alignment" {...args}>
|
81
|
-
<ToggleGroupItem value="left" aria-label="Left aligned" {...args}>
|
82
|
-
<FontBoldIcon />
|
83
|
-
</ToggleGroupItem>
|
84
|
-
<ToggleGroupItem value="center" aria-label="Center aligned" {...args}>
|
85
|
-
<FontItalicIcon />
|
86
|
-
</ToggleGroupItem>
|
87
|
-
<ToggleGroupItem value="right" aria-label="Right aligned" {...args}>
|
88
|
-
<UnderlineIcon />
|
89
|
-
</ToggleGroupItem>
|
80
|
+
return (<ToggleGroup type={'single'} defaultValue={'left'} aria-label="Text alignment" {...args}>
|
81
|
+
<ToggleGroupItem value="left" aria-label="Left aligned" {...args}>
|
82
|
+
<FontBoldIcon />
|
83
|
+
</ToggleGroupItem>
|
84
|
+
<ToggleGroupItem value="center" aria-label="Center aligned" {...args}>
|
85
|
+
<FontItalicIcon />
|
86
|
+
</ToggleGroupItem>
|
87
|
+
<ToggleGroupItem value="right" aria-label="Right aligned" {...args}>
|
88
|
+
<UnderlineIcon />
|
89
|
+
</ToggleGroupItem>
|
90
90
|
</ToggleGroup>);
|
91
91
|
};
|
92
92
|
export var Size = function (_a) {
|
93
93
|
var args = __rest(_a, []);
|
94
|
-
return (<div className="flex items-center space-x-4">
|
94
|
+
return (<div className="flex items-center space-x-4">
|
95
95
|
{sizeOptions
|
96
96
|
.filter(function (size) { return !['x-small', 'x-large'].includes(size); })
|
97
|
-
.map(function (size) { return (<ToggleGroup key={size} type={'single'} defaultValue={'left'} aria-label="Text alignment" {...args}>
|
98
|
-
<ToggleGroupItem value="left" aria-label="Left aligned" {...args} size={size}>
|
99
|
-
<FontBoldIcon />
|
100
|
-
</ToggleGroupItem>
|
101
|
-
<ToggleGroupItem value="center" aria-label="Center aligned" {...args} size={size}>
|
102
|
-
<FontItalicIcon />
|
103
|
-
</ToggleGroupItem>
|
104
|
-
<ToggleGroupItem value="right" aria-label="Right aligned" {...args} size={size}>
|
105
|
-
<UnderlineIcon />
|
106
|
-
</ToggleGroupItem>
|
107
|
-
</ToggleGroup>); })}
|
97
|
+
.map(function (size) { return (<ToggleGroup key={size} type={'single'} defaultValue={'left'} aria-label="Text alignment" {...args}>
|
98
|
+
<ToggleGroupItem value="left" aria-label="Left aligned" {...args} size={size}>
|
99
|
+
<FontBoldIcon />
|
100
|
+
</ToggleGroupItem>
|
101
|
+
<ToggleGroupItem value="center" aria-label="Center aligned" {...args} size={size}>
|
102
|
+
<FontItalicIcon />
|
103
|
+
</ToggleGroupItem>
|
104
|
+
<ToggleGroupItem value="right" aria-label="Right aligned" {...args} size={size}>
|
105
|
+
<UnderlineIcon />
|
106
|
+
</ToggleGroupItem>
|
107
|
+
</ToggleGroup>); })}
|
108
108
|
</div>);
|
109
109
|
};
|
110
110
|
export var Appearance = function (_a) {
|
111
111
|
var args = __rest(_a, []);
|
112
|
-
return (<div className="flex items-center space-x-4">
|
112
|
+
return (<div className="flex items-center space-x-4">
|
113
113
|
{appearanceOptions
|
114
114
|
.filter(function (appearance) { return !['classic', 'solid'].includes(appearance); })
|
115
|
-
.map(function (appearance) { return (<ToggleGroup key={appearance} type={'single'} defaultValue={'left'} aria-label="Text alignment" {...args}>
|
116
|
-
<ToggleGroupItem value="left" aria-label="Left aligned" {...args} appearance={appearance}>
|
117
|
-
<FontBoldIcon />
|
118
|
-
</ToggleGroupItem>
|
119
|
-
<ToggleGroupItem value="center" aria-label="Center aligned" {...args} appearance={appearance}>
|
120
|
-
<FontItalicIcon />
|
121
|
-
</ToggleGroupItem>
|
122
|
-
<ToggleGroupItem value="right" aria-label="Right aligned" {...args} appearance={appearance}>
|
123
|
-
<UnderlineIcon />
|
124
|
-
</ToggleGroupItem>
|
125
|
-
</ToggleGroup>); })}
|
115
|
+
.map(function (appearance) { return (<ToggleGroup key={appearance} type={'single'} defaultValue={'left'} aria-label="Text alignment" {...args}>
|
116
|
+
<ToggleGroupItem value="left" aria-label="Left aligned" {...args} appearance={appearance}>
|
117
|
+
<FontBoldIcon />
|
118
|
+
</ToggleGroupItem>
|
119
|
+
<ToggleGroupItem value="center" aria-label="Center aligned" {...args} appearance={appearance}>
|
120
|
+
<FontItalicIcon />
|
121
|
+
</ToggleGroupItem>
|
122
|
+
<ToggleGroupItem value="right" aria-label="Right aligned" {...args} appearance={appearance}>
|
123
|
+
<UnderlineIcon />
|
124
|
+
</ToggleGroupItem>
|
125
|
+
</ToggleGroup>); })}
|
126
126
|
</div>);
|
127
127
|
};
|
@@ -65,27 +65,27 @@ var meta = {
|
|
65
65
|
export default meta;
|
66
66
|
export var Default = function (_a) {
|
67
67
|
var args = __rest(_a, []);
|
68
|
-
return (<Tooltip content="툴팁 컴포넌트 내용입니다." {...args}>
|
69
|
-
<div>마우스 커서를 올려주세요</div>
|
68
|
+
return (<Tooltip content="툴팁 컴포넌트 내용입니다." {...args}>
|
69
|
+
<div>마우스 커서를 올려주세요</div>
|
70
70
|
</Tooltip>);
|
71
71
|
};
|
72
72
|
export var Radius = function (_a) {
|
73
73
|
var args = __rest(_a, []);
|
74
|
-
return (<div className="">
|
75
|
-
{radiusOptions.map(function (radius, index) { return (<div key={radius} className="flex pt-3 items-center space-x-2">
|
76
|
-
<Tooltip content="툴팁 컴포넌트 내용입니다." radius={radius} {...args}>
|
77
|
-
<div>마우스 커서를 올려주세요</div>
|
78
|
-
</Tooltip>
|
79
|
-
</div>); })}
|
74
|
+
return (<div className="">
|
75
|
+
{radiusOptions.map(function (radius, index) { return (<div key={radius} className="flex pt-3 items-center space-x-2">
|
76
|
+
<Tooltip content="툴팁 컴포넌트 내용입니다." radius={radius} {...args}>
|
77
|
+
<div>마우스 커서를 올려주세요</div>
|
78
|
+
</Tooltip>
|
79
|
+
</div>); })}
|
80
80
|
</div>);
|
81
81
|
};
|
82
82
|
export var Position = function (_a) {
|
83
83
|
var args = __rest(_a, []);
|
84
|
-
return (<div className="">
|
85
|
-
{['top', 'right', 'left', 'bottom'].map(function (side, index) { return (<div key={side} className="flex pt-3 items-center space-x-2">
|
86
|
-
<Tooltip content="툴팁 컴포넌트 내용입니다." side={side} {...args}>
|
87
|
-
<div>마우스 커서를 올려주세요</div>
|
88
|
-
</Tooltip>
|
89
|
-
</div>); })}
|
84
|
+
return (<div className="">
|
85
|
+
{['top', 'right', 'left', 'bottom'].map(function (side, index) { return (<div key={side} className="flex pt-3 items-center space-x-2">
|
86
|
+
<Tooltip content="툴팁 컴포넌트 내용입니다." side={side} {...args}>
|
87
|
+
<div>마우스 커서를 올려주세요</div>
|
88
|
+
</Tooltip>
|
89
|
+
</div>); })}
|
90
90
|
</div>);
|
91
91
|
};
|