@lotte-innovate/ui-component-test 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Typography/Header/{index.js → index.jsx} +5 -2
- package/dist/Typography/Text/{index.js → index.jsx} +6 -3
- package/dist/app/layout.d.ts +1 -1
- package/dist/app/{layout.js → layout.jsx} +3 -2
- package/dist/app/page.d.ts +2 -1
- package/dist/app/page.jsx +9 -0
- package/dist/app/template/colorPicker.d.ts +2 -1
- package/dist/app/template/colorPicker.jsx +19 -0
- package/dist/app/template/theme.d.ts +2 -2
- package/dist/app/template/{theme.js → theme.jsx} +8 -2
- package/dist/components/Accordion/{index.js → index.jsx} +17 -5
- package/dist/components/AlertDialog/{AlertDialogAction.js → AlertDialogAction.jsx} +4 -3
- package/dist/components/AlertDialog/{AlertDialogCancel.js → AlertDialogCancel.jsx} +4 -3
- package/dist/components/AlertDialog/{AlertDialogContent.js → AlertDialogContent.jsx} +7 -3
- package/dist/components/AlertDialog/{AlertDialogDescription.js → AlertDialogDescription.jsx} +4 -14
- package/dist/components/AlertDialog/{AlertDialogTitle.js → AlertDialogTitle.jsx} +4 -14
- package/dist/components/AlertDialog/{AlertDialogTrigger.js → AlertDialogTrigger.jsx} +4 -3
- package/dist/components/AlertDialog/{index.js → index.jsx} +4 -14
- package/dist/components/AspectRatio/{index.js → index.jsx} +4 -3
- package/dist/components/Avatar/{index.js → index.jsx} +7 -3
- package/dist/components/Badge/{index.js → index.jsx} +4 -3
- package/dist/components/BubbleChart/index.d.ts +2 -1
- package/dist/components/BubbleChart/{index.js → index.jsx} +2 -2
- package/dist/components/Button/{index.js → index.jsx} +4 -3
- package/dist/components/Callout/{CalloutIcon.js → CalloutIcon.jsx} +8 -3
- package/dist/components/Callout/{CalloutText.js → CalloutText.jsx} +4 -14
- package/dist/components/Callout/{index.js → index.jsx} +6 -3
- package/dist/components/Card/{index.js → index.jsx} +4 -3
- package/dist/components/Checkbox/{index.js → index.jsx} +11 -3
- package/dist/components/CheckboxCard/{index.js → index.jsx} +5 -3
- package/dist/components/CheckboxGroup/{CheckboxGroupItem.js → CheckboxGroupItem.jsx} +6 -14
- package/dist/components/CheckboxGroup/{index.js → index.jsx} +5 -2
- package/dist/components/ContextMenu/{ContextMenuCheckboxItem.js → ContextMenuCheckboxItem.jsx} +7 -14
- package/dist/components/ContextMenu/{ContextMenuContent.js → ContextMenuContent.jsx} +6 -3
- package/dist/components/ContextMenu/{ContextMenuGroup.js → ContextMenuGroup.jsx} +4 -14
- package/dist/components/ContextMenu/{ContextMenuItem.js → ContextMenuItem.jsx} +5 -3
- package/dist/components/ContextMenu/{ContextMenuItemIndicator.js → ContextMenuItemIndicator.jsx} +4 -3
- package/dist/components/ContextMenu/{ContextMenuLabel.js → ContextMenuLabel.jsx} +4 -3
- package/dist/components/ContextMenu/{ContextMenuRadioGroup.js → ContextMenuRadioGroup.jsx} +6 -14
- package/dist/components/ContextMenu/{ContextMenuRadioItem.js → ContextMenuRadioItem.jsx} +7 -14
- package/dist/components/ContextMenu/{ContextMenuSeparator.js → ContextMenuSeparator.jsx} +4 -14
- package/dist/components/ContextMenu/{ContextMenuSubContent.js → ContextMenuSubContent.jsx} +9 -6
- package/dist/components/ContextMenu/{ContextMenuSubTrigger.js → ContextMenuSubTrigger.jsx} +9 -14
- package/dist/components/ContextMenu/{ContextMenuTrigger.js → ContextMenuTrigger.jsx} +4 -14
- package/dist/components/ContextMenu/{index.js → index.jsx} +6 -14
- package/dist/components/DataList/{DataListItem.js → DataListItem.jsx} +4 -3
- package/dist/components/DataList/{DataListLabel.js → DataListLabel.jsx} +4 -3
- package/dist/components/DataList/{DataListValue.js → DataListValue.jsx} +4 -3
- package/dist/components/DataList/{index.js → index.jsx} +6 -14
- package/dist/components/Dialog/{DialogAction.js → DialogAction.jsx} +4 -14
- package/dist/components/Dialog/{DialogCancel.js → DialogCancel.jsx} +4 -14
- package/dist/components/Dialog/{DialogContent.js → DialogContent.jsx} +4 -3
- package/dist/components/Dialog/{DialogDescription.js → DialogDescription.jsx} +4 -14
- package/dist/components/Dialog/{DialogSlot.js → DialogSlot.jsx} +4 -14
- package/dist/components/Dialog/{DialogTitle.js → DialogTitle.jsx} +4 -14
- package/dist/components/Dialog/{DialogTrigger.js → DialogTrigger.jsx} +4 -14
- package/dist/components/Dialog/{index.js → index.jsx} +4 -14
- package/dist/components/DoughnutChart/index.d.ts +2 -1
- package/dist/components/DoughnutChart/{index.js → index.jsx} +2 -2
- package/dist/components/DropdownMenu/{DropdonMenuRadioGroup.js → DropdonMenuRadioGroup.jsx} +6 -14
- package/dist/components/DropdownMenu/{DropdonMenuSubContent.js → DropdonMenuSubContent.jsx} +10 -7
- package/dist/components/DropdownMenu/{DropdownMenuCheckboxItem.js → DropdownMenuCheckboxItem.jsx} +7 -14
- package/dist/components/DropdownMenu/{DropdownMenuContent.js → DropdownMenuContent.jsx} +6 -3
- package/dist/components/DropdownMenu/{DropdownMenuItem.js → DropdownMenuItem.jsx} +5 -3
- package/dist/components/DropdownMenu/{DropdownMenuItemIndicator.js → DropdownMenuItemIndicator.jsx} +4 -3
- package/dist/components/DropdownMenu/{DropdownMenuLable.js → DropdownMenuLable.jsx} +4 -3
- package/dist/components/DropdownMenu/{DropdownMenuRadioItem.js → DropdownMenuRadioItem.jsx} +7 -14
- package/dist/components/DropdownMenu/{DropdownMenuSeparator.js → DropdownMenuSeparator.jsx} +2 -14
- package/dist/components/DropdownMenu/{DropdownMenuSub.js → DropdownMenuSub.jsx} +2 -14
- package/dist/components/DropdownMenu/{DropdownMenuSubTrigger.js → DropdownMenuSubTrigger.jsx} +7 -14
- package/dist/components/DropdownMenu/{DropdownMenuTrigger.js → DropdownMenuTrigger.jsx} +4 -14
- package/dist/components/DropdownMenu/{index.js → index.jsx} +2 -14
- package/dist/components/HoverCard/{HoverCardContent.js → HoverCardContent.jsx} +4 -3
- package/dist/components/HoverCard/{HoverCardTrigger.js → HoverCardTrigger.jsx} +4 -14
- package/dist/components/HoverCard/{index.js → index.jsx} +4 -14
- package/dist/components/IconButton/{index.js → index.jsx} +3 -2
- package/dist/components/Inset/{index.js → index.jsx} +6 -3
- package/dist/components/Label/{index.js → index.jsx} +3 -2
- package/dist/components/Menubar/{MenubarCheckboxItem.js → MenubarCheckboxItem.jsx} +7 -14
- package/dist/components/Menubar/{MenubarContent.js → MenubarContent.jsx} +10 -7
- package/dist/components/Menubar/{MenubarItem.js → MenubarItem.jsx} +5 -3
- package/dist/components/Menubar/{MenubarItemIndicator.js → MenubarItemIndicator.jsx} +4 -3
- package/dist/components/Menubar/{MenubarMenu.js → MenubarMenu.jsx} +2 -14
- package/dist/components/Menubar/{MenubarRadioGroup.js → MenubarRadioGroup.jsx} +6 -14
- package/dist/components/Menubar/{MenubarRadioItem.js → MenubarRadioItem.jsx} +7 -14
- package/dist/components/Menubar/{MenubarSeparator.js → MenubarSeparator.jsx} +4 -14
- package/dist/components/Menubar/{MenubarSub.js → MenubarSub.jsx} +2 -14
- package/dist/components/Menubar/{MenubarSubContent.js → MenubarSubContent.jsx} +5 -4
- package/dist/components/Menubar/{MenubarSubTrigger.js → MenubarSubTrigger.jsx} +7 -14
- package/dist/components/Menubar/{MenubarTrigger.js → MenubarTrigger.jsx} +4 -3
- package/dist/components/Menubar/{index.js → index.jsx} +6 -3
- package/dist/components/NavigationMenu/{NavigationMenuContent.js → NavigationMenuContent.jsx} +4 -3
- package/dist/components/NavigationMenu/NavigationMenuIndicator.jsx +22 -0
- package/dist/components/NavigationMenu/{NavigationMenuItem.js → NavigationMenuItem.jsx} +4 -14
- package/dist/components/NavigationMenu/{NavigationMenuLink.js → NavigationMenuLink.jsx} +4 -3
- package/dist/components/NavigationMenu/{NavigationMenuList.js → NavigationMenuList.jsx} +5 -3
- package/dist/components/NavigationMenu/{NavigationMenuTrigger.js → NavigationMenuTrigger.jsx} +5 -3
- package/dist/components/NavigationMenu/{NavigationMenuViewport.js → NavigationMenuViewport.jsx} +4 -3
- package/dist/components/NavigationMenu/{index.js → index.jsx} +6 -14
- package/dist/components/PieChart/index.d.ts +2 -1
- package/dist/components/PieChart/{index.js → index.jsx} +2 -2
- package/dist/components/Popover/{PopoverClose.js → PopoverClose.jsx} +4 -14
- package/dist/components/Popover/{PopoverContent.js → PopoverContent.jsx} +4 -3
- package/dist/components/Popover/{PopoverTrigger.js → PopoverTrigger.jsx} +4 -14
- package/dist/components/Popover/{index.js → index.jsx} +4 -14
- package/dist/components/Progress/{index.js → index.jsx} +4 -3
- package/dist/components/RadarChart/index.d.ts +2 -1
- package/dist/components/RadarChart/{index.js → index.jsx} +2 -2
- package/dist/components/Radio/{index.js → index.jsx} +8 -13
- package/dist/components/RadioCards/{RadioCardsItem.js → RadioCardsItem.jsx} +4 -14
- package/dist/components/RadioCards/{index.js → index.jsx} +6 -3
- package/dist/components/RadioGroup/{RadioGroupItem.js → RadioGroupItem.jsx} +4 -14
- package/dist/components/RadioGroup/{index.js → index.jsx} +6 -14
- package/dist/components/ScrollArea/{index.js → index.jsx} +6 -14
- package/dist/components/SegmentedControl/{SegmentedControlItem.js → SegmentedControlItem.jsx} +4 -14
- package/dist/components/SegmentedControl/{index.js → index.jsx} +5 -2
- package/dist/components/Select/{index.js → index.jsx} +25 -8
- package/dist/components/Separator/{index.js → index.jsx} +5 -2
- package/dist/components/Skeleton/{index.js → index.jsx} +5 -2
- package/dist/components/Slider/{index.js → index.jsx} +3 -2
- package/dist/components/Spinner/{index.js → index.jsx} +5 -2
- package/dist/components/TabNav/{index.js → index.jsx} +8 -14
- package/dist/components/Table/{index.js → index.jsx} +23 -8
- package/dist/components/Tabs/{index.js → index.jsx} +14 -5
- package/dist/components/TextArea/{index.js → index.jsx} +3 -2
- package/dist/components/TextField/{index.js → index.jsx} +8 -3
- package/dist/components/Toast/{ToastActionButton.js → ToastActionButton.jsx} +4 -3
- package/dist/components/Toast/{ToastDescription.js → ToastDescription.jsx} +6 -14
- package/dist/components/Toast/{ToastTitle.js → ToastTitle.jsx} +4 -14
- package/dist/components/Toast/{index.js → index.jsx} +9 -3
- package/dist/components/Toggle/{ToggleWithText.js → ToggleWithText.jsx} +6 -4
- package/dist/components/Toggle/{index.js → index.jsx} +4 -3
- package/dist/components/ToggleGroup/{index.js → index.jsx} +6 -3
- package/dist/components/ToggleGroup/{toggleGroupItem.js → toggleGroupItem.jsx} +4 -14
- package/dist/components/ToggleSwitch/{index.js → index.jsx} +6 -2
- package/dist/components/Tooltip/{index.js → index.jsx} +11 -2
- package/dist/stories/Welcome.d.ts +2 -1
- package/dist/stories/Welcome.jsx +48 -0
- package/dist/stories/accordion/Accordion.stories.d.ts +1 -1
- package/dist/stories/accordion/{Accordion.stories.js → Accordion.stories.jsx} +20 -2
- package/dist/stories/alert-dialog/AlertDialog.stories.d.ts +1 -1
- package/dist/stories/alert-dialog/{AlertDialog.stories.js → AlertDialog.stories.jsx} +15 -2
- package/dist/stories/aspect-ratio/AspectRatio.stories.d.ts +3 -3
- package/dist/stories/aspect-ratio/AspectRatio.stories.jsx +106 -0
- package/dist/stories/avatar/Avatar.stories.d.ts +5 -5
- package/dist/stories/avatar/{Avatar.stories.js → Avatar.stories.jsx} +17 -6
- package/dist/stories/badge/Badge.stories.d.ts +6 -6
- package/dist/stories/badge/{Badge.stories.js → Badge.stories.jsx} +51 -7
- package/dist/stories/bubble-chart/BubbleChart.stories.d.ts +5 -4
- package/dist/stories/bubble-chart/{BubbleChart.stories.js → BubbleChart.stories.jsx} +12 -4
- package/dist/stories/button/Button.stories.d.ts +7 -7
- package/dist/stories/button/{Button.stories.js → Button.stories.jsx} +41 -8
- package/dist/stories/button/IconButton.stories.d.ts +4 -4
- package/dist/stories/button/{IconButton.stories.js → IconButton.stories.jsx} +18 -5
- package/dist/stories/callout/Callout.stories.d.ts +7 -7
- package/dist/stories/callout/Callout.stories.jsx +205 -0
- package/dist/stories/card/Card.stories.d.ts +5 -5
- package/dist/stories/card/{Card.stories.js → Card.stories.jsx} +56 -6
- package/dist/stories/checkbox/Checkbox.stories.d.ts +6 -6
- package/dist/stories/checkbox/{Checkbox.stories.js → Checkbox.stories.jsx} +63 -7
- package/dist/stories/checkbox/CheckboxCard.stories.d.ts +5 -5
- package/dist/stories/checkbox/{CheckboxCard.stories.js → CheckboxCard.stories.jsx} +41 -6
- package/dist/stories/checkbox/CheckboxGroup.stories.d.ts +3 -3
- package/dist/stories/checkbox/{CheckboxGroup.stories.js → CheckboxGroup.stories.jsx} +76 -4
- package/dist/stories/context-menu/ContextMenu.stories.d.ts +4 -4
- package/dist/stories/context-menu/{ContextMenu.stories.js → ContextMenu.stories.jsx} +74 -5
- package/dist/stories/data-list/DataList.stories.d.ts +4 -4
- package/dist/stories/data-list/DataList.stories.jsx +185 -0
- package/dist/stories/dialog/Dialog.stories.d.ts +1 -1
- package/dist/stories/dialog/{Dialog.stories.js → Dialog.stories.jsx} +25 -2
- package/dist/stories/doughnut-chart/DoughnutChart.stories.d.ts +5 -4
- package/dist/stories/doughnut-chart/{DoughnutChart.stories.js → DoughnutChart.stories.jsx} +12 -4
- package/dist/stories/dropdown-menu/DropdownMenu.stories.d.ts +4 -4
- package/dist/stories/dropdown-menu/DropdownMenu.stories.jsx +170 -0
- package/dist/stories/header/Header.stories.d.ts +6 -6
- package/dist/stories/header/{Header.stories.js → Header.stories.jsx} +26 -7
- package/dist/stories/hover-card/HoverCard.stories.d.ts +2 -2
- package/dist/stories/hover-card/{HoverCard.stories.js → HoverCard.stories.jsx} +30 -3
- package/dist/stories/inset/Inset.stories.d.ts +2 -2
- package/dist/stories/inset/{Inset.stories.js → Inset.stories.jsx} +27 -12
- package/dist/stories/label/Label.stories.d.ts +4 -4
- package/dist/stories/label/{Label.stories.js → Label.stories.jsx} +26 -5
- package/dist/stories/menubar/Menubar.stories.d.ts +1 -1
- package/dist/stories/menubar/{Menubar.stories.js → Menubar.stories.jsx} +45 -8
- package/dist/stories/navigation-menu/NavigationMenu.stories.d.ts +2 -2
- package/dist/stories/navigation-menu/{NavigationMenu.stories.js → NavigationMenu.stories.jsx} +68 -3
- package/dist/stories/pie-chart/PieChart.stories.d.ts +6 -5
- package/dist/stories/pie-chart/{PieChart.stories.js → PieChart.stories.jsx} +32 -13
- package/dist/stories/popover/Popover.stories.d.ts +2 -2
- package/dist/stories/popover/{Popover.stories.js → Popover.stories.jsx} +42 -9
- package/dist/stories/progress/Progress.stories.d.ts +4 -4
- package/dist/stories/progress/{Progress.stories.js → Progress.stories.jsx} +11 -6
- package/dist/stories/radar-chart/RadarChart.stories.d.ts +6 -5
- package/dist/stories/radar-chart/{RadarChart.stories.js → RadarChart.stories.jsx} +4 -5
- package/dist/stories/radio/Radio.stories.d.ts +3 -3
- package/dist/stories/radio/{Radio.stories.js → Radio.stories.jsx} +14 -4
- package/dist/stories/radio/RadioCards.stories.d.ts +4 -4
- package/dist/stories/radio/{RadioCards.stories.js → RadioCards.stories.jsx} +64 -5
- package/dist/stories/radio/RadioGroup.stories.d.ts +4 -4
- package/dist/stories/radio/{RadioGroup.stories.js → RadioGroup.stories.jsx} +59 -5
- package/dist/stories/scroll-area/ScrollArea.stories.d.ts +2 -2
- package/dist/stories/scroll-area/ScrollArea.stories.jsx +123 -0
- package/dist/stories/segmented-control/SegmentedControl.stories.d.ts +4 -4
- package/dist/stories/segmented-control/{SegmentedControl.stories.js → SegmentedControl.stories.jsx} +26 -5
- package/dist/stories/select/Select.stories.d.ts +5 -5
- package/dist/stories/select/{Select.stories.js → Select.stories.jsx} +67 -6
- package/dist/stories/separator/Separator.stories.d.ts +4 -4
- package/dist/stories/separator/{Separator.stories.js → Separator.stories.jsx} +29 -5
- package/dist/stories/skeleton/Skeleton.stories.d.ts +5 -5
- package/dist/stories/skeleton/{Skeleton.stories.js → Skeleton.stories.jsx} +33 -6
- package/dist/stories/slider/Slider.stories.d.ts +4 -4
- package/dist/stories/slider/{Slider.stories.js → Slider.stories.jsx} +16 -5
- package/dist/stories/spinner/Spinner.stories.d.ts +5 -5
- package/dist/stories/spinner/{Spinner.stories.js → Spinner.stories.jsx} +31 -6
- package/dist/stories/switch/Switch.stories.d.ts +4 -4
- package/dist/stories/switch/{Switch.stories.js → Switch.stories.jsx} +16 -5
- package/dist/stories/tab-nav/TabNav.stories.d.ts +1 -1
- package/dist/stories/tab-nav/{TabNav.stories.js → TabNav.stories.jsx} +11 -2
- package/dist/stories/table/Table.stories.d.ts +1 -1
- package/dist/stories/table/{Table.stories.js → Table.stories.jsx} +29 -2
- package/dist/stories/tabs/Tabs.stories.d.ts +1 -1
- package/dist/stories/tabs/{Tabs.stories.js → Tabs.stories.jsx} +19 -2
- package/dist/stories/text/Text.stories.d.ts +5 -5
- package/dist/stories/text/{Text.stories.js → Text.stories.jsx} +21 -6
- package/dist/stories/textArea/TextArea.stories.d.ts +5 -5
- package/dist/stories/textArea/{TextArea.stories.js → TextArea.stories.jsx} +22 -6
- package/dist/stories/textfield/TextField.stories.d.ts +5 -5
- package/dist/stories/textfield/{TextField.stories.js → TextField.stories.jsx} +38 -6
- package/dist/stories/toast/Toast.stories.d.ts +3 -3
- package/dist/stories/toast/{Toast.stories.js → Toast.stories.jsx} +22 -4
- package/dist/stories/toggle/Toggle.stories.d.ts +5 -5
- package/dist/stories/toggle/{Toggle.stories.js → Toggle.stories.jsx} +23 -6
- package/dist/stories/toggle/ToggleGroup.stories.d.ts +3 -3
- package/dist/stories/toggle/{ToggleGroup.stories.js → ToggleGroup.stories.jsx} +39 -6
- package/dist/stories/tooltip/Tooltip.stories.d.ts +3 -3
- package/dist/stories/tooltip/{Tooltip.stories.js → Tooltip.stories.jsx} +17 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/app/page.js +0 -6
- package/dist/app/template/colorPicker.js +0 -14
- package/dist/components/NavigationMenu/NavigationMenuIndicator.js +0 -31
- package/dist/stories/Welcome.js +0 -30
- package/dist/stories/aspect-ratio/AspectRatio.stories.js +0 -78
- package/dist/stories/callout/Callout.stories.js +0 -104
- package/dist/stories/data-list/DataList.stories.js +0 -87
- package/dist/stories/dropdown-menu/DropdownMenu.stories.js +0 -75
- package/dist/stories/scroll-area/ScrollArea.stories.js +0 -63
@@ -20,7 +20,6 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
20
20
|
}
|
21
21
|
return t;
|
22
22
|
};
|
23
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
24
23
|
import { useState } from 'react';
|
25
24
|
import { appearanceOptions, commonArgTypes, sizeOptions } from '../../constants';
|
26
25
|
import { Menubar, MenubarMenu, MenubarTrigger, MenubarContent, MenubarItem, MenubarSeparator, MenubarSub, MenubarSubTrigger, MenubarSubContent, MenubarCheckboxItem, MenubarRadioGroup, MenubarRadioItem, } from 'components/Menubar';
|
@@ -88,11 +87,49 @@ export var Default = function (_a) {
|
|
88
87
|
var RADIO_ITEMS = ['구글', '네이버', '인트라넷'];
|
89
88
|
var _b = useState([CHECK_ITEMS[0]]), checkedSelection = _b[0], setCheckedSelection = _b[1];
|
90
89
|
var _c = useState(RADIO_ITEMS[0]), radioSelection = _c[0], setRadioSelection = _c[1];
|
91
|
-
return (
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
90
|
+
return (<Menubar {...args}>
|
91
|
+
{/* 메뉴-기본 */}
|
92
|
+
<MenubarMenu>
|
93
|
+
<MenubarTrigger>파일</MenubarTrigger>
|
94
|
+
<MenubarContent>
|
95
|
+
<MenubarItem shortcut="⌘ T">새 탭</MenubarItem>
|
96
|
+
<MenubarItem shortcut="⌘ N">새 창</MenubarItem>
|
97
|
+
<MenubarItem disabled>사용불가</MenubarItem>
|
98
|
+
<MenubarSeparator />
|
99
|
+
<MenubarSub>
|
100
|
+
<MenubarSubTrigger>공유하기</MenubarSubTrigger>
|
101
|
+
<MenubarSubContent>
|
102
|
+
<MenubarItem>이메일</MenubarItem>
|
103
|
+
<MenubarItem>메신저</MenubarItem>
|
104
|
+
</MenubarSubContent>
|
105
|
+
</MenubarSub>
|
106
|
+
</MenubarContent>
|
107
|
+
</MenubarMenu>
|
108
|
+
{/* 메뉴-체크 */}
|
109
|
+
<MenubarMenu>
|
110
|
+
<MenubarTrigger>보기</MenubarTrigger>
|
111
|
+
<MenubarContent>
|
112
|
+
{CHECK_ITEMS.map(function (item) { return (<MenubarCheckboxItem key={item} checked={checkedSelection.includes(item)} onCheckedChange={function () {
|
113
|
+
return setCheckedSelection(function (current) {
|
114
|
+
return current.includes(item)
|
115
|
+
? current.filter(function (el) { return el !== item; })
|
116
|
+
: current.concat(item);
|
117
|
+
});
|
118
|
+
}}>
|
119
|
+
{item}
|
120
|
+
</MenubarCheckboxItem>); })}
|
121
|
+
</MenubarContent>
|
122
|
+
</MenubarMenu>
|
123
|
+
{/* 메뉴-라디오 */}
|
124
|
+
<MenubarMenu>
|
125
|
+
<MenubarTrigger>프로필</MenubarTrigger>
|
126
|
+
<MenubarContent>
|
127
|
+
<MenubarRadioGroup value={radioSelection} onValueChange={setRadioSelection}>
|
128
|
+
{RADIO_ITEMS.map(function (item) { return (<MenubarRadioItem key={item} value={item}>
|
129
|
+
{item}
|
130
|
+
</MenubarRadioItem>); })}
|
131
|
+
</MenubarRadioGroup>
|
132
|
+
</MenubarContent>
|
133
|
+
</MenubarMenu>
|
134
|
+
</Menubar>);
|
98
135
|
};
|
@@ -294,7 +294,7 @@ declare const meta: {
|
|
294
294
|
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
295
295
|
size?: "small" | "medium" | null | undefined;
|
296
296
|
ref?: import("react").LegacyRef<HTMLElement> | undefined;
|
297
|
-
}>) => import("react
|
297
|
+
}>) => import("react").JSX.Element)[];
|
298
298
|
tags: string[];
|
299
299
|
argTypes: {
|
300
300
|
radius: {
|
@@ -382,4 +382,4 @@ declare const meta: {
|
|
382
382
|
export default meta;
|
383
383
|
export declare const Default: ({ ...args }: {
|
384
384
|
[x: string]: any;
|
385
|
-
}) => import("react
|
385
|
+
}) => import("react").JSX.Element;
|
package/dist/stories/navigation-menu/{NavigationMenu.stories.js → NavigationMenu.stories.jsx}
RENAMED
@@ -20,7 +20,6 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
20
20
|
}
|
21
21
|
return t;
|
22
22
|
};
|
23
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
24
23
|
import { appearanceOptions, commonArgTypes, sizeOptions } from '../../constants';
|
25
24
|
import { NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, } from 'components/NavigationMenu';
|
26
25
|
import Image from 'next/image';
|
@@ -41,7 +40,9 @@ var meta = {
|
|
41
40
|
},
|
42
41
|
},
|
43
42
|
decorators: [
|
44
|
-
function (Story) { return (
|
43
|
+
function (Story) { return (<div className="h-[300px] p-2">
|
44
|
+
<Story />
|
45
|
+
</div>); },
|
45
46
|
],
|
46
47
|
tags: ['autodocs'],
|
47
48
|
argTypes: {
|
@@ -75,5 +76,69 @@ var meta = {
|
|
75
76
|
export default meta;
|
76
77
|
export var Default = function (_a) {
|
77
78
|
var args = __rest(_a, []);
|
78
|
-
return (
|
79
|
+
return (<NavigationMenu {...args}>
|
80
|
+
<NavigationMenuList>
|
81
|
+
<NavigationMenuItem>
|
82
|
+
<NavigationMenuTrigger>홈페이지</NavigationMenuTrigger>
|
83
|
+
<NavigationMenuContent>
|
84
|
+
<div className="flex space-x-2">
|
85
|
+
<Image className="rounded" src="https://images.unsplash.com/photo-1535025183041-0991a977e25b?w=300&dpr=2&q=80" alt="Landscape photograph by Tobias Tullius" width={120} height={200}/>
|
86
|
+
<div className="space-y-2">
|
87
|
+
<Card size={'small'} className="w-[150px] hover:bg-red-3 dark:hover:bg-redDark-3">
|
88
|
+
<Text weight={'bold'}>타이틀</Text>
|
89
|
+
<Text>내용</Text>
|
90
|
+
</Card>
|
91
|
+
<Card size={'small'} className="w-[150px] hover:bg-red-3 dark:hover:bg-redDark-3">
|
92
|
+
<Text weight={'bold'}>타이틀</Text>
|
93
|
+
<Text>내용</Text>
|
94
|
+
</Card>
|
95
|
+
<Card size={'small'} className="w-[150px] hover:bg-red-3 dark:hover:bg-redDark-3">
|
96
|
+
<Text weight={'bold'}>타이틀</Text>
|
97
|
+
<Text>내용</Text>
|
98
|
+
</Card>
|
99
|
+
</div>
|
100
|
+
</div>
|
101
|
+
</NavigationMenuContent>
|
102
|
+
</NavigationMenuItem>
|
103
|
+
|
104
|
+
<NavigationMenuItem>
|
105
|
+
<NavigationMenuTrigger>개요</NavigationMenuTrigger>
|
106
|
+
<NavigationMenuContent>
|
107
|
+
<div className="flex flex-col space-y-3">
|
108
|
+
<Card className="hover:bg-red-3 dark:hover:bg-redDark-3" appearance="ghost">
|
109
|
+
<div className="flex flex-col">
|
110
|
+
<Text weight={'bold'} color="red">
|
111
|
+
타이틀이 들어가는 자리입니다.
|
112
|
+
</Text>
|
113
|
+
<Text>내용이 들어가는 자리입니다.</Text>
|
114
|
+
</div>
|
115
|
+
</Card>
|
116
|
+
<Card className="hover:bg-red-3 dark:hover:bg-redDark-3" appearance="ghost">
|
117
|
+
<div className="flex flex-col">
|
118
|
+
<Text weight={'bold'} color="red">
|
119
|
+
타이틀이 들어가는 자리입니다.
|
120
|
+
</Text>
|
121
|
+
<Text>내용이 들어가는 자리입니다.</Text>
|
122
|
+
</div>
|
123
|
+
</Card>
|
124
|
+
<Card className="hover:bg-red-3 dark:hover:bg-redDark-3" appearance="ghost">
|
125
|
+
<div className="flex flex-col">
|
126
|
+
<Text weight={'bold'} color="red">
|
127
|
+
타이틀이 들어가는 자리입니다.
|
128
|
+
</Text>
|
129
|
+
<Text>내용이 들어가는 자리입니다.</Text>
|
130
|
+
</div>
|
131
|
+
</Card>
|
132
|
+
</div>
|
133
|
+
</NavigationMenuContent>
|
134
|
+
</NavigationMenuItem>
|
135
|
+
|
136
|
+
<NavigationMenuItem>
|
137
|
+
<NavigationMenuLink href="https://tailwindcss.com/docs/border-radius">
|
138
|
+
tailwind 바로가기
|
139
|
+
</NavigationMenuLink>
|
140
|
+
</NavigationMenuItem>
|
141
|
+
</NavigationMenuList>
|
142
|
+
<NavigationMenuViewport />
|
143
|
+
</NavigationMenu>);
|
79
144
|
};
|
@@ -1,6 +1,7 @@
|
|
1
|
+
/// <reference types="react" />
|
1
2
|
declare const meta: {
|
2
3
|
title: string;
|
3
|
-
component: ({ labels, datasets, scaling, className, ...rest }: import("components/PieChart").PieChartProps) => import("react
|
4
|
+
component: ({ labels, datasets, scaling, className, ...rest }: import("components/PieChart").PieChartProps) => import("react").JSX.Element;
|
4
5
|
parameters: {
|
5
6
|
layout: string;
|
6
7
|
docs: {
|
@@ -179,7 +180,7 @@ declare const meta: {
|
|
179
180
|
export default meta;
|
180
181
|
export declare const Default: ({ ...args }: {
|
181
182
|
[x: string]: any;
|
182
|
-
}) => import("react
|
183
|
-
export declare const LabelsStyle: () => import("react
|
184
|
-
export declare const BorderStyles: () => import("react
|
185
|
-
export declare const DataLabels: () => import("react
|
183
|
+
}) => import("react").JSX.Element;
|
184
|
+
export declare const LabelsStyle: () => import("react").JSX.Element;
|
185
|
+
export declare const BorderStyles: () => import("react").JSX.Element;
|
186
|
+
export declare const DataLabels: () => import("react").JSX.Element;
|
@@ -20,7 +20,6 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
20
20
|
}
|
21
21
|
return t;
|
22
22
|
};
|
23
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
24
23
|
import PieChart from 'components/PieChart';
|
25
24
|
import { amber, blue, green, orange, purple, red, ruby, violet, yellow } from 'color/light';
|
26
25
|
import { commonArgTypes } from '../../constants';
|
@@ -175,7 +174,9 @@ var meta = {
|
|
175
174
|
export default meta;
|
176
175
|
export var Default = function (_a) {
|
177
176
|
var args = __rest(_a, []);
|
178
|
-
return (
|
177
|
+
return (<div className="w-[300px]">
|
178
|
+
<PieChart labels={args.label} datasets={args.datasets} {...args}/>
|
179
|
+
</div>);
|
179
180
|
};
|
180
181
|
export var LabelsStyle = function () {
|
181
182
|
var labelStyleList = ['star', 'line', 'rect', 'circle'];
|
@@ -187,17 +188,21 @@ export var LabelsStyle = function () {
|
|
187
188
|
borderColor: [ruby[9], violet[9], amber[9], green[9]],
|
188
189
|
},
|
189
190
|
];
|
190
|
-
return (
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
191
|
+
return (<div className="flex">
|
192
|
+
{labelStyleList.map(function (labelOption) { return (<div className="w-[200px]" key={labelOption}>
|
193
|
+
<PieChart labels={labels} datasets={datasets} options={{
|
194
|
+
plugins: {
|
195
|
+
legend: {
|
196
|
+
labels: {
|
197
|
+
pointStyle: labelOption,
|
198
|
+
usePointStyle: true,
|
198
199
|
},
|
200
|
+
position: 'top',
|
199
201
|
},
|
200
|
-
}
|
202
|
+
},
|
203
|
+
}}/>
|
204
|
+
</div>); })}
|
205
|
+
</div>);
|
201
206
|
};
|
202
207
|
export var BorderStyles = function () {
|
203
208
|
var exampleData = [2, 4, 7, 3];
|
@@ -231,7 +236,14 @@ export var BorderStyles = function () {
|
|
231
236
|
},
|
232
237
|
},
|
233
238
|
};
|
234
|
-
return (
|
239
|
+
return (<div className="flex">
|
240
|
+
<div className="w-[200px]">
|
241
|
+
<PieChart datasets={datasets} options={options}/>
|
242
|
+
</div>
|
243
|
+
<div className="w-[200px]">
|
244
|
+
<PieChart datasets={dashDatasets} options={dashOptions}/>
|
245
|
+
</div>
|
246
|
+
</div>);
|
235
247
|
};
|
236
248
|
export var DataLabels = function () {
|
237
249
|
var datasets = [
|
@@ -277,5 +289,12 @@ export var DataLabels = function () {
|
|
277
289
|
},
|
278
290
|
},
|
279
291
|
};
|
280
|
-
return (
|
292
|
+
return (<div className="flex">
|
293
|
+
<div className="w-[200px]">
|
294
|
+
<PieChart datasets={datasets} options={options}/>
|
295
|
+
</div>
|
296
|
+
<div className="w-[200px]">
|
297
|
+
<PieChart datasets={datasets} options={customOptions}/>
|
298
|
+
</div>
|
299
|
+
</div>);
|
281
300
|
};
|
@@ -72,7 +72,7 @@ declare const meta: {
|
|
72
72
|
export default meta;
|
73
73
|
export declare const Default: ({ ...args }: {
|
74
74
|
[x: string]: any;
|
75
|
-
}) => import("react
|
75
|
+
}) => import("react").JSX.Element;
|
76
76
|
export declare const WithInset: ({ ...args }: {
|
77
77
|
[x: string]: any;
|
78
|
-
}) => import("react
|
78
|
+
}) => import("react").JSX.Element;
|
@@ -20,7 +20,6 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
20
20
|
}
|
21
21
|
return t;
|
22
22
|
};
|
23
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
24
23
|
import { commonArgTypes, sizeOptions } from '../../constants';
|
25
24
|
import { Inset } from '@radix-ui/themes';
|
26
25
|
import { Popover, PopoverTrigger, PopoverContent, PopoverClose } from '../../components/Popover';
|
@@ -60,15 +59,49 @@ var meta = {
|
|
60
59
|
export default meta;
|
61
60
|
export var Default = function (_a) {
|
62
61
|
var args = __rest(_a, []);
|
63
|
-
return (
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
62
|
+
return (<Popover {...args}>
|
63
|
+
<PopoverTrigger>
|
64
|
+
<Button>Comment</Button>
|
65
|
+
</PopoverTrigger>
|
66
|
+
<PopoverContent {...args}>
|
67
|
+
<Avatar imagePath="https://images.unsplash.com/photo-1607346256330-dee7af15f7c5?&w=64&h=64&dpr=2&q=70&crop=focalpoint&fp-x=0.67&fp-y=0.5&fp-z=1.4&fit=crop" {...args} size={args.size === 'small'
|
68
|
+
? '2'
|
69
|
+
: args.size === 'large'
|
70
|
+
? '4'
|
71
|
+
: args.size === 'x-large'
|
72
|
+
? '5'
|
73
|
+
: '3'}/>
|
74
|
+
<div className="grow">
|
75
|
+
<TextArea placeholder="Write a comment…" {...args} className="w-full"/>
|
76
|
+
<div className="flex mt-3 justify-end">
|
77
|
+
<PopoverClose {...args}>
|
78
|
+
<Button>Comment</Button>
|
79
|
+
</PopoverClose>
|
80
|
+
</div>
|
81
|
+
</div>
|
82
|
+
</PopoverContent>
|
83
|
+
</Popover>);
|
70
84
|
};
|
71
85
|
export var WithInset = function (_a) {
|
72
86
|
var args = __rest(_a, []);
|
73
|
-
return (
|
87
|
+
return (<Popover {...args}>
|
88
|
+
<PopoverTrigger>
|
89
|
+
<Button>Share image</Button>
|
90
|
+
</PopoverTrigger>
|
91
|
+
<PopoverContent {...args}>
|
92
|
+
<div className="grid grid-cols-[130px_1fr]">
|
93
|
+
<Inset side="left" pr="current">
|
94
|
+
<Image src="https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?&auto=format&fit=crop&w=400&q=80" alt="toggle with inset" width={150} height={150} style={{ objectFit: 'cover', width: '100%', height: '100%' }}/>
|
95
|
+
</Inset>
|
96
|
+
<div>
|
97
|
+
<span>Minimalistic 3D rendering wallpaper.</span>
|
98
|
+
<div className="mt-2 flex-col items-stretch">
|
99
|
+
<PopoverClose {...args}>
|
100
|
+
<Button>Copy link</Button>
|
101
|
+
</PopoverClose>
|
102
|
+
</div>
|
103
|
+
</div>
|
104
|
+
</div>
|
105
|
+
</PopoverContent>
|
106
|
+
</Popover>);
|
74
107
|
};
|
@@ -101,13 +101,13 @@ declare const meta: {
|
|
101
101
|
export default meta;
|
102
102
|
export declare const Default: ({ ...args }: {
|
103
103
|
[x: string]: any;
|
104
|
-
}) => import("react
|
104
|
+
}) => import("react").JSX.Element;
|
105
105
|
export declare const Radius: ({ ...args }: {
|
106
106
|
[x: string]: any;
|
107
|
-
}) => import("react
|
107
|
+
}) => import("react").JSX.Element;
|
108
108
|
export declare const Size: ({ ...args }: {
|
109
109
|
[x: string]: any;
|
110
|
-
}) => import("react
|
110
|
+
}) => import("react").JSX.Element;
|
111
111
|
export declare const Variant: ({ ...args }: {
|
112
112
|
[x: string]: any;
|
113
|
-
}) => import("react
|
113
|
+
}) => import("react").JSX.Element;
|
@@ -20,7 +20,6 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
20
20
|
}
|
21
21
|
return t;
|
22
22
|
};
|
23
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
24
23
|
import { commonArgTypes, radiusOptions, sizeOptions } from '../../constants';
|
25
24
|
import { Progress } from '../../components/Progress';
|
26
25
|
var meta = {
|
@@ -59,19 +58,25 @@ var meta = {
|
|
59
58
|
export default meta;
|
60
59
|
export var Default = function (_a) {
|
61
60
|
var args = __rest(_a, []);
|
62
|
-
return
|
61
|
+
return <Progress value={25} {...args}/>;
|
63
62
|
};
|
64
63
|
export var Radius = function (_a) {
|
65
64
|
var args = __rest(_a, []);
|
66
|
-
return (
|
65
|
+
return (<div className="flex flex-col space-y-3">
|
66
|
+
{radiusOptions.map(function (radius) { return (<Progress key={radius} value={25} {...args} radius={radius}/>); })}
|
67
|
+
</div>);
|
67
68
|
};
|
68
69
|
export var Size = function (_a) {
|
69
70
|
var args = __rest(_a, []);
|
70
|
-
return (
|
71
|
+
return (<div className="flex flex-col space-y-3">
|
72
|
+
{sizeOptions
|
71
73
|
.filter(function (value) { return value != 'x-small' && value != 'x-large'; })
|
72
|
-
.map(function (size) { return (
|
74
|
+
.map(function (size) { return (<Progress key={size} value={25} {...args} size={size}/>); })}
|
75
|
+
</div>);
|
73
76
|
};
|
74
77
|
export var Variant = function (_a) {
|
75
78
|
var args = __rest(_a, []);
|
76
|
-
return (
|
79
|
+
return (<div className="flex flex-col space-y-3">
|
80
|
+
{['classic', 'surface', 'soft'].map(function (appearance) { return (<Default key={appearance} value={25} {...args} appearance={appearance}/>); })}
|
81
|
+
</div>);
|
77
82
|
};
|
@@ -1,7 +1,8 @@
|
|
1
|
+
/// <reference types="react" />
|
1
2
|
declare const meta: {
|
2
3
|
title: string;
|
3
4
|
component: {
|
4
|
-
({ className, labels, datasets, width, height, scaling, ...props }: import("components/RadarChart").RadarChartProps): import("react
|
5
|
+
({ className, labels, datasets, width, height, scaling, ...props }: import("components/RadarChart").RadarChartProps): import("react").JSX.Element;
|
5
6
|
displayName: string;
|
6
7
|
};
|
7
8
|
parameters: {
|
@@ -98,13 +99,13 @@ declare const meta: {
|
|
98
99
|
export default meta;
|
99
100
|
export declare const Default: ({ ...args }: {
|
100
101
|
[x: string]: any;
|
101
|
-
}) => import("react
|
102
|
+
}) => import("react").JSX.Element;
|
102
103
|
export declare const DotsRadarChart: ({ ...args }: {
|
103
104
|
[x: string]: any;
|
104
|
-
}) => import("react
|
105
|
+
}) => import("react").JSX.Element;
|
105
106
|
export declare const MultiDatasets: ({ ...args }: {
|
106
107
|
[x: string]: any;
|
107
|
-
}) => import("react
|
108
|
+
}) => import("react").JSX.Element;
|
108
109
|
export declare const LinesOnly: ({ ...args }: {
|
109
110
|
[x: string]: any;
|
110
|
-
}) => import("react
|
111
|
+
}) => import("react").JSX.Element;
|
@@ -20,7 +20,6 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
20
20
|
}
|
21
21
|
return t;
|
22
22
|
};
|
23
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
24
23
|
import { RadarChart } from 'components/RadarChart';
|
25
24
|
import { commonArgTypes, labelPositionList } from '../../constants';
|
26
25
|
import { red, blue } from 'color/light';
|
@@ -111,7 +110,7 @@ export var Default = function (_a) {
|
|
111
110
|
},
|
112
111
|
},
|
113
112
|
};
|
114
|
-
return (
|
113
|
+
return (<RadarChart width={400} height={300} labels={args.labels} datasets={args.datasets} options={options} {...args}/>);
|
115
114
|
};
|
116
115
|
export var DotsRadarChart = function (_a) {
|
117
116
|
var args = __rest(_a, []);
|
@@ -137,7 +136,7 @@ export var DotsRadarChart = function (_a) {
|
|
137
136
|
},
|
138
137
|
},
|
139
138
|
};
|
140
|
-
return (
|
139
|
+
return (<RadarChart width={400} height={300} labels={args.labels} datasets={datasets} options={options}/>);
|
141
140
|
};
|
142
141
|
export var MultiDatasets = function (_a) {
|
143
142
|
var args = __rest(_a, []);
|
@@ -168,7 +167,7 @@ export var MultiDatasets = function (_a) {
|
|
168
167
|
},
|
169
168
|
},
|
170
169
|
};
|
171
|
-
return (
|
170
|
+
return (<RadarChart width={400} height={300} labels={args.labels} datasets={datasets} options={options}/>);
|
172
171
|
};
|
173
172
|
export var LinesOnly = function (_a) {
|
174
173
|
var args = __rest(_a, []);
|
@@ -197,5 +196,5 @@ export var LinesOnly = function (_a) {
|
|
197
196
|
},
|
198
197
|
},
|
199
198
|
};
|
200
|
-
return (
|
199
|
+
return (<RadarChart width={400} height={300} labels={args.labels} datasets={datasets} options={options}/>);
|
201
200
|
};
|
@@ -99,10 +99,10 @@ declare const meta: {
|
|
99
99
|
export default meta;
|
100
100
|
export declare const Default: ({ ...args }: {
|
101
101
|
[x: string]: any;
|
102
|
-
}) => import("react
|
102
|
+
}) => import("react").JSX.Element;
|
103
103
|
export declare const Size: ({ ...args }: {
|
104
104
|
[x: string]: any;
|
105
|
-
}) => import("react
|
105
|
+
}) => import("react").JSX.Element;
|
106
106
|
export declare const Appearance: ({ ...args }: {
|
107
107
|
[x: string]: any;
|
108
|
-
}) => import("react
|
108
|
+
}) => import("react").JSX.Element;
|
@@ -20,7 +20,6 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
20
20
|
}
|
21
21
|
return t;
|
22
22
|
};
|
23
|
-
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
24
23
|
import { commonArgTypes, sizeOptions } from '../../constants';
|
25
24
|
import { Radio } from '../../components/Radio/index';
|
26
25
|
var meta = {
|
@@ -72,13 +71,24 @@ var meta = {
|
|
72
71
|
export default meta;
|
73
72
|
export var Default = function (_a) {
|
74
73
|
var args = __rest(_a, []);
|
75
|
-
return (
|
74
|
+
return (<>
|
75
|
+
<Radio value={'1'} name={'example'} {...args}>
|
76
|
+
radio option1
|
77
|
+
</Radio>
|
78
|
+
<Radio value={'2'} name={'example'} {...args}>
|
79
|
+
radio option2
|
80
|
+
</Radio>
|
81
|
+
</>);
|
76
82
|
};
|
77
83
|
export var Size = function (_a) {
|
78
84
|
var args = __rest(_a, []);
|
79
|
-
return (
|
85
|
+
return (<div className="flex items-center space-x-4">
|
86
|
+
{['small', 'medium', 'large'].map(function (size) { return (<Radio key={size} size={size} value={'1'} name={'size'} defaultChecked={size === 'small'} {...args}/>); })}
|
87
|
+
</div>);
|
80
88
|
};
|
81
89
|
export var Appearance = function (_a) {
|
82
90
|
var args = __rest(_a, []);
|
83
|
-
return (
|
91
|
+
return (<div className="flex items-center space-x-4">
|
92
|
+
{['classic', 'soft', 'surface'].map(function (appearance) { return (<Radio key={appearance} value={appearance} appearance={appearance} name={'appearance'} defaultChecked={appearance === 'classic'} {...args}/>); })}
|
93
|
+
</div>);
|
84
94
|
};
|
@@ -115,13 +115,13 @@ declare const meta: {
|
|
115
115
|
export default meta;
|
116
116
|
export declare const Default: ({ ...args }: {
|
117
117
|
[x: string]: any;
|
118
|
-
}) => import("react
|
118
|
+
}) => import("react").JSX.Element;
|
119
119
|
export declare const Radius: ({ ...args }: {
|
120
120
|
[x: string]: any;
|
121
|
-
}) => import("react
|
121
|
+
}) => import("react").JSX.Element;
|
122
122
|
export declare const Size: ({ ...args }: {
|
123
123
|
[x: string]: any;
|
124
|
-
}) => import("react
|
124
|
+
}) => import("react").JSX.Element;
|
125
125
|
export declare const States: ({ ...args }: {
|
126
126
|
[x: string]: any;
|
127
|
-
}) => import("react
|
127
|
+
}) => import("react").JSX.Element;
|