@lattice-php/lattice 0.28.0 → 0.29.0
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/core/api.d.ts +5 -0
- package/dist/core/api.js +5 -1
- package/dist/core/api.js.map +1 -1
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.js +2 -2
- package/dist/core/upload.d.ts +25 -0
- package/dist/core/upload.js +48 -0
- package/dist/core/upload.js.map +1 -0
- package/dist/form/components/fields/file-upload.js +31 -44
- package/dist/form/components/fields/file-upload.js.map +1 -1
- package/dist-standalone/lattice.js +2 -2
- package/dist-standalone/manifest.json +2 -2
- package/package.json +113 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.29.0",
|
|
3
3
|
"files": {
|
|
4
|
-
"lattice.js": "
|
|
4
|
+
"lattice.js": "6562d72239e5",
|
|
5
5
|
"chunks/chart-view-CpYsLvzR.js": "0559db48b797",
|
|
6
6
|
"chunks/date-picker-field-lX8N40Ii.js": "6506021755df",
|
|
7
7
|
"chunks/dist-PaT1gYi_.js": "4da471d00496",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lattice-php/lattice",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.0",
|
|
4
4
|
"description": "Server-driven React components for Laravel and Inertia.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Manuel Christlieb <manuel@christlieb.eu>",
|
|
@@ -35,6 +35,10 @@
|
|
|
35
35
|
"types": "./dist/action/index.d.ts",
|
|
36
36
|
"import": "./dist/action/index.js"
|
|
37
37
|
},
|
|
38
|
+
"./action/lib/run-action": {
|
|
39
|
+
"types": "./dist/action/lib/run-action.d.ts",
|
|
40
|
+
"import": "./dist/action/lib/run-action.js"
|
|
41
|
+
},
|
|
38
42
|
"./appearance": {
|
|
39
43
|
"types": "./dist/appearance/index.d.ts",
|
|
40
44
|
"import": "./dist/appearance/index.js"
|
|
@@ -47,10 +51,30 @@
|
|
|
47
51
|
"types": "./dist/core/index.d.ts",
|
|
48
52
|
"import": "./dist/core/index.js"
|
|
49
53
|
},
|
|
54
|
+
"./core/api": {
|
|
55
|
+
"types": "./dist/core/api.d.ts",
|
|
56
|
+
"import": "./dist/core/api.js"
|
|
57
|
+
},
|
|
58
|
+
"./core/headers": {
|
|
59
|
+
"types": "./dist/core/headers.d.ts",
|
|
60
|
+
"import": "./dist/core/headers.js"
|
|
61
|
+
},
|
|
62
|
+
"./core/types": {
|
|
63
|
+
"types": "./dist/core/types.d.ts",
|
|
64
|
+
"import": "./dist/core/types.js"
|
|
65
|
+
},
|
|
66
|
+
"./core/upload": {
|
|
67
|
+
"types": "./dist/core/upload.d.ts",
|
|
68
|
+
"import": "./dist/core/upload.js"
|
|
69
|
+
},
|
|
50
70
|
"./dnd": {
|
|
51
71
|
"types": "./dist/dnd/index.d.ts",
|
|
52
72
|
"import": "./dist/dnd/index.js"
|
|
53
73
|
},
|
|
74
|
+
"./effects/use-effect-dispatcher": {
|
|
75
|
+
"types": "./dist/effects/use-effect-dispatcher.d.ts",
|
|
76
|
+
"import": "./dist/effects/use-effect-dispatcher.js"
|
|
77
|
+
},
|
|
54
78
|
"./form": {
|
|
55
79
|
"types": "./dist/form/index.d.ts",
|
|
56
80
|
"import": "./dist/form/index.js"
|
|
@@ -67,6 +91,26 @@
|
|
|
67
91
|
"types": "./dist/form/rich-editor/index.d.ts",
|
|
68
92
|
"import": "./dist/form/rich-editor/index.js"
|
|
69
93
|
},
|
|
94
|
+
"./form/components/fields/simple-field": {
|
|
95
|
+
"types": "./dist/form/components/fields/simple-field.d.ts",
|
|
96
|
+
"import": "./dist/form/components/fields/simple-field.js"
|
|
97
|
+
},
|
|
98
|
+
"./form/hooks/context": {
|
|
99
|
+
"types": "./dist/form/hooks/context.d.ts",
|
|
100
|
+
"import": "./dist/form/hooks/context.js"
|
|
101
|
+
},
|
|
102
|
+
"./form/hooks/values": {
|
|
103
|
+
"types": "./dist/form/hooks/values.d.ts",
|
|
104
|
+
"import": "./dist/form/hooks/values.js"
|
|
105
|
+
},
|
|
106
|
+
"./format/date-time": {
|
|
107
|
+
"types": "./dist/format/date-time.d.ts",
|
|
108
|
+
"import": "./dist/format/date-time.js"
|
|
109
|
+
},
|
|
110
|
+
"./format/format-context": {
|
|
111
|
+
"types": "./dist/format/format-context.d.ts",
|
|
112
|
+
"import": "./dist/format/format-context.js"
|
|
113
|
+
},
|
|
70
114
|
"./i18n": {
|
|
71
115
|
"types": "./dist/i18n/index.d.ts",
|
|
72
116
|
"import": "./dist/i18n/index.js"
|
|
@@ -83,6 +127,14 @@
|
|
|
83
127
|
"types": "./dist/layout/index.d.ts",
|
|
84
128
|
"import": "./dist/layout/index.js"
|
|
85
129
|
},
|
|
130
|
+
"./lib/use-debounced-callback": {
|
|
131
|
+
"types": "./dist/lib/use-debounced-callback.d.ts",
|
|
132
|
+
"import": "./dist/lib/use-debounced-callback.js"
|
|
133
|
+
},
|
|
134
|
+
"./lib/utils": {
|
|
135
|
+
"types": "./dist/lib/utils.d.ts",
|
|
136
|
+
"import": "./dist/lib/utils.js"
|
|
137
|
+
},
|
|
86
138
|
"./notifications": {
|
|
87
139
|
"types": "./dist/notifications/index.d.ts",
|
|
88
140
|
"import": "./dist/notifications/index.js"
|
|
@@ -107,6 +159,22 @@
|
|
|
107
159
|
"types": "./dist/table/index.d.ts",
|
|
108
160
|
"import": "./dist/table/index.js"
|
|
109
161
|
},
|
|
162
|
+
"./table/hooks/use-table": {
|
|
163
|
+
"types": "./dist/table/hooks/use-table.d.ts",
|
|
164
|
+
"import": "./dist/table/hooks/use-table.js"
|
|
165
|
+
},
|
|
166
|
+
"./table/hooks/use-table-selection": {
|
|
167
|
+
"types": "./dist/table/hooks/use-table-selection.d.ts",
|
|
168
|
+
"import": "./dist/table/hooks/use-table-selection.js"
|
|
169
|
+
},
|
|
170
|
+
"./table/lib/bulk": {
|
|
171
|
+
"types": "./dist/table/lib/bulk.d.ts",
|
|
172
|
+
"import": "./dist/table/lib/bulk.js"
|
|
173
|
+
},
|
|
174
|
+
"./table/types": {
|
|
175
|
+
"types": "./dist/table/types.d.ts",
|
|
176
|
+
"import": "./dist/table/types.js"
|
|
177
|
+
},
|
|
110
178
|
"./toast": {
|
|
111
179
|
"types": "./dist/toast/index.d.ts",
|
|
112
180
|
"import": "./dist/toast/index.js"
|
|
@@ -114,10 +182,49 @@
|
|
|
114
182
|
"./types": {
|
|
115
183
|
"types": "./dist/types/index.d.ts"
|
|
116
184
|
},
|
|
185
|
+
"./types/generated": {
|
|
186
|
+
"types": "./dist/types/generated.d.ts"
|
|
187
|
+
},
|
|
117
188
|
"./ui": {
|
|
118
189
|
"types": "./dist/ui/index.d.ts",
|
|
119
190
|
"import": "./dist/ui/index.js"
|
|
120
191
|
},
|
|
192
|
+
"./ui/button": {
|
|
193
|
+
"types": "./dist/ui/button.d.ts",
|
|
194
|
+
"import": "./dist/ui/button.js"
|
|
195
|
+
},
|
|
196
|
+
"./ui/checkbox": {
|
|
197
|
+
"types": "./dist/ui/checkbox.d.ts",
|
|
198
|
+
"import": "./dist/ui/checkbox.js"
|
|
199
|
+
},
|
|
200
|
+
"./ui/confirm-dialog": {
|
|
201
|
+
"types": "./dist/ui/confirm-dialog.d.ts",
|
|
202
|
+
"import": "./dist/ui/confirm-dialog.js"
|
|
203
|
+
},
|
|
204
|
+
"./ui/dialog": {
|
|
205
|
+
"types": "./dist/ui/dialog.d.ts",
|
|
206
|
+
"import": "./dist/ui/dialog.js"
|
|
207
|
+
},
|
|
208
|
+
"./ui/icon-button": {
|
|
209
|
+
"types": "./dist/ui/icon-button.d.ts",
|
|
210
|
+
"import": "./dist/ui/icon-button.js"
|
|
211
|
+
},
|
|
212
|
+
"./ui/image-preview": {
|
|
213
|
+
"types": "./dist/ui/image-preview.d.ts",
|
|
214
|
+
"import": "./dist/ui/image-preview.js"
|
|
215
|
+
},
|
|
216
|
+
"./ui/input": {
|
|
217
|
+
"types": "./dist/ui/input.d.ts",
|
|
218
|
+
"import": "./dist/ui/input.js"
|
|
219
|
+
},
|
|
220
|
+
"./ui/label": {
|
|
221
|
+
"types": "./dist/ui/label.d.ts",
|
|
222
|
+
"import": "./dist/ui/label.js"
|
|
223
|
+
},
|
|
224
|
+
"./ui/native-select": {
|
|
225
|
+
"types": "./dist/ui/native-select.d.ts",
|
|
226
|
+
"import": "./dist/ui/native-select.js"
|
|
227
|
+
},
|
|
121
228
|
"./svg-sprite-client": {
|
|
122
229
|
"types": "./dist/svg-sprite-client.d.ts"
|
|
123
230
|
},
|
|
@@ -158,11 +265,11 @@
|
|
|
158
265
|
"fix": "npm run lint:fix && npm run format",
|
|
159
266
|
"docs:typecheck": "tsc --noEmit -p docs/tsconfig.json",
|
|
160
267
|
"docs:test": "vitest run --project jsdom docs",
|
|
161
|
-
"lint": "oxlint resources/js workbench/resources/js",
|
|
162
|
-
"lint:fix": "oxlint resources/js workbench/resources/js --fix",
|
|
163
|
-
"lint:github": "oxlint resources/js workbench/resources/js --format=github",
|
|
164
|
-
"format": "oxfmt --write \"resources/js/**/*.{ts,tsx}\" \"workbench/resources/js/**/*.{ts,tsx}\" \"docs/**/*.{ts,tsx,md,mdx}\"",
|
|
165
|
-
"format:check": "oxfmt --check \"resources/js/**/*.{ts,tsx}\" \"workbench/resources/js/**/*.{ts,tsx}\" \"docs/**/*.{ts,tsx,md,mdx}\"",
|
|
268
|
+
"lint": "oxlint resources/js workbench/resources/js packages/*/resources/js",
|
|
269
|
+
"lint:fix": "oxlint resources/js workbench/resources/js packages/*/resources/js --fix",
|
|
270
|
+
"lint:github": "oxlint resources/js workbench/resources/js packages/*/resources/js --format=github",
|
|
271
|
+
"format": "oxfmt --write \"resources/js/**/*.{ts,tsx}\" \"workbench/resources/js/**/*.{ts,tsx}\" \"packages/*/resources/js/**/*.{ts,tsx}\" \"docs/**/*.{ts,tsx,md,mdx}\"",
|
|
272
|
+
"format:check": "oxfmt --check \"resources/js/**/*.{ts,tsx}\" \"workbench/resources/js/**/*.{ts,tsx}\" \"packages/*/resources/js/**/*.{ts,tsx}\" \"docs/**/*.{ts,tsx,md,mdx}\"",
|
|
166
273
|
"analyze": "SONDA=1 vite build && mkdir -p docs/public && cp docs/generated/bundle-report.html docs/public/bundle-report.html",
|
|
167
274
|
"docs:dev": "npm run analyze && astro dev",
|
|
168
275
|
"docs:build": "npm run analyze && astro build",
|