@inkra/react 0.8.0 → 0.9.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/README.md +89 -0
- package/dist/PencilIcon.d.ts +14 -1
- package/dist/PencilIcon.js +88 -52
- package/dist/guide/index.d.ts +77 -0
- package/dist/guide/index.js +379 -0
- package/dist/i18n/catalog.d.ts +1 -1
- package/dist/i18n/catalog.js +6 -0
- package/dist/image-viewer/index.d.ts +2 -0
- package/dist/image-viewer/index.js +28 -28
- package/dist/index.d.ts +4 -0
- package/dist/index.js +4 -0
- package/dist/infinite-scroll/gesture.d.ts +19 -0
- package/dist/infinite-scroll/gesture.js +218 -0
- package/dist/infinite-scroll/index.d.ts +55 -0
- package/dist/infinite-scroll/index.js +543 -0
- package/dist/infinite-scroll/model.d.ts +33 -0
- package/dist/infinite-scroll/model.js +168 -0
- package/dist/internal/iconFill.d.ts +16 -0
- package/dist/internal/iconFill.js +275 -0
- package/dist/inventory-grid/index.js +13 -3
- package/dist/inventory-grid/outline.d.ts +9 -0
- package/dist/inventory-grid/outline.js +54 -0
- package/dist/loading/index.d.ts +58 -0
- package/dist/loading/index.js +188 -0
- package/dist/loading/locales.d.ts +15 -0
- package/dist/loading/locales.js +34 -0
- package/dist/loading/model.d.ts +6 -0
- package/dist/loading/model.js +29 -0
- package/dist/masonry/index.d.ts +25 -0
- package/dist/masonry/index.js +227 -0
- package/dist/masonry/layout.d.ts +35 -0
- package/dist/masonry/layout.js +67 -0
- package/dist/number-ticker/RollingValue.d.ts +6 -0
- package/dist/number-ticker/RollingValue.js +10 -0
- package/dist/number-ticker/index.d.ts +4 -0
- package/dist/number-ticker/index.js +55 -7
- package/dist/number-ticker/rolling.d.ts +35 -0
- package/dist/number-ticker/rolling.js +87 -0
- package/dist/styles/guide.css +202 -0
- package/dist/styles/image-viewer.css +20 -0
- package/dist/styles/infinite-scroll.css +171 -0
- package/dist/styles/inventory-grid.css +20 -8
- package/dist/styles/loading.css +348 -0
- package/dist/styles/masonry.css +68 -0
- package/dist/styles/number-ticker.css +46 -0
- package/dist/styles.css +879 -8
- package/dist/toast/manager.d.ts +4 -4
- package/package.json +26 -1
package/dist/toast/manager.d.ts
CHANGED
|
@@ -25,11 +25,11 @@ export interface ToastManager<Data extends object = any> {
|
|
|
25
25
|
promise: <Value, T extends Data = Data>(value: Promise<Value>, options: ToastPromiseOptions<Value, T>) => Promise<Value>;
|
|
26
26
|
}
|
|
27
27
|
export declare function getToastRouter(manager: ToastManager): {
|
|
28
|
-
queues: Record<"center" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "
|
|
29
|
-
controllers: Map<"center" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "
|
|
28
|
+
queues: Record<"center" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "bottom-center" | "top-center" | "center-start" | "center-end", import("@base-ui/react/toast").ToastManager<object>>;
|
|
29
|
+
controllers: Map<"center" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "bottom-center" | "top-center" | "center-start" | "center-end", import("@base-ui/react/toast").UseToastManagerReturnValue<object>>;
|
|
30
30
|
engine: (placement: ToastPlacement) => import("@base-ui/react/toast").ToastManager<object> | import("@base-ui/react/toast").UseToastManagerReturnValue<object>;
|
|
31
|
-
viewports: Map<"center" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "
|
|
32
|
-
owners: Map<string, "center" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "
|
|
31
|
+
viewports: Map<"center" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "bottom-center" | "top-center" | "center-start" | "center-end", HTMLElement>;
|
|
32
|
+
owners: Map<string, "center" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "bottom-center" | "top-center" | "center-start" | "center-end">;
|
|
33
33
|
defaults: {
|
|
34
34
|
placement: ToastPlacement;
|
|
35
35
|
variant: ToastVariant;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkra/react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "Hand-drawn React controls with native semantics and deterministic decoration.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -169,6 +169,26 @@
|
|
|
169
169
|
"import": "./dist/form/index.js",
|
|
170
170
|
"default": "./dist/form/index.js"
|
|
171
171
|
},
|
|
172
|
+
"./loading": {
|
|
173
|
+
"types": "./dist/loading/index.d.ts",
|
|
174
|
+
"import": "./dist/loading/index.js",
|
|
175
|
+
"default": "./dist/loading/index.js"
|
|
176
|
+
},
|
|
177
|
+
"./infinite-scroll": {
|
|
178
|
+
"types": "./dist/infinite-scroll/index.d.ts",
|
|
179
|
+
"import": "./dist/infinite-scroll/index.js",
|
|
180
|
+
"default": "./dist/infinite-scroll/index.js"
|
|
181
|
+
},
|
|
182
|
+
"./masonry": {
|
|
183
|
+
"types": "./dist/masonry/index.d.ts",
|
|
184
|
+
"import": "./dist/masonry/index.js",
|
|
185
|
+
"default": "./dist/masonry/index.js"
|
|
186
|
+
},
|
|
187
|
+
"./guide": {
|
|
188
|
+
"types": "./dist/guide/index.d.ts",
|
|
189
|
+
"import": "./dist/guide/index.js",
|
|
190
|
+
"default": "./dist/guide/index.js"
|
|
191
|
+
},
|
|
172
192
|
"./heatmap": {
|
|
173
193
|
"types": "./dist/heatmap/index.d.ts",
|
|
174
194
|
"import": "./dist/heatmap/index.js",
|
|
@@ -423,6 +443,10 @@
|
|
|
423
443
|
"./styles/empty.css": "./dist/styles/empty.css",
|
|
424
444
|
"./styles/flip.css": "./dist/styles/flip.css",
|
|
425
445
|
"./styles/form.css": "./dist/styles/form.css",
|
|
446
|
+
"./styles/guide.css": "./dist/styles/guide.css",
|
|
447
|
+
"./styles/loading.css": "./dist/styles/loading.css",
|
|
448
|
+
"./styles/infinite-scroll.css": "./dist/styles/infinite-scroll.css",
|
|
449
|
+
"./styles/masonry.css": "./dist/styles/masonry.css",
|
|
426
450
|
"./styles/heatmap.css": "./dist/styles/heatmap.css",
|
|
427
451
|
"./styles/hotkey.css": "./dist/styles/hotkey.css",
|
|
428
452
|
"./styles/hover-card.css": "./dist/styles/hover-card.css",
|
|
@@ -537,6 +561,7 @@
|
|
|
537
561
|
"leaflet": "^1.9.4",
|
|
538
562
|
"lucide-react": "^1.60.0",
|
|
539
563
|
"prismjs": "^1.30.0",
|
|
564
|
+
"react-aria": "3.53.1",
|
|
540
565
|
"react-aria-components": "^1.22.1",
|
|
541
566
|
"react-day-picker": "^9.14.0",
|
|
542
567
|
"react-easy-crop": "^6.2.4",
|