@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.
Files changed (36) hide show
  1. package/dist/alert-dialog/index.mjs +4 -4
  2. package/dist/avatar/index.d.mts +2 -2
  3. package/dist/avatar/index.d.ts +2 -2
  4. package/dist/avatar/index.mjs +3 -3
  5. package/dist/button/index.mjs +1 -1
  6. package/dist/carousel/index.mjs +3 -3
  7. package/dist/{chunk-HEKSVWYW.mjs → chunk-2YM6GKWW.mjs} +2 -1
  8. package/dist/{chunk-XYK6V3JF.mjs → chunk-DCXWGQVZ.mjs} +2 -2
  9. package/dist/{chunk-D7YBYT5H.mjs → chunk-GPJMLIHC.mjs} +2 -2
  10. package/dist/{chunk-2BSBKLHG.mjs → chunk-WLI4EPS6.mjs} +2 -2
  11. package/dist/combobox/index.mjs +6 -6
  12. package/dist/dialog/index.mjs +4 -4
  13. package/dist/docgen.json +13 -2
  14. package/dist/drawer/index.mjs +3 -3
  15. package/dist/dropdown/index.mjs +4 -4
  16. package/dist/file-upload/index.d.mts +1 -1
  17. package/dist/file-upload/index.d.ts +1 -1
  18. package/dist/file-upload/index.js +52 -24
  19. package/dist/file-upload/index.js.map +1 -1
  20. package/dist/file-upload/index.mjs +59 -30
  21. package/dist/file-upload/index.mjs.map +1 -1
  22. package/dist/icon-button/index.mjs +2 -2
  23. package/dist/pagination/index.mjs +5 -5
  24. package/dist/popover/index.mjs +4 -4
  25. package/dist/scrolling-list/index.mjs +5 -5
  26. package/dist/snackbar/index.mjs +5 -5
  27. package/dist/stepper/index.mjs +3 -3
  28. package/dist/tabs/index.mjs +4 -4
  29. package/dist/toast/index.d.mts +6 -6
  30. package/dist/toast/index.d.ts +6 -6
  31. package/dist/toast/index.mjs +5 -5
  32. package/package.json +5 -5
  33. /package/dist/{chunk-HEKSVWYW.mjs.map → chunk-2YM6GKWW.mjs.map} +0 -0
  34. /package/dist/{chunk-XYK6V3JF.mjs.map → chunk-DCXWGQVZ.mjs.map} +0 -0
  35. /package/dist/{chunk-D7YBYT5H.mjs.map → chunk-GPJMLIHC.mjs.map} +0 -0
  36. /package/dist/{chunk-2BSBKLHG.mjs.map → chunk-WLI4EPS6.mjs.map} +0 -0
@@ -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 React from 'react';
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?: React.ReactNode;
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 React.ComponentProps<typeof Toast.Provider> {
45
- children: React.ReactNode;
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 React.ComponentPropsWithRef<'button'>, Pick<ToastObject, 'priority'>, Pick<ToastData, 'design' | 'intent' | 'icon' | 'isClosable' | 'action' | 'compact'> {
49
- children: React.ReactNode;
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;
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  IconButton
3
- } from "../chunk-XYK6V3JF.mjs";
4
- import {
5
- Icon
6
- } from "../chunk-UMUMFMFB.mjs";
3
+ } from "../chunk-DCXWGQVZ.mjs";
7
4
  import {
8
5
  Button
9
- } from "../chunk-HEKSVWYW.mjs";
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.0",
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.0",
57
- "@spark-ui/icons": "^11.5.0",
58
- "@spark-ui/internal-utils": "^11.5.0",
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": "8549e8013217bfa52be5d13fc580535f1ce93743"
85
+ "gitHead": "cffeda076375aa6cfa476a033383972415718383"
86
86
  }