@lotte-innovate/ui-component-test 0.1.33 → 0.1.35

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. package/README.md +133 -89
  2. package/dist/globals.css +4 -4
  3. package/dist/lib/Typography/Text/index.js +1 -1
  4. package/dist/lib/color/dark.js +1 -1
  5. package/dist/lib/color/light.js +3 -3
  6. package/dist/lib/components/AlertDialog/AlertDialogAction.js +5 -5
  7. package/dist/lib/components/AlertDialog/AlertDialogCancel.js +5 -5
  8. package/dist/lib/components/AlertDialog/AlertDialogTrigger.js +1 -1
  9. package/dist/lib/components/Avatar/index.d.ts +1 -0
  10. package/dist/lib/components/Avatar/index.js +2 -2
  11. package/dist/lib/components/Badge/index.js +1 -1
  12. package/dist/lib/components/BarChart/index.d.ts +13 -57
  13. package/dist/lib/components/BarChart/index.js +3 -0
  14. package/dist/lib/components/BubbleChart/index.d.ts +15 -22
  15. package/dist/lib/components/BubbleChart/index.js +34 -15
  16. package/dist/lib/components/Callout/CalloutIcon.d.ts +2 -1
  17. package/dist/lib/components/Callout/CalloutRoot.js +4 -4
  18. package/dist/lib/components/Callout/CalloutText.js +1 -1
  19. package/dist/lib/components/Callout/index.d.ts +1 -1
  20. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.d.ts +2 -1
  21. package/dist/lib/components/CheckboxGroup/index.d.ts +1 -1
  22. package/dist/lib/components/DoughnutChart/index.d.ts +12 -15
  23. package/dist/lib/components/DoughnutChart/index.js +10 -3
  24. package/dist/lib/components/LineChart/index.d.ts +9 -53
  25. package/dist/lib/components/LineChart/index.js +3 -1
  26. package/dist/lib/components/Menubar/MenubarMenu.d.ts +4 -1
  27. package/dist/lib/components/Menubar/MenubarRoot.js +1 -1
  28. package/dist/lib/components/Menubar/MenubarTrigger.js +1 -1
  29. package/dist/lib/components/Menubar/index.d.ts +3 -1
  30. package/dist/lib/components/NavigationMenu/NavigationMenuContent.js +2 -2
  31. package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.js +1 -1
  32. package/dist/lib/components/NavigationMenu/NavigationMenuList.js +1 -1
  33. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.js +1 -1
  34. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.js +1 -1
  35. package/dist/lib/components/PieChart/index.d.ts +12 -15
  36. package/dist/lib/components/PieChart/index.js +9 -2
  37. package/dist/lib/components/Progress/index.d.ts +1 -4
  38. package/dist/lib/components/Progress/index.js +2 -3
  39. package/dist/lib/components/RadarChart/index.d.ts +19 -26
  40. package/dist/lib/components/RadarChart/index.js +37 -15
  41. package/dist/lib/components/Radio/index.d.ts +0 -1
  42. package/dist/lib/components/Radio/index.js +3 -1
  43. package/dist/lib/components/RadioCards/RadioCardsItem.js +1 -1
  44. package/dist/lib/components/RadioCards/RadioCardsRoot.d.ts +0 -1
  45. package/dist/lib/components/RadioGroup/RadioGroupRoot.d.ts +0 -1
  46. package/dist/lib/components/Select/index.js +1 -1
  47. package/dist/lib/components/Toggle/ToggleWithText.d.ts +1 -1
  48. package/dist/lib/components/Toggle/ToggleWithText.js +1 -0
  49. package/dist/lib/components/ToggleSwitch/index.js +1 -1
  50. package/dist/lib/components/Tooltip/index.d.ts +0 -1
  51. package/dist/lib/components/Tooltip/index.js +3 -4
  52. package/dist/lib/components/index.d.ts +1 -0
  53. package/dist/lib/components/index.js +1 -0
  54. package/dist/lib/constants.d.ts +151 -0
  55. package/dist/lib/constants.js +111 -4
  56. package/dist/lib/types.d.ts +70 -0
  57. package/dist/lib/utils/useDarkMode.d.ts +1 -0
  58. package/dist/lib/utils/useDarkMode.js +49 -0
  59. package/dist/tailwind.config.js +2 -5
  60. package/package.json +131 -131
