@tecsinapse/cortex-react 1.9.44 → 1.10.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/cjs/components/Button.js +4 -5
- package/dist/cjs/components/Tag.js +38 -7
- package/dist/cjs/components/Uploader/Upload.js +2 -2
- package/dist/cjs/hooks/useCalendarCell.js +4 -4
- package/dist/esm/components/Button.js +4 -5
- package/dist/esm/components/Tag.js +38 -7
- package/dist/esm/components/Uploader/Upload.js +2 -2
- package/dist/esm/hooks/useCalendarCell.js +4 -4
- package/dist/types/components/Button.d.ts +5 -2
- package/dist/types/components/Tag.d.ts +5 -5
- package/dist/types/components/Uploader/types.d.ts +2 -9
- package/dist/types/hooks/useFileUpload.d.ts +3 -2
- package/dist/types/styles/calendar-cell.d.ts +2 -110
- package/dist/types/styles/date-picker-input-base.d.ts +2 -26
- package/dist/types/styles/date-segment.d.ts +2 -26
- package/dist/types/styles/groupButton.d.ts +2 -24
- package/dist/types/styles/menubar.d.ts +14 -138
- package/dist/types/styles/progressBar.d.ts +2 -94
- package/dist/types/styles/stepNodeVariants.d.ts +2 -190
- package/dist/types/utils/date.d.ts +2 -2
- package/package.json +14 -15
|
@@ -4,14 +4,13 @@ var cortexCore = require('@tecsinapse/cortex-core');
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
|
|
6
6
|
const Button = React.forwardRef((props, ref) => {
|
|
7
|
-
const { variants, children, ...rest } = props;
|
|
7
|
+
const { variants, intent, variant, size, children, className, ...rest } = props;
|
|
8
8
|
return /* @__PURE__ */ React.createElement(
|
|
9
9
|
"button",
|
|
10
10
|
{
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
...rest
|
|
11
|
+
...rest,
|
|
12
|
+
className: cortexCore.button({ intent, variant, size, ...variants, className }),
|
|
13
|
+
ref
|
|
15
14
|
},
|
|
16
15
|
children
|
|
17
16
|
);
|
|
@@ -4,21 +4,41 @@ var cortexCore = require('@tecsinapse/cortex-core');
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var lia = require('react-icons/lia');
|
|
6
6
|
|
|
7
|
-
const Close = ({
|
|
8
|
-
|
|
7
|
+
const Close = ({
|
|
8
|
+
onClick,
|
|
9
|
+
className,
|
|
10
|
+
...rest
|
|
11
|
+
}) => {
|
|
12
|
+
return /* @__PURE__ */ React.createElement(
|
|
13
|
+
"button",
|
|
14
|
+
{
|
|
15
|
+
...rest,
|
|
16
|
+
type: "button",
|
|
17
|
+
onClick,
|
|
18
|
+
"data-testid": "tag-close-button"
|
|
19
|
+
},
|
|
20
|
+
/* @__PURE__ */ React.createElement(lia.LiaTimesSolid, { className })
|
|
21
|
+
);
|
|
9
22
|
};
|
|
10
|
-
const Label = ({
|
|
11
|
-
|
|
23
|
+
const Label = ({
|
|
24
|
+
children,
|
|
25
|
+
className,
|
|
26
|
+
...rest
|
|
27
|
+
}) => {
|
|
28
|
+
return /* @__PURE__ */ React.createElement("p", { className, ...rest }, children);
|
|
12
29
|
};
|
|
13
30
|
const Face = React.forwardRef((props, ref) => {
|
|
14
|
-
const { variants, className, children } = props;
|
|
31
|
+
const { variants, className, intent, children, style, ...rest } = props;
|
|
15
32
|
return /* @__PURE__ */ React.createElement(
|
|
16
33
|
"div",
|
|
17
34
|
{
|
|
35
|
+
...rest,
|
|
18
36
|
className: cortexCore.tag({
|
|
37
|
+
intent,
|
|
19
38
|
...variants,
|
|
20
39
|
className
|
|
21
40
|
}),
|
|
41
|
+
style,
|
|
22
42
|
ref
|
|
23
43
|
},
|
|
24
44
|
children
|
|
@@ -26,8 +46,19 @@ const Face = React.forwardRef((props, ref) => {
|
|
|
26
46
|
});
|
|
27
47
|
const Root = React.forwardRef(
|
|
28
48
|
(props, ref) => {
|
|
29
|
-
const { label, variants, className, onDismiss } = props;
|
|
30
|
-
return /* @__PURE__ */ React.createElement(
|
|
49
|
+
const { label, variants, intent, className, onDismiss, ...rest } = props;
|
|
50
|
+
return /* @__PURE__ */ React.createElement(
|
|
51
|
+
Face,
|
|
52
|
+
{
|
|
53
|
+
...rest,
|
|
54
|
+
variants,
|
|
55
|
+
intent,
|
|
56
|
+
className,
|
|
57
|
+
ref
|
|
58
|
+
},
|
|
59
|
+
/* @__PURE__ */ React.createElement(Label, null, label),
|
|
60
|
+
onDismiss ? /* @__PURE__ */ React.createElement(Close, { onClick: onDismiss }) : null
|
|
61
|
+
);
|
|
31
62
|
}
|
|
32
63
|
);
|
|
33
64
|
const Tag = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var cortexCore = require('@tecsinapse/cortex-core');
|
|
3
4
|
var React = require('react');
|
|
4
5
|
var fa6 = require('react-icons/fa6');
|
|
5
|
-
var cortexCore = require('@tecsinapse/cortex-core');
|
|
6
6
|
var md = require('react-icons/md');
|
|
7
7
|
var ProgressBar = require('../ProgressBar/ProgressBar.js');
|
|
8
8
|
|
|
@@ -39,7 +39,7 @@ const File = ({ file, index, onDelete }) => {
|
|
|
39
39
|
ProgressBar.ProgressBar,
|
|
40
40
|
{
|
|
41
41
|
intent: statusIntent(file.status),
|
|
42
|
-
infinite: file.status
|
|
42
|
+
infinite: file.status === "uploading"
|
|
43
43
|
}
|
|
44
44
|
));
|
|
45
45
|
};
|
|
@@ -14,11 +14,11 @@ const useCalendarCell = ({ state, date: date$1 }) => {
|
|
|
14
14
|
formattedDate
|
|
15
15
|
} = reactAria.useCalendarCell({ date: date$1 }, state, ref);
|
|
16
16
|
const rangeStateHighlitedRange = state?.highlightedRange;
|
|
17
|
-
const isSameDayStart = rangeStateHighlitedRange && date$1 ? date.isSameDay(date$1,
|
|
18
|
-
const isSameDayEnd = rangeStateHighlitedRange && date$1 ? date.isSameDay(date$1,
|
|
17
|
+
const isSameDayStart = rangeStateHighlitedRange && date$1 ? date.isSameDay(date$1, rangeStateHighlitedRange.start) : void 0;
|
|
18
|
+
const isSameDayEnd = rangeStateHighlitedRange && date$1 ? date.isSameDay(date$1, rangeStateHighlitedRange.end) : void 0;
|
|
19
19
|
const isSelectionStart = isSameDayStart && !isSameDayEnd;
|
|
20
20
|
const isSelectionEnd = isSameDayEnd && !isSameDayStart;
|
|
21
|
-
const inRange = date$1 > rangeStateHighlitedRange?.start && date$1 < rangeStateHighlitedRange?.end;
|
|
21
|
+
const inRange = rangeStateHighlitedRange && date$1 > rangeStateHighlitedRange?.start && date$1 < rangeStateHighlitedRange?.end;
|
|
22
22
|
return {
|
|
23
23
|
ref,
|
|
24
24
|
cellProps,
|
|
@@ -28,7 +28,7 @@ const useCalendarCell = ({ state, date: date$1 }) => {
|
|
|
28
28
|
formattedDate,
|
|
29
29
|
isSelectionStart,
|
|
30
30
|
isSelectionEnd,
|
|
31
|
-
inRange
|
|
31
|
+
inRange: Boolean(inRange)
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
34
|
|
|
@@ -2,14 +2,13 @@ import { button } from '@tecsinapse/cortex-core';
|
|
|
2
2
|
import React__default, { forwardRef } from 'react';
|
|
3
3
|
|
|
4
4
|
const Button = forwardRef((props, ref) => {
|
|
5
|
-
const { variants, children, ...rest } = props;
|
|
5
|
+
const { variants, intent, variant, size, children, className, ...rest } = props;
|
|
6
6
|
return /* @__PURE__ */ React__default.createElement(
|
|
7
7
|
"button",
|
|
8
8
|
{
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
...rest
|
|
9
|
+
...rest,
|
|
10
|
+
className: button({ intent, variant, size, ...variants, className }),
|
|
11
|
+
ref
|
|
13
12
|
},
|
|
14
13
|
children
|
|
15
14
|
);
|
|
@@ -2,21 +2,41 @@ import { tag } from '@tecsinapse/cortex-core';
|
|
|
2
2
|
import React__default, { forwardRef } from 'react';
|
|
3
3
|
import { LiaTimesSolid } from 'react-icons/lia';
|
|
4
4
|
|
|
5
|
-
const Close = ({
|
|
6
|
-
|
|
5
|
+
const Close = ({
|
|
6
|
+
onClick,
|
|
7
|
+
className,
|
|
8
|
+
...rest
|
|
9
|
+
}) => {
|
|
10
|
+
return /* @__PURE__ */ React__default.createElement(
|
|
11
|
+
"button",
|
|
12
|
+
{
|
|
13
|
+
...rest,
|
|
14
|
+
type: "button",
|
|
15
|
+
onClick,
|
|
16
|
+
"data-testid": "tag-close-button"
|
|
17
|
+
},
|
|
18
|
+
/* @__PURE__ */ React__default.createElement(LiaTimesSolid, { className })
|
|
19
|
+
);
|
|
7
20
|
};
|
|
8
|
-
const Label = ({
|
|
9
|
-
|
|
21
|
+
const Label = ({
|
|
22
|
+
children,
|
|
23
|
+
className,
|
|
24
|
+
...rest
|
|
25
|
+
}) => {
|
|
26
|
+
return /* @__PURE__ */ React__default.createElement("p", { className, ...rest }, children);
|
|
10
27
|
};
|
|
11
28
|
const Face = forwardRef((props, ref) => {
|
|
12
|
-
const { variants, className, children } = props;
|
|
29
|
+
const { variants, className, intent, children, style, ...rest } = props;
|
|
13
30
|
return /* @__PURE__ */ React__default.createElement(
|
|
14
31
|
"div",
|
|
15
32
|
{
|
|
33
|
+
...rest,
|
|
16
34
|
className: tag({
|
|
35
|
+
intent,
|
|
17
36
|
...variants,
|
|
18
37
|
className
|
|
19
38
|
}),
|
|
39
|
+
style,
|
|
20
40
|
ref
|
|
21
41
|
},
|
|
22
42
|
children
|
|
@@ -24,8 +44,19 @@ const Face = forwardRef((props, ref) => {
|
|
|
24
44
|
});
|
|
25
45
|
const Root = forwardRef(
|
|
26
46
|
(props, ref) => {
|
|
27
|
-
const { label, variants, className, onDismiss } = props;
|
|
28
|
-
return /* @__PURE__ */ React__default.createElement(
|
|
47
|
+
const { label, variants, intent, className, onDismiss, ...rest } = props;
|
|
48
|
+
return /* @__PURE__ */ React__default.createElement(
|
|
49
|
+
Face,
|
|
50
|
+
{
|
|
51
|
+
...rest,
|
|
52
|
+
variants,
|
|
53
|
+
intent,
|
|
54
|
+
className,
|
|
55
|
+
ref
|
|
56
|
+
},
|
|
57
|
+
/* @__PURE__ */ React__default.createElement(Label, null, label),
|
|
58
|
+
onDismiss ? /* @__PURE__ */ React__default.createElement(Close, { onClick: onDismiss }) : null
|
|
59
|
+
);
|
|
29
60
|
}
|
|
30
61
|
);
|
|
31
62
|
const Tag = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { button } from '@tecsinapse/cortex-core';
|
|
1
2
|
import React__default from 'react';
|
|
2
3
|
import { FaRegFileLines } from 'react-icons/fa6';
|
|
3
|
-
import { button } from '@tecsinapse/cortex-core';
|
|
4
4
|
import { MdClose } from 'react-icons/md';
|
|
5
5
|
import { ProgressBar } from '../ProgressBar/ProgressBar.js';
|
|
6
6
|
|
|
@@ -37,7 +37,7 @@ const File = ({ file, index, onDelete }) => {
|
|
|
37
37
|
ProgressBar,
|
|
38
38
|
{
|
|
39
39
|
intent: statusIntent(file.status),
|
|
40
|
-
infinite: file.status
|
|
40
|
+
infinite: file.status === "uploading"
|
|
41
41
|
}
|
|
42
42
|
));
|
|
43
43
|
};
|
|
@@ -12,11 +12,11 @@ const useCalendarCell = ({ state, date }) => {
|
|
|
12
12
|
formattedDate
|
|
13
13
|
} = useCalendarCell$1({ date }, state, ref);
|
|
14
14
|
const rangeStateHighlitedRange = state?.highlightedRange;
|
|
15
|
-
const isSameDayStart = rangeStateHighlitedRange && date ? isSameDay(date,
|
|
16
|
-
const isSameDayEnd = rangeStateHighlitedRange && date ? isSameDay(date,
|
|
15
|
+
const isSameDayStart = rangeStateHighlitedRange && date ? isSameDay(date, rangeStateHighlitedRange.start) : void 0;
|
|
16
|
+
const isSameDayEnd = rangeStateHighlitedRange && date ? isSameDay(date, rangeStateHighlitedRange.end) : void 0;
|
|
17
17
|
const isSelectionStart = isSameDayStart && !isSameDayEnd;
|
|
18
18
|
const isSelectionEnd = isSameDayEnd && !isSameDayStart;
|
|
19
|
-
const inRange = date > rangeStateHighlitedRange?.start && date < rangeStateHighlitedRange?.end;
|
|
19
|
+
const inRange = rangeStateHighlitedRange && date > rangeStateHighlitedRange?.start && date < rangeStateHighlitedRange?.end;
|
|
20
20
|
return {
|
|
21
21
|
ref,
|
|
22
22
|
cellProps,
|
|
@@ -26,7 +26,7 @@ const useCalendarCell = ({ state, date }) => {
|
|
|
26
26
|
formattedDate,
|
|
27
27
|
isSelectionStart,
|
|
28
28
|
isSelectionEnd,
|
|
29
|
-
inRange
|
|
29
|
+
inRange: Boolean(inRange)
|
|
30
30
|
};
|
|
31
31
|
};
|
|
32
32
|
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { ButtonVariants } from '@tecsinapse/cortex-core';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
export interface ButtonProps extends
|
|
3
|
+
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
4
4
|
variants?: ButtonVariants;
|
|
5
|
+
intent?: ButtonVariants['intent'];
|
|
6
|
+
variant?: ButtonVariants['variant'];
|
|
7
|
+
size?: ButtonVariants['size'];
|
|
5
8
|
children?: React.ReactNode;
|
|
6
9
|
}
|
|
7
|
-
export declare const Button: React.ForwardRefExoticComponent<ButtonProps &
|
|
10
|
+
export declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { TagVariants } from '@tecsinapse/cortex-core';
|
|
2
2
|
import React, { HTMLProps } from 'react';
|
|
3
|
-
interface TagProps {
|
|
3
|
+
export interface TagProps {
|
|
4
4
|
variants?: TagVariants;
|
|
5
|
+
intent?: TagVariants['intent'];
|
|
5
6
|
label: string;
|
|
6
7
|
onDismiss?: () => void;
|
|
7
8
|
}
|
|
8
9
|
export declare const Tag: {
|
|
9
10
|
Root: React.ForwardRefExoticComponent<Omit<TagProps & React.HTMLProps<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
-
Close: ({ onClick, className }: HTMLProps<HTMLButtonElement>) => React.JSX.Element;
|
|
11
|
-
Label: ({ children, className }: HTMLProps<HTMLParagraphElement>) => React.JSX.Element;
|
|
12
|
-
Face: React.ForwardRefExoticComponent<Omit<Pick<TagProps, "variants"> & React.HTMLProps<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
Close: ({ onClick, className, ...rest }: Omit<HTMLProps<HTMLButtonElement>, "children" | "type">) => React.JSX.Element;
|
|
12
|
+
Label: ({ children, className, ...rest }: HTMLProps<HTMLParagraphElement>) => React.JSX.Element;
|
|
13
|
+
Face: React.ForwardRefExoticComponent<Omit<Pick<TagProps, "intent" | "variants"> & React.HTMLProps<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
13
14
|
};
|
|
14
|
-
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DropzoneInputProps, DropzoneRootProps } from 'react-dropzone';
|
|
1
|
+
import { DropzoneInputProps, DropzoneRootProps, type FileError, type FileRejection, type FileWithPath } from 'react-dropzone';
|
|
2
2
|
export interface FileItem {
|
|
3
3
|
file: File;
|
|
4
4
|
loading: 'loading' | 'success' | 'error';
|
|
@@ -37,14 +37,6 @@ export declare enum FileStatus {
|
|
|
37
37
|
ERROR = "error",
|
|
38
38
|
UPLOADING = "uploading"
|
|
39
39
|
}
|
|
40
|
-
export interface FileError {
|
|
41
|
-
message: string;
|
|
42
|
-
code: string;
|
|
43
|
-
}
|
|
44
|
-
export type FileRejection = {
|
|
45
|
-
file: File;
|
|
46
|
-
errors: FileError[];
|
|
47
|
-
};
|
|
48
40
|
export type FileUpload<T> = {
|
|
49
41
|
file: File;
|
|
50
42
|
metadata?: T;
|
|
@@ -70,3 +62,4 @@ export declare const AcceptSpecificMap: {
|
|
|
70
62
|
readonly AUDIO: readonly ["audio/mpeg", "audio/wav", "audio/ogg", "audio/x-aac", "audio/flac", "audio/mp4", "audio/aac", "audio/webm"];
|
|
71
63
|
readonly TEXT: readonly ["text/plain", "text/csv", "text/html", "text/css", "text/xml", "text/javascript", "text/markdown"];
|
|
72
64
|
};
|
|
65
|
+
export type { FileError, FileRejection, FileWithPath };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type DropEvent, type FileRejection } from 'react-dropzone';
|
|
2
|
+
import { AcceptSpecificMap, UseDropzoneProps, type FileUpload } from '../components/Uploader/types';
|
|
2
3
|
interface UseFileUploadOptions<T> {
|
|
3
4
|
accept?: {
|
|
4
5
|
IMAGE?: (typeof AcceptSpecificMap.IMAGE)[number][];
|
|
@@ -11,7 +12,7 @@ interface UseFileUploadOptions<T> {
|
|
|
11
12
|
maxSize?: number;
|
|
12
13
|
allowMultiple?: boolean;
|
|
13
14
|
onDelete?: (file: FileUpload<T>) => Promise<void>;
|
|
14
|
-
onFileRejected?: (fileRejections: FileRejection[]) => void;
|
|
15
|
+
onFileRejected?: (fileRejections: FileRejection[], event: DropEvent) => void;
|
|
15
16
|
}
|
|
16
17
|
export declare const useFileUpload: <T>({ accept, onAccept, maxSize, allowMultiple, onFileRejected, }: UseFileUploadOptions<T>) => {
|
|
17
18
|
onOpen: () => void;
|
|
@@ -28,61 +28,7 @@ export declare const calendarCell: import("tailwind-variants").TVReturnType<{
|
|
|
28
28
|
}, {
|
|
29
29
|
cell: string;
|
|
30
30
|
button: string;
|
|
31
|
-
}, undefined,
|
|
32
|
-
isSelected: {
|
|
33
|
-
true: {
|
|
34
|
-
cell: string;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
isSelectionStart: {
|
|
38
|
-
true: {
|
|
39
|
-
cell: string;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
isSelectionEnd: {
|
|
43
|
-
true: {
|
|
44
|
-
cell: string;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
inRange: {
|
|
48
|
-
true: {
|
|
49
|
-
cell: string;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
isOutsideVisibleRange: {
|
|
53
|
-
true: {
|
|
54
|
-
cell: string;
|
|
55
|
-
button: string;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
}, {
|
|
59
|
-
isSelected: {
|
|
60
|
-
true: {
|
|
61
|
-
cell: string;
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
isSelectionStart: {
|
|
65
|
-
true: {
|
|
66
|
-
cell: string;
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
isSelectionEnd: {
|
|
70
|
-
true: {
|
|
71
|
-
cell: string;
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
inRange: {
|
|
75
|
-
true: {
|
|
76
|
-
cell: string;
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
isOutsideVisibleRange: {
|
|
80
|
-
true: {
|
|
81
|
-
cell: string;
|
|
82
|
-
button: string;
|
|
83
|
-
};
|
|
84
|
-
};
|
|
85
|
-
}>, {
|
|
31
|
+
}, undefined, {
|
|
86
32
|
isSelected: {
|
|
87
33
|
true: {
|
|
88
34
|
cell: string;
|
|
@@ -142,58 +88,4 @@ export declare const calendarCell: import("tailwind-variants").TVReturnType<{
|
|
|
142
88
|
}, {
|
|
143
89
|
cell: string;
|
|
144
90
|
button: string;
|
|
145
|
-
}, undefined,
|
|
146
|
-
isSelected: {
|
|
147
|
-
true: {
|
|
148
|
-
cell: string;
|
|
149
|
-
};
|
|
150
|
-
};
|
|
151
|
-
isSelectionStart: {
|
|
152
|
-
true: {
|
|
153
|
-
cell: string;
|
|
154
|
-
};
|
|
155
|
-
};
|
|
156
|
-
isSelectionEnd: {
|
|
157
|
-
true: {
|
|
158
|
-
cell: string;
|
|
159
|
-
};
|
|
160
|
-
};
|
|
161
|
-
inRange: {
|
|
162
|
-
true: {
|
|
163
|
-
cell: string;
|
|
164
|
-
};
|
|
165
|
-
};
|
|
166
|
-
isOutsideVisibleRange: {
|
|
167
|
-
true: {
|
|
168
|
-
cell: string;
|
|
169
|
-
button: string;
|
|
170
|
-
};
|
|
171
|
-
};
|
|
172
|
-
}, {
|
|
173
|
-
isSelected: {
|
|
174
|
-
true: {
|
|
175
|
-
cell: string;
|
|
176
|
-
};
|
|
177
|
-
};
|
|
178
|
-
isSelectionStart: {
|
|
179
|
-
true: {
|
|
180
|
-
cell: string;
|
|
181
|
-
};
|
|
182
|
-
};
|
|
183
|
-
isSelectionEnd: {
|
|
184
|
-
true: {
|
|
185
|
-
cell: string;
|
|
186
|
-
};
|
|
187
|
-
};
|
|
188
|
-
inRange: {
|
|
189
|
-
true: {
|
|
190
|
-
cell: string;
|
|
191
|
-
};
|
|
192
|
-
};
|
|
193
|
-
isOutsideVisibleRange: {
|
|
194
|
-
true: {
|
|
195
|
-
cell: string;
|
|
196
|
-
button: string;
|
|
197
|
-
};
|
|
198
|
-
};
|
|
199
|
-
}>, unknown, unknown, undefined>>;
|
|
91
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
@@ -6,19 +6,7 @@ export declare const datePickerInputBase: import("tailwind-variants").TVReturnTy
|
|
|
6
6
|
};
|
|
7
7
|
}, {
|
|
8
8
|
icon: string;
|
|
9
|
-
}, undefined,
|
|
10
|
-
disabled: {
|
|
11
|
-
true: {
|
|
12
|
-
icon: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
}, {
|
|
16
|
-
disabled: {
|
|
17
|
-
true: {
|
|
18
|
-
icon: string;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
}>, {
|
|
9
|
+
}, undefined, {
|
|
22
10
|
disabled: {
|
|
23
11
|
true: {
|
|
24
12
|
icon: string;
|
|
@@ -34,16 +22,4 @@ export declare const datePickerInputBase: import("tailwind-variants").TVReturnTy
|
|
|
34
22
|
};
|
|
35
23
|
}, {
|
|
36
24
|
icon: string;
|
|
37
|
-
}, undefined,
|
|
38
|
-
disabled: {
|
|
39
|
-
true: {
|
|
40
|
-
icon: string;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
}, {
|
|
44
|
-
disabled: {
|
|
45
|
-
true: {
|
|
46
|
-
icon: string;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
}>, unknown, unknown, undefined>>;
|
|
25
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
@@ -6,19 +6,7 @@ export declare const dateSegment: import("tailwind-variants").TVReturnType<{
|
|
|
6
6
|
};
|
|
7
7
|
}, {
|
|
8
8
|
base: string;
|
|
9
|
-
}, undefined,
|
|
10
|
-
disabled: {
|
|
11
|
-
true: {
|
|
12
|
-
base: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
}, {
|
|
16
|
-
disabled: {
|
|
17
|
-
true: {
|
|
18
|
-
base: string;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
}>, {
|
|
9
|
+
}, undefined, {
|
|
22
10
|
disabled: {
|
|
23
11
|
true: {
|
|
24
12
|
base: string;
|
|
@@ -34,16 +22,4 @@ export declare const dateSegment: import("tailwind-variants").TVReturnType<{
|
|
|
34
22
|
};
|
|
35
23
|
}, {
|
|
36
24
|
base: string;
|
|
37
|
-
}, undefined,
|
|
38
|
-
disabled: {
|
|
39
|
-
true: {
|
|
40
|
-
base: string;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
}, {
|
|
44
|
-
disabled: {
|
|
45
|
-
true: {
|
|
46
|
-
base: string;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
}>, unknown, unknown, undefined>>;
|
|
25
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
@@ -27,18 +27,7 @@ export declare const groupButton: import("tailwind-variants").TVReturnType<{
|
|
|
27
27
|
lastButton: string;
|
|
28
28
|
container: string;
|
|
29
29
|
active: string;
|
|
30
|
-
}, undefined,
|
|
31
|
-
[key: string]: {
|
|
32
|
-
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
33
|
-
button?: import("tailwind-merge").ClassNameValue;
|
|
34
|
-
inactive?: import("tailwind-merge").ClassNameValue;
|
|
35
|
-
firstButton?: import("tailwind-merge").ClassNameValue;
|
|
36
|
-
lastButton?: import("tailwind-merge").ClassNameValue;
|
|
37
|
-
container?: import("tailwind-merge").ClassNameValue;
|
|
38
|
-
active?: import("tailwind-merge").ClassNameValue;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
} | {}>, {
|
|
30
|
+
}, undefined, {
|
|
42
31
|
[key: string]: {
|
|
43
32
|
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
44
33
|
button?: import("tailwind-merge").ClassNameValue;
|
|
@@ -63,15 +52,4 @@ export declare const groupButton: import("tailwind-variants").TVReturnType<{
|
|
|
63
52
|
lastButton: string;
|
|
64
53
|
container: string;
|
|
65
54
|
active: string;
|
|
66
|
-
}, undefined,
|
|
67
|
-
[key: string]: {
|
|
68
|
-
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
69
|
-
button?: import("tailwind-merge").ClassNameValue;
|
|
70
|
-
inactive?: import("tailwind-merge").ClassNameValue;
|
|
71
|
-
firstButton?: import("tailwind-merge").ClassNameValue;
|
|
72
|
-
lastButton?: import("tailwind-merge").ClassNameValue;
|
|
73
|
-
container?: import("tailwind-merge").ClassNameValue;
|
|
74
|
-
active?: import("tailwind-merge").ClassNameValue;
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
} | {}>, unknown, unknown, undefined>>;
|
|
55
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
@@ -10,21 +10,7 @@ export declare const menubar: import("tailwind-variants").TVReturnType<{
|
|
|
10
10
|
left: string;
|
|
11
11
|
right: string;
|
|
12
12
|
dropdown: string;
|
|
13
|
-
}, undefined,
|
|
14
|
-
show: {
|
|
15
|
-
true: {
|
|
16
|
-
dropdown: string;
|
|
17
|
-
false: string;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
}, {
|
|
21
|
-
show: {
|
|
22
|
-
true: {
|
|
23
|
-
dropdown: string;
|
|
24
|
-
false: string;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
}>, {
|
|
13
|
+
}, undefined, {
|
|
28
14
|
show: {
|
|
29
15
|
true: {
|
|
30
16
|
dropdown: string;
|
|
@@ -48,21 +34,7 @@ export declare const menubar: import("tailwind-variants").TVReturnType<{
|
|
|
48
34
|
left: string;
|
|
49
35
|
right: string;
|
|
50
36
|
dropdown: string;
|
|
51
|
-
}, undefined,
|
|
52
|
-
show: {
|
|
53
|
-
true: {
|
|
54
|
-
dropdown: string;
|
|
55
|
-
false: string;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
}, {
|
|
59
|
-
show: {
|
|
60
|
-
true: {
|
|
61
|
-
dropdown: string;
|
|
62
|
-
false: string;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
}>, unknown, unknown, undefined>>;
|
|
37
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
66
38
|
export declare const mostUsed: import("tailwind-variants").TVReturnType<{
|
|
67
39
|
[key: string]: {
|
|
68
40
|
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
@@ -83,15 +55,7 @@ export declare const mostUsed: import("tailwind-variants").TVReturnType<{
|
|
|
83
55
|
container: string;
|
|
84
56
|
label: string;
|
|
85
57
|
containerList: string;
|
|
86
|
-
}, undefined,
|
|
87
|
-
[key: string]: {
|
|
88
|
-
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
89
|
-
label?: import("tailwind-merge").ClassNameValue;
|
|
90
|
-
container?: import("tailwind-merge").ClassNameValue;
|
|
91
|
-
containerList?: import("tailwind-merge").ClassNameValue;
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
} | {}>, {
|
|
58
|
+
}, undefined, {
|
|
95
59
|
[key: string]: {
|
|
96
60
|
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
97
61
|
label?: import("tailwind-merge").ClassNameValue;
|
|
@@ -107,15 +71,7 @@ export declare const mostUsed: import("tailwind-variants").TVReturnType<{
|
|
|
107
71
|
container: string;
|
|
108
72
|
label: string;
|
|
109
73
|
containerList: string;
|
|
110
|
-
}, undefined,
|
|
111
|
-
[key: string]: {
|
|
112
|
-
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
113
|
-
label?: import("tailwind-merge").ClassNameValue;
|
|
114
|
-
container?: import("tailwind-merge").ClassNameValue;
|
|
115
|
-
containerList?: import("tailwind-merge").ClassNameValue;
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
|
-
} | {}>, unknown, unknown, undefined>>;
|
|
74
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
119
75
|
export declare const mostUsedItem: import("tailwind-variants").TVReturnType<{
|
|
120
76
|
[key: string]: {
|
|
121
77
|
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
@@ -136,15 +92,7 @@ export declare const mostUsedItem: import("tailwind-variants").TVReturnType<{
|
|
|
136
92
|
container: string;
|
|
137
93
|
title: string;
|
|
138
94
|
category: string;
|
|
139
|
-
}, undefined,
|
|
140
|
-
[key: string]: {
|
|
141
|
-
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
142
|
-
title?: import("tailwind-merge").ClassNameValue;
|
|
143
|
-
container?: import("tailwind-merge").ClassNameValue;
|
|
144
|
-
category?: import("tailwind-merge").ClassNameValue;
|
|
145
|
-
};
|
|
146
|
-
};
|
|
147
|
-
} | {}>, {
|
|
95
|
+
}, undefined, {
|
|
148
96
|
[key: string]: {
|
|
149
97
|
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
150
98
|
title?: import("tailwind-merge").ClassNameValue;
|
|
@@ -160,15 +108,7 @@ export declare const mostUsedItem: import("tailwind-variants").TVReturnType<{
|
|
|
160
108
|
container: string;
|
|
161
109
|
title: string;
|
|
162
110
|
category: string;
|
|
163
|
-
}, undefined,
|
|
164
|
-
[key: string]: {
|
|
165
|
-
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
166
|
-
title?: import("tailwind-merge").ClassNameValue;
|
|
167
|
-
container?: import("tailwind-merge").ClassNameValue;
|
|
168
|
-
category?: import("tailwind-merge").ClassNameValue;
|
|
169
|
-
};
|
|
170
|
-
};
|
|
171
|
-
} | {}>, unknown, unknown, undefined>>;
|
|
111
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
172
112
|
export declare const item: import("tailwind-variants").TVReturnType<{
|
|
173
113
|
[key: string]: {
|
|
174
114
|
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
@@ -189,15 +129,7 @@ export declare const item: import("tailwind-variants").TVReturnType<{
|
|
|
189
129
|
container: string;
|
|
190
130
|
textBehavior: string;
|
|
191
131
|
icon: string;
|
|
192
|
-
}, undefined,
|
|
193
|
-
[key: string]: {
|
|
194
|
-
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
195
|
-
icon?: import("tailwind-merge").ClassNameValue;
|
|
196
|
-
container?: import("tailwind-merge").ClassNameValue;
|
|
197
|
-
textBehavior?: import("tailwind-merge").ClassNameValue;
|
|
198
|
-
};
|
|
199
|
-
};
|
|
200
|
-
} | {}>, {
|
|
132
|
+
}, undefined, {
|
|
201
133
|
[key: string]: {
|
|
202
134
|
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
203
135
|
icon?: import("tailwind-merge").ClassNameValue;
|
|
@@ -213,15 +145,7 @@ export declare const item: import("tailwind-variants").TVReturnType<{
|
|
|
213
145
|
container: string;
|
|
214
146
|
textBehavior: string;
|
|
215
147
|
icon: string;
|
|
216
|
-
}, undefined,
|
|
217
|
-
[key: string]: {
|
|
218
|
-
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
219
|
-
icon?: import("tailwind-merge").ClassNameValue;
|
|
220
|
-
container?: import("tailwind-merge").ClassNameValue;
|
|
221
|
-
textBehavior?: import("tailwind-merge").ClassNameValue;
|
|
222
|
-
};
|
|
223
|
-
};
|
|
224
|
-
} | {}>, unknown, unknown, undefined>>;
|
|
148
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
225
149
|
export declare const category: import("tailwind-variants").TVReturnType<{
|
|
226
150
|
[key: string]: {
|
|
227
151
|
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
@@ -242,15 +166,7 @@ export declare const category: import("tailwind-variants").TVReturnType<{
|
|
|
242
166
|
text: string;
|
|
243
167
|
hr: string;
|
|
244
168
|
container: string;
|
|
245
|
-
}, undefined,
|
|
246
|
-
[key: string]: {
|
|
247
|
-
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
248
|
-
hr?: import("tailwind-merge").ClassNameValue;
|
|
249
|
-
text?: import("tailwind-merge").ClassNameValue;
|
|
250
|
-
container?: import("tailwind-merge").ClassNameValue;
|
|
251
|
-
};
|
|
252
|
-
};
|
|
253
|
-
} | {}>, {
|
|
169
|
+
}, undefined, {
|
|
254
170
|
[key: string]: {
|
|
255
171
|
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
256
172
|
hr?: import("tailwind-merge").ClassNameValue;
|
|
@@ -266,15 +182,7 @@ export declare const category: import("tailwind-variants").TVReturnType<{
|
|
|
266
182
|
text: string;
|
|
267
183
|
hr: string;
|
|
268
184
|
container: string;
|
|
269
|
-
}, undefined,
|
|
270
|
-
[key: string]: {
|
|
271
|
-
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
272
|
-
hr?: import("tailwind-merge").ClassNameValue;
|
|
273
|
-
text?: import("tailwind-merge").ClassNameValue;
|
|
274
|
-
container?: import("tailwind-merge").ClassNameValue;
|
|
275
|
-
};
|
|
276
|
-
};
|
|
277
|
-
} | {}>, unknown, unknown, undefined>>;
|
|
185
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
278
186
|
export declare const subItem: import("tailwind-variants").TVReturnType<{
|
|
279
187
|
[key: string]: {
|
|
280
188
|
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
@@ -289,13 +197,7 @@ export declare const subItem: import("tailwind-variants").TVReturnType<{
|
|
|
289
197
|
};
|
|
290
198
|
} | {}, {
|
|
291
199
|
container: string;
|
|
292
|
-
}, undefined,
|
|
293
|
-
[key: string]: {
|
|
294
|
-
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
295
|
-
container?: import("tailwind-merge").ClassNameValue;
|
|
296
|
-
};
|
|
297
|
-
};
|
|
298
|
-
} | {}>, {
|
|
200
|
+
}, undefined, {
|
|
299
201
|
[key: string]: {
|
|
300
202
|
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
301
203
|
container?: import("tailwind-merge").ClassNameValue;
|
|
@@ -305,29 +207,13 @@ export declare const subItem: import("tailwind-variants").TVReturnType<{
|
|
|
305
207
|
container: string;
|
|
306
208
|
}, import("tailwind-variants").TVReturnType<unknown, {
|
|
307
209
|
container: string;
|
|
308
|
-
}, undefined,
|
|
309
|
-
[key: string]: {
|
|
310
|
-
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
311
|
-
container?: import("tailwind-merge").ClassNameValue;
|
|
312
|
-
};
|
|
313
|
-
};
|
|
314
|
-
} | {}>, unknown, unknown, undefined>>;
|
|
210
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
315
211
|
export declare const animate: import("tailwind-variants").TVReturnType<{
|
|
316
212
|
show: {
|
|
317
213
|
true: string;
|
|
318
214
|
false: string;
|
|
319
215
|
};
|
|
320
|
-
}, undefined, "transition-all ease-in-out duration-250",
|
|
321
|
-
show: {
|
|
322
|
-
true: string;
|
|
323
|
-
false: string;
|
|
324
|
-
};
|
|
325
|
-
}, {
|
|
326
|
-
show: {
|
|
327
|
-
true: string;
|
|
328
|
-
false: string;
|
|
329
|
-
};
|
|
330
|
-
}>, {
|
|
216
|
+
}, undefined, "transition-all ease-in-out duration-250", {
|
|
331
217
|
show: {
|
|
332
218
|
true: string;
|
|
333
219
|
false: string;
|
|
@@ -337,14 +223,4 @@ export declare const animate: import("tailwind-variants").TVReturnType<{
|
|
|
337
223
|
true: string;
|
|
338
224
|
false: string;
|
|
339
225
|
};
|
|
340
|
-
}, undefined, "transition-all ease-in-out duration-250",
|
|
341
|
-
show: {
|
|
342
|
-
true: string;
|
|
343
|
-
false: string;
|
|
344
|
-
};
|
|
345
|
-
}, {
|
|
346
|
-
show: {
|
|
347
|
-
true: string;
|
|
348
|
-
false: string;
|
|
349
|
-
};
|
|
350
|
-
}>, unknown, unknown, undefined>>;
|
|
226
|
+
}, undefined, "transition-all ease-in-out duration-250", unknown, unknown, undefined>>;
|
|
@@ -25,53 +25,7 @@ export declare const ProgressVariants: import("tailwind-variants").TVReturnType<
|
|
|
25
25
|
container: string;
|
|
26
26
|
bar: string;
|
|
27
27
|
progress: string;
|
|
28
|
-
}, undefined,
|
|
29
|
-
intent: {
|
|
30
|
-
default: {
|
|
31
|
-
progress: string;
|
|
32
|
-
};
|
|
33
|
-
error: {
|
|
34
|
-
progress: string;
|
|
35
|
-
};
|
|
36
|
-
info: {
|
|
37
|
-
progress: string;
|
|
38
|
-
};
|
|
39
|
-
warning: {
|
|
40
|
-
progress: string;
|
|
41
|
-
};
|
|
42
|
-
success: {
|
|
43
|
-
progress: string;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
infinite: {
|
|
47
|
-
true: {
|
|
48
|
-
progress: string;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
}, {
|
|
52
|
-
intent: {
|
|
53
|
-
default: {
|
|
54
|
-
progress: string;
|
|
55
|
-
};
|
|
56
|
-
error: {
|
|
57
|
-
progress: string;
|
|
58
|
-
};
|
|
59
|
-
info: {
|
|
60
|
-
progress: string;
|
|
61
|
-
};
|
|
62
|
-
warning: {
|
|
63
|
-
progress: string;
|
|
64
|
-
};
|
|
65
|
-
success: {
|
|
66
|
-
progress: string;
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
infinite: {
|
|
70
|
-
true: {
|
|
71
|
-
progress: string;
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
}>, {
|
|
28
|
+
}, undefined, {
|
|
75
29
|
intent: {
|
|
76
30
|
default: {
|
|
77
31
|
progress: string;
|
|
@@ -125,50 +79,4 @@ export declare const ProgressVariants: import("tailwind-variants").TVReturnType<
|
|
|
125
79
|
container: string;
|
|
126
80
|
bar: string;
|
|
127
81
|
progress: string;
|
|
128
|
-
}, undefined,
|
|
129
|
-
intent: {
|
|
130
|
-
default: {
|
|
131
|
-
progress: string;
|
|
132
|
-
};
|
|
133
|
-
error: {
|
|
134
|
-
progress: string;
|
|
135
|
-
};
|
|
136
|
-
info: {
|
|
137
|
-
progress: string;
|
|
138
|
-
};
|
|
139
|
-
warning: {
|
|
140
|
-
progress: string;
|
|
141
|
-
};
|
|
142
|
-
success: {
|
|
143
|
-
progress: string;
|
|
144
|
-
};
|
|
145
|
-
};
|
|
146
|
-
infinite: {
|
|
147
|
-
true: {
|
|
148
|
-
progress: string;
|
|
149
|
-
};
|
|
150
|
-
};
|
|
151
|
-
}, {
|
|
152
|
-
intent: {
|
|
153
|
-
default: {
|
|
154
|
-
progress: string;
|
|
155
|
-
};
|
|
156
|
-
error: {
|
|
157
|
-
progress: string;
|
|
158
|
-
};
|
|
159
|
-
info: {
|
|
160
|
-
progress: string;
|
|
161
|
-
};
|
|
162
|
-
warning: {
|
|
163
|
-
progress: string;
|
|
164
|
-
};
|
|
165
|
-
success: {
|
|
166
|
-
progress: string;
|
|
167
|
-
};
|
|
168
|
-
};
|
|
169
|
-
infinite: {
|
|
170
|
-
true: {
|
|
171
|
-
progress: string;
|
|
172
|
-
};
|
|
173
|
-
};
|
|
174
|
-
}>, unknown, unknown, undefined>>;
|
|
82
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
@@ -49,101 +49,7 @@ export declare const StepNodeVariants: import("tailwind-variants").TVReturnType<
|
|
|
49
49
|
container: string;
|
|
50
50
|
content: string;
|
|
51
51
|
separator: string;
|
|
52
|
-
}, undefined,
|
|
53
|
-
intent: {
|
|
54
|
-
success: {
|
|
55
|
-
separator: string;
|
|
56
|
-
};
|
|
57
|
-
warning: {
|
|
58
|
-
separator: string;
|
|
59
|
-
};
|
|
60
|
-
error: {
|
|
61
|
-
separator: string;
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
interactive: {
|
|
65
|
-
true: {
|
|
66
|
-
content: string;
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
marked: {
|
|
70
|
-
true: {
|
|
71
|
-
content: string;
|
|
72
|
-
};
|
|
73
|
-
false: {
|
|
74
|
-
content: string;
|
|
75
|
-
separator: string;
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
|
-
selected: {
|
|
79
|
-
true: {
|
|
80
|
-
content: string;
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
isFirst: {
|
|
84
|
-
true: {
|
|
85
|
-
separator: string;
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
isLast: {
|
|
89
|
-
true: {
|
|
90
|
-
separator: string;
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
disabled: {
|
|
94
|
-
true: {
|
|
95
|
-
container: string;
|
|
96
|
-
content: string;
|
|
97
|
-
};
|
|
98
|
-
};
|
|
99
|
-
}, {
|
|
100
|
-
intent: {
|
|
101
|
-
success: {
|
|
102
|
-
separator: string;
|
|
103
|
-
};
|
|
104
|
-
warning: {
|
|
105
|
-
separator: string;
|
|
106
|
-
};
|
|
107
|
-
error: {
|
|
108
|
-
separator: string;
|
|
109
|
-
};
|
|
110
|
-
};
|
|
111
|
-
interactive: {
|
|
112
|
-
true: {
|
|
113
|
-
content: string;
|
|
114
|
-
};
|
|
115
|
-
};
|
|
116
|
-
marked: {
|
|
117
|
-
true: {
|
|
118
|
-
content: string;
|
|
119
|
-
};
|
|
120
|
-
false: {
|
|
121
|
-
content: string;
|
|
122
|
-
separator: string;
|
|
123
|
-
};
|
|
124
|
-
};
|
|
125
|
-
selected: {
|
|
126
|
-
true: {
|
|
127
|
-
content: string;
|
|
128
|
-
};
|
|
129
|
-
};
|
|
130
|
-
isFirst: {
|
|
131
|
-
true: {
|
|
132
|
-
separator: string;
|
|
133
|
-
};
|
|
134
|
-
};
|
|
135
|
-
isLast: {
|
|
136
|
-
true: {
|
|
137
|
-
separator: string;
|
|
138
|
-
};
|
|
139
|
-
};
|
|
140
|
-
disabled: {
|
|
141
|
-
true: {
|
|
142
|
-
container: string;
|
|
143
|
-
content: string;
|
|
144
|
-
};
|
|
145
|
-
};
|
|
146
|
-
}>, {
|
|
52
|
+
}, undefined, {
|
|
147
53
|
intent: {
|
|
148
54
|
success: {
|
|
149
55
|
separator: string;
|
|
@@ -245,98 +151,4 @@ export declare const StepNodeVariants: import("tailwind-variants").TVReturnType<
|
|
|
245
151
|
container: string;
|
|
246
152
|
content: string;
|
|
247
153
|
separator: string;
|
|
248
|
-
}, undefined,
|
|
249
|
-
intent: {
|
|
250
|
-
success: {
|
|
251
|
-
separator: string;
|
|
252
|
-
};
|
|
253
|
-
warning: {
|
|
254
|
-
separator: string;
|
|
255
|
-
};
|
|
256
|
-
error: {
|
|
257
|
-
separator: string;
|
|
258
|
-
};
|
|
259
|
-
};
|
|
260
|
-
interactive: {
|
|
261
|
-
true: {
|
|
262
|
-
content: string;
|
|
263
|
-
};
|
|
264
|
-
};
|
|
265
|
-
marked: {
|
|
266
|
-
true: {
|
|
267
|
-
content: string;
|
|
268
|
-
};
|
|
269
|
-
false: {
|
|
270
|
-
content: string;
|
|
271
|
-
separator: string;
|
|
272
|
-
};
|
|
273
|
-
};
|
|
274
|
-
selected: {
|
|
275
|
-
true: {
|
|
276
|
-
content: string;
|
|
277
|
-
};
|
|
278
|
-
};
|
|
279
|
-
isFirst: {
|
|
280
|
-
true: {
|
|
281
|
-
separator: string;
|
|
282
|
-
};
|
|
283
|
-
};
|
|
284
|
-
isLast: {
|
|
285
|
-
true: {
|
|
286
|
-
separator: string;
|
|
287
|
-
};
|
|
288
|
-
};
|
|
289
|
-
disabled: {
|
|
290
|
-
true: {
|
|
291
|
-
container: string;
|
|
292
|
-
content: string;
|
|
293
|
-
};
|
|
294
|
-
};
|
|
295
|
-
}, {
|
|
296
|
-
intent: {
|
|
297
|
-
success: {
|
|
298
|
-
separator: string;
|
|
299
|
-
};
|
|
300
|
-
warning: {
|
|
301
|
-
separator: string;
|
|
302
|
-
};
|
|
303
|
-
error: {
|
|
304
|
-
separator: string;
|
|
305
|
-
};
|
|
306
|
-
};
|
|
307
|
-
interactive: {
|
|
308
|
-
true: {
|
|
309
|
-
content: string;
|
|
310
|
-
};
|
|
311
|
-
};
|
|
312
|
-
marked: {
|
|
313
|
-
true: {
|
|
314
|
-
content: string;
|
|
315
|
-
};
|
|
316
|
-
false: {
|
|
317
|
-
content: string;
|
|
318
|
-
separator: string;
|
|
319
|
-
};
|
|
320
|
-
};
|
|
321
|
-
selected: {
|
|
322
|
-
true: {
|
|
323
|
-
content: string;
|
|
324
|
-
};
|
|
325
|
-
};
|
|
326
|
-
isFirst: {
|
|
327
|
-
true: {
|
|
328
|
-
separator: string;
|
|
329
|
-
};
|
|
330
|
-
};
|
|
331
|
-
isLast: {
|
|
332
|
-
true: {
|
|
333
|
-
separator: string;
|
|
334
|
-
};
|
|
335
|
-
};
|
|
336
|
-
disabled: {
|
|
337
|
-
true: {
|
|
338
|
-
container: string;
|
|
339
|
-
content: string;
|
|
340
|
-
};
|
|
341
|
-
};
|
|
342
|
-
}>, unknown, unknown, undefined>>;
|
|
154
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CalendarDateTime, Time } from '@internationalized/date';
|
|
2
2
|
import { TimeValue } from 'react-aria';
|
|
3
3
|
export declare const dateToCalendarDateTime: (value?: Date) => CalendarDateTime;
|
|
4
|
-
export declare const calendarDateToDate: (value?: CalendarDateTime) => Date | undefined;
|
|
5
|
-
export declare const timeFromTimeValue: (value?: TimeValue) => Time | undefined;
|
|
4
|
+
export declare const calendarDateToDate: (value?: CalendarDateTime | null) => Date | undefined;
|
|
5
|
+
export declare const timeFromTimeValue: (value?: TimeValue | null) => Time | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tecsinapse/cortex-react",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0",
|
|
4
4
|
"description": "React components based in @tecsinapse/cortex-core",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
@@ -19,20 +19,19 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@floating-ui/react": "^0.26.18",
|
|
22
|
-
"@internationalized/date": "
|
|
23
|
-
"@tecsinapse/cortex-core": "
|
|
24
|
-
"clsx": "
|
|
25
|
-
"currency.js": "
|
|
26
|
-
"react-aria": "
|
|
27
|
-
"react-dropzone": "
|
|
28
|
-
"react-icons": "
|
|
22
|
+
"@internationalized/date": "3.7.0",
|
|
23
|
+
"@tecsinapse/cortex-core": "1.1.0",
|
|
24
|
+
"clsx": "2.1.1",
|
|
25
|
+
"currency.js": "2.0.4",
|
|
26
|
+
"react-aria": "3.38.1",
|
|
27
|
+
"react-dropzone": "14.3.8",
|
|
28
|
+
"react-icons": "5.5.0",
|
|
29
29
|
"react-imask": "7.6.1",
|
|
30
|
-
"react-spring": "
|
|
31
|
-
"react-spring-carousel": "
|
|
32
|
-
"react-stately": "
|
|
33
|
-
"sonner": "
|
|
34
|
-
"
|
|
35
|
-
"uuid": "^10.0.0"
|
|
30
|
+
"react-spring": "9.7.5",
|
|
31
|
+
"react-spring-carousel": "2.0.19",
|
|
32
|
+
"react-stately": "3.36.1",
|
|
33
|
+
"sonner": "1.7.3",
|
|
34
|
+
"uuid": "11.1.0"
|
|
36
35
|
},
|
|
37
36
|
"repository": {
|
|
38
37
|
"type": "git",
|
|
@@ -48,5 +47,5 @@
|
|
|
48
47
|
"react-dom": ">=18.0.0",
|
|
49
48
|
"tailwind": ">=3.3.0"
|
|
50
49
|
},
|
|
51
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "e2db119fd66716080671d57c50c277f4dff667d4"
|
|
52
51
|
}
|