@incognia/cosmik 0.40.2 → 0.41.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 +19 -7
- package/dist/Alert/index.d.ts +2 -2
- package/dist/Alert/index.d.ts.map +1 -1
- package/dist/AlertDialog/index.d.ts +5 -5
- package/dist/AlertDialog/index.d.ts.map +1 -1
- package/dist/Badge/index.d.ts +6 -7
- package/dist/Badge/index.d.ts.map +1 -1
- package/dist/Button/index.d.ts +6 -6
- package/dist/Button/index.d.ts.map +1 -1
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Colors.d.ts +71 -0
- package/dist/Colors.d.ts.map +1 -0
- package/dist/Command/index.d.ts +20 -20
- package/dist/Command/index.d.ts.map +1 -1
- package/dist/Dialog/index.d.ts +2 -2
- package/dist/Dialog/index.d.ts.map +1 -1
- package/dist/DropdownMenu/index.d.ts +4 -4
- package/dist/DropdownMenu/index.d.ts.map +1 -1
- package/dist/Filter/index.d.ts +4 -2
- package/dist/Filter/index.d.ts.map +1 -1
- package/dist/FilterBar/GradientScroll.d.ts +4 -4
- package/dist/FilterBar/index.d.ts +2 -2
- package/dist/Label/index.d.ts +2 -2
- package/dist/Layout/index.d.ts +1 -1
- package/dist/Layout/index.d.ts.map +1 -1
- package/dist/Pagination/index.d.ts +3 -3
- package/dist/Pagination/index.d.ts.map +1 -1
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.d.ts.map +1 -1
- package/dist/Select/index.d.ts +1 -1
- package/dist/Select/index.d.ts.map +1 -1
- package/dist/Sheet/index.d.ts +23 -13
- package/dist/Sheet/index.d.ts.map +1 -1
- package/dist/Skeleton/index.d.ts +1 -0
- package/dist/Skeleton/index.d.ts.map +1 -1
- package/dist/Sonner/index.d.ts +1 -0
- package/dist/Sonner/index.d.ts.map +1 -1
- package/dist/Table/index.d.ts +2 -2
- package/dist/Table/index.d.ts.map +1 -1
- package/dist/Tabs/index.d.ts +1 -1
- package/dist/Tabs/index.d.ts.map +1 -1
- package/dist/TagInput/index.d.ts +2 -2
- package/dist/TagInput/index.d.ts.map +1 -1
- package/dist/Toggle/index.d.ts +3 -3
- package/dist/ToggleGroup/index.d.ts +13 -4
- package/dist/ToggleGroup/index.d.ts.map +1 -1
- package/dist/Tooltip/index.d.ts +11 -7
- package/dist/Tooltip/index.d.ts.map +1 -1
- package/dist/cosmik.css +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +178 -173
- package/dist/index.js.map +1 -1
- package/dist/index10.cjs +1 -1
- package/dist/index10.cjs.map +1 -1
- package/dist/index10.js +34 -127
- package/dist/index10.js.map +1 -1
- package/dist/index11.cjs +1 -1
- package/dist/index11.cjs.map +1 -1
- package/dist/index11.js +28 -105
- package/dist/index11.js.map +1 -1
- package/dist/index12.cjs +1 -1
- package/dist/index12.cjs.map +1 -1
- package/dist/index12.js +112 -112
- package/dist/index12.js.map +1 -1
- package/dist/index13.cjs +1 -1
- package/dist/index13.cjs.map +1 -1
- package/dist/index13.js +103 -96
- package/dist/index13.js.map +1 -1
- package/dist/index14.cjs +1 -1
- package/dist/index14.cjs.map +1 -1
- package/dist/index14.js +141 -22
- package/dist/index14.js.map +1 -1
- package/dist/index15.cjs +1 -1
- package/dist/index15.cjs.map +1 -1
- package/dist/index15.js +105 -22
- package/dist/index15.js.map +1 -1
- package/dist/index16.cjs +1 -1
- package/dist/index16.cjs.map +1 -1
- package/dist/index16.js +22 -17
- package/dist/index16.js.map +1 -1
- package/dist/index17.cjs +1 -1
- package/dist/index17.cjs.map +1 -1
- package/dist/index17.js +22 -58
- package/dist/index17.js.map +1 -1
- package/dist/index18.cjs +1 -1
- package/dist/index18.cjs.map +1 -1
- package/dist/index18.js +17 -20
- package/dist/index18.js.map +1 -1
- package/dist/index19.cjs +1 -1
- package/dist/index19.cjs.map +1 -1
- package/dist/index19.js +64 -96
- package/dist/index19.js.map +1 -1
- package/dist/index2.cjs +2 -0
- package/dist/index2.cjs.map +1 -0
- package/dist/index2.js +5 -0
- package/dist/index2.js.map +1 -0
- package/dist/index20.cjs +1 -1
- package/dist/index20.cjs.map +1 -1
- package/dist/index20.js +20 -22
- package/dist/index20.js.map +1 -1
- package/dist/index21.cjs +1 -1
- package/dist/index21.cjs.map +1 -1
- package/dist/index21.js +93 -21
- package/dist/index21.js.map +1 -1
- package/dist/index22.cjs +1 -1
- package/dist/index22.cjs.map +1 -1
- package/dist/index22.js +19 -27
- package/dist/index22.js.map +1 -1
- package/dist/index23.cjs +1 -1
- package/dist/index23.cjs.map +1 -1
- package/dist/index23.js +19 -126
- package/dist/index23.js.map +1 -1
- package/dist/index24.cjs +1 -1
- package/dist/index24.cjs.map +1 -1
- package/dist/index24.js +30 -23
- package/dist/index24.js.map +1 -1
- package/dist/index25.cjs +1 -1
- package/dist/index25.cjs.map +1 -1
- package/dist/index25.js +130 -128
- package/dist/index25.js.map +1 -1
- package/dist/index26.cjs +1 -1
- package/dist/index26.cjs.map +1 -1
- package/dist/index26.js +21 -13
- package/dist/index26.js.map +1 -1
- package/dist/index27.cjs +1 -1
- package/dist/index27.cjs.map +1 -1
- package/dist/index27.js +103 -28
- package/dist/index27.js.map +1 -1
- package/dist/index28.cjs +1 -1
- package/dist/index28.cjs.map +1 -1
- package/dist/index28.js +15 -27
- package/dist/index28.js.map +1 -1
- package/dist/index29.cjs +1 -1
- package/dist/index29.cjs.map +1 -1
- package/dist/index29.js +30 -108
- package/dist/index29.js.map +1 -1
- package/dist/index3.cjs +1 -1
- package/dist/index3.cjs.map +1 -1
- package/dist/index3.js +70 -54
- package/dist/index3.js.map +1 -1
- package/dist/index30.cjs +1 -1
- package/dist/index30.cjs.map +1 -1
- package/dist/index30.js +23 -38
- package/dist/index30.js.map +1 -1
- package/dist/index31.cjs +1 -1
- package/dist/index31.cjs.map +1 -1
- package/dist/index31.js +102 -73
- package/dist/index31.js.map +1 -1
- package/dist/index32.cjs +1 -1
- package/dist/index32.cjs.map +1 -1
- package/dist/index32.js +42 -23
- package/dist/index32.js.map +1 -1
- package/dist/index33.cjs +1 -1
- package/dist/index33.cjs.map +1 -1
- package/dist/index33.js +78 -78
- package/dist/index33.js.map +1 -1
- package/dist/index34.cjs +1 -1
- package/dist/index34.cjs.map +1 -1
- package/dist/index34.js +20 -67
- package/dist/index34.js.map +1 -1
- package/dist/index35.cjs +1 -1
- package/dist/index35.cjs.map +1 -1
- package/dist/index35.js +75 -55
- package/dist/index35.js.map +1 -1
- package/dist/index36.cjs +1 -1
- package/dist/index36.cjs.map +1 -1
- package/dist/index36.js +36 -58
- package/dist/index36.js.map +1 -1
- package/dist/index37.cjs +1 -1
- package/dist/index37.cjs.map +1 -1
- package/dist/index37.js +33 -3
- package/dist/index37.js.map +1 -1
- package/dist/index38.cjs +1 -1
- package/dist/index38.cjs.map +1 -1
- package/dist/index38.js +65 -33
- package/dist/index38.js.map +1 -1
- package/dist/index39.cjs +1 -1
- package/dist/index39.cjs.map +1 -1
- package/dist/index39.js +261 -11
- package/dist/index39.js.map +1 -1
- package/dist/index4.cjs +1 -1
- package/dist/index4.cjs.map +1 -1
- package/dist/index4.js +324 -112
- package/dist/index4.js.map +1 -1
- package/dist/index40.cjs +1 -1
- package/dist/index40.cjs.map +1 -1
- package/dist/index40.js +6 -118
- package/dist/index40.js.map +1 -1
- package/dist/index41.cjs +1 -1
- package/dist/index41.cjs.map +1 -1
- package/dist/index41.js +12 -13
- package/dist/index41.js.map +1 -1
- package/dist/index42.cjs +1 -1
- package/dist/index42.cjs.map +1 -1
- package/dist/index42.js +118 -7
- package/dist/index42.js.map +1 -1
- package/dist/index43.cjs +1 -1
- package/dist/index43.cjs.map +1 -1
- package/dist/index43.js +14 -2
- package/dist/index43.js.map +1 -1
- package/dist/index44.cjs +1 -9
- package/dist/index44.cjs.map +1 -1
- package/dist/index44.js +3 -25
- package/dist/index44.js.map +1 -1
- package/dist/index45.cjs +1 -22
- package/dist/index45.cjs.map +1 -1
- package/dist/index45.js +104 -601
- package/dist/index45.js.map +1 -1
- package/dist/index46.cjs +1 -1
- package/dist/index46.cjs.map +1 -1
- package/dist/index46.js +32 -13
- package/dist/index46.js.map +1 -1
- package/dist/index47.cjs +1 -1
- package/dist/index47.cjs.map +1 -1
- package/dist/index47.js +2 -2729
- package/dist/index47.js.map +1 -1
- package/dist/index48.cjs +9 -1
- package/dist/index48.cjs.map +1 -1
- package/dist/index48.js +30 -2
- package/dist/index48.js.map +1 -1
- package/dist/index49.cjs +19 -1
- package/dist/index49.cjs.map +1 -1
- package/dist/index49.js +599 -2
- package/dist/index49.js.map +1 -1
- package/dist/index5.cjs +1 -1
- package/dist/index5.cjs.map +1 -1
- package/dist/index5.js +41 -77
- package/dist/index5.js.map +1 -1
- package/dist/index50.cjs +2 -0
- package/dist/index50.cjs.map +1 -0
- package/dist/index50.js +5 -0
- package/dist/index50.js.map +1 -0
- package/dist/index51.cjs +2 -0
- package/dist/index51.cjs.map +1 -0
- package/dist/index51.js +154 -0
- package/dist/index51.js.map +1 -0
- package/dist/index52.cjs +2 -0
- package/dist/index52.cjs.map +1 -0
- package/dist/index52.js +19 -0
- package/dist/index52.js.map +1 -0
- package/dist/index53.cjs +2 -0
- package/dist/index53.cjs.map +1 -0
- package/dist/index53.js +345 -0
- package/dist/index53.js.map +1 -0
- package/dist/index54.cjs +2 -0
- package/dist/index54.cjs.map +1 -0
- package/dist/index54.js +48 -0
- package/dist/index54.js.map +1 -0
- package/dist/index55.cjs +2 -0
- package/dist/index55.cjs.map +1 -0
- package/dist/index55.js +5 -0
- package/dist/index55.js.map +1 -0
- package/dist/index56.cjs +2 -0
- package/dist/index56.cjs.map +1 -0
- package/dist/index56.js +5 -0
- package/dist/index56.js.map +1 -0
- package/dist/index57.cjs +2 -0
- package/dist/index57.cjs.map +1 -0
- package/dist/index57.js +5 -0
- package/dist/index57.js.map +1 -0
- package/dist/index58.cjs +2 -0
- package/dist/index58.cjs.map +1 -0
- package/dist/index58.js +7 -0
- package/dist/index58.js.map +1 -0
- package/dist/index6.cjs +1 -1
- package/dist/index6.cjs.map +1 -1
- package/dist/index6.js +110 -157
- package/dist/index6.js.map +1 -1
- package/dist/index7.cjs +1 -1
- package/dist/index7.cjs.map +1 -1
- package/dist/index7.js +85 -65
- package/dist/index7.js.map +1 -1
- package/dist/index8.cjs +1 -1
- package/dist/index8.cjs.map +1 -1
- package/dist/index8.js +155 -42
- package/dist/index8.js.map +1 -1
- package/dist/index9.cjs +1 -1
- package/dist/index9.cjs.map +1 -1
- package/dist/index9.js +70 -33
- package/dist/index9.js.map +1 -1
- package/dist/lib/utils.d.ts +1 -1
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/tailwind-theme-config.d.ts +318 -0
- package/dist/tailwind-theme-config.d.ts.map +1 -0
- package/package.json +62 -58
- package/dist/cosmik-theme.css +0 -185
package/README.md
CHANGED
|
@@ -12,18 +12,30 @@ Component Docs: https://inloco.github.io/cosmik
|
|
|
12
12
|
npm install --save @incognia/cosmik
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
2.
|
|
15
|
+
2. CSS: There are two ways to import the CSS depeding on wheather your project uses the cosmik tailwindcss theme
|
|
16
|
+
|
|
17
|
+
2.1. Uses cosmik tailwind theme (prefered):
|
|
18
|
+
Configure your tailwind file (tailwind.config.js):
|
|
16
19
|
|
|
17
20
|
```js
|
|
18
|
-
|
|
21
|
+
const { tailwindTheme } = require('@incognia/cosmik')
|
|
22
|
+
|
|
23
|
+
/** @type {import('tailwindcss').Config} */
|
|
24
|
+
export default {
|
|
25
|
+
content: [
|
|
26
|
+
'./index.html',
|
|
27
|
+
'./src/**/*.{js,ts,jsx,tsx}',
|
|
28
|
+
'./node_modules/@incognia/cosmik/dist/**/*.js'
|
|
29
|
+
],
|
|
30
|
+
theme: tailwindTheme
|
|
31
|
+
}
|
|
19
32
|
```
|
|
20
33
|
|
|
21
|
-
2.
|
|
34
|
+
2.2. Does not use cosmik tailwind theme:
|
|
35
|
+
Add the cosmik css to your project:
|
|
22
36
|
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
@import 'tw-animate-css';
|
|
26
|
-
@import '@incognia/cosmik/cosmik-theme.css';
|
|
37
|
+
```js
|
|
38
|
+
import '@incognia/cosmik/dist/cosmik.css'
|
|
27
39
|
```
|
|
28
40
|
|
|
29
41
|
3. Import Cosmik components as needed:
|
package/dist/Alert/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
1
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
declare const Alert: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
4
4
|
variant?: "default" | "success" | "error" | "warning" | null | undefined;
|
|
5
5
|
size?: "sm" | "md" | null | undefined;
|
|
6
|
-
} & import(
|
|
6
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string> & {
|
|
7
7
|
icon?: React.ReactNode;
|
|
8
8
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
9
9
|
declare const AlertTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Alert/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAOjE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAgC9B,QAAA,MAAM,KAAK;;;;WAIE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Alert/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAOjE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAgC9B,QAAA,MAAM,KAAK;;;;WAIE,MAAM,SAAS;wCAgB1B,CAAA;AAGF,QAAA,MAAM,UAAU,uHAKd,CAAA;AAGF,QAAA,MAAM,gBAAgB,yHAGyB,CAAA;AAG/C,OAAO,EAAE,KAAK,EAAE,gBAAgB,EAAE,UAAU,EAAE,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { buttonVariants } from '../Button';
|
|
3
1
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
4
3
|
import * as React from 'react';
|
|
4
|
+
import { buttonVariants } from '../Button';
|
|
5
5
|
declare const AlertDialog: React.FC<AlertDialogPrimitive.AlertDialogProps>;
|
|
6
6
|
declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
7
7
|
declare const AlertDialogPortal: React.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
|
|
@@ -17,13 +17,13 @@ declare const AlertDialogFooter: {
|
|
|
17
17
|
};
|
|
18
18
|
declare const titleVariants: (props?: ({
|
|
19
19
|
intent?: "default" | "warning" | "danger" | null | undefined;
|
|
20
|
-
} & import(
|
|
20
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
21
21
|
declare const AlertDialogTitle: React.ForwardRefExoticComponent<{
|
|
22
|
-
intent?: VariantProps<typeof titleVariants>[
|
|
22
|
+
intent?: VariantProps<typeof titleVariants>['intent'];
|
|
23
23
|
} & Omit<AlertDialogPrimitive.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
24
24
|
declare const AlertDialogDescription: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
25
25
|
declare const AlertDialogAction: React.ForwardRefExoticComponent<{
|
|
26
|
-
intent?: VariantProps<typeof buttonVariants>[
|
|
26
|
+
intent?: VariantProps<typeof buttonVariants>['intent'];
|
|
27
27
|
} & Omit<AlertDialogPrimitive.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
28
28
|
declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
29
29
|
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, titleVariants };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/AlertDialog/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,oBAAoB,MAAM,8BAA8B,CAAA;AACpE,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAG1C,QAAA,MAAM,WAAW,iDAA4B,CAAA;AAE7C,QAAA,MAAM,kBAAkB,wHAA+B,CAAA;AAEvD,QAAA,MAAM,iBAAiB,uDAA8B,CAAA;AAErD,QAAA,MAAM,kBAAkB,wKAYtB,CAAA;AAGF,QAAA,MAAM,kBAAkB,wKAgBtB,CAAA;AAGF,QAAA,MAAM,iBAAiB;8BAGpB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/AlertDialog/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,oBAAoB,MAAM,8BAA8B,CAAA;AACpE,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAG1C,QAAA,MAAM,WAAW,iDAA4B,CAAA;AAE7C,QAAA,MAAM,kBAAkB,wHAA+B,CAAA;AAEvD,QAAA,MAAM,iBAAiB,uDAA8B,CAAA;AAErD,QAAA,MAAM,kBAAkB,wKAYtB,CAAA;AAGF,QAAA,MAAM,kBAAkB,wKAgBtB,CAAA;AAGF,QAAA,MAAM,iBAAiB;8BAGpB,MAAM,cAAc,CAAC,cAAc,CAAC;;CAKtC,CAAA;AAGD,QAAA,MAAM,iBAAiB;8BAGpB,MAAM,cAAc,CAAC,cAAc,CAAC;;CAKtC,CAAA;AAGD,QAAA,MAAM,aAAa;;mFAWjB,CAAA;AAEF,QAAA,MAAM,gBAAgB;aAGT,aAAa,oBAAoB,CAAC,CAAC,QAAQ,CAAC;gJAQvD,CAAA;AAGF,QAAA,MAAM,sBAAsB,wLAS1B,CAAA;AAIF,QAAA,MAAM,iBAAiB;aAGV,aAAa,qBAAqB,CAAC,CAAC,QAAQ,CAAC;+IAQxD,CAAA;AAGF,QAAA,MAAM,iBAAiB,6KASrB,CAAA;AAGF,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,EACtB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,EAClB,aAAa,EACd,CAAA"}
|
package/dist/Badge/index.d.ts
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
1
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
/**
|
|
4
4
|
* The Toggle component has "badge-like" variants
|
|
5
5
|
* When updating the styles in here, you should consider also updating it there
|
|
6
6
|
*/
|
|
7
7
|
declare const badgeVariants: (props?: ({
|
|
8
|
-
variant?: "
|
|
8
|
+
variant?: "gray" | "robinblue" | "purple" | "green" | "yellow" | "magenta" | null | undefined;
|
|
9
9
|
size?: "sm" | "md" | "icon" | null | undefined;
|
|
10
10
|
border?: "none" | "outline" | null | undefined;
|
|
11
11
|
inverted?: boolean | null | undefined;
|
|
12
|
-
} & import(
|
|
13
|
-
export
|
|
14
|
-
|
|
15
|
-
};
|
|
16
|
-
declare function Badge({ className, variant, size, border, asChild, ...props }: BadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
13
|
+
export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
14
|
+
}
|
|
15
|
+
declare function Badge({ className, variant, size, border, inverted, ...props }: BadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
17
16
|
export { Badge, badgeVariants };
|
|
18
17
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Badge/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Badge/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B;;;GAGG;AACH,QAAA,MAAM,aAAa;;;;;mFAiElB,CAAA;AAED,MAAM,WAAW,UACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAC1C,YAAY,CAAC,OAAO,aAAa,CAAC;CAAG;AAEzC,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,OAAO,EACP,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,UAAU,2CAUZ;AAED,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,CAAA"}
|
package/dist/Button/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
1
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
declare const buttonVariants: (props?: ({
|
|
4
4
|
variant?: "link" | "filled" | "outline" | "ghost" | null | undefined;
|
|
5
5
|
intent?: "warning" | "filter" | "primary" | "secondary" | "danger" | null | undefined;
|
|
6
|
-
size?: "
|
|
7
|
-
} & import(
|
|
8
|
-
export
|
|
6
|
+
size?: "fit-content" | "sm" | "md" | "icon" | null | undefined;
|
|
7
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
8
|
+
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
9
9
|
asChild?: boolean;
|
|
10
|
-
}
|
|
11
|
-
declare
|
|
10
|
+
}
|
|
11
|
+
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
12
12
|
export { Button, buttonVariants };
|
|
13
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Button/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,QAAA,MAAM,cAAc;;;;mFAyJnB,CAAA;AAED,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Button/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,QAAA,MAAM,cAAc;;;;mFAyJnB,CAAA;AAED,MAAM,WAAW,WACf,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EACnD,YAAY,CAAC,OAAO,cAAc,CAAC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,QAAA,MAAM,MAAM,uFAWX,CAAA;AAGD,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAA"}
|
package/dist/Calendar/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DayPicker } from 'react-day-picker';
|
|
2
1
|
import * as React from 'react';
|
|
2
|
+
import { DayPicker } from 'react-day-picker';
|
|
3
3
|
export type CalendarProps = React.ComponentProps<typeof DayPicker>;
|
|
4
4
|
declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
declare namespace Calendar {
|
package/dist/Colors.d.ts
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
declare const Colors: {
|
|
2
|
+
WHITE: string;
|
|
3
|
+
GRAY_50: string;
|
|
4
|
+
GRAY_100: string;
|
|
5
|
+
GRAY_200: string;
|
|
6
|
+
GRAY_300: string;
|
|
7
|
+
GRAY_400: string;
|
|
8
|
+
GRAY_500: string;
|
|
9
|
+
GRAY_600: string;
|
|
10
|
+
GRAY_700: string;
|
|
11
|
+
GRAY_800: string;
|
|
12
|
+
GRAY_900: string;
|
|
13
|
+
GREEN_50: string;
|
|
14
|
+
GREEN_100: string;
|
|
15
|
+
GREEN_200: string;
|
|
16
|
+
GREEN_300: string;
|
|
17
|
+
GREEN_400: string;
|
|
18
|
+
GREEN_500: string;
|
|
19
|
+
GREEN_600: string;
|
|
20
|
+
GREEN_700: string;
|
|
21
|
+
GREEN_800: string;
|
|
22
|
+
GREEN_900: string;
|
|
23
|
+
MAGENTA_50: string;
|
|
24
|
+
MAGENTA_100: string;
|
|
25
|
+
MAGENTA_200: string;
|
|
26
|
+
MAGENTA_300: string;
|
|
27
|
+
MAGENTA_400: string;
|
|
28
|
+
MAGENTA_500: string;
|
|
29
|
+
MAGENTA_600: string;
|
|
30
|
+
MAGENTA_700: string;
|
|
31
|
+
MAGENTA_800: string;
|
|
32
|
+
MAGENTA_900: string;
|
|
33
|
+
PURPLE_50: string;
|
|
34
|
+
PURPLE_100: string;
|
|
35
|
+
PURPLE_200: string;
|
|
36
|
+
PURPLE_300: string;
|
|
37
|
+
PURPLE_400: string;
|
|
38
|
+
PURPLE_500: string;
|
|
39
|
+
PURPLE_600: string;
|
|
40
|
+
PURPLE_700: string;
|
|
41
|
+
PURPLE_800: string;
|
|
42
|
+
PURPLE_900: string;
|
|
43
|
+
ROBINBLUE_50: string;
|
|
44
|
+
ROBINBLUE_100: string;
|
|
45
|
+
ROBINBLUE_200: string;
|
|
46
|
+
ROBINBLUE_300: string;
|
|
47
|
+
ROBINBLUE_400: string;
|
|
48
|
+
ROBINBLUE_500: string;
|
|
49
|
+
ROBINBLUE_600: string;
|
|
50
|
+
ROBINBLUE_700: string;
|
|
51
|
+
ROBINBLUE_800: string;
|
|
52
|
+
ROBINBLUE_900: string;
|
|
53
|
+
YELLOW_50: string;
|
|
54
|
+
YELLOW_100: string;
|
|
55
|
+
YELLOW_200: string;
|
|
56
|
+
YELLOW_300: string;
|
|
57
|
+
YELLOW_400: string;
|
|
58
|
+
YELLOW_500: string;
|
|
59
|
+
YELLOW_600: string;
|
|
60
|
+
YELLOW_700: string;
|
|
61
|
+
YELLOW_800: string;
|
|
62
|
+
YELLOW_900: string;
|
|
63
|
+
CHART_BLUE: string;
|
|
64
|
+
CHART_PURPLE: string;
|
|
65
|
+
CHART_MAGENTA: string;
|
|
66
|
+
CHART_ORANGE: string;
|
|
67
|
+
CHART_YELLOW: string;
|
|
68
|
+
CHART_GREEN: string;
|
|
69
|
+
};
|
|
70
|
+
export default Colors;
|
|
71
|
+
//# sourceMappingURL=Colors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Colors.d.ts","sourceRoot":"","sources":["../src/Colors.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2EX,CAAA;AAED,eAAe,MAAM,CAAA"}
|
package/dist/Command/index.d.ts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { DialogProps } from '@radix-ui/react-dialog';
|
|
1
|
+
import { type DialogProps } from '@radix-ui/react-dialog';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
declare const Command: React.ForwardRefExoticComponent<Omit<{
|
|
4
4
|
children?: React.ReactNode;
|
|
5
5
|
} & React.HTMLAttributes<HTMLDivElement> & {
|
|
6
|
-
label?: string;
|
|
7
|
-
shouldFilter?: boolean;
|
|
8
|
-
filter?: (value: string, search: string) => number;
|
|
9
|
-
defaultValue?: string;
|
|
10
|
-
value?: string;
|
|
11
|
-
onValueChange?: (value: string) => void;
|
|
12
|
-
loop?: boolean;
|
|
13
|
-
vimBindings?: boolean;
|
|
6
|
+
label?: string | undefined;
|
|
7
|
+
shouldFilter?: boolean | undefined;
|
|
8
|
+
filter?: ((value: string, search: string) => number) | undefined;
|
|
9
|
+
defaultValue?: string | undefined;
|
|
10
|
+
value?: string | undefined;
|
|
11
|
+
onValueChange?: ((value: string) => void) | undefined;
|
|
12
|
+
loop?: boolean | undefined;
|
|
13
|
+
vimBindings?: boolean | undefined;
|
|
14
14
|
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
15
15
|
interface CommandDialogProps extends DialogProps {
|
|
16
16
|
}
|
|
17
17
|
declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
18
|
declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "type" | "value"> & {
|
|
19
|
-
value?: string;
|
|
20
|
-
onValueChange?: (search: string) => void;
|
|
19
|
+
value?: string | undefined;
|
|
20
|
+
onValueChange?: ((search: string) => void) | undefined;
|
|
21
21
|
} & React.RefAttributes<HTMLInputElement>, "ref"> & {
|
|
22
|
-
inputWrapperClassName?: string;
|
|
22
|
+
inputWrapperClassName?: string | undefined;
|
|
23
23
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
24
24
|
declare const CommandList: React.ForwardRefExoticComponent<Omit<{
|
|
25
25
|
children?: React.ReactNode;
|
|
@@ -31,23 +31,23 @@ declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
|
|
|
31
31
|
children?: React.ReactNode;
|
|
32
32
|
} & Omit<React.HTMLAttributes<HTMLDivElement>, "heading" | "value"> & {
|
|
33
33
|
heading?: React.ReactNode;
|
|
34
|
-
value?: string;
|
|
35
|
-
forceMount?: boolean;
|
|
34
|
+
value?: string | undefined;
|
|
35
|
+
forceMount?: boolean | undefined;
|
|
36
36
|
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
37
37
|
declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement> & {
|
|
38
|
-
alwaysRender?: boolean;
|
|
38
|
+
alwaysRender?: boolean | undefined;
|
|
39
39
|
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
40
40
|
declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
|
41
41
|
children?: React.ReactNode;
|
|
42
42
|
} & Omit<React.HTMLAttributes<HTMLDivElement>, "onSelect" | "disabled" | "value"> & {
|
|
43
|
-
disabled?: boolean;
|
|
44
|
-
onSelect?: (value: string) => void;
|
|
45
|
-
value?: string;
|
|
46
|
-
forceMount?: boolean;
|
|
43
|
+
disabled?: boolean | undefined;
|
|
44
|
+
onSelect?: ((value: string) => void) | undefined;
|
|
45
|
+
value?: string | undefined;
|
|
46
|
+
forceMount?: boolean | undefined;
|
|
47
47
|
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
48
48
|
declare const CommandShortcut: {
|
|
49
49
|
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
|
|
50
50
|
displayName: string;
|
|
51
51
|
};
|
|
52
|
-
export { Command, CommandDialog, CommandEmpty, CommandGroup,
|
|
52
|
+
export { Command, CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandShortcut, CommandSeparator };
|
|
53
53
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Command/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAGzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,QAAA,MAAM,OAAO;;;;;;;;;;;sFAYX,CAAA;AAGF,UAAU,kBAAmB,SAAQ,WAAW;CAAG;AAEnD,QAAA,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Command/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAGzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,QAAA,MAAM,OAAO;;;;;;;;;;;sFAYX,CAAA;AAGF,UAAU,kBAAmB,SAAQ,WAAW;CAAG;AAEnD,QAAA,MAAM,aAAa,2BAA4B,kBAAkB,4CAUhE,CAAA;AAED,QAAA,MAAM,YAAY;;;;;0CAoBhB,CAAA;AAIF,QAAA,MAAM,WAAW;;6HASf,CAAA;AAIF,QAAA,MAAM,YAAY;;6HAShB,CAAA;AAIF,QAAA,MAAM,YAAY;;;;;;sFAYhB,CAAA;AAIF,QAAA,MAAM,gBAAgB;;sFASpB,CAAA;AAGF,QAAA,MAAM,WAAW;;;;;;;sFAYf,CAAA;AAIF,QAAA,MAAM,eAAe;8BAGlB,MAAM,cAAc,CAAC,eAAe,CAAC;;CAOvC,CAAA;AAGD,OAAO,EACL,OAAO,EACP,aAAa,EACb,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,eAAe,EACf,gBAAgB,EACjB,CAAA"}
|
package/dist/Dialog/index.d.ts
CHANGED
|
@@ -5,8 +5,8 @@ declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.Dia
|
|
|
5
5
|
declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
|
|
6
6
|
declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
7
|
declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & {
|
|
8
|
-
fullscreen?: boolean;
|
|
9
|
-
hideCloseIcon?: boolean;
|
|
8
|
+
fullscreen?: boolean | undefined;
|
|
9
|
+
hideCloseIcon?: boolean | undefined;
|
|
10
10
|
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
11
|
declare const DialogHeader: {
|
|
12
12
|
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Dialog/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AAEzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,QAAA,MAAM,MAAM,uCAAuB,CAAA;AAEnC,QAAA,MAAM,aAAa,8GAA0B,CAAA;AAE7C,QAAA,MAAM,YAAY,6CAAyB,CAAA;AAE3C,QAAA,MAAM,aAAa,8JAYjB,CAAA;AAYF,QAAA,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Dialog/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AAEzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,QAAA,MAAM,MAAM,uCAAuB,CAAA;AAEnC,QAAA,MAAM,aAAa,8GAA0B,CAAA;AAE7C,QAAA,MAAM,YAAY,6CAAyB,CAAA;AAE3C,QAAA,MAAM,aAAa,8JAYjB,CAAA;AAYF,QAAA,MAAM,aAAa;;;sFA4DlB,CAAA;AAGD,QAAA,MAAM,YAAY;8BAGf,MAAM,cAAc,CAAC,cAAc,CAAC;;CAEtC,CAAA;AAGD,QAAA,MAAM,YAAY;8BAGf,MAAM,cAAc,CAAC,cAAc,CAAC;;CAQtC,CAAA;AAGD,QAAA,MAAM,WAAW,oKASf,CAAA;AAGF,QAAA,MAAM,iBAAiB,8KASrB,CAAA;AAGF,OAAO,EACL,MAAM,EACN,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,WAAW,EACX,aAAa,EACd,CAAA"}
|
|
@@ -7,22 +7,22 @@ declare const DropdownMenuPortal: React.FC<DropdownMenuPrimitive.DropdownMenuPor
|
|
|
7
7
|
declare const DropdownMenuSub: React.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
8
8
|
declare const DropdownMenuRadioGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
9
|
declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
10
|
-
inset?: boolean;
|
|
10
|
+
inset?: boolean | undefined;
|
|
11
11
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
12
12
|
declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
13
13
|
declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
14
14
|
declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
15
|
-
inset?: boolean;
|
|
15
|
+
inset?: boolean | undefined;
|
|
16
16
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
17
17
|
declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
18
18
|
declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
19
19
|
declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
20
|
-
inset?: boolean;
|
|
20
|
+
inset?: boolean | undefined;
|
|
21
21
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
22
22
|
declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
23
23
|
declare const DropdownMenuShortcut: {
|
|
24
24
|
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
|
|
25
25
|
displayName: string;
|
|
26
26
|
};
|
|
27
|
-
export { DropdownMenu,
|
|
27
|
+
export { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuGroup, DropdownMenuPortal, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuRadioGroup };
|
|
28
28
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/DropdownMenu/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,qBAAqB,MAAM,+BAA+B,CAAA;AAEtE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,QAAA,MAAM,YAAY,mDAA6B,CAAA;AAE/C,QAAA,MAAM,mBAAmB,0HAAgC,CAAA;AAEzD,QAAA,MAAM,iBAAiB,qHAA8B,CAAA;AAErD,QAAA,MAAM,kBAAkB,yDAA+B,CAAA;AAEvD,QAAA,MAAM,eAAe,sDAA4B,CAAA;AAEjD,QAAA,MAAM,sBAAsB,0HAAmC,CAAA;AAE/D,QAAA,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/DropdownMenu/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,qBAAqB,MAAM,+BAA+B,CAAA;AAEtE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,QAAA,MAAM,YAAY,mDAA6B,CAAA;AAE/C,QAAA,MAAM,mBAAmB,0HAAgC,CAAA;AAEzD,QAAA,MAAM,iBAAiB,qHAA8B,CAAA;AAErD,QAAA,MAAM,kBAAkB,yDAA+B,CAAA;AAEvD,QAAA,MAAM,eAAe,sDAA4B,CAAA;AAEjD,QAAA,MAAM,sBAAsB,0HAAmC,CAAA;AAE/D,QAAA,MAAM,sBAAsB;;wCAkB1B,CAAA;AAIF,QAAA,MAAM,sBAAsB,6KAY1B,CAAA;AAIF,QAAA,MAAM,mBAAmB,0KAevB,CAAA;AAGF,QAAA,MAAM,gBAAgB;;wCAepB,CAAA;AAGF,QAAA,MAAM,wBAAwB,+KAoB5B,CAAA;AAIF,QAAA,MAAM,qBAAqB,4KAmBzB,CAAA;AAGF,QAAA,MAAM,iBAAiB;;wCAerB,CAAA;AAGF,QAAA,MAAM,qBAAqB,4KASzB,CAAA;AAGF,QAAA,MAAM,oBAAoB;8BAGvB,MAAM,cAAc,CAAC,eAAe,CAAC;;CAOvC,CAAA;AAGD,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAChB,wBAAwB,EACxB,qBAAqB,EACrB,iBAAiB,EACjB,qBAAqB,EACrB,oBAAoB,EACpB,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,sBAAsB,EACtB,sBAAsB,EACtB,sBAAsB,EACvB,CAAA"}
|
package/dist/Filter/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ButtonProps } from '../Button';
|
|
2
3
|
import { PopoverContentProps } from '../Popover';
|
|
3
4
|
type FilterPropsBase<T> = {
|
|
4
5
|
i18n: {
|
|
@@ -13,6 +14,7 @@ type FilterPropsBase<T> = {
|
|
|
13
14
|
filterValue: T | null;
|
|
14
15
|
}) => React.ReactNode;
|
|
15
16
|
contentProps?: PopoverContentProps;
|
|
17
|
+
buttonProps?: ButtonProps;
|
|
16
18
|
};
|
|
17
19
|
type FilterPropsWithLabel<T> = FilterPropsBase<T> & {
|
|
18
20
|
label: string;
|
|
@@ -25,7 +27,7 @@ type FilterPropsWithTrigger<T> = FilterPropsBase<T> & {
|
|
|
25
27
|
selectedLabel?: never;
|
|
26
28
|
};
|
|
27
29
|
type FilterProps<T> = FilterPropsWithLabel<T> | FilterPropsWithTrigger<T>;
|
|
28
|
-
declare function Filter<T>({ children, label, selectedLabel, trigger, i18n, value, onOpenChange, onApply, contentProps, ...props }: FilterProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
declare function Filter<T>({ children, label, selectedLabel, trigger, i18n, value, onOpenChange, onApply, contentProps, buttonProps, ...props }: FilterProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
29
31
|
export { Filter };
|
|
30
32
|
export type { FilterProps };
|
|
31
33
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Filter/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Filter/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAU,WAAW,EAAE,MAAM,WAAW,CAAA;AAC/C,OAAO,EAGL,mBAAmB,EAEpB,MAAM,YAAY,CAAA;AAGnB,KAAK,eAAe,CAAC,CAAC,IAAI;IACxB,IAAI,EAAE;QACJ,KAAK,CAAC,EAAE,MAAM,CAAA;QACd,KAAK,CAAC,EAAE,MAAM,CAAA;KACf,CAAA;IACD,KAAK,CAAC,EAAE,CAAC,CAAA;IACT,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IACtC,OAAO,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,IAAI,CAAA;IAC5B,QAAQ,EAAE,CAAC,KAAK,EAAE;QAChB,cAAc,EAAE,CAAC,KAAK,EAAE,CAAC,GAAG,IAAI,KAAK,IAAI,CAAA;QACzC,WAAW,EAAE,CAAC,GAAG,IAAI,CAAA;KACtB,KAAK,KAAK,CAAC,SAAS,CAAA;IACrB,YAAY,CAAC,EAAE,mBAAmB,CAAA;IAClC,WAAW,CAAC,EAAE,WAAW,CAAA;CAC1B,CAAA;AAED,KAAK,oBAAoB,CAAC,CAAC,IAAI,eAAe,CAAC,CAAC,CAAC,GAAG;IAClD,KAAK,EAAE,MAAM,CAAA;IACb,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAA;IAC7C,OAAO,CAAC,EAAE,KAAK,CAAA;CAChB,CAAA;AAED,KAAK,sBAAsB,CAAC,CAAC,IAAI,eAAe,CAAC,CAAC,CAAC,GAAG;IACpD,OAAO,EAAE,KAAK,CAAC,SAAS,CAAA;IACxB,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,aAAa,CAAC,EAAE,KAAK,CAAA;CACtB,CAAA;AAED,KAAK,WAAW,CAAC,CAAC,IAAI,oBAAoB,CAAC,CAAC,CAAC,GAAG,sBAAsB,CAAC,CAAC,CAAC,CAAA;AAEzE,iBAAS,MAAM,CAAC,CAAC,EAAE,EACjB,QAAQ,EACR,KAAK,EACL,aAAa,EACb,OAAO,EACP,IAAI,EACJ,KAAK,EACL,YAAY,EACZ,OAAO,EACP,YAAiB,EACjB,WAAgB,EAChB,GAAG,KAAK,EACT,EAAE,WAAW,CAAC,CAAC,CAAC,2CAgGhB;AAED,OAAO,EAAE,MAAM,EAAE,CAAA;AACjB,YAAY,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import
|
|
1
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
export declare const gradientVariants: (props?: ({
|
|
4
4
|
variant?: "gray" | "white" | null | undefined;
|
|
5
|
-
} & import(
|
|
5
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
6
6
|
export declare const backgroundVariants: (props?: ({
|
|
7
7
|
variant?: "gray" | "white" | null | undefined;
|
|
8
|
-
} & import(
|
|
8
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
9
9
|
interface GradientScrollProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof gradientVariants> {
|
|
10
10
|
}
|
|
11
11
|
export declare function GradientScroll({ children, className, variant }: GradientScrollProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import
|
|
1
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
import { gradientVariants } from './GradientScroll';
|
|
4
4
|
type FilterBarProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
5
5
|
className?: string;
|
package/dist/Label/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
1
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: import(
|
|
4
|
+
declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string> & React.RefAttributes<HTMLLabelElement>>;
|
|
5
5
|
export { Label };
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/Layout/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Layout/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,KAAK,WAAW,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG;IACxD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,wBAAgB,MAAM,CAAC,EACrB,QAAQ,EACR,SAAS,EACT,SAAS,EACT,GAAG,KAAK,EACT,EAAE,WAAW,GAAG;IACf,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,2CAOA;AAUD,wBAAgB,aAAa,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,WAAW,2CAUjE;AAED,wBAAgB,aAAa,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,WAAW,2CAEjE;AAED,wBAAgB,uBAAuB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,WAAW,2CAE3E;AAED,wBAAgB,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,WAAW,2CAU9D;AAED,wBAAgB,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Layout/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,KAAK,WAAW,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG;IACxD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,wBAAgB,MAAM,CAAC,EACrB,QAAQ,EACR,SAAS,EACT,SAAS,EACT,GAAG,KAAK,EACT,EAAE,WAAW,GAAG;IACf,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,2CAOA;AAUD,wBAAgB,aAAa,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,WAAW,2CAUjE;AAED,wBAAgB,aAAa,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,WAAW,2CAEjE;AAED,wBAAgB,uBAAuB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,WAAW,2CAE3E;AAED,wBAAgB,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,WAAW,2CAU9D;AAED,wBAAgB,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,WAAW,2CAUhE"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ButtonProps } from '../Button';
|
|
2
1
|
import * as React from 'react';
|
|
2
|
+
import { ButtonProps } from '../Button';
|
|
3
3
|
declare const Pagination: {
|
|
4
|
-
({ className, ...props }: React.ComponentProps<
|
|
4
|
+
({ className, ...props }: React.ComponentProps<'nav'>): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
declare const PaginationContent: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
@@ -22,7 +22,7 @@ declare const PaginationNext: {
|
|
|
22
22
|
displayName: string;
|
|
23
23
|
};
|
|
24
24
|
declare const PaginationEllipsis: {
|
|
25
|
-
({ className, ...props }: React.ComponentProps<
|
|
25
|
+
({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
26
26
|
displayName: string;
|
|
27
27
|
};
|
|
28
28
|
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationButton, PaginationNext, PaginationPrevious };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Pagination/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAU,WAAW,EAAE,MAAM,WAAW,CAAA;AAG/C,QAAA,MAAM,UAAU;8BAA6B,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Pagination/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAU,WAAW,EAAE,MAAM,WAAW,CAAA;AAG/C,QAAA,MAAM,UAAU;8BAA6B,MAAM,cAAc,CAAC,KAAK,CAAC;;CAOvE,CAAA;AAGD,QAAA,MAAM,iBAAiB,yKASrB,CAAA;AAGF,QAAA,MAAM,cAAc,kKAKlB,CAAA;AAGF,KAAK,qBAAqB,GAAG,WAAW,GAAG;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,QAAA,MAAM,gBAAgB;wCAInB,qBAAqB;;CAevB,CAAA;AAGD,QAAA,MAAM,kBAAkB;8BAGrB,MAAM,cAAc,CAAC,uBAAuB,CAAC;;CAQ/C,CAAA;AAGD,QAAA,MAAM,cAAc;8BAGjB,MAAM,cAAc,CAAC,uBAAuB,CAAC;;CAQ/C,CAAA;AAGD,QAAA,MAAM,kBAAkB;8BAGrB,MAAM,cAAc,CAAC,MAAM,CAAC;;CAW9B,CAAA;AAGD,OAAO,EACL,UAAU,EACV,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EACnB,CAAA"}
|
package/dist/Popover/index.d.ts
CHANGED
|
@@ -5,5 +5,5 @@ declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.P
|
|
|
5
5
|
declare const PopoverAnchor: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
6
|
export type PopoverContentProps = React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content>;
|
|
7
7
|
declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
-
export { Popover,
|
|
8
|
+
export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor };
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Popover/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAA;AAC3D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,QAAA,MAAM,OAAO,yCAAwB,CAAA;AAErC,QAAA,MAAM,cAAc,gHAA2B,CAAA;AAE/C,QAAA,MAAM,aAAa,4GAA0B,CAAA;AAE7C,MAAM,MAAM,mBAAmB,GAAG,KAAK,CAAC,wBAAwB,CAC9D,OAAO,gBAAgB,CAAC,OAAO,CAChC,CAAA;AAED,QAAA,MAAM,cAAc,gKAgBlB,CAAA;AAGF,OAAO,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Popover/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAA;AAC3D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,QAAA,MAAM,OAAO,yCAAwB,CAAA;AAErC,QAAA,MAAM,cAAc,gHAA2B,CAAA;AAE/C,QAAA,MAAM,aAAa,4GAA0B,CAAA;AAE7C,MAAM,MAAM,mBAAmB,GAAG,KAAK,CAAC,wBAAwB,CAC9D,OAAO,gBAAgB,CAAC,OAAO,CAChC,CAAA;AAED,QAAA,MAAM,cAAc,gKAgBlB,CAAA;AAGF,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,aAAa,EAAE,CAAA"}
|
package/dist/Select/index.d.ts
CHANGED
|
@@ -10,5 +10,5 @@ declare const SelectContent: React.ForwardRefExoticComponent<Omit<SelectPrimitiv
|
|
|
10
10
|
declare const SelectLabel: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
11
|
declare const SelectItem: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
12
12
|
declare const SelectSeparator: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
-
export { Select,
|
|
13
|
+
export { Select, SelectGroup, SelectValue, SelectTrigger, SelectContent, SelectLabel, SelectItem, SelectSeparator, SelectScrollUpButton, SelectScrollDownButton };
|
|
14
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Select/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AAEzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,QAAA,MAAM,MAAM,uCAAuB,CAAA;AAEnC,QAAA,MAAM,WAAW,yGAAwB,CAAA;AAEzC,QAAA,MAAM,WAAW,0GAAwB,CAAA;AAEzC,QAAA,MAAM,aAAa,oKAwBjB,CAAA;AAGF,QAAA,MAAM,oBAAoB,qKAcxB,CAAA;AAGF,QAAA,MAAM,sBAAsB,uKAc1B,CAAA;AAIF,QAAA,MAAM,aAAa,8JA+BjB,CAAA;AAGF,QAAA,MAAM,WAAW,4JASf,CAAA;AAGF,QAAA,MAAM,UAAU,2JAoBd,CAAA;AAGF,QAAA,MAAM,eAAe,gKASnB,CAAA;AAGF,OAAO,EACL,MAAM,EACN,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Select/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AAEzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,QAAA,MAAM,MAAM,uCAAuB,CAAA;AAEnC,QAAA,MAAM,WAAW,yGAAwB,CAAA;AAEzC,QAAA,MAAM,WAAW,0GAAwB,CAAA;AAEzC,QAAA,MAAM,aAAa,oKAwBjB,CAAA;AAGF,QAAA,MAAM,oBAAoB,qKAcxB,CAAA;AAGF,QAAA,MAAM,sBAAsB,uKAc1B,CAAA;AAIF,QAAA,MAAM,aAAa,8JA+BjB,CAAA;AAGF,QAAA,MAAM,WAAW,4JASf,CAAA;AAGF,QAAA,MAAM,UAAU,2JAoBd,CAAA;AAGF,QAAA,MAAM,eAAe,gKASnB,CAAA;AAGF,OAAO,EACL,MAAM,EACN,WAAW,EACX,WAAW,EACX,aAAa,EACb,aAAa,EACb,WAAW,EACX,UAAU,EACV,eAAe,EACf,oBAAoB,EACpB,sBAAsB,EACvB,CAAA"}
|
package/dist/Sheet/index.d.ts
CHANGED
|
@@ -1,16 +1,26 @@
|
|
|
1
1
|
import * as SheetPrimitive from '@radix-ui/react-dialog';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
2
3
|
import * as React from 'react';
|
|
3
|
-
declare
|
|
4
|
-
declare
|
|
5
|
-
declare
|
|
6
|
-
declare
|
|
7
|
-
declare
|
|
8
|
-
declare
|
|
9
|
-
side?:
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
declare
|
|
14
|
-
declare
|
|
15
|
-
|
|
4
|
+
declare const Sheet: React.FC<SheetPrimitive.DialogProps>;
|
|
5
|
+
declare const SheetTrigger: React.ForwardRefExoticComponent<SheetPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
6
|
+
declare const SheetClose: React.ForwardRefExoticComponent<SheetPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
+
declare const SheetPortal: React.FC<SheetPrimitive.DialogPortalProps>;
|
|
8
|
+
declare const SheetOverlay: React.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
declare const sheetVariants: (props?: ({
|
|
10
|
+
side?: "top" | "right" | "bottom" | "left" | null | undefined;
|
|
11
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
12
|
+
interface SheetContentProps extends React.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
13
|
+
}
|
|
14
|
+
declare const SheetContent: React.ForwardRefExoticComponent<SheetContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
declare const SheetHeader: {
|
|
16
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
displayName: string;
|
|
18
|
+
};
|
|
19
|
+
declare const SheetFooter: {
|
|
20
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
displayName: string;
|
|
22
|
+
};
|
|
23
|
+
declare const SheetTitle: React.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
24
|
+
declare const SheetDescription: React.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
25
|
+
export { Sheet, SheetPortal, SheetOverlay, SheetTrigger, SheetClose, SheetContent, SheetHeader, SheetFooter, SheetTitle, SheetDescription };
|
|
16
26
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Sheet/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,cAAc,MAAM,wBAAwB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Sheet/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,cAAc,MAAM,wBAAwB,CAAA;AACxD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAEjE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,QAAA,MAAM,KAAK,sCAAsB,CAAA;AAEjC,QAAA,MAAM,YAAY,6GAAyB,CAAA;AAE3C,QAAA,MAAM,UAAU,2GAAuB,CAAA;AAEvC,QAAA,MAAM,WAAW,4CAAwB,CAAA;AAEzC,QAAA,MAAM,YAAY,6JAYhB,CAAA;AAGF,QAAA,MAAM,aAAa;;mFAiBlB,CAAA;AAED,UAAU,iBACR,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,cAAc,CAAC,OAAO,CAAC,EACnE,YAAY,CAAC,OAAO,aAAa,CAAC;CAAG;AAEzC,QAAA,MAAM,YAAY,0FAkBhB,CAAA;AAGF,QAAA,MAAM,WAAW;8BAGd,MAAM,cAAc,CAAC,cAAc,CAAC;;CAQtC,CAAA;AAGD,QAAA,MAAM,WAAW;8BAGd,MAAM,cAAc,CAAC,cAAc,CAAC;;CAQtC,CAAA;AAGD,QAAA,MAAM,UAAU,mKASd,CAAA;AAGF,QAAA,MAAM,gBAAgB,6KASpB,CAAA;AAGF,OAAO,EACL,KAAK,EACL,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,WAAW,EACX,WAAW,EACX,UAAU,EACV,gBAAgB,EACjB,CAAA"}
|
package/dist/Skeleton/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Skeleton/index.tsx"],"names":[],"mappings":"AAEA,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,2CAOtC;AAED,OAAO,EAAE,QAAQ,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Skeleton/index.tsx"],"names":[],"mappings":";AAEA,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,2CAOtC;AAED,OAAO,EAAE,QAAQ,EAAE,CAAA"}
|
package/dist/Sonner/index.d.ts
CHANGED