@lotte-innovate/ui-component-test 0.1.66 → 0.1.67
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +133 -133
- package/dist/globals.css +4 -4
- package/dist/lib/Typography/Header/index.d.ts +1 -1
- package/dist/lib/Typography/Text/index.d.ts +1 -1
- package/dist/lib/components/Accordion/index.d.ts +1 -0
- package/dist/lib/components/Accordion/index.js +18 -4
- package/dist/lib/components/Accordion/index.mjs +1 -1
- package/dist/lib/components/Accordion/index.mjs.map +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogAction.d.ts +2 -2
- package/dist/lib/components/AlertDialog/AlertDialogCancel.d.ts +2 -2
- package/dist/lib/components/AlertDialog/AlertDialogContent.d.ts +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogRoot.js +9 -6
- package/dist/lib/components/AlertDialog/AlertDialogRoot.mjs +2 -1
- package/dist/lib/components/AlertDialog/AlertDialogRoot.mjs.map +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.d.ts +2 -2
- package/dist/lib/components/AspectRatio/index.js +3 -1
- package/dist/lib/components/AspectRatio/index.mjs +1 -1
- package/dist/lib/components/AspectRatio/index.mjs.map +1 -1
- package/dist/lib/components/Avatar/index.d.ts +1 -1
- package/dist/lib/components/Avatar/index.js +9 -1
- package/dist/lib/components/Avatar/index.mjs +2 -1
- package/dist/lib/components/Avatar/index.mjs.map +1 -1
- package/dist/lib/components/Badge/index.d.ts +2 -2
- package/dist/lib/components/Badge/index.js +10 -1
- package/dist/lib/components/Badge/index.mjs +1 -1
- package/dist/lib/components/Badge/index.mjs.map +1 -1
- package/dist/lib/components/Button/index.d.ts +2 -2
- package/dist/lib/components/Button/index.js +10 -1
- package/dist/lib/components/Button/index.mjs +1 -1
- package/dist/lib/components/Button/index.mjs.map +1 -1
- package/dist/lib/components/Callout/CalloutRoot.d.ts +1 -1
- package/dist/lib/components/Callout/CalloutRoot.js +11 -3
- package/dist/lib/components/Callout/CalloutRoot.mjs +2 -1
- package/dist/lib/components/Callout/CalloutRoot.mjs.map +1 -1
- package/dist/lib/components/Card/index.d.ts +2 -2
- package/dist/lib/components/Card/index.js +8 -1
- package/dist/lib/components/Card/index.mjs +1 -1
- package/dist/lib/components/Card/index.mjs.map +1 -1
- package/dist/lib/components/Checkbox/index.d.ts +1 -1
- package/dist/lib/components/Checkbox/index.js +10 -2
- package/dist/lib/components/Checkbox/index.mjs +1 -1
- package/dist/lib/components/Checkbox/index.mjs.map +1 -1
- package/dist/lib/components/CheckboxCard/index.d.ts +1 -1
- package/dist/lib/components/CheckboxCard/index.js +8 -1
- package/dist/lib/components/CheckboxCard/index.mjs +1 -1
- package/dist/lib/components/CheckboxCard/index.mjs.map +1 -1
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.js +11 -2
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs +2 -1
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs.map +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuContent.d.ts +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuItem.d.ts +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.d.ts +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.js +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.mjs +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.mjs.map +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuRoot.js +11 -2
- package/dist/lib/components/ContextMenu/ContextMenuRoot.mjs +2 -1
- package/dist/lib/components/ContextMenu/ContextMenuRoot.mjs.map +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.d.ts +1 -1
- package/dist/lib/components/DataList/DataListLabel.d.ts +1 -1
- package/dist/lib/components/DataList/DataListRoot.js +9 -2
- package/dist/lib/components/DataList/DataListRoot.mjs +2 -1
- package/dist/lib/components/DataList/DataListRoot.mjs.map +1 -1
- package/dist/lib/components/DataList/DataListValue.d.ts +1 -1
- package/dist/lib/components/Dialog/DialogAction.d.ts +1 -1
- package/dist/lib/components/Dialog/DialogCancel.d.ts +1 -1
- package/dist/lib/components/Dialog/DialogContent.d.ts +1 -1
- package/dist/lib/components/Dialog/DialogRoot.js +9 -1
- package/dist/lib/components/Dialog/DialogRoot.mjs +2 -1
- package/dist/lib/components/Dialog/DialogRoot.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.d.ts +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.d.ts +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.d.ts +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.d.ts +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuRoot.js +10 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs +2 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +1 -1
- package/dist/lib/components/HoverCard/HoverCardContent.d.ts +2 -2
- package/dist/lib/components/HoverCard/HoverCardRoot.js +10 -1
- package/dist/lib/components/HoverCard/HoverCardRoot.mjs +2 -1
- package/dist/lib/components/HoverCard/HoverCardRoot.mjs.map +1 -1
- package/dist/lib/components/IconButton/index.d.ts +1 -1
- package/dist/lib/components/IconButton/index.js +9 -1
- package/dist/lib/components/IconButton/index.mjs +1 -1
- package/dist/lib/components/IconButton/index.mjs.map +1 -1
- package/dist/lib/components/Inset/index.d.ts +1 -1
- package/dist/lib/components/Inset/index.js +7 -1
- package/dist/lib/components/Inset/index.mjs +1 -1
- package/dist/lib/components/Inset/index.mjs.map +1 -1
- package/dist/lib/components/Label/index.d.ts +1 -1
- package/dist/lib/components/Label/index.js +11 -3
- package/dist/lib/components/Label/index.mjs +1 -1
- package/dist/lib/components/Label/index.mjs.map +1 -1
- package/dist/lib/components/Menubar/MenubarContent.d.ts +1 -1
- package/dist/lib/components/Menubar/MenubarItem.d.ts +1 -1
- package/dist/lib/components/Menubar/MenubarItemIndicator.d.ts +1 -1
- package/dist/lib/components/Menubar/MenubarRadioGroup.js +1 -0
- package/dist/lib/components/Menubar/MenubarRadioGroup.mjs +1 -0
- package/dist/lib/components/Menubar/MenubarRadioGroup.mjs.map +1 -1
- package/dist/lib/components/Menubar/MenubarRoot.d.ts +1 -1
- package/dist/lib/components/Menubar/MenubarRoot.js +13 -3
- package/dist/lib/components/Menubar/MenubarRoot.mjs +2 -1
- package/dist/lib/components/Menubar/MenubarRoot.mjs.map +1 -1
- package/dist/lib/components/Menubar/MenubarSubContent.d.ts +1 -1
- package/dist/lib/components/Menubar/MenubarTrigger.d.ts +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.d.ts +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.d.ts +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuList.d.ts +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuRoot.js +11 -2
- package/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs +2 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs.map +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.d.ts +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.d.ts +2 -2
- package/dist/lib/components/Popover/PopoverClose.d.ts +1 -1
- package/dist/lib/components/Popover/PopoverContent.d.ts +1 -1
- package/dist/lib/components/Popover/PopoverRoot.js +8 -1
- package/dist/lib/components/Popover/PopoverRoot.mjs +2 -1
- package/dist/lib/components/Popover/PopoverRoot.mjs.map +1 -1
- package/dist/lib/components/Progress/index.d.ts +1 -1
- package/dist/lib/components/Progress/index.js +11 -1
- package/dist/lib/components/Progress/index.mjs +1 -1
- package/dist/lib/components/Progress/index.mjs.map +1 -1
- package/dist/lib/components/Radio/index.js +10 -4
- package/dist/lib/components/Radio/index.mjs +1 -1
- package/dist/lib/components/Radio/index.mjs.map +1 -1
- package/dist/lib/components/RadioCards/RadioCardsItem.d.ts +1 -1
- package/dist/lib/components/RadioCards/RadioCardsRoot.js +12 -2
- package/dist/lib/components/RadioCards/RadioCardsRoot.mjs +2 -1
- package/dist/lib/components/RadioCards/RadioCardsRoot.mjs.map +1 -1
- package/dist/lib/components/RadioGroup/RadioGroupRoot.js +11 -2
- package/dist/lib/components/RadioGroup/RadioGroupRoot.mjs +2 -1
- package/dist/lib/components/RadioGroup/RadioGroupRoot.mjs.map +1 -1
- package/dist/lib/components/ScrollArea/index.js +3 -1
- package/dist/lib/components/ScrollArea/index.mjs +1 -1
- package/dist/lib/components/ScrollArea/index.mjs.map +1 -1
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.js +7 -1
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs +1 -1
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs.map +1 -1
- package/dist/lib/components/Select/index.d.ts +4 -2
- package/dist/lib/components/Select/index.js +30 -13
- package/dist/lib/components/Select/index.mjs +1 -1
- package/dist/lib/components/Select/index.mjs.map +1 -1
- package/dist/lib/components/Separator/index.js +7 -1
- package/dist/lib/components/Separator/index.mjs +1 -1
- package/dist/lib/components/Separator/index.mjs.map +1 -1
- package/dist/lib/components/Skeleton/index.d.ts +1 -1
- package/dist/lib/components/Skeleton/index.js +4 -1
- package/dist/lib/components/Skeleton/index.mjs +1 -1
- package/dist/lib/components/Skeleton/index.mjs.map +1 -1
- package/dist/lib/components/Slider/index.d.ts +1 -1
- package/dist/lib/components/Slider/index.js +13 -5
- package/dist/lib/components/Slider/index.mjs +1 -1
- package/dist/lib/components/Slider/index.mjs.map +1 -1
- package/dist/lib/components/Spinner/index.js +3 -1
- package/dist/lib/components/Spinner/index.mjs +1 -1
- package/dist/lib/components/Spinner/index.mjs.map +1 -1
- package/dist/lib/components/TabNav/index.js +6 -4
- package/dist/lib/components/TabNav/index.mjs +1 -1
- package/dist/lib/components/TabNav/index.mjs.map +1 -1
- package/dist/lib/components/Table/index.d.ts +1 -1
- package/dist/lib/components/Table/index.js +7 -1
- package/dist/lib/components/Table/index.mjs +1 -1
- package/dist/lib/components/Table/index.mjs.map +1 -1
- package/dist/lib/components/Tabs/index.d.ts +1 -1
- package/dist/lib/components/Tabs/index.js +4 -4
- package/dist/lib/components/Tabs/index.mjs +1 -1
- package/dist/lib/components/Tabs/index.mjs.map +1 -1
- package/dist/lib/components/TextArea/index.d.ts +1 -1
- package/dist/lib/components/TextArea/index.js +11 -4
- package/dist/lib/components/TextArea/index.mjs +1 -1
- package/dist/lib/components/TextArea/index.mjs.map +1 -1
- package/dist/lib/components/TextField/index.d.ts +1 -1
- package/dist/lib/components/TextField/index.js +11 -4
- package/dist/lib/components/TextField/index.mjs +1 -1
- package/dist/lib/components/TextField/index.mjs.map +1 -1
- package/dist/lib/components/Toast/ToastActionButton.d.ts +1 -1
- package/dist/lib/components/Toast/ToastActionButton.js +2 -2
- package/dist/lib/components/Toast/ToastActionButton.mjs +1 -1
- package/dist/lib/components/Toast/ToastActionButton.mjs.map +1 -1
- package/dist/lib/components/Toast/ToastRoot.d.ts +1 -1
- package/dist/lib/components/Toast/ToastRoot.js +11 -3
- package/dist/lib/components/Toast/ToastRoot.mjs +2 -1
- package/dist/lib/components/Toast/ToastRoot.mjs.map +1 -1
- package/dist/lib/components/Toggle/ToggleWithText.d.ts +1 -1
- package/dist/lib/components/Toggle/ToggleWithText.js +9 -1
- package/dist/lib/components/Toggle/ToggleWithText.mjs +1 -1
- package/dist/lib/components/Toggle/ToggleWithText.mjs.map +1 -1
- package/dist/lib/components/Toggle/index.d.ts +1 -1
- package/dist/lib/components/Toggle/index.js +9 -1
- package/dist/lib/components/Toggle/index.mjs +1 -1
- package/dist/lib/components/Toggle/index.mjs.map +1 -1
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.js +10 -2
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs +2 -1
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs.map +1 -1
- package/dist/lib/components/ToggleSwitch/index.d.ts +1 -1
- package/dist/lib/components/ToggleSwitch/index.js +13 -1
- package/dist/lib/components/ToggleSwitch/index.mjs +1 -1
- package/dist/lib/components/ToggleSwitch/index.mjs.map +1 -1
- package/dist/lib/components/Tooltip/index.d.ts +2 -2
- package/dist/lib/components/Tooltip/index.js +13 -8
- package/dist/lib/components/Tooltip/index.mjs +1 -1
- package/dist/lib/components/Tooltip/index.mjs.map +1 -1
- package/dist/lib/index.d.ts +1 -0
- package/dist/lib/index.js +1 -0
- package/dist/lib/index.mjs +1 -1
- package/dist/lib/theme/ThemeProvider.d.ts +16 -0
- package/dist/lib/theme/ThemeProvider.js +29 -0
- package/dist/lib/theme/ThemeProvider.mjs +3 -0
- package/dist/lib/theme/ThemeProvider.mjs.map +1 -0
- package/dist/lib/theme/index.d.ts +2 -0
- package/dist/lib/theme/index.js +2 -0
- package/dist/lib/tsconfig.tsbuildinfo +1 -1
- package/dist/lib/utils/useDarkMode.js +1 -0
- package/dist/lib/utils/useDarkMode.mjs +1 -0
- package/dist/lib/utils/useDarkMode.mjs.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +141 -141
- package/dist/.storybook/main.d.ts +0 -3
- package/dist/.storybook/main.js +0 -22
- package/dist/.storybook/manager.d.ts +0 -1
- package/dist/.storybook/manager.js +0 -12
- package/dist/.storybook/preview.d.ts +0 -8
- package/dist/.storybook/preview.js +0 -81
package/package.json
CHANGED
@@ -1,141 +1,141 @@
|
|
1
|
-
{
|
2
|
-
"name": "@lotte-innovate/ui-component-test",
|
3
|
-
"description": "Lotte UI Library",
|
4
|
-
"version": "0.1.
|
5
|
-
"private": false,
|
6
|
-
"type": "module",
|
7
|
-
"files": [
|
8
|
-
"dist",
|
9
|
-
"dist/globals.css"
|
10
|
-
],
|
11
|
-
"main": "dist/lib/index.js",
|
12
|
-
"module": "dist/lib/index.mjs",
|
13
|
-
"types": "dist/lib/index.d.ts",
|
14
|
-
"publishConfig": {
|
15
|
-
"access": "public"
|
16
|
-
},
|
17
|
-
"browser": "./browser/specific/main.js",
|
18
|
-
"babel": {
|
19
|
-
"presets": [
|
20
|
-
"@babel/preset-react",
|
21
|
-
"@babel/preset-env"
|
22
|
-
]
|
23
|
-
},
|
24
|
-
"browserslist": {
|
25
|
-
"production": [
|
26
|
-
">0.2%",
|
27
|
-
"not dead",
|
28
|
-
"not op_mini all"
|
29
|
-
],
|
30
|
-
"development": [
|
31
|
-
"last 1 chrome version",
|
32
|
-
"last 1 firefox version",
|
33
|
-
"last 1 safari version"
|
34
|
-
]
|
35
|
-
},
|
36
|
-
"scripts": {
|
37
|
-
"dev": "next dev",
|
38
|
-
"lint": "next lint",
|
39
|
-
"prepare": "next build",
|
40
|
-
"start": "next start",
|
41
|
-
"storybook": "cross-env NODE_OPTIONS='--max-old-space-size=8192' storybook dev -p 6006",
|
42
|
-
"chromatic": "cross-env npx chromatic --project-token=$CHROMATIC_PROJECT_TOKEN",
|
43
|
-
"build": "next build && npm run compile",
|
44
|
-
"build-storybook": "storybook build",
|
45
|
-
"clean": "rimraf dist && mkdir dist && rimraf .rollup.cache",
|
46
|
-
"compile:typescript": "tsc --jsx react-jsx && node src/utils/post-compile.js && tsc-alias",
|
47
|
-
"bundle:rollup": "rollup -c && node src/utils/post-rollup.js",
|
48
|
-
"build:css": "npx tailwindcss -i src/app/globals.css -o dist/globals.css --minify && node update-tailwind-import.js",
|
49
|
-
"build:
|
50
|
-
"
|
51
|
-
"publish:
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
"@babel/runtime": "^7.24.7",
|
56
|
-
"@
|
57
|
-
"@radix-ui/
|
58
|
-
"@radix-ui/react-
|
59
|
-
"@radix-ui/react-
|
60
|
-
"@radix-ui/react-
|
61
|
-
"@radix-ui/react-
|
62
|
-
"@radix-ui/react-
|
63
|
-
"@radix-ui/react-
|
64
|
-
"@radix-ui/react-
|
65
|
-
"@radix-ui/react-
|
66
|
-
"@radix-ui/react-
|
67
|
-
"@radix-ui/react-
|
68
|
-
"@radix-ui/react-
|
69
|
-
"@radix-ui/react-
|
70
|
-
"@radix-ui/react-
|
71
|
-
"@radix-ui/react-
|
72
|
-
"@radix-ui/react-
|
73
|
-
"@radix-ui/react-
|
74
|
-
"@radix-ui/react-
|
75
|
-
"@radix-ui/
|
76
|
-
"@
|
77
|
-
"@stitches/
|
78
|
-
"@
|
79
|
-
"@storybook/
|
80
|
-
"
|
81
|
-
"
|
82
|
-
"
|
83
|
-
"
|
84
|
-
"
|
85
|
-
"
|
86
|
-
"
|
87
|
-
"
|
88
|
-
"
|
89
|
-
"react": "^
|
90
|
-
"react-
|
91
|
-
"react-
|
92
|
-
"
|
93
|
-
"rollup-plugin-
|
94
|
-
"storybook-addon-deep-controls": "^0.7.1",
|
95
|
-
"storybook-dark-mode": "^4.0.2",
|
96
|
-
"tailwind-merge": "^2.2.2"
|
97
|
-
},
|
98
|
-
"devDependencies": {
|
99
|
-
"@babel/cli": "^7.24.7",
|
100
|
-
"@babel/core": "^7.24.7",
|
101
|
-
"@babel/plugin-transform-runtime": "^7.24.7",
|
102
|
-
"@babel/preset-env": "^7.25.8",
|
103
|
-
"@babel/preset-react": "^7.25.7",
|
104
|
-
"@babel/preset-typescript": "^7.24.7",
|
105
|
-
"@chromatic-com/storybook": "^1.2.25",
|
106
|
-
"@rollup/plugin-babel": "^6.0.4",
|
107
|
-
"@rollup/plugin-commonjs": "^28.0.0",
|
108
|
-
"@rollup/plugin-node-resolve": "^15.3.0",
|
109
|
-
"@rollup/plugin-typescript": "^12.1.0",
|
110
|
-
"@storybook/addon-essentials": "^8.3.5",
|
111
|
-
"@storybook/addon-interactions": "^8.3.5",
|
112
|
-
"@storybook/addon-links": "^8.0.4",
|
113
|
-
"@storybook/addon-styling-webpack": "^1.0.0",
|
114
|
-
"@storybook/blocks": "^8.3.5",
|
115
|
-
"@storybook/nextjs": "^8.3.5",
|
116
|
-
"@storybook/react": "^8.3.5",
|
117
|
-
"@storybook/test": "^8.3.5",
|
118
|
-
"@storybook/theming": "^8.2.4",
|
119
|
-
"@types/node": "^20",
|
120
|
-
"@types/react": "^18",
|
121
|
-
"@types/react-dom": "^18",
|
122
|
-
"autoprefixer": "^10.0.1",
|
123
|
-
"chromatic": "^11.5.4",
|
124
|
-
"eslint": "^8",
|
125
|
-
"eslint-config-next": "14.1.4",
|
126
|
-
"eslint-plugin-storybook": "^0.8.0",
|
127
|
-
"postcss": "^8.4.47",
|
128
|
-
"prettier": "^3.3.3",
|
129
|
-
"prettier-plugin-tailwindcss": "^0.6.6",
|
130
|
-
"rimraf": "^6.0.1",
|
131
|
-
"rollup-plugin-terser": "^7.0.2",
|
132
|
-
"storybook": "^8.3.5",
|
133
|
-
"tailwindcss": "^3.3.0",
|
134
|
-
"tsc-alias": "^1.8.10",
|
135
|
-
"typescript": "^5"
|
136
|
-
},
|
137
|
-
"peerDependencies": {
|
138
|
-
"react": "^18",
|
139
|
-
"react-dom": "^18"
|
140
|
-
}
|
141
|
-
}
|
1
|
+
{
|
2
|
+
"name": "@lotte-innovate/ui-component-test",
|
3
|
+
"description": "Lotte UI Library",
|
4
|
+
"version": "0.1.67",
|
5
|
+
"private": false,
|
6
|
+
"type": "module",
|
7
|
+
"files": [
|
8
|
+
"dist",
|
9
|
+
"dist/globals.css"
|
10
|
+
],
|
11
|
+
"main": "dist/lib/index.js",
|
12
|
+
"module": "dist/lib/index.mjs",
|
13
|
+
"types": "dist/lib/index.d.ts",
|
14
|
+
"publishConfig": {
|
15
|
+
"access": "public"
|
16
|
+
},
|
17
|
+
"browser": "./browser/specific/main.js",
|
18
|
+
"babel": {
|
19
|
+
"presets": [
|
20
|
+
"@babel/preset-react",
|
21
|
+
"@babel/preset-env"
|
22
|
+
]
|
23
|
+
},
|
24
|
+
"browserslist": {
|
25
|
+
"production": [
|
26
|
+
">0.2%",
|
27
|
+
"not dead",
|
28
|
+
"not op_mini all"
|
29
|
+
],
|
30
|
+
"development": [
|
31
|
+
"last 1 chrome version",
|
32
|
+
"last 1 firefox version",
|
33
|
+
"last 1 safari version"
|
34
|
+
]
|
35
|
+
},
|
36
|
+
"scripts": {
|
37
|
+
"dev": "next dev",
|
38
|
+
"lint": "next lint",
|
39
|
+
"prepare": "next build",
|
40
|
+
"start": "next start",
|
41
|
+
"storybook": "cross-env NODE_OPTIONS='--max-old-space-size=8192' storybook dev -p 6006",
|
42
|
+
"chromatic": "cross-env npx chromatic --project-token=$CHROMATIC_PROJECT_TOKEN",
|
43
|
+
"build": "next build && npm run compile",
|
44
|
+
"build-storybook": "storybook build",
|
45
|
+
"clean": "rimraf dist && mkdir dist && rimraf .rollup.cache",
|
46
|
+
"compile:typescript": "tsc --jsx react-jsx && node src/utils/post-compile.js && tsc-alias",
|
47
|
+
"bundle:rollup": "rollup -c && node src/utils/post-rollup.js",
|
48
|
+
"build:css": "npx tailwindcss -i src/app/globals.css -o dist/globals.css --minify && node update-tailwind-import.js",
|
49
|
+
"build:test": "npm run clean && npm run compile:typescript && npm run bundle:rollup && npm run build:css",
|
50
|
+
"publish:dist": "node src/utils/prev-publish.js && npm publish && node src/utils/post-publish.js",
|
51
|
+
"publish:npm": "npm run clean && npm run compile:typescript && npm run bundle:rollup && npm run build:css && npm run publish:dist"
|
52
|
+
},
|
53
|
+
"dependencies": {
|
54
|
+
"@babel/runtime": "^7.24.7",
|
55
|
+
"@babel/runtime-corejs3": "^7.24.7",
|
56
|
+
"@radix-ui/colors": "^3.0.0",
|
57
|
+
"@radix-ui/react-accordion": "^1.2.0",
|
58
|
+
"@radix-ui/react-checkbox": "^1.0.4",
|
59
|
+
"@radix-ui/react-dialog": "^1.1.1",
|
60
|
+
"@radix-ui/react-dropdown-menu": "^2.1.1",
|
61
|
+
"@radix-ui/react-hover-card": "^1.1.1",
|
62
|
+
"@radix-ui/react-icons": "^1.3.0",
|
63
|
+
"@radix-ui/react-label": "^2.1.0",
|
64
|
+
"@radix-ui/react-menubar": "^1.1.1",
|
65
|
+
"@radix-ui/react-navigation-menu": "^1.2.0",
|
66
|
+
"@radix-ui/react-popover": "1.0.7",
|
67
|
+
"@radix-ui/react-radio-group": "^1.1.3",
|
68
|
+
"@radix-ui/react-select": "^2.1.1",
|
69
|
+
"@radix-ui/react-separator": "^1.1.0",
|
70
|
+
"@radix-ui/react-slider": "^1.2.0",
|
71
|
+
"@radix-ui/react-switch": "^1.1.0",
|
72
|
+
"@radix-ui/react-tabs": "^1.1.0",
|
73
|
+
"@radix-ui/react-toast": "^1.2.1",
|
74
|
+
"@radix-ui/react-tooltip": "^1.1.1",
|
75
|
+
"@radix-ui/themes": "^3.1.1",
|
76
|
+
"@stitches/core": "^1.2.8",
|
77
|
+
"@stitches/react": "^1.2.8",
|
78
|
+
"@storybook/addon-a11y": "^8.3.5",
|
79
|
+
"@storybook/manager-api": "^8.3.5",
|
80
|
+
"chart.js": "^4.4.4",
|
81
|
+
"chartjs-plugin-datalabels": "^2.2.0",
|
82
|
+
"class-variance-authority": "^0.7.0",
|
83
|
+
"clsx": "^2.1.0",
|
84
|
+
"cross-env": "^7.0.3",
|
85
|
+
"dotenv": "^16.4.5",
|
86
|
+
"lucide-react": "^0.364.0",
|
87
|
+
"next": "14.1.4",
|
88
|
+
"react": "^18",
|
89
|
+
"react-chartjs-2": "^5.2.0",
|
90
|
+
"react-dom": "^18",
|
91
|
+
"react-tabs": "^6.0.2",
|
92
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
93
|
+
"rollup-plugin-preserve-directives": "^0.4.0",
|
94
|
+
"storybook-addon-deep-controls": "^0.7.1",
|
95
|
+
"storybook-dark-mode": "^4.0.2",
|
96
|
+
"tailwind-merge": "^2.2.2"
|
97
|
+
},
|
98
|
+
"devDependencies": {
|
99
|
+
"@babel/cli": "^7.24.7",
|
100
|
+
"@babel/core": "^7.24.7",
|
101
|
+
"@babel/plugin-transform-runtime": "^7.24.7",
|
102
|
+
"@babel/preset-env": "^7.25.8",
|
103
|
+
"@babel/preset-react": "^7.25.7",
|
104
|
+
"@babel/preset-typescript": "^7.24.7",
|
105
|
+
"@chromatic-com/storybook": "^1.2.25",
|
106
|
+
"@rollup/plugin-babel": "^6.0.4",
|
107
|
+
"@rollup/plugin-commonjs": "^28.0.0",
|
108
|
+
"@rollup/plugin-node-resolve": "^15.3.0",
|
109
|
+
"@rollup/plugin-typescript": "^12.1.0",
|
110
|
+
"@storybook/addon-essentials": "^8.3.5",
|
111
|
+
"@storybook/addon-interactions": "^8.3.5",
|
112
|
+
"@storybook/addon-links": "^8.0.4",
|
113
|
+
"@storybook/addon-styling-webpack": "^1.0.0",
|
114
|
+
"@storybook/blocks": "^8.3.5",
|
115
|
+
"@storybook/nextjs": "^8.3.5",
|
116
|
+
"@storybook/react": "^8.3.5",
|
117
|
+
"@storybook/test": "^8.3.5",
|
118
|
+
"@storybook/theming": "^8.2.4",
|
119
|
+
"@types/node": "^20",
|
120
|
+
"@types/react": "^18",
|
121
|
+
"@types/react-dom": "^18",
|
122
|
+
"autoprefixer": "^10.0.1",
|
123
|
+
"chromatic": "^11.5.4",
|
124
|
+
"eslint": "^8",
|
125
|
+
"eslint-config-next": "14.1.4",
|
126
|
+
"eslint-plugin-storybook": "^0.8.0",
|
127
|
+
"postcss": "^8.4.47",
|
128
|
+
"prettier": "^3.3.3",
|
129
|
+
"prettier-plugin-tailwindcss": "^0.6.6",
|
130
|
+
"rimraf": "^6.0.1",
|
131
|
+
"rollup-plugin-terser": "^7.0.2",
|
132
|
+
"storybook": "^8.3.5",
|
133
|
+
"tailwindcss": "^3.3.0",
|
134
|
+
"tsc-alias": "^1.8.10",
|
135
|
+
"typescript": "^5"
|
136
|
+
},
|
137
|
+
"peerDependencies": {
|
138
|
+
"react": "^18",
|
139
|
+
"react-dom": "^18"
|
140
|
+
}
|
141
|
+
}
|
package/dist/.storybook/main.js
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
var config = {
|
2
|
-
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
|
3
|
-
addons: [
|
4
|
-
'@storybook/addon-links',
|
5
|
-
'@storybook/addon-essentials',
|
6
|
-
'@chromatic-com/storybook',
|
7
|
-
'@storybook/addon-interactions',
|
8
|
-
'@storybook/addon-styling-webpack',
|
9
|
-
'@storybook/addon-a11y',
|
10
|
-
'storybook-dark-mode',
|
11
|
-
'storybook-addon-deep-controls',
|
12
|
-
],
|
13
|
-
framework: {
|
14
|
-
name: '@storybook/nextjs',
|
15
|
-
options: {},
|
16
|
-
},
|
17
|
-
docs: {
|
18
|
-
autodocs: 'tag',
|
19
|
-
},
|
20
|
-
staticDirs: ['../public'],
|
21
|
-
};
|
22
|
-
export default config;
|
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import { addons } from '@storybook/manager-api';
|
2
|
-
import { create } from '@storybook/theming';
|
3
|
-
import logo from '../src/stories/assets/logo.png';
|
4
|
-
var lightTheme = create({
|
5
|
-
base: 'light', // 밝은 테마 설정
|
6
|
-
brandImage: logo,
|
7
|
-
brandTitle: '롯데이노베이트',
|
8
|
-
brandUrl: '/', // 로고 클릭 시 이동 페이지
|
9
|
-
});
|
10
|
-
addons.setConfig({
|
11
|
-
theme: lightTheme,
|
12
|
-
});
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import type { Preview } from '@storybook/react';
|
2
|
-
import '../src/app/globals.css';
|
3
|
-
import '../src/app/styles.css';
|
4
|
-
import '../src/app/stories.css';
|
5
|
-
import 'tailwindcss/tailwind.css';
|
6
|
-
declare const preview: Preview;
|
7
|
-
export default preview;
|
8
|
-
export declare const decorators: ((Story: any, context: any) => import("react/jsx-runtime").JSX.Element)[];
|
@@ -1,81 +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
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
13
|
-
import { useEffect } from 'react';
|
14
|
-
import { themes } from '@storybook/theming';
|
15
|
-
import { useDarkMode } from 'storybook-dark-mode';
|
16
|
-
import '../src/app/globals.css';
|
17
|
-
import '../src/app/styles.css';
|
18
|
-
import '../src/app/stories.css';
|
19
|
-
import 'tailwindcss/tailwind.css';
|
20
|
-
var preview = {
|
21
|
-
parameters: {
|
22
|
-
controls: {
|
23
|
-
matchers: {
|
24
|
-
color: /(background|color)$/i,
|
25
|
-
date: /Date$/i,
|
26
|
-
},
|
27
|
-
},
|
28
|
-
options: {
|
29
|
-
storySort: {
|
30
|
-
method: 'alphabetical',
|
31
|
-
order: [
|
32
|
-
'Welcome',
|
33
|
-
'Typography',
|
34
|
-
'Component',
|
35
|
-
'Chart',
|
36
|
-
'Light Color',
|
37
|
-
'Dark Color',
|
38
|
-
'Light Alpha Color',
|
39
|
-
'Dark Alpha Color',
|
40
|
-
],
|
41
|
-
},
|
42
|
-
},
|
43
|
-
docs: {
|
44
|
-
theme: themes.light,
|
45
|
-
},
|
46
|
-
darkMode: {
|
47
|
-
dark: __assign(__assign({}, themes.dark), { appBg: '#272a2d', textColor: '#edeef0' }),
|
48
|
-
light: __assign(__assign({}, themes.light), { appBg: 'white', textColor: '#2E3438' }),
|
49
|
-
},
|
50
|
-
backgrounds: { disable: true },
|
51
|
-
deepControls: { enabled: true },
|
52
|
-
},
|
53
|
-
};
|
54
|
-
export default preview;
|
55
|
-
var changeClassOnBody = function (oldClassName, newClassName) {
|
56
|
-
var classList = document.body.classList;
|
57
|
-
if (classList.contains(oldClassName)) {
|
58
|
-
classList.replace(oldClassName, newClassName);
|
59
|
-
}
|
60
|
-
};
|
61
|
-
var withBackground = function (Story, context) {
|
62
|
-
var isDarkMode = useDarkMode();
|
63
|
-
useEffect(function () {
|
64
|
-
if (isDarkMode) {
|
65
|
-
changeClassOnBody('light', 'dark');
|
66
|
-
}
|
67
|
-
else {
|
68
|
-
changeClassOnBody('dark', 'light');
|
69
|
-
}
|
70
|
-
var docsStoryElements = document.querySelectorAll('.docs-story');
|
71
|
-
docsStoryElements.forEach(function (element) {
|
72
|
-
element.style.backgroundColor = isDarkMode ? '#111113' : 'white';
|
73
|
-
});
|
74
|
-
docsStoryElements = document.querySelectorAll('.sb-show-main');
|
75
|
-
docsStoryElements.forEach(function (element) {
|
76
|
-
element.style.backgroundColor = isDarkMode ? '#111113' : 'white';
|
77
|
-
});
|
78
|
-
}, [isDarkMode]);
|
79
|
-
return _jsx(Story, __assign({}, context));
|
80
|
-
};
|
81
|
-
export var decorators = [withBackground];
|