@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.
Files changed (224) hide show
  1. package/README.md +133 -133
  2. package/dist/globals.css +4 -4
  3. package/dist/lib/Typography/Header/index.d.ts +1 -1
  4. package/dist/lib/Typography/Text/index.d.ts +1 -1
  5. package/dist/lib/components/Accordion/index.d.ts +1 -0
  6. package/dist/lib/components/Accordion/index.js +18 -4
  7. package/dist/lib/components/Accordion/index.mjs +1 -1
  8. package/dist/lib/components/Accordion/index.mjs.map +1 -1
  9. package/dist/lib/components/AlertDialog/AlertDialogAction.d.ts +2 -2
  10. package/dist/lib/components/AlertDialog/AlertDialogCancel.d.ts +2 -2
  11. package/dist/lib/components/AlertDialog/AlertDialogContent.d.ts +1 -1
  12. package/dist/lib/components/AlertDialog/AlertDialogRoot.js +9 -6
  13. package/dist/lib/components/AlertDialog/AlertDialogRoot.mjs +2 -1
  14. package/dist/lib/components/AlertDialog/AlertDialogRoot.mjs.map +1 -1
  15. package/dist/lib/components/AlertDialog/AlertDialogTrigger.d.ts +2 -2
  16. package/dist/lib/components/AspectRatio/index.js +3 -1
  17. package/dist/lib/components/AspectRatio/index.mjs +1 -1
  18. package/dist/lib/components/AspectRatio/index.mjs.map +1 -1
  19. package/dist/lib/components/Avatar/index.d.ts +1 -1
  20. package/dist/lib/components/Avatar/index.js +9 -1
  21. package/dist/lib/components/Avatar/index.mjs +2 -1
  22. package/dist/lib/components/Avatar/index.mjs.map +1 -1
  23. package/dist/lib/components/Badge/index.d.ts +2 -2
  24. package/dist/lib/components/Badge/index.js +10 -1
  25. package/dist/lib/components/Badge/index.mjs +1 -1
  26. package/dist/lib/components/Badge/index.mjs.map +1 -1
  27. package/dist/lib/components/Button/index.d.ts +2 -2
  28. package/dist/lib/components/Button/index.js +10 -1
  29. package/dist/lib/components/Button/index.mjs +1 -1
  30. package/dist/lib/components/Button/index.mjs.map +1 -1
  31. package/dist/lib/components/Callout/CalloutRoot.d.ts +1 -1
  32. package/dist/lib/components/Callout/CalloutRoot.js +11 -3
  33. package/dist/lib/components/Callout/CalloutRoot.mjs +2 -1
  34. package/dist/lib/components/Callout/CalloutRoot.mjs.map +1 -1
  35. package/dist/lib/components/Card/index.d.ts +2 -2
  36. package/dist/lib/components/Card/index.js +8 -1
  37. package/dist/lib/components/Card/index.mjs +1 -1
  38. package/dist/lib/components/Card/index.mjs.map +1 -1
  39. package/dist/lib/components/Checkbox/index.d.ts +1 -1
  40. package/dist/lib/components/Checkbox/index.js +10 -2
  41. package/dist/lib/components/Checkbox/index.mjs +1 -1
  42. package/dist/lib/components/Checkbox/index.mjs.map +1 -1
  43. package/dist/lib/components/CheckboxCard/index.d.ts +1 -1
  44. package/dist/lib/components/CheckboxCard/index.js +8 -1
  45. package/dist/lib/components/CheckboxCard/index.mjs +1 -1
  46. package/dist/lib/components/CheckboxCard/index.mjs.map +1 -1
  47. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.js +11 -2
  48. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs +2 -1
  49. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs.map +1 -1
  50. package/dist/lib/components/ContextMenu/ContextMenuContent.d.ts +1 -1
  51. package/dist/lib/components/ContextMenu/ContextMenuItem.d.ts +1 -1
  52. package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.d.ts +1 -1
  53. package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.js +1 -0
  54. package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.mjs +1 -0
  55. package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.mjs.map +1 -1
  56. package/dist/lib/components/ContextMenu/ContextMenuRoot.js +11 -2
  57. package/dist/lib/components/ContextMenu/ContextMenuRoot.mjs +2 -1
  58. package/dist/lib/components/ContextMenu/ContextMenuRoot.mjs.map +1 -1
  59. package/dist/lib/components/ContextMenu/ContextMenuSubContent.d.ts +1 -1
  60. package/dist/lib/components/DataList/DataListLabel.d.ts +1 -1
  61. package/dist/lib/components/DataList/DataListRoot.js +9 -2
  62. package/dist/lib/components/DataList/DataListRoot.mjs +2 -1
  63. package/dist/lib/components/DataList/DataListRoot.mjs.map +1 -1
  64. package/dist/lib/components/DataList/DataListValue.d.ts +1 -1
  65. package/dist/lib/components/Dialog/DialogAction.d.ts +1 -1
  66. package/dist/lib/components/Dialog/DialogCancel.d.ts +1 -1
  67. package/dist/lib/components/Dialog/DialogContent.d.ts +1 -1
  68. package/dist/lib/components/Dialog/DialogRoot.js +9 -1
  69. package/dist/lib/components/Dialog/DialogRoot.mjs +2 -1
  70. package/dist/lib/components/Dialog/DialogRoot.mjs.map +1 -1
  71. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.d.ts +1 -1
  72. package/dist/lib/components/DropdownMenu/DropdownMenuContent.d.ts +1 -1
  73. package/dist/lib/components/DropdownMenu/DropdownMenuItem.d.ts +1 -1
  74. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.d.ts +1 -1
  75. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.js +10 -1
  76. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs +2 -1
  77. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs.map +1 -1
  78. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +1 -1
  79. package/dist/lib/components/HoverCard/HoverCardContent.d.ts +2 -2
  80. package/dist/lib/components/HoverCard/HoverCardRoot.js +10 -1
  81. package/dist/lib/components/HoverCard/HoverCardRoot.mjs +2 -1
  82. package/dist/lib/components/HoverCard/HoverCardRoot.mjs.map +1 -1
  83. package/dist/lib/components/IconButton/index.d.ts +1 -1
  84. package/dist/lib/components/IconButton/index.js +9 -1
  85. package/dist/lib/components/IconButton/index.mjs +1 -1
  86. package/dist/lib/components/IconButton/index.mjs.map +1 -1
  87. package/dist/lib/components/Inset/index.d.ts +1 -1
  88. package/dist/lib/components/Inset/index.js +7 -1
  89. package/dist/lib/components/Inset/index.mjs +1 -1
  90. package/dist/lib/components/Inset/index.mjs.map +1 -1
  91. package/dist/lib/components/Label/index.d.ts +1 -1
  92. package/dist/lib/components/Label/index.js +11 -3
  93. package/dist/lib/components/Label/index.mjs +1 -1
  94. package/dist/lib/components/Label/index.mjs.map +1 -1
  95. package/dist/lib/components/Menubar/MenubarContent.d.ts +1 -1
  96. package/dist/lib/components/Menubar/MenubarItem.d.ts +1 -1
  97. package/dist/lib/components/Menubar/MenubarItemIndicator.d.ts +1 -1
  98. package/dist/lib/components/Menubar/MenubarRadioGroup.js +1 -0
  99. package/dist/lib/components/Menubar/MenubarRadioGroup.mjs +1 -0
  100. package/dist/lib/components/Menubar/MenubarRadioGroup.mjs.map +1 -1
  101. package/dist/lib/components/Menubar/MenubarRoot.d.ts +1 -1
  102. package/dist/lib/components/Menubar/MenubarRoot.js +13 -3
  103. package/dist/lib/components/Menubar/MenubarRoot.mjs +2 -1
  104. package/dist/lib/components/Menubar/MenubarRoot.mjs.map +1 -1
  105. package/dist/lib/components/Menubar/MenubarSubContent.d.ts +1 -1
  106. package/dist/lib/components/Menubar/MenubarTrigger.d.ts +1 -1
  107. package/dist/lib/components/NavigationMenu/NavigationMenuContent.d.ts +1 -1
  108. package/dist/lib/components/NavigationMenu/NavigationMenuLink.d.ts +1 -1
  109. package/dist/lib/components/NavigationMenu/NavigationMenuList.d.ts +1 -1
  110. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.js +11 -2
  111. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs +2 -1
  112. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs.map +1 -1
  113. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.d.ts +1 -1
  114. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.d.ts +2 -2
  115. package/dist/lib/components/Popover/PopoverClose.d.ts +1 -1
  116. package/dist/lib/components/Popover/PopoverContent.d.ts +1 -1
  117. package/dist/lib/components/Popover/PopoverRoot.js +8 -1
  118. package/dist/lib/components/Popover/PopoverRoot.mjs +2 -1
  119. package/dist/lib/components/Popover/PopoverRoot.mjs.map +1 -1
  120. package/dist/lib/components/Progress/index.d.ts +1 -1
  121. package/dist/lib/components/Progress/index.js +11 -1
  122. package/dist/lib/components/Progress/index.mjs +1 -1
  123. package/dist/lib/components/Progress/index.mjs.map +1 -1
  124. package/dist/lib/components/Radio/index.js +10 -4
  125. package/dist/lib/components/Radio/index.mjs +1 -1
  126. package/dist/lib/components/Radio/index.mjs.map +1 -1
  127. package/dist/lib/components/RadioCards/RadioCardsItem.d.ts +1 -1
  128. package/dist/lib/components/RadioCards/RadioCardsRoot.js +12 -2
  129. package/dist/lib/components/RadioCards/RadioCardsRoot.mjs +2 -1
  130. package/dist/lib/components/RadioCards/RadioCardsRoot.mjs.map +1 -1
  131. package/dist/lib/components/RadioGroup/RadioGroupRoot.js +11 -2
  132. package/dist/lib/components/RadioGroup/RadioGroupRoot.mjs +2 -1
  133. package/dist/lib/components/RadioGroup/RadioGroupRoot.mjs.map +1 -1
  134. package/dist/lib/components/ScrollArea/index.js +3 -1
  135. package/dist/lib/components/ScrollArea/index.mjs +1 -1
  136. package/dist/lib/components/ScrollArea/index.mjs.map +1 -1
  137. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.js +7 -1
  138. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs +1 -1
  139. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs.map +1 -1
  140. package/dist/lib/components/Select/index.d.ts +4 -2
  141. package/dist/lib/components/Select/index.js +30 -13
  142. package/dist/lib/components/Select/index.mjs +1 -1
  143. package/dist/lib/components/Select/index.mjs.map +1 -1
  144. package/dist/lib/components/Separator/index.js +7 -1
  145. package/dist/lib/components/Separator/index.mjs +1 -1
  146. package/dist/lib/components/Separator/index.mjs.map +1 -1
  147. package/dist/lib/components/Skeleton/index.d.ts +1 -1
  148. package/dist/lib/components/Skeleton/index.js +4 -1
  149. package/dist/lib/components/Skeleton/index.mjs +1 -1
  150. package/dist/lib/components/Skeleton/index.mjs.map +1 -1
  151. package/dist/lib/components/Slider/index.d.ts +1 -1
  152. package/dist/lib/components/Slider/index.js +13 -5
  153. package/dist/lib/components/Slider/index.mjs +1 -1
  154. package/dist/lib/components/Slider/index.mjs.map +1 -1
  155. package/dist/lib/components/Spinner/index.js +3 -1
  156. package/dist/lib/components/Spinner/index.mjs +1 -1
  157. package/dist/lib/components/Spinner/index.mjs.map +1 -1
  158. package/dist/lib/components/TabNav/index.js +6 -4
  159. package/dist/lib/components/TabNav/index.mjs +1 -1
  160. package/dist/lib/components/TabNav/index.mjs.map +1 -1
  161. package/dist/lib/components/Table/index.d.ts +1 -1
  162. package/dist/lib/components/Table/index.js +7 -1
  163. package/dist/lib/components/Table/index.mjs +1 -1
  164. package/dist/lib/components/Table/index.mjs.map +1 -1
  165. package/dist/lib/components/Tabs/index.d.ts +1 -1
  166. package/dist/lib/components/Tabs/index.js +4 -4
  167. package/dist/lib/components/Tabs/index.mjs +1 -1
  168. package/dist/lib/components/Tabs/index.mjs.map +1 -1
  169. package/dist/lib/components/TextArea/index.d.ts +1 -1
  170. package/dist/lib/components/TextArea/index.js +11 -4
  171. package/dist/lib/components/TextArea/index.mjs +1 -1
  172. package/dist/lib/components/TextArea/index.mjs.map +1 -1
  173. package/dist/lib/components/TextField/index.d.ts +1 -1
  174. package/dist/lib/components/TextField/index.js +11 -4
  175. package/dist/lib/components/TextField/index.mjs +1 -1
  176. package/dist/lib/components/TextField/index.mjs.map +1 -1
  177. package/dist/lib/components/Toast/ToastActionButton.d.ts +1 -1
  178. package/dist/lib/components/Toast/ToastActionButton.js +2 -2
  179. package/dist/lib/components/Toast/ToastActionButton.mjs +1 -1
  180. package/dist/lib/components/Toast/ToastActionButton.mjs.map +1 -1
  181. package/dist/lib/components/Toast/ToastRoot.d.ts +1 -1
  182. package/dist/lib/components/Toast/ToastRoot.js +11 -3
  183. package/dist/lib/components/Toast/ToastRoot.mjs +2 -1
  184. package/dist/lib/components/Toast/ToastRoot.mjs.map +1 -1
  185. package/dist/lib/components/Toggle/ToggleWithText.d.ts +1 -1
  186. package/dist/lib/components/Toggle/ToggleWithText.js +9 -1
  187. package/dist/lib/components/Toggle/ToggleWithText.mjs +1 -1
  188. package/dist/lib/components/Toggle/ToggleWithText.mjs.map +1 -1
  189. package/dist/lib/components/Toggle/index.d.ts +1 -1
  190. package/dist/lib/components/Toggle/index.js +9 -1
  191. package/dist/lib/components/Toggle/index.mjs +1 -1
  192. package/dist/lib/components/Toggle/index.mjs.map +1 -1
  193. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.js +10 -2
  194. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs +2 -1
  195. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs.map +1 -1
  196. package/dist/lib/components/ToggleSwitch/index.d.ts +1 -1
  197. package/dist/lib/components/ToggleSwitch/index.js +13 -1
  198. package/dist/lib/components/ToggleSwitch/index.mjs +1 -1
  199. package/dist/lib/components/ToggleSwitch/index.mjs.map +1 -1
  200. package/dist/lib/components/Tooltip/index.d.ts +2 -2
  201. package/dist/lib/components/Tooltip/index.js +13 -8
  202. package/dist/lib/components/Tooltip/index.mjs +1 -1
  203. package/dist/lib/components/Tooltip/index.mjs.map +1 -1
  204. package/dist/lib/index.d.ts +1 -0
  205. package/dist/lib/index.js +1 -0
  206. package/dist/lib/index.mjs +1 -1
  207. package/dist/lib/theme/ThemeProvider.d.ts +16 -0
  208. package/dist/lib/theme/ThemeProvider.js +29 -0
  209. package/dist/lib/theme/ThemeProvider.mjs +3 -0
  210. package/dist/lib/theme/ThemeProvider.mjs.map +1 -0
  211. package/dist/lib/theme/index.d.ts +2 -0
  212. package/dist/lib/theme/index.js +2 -0
  213. package/dist/lib/tsconfig.tsbuildinfo +1 -1
  214. package/dist/lib/utils/useDarkMode.js +1 -0
  215. package/dist/lib/utils/useDarkMode.mjs +1 -0
  216. package/dist/lib/utils/useDarkMode.mjs.map +1 -1
  217. package/dist/tsconfig.tsbuildinfo +1 -1
  218. package/package.json +141 -141
  219. package/dist/.storybook/main.d.ts +0 -3
  220. package/dist/.storybook/main.js +0 -22
  221. package/dist/.storybook/manager.d.ts +0 -1
  222. package/dist/.storybook/manager.js +0 -12
  223. package/dist/.storybook/preview.d.ts +0 -8
  224. 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.66",
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:css-test": "postcss src/app/globals.css -o dist/globalsNano.css && node update-tailwind-import.js",
50
- "build:test": "npm run clean && npm run compile:typescript && npm run bundle:rollup && npm run build:css",
51
- "publish:dist": "node src/utils/prev-publish.js && npm publish && node src/utils/post-publish.js",
52
- "publish:npm": "npm run clean && npm run compile:typescript && npm run bundle:rollup && npm run build:css && npm run publish:dist"
53
- },
54
- "dependencies": {
55
- "@babel/runtime": "^7.24.7",
56
- "@babel/runtime-corejs3": "^7.24.7",
57
- "@radix-ui/colors": "^3.0.0",
58
- "@radix-ui/react-accordion": "^1.2.0",
59
- "@radix-ui/react-checkbox": "^1.0.4",
60
- "@radix-ui/react-dialog": "^1.1.1",
61
- "@radix-ui/react-dropdown-menu": "^2.1.1",
62
- "@radix-ui/react-hover-card": "^1.1.1",
63
- "@radix-ui/react-icons": "^1.3.0",
64
- "@radix-ui/react-label": "^2.1.0",
65
- "@radix-ui/react-menubar": "^1.1.1",
66
- "@radix-ui/react-navigation-menu": "^1.2.0",
67
- "@radix-ui/react-popover": "1.0.7",
68
- "@radix-ui/react-radio-group": "^1.1.3",
69
- "@radix-ui/react-select": "^2.1.1",
70
- "@radix-ui/react-separator": "^1.1.0",
71
- "@radix-ui/react-slider": "^1.2.0",
72
- "@radix-ui/react-switch": "^1.1.0",
73
- "@radix-ui/react-tabs": "^1.1.0",
74
- "@radix-ui/react-toast": "^1.2.1",
75
- "@radix-ui/react-tooltip": "^1.1.1",
76
- "@radix-ui/themes": "^3.1.1",
77
- "@stitches/core": "^1.2.8",
78
- "@stitches/react": "^1.2.8",
79
- "@storybook/addon-a11y": "^8.3.5",
80
- "@storybook/manager-api": "^8.3.5",
81
- "chart.js": "^4.4.4",
82
- "chartjs-plugin-datalabels": "^2.2.0",
83
- "class-variance-authority": "^0.7.0",
84
- "clsx": "^2.1.0",
85
- "cross-env": "^7.0.3",
86
- "dotenv": "^16.4.5",
87
- "lucide-react": "^0.364.0",
88
- "next": "14.1.4",
89
- "react": "^18",
90
- "react-chartjs-2": "^5.2.0",
91
- "react-dom": "^18",
92
- "react-tabs": "^6.0.2",
93
- "rollup-plugin-peer-deps-external": "^2.2.4",
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
+ }
@@ -1,3 +0,0 @@
1
- import type { StorybookConfig } from '@storybook/nextjs';
2
- declare const config: StorybookConfig;
3
- export default config;
@@ -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];