dishui 0.0.104 → 0.0.106
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/dist/.release-verified.json +2 -2
- package/dist/components/ChoicePicker/index.js +8 -6
- package/dist/components/ChoicePicker/index.js.map +1 -1
- package/dist/components/Column/index.d.ts +3 -2
- package/dist/components/Column/index.js +5 -17
- package/dist/components/Column/index.js.map +1 -1
- package/dist/components/ConfirmDialog/index.d.ts +20 -0
- package/dist/components/ConfirmDialog/index.js +84 -0
- package/dist/components/ConfirmDialog/index.js.map +1 -0
- package/dist/components/DateTimeInput/index.js +28 -26
- package/dist/components/DateTimeInput/index.js.map +1 -1
- package/dist/components/Input/index.js +1 -1
- package/dist/components/Input/index.js.map +1 -1
- package/dist/components/MultipleChoice/index.js +2 -1
- package/dist/components/MultipleChoice/index.js.map +1 -1
- package/dist/components/Row/index.d.ts +3 -2
- package/dist/components/Row/index.js +5 -17
- package/dist/components/Row/index.js.map +1 -1
- package/dist/components/Tab/index.js +80 -0
- package/dist/components/Tab/index.js.map +1 -0
- package/dist/components/Tabs/index.js +28 -33
- package/dist/components/Tabs/index.js.map +1 -1
- package/dist/components/Tabs/tabNavigation.d.ts +2 -0
- package/dist/components/Tabs/tabNavigation.js +14 -0
- package/dist/components/Tabs/tabNavigation.js.map +1 -0
- package/dist/components/pro/CodeEditor/editors/MarkdownEditor.d.ts +1 -1
- package/dist/components/pro/CodeEditor/editors/MarkdownEditor.js +25 -26
- package/dist/components/pro/CodeEditor/editors/MarkdownEditor.js.map +1 -1
- package/dist/components/pro/FileExplorer/Breadcrumb.js +8 -11
- package/dist/components/pro/FileExplorer/Breadcrumb.js.map +1 -1
- package/dist/components/pro/Flow/Flow.js +184 -182
- package/dist/components/pro/Flow/Flow.js.map +1 -1
- package/dist/components/pro/Flow/archify/convert.js +26 -26
- package/dist/components/pro/Flow/archify/convert.js.map +1 -1
- package/dist/components/pro/Flow/hooks/useLayoutActions.js +13 -11
- package/dist/components/pro/Flow/hooks/useLayoutActions.js.map +1 -1
- package/dist/components/pro/Flow/nodes/MediaContent.d.ts +2 -1
- package/dist/components/pro/Flow/nodes/MediaContent.js +15 -15
- package/dist/components/pro/Flow/nodes/MediaContent.js.map +1 -1
- package/dist/components/pro/Flow/nodes/MediaOverlay.js +8 -7
- package/dist/components/pro/Flow/nodes/MediaOverlay.js.map +1 -1
- package/dist/components/pro/RichTextEditor/BubbleToolbar.js +73 -83
- package/dist/components/pro/RichTextEditor/BubbleToolbar.js.map +1 -1
- package/dist/components/pro/RichTextEditor/Toolbar/ColorPicker.d.ts +2 -0
- package/dist/components/pro/RichTextEditor/Toolbar/ColorPicker.js +73 -49
- package/dist/components/pro/RichTextEditor/Toolbar/ColorPicker.js.map +1 -1
- package/dist/components/pro/RichTextEditor/Toolbar/SelectDropdown.d.ts +1 -0
- package/dist/components/pro/RichTextEditor/Toolbar/SelectDropdown.js +12 -14
- package/dist/components/pro/RichTextEditor/Toolbar/SelectDropdown.js.map +1 -1
- package/dist/components/pro/RichTextEditor/extensions/CodeBlockView.js +113 -113
- package/dist/components/pro/RichTextEditor/extensions/CodeBlockView.js.map +1 -1
- package/dist/css.d.ts +1 -0
- package/dist/dishui.css +1 -1
- package/dist/index-nostyled.d.ts +2 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +113 -111
- package/dist/layouts/Sidebar.js +201 -107
- package/dist/layouts/Sidebar.js.map +1 -1
- package/dist/utils/flexLayout.d.ts +5 -0
- package/dist/utils/flexLayout.js +19 -0
- package/dist/utils/flexLayout.js.map +1 -0
- package/package.json +63 -57
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flexLayout.js","names":[],"sources":["../../src/utils/flexLayout.ts"],"sourcesContent":["export type FlexAlign = 'start' | 'center' | 'end' | 'baseline' | 'stretch';\nexport type FlexJustify = 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly';\n\nexport const FLEX_ALIGN_CLASS: Record<FlexAlign, string> = {\n start: 'items-start',\n center: 'items-center',\n end: 'items-end',\n baseline: 'items-baseline',\n stretch: 'items-stretch',\n};\n\nexport const FLEX_JUSTIFY_CLASS: Record<FlexJustify, string> = {\n start: 'justify-start',\n center: 'justify-center',\n end: 'justify-end',\n between: 'justify-between',\n around: 'justify-around',\n evenly: 'justify-evenly',\n};\n\nexport const flexGap = (value: number | string | undefined): string | undefined =>\n typeof value === 'number' ? `${value}px` : value;\n"],"mappings":";AAGA,IAAa,IAA8C;CACzD,OAAO;CACP,QAAQ;CACR,KAAK;CACL,UAAU;CACV,SAAS;AACX,GAEa,IAAkD;CAC7D,OAAO;CACP,QAAQ;CACR,KAAK;CACL,SAAS;CACT,QAAQ;CACR,QAAQ;AACV,GAEa,KAAW,MACtB,OAAO,KAAU,WAAW,GAAG,EAAM,MAAM"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dishui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.106",
|
|
4
4
|
"description": "New Components UI Framework with AI Powered",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"packageManager": "pnpm@11.12.0",
|
|
@@ -56,8 +56,14 @@
|
|
|
56
56
|
"types": "./dist/components/Markdown/index.d.ts",
|
|
57
57
|
"import": "./dist/markdown.js"
|
|
58
58
|
},
|
|
59
|
-
"./css":
|
|
60
|
-
|
|
59
|
+
"./css": {
|
|
60
|
+
"types": "./dist/css.d.ts",
|
|
61
|
+
"default": "./dist/dishui.css"
|
|
62
|
+
},
|
|
63
|
+
"./dist/dishui.css": {
|
|
64
|
+
"types": "./dist/css.d.ts",
|
|
65
|
+
"default": "./dist/dishui.css"
|
|
66
|
+
},
|
|
61
67
|
"./package.json": "./package.json"
|
|
62
68
|
},
|
|
63
69
|
"files": [
|
|
@@ -124,89 +130,89 @@
|
|
|
124
130
|
},
|
|
125
131
|
"devDependencies": {
|
|
126
132
|
"@tailwindcss/postcss": "^4.3.3",
|
|
127
|
-
"@tanstack/react-router": "^1.170.
|
|
128
|
-
"@types/d3-geo": "^3.1.
|
|
133
|
+
"@tanstack/react-router": "^1.170.38",
|
|
134
|
+
"@types/d3-geo": "^3.1.1",
|
|
129
135
|
"@types/d3-scale": "^4.0.9",
|
|
130
|
-
"@types/d3-shape": "^3.
|
|
136
|
+
"@types/d3-shape": "^3.2.0",
|
|
131
137
|
"@types/d3-time": "^3.0.4",
|
|
132
|
-
"@types/node": "^26.
|
|
133
|
-
"@types/react": "^19.
|
|
134
|
-
"@types/react-dom": "^19.
|
|
138
|
+
"@types/node": "^26.6.2",
|
|
139
|
+
"@types/react": "^19.3.0",
|
|
140
|
+
"@types/react-dom": "^19.3.0",
|
|
135
141
|
"@types/react-syntax-highlighter": "^15.5.13",
|
|
136
|
-
"@types/three": "0.
|
|
137
|
-
"@vitejs/plugin-react": "^6.
|
|
138
|
-
"autoprefixer": "^10.
|
|
142
|
+
"@types/three": "0.186.0",
|
|
143
|
+
"@vitejs/plugin-react": "^6.1.1",
|
|
144
|
+
"autoprefixer": "^10.6.1",
|
|
139
145
|
"d3-geo": "3.1.1",
|
|
140
146
|
"d3-scale": "4.0.2",
|
|
141
147
|
"d3-shape": "3.2.0",
|
|
142
148
|
"d3-time": "3.1.0",
|
|
143
|
-
"daisyui": "^5.7.
|
|
149
|
+
"daisyui": "^5.7.43",
|
|
144
150
|
"esbuild": "0.28.2",
|
|
145
|
-
"oxlint": "^1.
|
|
146
|
-
"playwright-core": "1.
|
|
147
|
-
"postcss": "^8.5.
|
|
148
|
-
"react": "^19.
|
|
149
|
-
"react-dom": "^19.
|
|
150
|
-
"recharts": "^3.
|
|
151
|
+
"oxlint": "^1.85.0",
|
|
152
|
+
"playwright-core": "1.63.0",
|
|
153
|
+
"postcss": "^8.5.28",
|
|
154
|
+
"react": "^19.3.0",
|
|
155
|
+
"react-dom": "^19.3.0",
|
|
156
|
+
"recharts": "^3.10.1",
|
|
151
157
|
"tailwindcss": "^4.3.3",
|
|
152
158
|
"tslib": "^2.8.1",
|
|
153
159
|
"typescript": "^7.0.2",
|
|
154
|
-
"vite": "^8.
|
|
160
|
+
"vite": "^8.3.0"
|
|
155
161
|
},
|
|
156
162
|
"dependencies": {
|
|
157
163
|
"@codemirror/autocomplete": "^6.20.3",
|
|
158
|
-
"@codemirror/commands": "^6.
|
|
164
|
+
"@codemirror/commands": "^6.11.1",
|
|
159
165
|
"@codemirror/lang-css": "^6.3.1",
|
|
160
|
-
"@codemirror/lang-html": "^6.4.
|
|
166
|
+
"@codemirror/lang-html": "^6.4.12",
|
|
161
167
|
"@codemirror/lang-javascript": "^6.2.5",
|
|
162
168
|
"@codemirror/lang-json": "^6.0.2",
|
|
163
|
-
"@codemirror/lang-markdown": "^6.5.
|
|
169
|
+
"@codemirror/lang-markdown": "^6.5.2",
|
|
164
170
|
"@codemirror/lang-python": "^6.2.1",
|
|
165
171
|
"@codemirror/language": "^6.12.4",
|
|
166
172
|
"@codemirror/language-data": "^6.5.2",
|
|
167
173
|
"@codemirror/lint": "^6.9.7",
|
|
168
|
-
"@codemirror/search": "^6.7.
|
|
169
|
-
"@codemirror/state": "^6.7.
|
|
174
|
+
"@codemirror/search": "^6.7.2",
|
|
175
|
+
"@codemirror/state": "^6.7.6",
|
|
170
176
|
"@codemirror/theme-one-dark": "^6.1.3",
|
|
171
|
-
"@codemirror/view": "^6.43.
|
|
177
|
+
"@codemirror/view": "^6.43.13",
|
|
172
178
|
"@lezer/highlight": "^1.2.3",
|
|
173
179
|
"@tailwindcss/vite": "^4.3.3",
|
|
174
|
-
"@tanstack/charts": "0.
|
|
175
|
-
"@tanstack/history": "^1.162.
|
|
176
|
-
"@tanstack/react-charts": "^0.
|
|
180
|
+
"@tanstack/charts": "0.18.0",
|
|
181
|
+
"@tanstack/history": "^1.162.4",
|
|
182
|
+
"@tanstack/react-charts": "^0.18.0",
|
|
177
183
|
"@tanstack/react-table": "^9.2.4",
|
|
178
|
-
"@tanstack/router-core": "^1.171.
|
|
184
|
+
"@tanstack/router-core": "^1.171.32",
|
|
179
185
|
"@tanstack/table-core": "^9.2.4",
|
|
180
|
-
"@tiptap/core": "^3.
|
|
181
|
-
"@tiptap/extension-color": "^3.
|
|
182
|
-
"@tiptap/extension-font-family": "^3.
|
|
183
|
-
"@tiptap/extension-highlight": "^3.
|
|
184
|
-
"@tiptap/extension-image": "^3.
|
|
185
|
-
"@tiptap/extension-link": "^3.
|
|
186
|
-
"@tiptap/extension-placeholder": "^3.
|
|
187
|
-
"@tiptap/extension-subscript": "^3.
|
|
188
|
-
"@tiptap/extension-superscript": "^3.
|
|
189
|
-
"@tiptap/extension-table": "^3.
|
|
190
|
-
"@tiptap/extension-table-cell": "^3.
|
|
191
|
-
"@tiptap/extension-table-header": "^3.
|
|
192
|
-
"@tiptap/extension-table-row": "^3.
|
|
193
|
-
"@tiptap/extension-task-item": "^3.
|
|
194
|
-
"@tiptap/extension-task-list": "^3.
|
|
195
|
-
"@tiptap/extension-text-align": "^3.
|
|
196
|
-
"@tiptap/extension-text-style": "^3.
|
|
197
|
-
"@tiptap/extension-typography": "^3.
|
|
198
|
-
"@tiptap/extension-underline": "^3.
|
|
199
|
-
"@tiptap/pm": "^3.
|
|
200
|
-
"@tiptap/react": "^3.
|
|
201
|
-
"@tiptap/starter-kit": "^3.
|
|
186
|
+
"@tiptap/core": "^3.31.3",
|
|
187
|
+
"@tiptap/extension-color": "^3.31.3",
|
|
188
|
+
"@tiptap/extension-font-family": "^3.31.3",
|
|
189
|
+
"@tiptap/extension-highlight": "^3.31.3",
|
|
190
|
+
"@tiptap/extension-image": "^3.31.3",
|
|
191
|
+
"@tiptap/extension-link": "^3.31.3",
|
|
192
|
+
"@tiptap/extension-placeholder": "^3.31.3",
|
|
193
|
+
"@tiptap/extension-subscript": "^3.31.3",
|
|
194
|
+
"@tiptap/extension-superscript": "^3.31.3",
|
|
195
|
+
"@tiptap/extension-table": "^3.31.3",
|
|
196
|
+
"@tiptap/extension-table-cell": "^3.31.3",
|
|
197
|
+
"@tiptap/extension-table-header": "^3.31.3",
|
|
198
|
+
"@tiptap/extension-table-row": "^3.31.3",
|
|
199
|
+
"@tiptap/extension-task-item": "^3.31.3",
|
|
200
|
+
"@tiptap/extension-task-list": "^3.31.3",
|
|
201
|
+
"@tiptap/extension-text-align": "^3.31.3",
|
|
202
|
+
"@tiptap/extension-text-style": "^3.31.3",
|
|
203
|
+
"@tiptap/extension-typography": "^3.31.3",
|
|
204
|
+
"@tiptap/extension-underline": "^3.31.3",
|
|
205
|
+
"@tiptap/pm": "^3.31.3",
|
|
206
|
+
"@tiptap/react": "^3.31.3",
|
|
207
|
+
"@tiptap/starter-kit": "^3.31.3",
|
|
202
208
|
"@types/hast": "^3.0.5",
|
|
203
209
|
"@types/mdast": "^4.0.4",
|
|
204
|
-
"fflate": "^0.8.
|
|
205
|
-
"katex": "^0.
|
|
210
|
+
"fflate": "^0.8.3",
|
|
211
|
+
"katex": "^0.18.7",
|
|
206
212
|
"markmap-lib": "^0.18.12",
|
|
207
213
|
"markmap-view": "^0.18.12",
|
|
208
|
-
"mermaid": "^
|
|
209
|
-
"pixi.js": "^8.
|
|
214
|
+
"mermaid": "^12.0.0",
|
|
215
|
+
"pixi.js": "^8.21.0",
|
|
210
216
|
"react-markdown": "^10.1.0",
|
|
211
217
|
"react-syntax-highlighter": "^16.1.1",
|
|
212
218
|
"rehype-katex": "^7.0.1",
|
|
@@ -215,7 +221,7 @@
|
|
|
215
221
|
"remark-emoji": "^5.0.2",
|
|
216
222
|
"remark-gfm": "^4.0.1",
|
|
217
223
|
"remark-math": "^6.0.0",
|
|
218
|
-
"three": "^0.
|
|
224
|
+
"three": "^0.186.0",
|
|
219
225
|
"topojson-client": "^3.1.0",
|
|
220
226
|
"unified": "^11.0.5",
|
|
221
227
|
"unist-util-visit": "^5.1.0",
|