package/package.json CHANGED
@@ -1,131 +1,131 @@
1
- {
2
- "name": "@lotte-innovate/ui-component-test",
3
- "description": "Lotte UI Library",
4
- "version": "0.1.33",
5
- "private": false,
6
- "type": "module",
7
- "files": [
8
- "dist/lib",
9
- "dist/tailwind.config.d.ts",
10
- "dist/tailwind.config.js",
11
- "dist/globals.css"
12
- ],
13
- "main": "dist/lib/index.js",
14
- "module": "dist/lib/index.js",
15
- "types": "dist/lib/index.d.ts",
16
- "publishConfig": {
17
- "access": "public"
18
- },
19
- "browser": "./browser/specific/main.js",
20
- "babel": {
21
- "presets": [
22
- "@babel/preset-react",
23
- "@babel/preset-env"
24
- ]
25
- },
26
- "browserslist": {
27
- "production": [
28
- ">0.2%",
29
- "not dead",
30
- "not op_mini all"
31
- ],
32
- "development": [
33
- "last 1 chrome version",
34
- "last 1 firefox version",
35
- "last 1 safari version"
36
- ]
37
- },
38
- "scripts": {
39
- "dev": "next dev",
40
- "lint": "next lint",
41
- "prepare": "next build",
42
- "start": "next start",
43
- "storybook": "cross-env NODE_OPTIONS='--max-old-space-size=8192' storybook dev -p 6006",
44
- "chromatic": "cross-env npx chromatic --project-token=$CHROMATIC_PROJECT_TOKEN",
45
- "compile": "tsc --jsx react-jsx",
46
- "build": "next build && npm run compile",
47
- "build:css": "npx tailwindcss -i src/app/globals.css -o dist/globals.css --minify",
48
- "build-storybook": "storybook build",
49
- "clean": "rimraf dist && mkdir dist",
50
- "update-tailwind": "node update-tailwind-import.js",
51
- "build:all": "npm run clean && npm run compile && node src/utils/move.js && npm run build:css && tsc-alias && npm run update-tailwind",
52
- "publish:npm": "npm run build:all && npm publish && node src/utils/post-publish.js"
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.0.10",
80
- "@storybook/addons": "^7.6.17",
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
- "storybook-addon-deep-controls": "^0.7.1",
94
- "storybook-dark-mode": "^4.0.2",
95
- "tailwind-merge": "^2.2.2"
96
- },
97
- "devDependencies": {
98
- "@babel/cli": "^7.24.7",
99
- "@babel/core": "^7.24.7",
100
- "@babel/plugin-transform-runtime": "^7.24.7",
101
- "@babel/preset-env": "^7.25.4",
102
- "@babel/preset-react": "^7.24.7",
103
- "@babel/preset-typescript": "^7.24.7",
104
- "@chromatic-com/storybook": "^1.2.25",
105
- "@storybook/addon-essentials": "^8.0.4",
106
- "@storybook/addon-interactions": "^8.0.4",
107
- "@storybook/addon-links": "^8.0.4",
108
- "@storybook/addon-styling-webpack": "^1.0.0",
109
- "@storybook/blocks": "^8.0.4",
110
- "@storybook/nextjs": "^8.0.4",
111
- "@storybook/react": "^8.0.4",
112
- "@storybook/test": "^8.0.4",
113
- "@storybook/theming": "^8.2.4",
114
- "@types/node": "^20",
115
- "@types/react": "^18",
116
- "@types/react-dom": "^18",
117
- "autoprefixer": "^10.0.1",
118
- "chromatic": "^11.5.4",
119
- "eslint": "^8",
120
- "eslint-config-next": "14.1.4",
121
- "eslint-plugin-storybook": "^0.8.0",
122
- "postcss": "^8",
123
- "prettier": "^3.3.3",
124
- "prettier-plugin-tailwindcss": "^0.6.6",
125
- "rimraf": "^6.0.1",
126
- "storybook": "^8.2.6",
127
- "tailwindcss": "^3.3.0",
128
- "tsc-alias": "^1.8.10",
129
- "typescript": "^5"
130
- }
131
- }
1
+ {
2
+ "name": "@lotte-innovate/ui-component-test",
3
+ "description": "Lotte UI Library",
4
+ "version": "0.1.35",
5
+ "private": false,
6
+ "type": "module",
7
+ "files": [
8
+ "dist/lib",
9
+ "dist/tailwind.config.d.ts",
10
+ "dist/tailwind.config.js",
11
+ "dist/globals.css"
12
+ ],
13
+ "main": "dist/lib/index.js",
14
+ "module": "dist/lib/index.js",
15
+ "types": "dist/lib/index.d.ts",
16
+ "publishConfig": {
17
+ "access": "public"
18
+ },
19
+ "browser": "./browser/specific/main.js",
20
+ "babel": {
21
+ "presets": [
22
+ "@babel/preset-react",
23
+ "@babel/preset-env"
24
+ ]
25
+ },
26
+ "browserslist": {
27
+ "production": [
28
+ ">0.2%",
29
+ "not dead",
30
+ "not op_mini all"
31
+ ],
32
+ "development": [
33
+ "last 1 chrome version",
34
+ "last 1 firefox version",
35
+ "last 1 safari version"
36
+ ]
37
+ },
38
+ "scripts": {
39
+ "dev": "next dev",
40
+ "lint": "next lint",
41
+ "prepare": "next build",
42
+ "start": "next start",
43
+ "storybook": "cross-env NODE_OPTIONS='--max-old-space-size=8192' storybook dev -p 6006",
44
+ "chromatic": "cross-env npx chromatic --project-token=$CHROMATIC_PROJECT_TOKEN",
45
+ "compile": "tsc --jsx react-jsx",
46
+ "build": "next build && npm run compile",
47
+ "build:css": "npx tailwindcss -i src/app/globals.css -o dist/globals.css --minify",
48
+ "build-storybook": "storybook build",
49
+ "clean": "rimraf dist && mkdir dist",
50
+ "update-tailwind": "node update-tailwind-import.js",
51
+ "build:all": "npm run clean && npm run compile && node src/utils/move.js && npm run build:css && tsc-alias && npm run update-tailwind",
52
+ "publish:npm": "npm run build:all && npm publish && node src/utils/post-publish.js"
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
+ "storybook-addon-deep-controls": "^0.7.1",
94
+ "storybook-dark-mode": "^4.0.2",
95
+ "tailwind-merge": "^2.2.2"
96
+ },
97
+ "devDependencies": {
98
+ "@babel/cli": "^7.24.7",
99
+ "@babel/core": "^7.24.7",
100
+ "@babel/plugin-transform-runtime": "^7.24.7",
101
+ "@babel/preset-env": "^7.25.4",
102
+ "@babel/preset-react": "^7.24.7",
103
+ "@babel/preset-typescript": "^7.24.7",
104
+ "@chromatic-com/storybook": "^1.2.25",
105
+ "@storybook/addon-essentials": "^8.3.5",
106
+ "@storybook/addon-interactions": "^8.3.5",
107
+ "@storybook/addon-links": "^8.0.4",
108
+ "@storybook/addon-styling-webpack": "^1.0.0",
109
+ "@storybook/blocks": "^8.3.5",
110
+ "@storybook/nextjs": "^8.3.5",
111
+ "@storybook/react": "^8.3.5",
112
+ "@storybook/test": "^8.3.5",
113
+ "@storybook/theming": "^8.2.4",
114
+ "@types/node": "^20",
115
+ "@types/react": "^18",
116
+ "@types/react-dom": "^18",
117
+ "autoprefixer": "^10.0.1",
118
+ "chromatic": "^11.5.4",
119
+ "eslint": "^8",
120
+ "eslint-config-next": "14.1.4",
121
+ "eslint-plugin-storybook": "^0.8.0",
122
+ "postcss": "^8",
123
+ "prettier": "^3.3.3",
124
+ "prettier-plugin-tailwindcss": "^0.6.6",
125
+ "rimraf": "^6.0.1",
126
+ "storybook": "^8.3.5",
127
+ "tailwindcss": "^3.3.0",
128
+ "tsc-alias": "^1.8.10",
129
+ "typescript": "^5"
130
+ }
131
+ }