@lotte-innovate/ui-component-test 0.0.13 → 0.0.15
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/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/package.json +11 -2
- package/dist/app/layout.d.ts +0 -7
- package/dist/app/layout.js +0 -12
- package/dist/app/page.d.ts +0 -1
- package/dist/app/page.js +0 -6
- package/dist/app/template/colorPicker.d.ts +0 -6
- package/dist/app/template/colorPicker.js +0 -14
- package/dist/app/template/theme.d.ts +0 -12
- package/dist/app/template/theme.js +0 -11
- package/dist/components/NavigationMenu/NavigationMenuIndicator.js +0 -31
- package/dist/stories/Welcome.d.ts +0 -2
- package/dist/stories/Welcome.js +0 -30
- package/dist/stories/accordion/Accordion.stories.d.ts +0 -71
- package/dist/stories/accordion/Accordion.stories.js +0 -61
- package/dist/stories/alert-dialog/AlertDialog.stories.d.ts +0 -107
- package/dist/stories/alert-dialog/AlertDialog.stories.js +0 -60
- package/dist/stories/aspect-ratio/AspectRatio.stories.d.ts +0 -68
- package/dist/stories/aspect-ratio/AspectRatio.stories.js +0 -78
- package/dist/stories/avatar/Avatar.stories.d.ts +0 -127
- package/dist/stories/avatar/Avatar.stories.js +0 -94
- package/dist/stories/badge/Badge.stories.d.ts +0 -133
- package/dist/stories/badge/Badge.stories.js +0 -86
- package/dist/stories/bubble-chart/BubbleChart.stories.d.ts +0 -102
- package/dist/stories/bubble-chart/BubbleChart.stories.js +0 -168
- package/dist/stories/button/Button.stories.d.ts +0 -148
- package/dist/stories/button/Button.stories.js +0 -65
- package/dist/stories/button/IconButton.stories.d.ts +0 -125
- package/dist/stories/button/IconButton.stories.js +0 -80
- package/dist/stories/callout/Callout.stories.d.ts +0 -129
- package/dist/stories/callout/Callout.stories.js +0 -104
- package/dist/stories/card/Card.stories.d.ts +0 -100
- package/dist/stories/card/Card.stories.js +0 -84
- package/dist/stories/checkbox/Checkbox.stories.d.ts +0 -147
- package/dist/stories/checkbox/Checkbox.stories.js +0 -110
- package/dist/stories/checkbox/CheckboxCard.stories.d.ts +0 -129
- package/dist/stories/checkbox/CheckboxCard.stories.js +0 -90
- package/dist/stories/checkbox/CheckboxGroup.stories.d.ts +0 -91
- package/dist/stories/checkbox/CheckboxGroup.stories.js +0 -72
- package/dist/stories/context-menu/ContextMenu.stories.d.ts +0 -113
- package/dist/stories/context-menu/ContextMenu.stories.js +0 -86
- package/dist/stories/data-list/DataList.stories.d.ts +0 -97
- package/dist/stories/data-list/DataList.stories.js +0 -87
- package/dist/stories/dialog/Dialog.stories.d.ts +0 -88
- package/dist/stories/dialog/Dialog.stories.js +0 -59
- package/dist/stories/doughnut-chart/DoughnutChart.stories.d.ts +0 -180
- package/dist/stories/doughnut-chart/DoughnutChart.stories.js +0 -228
- package/dist/stories/dropdown-menu/DropdownMenu.stories.d.ts +0 -112
- package/dist/stories/dropdown-menu/DropdownMenu.stories.js +0 -75
- package/dist/stories/header/Header.stories.d.ts +0 -112
- package/dist/stories/header/Header.stories.js +0 -97
- package/dist/stories/hover-card/HoverCard.stories.d.ts +0 -107
- package/dist/stories/hover-card/HoverCard.stories.js +0 -71
- package/dist/stories/inset/Inset.stories.d.ts +0 -58
- package/dist/stories/inset/Inset.stories.js +0 -64
- package/dist/stories/label/Label.stories.d.ts +0 -94
- package/dist/stories/label/Label.stories.js +0 -91
- package/dist/stories/menubar/Menubar.stories.d.ts +0 -119
- package/dist/stories/menubar/Menubar.stories.js +0 -98
- package/dist/stories/navigation-menu/NavigationMenu.stories.d.ts +0 -385
- package/dist/stories/navigation-menu/NavigationMenu.stories.js +0 -79
- package/dist/stories/pie-chart/PieChart.stories.d.ts +0 -185
- package/dist/stories/pie-chart/PieChart.stories.js +0 -281
- package/dist/stories/popover/Popover.stories.d.ts +0 -78
- package/dist/stories/popover/Popover.stories.js +0 -74
- package/dist/stories/progress/Progress.stories.d.ts +0 -113
- package/dist/stories/progress/Progress.stories.js +0 -77
- package/dist/stories/radar-chart/RadarChart.stories.d.ts +0 -110
- package/dist/stories/radar-chart/RadarChart.stories.js +0 -201
- package/dist/stories/radio/Radio.stories.d.ts +0 -108
- package/dist/stories/radio/Radio.stories.js +0 -84
- package/dist/stories/radio/RadioCards.stories.d.ts +0 -127
- package/dist/stories/radio/RadioCards.stories.js +0 -94
- package/dist/stories/radio/RadioGroup.stories.d.ts +0 -111
- package/dist/stories/radio/RadioGroup.stories.js +0 -88
- package/dist/stories/scroll-area/ScrollArea.stories.d.ts +0 -59
- package/dist/stories/scroll-area/ScrollArea.stories.js +0 -63
- package/dist/stories/segmented-control/SegmentedControl.stories.d.ts +0 -97
- package/dist/stories/segmented-control/SegmentedControl.stories.js +0 -80
- package/dist/stories/select/Select.stories.d.ts +0 -116
- package/dist/stories/select/Select.stories.js +0 -88
- package/dist/stories/separator/Separator.stories.d.ts +0 -93
- package/dist/stories/separator/Separator.stories.js +0 -82
- package/dist/stories/skeleton/Skeleton.stories.d.ts +0 -88
- package/dist/stories/skeleton/Skeleton.stories.js +0 -92
- package/dist/stories/slider/Slider.stories.d.ts +0 -114
- package/dist/stories/slider/Slider.stories.js +0 -83
- package/dist/stories/spinner/Spinner.stories.d.ts +0 -83
- package/dist/stories/spinner/Spinner.stories.js +0 -87
- package/dist/stories/switch/Switch.stories.d.ts +0 -146
- package/dist/stories/switch/Switch.stories.js +0 -108
- package/dist/stories/tab-nav/TabNav.stories.d.ts +0 -55
- package/dist/stories/tab-nav/TabNav.stories.js +0 -59
- package/dist/stories/table/Table.stories.d.ts +0 -87
- package/dist/stories/table/Table.stories.js +0 -79
- package/dist/stories/tabs/Tabs.stories.d.ts +0 -55
- package/dist/stories/tabs/Tabs.stories.js +0 -59
- package/dist/stories/text/Text.stories.d.ts +0 -74
- package/dist/stories/text/Text.stories.js +0 -76
- package/dist/stories/textArea/TextArea.stories.d.ts +0 -117
- package/dist/stories/textArea/TextArea.stories.js +0 -96
- package/dist/stories/textfield/TextField.stories.d.ts +0 -116
- package/dist/stories/textfield/TextField.stories.js +0 -88
- package/dist/stories/toast/Toast.stories.d.ts +0 -138
- package/dist/stories/toast/Toast.stories.js +0 -104
- package/dist/stories/toggle/Toggle.stories.d.ts +0 -115
- package/dist/stories/toggle/Toggle.stories.js +0 -89
- package/dist/stories/toggle/ToggleGroup.stories.d.ts +0 -103
- package/dist/stories/toggle/ToggleGroup.stories.js +0 -94
- package/dist/stories/tooltip/Tooltip.stories.d.ts +0 -93
- package/dist/stories/tooltip/Tooltip.stories.js +0 -78
- package/dist/tsconfig.tsbuildinfo +0 -1
@@ -1,78 +0,0 @@
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
2
|
-
__assign = Object.assign || function(t) {
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
4
|
-
s = arguments[i];
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
6
|
-
t[p] = s[p];
|
7
|
-
}
|
8
|
-
return t;
|
9
|
-
};
|
10
|
-
return __assign.apply(this, arguments);
|
11
|
-
};
|
12
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
13
|
-
var t = {};
|
14
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
15
|
-
t[p] = s[p];
|
16
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
17
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
18
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
19
|
-
t[p[i]] = s[p[i]];
|
20
|
-
}
|
21
|
-
return t;
|
22
|
-
};
|
23
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
24
|
-
import Image from 'next/image';
|
25
|
-
import AspectRatio from 'components/AspectRatio';
|
26
|
-
import { Text } from 'Typography/Text';
|
27
|
-
import { commonArgTypes, scalingOptions } from '../../constants';
|
28
|
-
var aspectOptions = {
|
29
|
-
'1': 1,
|
30
|
-
'5/4': 1.25,
|
31
|
-
'5/3': 1.66,
|
32
|
-
'5/2': 2.5,
|
33
|
-
'5/1': 5,
|
34
|
-
'16/9': 1.77,
|
35
|
-
};
|
36
|
-
var meta = {
|
37
|
-
title: 'Component/AspectRatio',
|
38
|
-
component: AspectRatio,
|
39
|
-
parameters: {
|
40
|
-
layout: 'centered',
|
41
|
-
docs: {
|
42
|
-
description: {
|
43
|
-
component: '원하는 비율로 콘텐츠를 표시하는 컴포넌트',
|
44
|
-
},
|
45
|
-
},
|
46
|
-
},
|
47
|
-
tags: ['autodocs'],
|
48
|
-
argTypes: {
|
49
|
-
ratio: {
|
50
|
-
table: {
|
51
|
-
category: 'Props',
|
52
|
-
type: { summary: 'number' },
|
53
|
-
},
|
54
|
-
options: Object.keys(aspectOptions),
|
55
|
-
mapping: aspectOptions,
|
56
|
-
control: {
|
57
|
-
type: 'select',
|
58
|
-
},
|
59
|
-
description: 'width / height 비율',
|
60
|
-
defaultValue: { summary: '16/9' },
|
61
|
-
},
|
62
|
-
scaling: __assign(__assign({}, commonArgTypes.scaling), { description: 'AspectRatio 비율' }),
|
63
|
-
},
|
64
|
-
args: {},
|
65
|
-
};
|
66
|
-
export default meta;
|
67
|
-
export var Default = function (_a) {
|
68
|
-
var args = __rest(_a, []);
|
69
|
-
return (_jsx("div", { className: "w-[300px]", children: _jsx(AspectRatio, __assign({ id: "defaultAspectRatio" }, args, { children: _jsx(Image, { className: "h-full w-full object-cover", src: "https://images.unsplash.com/photo-1535025183041-0991a977e25b?w=300&dpr=2&q=80", alt: "Landscape photograph by Tobias Tullius", width: 100, height: 100 }) })) }));
|
70
|
-
};
|
71
|
-
export var Ratio = function (_a) {
|
72
|
-
var args = __rest(_a, []);
|
73
|
-
return (_jsxs("div", { className: "flex space-x-2", children: [_jsxs("div", { className: "flex flex-col w-[200px] items-center", children: [_jsx(Text, { children: '3 / 1' }), _jsx(AspectRatio, __assign({ id: "defaultAspectRatio" }, args, { ratio: 3 / 1, children: _jsx(Image, { className: "h-full w-full object-cover", src: "https://images.unsplash.com/photo-1535025183041-0991a977e25b?w=300&dpr=2&q=80", alt: "Landscape photograph by Tobias Tullius", width: 100, height: 100 }) }))] }), _jsxs("div", { className: "flex flex-col w-[200px] items-center", children: [_jsx(Text, { children: '3 / 2' }), _jsx(AspectRatio, __assign({ id: "defaultAspectRatio" }, args, { ratio: 3 / 2, children: _jsx(Image, { className: "h-full w-full object-cover", src: "https://images.unsplash.com/photo-1535025183041-0991a977e25b?w=300&dpr=2&q=80", alt: "Landscape photograph by Tobias Tullius", width: 100, height: 100 }) }))] }), _jsxs("div", { className: "flex flex-col w-[200px] items-center", children: [_jsx(Text, { children: '3 / 3' }), _jsx(AspectRatio, __assign({ id: "defaultAspectRatio" }, args, { ratio: 3 / 3, children: _jsx(Image, { className: "h-full w-full object-cover", src: "https://images.unsplash.com/photo-1535025183041-0991a977e25b?w=300&dpr=2&q=80", alt: "Landscape photograph by Tobias Tullius", width: 100, height: 100 }) }))] })] }));
|
74
|
-
};
|
75
|
-
export var Scaling = function (_a) {
|
76
|
-
var args = __rest(_a, []);
|
77
|
-
return (_jsx("div", { className: "flex flex-row space-x-5", children: scalingOptions.map(function (scaling) { return (_jsx("div", { className: "w-[130px] border border-red-9", children: _jsx(AspectRatio, __assign({ id: scaling, scaling: scaling }, args, { children: _jsx(Image, { className: "h-full w-full object-cover", src: "https://images.unsplash.com/photo-1535025183041-0991a977e25b?w=300&dpr=2&q=80", alt: "Landscape photograph by Tobias Tullius", width: 100, height: 100 }) })) }, scaling)); }) }));
|
78
|
-
};
|
@@ -1,127 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { IRadius, IScaling, ITypoSize } from 'types';
|
3
|
-
declare const meta: {
|
4
|
-
title: string;
|
5
|
-
component: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & import("components/Avatar").AvatarProps & import("react").RefAttributes<HTMLSpanElement>>;
|
6
|
-
parameters: {
|
7
|
-
layout: string;
|
8
|
-
themes: {
|
9
|
-
themeOverride: string;
|
10
|
-
};
|
11
|
-
docs: {
|
12
|
-
description: {
|
13
|
-
component: string;
|
14
|
-
};
|
15
|
-
};
|
16
|
-
};
|
17
|
-
tags: string[];
|
18
|
-
argTypes: {
|
19
|
-
radius: {
|
20
|
-
description: string;
|
21
|
-
defaultValue: {
|
22
|
-
summary: string;
|
23
|
-
};
|
24
|
-
table: {
|
25
|
-
category: string;
|
26
|
-
type: {
|
27
|
-
summary: string;
|
28
|
-
};
|
29
|
-
};
|
30
|
-
options: IRadius[];
|
31
|
-
control: {
|
32
|
-
type: string;
|
33
|
-
};
|
34
|
-
};
|
35
|
-
scaling: {
|
36
|
-
description: string;
|
37
|
-
table: {
|
38
|
-
category: string;
|
39
|
-
type: {
|
40
|
-
summary: string;
|
41
|
-
};
|
42
|
-
};
|
43
|
-
control: {
|
44
|
-
type: string;
|
45
|
-
};
|
46
|
-
options: IScaling[];
|
47
|
-
defaultValue: {
|
48
|
-
summary: string;
|
49
|
-
};
|
50
|
-
};
|
51
|
-
size: {
|
52
|
-
table: {
|
53
|
-
category: string;
|
54
|
-
type: {
|
55
|
-
summary: string;
|
56
|
-
};
|
57
|
-
};
|
58
|
-
options: ITypoSize[];
|
59
|
-
control: {
|
60
|
-
type: string;
|
61
|
-
};
|
62
|
-
description: string;
|
63
|
-
defaultValue: {
|
64
|
-
summary: string;
|
65
|
-
};
|
66
|
-
};
|
67
|
-
color: {
|
68
|
-
description: string;
|
69
|
-
table: {
|
70
|
-
category: string;
|
71
|
-
type: {
|
72
|
-
summary: string;
|
73
|
-
};
|
74
|
-
};
|
75
|
-
options: import("types").IColor[];
|
76
|
-
control: {
|
77
|
-
type: string;
|
78
|
-
};
|
79
|
-
defaultValue: {
|
80
|
-
summary: string;
|
81
|
-
};
|
82
|
-
};
|
83
|
-
appearance: {
|
84
|
-
description: string;
|
85
|
-
table: {
|
86
|
-
category: string;
|
87
|
-
type: {
|
88
|
-
summary: string;
|
89
|
-
};
|
90
|
-
};
|
91
|
-
options: import("types").IAppearance[];
|
92
|
-
control: {
|
93
|
-
type: string;
|
94
|
-
};
|
95
|
-
defaultValue: {
|
96
|
-
summary: string;
|
97
|
-
};
|
98
|
-
};
|
99
|
-
fallbackText: {
|
100
|
-
table: {
|
101
|
-
category: string;
|
102
|
-
type: {
|
103
|
-
summary: string;
|
104
|
-
};
|
105
|
-
};
|
106
|
-
control: string;
|
107
|
-
description: string;
|
108
|
-
defaultValue: string;
|
109
|
-
};
|
110
|
-
};
|
111
|
-
};
|
112
|
-
export default meta;
|
113
|
-
export declare const Default: ({ ...args }: {
|
114
|
-
[x: string]: any;
|
115
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
116
|
-
export declare const Radius: ({ ...args }: {
|
117
|
-
[x: string]: any;
|
118
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
119
|
-
export declare const Size: ({ ...args }: {
|
120
|
-
[x: string]: any;
|
121
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
122
|
-
export declare const Scaling: ({ ...args }: {
|
123
|
-
[x: string]: any;
|
124
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
125
|
-
export declare const Appearance: ({ ...args }: {
|
126
|
-
[x: string]: any;
|
127
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -1,94 +0,0 @@
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
2
|
-
__assign = Object.assign || function(t) {
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
4
|
-
s = arguments[i];
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
6
|
-
t[p] = s[p];
|
7
|
-
}
|
8
|
-
return t;
|
9
|
-
};
|
10
|
-
return __assign.apply(this, arguments);
|
11
|
-
};
|
12
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
13
|
-
var t = {};
|
14
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
15
|
-
t[p] = s[p];
|
16
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
17
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
18
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
19
|
-
t[p[i]] = s[p[i]];
|
20
|
-
}
|
21
|
-
return t;
|
22
|
-
};
|
23
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
24
|
-
import Avatar from 'components/Avatar';
|
25
|
-
import { radiusOptions, scalingOptions, commonArgTypes, typoSizeOptions, appearanceOptions, } from '../../constants';
|
26
|
-
var meta = {
|
27
|
-
title: 'Component/Avatar',
|
28
|
-
component: Avatar,
|
29
|
-
parameters: {
|
30
|
-
layout: 'centered',
|
31
|
-
themes: {
|
32
|
-
themeOverride: 'dark',
|
33
|
-
},
|
34
|
-
docs: {
|
35
|
-
description: {
|
36
|
-
component: '사용자 프로필 아이콘으로 사용자를 대표하는 이미지를 사진이나 이니셜로 표현하는 컴포넌트',
|
37
|
-
},
|
38
|
-
},
|
39
|
-
},
|
40
|
-
tags: ['autodocs'],
|
41
|
-
argTypes: {
|
42
|
-
radius: __assign(__assign({}, commonArgTypes.radius), { description: 'Avatar 둥굴기', defaultValue: { summary: 'full' } }),
|
43
|
-
scaling: __assign(__assign({}, commonArgTypes.scaling), { description: 'Avatar 비율' }),
|
44
|
-
size: {
|
45
|
-
table: {
|
46
|
-
category: 'Props',
|
47
|
-
type: { summary: '1 ~ 9' },
|
48
|
-
},
|
49
|
-
options: typoSizeOptions,
|
50
|
-
control: { type: 'select' },
|
51
|
-
description: 'Avatar 크기',
|
52
|
-
defaultValue: { summary: '3' },
|
53
|
-
},
|
54
|
-
color: __assign(__assign({}, commonArgTypes.color), { description: 'Avatar 메인 color' }),
|
55
|
-
appearance: __assign(__assign({}, commonArgTypes.appearance), { description: 'Avatar 스타일', table: {
|
56
|
-
category: 'Props',
|
57
|
-
type: {
|
58
|
-
summary: appearanceOptions
|
59
|
-
.filter(function (option) { return option === 'solid' || option === 'soft'; })
|
60
|
-
.join(' | '),
|
61
|
-
},
|
62
|
-
}, options: appearanceOptions.filter(function (option) { return option === 'solid' || option === 'soft'; }) }),
|
63
|
-
fallbackText: {
|
64
|
-
table: {
|
65
|
-
category: 'Props',
|
66
|
-
type: { summary: 'string' },
|
67
|
-
},
|
68
|
-
control: 'text',
|
69
|
-
description: 'Avatar fallback 텍스트',
|
70
|
-
defaultValue: 'FB',
|
71
|
-
},
|
72
|
-
},
|
73
|
-
};
|
74
|
-
export default meta;
|
75
|
-
export var Default = function (_a) {
|
76
|
-
var args = __rest(_a, []);
|
77
|
-
return (_jsxs("div", { className: "flex space-x-4", children: [_jsx(Avatar, __assign({ imagePath: "https://images.unsplash.com/photo-1492633423870-43d1cd2775eb?&w=128&h=128&dpr=2&q=80" }, args)), _jsx(Avatar, __assign({ fallbackText: "A" }, args))] }));
|
78
|
-
};
|
79
|
-
export var Radius = function (_a) {
|
80
|
-
var args = __rest(_a, []);
|
81
|
-
return (_jsx("div", { className: "flex space-x-4", children: radiusOptions.map(function (radius) { return (_jsx(Avatar, __assign({ radius: radius, imagePath: "https://images.unsplash.com/photo-1511485977113-f34c92461ad9?ixlib=rb-1.2.1&w=128&h=128&dpr=2&q=80" }, args), radius)); }) }));
|
82
|
-
};
|
83
|
-
export var Size = function (_a) {
|
84
|
-
var args = __rest(_a, []);
|
85
|
-
return (_jsx("div", { className: "flex space-x-4", children: typoSizeOptions.map(function (size) { return (_jsx(Avatar, __assign({ size: size, fallbackText: "A" }, args), size)); }) }));
|
86
|
-
};
|
87
|
-
export var Scaling = function (_a) {
|
88
|
-
var args = __rest(_a, []);
|
89
|
-
return (_jsx("div", { className: "flex space-x-4", children: scalingOptions.map(function (scaling) { return (_jsx(Avatar, __assign({ scaling: scaling, imagePath: "https://images.unsplash.com/photo-1502823403499-6ccfcf4fb453?&w=256&h=256&q=70&crop=focalpoint&fp-x=0.5&fp-y=0.3&fp-z=1&fit=crop" }, args), scaling)); }) }));
|
90
|
-
};
|
91
|
-
export var Appearance = function (_a) {
|
92
|
-
var args = __rest(_a, []);
|
93
|
-
return (_jsxs("div", { className: "flex space-x-4", children: [_jsx(Avatar, __assign({ appearance: "solid", fallbackText: 'A' }, args)), _jsx(Avatar, __assign({ appearance: "soft", fallbackText: 'A' }, args))] }));
|
94
|
-
};
|
@@ -1,133 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { IRadius, IScaling, IWeight } from '../../types';
|
3
|
-
declare const meta: {
|
4
|
-
title: string;
|
5
|
-
component: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("components/Badge").BadgeProps & React.RefAttributes<HTMLDivElement>>;
|
6
|
-
parameters: {
|
7
|
-
layout: string;
|
8
|
-
docs: {
|
9
|
-
description: {
|
10
|
-
component: string;
|
11
|
-
};
|
12
|
-
};
|
13
|
-
};
|
14
|
-
tags: string[];
|
15
|
-
argTypes: {
|
16
|
-
radius: {
|
17
|
-
description: string;
|
18
|
-
table: {
|
19
|
-
category: string;
|
20
|
-
type: {
|
21
|
-
summary: string;
|
22
|
-
};
|
23
|
-
};
|
24
|
-
options: IRadius[];
|
25
|
-
control: {
|
26
|
-
type: string;
|
27
|
-
};
|
28
|
-
defaultValue: {
|
29
|
-
summary: string;
|
30
|
-
};
|
31
|
-
};
|
32
|
-
size: {
|
33
|
-
table: {
|
34
|
-
category: string;
|
35
|
-
type: {
|
36
|
-
summary: string;
|
37
|
-
};
|
38
|
-
};
|
39
|
-
options: import("../../types").ISize[];
|
40
|
-
description: string;
|
41
|
-
control: {
|
42
|
-
type: string;
|
43
|
-
};
|
44
|
-
defaultValue: {
|
45
|
-
summary: string;
|
46
|
-
};
|
47
|
-
};
|
48
|
-
scaling: {
|
49
|
-
description: string;
|
50
|
-
table: {
|
51
|
-
category: string;
|
52
|
-
type: {
|
53
|
-
summary: string;
|
54
|
-
};
|
55
|
-
};
|
56
|
-
control: {
|
57
|
-
type: string;
|
58
|
-
};
|
59
|
-
options: IScaling[];
|
60
|
-
defaultValue: {
|
61
|
-
summary: string;
|
62
|
-
};
|
63
|
-
};
|
64
|
-
weight: {
|
65
|
-
description: string;
|
66
|
-
table: {
|
67
|
-
category: string;
|
68
|
-
type: {
|
69
|
-
summary: string;
|
70
|
-
};
|
71
|
-
};
|
72
|
-
options: IWeight[];
|
73
|
-
control: {
|
74
|
-
type: string;
|
75
|
-
};
|
76
|
-
defaultValue: {
|
77
|
-
summary: string;
|
78
|
-
};
|
79
|
-
};
|
80
|
-
color: {
|
81
|
-
description: string;
|
82
|
-
table: {
|
83
|
-
category: string;
|
84
|
-
type: {
|
85
|
-
summary: string;
|
86
|
-
};
|
87
|
-
};
|
88
|
-
options: import("../../types").IColor[];
|
89
|
-
control: {
|
90
|
-
type: string;
|
91
|
-
};
|
92
|
-
defaultValue: {
|
93
|
-
summary: string;
|
94
|
-
};
|
95
|
-
};
|
96
|
-
appearance: {
|
97
|
-
table: {
|
98
|
-
category: string;
|
99
|
-
type: {
|
100
|
-
summary: string;
|
101
|
-
};
|
102
|
-
};
|
103
|
-
description: string;
|
104
|
-
options: import("../../types").IAppearance[];
|
105
|
-
control: {
|
106
|
-
type: string;
|
107
|
-
};
|
108
|
-
defaultValue: {
|
109
|
-
summary: string;
|
110
|
-
};
|
111
|
-
};
|
112
|
-
};
|
113
|
-
args: {};
|
114
|
-
};
|
115
|
-
export default meta;
|
116
|
-
export declare const Default: ({ ...args }: {
|
117
|
-
[x: string]: any;
|
118
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
119
|
-
export declare const Radius: ({ ...args }: {
|
120
|
-
[x: string]: any;
|
121
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
122
|
-
export declare const Size: ({ ...args }: {
|
123
|
-
[x: string]: any;
|
124
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
125
|
-
export declare const Scaling: ({ ...args }: {
|
126
|
-
[x: string]: any;
|
127
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
128
|
-
export declare const Weight: ({ ...args }: {
|
129
|
-
[x: string]: any;
|
130
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
131
|
-
export declare const Appearance: ({ ...args }: {
|
132
|
-
[x: string]: any;
|
133
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -1,86 +0,0 @@
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
2
|
-
__assign = Object.assign || function(t) {
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
4
|
-
s = arguments[i];
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
6
|
-
t[p] = s[p];
|
7
|
-
}
|
8
|
-
return t;
|
9
|
-
};
|
10
|
-
return __assign.apply(this, arguments);
|
11
|
-
};
|
12
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
13
|
-
var t = {};
|
14
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
15
|
-
t[p] = s[p];
|
16
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
17
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
18
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
19
|
-
t[p[i]] = s[p[i]];
|
20
|
-
}
|
21
|
-
return t;
|
22
|
-
};
|
23
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
24
|
-
import Badge from 'components/Badge';
|
25
|
-
import { radiusOptions, commonArgTypes, appearanceOptions, sizeOptions, scalingOptions, } from '../../../src/constants';
|
26
|
-
var meta = {
|
27
|
-
title: 'Component/Badge',
|
28
|
-
component: Badge,
|
29
|
-
parameters: {
|
30
|
-
layout: 'centered',
|
31
|
-
docs: {
|
32
|
-
description: {
|
33
|
-
component: '빠른 인지와 탐색을 돕기 위해 컴포넌트 근처에 표시되는 작은 문자 또는 숫자 데이터',
|
34
|
-
},
|
35
|
-
},
|
36
|
-
},
|
37
|
-
tags: ['autodocs'],
|
38
|
-
argTypes: {
|
39
|
-
radius: __assign(__assign({}, commonArgTypes.radius), { description: 'Badge 둥굴기' }),
|
40
|
-
size: __assign(__assign({}, commonArgTypes.size), { table: {
|
41
|
-
category: 'Props',
|
42
|
-
type: {
|
43
|
-
summary: sizeOptions
|
44
|
-
.filter(function (option) { return option !== 'x-small' && option !== 'x-large'; })
|
45
|
-
.join(' | '),
|
46
|
-
},
|
47
|
-
}, options: sizeOptions.filter(function (option) { return option !== 'x-small' && option !== 'x-large'; }), description: 'Badge 크기' }),
|
48
|
-
scaling: __assign(__assign({}, commonArgTypes.scaling), { description: 'Badge 비율' }),
|
49
|
-
weight: __assign(__assign({}, commonArgTypes.weight), { description: 'Badge 폰트 두께' }),
|
50
|
-
color: __assign(__assign({}, commonArgTypes.color), { description: 'Badge 매인색' }),
|
51
|
-
appearance: __assign(__assign({}, commonArgTypes.appearance), { table: {
|
52
|
-
category: 'Props',
|
53
|
-
type: {
|
54
|
-
summary: appearanceOptions
|
55
|
-
.filter(function (option) { return option !== 'classic' && option !== 'ghost'; })
|
56
|
-
.join(' | '),
|
57
|
-
},
|
58
|
-
}, description: 'Badge 스타일', options: appearanceOptions.filter(function (option) { return option !== 'classic' && option !== 'ghost'; }) }),
|
59
|
-
},
|
60
|
-
args: {},
|
61
|
-
};
|
62
|
-
export default meta;
|
63
|
-
export var Default = function (_a) {
|
64
|
-
var args = __rest(_a, []);
|
65
|
-
return _jsx(Badge, __assign({}, args, { children: "Badge" }));
|
66
|
-
};
|
67
|
-
export var Radius = function (_a) {
|
68
|
-
var args = __rest(_a, []);
|
69
|
-
return (_jsx("div", { className: "flex gap-3", children: radiusOptions.map(function (radius) { return (_jsx(Badge, __assign({}, args, { radius: radius, children: radius }), radius)); }) }));
|
70
|
-
};
|
71
|
-
export var Size = function (_a) {
|
72
|
-
var args = __rest(_a, []);
|
73
|
-
return (_jsxs("div", { className: "flex items-center gap-3", children: [_jsx(Badge, __assign({}, args, { size: 'small', children: "small" })), _jsx(Badge, __assign({}, args, { size: 'medium', children: "medium" })), _jsx(Badge, __assign({}, args, { size: 'large', children: "large" }))] }));
|
74
|
-
};
|
75
|
-
export var Scaling = function (_a) {
|
76
|
-
var args = __rest(_a, []);
|
77
|
-
return (_jsx("div", { className: "flex items-center gap-3", children: scalingOptions.map(function (scaling) { return (_jsx(Badge, __assign({}, args, { scaling: scaling, children: scaling }), scaling)); }) }));
|
78
|
-
};
|
79
|
-
export var Weight = function (_a) {
|
80
|
-
var args = __rest(_a, []);
|
81
|
-
return (_jsxs("div", { className: "flex items-center gap-3", children: [_jsx(Badge, __assign({}, args, { weight: "regular", children: "regular" })), _jsx(Badge, __assign({}, args, { weight: "medium", children: "medium" })), _jsx(Badge, __assign({}, args, { weight: "semibold", children: "semibold" })), _jsx(Badge, __assign({}, args, { weight: "bold", children: "bold" }))] }));
|
82
|
-
};
|
83
|
-
export var Appearance = function (_a) {
|
84
|
-
var args = __rest(_a, []);
|
85
|
-
return (_jsxs("div", { className: "flex items-center gap-3", children: [_jsx(Badge, __assign({}, args, { appearance: "solid", children: "solid" })), _jsx(Badge, __assign({}, args, { appearance: "soft", children: "soft" })), _jsx(Badge, __assign({}, args, { appearance: "surface", children: "surface" })), _jsx(Badge, __assign({}, args, { appearance: "outline", children: "outline" }))] }));
|
86
|
-
};
|
@@ -1,102 +0,0 @@
|
|
1
|
-
import { PointStyle } from 'types';
|
2
|
-
declare const meta: {
|
3
|
-
title: string;
|
4
|
-
component: {
|
5
|
-
({ className, datasets, scaling, width, height, ...props }: import("components/BubbleChart").BubbleChartProps): import("react/jsx-runtime").JSX.Element;
|
6
|
-
displayName: string;
|
7
|
-
};
|
8
|
-
parameters: {
|
9
|
-
layout: string;
|
10
|
-
themes: {
|
11
|
-
themeOverride: string;
|
12
|
-
};
|
13
|
-
docs: {
|
14
|
-
description: {
|
15
|
-
component: string;
|
16
|
-
};
|
17
|
-
};
|
18
|
-
};
|
19
|
-
tags: string[];
|
20
|
-
args: {
|
21
|
-
datasets: {
|
22
|
-
label: string;
|
23
|
-
data: {
|
24
|
-
x: number;
|
25
|
-
y: number;
|
26
|
-
r: number;
|
27
|
-
}[];
|
28
|
-
backgroundColor: string;
|
29
|
-
borderColor: string;
|
30
|
-
borderWidth: number;
|
31
|
-
pointStyle: PointStyle;
|
32
|
-
}[];
|
33
|
-
};
|
34
|
-
argTypes: {
|
35
|
-
scaling: {
|
36
|
-
description: string;
|
37
|
-
table: {
|
38
|
-
category: string;
|
39
|
-
type: {
|
40
|
-
summary: string;
|
41
|
-
};
|
42
|
-
};
|
43
|
-
control: {
|
44
|
-
type: string;
|
45
|
-
};
|
46
|
-
options: import("types").IScaling[];
|
47
|
-
defaultValue: {
|
48
|
-
summary: string;
|
49
|
-
};
|
50
|
-
};
|
51
|
-
datasets: {
|
52
|
-
description: string;
|
53
|
-
table: {
|
54
|
-
category: string;
|
55
|
-
type: {
|
56
|
-
summary: string;
|
57
|
-
};
|
58
|
-
};
|
59
|
-
};
|
60
|
-
labelPosition: {
|
61
|
-
description: string;
|
62
|
-
table: {
|
63
|
-
category: string;
|
64
|
-
type: {
|
65
|
-
summary: string;
|
66
|
-
};
|
67
|
-
};
|
68
|
-
control: {
|
69
|
-
type: string;
|
70
|
-
};
|
71
|
-
options: string[];
|
72
|
-
defaultValue: {
|
73
|
-
summary: string;
|
74
|
-
};
|
75
|
-
};
|
76
|
-
className: {
|
77
|
-
table: {
|
78
|
-
disable: boolean;
|
79
|
-
};
|
80
|
-
};
|
81
|
-
width: {
|
82
|
-
table: {
|
83
|
-
disable: boolean;
|
84
|
-
};
|
85
|
-
};
|
86
|
-
height: {
|
87
|
-
table: {
|
88
|
-
disable: boolean;
|
89
|
-
};
|
90
|
-
};
|
91
|
-
};
|
92
|
-
};
|
93
|
-
export default meta;
|
94
|
-
export declare const Default: ({ ...args }: {
|
95
|
-
[x: string]: any;
|
96
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
97
|
-
export declare const MultiDatasets: ({ ...args }: {
|
98
|
-
[x: string]: any;
|
99
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
100
|
-
export declare const PointStyles: ({ ...args }: {
|
101
|
-
[x: string]: any;
|
102
|
-
}) => import("react/jsx-runtime").JSX.Element;
|