@lattice-php/lattice 0.27.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/index.d.ts +1 -1
- package/dist-standalone/chunks/{subscriptions-Bt2s3IF3.js → subscriptions-B1STcwPE.js} +1 -1
- package/dist-standalone/chunks/use-effect-dispatcher-I8So0l_I.js +97 -0
- package/dist-standalone/lattice.js +5 -5
- package/dist-standalone/manifest.json +4 -4
- package/package.json +115 -12
- package/dist/clipboard/index.d.ts +0 -1
- package/dist/clipboard/index.js +0 -2
- package/dist-standalone/chunks/use-effect-dispatcher-DGFXSzA6.js +0 -97
|
@@ -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",
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"chunks/page-props-ClpVjpOc.js": "21b2c0f905aa",
|
|
12
12
|
"chunks/react-B8IZ02wI.js": "20382cff872b",
|
|
13
13
|
"chunks/rich-editor-field-C71csVJv.js": "e594f5361d1e",
|
|
14
|
-
"chunks/subscriptions-
|
|
14
|
+
"chunks/subscriptions-B1STcwPE.js": "0e6afc40f14f",
|
|
15
15
|
"chunks/test-id-Dh3L6Gfh.js": "7958de4f0270",
|
|
16
|
-
"chunks/use-effect-dispatcher-
|
|
16
|
+
"chunks/use-effect-dispatcher-I8So0l_I.js": "111b2aaad109",
|
|
17
17
|
"chunks/with-selector-BwDoCrJJ.js": "6ccd3ad62b42",
|
|
18
18
|
"sprite.svg": "f30900fb9d54"
|
|
19
19
|
}
|
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"
|
|
@@ -43,18 +47,34 @@
|
|
|
43
47
|
"types": "./dist/chat/index.d.ts",
|
|
44
48
|
"import": "./dist/chat/index.js"
|
|
45
49
|
},
|
|
46
|
-
"./clipboard": {
|
|
47
|
-
"types": "./dist/clipboard/index.d.ts",
|
|
48
|
-
"import": "./dist/clipboard/index.js"
|
|
49
|
-
},
|
|
50
50
|
"./core": {
|
|
51
51
|
"types": "./dist/core/index.d.ts",
|
|
52
52
|
"import": "./dist/core/index.js"
|
|
53
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
|
+
},
|
|
54
70
|
"./dnd": {
|
|
55
71
|
"types": "./dist/dnd/index.d.ts",
|
|
56
72
|
"import": "./dist/dnd/index.js"
|
|
57
73
|
},
|
|
74
|
+
"./effects/use-effect-dispatcher": {
|
|
75
|
+
"types": "./dist/effects/use-effect-dispatcher.d.ts",
|
|
76
|
+
"import": "./dist/effects/use-effect-dispatcher.js"
|
|
77
|
+
},
|
|
58
78
|
"./form": {
|
|
59
79
|
"types": "./dist/form/index.d.ts",
|
|
60
80
|
"import": "./dist/form/index.js"
|
|
@@ -71,6 +91,26 @@
|
|
|
71
91
|
"types": "./dist/form/rich-editor/index.d.ts",
|
|
72
92
|
"import": "./dist/form/rich-editor/index.js"
|
|
73
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
|
+
},
|
|
74
114
|
"./i18n": {
|
|
75
115
|
"types": "./dist/i18n/index.d.ts",
|
|
76
116
|
"import": "./dist/i18n/index.js"
|
|
@@ -87,6 +127,14 @@
|
|
|
87
127
|
"types": "./dist/layout/index.d.ts",
|
|
88
128
|
"import": "./dist/layout/index.js"
|
|
89
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
|
+
},
|
|
90
138
|
"./notifications": {
|
|
91
139
|
"types": "./dist/notifications/index.d.ts",
|
|
92
140
|
"import": "./dist/notifications/index.js"
|
|
@@ -111,6 +159,22 @@
|
|
|
111
159
|
"types": "./dist/table/index.d.ts",
|
|
112
160
|
"import": "./dist/table/index.js"
|
|
113
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
|
+
},
|
|
114
178
|
"./toast": {
|
|
115
179
|
"types": "./dist/toast/index.d.ts",
|
|
116
180
|
"import": "./dist/toast/index.js"
|
|
@@ -118,10 +182,49 @@
|
|
|
118
182
|
"./types": {
|
|
119
183
|
"types": "./dist/types/index.d.ts"
|
|
120
184
|
},
|
|
185
|
+
"./types/generated": {
|
|
186
|
+
"types": "./dist/types/generated.d.ts"
|
|
187
|
+
},
|
|
121
188
|
"./ui": {
|
|
122
189
|
"types": "./dist/ui/index.d.ts",
|
|
123
190
|
"import": "./dist/ui/index.js"
|
|
124
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
|
+
},
|
|
125
228
|
"./svg-sprite-client": {
|
|
126
229
|
"types": "./dist/svg-sprite-client.d.ts"
|
|
127
230
|
},
|
|
@@ -162,11 +265,11 @@
|
|
|
162
265
|
"fix": "npm run lint:fix && npm run format",
|
|
163
266
|
"docs:typecheck": "tsc --noEmit -p docs/tsconfig.json",
|
|
164
267
|
"docs:test": "vitest run --project jsdom docs",
|
|
165
|
-
"lint": "oxlint resources/js workbench/resources/js",
|
|
166
|
-
"lint:fix": "oxlint resources/js workbench/resources/js --fix",
|
|
167
|
-
"lint:github": "oxlint resources/js workbench/resources/js --format=github",
|
|
168
|
-
"format": "oxfmt --write \"resources/js/**/*.{ts,tsx}\" \"workbench/resources/js/**/*.{ts,tsx}\" \"docs/**/*.{ts,tsx,md,mdx}\"",
|
|
169
|
-
"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}\"",
|
|
170
273
|
"analyze": "SONDA=1 vite build && mkdir -p docs/public && cp docs/generated/bundle-report.html docs/public/bundle-report.html",
|
|
171
274
|
"docs:dev": "npm run analyze && astro dev",
|
|
172
275
|
"docs:build": "npm run analyze && astro build",
|
|
@@ -226,8 +329,8 @@
|
|
|
226
329
|
"@astrojs/starlight": "^0.41.3",
|
|
227
330
|
"@astrojs/starlight-tailwind": "^5.0.0",
|
|
228
331
|
"@codecov/vite-plugin": "^2.0.1",
|
|
229
|
-
"@inertiajs/react": "^3.
|
|
230
|
-
"@inertiajs/vite": "^3.
|
|
332
|
+
"@inertiajs/react": "^3.6.1",
|
|
333
|
+
"@inertiajs/vite": "^3.6.1",
|
|
231
334
|
"@laravel/echo-react": "^2.3.7",
|
|
232
335
|
"@tailwindcss/vite": "^4.1.11",
|
|
233
336
|
"@testing-library/dom": "^10.4.1",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { CopyableText, copyToClipboard } from '../ui/copyable-text.js';
|
package/dist/clipboard/index.js
DELETED