@spark-ui/components 11.5.0 → 11.5.1
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/alert-dialog/index.mjs +4 -4
- package/dist/avatar/index.d.mts +2 -2
- package/dist/avatar/index.d.ts +2 -2
- package/dist/avatar/index.mjs +3 -3
- package/dist/button/index.mjs +1 -1
- package/dist/carousel/index.mjs +3 -3
- package/dist/{chunk-HEKSVWYW.mjs → chunk-2YM6GKWW.mjs} +2 -1
- package/dist/{chunk-XYK6V3JF.mjs → chunk-DCXWGQVZ.mjs} +2 -2
- package/dist/{chunk-D7YBYT5H.mjs → chunk-GPJMLIHC.mjs} +2 -2
- package/dist/{chunk-2BSBKLHG.mjs → chunk-WLI4EPS6.mjs} +2 -2
- package/dist/combobox/index.mjs +6 -6
- package/dist/dialog/index.mjs +4 -4
- package/dist/docgen.json +13 -2
- package/dist/drawer/index.mjs +3 -3
- package/dist/dropdown/index.mjs +4 -4
- package/dist/file-upload/index.d.mts +1 -1
- package/dist/file-upload/index.d.ts +1 -1
- package/dist/file-upload/index.js +52 -24
- package/dist/file-upload/index.js.map +1 -1
- package/dist/file-upload/index.mjs +59 -30
- package/dist/file-upload/index.mjs.map +1 -1
- package/dist/icon-button/index.mjs +2 -2
- package/dist/pagination/index.mjs +5 -5
- package/dist/popover/index.mjs +4 -4
- package/dist/scrolling-list/index.mjs +5 -5
- package/dist/snackbar/index.mjs +5 -5
- package/dist/stepper/index.mjs +3 -3
- package/dist/tabs/index.mjs +4 -4
- package/dist/toast/index.d.mts +6 -6
- package/dist/toast/index.d.ts +6 -6
- package/dist/toast/index.mjs +5 -5
- package/package.json +5 -5
- /package/dist/{chunk-HEKSVWYW.mjs.map → chunk-2YM6GKWW.mjs.map} +0 -0
- /package/dist/{chunk-XYK6V3JF.mjs.map → chunk-DCXWGQVZ.mjs.map} +0 -0
- /package/dist/{chunk-D7YBYT5H.mjs.map → chunk-GPJMLIHC.mjs.map} +0 -0
- /package/dist/{chunk-2BSBKLHG.mjs.map → chunk-WLI4EPS6.mjs.map} +0 -0
package/dist/toast/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { Toast } from '@base-ui-components/react/toast';
|
|
3
|
-
import * as
|
|
3
|
+
import * as react from 'react';
|
|
4
4
|
import { ButtonProps } from '../button/index.js';
|
|
5
5
|
import 'class-variance-authority/types';
|
|
6
6
|
import 'class-variance-authority';
|
|
@@ -8,7 +8,7 @@ import 'class-variance-authority';
|
|
|
8
8
|
type ToastIntent = 'main' | 'support' | 'accent' | 'basic' | 'success' | 'alert' | 'error' | 'info' | 'neutral' | 'surface' | 'surfaceInverse';
|
|
9
9
|
type ToastDesign = 'tinted' | 'filled';
|
|
10
10
|
interface ToastData {
|
|
11
|
-
icon?:
|
|
11
|
+
icon?: react.ReactNode;
|
|
12
12
|
design?: ToastDesign;
|
|
13
13
|
intent?: ToastIntent;
|
|
14
14
|
isClosable?: boolean;
|
|
@@ -41,12 +41,12 @@ interface UseToastManagerReturnValue {
|
|
|
41
41
|
|
|
42
42
|
declare function useToastManager(): UseToastManagerReturnValue;
|
|
43
43
|
|
|
44
|
-
interface ToastProviderProps extends
|
|
45
|
-
children:
|
|
44
|
+
interface ToastProviderProps extends react.ComponentProps<typeof Toast.Provider> {
|
|
45
|
+
children: react.ReactNode;
|
|
46
46
|
}
|
|
47
47
|
declare function ToastProvider({ children, limit, ...props }: ToastProviderProps): react_jsx_runtime.JSX.Element;
|
|
48
|
-
interface ToastTriggerProps extends
|
|
49
|
-
children:
|
|
48
|
+
interface ToastTriggerProps extends react.ComponentPropsWithRef<'button'>, Pick<ToastObject, 'priority'>, Pick<ToastData, 'design' | 'intent' | 'icon' | 'isClosable' | 'action' | 'compact'> {
|
|
49
|
+
children: react.ReactNode;
|
|
50
50
|
asChild?: boolean;
|
|
51
51
|
title: string;
|
|
52
52
|
description?: string;
|
package/dist/toast/index.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
IconButton
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import {
|
|
5
|
-
Icon
|
|
6
|
-
} from "../chunk-UMUMFMFB.mjs";
|
|
3
|
+
} from "../chunk-DCXWGQVZ.mjs";
|
|
7
4
|
import {
|
|
8
5
|
Button
|
|
9
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-2YM6GKWW.mjs";
|
|
10
7
|
import "../chunk-GAK4SC2F.mjs";
|
|
8
|
+
import {
|
|
9
|
+
Icon
|
|
10
|
+
} from "../chunk-UMUMFMFB.mjs";
|
|
11
11
|
import "../chunk-KEGAAGJW.mjs";
|
|
12
12
|
import {
|
|
13
13
|
Slot
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spark-ui/components",
|
|
3
|
-
"version": "11.5.
|
|
3
|
+
"version": "11.5.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Spark (Leboncoin design system) components.",
|
|
6
6
|
"exports": {
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
"@react-aria/toast": "^3.0.0-beta.18",
|
|
54
54
|
"@react-stately/numberfield": "3.9.11",
|
|
55
55
|
"@react-stately/toast": "^3.0.0-beta.7",
|
|
56
|
-
"@spark-ui/hooks": "^11.5.
|
|
57
|
-
"@spark-ui/icons": "^11.5.
|
|
58
|
-
"@spark-ui/internal-utils": "^11.5.
|
|
56
|
+
"@spark-ui/hooks": "^11.5.1",
|
|
57
|
+
"@spark-ui/icons": "^11.5.1",
|
|
58
|
+
"@spark-ui/internal-utils": "^11.5.1",
|
|
59
59
|
"@zag-js/pagination": "1.28.0",
|
|
60
60
|
"@zag-js/react": "1.28.0",
|
|
61
61
|
"class-variance-authority": "0.7.1",
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"url": "https://github.com/leboncoin/spark-web/issues?q=is%3Aopen+label%3A%22Component%3A+button%22"
|
|
83
83
|
},
|
|
84
84
|
"homepage": "https://sparkui.vercel.app",
|
|
85
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "cffeda076375aa6cfa476a033383972415718383"
|
|
86
86
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|