pentatrion-design 1.0.5 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.local/package copy 2.json +142 -0
- package/.local/package copy.json +247 -0
- package/.local/tailwind copy/base-prose.css +110 -0
- package/.local/tailwind copy/base.css +131 -0
- package/.local/tailwind copy/components-input-outline.css +95 -0
- package/.local/tailwind copy/components-range.css +33 -0
- package/.local/tailwind copy/components-resize-area.css +110 -0
- package/.local/tailwind copy/components-step.css +168 -0
- package/.local/tailwind copy/components.css +10 -0
- package/.local/tailwind copy/components.utilities.css +63 -0
- package/.local/tailwind copy/index.css +14 -0
- package/.local/tailwind copy/plugin.ts +274 -0
- package/.local/tailwind copy/utilities-dialog.css +47 -0
- package/.local/tailwind copy/utilities-dialog.utilities.css +35 -0
- package/.local/tailwind copy/utilities.css +3 -0
- package/.local/tailwind copy/vars.css +121 -0
- package/.local/vite-plugin-watch-and-restart.ts +53 -0
- package/dist/components/dropdown-menu/useDropdownMenu.d.ts.map +1 -1
- package/dist/components/dropdown-menu/useDropdownMenuContext.d.ts.map +1 -1
- package/dist/components/form/InputField.d.ts +2 -1
- package/dist/components/form/InputField.d.ts.map +1 -1
- package/dist/components/form/InputField.js +2 -2
- package/dist/components/modal/useModal.d.ts.map +1 -1
- package/dist/components/modal/useModalContext.d.ts.map +1 -1
- package/dist/components/popover/usePopover.d.ts.map +1 -1
- package/dist/components/popover/usePopoverContext.d.ts.map +1 -1
- package/dist/components/select/Select.d.ts +4 -2
- package/dist/components/select/Select.d.ts.map +1 -1
- package/dist/components/select/Select.js +3 -1
- package/dist/components/tooltip/useTooltip.d.ts.map +1 -1
- package/dist/components/tooltip/useTooltipContext.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/form/InputField.stories.tsx +7 -2
- package/src/components/form/InputField.tsx +5 -0
- package/src/components/select/Select.tsx +8 -4
- package/dist/components/accordion/AccordionItem.d.ts +0 -7
- package/dist/components/accordion/AccordionItem.d.ts.map +0 -1
- package/dist/components/accordion/AccordionItem.js +0 -7
- package/dist/components/button/LinkButton.d.ts +0 -7
- package/dist/components/button/LinkButton.d.ts.map +0 -1
- package/dist/components/button/LinkButton.js +0 -11
- package/dist/lib/tailwindVariants.d.ts +0 -10
- package/dist/lib/tailwindVariants.d.ts.map +0 -1
- package/dist/lib/tailwindVariants.js +0 -26
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "pentatrion-design",
|
|
3
|
+
"version": "0.2.4",
|
|
4
|
+
"description": "",
|
|
5
|
+
"keywords": [],
|
|
6
|
+
"author": "Hugues Tavernier",
|
|
7
|
+
"license": "ISC",
|
|
8
|
+
"private": true,
|
|
9
|
+
"main": "./dist/index.js",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": "./src/index.ts",
|
|
12
|
+
"./types": "./src/types.ts",
|
|
13
|
+
"./components/autocomplete": "./src/components/autocomplete/index.ts",
|
|
14
|
+
"./components/badge": "./src/components/badge/index.ts",
|
|
15
|
+
"./components/button": "./src/components/button/index.ts",
|
|
16
|
+
"./components/card": "./src/components/card/index.ts",
|
|
17
|
+
"./components/code": "./src/components/code/index.ts",
|
|
18
|
+
"./components/context-menu": "./src/components/context/index.ts",
|
|
19
|
+
"./components/dialog": "./src/components/dialog/index.ts",
|
|
20
|
+
"./components/dropdown-menu": "./src/components/dropdown/index.ts",
|
|
21
|
+
"./components/dropdown-menu-nested": "./src/components/dropdown/index.ts",
|
|
22
|
+
"./components/flash": "./src/components/flash/index.ts",
|
|
23
|
+
"./components/highlight": "./src/components/highlight/index.ts",
|
|
24
|
+
"./components/href": "./src/components/href/index.ts",
|
|
25
|
+
"./components/input": "./src/components/input/index.ts",
|
|
26
|
+
"./components/input-field": "./src/components/input/index.ts",
|
|
27
|
+
"./components/loader": "./src/components/loader/index.ts",
|
|
28
|
+
"./components/modal": "./src/components/modal/index.ts",
|
|
29
|
+
"./components/notification": "./src/components/notification/index.ts",
|
|
30
|
+
"./components/popover": "./src/components/popover/index.ts",
|
|
31
|
+
"./components/portal": "./src/components/portal/index.ts",
|
|
32
|
+
"./components/resize-area": "./src/components/resize/index.ts",
|
|
33
|
+
"./components/scroll": "./src/components/scroll/index.ts",
|
|
34
|
+
"./components/select": "./src/components/select/index.ts",
|
|
35
|
+
"./components/snack": "./src/components/snack/index.ts",
|
|
36
|
+
"./components/sortable": "./src/components/sortable/index.ts",
|
|
37
|
+
"./components/steps": "./src/components/steps/index.ts",
|
|
38
|
+
"./components/table": "./src/components/table/index.ts",
|
|
39
|
+
"./components/tabs": "./src/components/tabs/index.ts",
|
|
40
|
+
"./components/textarea": "./src/components/textarea/index.ts",
|
|
41
|
+
"./components/tooltip": "./src/components/tooltip/index.ts",
|
|
42
|
+
"./hooks": "./src/hooks/index.ts",
|
|
43
|
+
"./lib": "./src/lib/index.ts",
|
|
44
|
+
"./redux/notification": "./src/redux/notification/index.ts",
|
|
45
|
+
"./tailwind": "./src/tailwind/index.ts"
|
|
46
|
+
},
|
|
47
|
+
"scripts": {
|
|
48
|
+
"dev:tsc": "tsc -w -p tsconfig.build.json",
|
|
49
|
+
"dev:alias": "tsc-alias -w -p tsconfig.build.json",
|
|
50
|
+
"dev": "run-p dev:tsc dev:alias",
|
|
51
|
+
"build:tsc": "tsc -p tsconfig.build.json",
|
|
52
|
+
"build:alias": "tsc-alias -p tsconfig.build.json",
|
|
53
|
+
"build:package": "node generate-public-package.js",
|
|
54
|
+
"build": "run-s build:tsc build:alias build:package",
|
|
55
|
+
"storybook": "storybook dev -p 6007",
|
|
56
|
+
"storybook-build": "storybook build",
|
|
57
|
+
"fontello": "fontello",
|
|
58
|
+
"lint:check": "eslint",
|
|
59
|
+
"tsc:check": "tsc --noEmit -p tsconfig.build.json",
|
|
60
|
+
"test": "vitest",
|
|
61
|
+
"test-run": "vitest --run",
|
|
62
|
+
"ci": "pnpm lint:check && pnpm tsc:check && pnpm test-run"
|
|
63
|
+
},
|
|
64
|
+
"type": "module",
|
|
65
|
+
"devDependencies": {
|
|
66
|
+
"@babel/core": "^7.24.7",
|
|
67
|
+
"@floating-ui/react-dom": "^2.1.0",
|
|
68
|
+
"@react-spring/web": "^9.7.3",
|
|
69
|
+
"@reduxjs/toolkit": "^2.2.5",
|
|
70
|
+
"@storybook/addon-actions": "^8.1.9",
|
|
71
|
+
"@storybook/addon-docs": "^8.1.9",
|
|
72
|
+
"@storybook/addon-essentials": "^8.1.9",
|
|
73
|
+
"@storybook/addon-interactions": "^8.1.9",
|
|
74
|
+
"@storybook/addon-links": "^8.1.9",
|
|
75
|
+
"@storybook/addon-themes": "^8.1.9",
|
|
76
|
+
"@storybook/blocks": "^8.1.9",
|
|
77
|
+
"@storybook/manager-api": "^8.1.9",
|
|
78
|
+
"@storybook/react": "^8.1.9",
|
|
79
|
+
"@storybook/react-vite": "^8.1.9",
|
|
80
|
+
"@storybook/test": "^8.1.9",
|
|
81
|
+
"@storybook/theming": "^8.1.9",
|
|
82
|
+
"@storybook/types": "^8.1.9",
|
|
83
|
+
"@tailwindcss/typography": "^0.5.13",
|
|
84
|
+
"@testing-library/jest-dom": "^6.4.6",
|
|
85
|
+
"@testing-library/react": "^15.0.7",
|
|
86
|
+
"@testing-library/user-event": "^14.5.2",
|
|
87
|
+
"@types/geojson": "^7946.0.14",
|
|
88
|
+
"@types/react": "^18.3.3",
|
|
89
|
+
"@types/react-dom": "^18.3.0",
|
|
90
|
+
"@typescript-eslint/eslint-plugin": "^7.13.0",
|
|
91
|
+
"@typescript-eslint/parser": "^7.13.0",
|
|
92
|
+
"@use-gesture/react": "^10.3.1",
|
|
93
|
+
"@vitejs/plugin-react-swc": "^3.7.0",
|
|
94
|
+
"eslint": "^8.57.0",
|
|
95
|
+
"eslint-config-prettier": "^9.1.0",
|
|
96
|
+
"eslint-plugin-prettier": "^5.1.3",
|
|
97
|
+
"eslint-plugin-react-hooks": "^4.6.2",
|
|
98
|
+
"eslint-plugin-react-refresh": "^0.4.7",
|
|
99
|
+
"fuse.js": "^7.0.0",
|
|
100
|
+
"jsdom": "^24.1.0",
|
|
101
|
+
"maplibre-gl": "^4.4.0",
|
|
102
|
+
"npm-run-all": "^4.1.5",
|
|
103
|
+
"pentatrion-fontello-cli": "^0.0.5",
|
|
104
|
+
"postcss": "^8.4.38",
|
|
105
|
+
"postcss-input-range": "^5.0.0",
|
|
106
|
+
"postcss-load-config": "^5.1.0",
|
|
107
|
+
"prettier": "^3.3.2",
|
|
108
|
+
"prettier-plugin-tailwindcss": "^0.6.4",
|
|
109
|
+
"react-redux": "^9.1.2",
|
|
110
|
+
"storybook": "^8.1.9",
|
|
111
|
+
"tailwindcss": "^3.4.4",
|
|
112
|
+
"tsc-alias": "^1.8.10",
|
|
113
|
+
"typescript": "^5.4.5",
|
|
114
|
+
"vite": "^5.3.1",
|
|
115
|
+
"vitest": "^1.6.0"
|
|
116
|
+
},
|
|
117
|
+
"dependencies": {
|
|
118
|
+
"@floating-ui/react": "^0.26.17",
|
|
119
|
+
"clsx": "^2.1.1",
|
|
120
|
+
"pentatrion-design": "link:",
|
|
121
|
+
"react": "^18.3.1",
|
|
122
|
+
"react-dom": "^18.3.1",
|
|
123
|
+
"react-polymorphic-types": "^2.0.0",
|
|
124
|
+
"react-sortablejs": "^6.1.4"
|
|
125
|
+
},
|
|
126
|
+
"peerDependencies": {
|
|
127
|
+
"@reduxjs/toolkit": "*",
|
|
128
|
+
"react-redux": "*",
|
|
129
|
+
"tailwindcss": "*"
|
|
130
|
+
},
|
|
131
|
+
"peerDependenciesMeta": {
|
|
132
|
+
"@types/react": {
|
|
133
|
+
"optional": true
|
|
134
|
+
},
|
|
135
|
+
"@types/react-dom": {
|
|
136
|
+
"optional": true
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"volta": {
|
|
140
|
+
"node": "20.14.0"
|
|
141
|
+
}
|
|
142
|
+
}
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "pentatrion-design",
|
|
3
|
+
"version": "0.2.4",
|
|
4
|
+
"description": "",
|
|
5
|
+
"keywords": [],
|
|
6
|
+
"author": "Hugues Tavernier",
|
|
7
|
+
"license": "ISC",
|
|
8
|
+
"private": true,
|
|
9
|
+
"main": "./dist/index.js",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"default": "./index.js",
|
|
13
|
+
"types": "./index.d.ts"
|
|
14
|
+
},
|
|
15
|
+
"./types": {
|
|
16
|
+
"default": "./types.js",
|
|
17
|
+
"types": "./types.d.ts"
|
|
18
|
+
},
|
|
19
|
+
"./hooks": {
|
|
20
|
+
"default": "./hooks/index.js",
|
|
21
|
+
"types": "./hooks/index.d.ts"
|
|
22
|
+
},
|
|
23
|
+
"./lib": {
|
|
24
|
+
"default": "./lib/index.js",
|
|
25
|
+
"types": "./lib/index.d.ts"
|
|
26
|
+
},
|
|
27
|
+
"./tailwind": {
|
|
28
|
+
"default": "./tailwind/index.js",
|
|
29
|
+
"types": "./tailwind/index.d.ts"
|
|
30
|
+
},
|
|
31
|
+
"./redux/notification": {
|
|
32
|
+
"default": "./redux/notification/index.js",
|
|
33
|
+
"types": "./redux/notification/index.d.ts"
|
|
34
|
+
},
|
|
35
|
+
"./components/autocomplete": {
|
|
36
|
+
"default": "./components/autocomplete/index.js",
|
|
37
|
+
"types": "./components/autocomplete/index.d.ts"
|
|
38
|
+
},
|
|
39
|
+
"./components/badge": {
|
|
40
|
+
"default": "./components/badge/index.js",
|
|
41
|
+
"types": "./components/badge/index.d.ts"
|
|
42
|
+
},
|
|
43
|
+
"./components/button": {
|
|
44
|
+
"default": "./components/button/index.js",
|
|
45
|
+
"types": "./components/button/index.d.ts"
|
|
46
|
+
},
|
|
47
|
+
"./components/card": {
|
|
48
|
+
"default": "./components/card/index.js",
|
|
49
|
+
"types": "./components/card/index.d.ts"
|
|
50
|
+
},
|
|
51
|
+
"./components/code": {
|
|
52
|
+
"default": "./components/code/index.js",
|
|
53
|
+
"types": "./components/code/index.d.ts"
|
|
54
|
+
},
|
|
55
|
+
"./components/context-menu": {
|
|
56
|
+
"default": "./components/context/index.js",
|
|
57
|
+
"types": "./components/context/index.d.ts"
|
|
58
|
+
},
|
|
59
|
+
"./components/dialog": {
|
|
60
|
+
"default": "./components/dialog/index.js",
|
|
61
|
+
"types": "./components/dialog/index.d.ts"
|
|
62
|
+
},
|
|
63
|
+
"./components/dropdown-menu": {
|
|
64
|
+
"default": "./components/dropdown/index.js",
|
|
65
|
+
"types": "./components/dropdown/index.d.ts"
|
|
66
|
+
},
|
|
67
|
+
"./components/dropdown-menu-nested": {
|
|
68
|
+
"default": "./components/dropdown/index.js",
|
|
69
|
+
"types": "./components/dropdown/index.d.ts"
|
|
70
|
+
},
|
|
71
|
+
"./components/flash": {
|
|
72
|
+
"default": "./components/flash/index.js",
|
|
73
|
+
"types": "./components/flash/index.d.ts"
|
|
74
|
+
},
|
|
75
|
+
"./components/highlight": {
|
|
76
|
+
"default": "./components/highlight/index.js",
|
|
77
|
+
"types": "./components/highlight/index.d.ts"
|
|
78
|
+
},
|
|
79
|
+
"./components/href": {
|
|
80
|
+
"default": "./components/href/index.js",
|
|
81
|
+
"types": "./components/href/index.d.ts"
|
|
82
|
+
},
|
|
83
|
+
"./components/input": {
|
|
84
|
+
"default": "./components/input/index.js",
|
|
85
|
+
"types": "./components/input/index.d.ts"
|
|
86
|
+
},
|
|
87
|
+
"./components/input-field": {
|
|
88
|
+
"default": "./components/input/index.js",
|
|
89
|
+
"types": "./components/input/index.d.ts"
|
|
90
|
+
},
|
|
91
|
+
"./components/loader": {
|
|
92
|
+
"default": "./components/loader/index.js",
|
|
93
|
+
"types": "./components/loader/index.d.ts"
|
|
94
|
+
},
|
|
95
|
+
"./components/modal": {
|
|
96
|
+
"default": "./components/modal/index.js",
|
|
97
|
+
"types": "./components/modal/index.d.ts"
|
|
98
|
+
},
|
|
99
|
+
"./components/notification": {
|
|
100
|
+
"default": "./components/notification/index.js",
|
|
101
|
+
"types": "./components/notification/index.d.ts"
|
|
102
|
+
},
|
|
103
|
+
"./components/popover": {
|
|
104
|
+
"default": "./components/popover/index.js",
|
|
105
|
+
"types": "./components/popover/index.d.ts"
|
|
106
|
+
},
|
|
107
|
+
"./components/portal": {
|
|
108
|
+
"default": "./components/portal/index.js",
|
|
109
|
+
"types": "./components/portal/index.d.ts"
|
|
110
|
+
},
|
|
111
|
+
"./components/resize-area": {
|
|
112
|
+
"default": "./components/resize/index.js",
|
|
113
|
+
"types": "./components/resize/index.d.ts"
|
|
114
|
+
},
|
|
115
|
+
"./components/scroll": {
|
|
116
|
+
"default": "./components/scroll/index.js",
|
|
117
|
+
"types": "./components/scroll/index.d.ts"
|
|
118
|
+
},
|
|
119
|
+
"./components/select": {
|
|
120
|
+
"default": "./components/select/index.js",
|
|
121
|
+
"types": "./components/select/index.d.ts"
|
|
122
|
+
},
|
|
123
|
+
"./components/snack": {
|
|
124
|
+
"default": "./components/snack/index.js",
|
|
125
|
+
"types": "./components/snack/index.d.ts"
|
|
126
|
+
},
|
|
127
|
+
"./components/sortable": {
|
|
128
|
+
"default": "./components/sortable/index.js",
|
|
129
|
+
"types": "./components/sortable/index.d.ts"
|
|
130
|
+
},
|
|
131
|
+
"./components/steps": {
|
|
132
|
+
"default": "./components/steps/index.js",
|
|
133
|
+
"types": "./components/steps/index.d.ts"
|
|
134
|
+
},
|
|
135
|
+
"./components/table": {
|
|
136
|
+
"default": "./components/table/index.js",
|
|
137
|
+
"types": "./components/table/index.d.ts"
|
|
138
|
+
},
|
|
139
|
+
"./components/tabs": {
|
|
140
|
+
"default": "./components/tabs/index.js",
|
|
141
|
+
"types": "./components/tabs/index.d.ts"
|
|
142
|
+
},
|
|
143
|
+
"./components/textarea": {
|
|
144
|
+
"default": "./components/textarea/index.js",
|
|
145
|
+
"types": "./components/textarea/index.d.ts"
|
|
146
|
+
},
|
|
147
|
+
"./components/tooltip": {
|
|
148
|
+
"default": "./components/tooltip/index.js",
|
|
149
|
+
"types": "./components/tooltip/index.d.ts"
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"scripts": {
|
|
153
|
+
"dev:tsc": "tsc -w -p tsconfig.build.json",
|
|
154
|
+
"dev:alias": "tsc-alias -w -p tsconfig.build.json",
|
|
155
|
+
"dev": "run-p dev:tsc dev:alias",
|
|
156
|
+
"build:tsc": "tsc -p tsconfig.build.json",
|
|
157
|
+
"build:alias": "tsc-alias -p tsconfig.build.json",
|
|
158
|
+
"build:package": "node generate-public-package.js",
|
|
159
|
+
"build": "run-s build:tsc build:alias build:package",
|
|
160
|
+
"storybook": "storybook dev -p 6007",
|
|
161
|
+
"storybook-build": "storybook build",
|
|
162
|
+
"fontello": "fontello",
|
|
163
|
+
"lint:check": "eslint",
|
|
164
|
+
"tsc:check": "tsc --noEmit -p tsconfig.build.json",
|
|
165
|
+
"test": "vitest",
|
|
166
|
+
"test-run": "vitest --run",
|
|
167
|
+
"ci": "pnpm lint:check && pnpm tsc:check && pnpm test-run"
|
|
168
|
+
},
|
|
169
|
+
"type": "module",
|
|
170
|
+
"devDependencies": {
|
|
171
|
+
"@babel/core": "^7.24.7",
|
|
172
|
+
"@floating-ui/react-dom": "^2.1.0",
|
|
173
|
+
"@react-spring/web": "^9.7.3",
|
|
174
|
+
"@reduxjs/toolkit": "^2.2.5",
|
|
175
|
+
"@storybook/addon-actions": "^8.1.9",
|
|
176
|
+
"@storybook/addon-docs": "^8.1.9",
|
|
177
|
+
"@storybook/addon-essentials": "^8.1.9",
|
|
178
|
+
"@storybook/addon-interactions": "^8.1.9",
|
|
179
|
+
"@storybook/addon-links": "^8.1.9",
|
|
180
|
+
"@storybook/addon-themes": "^8.1.9",
|
|
181
|
+
"@storybook/blocks": "^8.1.9",
|
|
182
|
+
"@storybook/manager-api": "^8.1.9",
|
|
183
|
+
"@storybook/react": "^8.1.9",
|
|
184
|
+
"@storybook/react-vite": "^8.1.9",
|
|
185
|
+
"@storybook/test": "^8.1.9",
|
|
186
|
+
"@storybook/theming": "^8.1.9",
|
|
187
|
+
"@storybook/types": "^8.1.9",
|
|
188
|
+
"@tailwindcss/typography": "^0.5.13",
|
|
189
|
+
"@testing-library/jest-dom": "^6.4.6",
|
|
190
|
+
"@testing-library/react": "^15.0.7",
|
|
191
|
+
"@testing-library/user-event": "^14.5.2",
|
|
192
|
+
"@types/geojson": "^7946.0.14",
|
|
193
|
+
"@types/react": "^18.3.3",
|
|
194
|
+
"@types/react-dom": "^18.3.0",
|
|
195
|
+
"@typescript-eslint/eslint-plugin": "^7.13.0",
|
|
196
|
+
"@typescript-eslint/parser": "^7.13.0",
|
|
197
|
+
"@use-gesture/react": "^10.3.1",
|
|
198
|
+
"@vitejs/plugin-react-swc": "^3.7.0",
|
|
199
|
+
"eslint": "^8.57.0",
|
|
200
|
+
"eslint-config-prettier": "^9.1.0",
|
|
201
|
+
"eslint-plugin-prettier": "^5.1.3",
|
|
202
|
+
"eslint-plugin-react-hooks": "^4.6.2",
|
|
203
|
+
"eslint-plugin-react-refresh": "^0.4.7",
|
|
204
|
+
"fuse.js": "^7.0.0",
|
|
205
|
+
"jsdom": "^24.1.0",
|
|
206
|
+
"maplibre-gl": "^4.4.0",
|
|
207
|
+
"npm-run-all": "^4.1.5",
|
|
208
|
+
"pentatrion-fontello-cli": "^0.0.5",
|
|
209
|
+
"postcss": "^8.4.38",
|
|
210
|
+
"postcss-input-range": "^5.0.0",
|
|
211
|
+
"postcss-load-config": "^5.1.0",
|
|
212
|
+
"prettier": "^3.3.2",
|
|
213
|
+
"prettier-plugin-tailwindcss": "^0.6.4",
|
|
214
|
+
"react-redux": "^9.1.2",
|
|
215
|
+
"storybook": "^8.1.9",
|
|
216
|
+
"tailwindcss": "^3.4.4",
|
|
217
|
+
"tsc-alias": "^1.8.10",
|
|
218
|
+
"typescript": "^5.4.5",
|
|
219
|
+
"vite": "^5.3.1",
|
|
220
|
+
"vitest": "^1.6.0"
|
|
221
|
+
},
|
|
222
|
+
"dependencies": {
|
|
223
|
+
"@floating-ui/react": "^0.26.17",
|
|
224
|
+
"clsx": "^2.1.1",
|
|
225
|
+
"pentatrion-design": "link:",
|
|
226
|
+
"react": "^18.3.1",
|
|
227
|
+
"react-dom": "^18.3.1",
|
|
228
|
+
"react-polymorphic-types": "^2.0.0",
|
|
229
|
+
"react-sortablejs": "^6.1.4"
|
|
230
|
+
},
|
|
231
|
+
"peerDependencies": {
|
|
232
|
+
"@reduxjs/toolkit": "*",
|
|
233
|
+
"react-redux": "*",
|
|
234
|
+
"tailwindcss": "*"
|
|
235
|
+
},
|
|
236
|
+
"peerDependenciesMeta": {
|
|
237
|
+
"@types/react": {
|
|
238
|
+
"optional": true
|
|
239
|
+
},
|
|
240
|
+
"@types/react-dom": {
|
|
241
|
+
"optional": true
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
"volta": {
|
|
245
|
+
"node": "20.14.0"
|
|
246
|
+
}
|
|
247
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
.prose {
|
|
2
|
+
p {
|
|
3
|
+
@apply mb-5 mt-0;
|
|
4
|
+
}
|
|
5
|
+
p:last-child {
|
|
6
|
+
@apply mb-0;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
h1,
|
|
10
|
+
h2,
|
|
11
|
+
h3,
|
|
12
|
+
h4,
|
|
13
|
+
h5,
|
|
14
|
+
h6 {
|
|
15
|
+
@apply relative font-semibold text-gray-8;
|
|
16
|
+
}
|
|
17
|
+
h1 {
|
|
18
|
+
@apply mb-8 mt-0 text-h1;
|
|
19
|
+
}
|
|
20
|
+
h2 {
|
|
21
|
+
@apply mb-2 mt-6 text-h2;
|
|
22
|
+
}
|
|
23
|
+
h3 {
|
|
24
|
+
@apply mb-2 mt-6 text-h3;
|
|
25
|
+
}
|
|
26
|
+
h4 {
|
|
27
|
+
@apply mb-2 mt-6 text-h4;
|
|
28
|
+
}
|
|
29
|
+
h5 {
|
|
30
|
+
@apply mb-2 mt-6 text-h5;
|
|
31
|
+
}
|
|
32
|
+
h6 {
|
|
33
|
+
@apply mb-2 mt-6 text-h6;
|
|
34
|
+
}
|
|
35
|
+
img {
|
|
36
|
+
@apply my-8;
|
|
37
|
+
}
|
|
38
|
+
picture {
|
|
39
|
+
@apply my-8;
|
|
40
|
+
}
|
|
41
|
+
picture > img {
|
|
42
|
+
@apply my-0;
|
|
43
|
+
}
|
|
44
|
+
video {
|
|
45
|
+
@apply my-8;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
code {
|
|
49
|
+
@apply text-body-sm font-bold;
|
|
50
|
+
}
|
|
51
|
+
code::before {
|
|
52
|
+
content: "`";
|
|
53
|
+
}
|
|
54
|
+
code::after {
|
|
55
|
+
content: "`";
|
|
56
|
+
}
|
|
57
|
+
pre {
|
|
58
|
+
@apply my-6 overflow-x-auto rounded-md bg-gray-1 py-4 pe-4 ps-4 text-body-sm;
|
|
59
|
+
}
|
|
60
|
+
ol {
|
|
61
|
+
@apply my-5 list-decimal ps-7;
|
|
62
|
+
}
|
|
63
|
+
ul {
|
|
64
|
+
@apply my-5 list-disc ps-6;
|
|
65
|
+
}
|
|
66
|
+
li {
|
|
67
|
+
@apply my-2;
|
|
68
|
+
}
|
|
69
|
+
ol > li {
|
|
70
|
+
@apply ps-1.5 marker:text-gray-5;
|
|
71
|
+
}
|
|
72
|
+
ul > li {
|
|
73
|
+
@apply ps-1.5 marker:text-gray-3;
|
|
74
|
+
}
|
|
75
|
+
blockquote {
|
|
76
|
+
@apply my-8 border-s-4 border-s-gray-3 ps-5 italic text-gray-8;
|
|
77
|
+
}
|
|
78
|
+
hr + * {
|
|
79
|
+
@apply mt-0;
|
|
80
|
+
}
|
|
81
|
+
h2 + * {
|
|
82
|
+
@apply mt-0;
|
|
83
|
+
}
|
|
84
|
+
h3 + * {
|
|
85
|
+
@apply mt-0;
|
|
86
|
+
}
|
|
87
|
+
h4 + * {
|
|
88
|
+
@apply mt-0;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
figure {
|
|
92
|
+
@apply my-8;
|
|
93
|
+
}
|
|
94
|
+
figure > * {
|
|
95
|
+
@apply my-0;
|
|
96
|
+
}
|
|
97
|
+
figcaption {
|
|
98
|
+
@apply mt-3 text-body-sm;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
a {
|
|
102
|
+
@apply text-gray-8 underline decoration-gray-8 visited:text-gray-8 hover:decoration-yellow-5 hover:decoration-2 active:text-yellow-5;
|
|
103
|
+
}
|
|
104
|
+
mark {
|
|
105
|
+
@apply bg-yellow-1 text-gray-8;
|
|
106
|
+
}
|
|
107
|
+
abbr {
|
|
108
|
+
@apply cursor-help underline decoration-dashed;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
html {
|
|
2
|
+
font-size: 16px;
|
|
3
|
+
line-height: 24px;
|
|
4
|
+
color-scheme: normal;
|
|
5
|
+
}
|
|
6
|
+
body {
|
|
7
|
+
@apply bg-gray-0 font-sans text-gray-7;
|
|
8
|
+
}
|
|
9
|
+
.light {
|
|
10
|
+
color-scheme: light;
|
|
11
|
+
}
|
|
12
|
+
.dark {
|
|
13
|
+
color-scheme: dark;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
:focus-visible {
|
|
17
|
+
@apply rounded-sm outline outline-2 outline-offset-2 outline-yellow-5;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
textarea[readonly],
|
|
21
|
+
[aria-readonly="true"] {
|
|
22
|
+
@apply bg-gray-1;
|
|
23
|
+
}
|
|
24
|
+
:is(input, textarea)[readonly] {
|
|
25
|
+
color: rgb(var(--color-gray-6));
|
|
26
|
+
}
|
|
27
|
+
input[type="search"]::-webkit-search-cancel-button,
|
|
28
|
+
input[type="search"]::-webkit-search-decoration,
|
|
29
|
+
input[type="search"]::-webkit-search-results-button,
|
|
30
|
+
input[type="search"]::-webkit-search-results-decoration {
|
|
31
|
+
display: none;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
input[type="range"] {
|
|
35
|
+
background-color: transparent;
|
|
36
|
+
-webkit-appearance: none;
|
|
37
|
+
appearance: none;
|
|
38
|
+
}
|
|
39
|
+
input[type="range"]::-webkit-slider-thumb {
|
|
40
|
+
-webkit-appearance: none;
|
|
41
|
+
appearance: none;
|
|
42
|
+
|
|
43
|
+
border: 0;
|
|
44
|
+
box-sizing: border-box;
|
|
45
|
+
border-radius: 50%;
|
|
46
|
+
cursor: pointer;
|
|
47
|
+
position: relative;
|
|
48
|
+
}
|
|
49
|
+
input[type="range"]::-moz-range-thumb {
|
|
50
|
+
appearance: none;
|
|
51
|
+
border: 0;
|
|
52
|
+
box-sizing: border-box;
|
|
53
|
+
border-radius: 50%;
|
|
54
|
+
cursor: pointer;
|
|
55
|
+
position: relative;
|
|
56
|
+
}
|
|
57
|
+
input[type="range"]::-ms-thumb {
|
|
58
|
+
appearance: none;
|
|
59
|
+
border: 0;
|
|
60
|
+
box-sizing: border-box;
|
|
61
|
+
border-radius: 50%;
|
|
62
|
+
cursor: pointer;
|
|
63
|
+
position: relative;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
mark {
|
|
67
|
+
@apply bg-yellow-1 text-gray-8;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
abbr {
|
|
71
|
+
@apply cursor-help underline decoration-dashed;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
input[type="search"]::-webkit-search-cancel-button,
|
|
75
|
+
input[type="search"]::-webkit-search-decoration,
|
|
76
|
+
input[type="search"]::-webkit-search-results-button,
|
|
77
|
+
input[type="search"]::-webkit-search-results-decoration {
|
|
78
|
+
display: none;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
[data-color="yellow"] {
|
|
82
|
+
/**
|
|
83
|
+
* for readability 1 and 2 are gray
|
|
84
|
+
*/
|
|
85
|
+
--color-custom-1: var(--color-gray-1);
|
|
86
|
+
--color-custom-2: var(--color-gray-2);
|
|
87
|
+
--color-custom-3: var(--color-yellow-3);
|
|
88
|
+
--color-custom-4: var(--color-yellow-4);
|
|
89
|
+
--color-custom-5: var(--color-yellow-5);
|
|
90
|
+
--color-custom-text: var(--color-yellow-text);
|
|
91
|
+
}
|
|
92
|
+
[data-color="gray"] {
|
|
93
|
+
--color-custom-1: var(--color-gray-1);
|
|
94
|
+
--color-custom-2: var(--color-gray-2);
|
|
95
|
+
--color-custom-3: var(--color-gray-3);
|
|
96
|
+
--color-custom-4: var(--color-gray-4);
|
|
97
|
+
--color-custom-5: var(--color-gray-5);
|
|
98
|
+
--color-custom-text: var(--color-gray-text);
|
|
99
|
+
}
|
|
100
|
+
[data-color="red"] {
|
|
101
|
+
--color-custom-1: var(--color-red-1);
|
|
102
|
+
--color-custom-2: var(--color-red-2);
|
|
103
|
+
--color-custom-3: var(--color-red-3);
|
|
104
|
+
--color-custom-4: var(--color-red-4);
|
|
105
|
+
--color-custom-5: var(--color-red-5);
|
|
106
|
+
--color-custom-text: var(--color-red-text);
|
|
107
|
+
}
|
|
108
|
+
[data-color="orange"] {
|
|
109
|
+
--color-custom-1: var(--color-orange-1);
|
|
110
|
+
--color-custom-2: var(--color-orange-2);
|
|
111
|
+
--color-custom-3: var(--color-orange-3);
|
|
112
|
+
--color-custom-4: var(--color-orange-4);
|
|
113
|
+
--color-custom-5: var(--color-orange-5);
|
|
114
|
+
--color-custom-text: var(--color-orange-text);
|
|
115
|
+
}
|
|
116
|
+
[data-color="green"] {
|
|
117
|
+
--color-custom-1: var(--color-green-1);
|
|
118
|
+
--color-custom-2: var(--color-green-2);
|
|
119
|
+
--color-custom-3: var(--color-green-3);
|
|
120
|
+
--color-custom-4: var(--color-green-4);
|
|
121
|
+
--color-custom-5: var(--color-green-5);
|
|
122
|
+
--color-custom-text: var(--color-green-text);
|
|
123
|
+
}
|
|
124
|
+
[data-color="blue"] {
|
|
125
|
+
--color-custom-1: var(--color-blue-1);
|
|
126
|
+
--color-custom-2: var(--color-blue-2);
|
|
127
|
+
--color-custom-3: var(--color-blue-3);
|
|
128
|
+
--color-custom-4: var(--color-blue-4);
|
|
129
|
+
--color-custom-5: var(--color-blue-5);
|
|
130
|
+
--color-custom-text: var(--color-blue-text);
|
|
131
|
+
}
|