@trsys-tech/matrix-library 1.0.0-canary.7 → 1.0.1-canary-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/badge/Badge.d.ts +1 -1
- package/dist/components/button/Button.d.ts +1 -1
- package/dist/components/chip/Chip.d.ts +1 -1
- package/dist/components/data-grid/DataGrid.d.ts +132 -0
- package/dist/components/data-grid/DataGrid.d.ts.map +1 -1
- package/dist/components/date-picker/DesktopDatePicker.d.ts +3 -2
- package/dist/components/date-picker/DesktopDatePicker.d.ts.map +1 -1
- package/dist/components/date-picker/DesktopDateRangePicker.d.ts +3 -2
- package/dist/components/date-picker/DesktopDateRangePicker.d.ts.map +1 -1
- package/dist/components/date-picker/MobileDatePicker.d.ts +3 -2
- package/dist/components/date-picker/MobileDatePicker.d.ts.map +1 -1
- package/dist/components/date-picker/MobileDateRangePicker.d.ts +3 -2
- package/dist/components/date-picker/MobileDateRangePicker.d.ts.map +1 -1
- package/dist/components/duration/Duration.d.ts +1 -1
- package/dist/components/icon-botton/IconButton.d.ts +1 -1
- package/dist/components/label/Label.d.ts +1 -1
- package/dist/components/label/Label.d.ts.map +1 -1
- package/dist/components/multi-select/MultiSelect.d.ts +1 -1
- package/dist/components/progress/Progress.d.ts +1 -1
- package/dist/components/rating/Rating.d.ts +1 -1
- package/dist/components/sheet/Sheet.d.ts +1 -1
- package/dist/components/sidebar/Sidebar.d.ts +1 -1
- package/dist/components/switch/Switch.d.ts +1 -1
- package/dist/components/text-field/TextField.d.ts +1 -1
- package/dist/components/toast/toast-components.d.ts +1 -1
- package/dist/datagrid.es.js +200 -165
- package/dist/datagrid.es.js.map +1 -1
- package/dist/desktopdatepicker.es.js +28 -25
- package/dist/desktopdatepicker.es.js.map +1 -1
- package/dist/desktopdaterangepicker.es.js +19 -17
- package/dist/desktopdaterangepicker.es.js.map +1 -1
- package/dist/drawer.es.js +1 -1
- package/dist/drawer.es.js.map +1 -1
- package/dist/mobiledatepicker.es.js +22 -20
- package/dist/mobiledatepicker.es.js.map +1 -1
- package/dist/mobiledaterangepicker.es.js +24 -22
- package/dist/mobiledaterangepicker.es.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VariantProps, TVReturnType } from 'tailwind-variants';
|
|
2
|
-
import { TVConfig } from 'tailwind-variants/dist/config';
|
|
2
|
+
import { TVConfig } from 'tailwind-variants/dist/config.js';
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
declare const badgeVariants: TVReturnType<{
|
|
5
5
|
variant: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VariantProps, TVReturnType } from 'tailwind-variants';
|
|
2
|
-
import { TVConfig } from 'tailwind-variants/dist/config';
|
|
2
|
+
import { TVConfig } from 'tailwind-variants/dist/config.js';
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
declare const buttonVariants: TVReturnType<{
|
|
5
5
|
variant: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { VariantProps, TVReturnType } from 'tailwind-variants';
|
|
3
|
-
import { TVConfig } from 'tailwind-variants/dist/config';
|
|
3
|
+
import { TVConfig } from 'tailwind-variants/dist/config.js';
|
|
4
4
|
declare const chipVariants: TVReturnType<{
|
|
5
5
|
variant: {
|
|
6
6
|
primary: string;
|
|
@@ -4,7 +4,14 @@ import { GridApi, Theme, ThemeDefaultParams } from 'ag-grid-community';
|
|
|
4
4
|
import { ButtonProps } from '../button/Button';
|
|
5
5
|
import { IconButtonProps } from '../icon-botton/IconButton';
|
|
6
6
|
import { PopoverContentProps, PopoverProps, PopoverTriggerProps } from '../popover/Popover';
|
|
7
|
+
type ResolveRowId = (data: unknown) => string | undefined;
|
|
8
|
+
/**
|
|
9
|
+
* Default ag-Grid theme used by DataGrid.
|
|
10
|
+
*/
|
|
7
11
|
declare const dataGridDefaultTheme: Theme< ThemeDefaultParams>;
|
|
12
|
+
/**
|
|
13
|
+
* Shared DataGrid state exposed through context.
|
|
14
|
+
*/
|
|
8
15
|
type DataGridContext = {
|
|
9
16
|
api: GridApi | null;
|
|
10
17
|
setApi: (value: GridApi) => void;
|
|
@@ -19,47 +26,172 @@ type DataGridContext = {
|
|
|
19
26
|
setActionbarHeight: (value: number) => void;
|
|
20
27
|
pinnedRowIds: Set<string>;
|
|
21
28
|
setPinnedRowIds: (value: Set<string>) => void;
|
|
29
|
+
resolveRowIdRef: React.MutableRefObject<ResolveRowId>;
|
|
22
30
|
};
|
|
23
31
|
declare const DataGridContext: React.Context<DataGridContext | null>;
|
|
32
|
+
/**
|
|
33
|
+
* Returns the current DataGrid context.
|
|
34
|
+
*/
|
|
24
35
|
declare const useDataGrid: () => DataGridContext;
|
|
36
|
+
/**
|
|
37
|
+
* Props for the root DataGrid provider.
|
|
38
|
+
*/
|
|
25
39
|
type DataGridProps = {
|
|
40
|
+
/** Content rendered inside the provider. */
|
|
26
41
|
children: React.ReactNode;
|
|
27
42
|
};
|
|
43
|
+
/**
|
|
44
|
+
* DataGrid provider.
|
|
45
|
+
* Provides shared state for the grid shell, content, and toolbar actions.
|
|
46
|
+
* @param {DataGridProps} props - DataGrid props.
|
|
47
|
+
* @param {React.ReactNode} children - Content rendered inside the provider.
|
|
48
|
+
* @returns {React.ReactElement}
|
|
49
|
+
*/
|
|
28
50
|
declare const DataGrid: React.FC<DataGridProps>;
|
|
51
|
+
/**
|
|
52
|
+
* Props for the Ag Grid content wrapper.
|
|
53
|
+
*/
|
|
29
54
|
type DataGridContentProps = Omit<AgGridReactProps, "theme"> & {
|
|
55
|
+
/** Optional theme override forwarded to ag-Grid. */
|
|
30
56
|
theme?: Theme;
|
|
31
57
|
};
|
|
58
|
+
/**
|
|
59
|
+
* DataGridContent component.
|
|
60
|
+
* Connects ag-Grid to the shared DataGrid context and keeps pinned rows separate from the main row set.
|
|
61
|
+
* @param {DataGridContentProps} props - Ag Grid props.
|
|
62
|
+
* @param {Theme} [theme] - Optional ag-Grid theme override.
|
|
63
|
+
* @param {GridReadyEvent} [onGridReady] - Called when the grid becomes ready.
|
|
64
|
+
* @param {any[] | null | undefined} [rowData] - Row data rendered by the grid.
|
|
65
|
+
* @param {string} [quickFilterText] - Quick filter text synced from the search action.
|
|
66
|
+
* @param {React.CSSProperties} [containerStyle] - Inline styles applied to the grid container.
|
|
67
|
+
* @param {Function} [getRowId] - Resolves the row id used to keep pinned rows stable.
|
|
68
|
+
* @param {React.ForwardedRef<AgGridReact>} ref - Grid ref.
|
|
69
|
+
* @returns {React.ReactElement}
|
|
70
|
+
*/
|
|
32
71
|
declare const DataGridContent: React.ForwardRefExoticComponent<Omit<AgGridReactProps<any>, "theme"> & {
|
|
72
|
+
/** Optional theme override forwarded to ag-Grid. */
|
|
33
73
|
theme?: Theme;
|
|
34
74
|
} & React.RefAttributes<AgGridReact<any>>>;
|
|
75
|
+
/**
|
|
76
|
+
* Props for the DataGrid action bar container.
|
|
77
|
+
*/
|
|
35
78
|
type DatagridActionBarProps = HTMLAttributes<HTMLDivElement> & {};
|
|
79
|
+
/**
|
|
80
|
+
* DataGrid action bar.
|
|
81
|
+
* Marks the grid as having a toolbar so the grid can adjust border radius and height.
|
|
82
|
+
* @param {DatagridActionBarProps} props - Action bar props.
|
|
83
|
+
* @param {React.ReactNode} children - Action bar content.
|
|
84
|
+
* @param {string} className - Additional classes applied to the action bar.
|
|
85
|
+
* @returns {React.ReactElement}
|
|
86
|
+
*/
|
|
36
87
|
declare const DataGridActionBar: React.FC<DatagridActionBarProps>;
|
|
88
|
+
/**
|
|
89
|
+
* Props for SearchAction.
|
|
90
|
+
*/
|
|
37
91
|
type SearchActionProps = HTMLAttributes<HTMLDivElement> & {
|
|
92
|
+
/** Opens the search input immediately on mount. */
|
|
38
93
|
defaultOpen?: boolean;
|
|
94
|
+
/** Focuses the input the first time it opens. */
|
|
95
|
+
defaultOpenAutoFocus?: boolean;
|
|
39
96
|
};
|
|
97
|
+
/**
|
|
98
|
+
* Search action.
|
|
99
|
+
* Toggles the quick filter input and manages its open/close focus behavior.
|
|
100
|
+
* @param {SearchActionProps} props - Search action props.
|
|
101
|
+
* @param {boolean} [defaultOpen] - Opens the search input immediately on mount.
|
|
102
|
+
* @param {boolean} [defaultOpenAutoFocus] - Focuses the input the first time it opens.
|
|
103
|
+
* @param {React.ReactNode} children - Optional wrapper content.
|
|
104
|
+
* @param {string} className - Additional wrapper classes.
|
|
105
|
+
* @returns {React.ReactElement}
|
|
106
|
+
*/
|
|
40
107
|
declare const SearchAction: React.FC<SearchActionProps>;
|
|
108
|
+
/**
|
|
109
|
+
* Props for FreezeAction.
|
|
110
|
+
*/
|
|
41
111
|
type FreezeActionProps = ButtonProps & {
|
|
112
|
+
/** Label shown when rows can be frozen. */
|
|
42
113
|
freezeText?: string;
|
|
114
|
+
/** Label shown when rows are already frozen. */
|
|
43
115
|
unFreezeText?: string;
|
|
44
116
|
};
|
|
117
|
+
/**
|
|
118
|
+
* Freeze action.
|
|
119
|
+
* Pins the current selection when rows are selected, or clears pinned rows when the grid is already frozen.
|
|
120
|
+
* @param {FreezeActionProps} props - Freeze action props.
|
|
121
|
+
* @param {boolean} [disabled] - Disables the action button.
|
|
122
|
+
* @param {React.MouseEventHandler<HTMLButtonElement>} [onClick] - Called after the freeze toggle runs.
|
|
123
|
+
* @returns {React.ReactElement}
|
|
124
|
+
*/
|
|
45
125
|
declare const FreezeAction: React.FC<FreezeActionProps>;
|
|
126
|
+
/**
|
|
127
|
+
* Props for PrintAction.
|
|
128
|
+
*/
|
|
46
129
|
type PrintActionProps = IconButtonProps & {};
|
|
130
|
+
/**
|
|
131
|
+
* Print action.
|
|
132
|
+
* Switches the grid to print layout, captures the rendered markup, and opens the browser print flow.
|
|
133
|
+
* @param {PrintActionProps} props - Print action props.
|
|
134
|
+
* @param {React.ReactNode} [children] - Custom icon content rendered in the button.
|
|
135
|
+
* @param {string} [className] - Additional button classes.
|
|
136
|
+
* @param {React.MouseEventHandler<HTMLButtonElement>} [onClick] - Called after printing is triggered.
|
|
137
|
+
* @returns {React.ReactElement}
|
|
138
|
+
*/
|
|
47
139
|
declare const PrintAction: React.FC<PrintActionProps>;
|
|
140
|
+
/**
|
|
141
|
+
* Props for RefreshAction.
|
|
142
|
+
*/
|
|
48
143
|
type RefreshActionProps = Omit<IconButtonProps, "onClick"> & {
|
|
144
|
+
/** Callback invoked when the refresh action is clicked. */
|
|
49
145
|
onRefresh: () => void;
|
|
50
146
|
};
|
|
147
|
+
/**
|
|
148
|
+
* Refresh action.
|
|
149
|
+
* Calls the provided refresh callback and reflects the loading state in the toolbar button.
|
|
150
|
+
* @param {RefreshActionProps} props - Refresh action props.
|
|
151
|
+
* @param {() => void} onRefresh - Called when the button is clicked.
|
|
152
|
+
* @param {boolean} [loading] - Shows the loading spinner and disables the button.
|
|
153
|
+
* @param {React.ReactNode} [children] - Custom icon content rendered in the button.
|
|
154
|
+
* @param {string} [className] - Additional button classes.
|
|
155
|
+
* @returns {React.ReactElement}
|
|
156
|
+
*/
|
|
51
157
|
declare const RefreshAction: React.FC<RefreshActionProps>;
|
|
158
|
+
/**
|
|
159
|
+
* Props for DeleteAction.
|
|
160
|
+
*/
|
|
52
161
|
type DeleteActionProps = Omit<ButtonProps, "onClick"> & {
|
|
162
|
+
/** Callback invoked when the delete action is clicked. */
|
|
53
163
|
onDelete: () => void;
|
|
54
164
|
};
|
|
165
|
+
/**
|
|
166
|
+
* Delete action.
|
|
167
|
+
* Renders a danger button with the delete icon and delegates the click to the provided handler.
|
|
168
|
+
* @param {DeleteActionProps} props - Delete action props.
|
|
169
|
+
* @param {() => void} onDelete - Called when the button is clicked.
|
|
170
|
+
* @param {React.ReactNode} [children] - Button label or custom content.
|
|
171
|
+
* @returns {React.ReactElement}
|
|
172
|
+
*/
|
|
55
173
|
declare const DeleteAction: React.FC<DeleteActionProps>;
|
|
174
|
+
/**
|
|
175
|
+
* Props for ExtraActions.
|
|
176
|
+
*/
|
|
56
177
|
type ExtraActionsProps = PopoverContentProps & {
|
|
178
|
+
/** Menu items rendered inside the popover. */
|
|
57
179
|
children: React.ReactNode;
|
|
180
|
+
/** Props forwarded to the popover trigger and popover root. */
|
|
58
181
|
slotProps?: {
|
|
59
182
|
triggerProps?: PopoverTriggerProps;
|
|
60
183
|
popoverProps?: PopoverProps;
|
|
61
184
|
};
|
|
62
185
|
};
|
|
186
|
+
/**
|
|
187
|
+
* Extra actions menu.
|
|
188
|
+
* Wraps overflow actions in a popover anchored to the vertical ellipsis trigger.
|
|
189
|
+
* @param {ExtraActionsProps} props - Extra actions props.
|
|
190
|
+
* @param {React.ReactNode} children - Menu items rendered inside the popover.
|
|
191
|
+
* @param {{ triggerProps?: PopoverTriggerProps; popoverProps?: PopoverProps; }} [slotProps] - Props forwarded to the trigger and popover root.
|
|
192
|
+
* @param {string} [className] - Additional popover content classes.
|
|
193
|
+
* @returns {React.ReactElement}
|
|
194
|
+
*/
|
|
63
195
|
declare const ExtraActions: React.FC<ExtraActionsProps>;
|
|
64
196
|
export { DataGrid, DataGridContent, DataGridActionBar, SearchAction, FreezeAction, PrintAction, RefreshAction, ExtraActions, DeleteAction, type DataGridProps, type DataGridContentProps, type DatagridActionBarProps, type SearchActionProps, type FreezeActionProps, type RefreshActionProps, type ExtraActionsProps, type DeleteActionProps, useDataGrid, dataGridDefaultTheme, };
|
|
65
197
|
//# sourceMappingURL=DataGrid.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataGrid.d.ts","sourceRoot":"","sources":["../../../src/components/data-grid/DataGrid.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAc,cAAc,EAAW,MAAM,OAAO,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAmE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAMpH,OAAO,EAAU,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAc,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YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAW7C,CAAC;AAEF,OAAO,EACL,QAAQ,EACR,eAAe,EACf,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,KAAK,aAAa,EAClB,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,WAAW,EACX,oBAAoB,GACrB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PropsBase, PropsSingle } from 'react-day-picker';
|
|
1
|
+
import { PropsBase, PropsSingle, Matcher } from 'react-day-picker';
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
type DesktopDatePickerProps = PropsBase & Omit<PropsSingle, "mode"> & {
|
|
3
|
+
type DesktopDatePickerProps = Omit<PropsBase, "disabled"> & Omit<PropsSingle, "mode" | "disabled"> & {
|
|
4
4
|
formatStr?: string;
|
|
5
5
|
placeholder?: string;
|
|
6
6
|
calendarClassName?: string;
|
|
@@ -8,6 +8,7 @@ type DesktopDatePickerProps = PropsBase & Omit<PropsSingle, "mode"> & {
|
|
|
8
8
|
required?: boolean;
|
|
9
9
|
closeOnSelect?: boolean;
|
|
10
10
|
disabled?: boolean;
|
|
11
|
+
disabledDates?: Matcher | Matcher[];
|
|
11
12
|
};
|
|
12
13
|
declare const DesktopDatePicker: React.FC<DesktopDatePickerProps>;
|
|
13
14
|
export { DesktopDatePicker, type DesktopDatePickerProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DesktopDatePicker.d.ts","sourceRoot":"","sources":["../../../src/components/date-picker/DesktopDatePicker.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,SAAS,EAAE,WAAW,EAAmB,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"DesktopDatePicker.d.ts","sourceRoot":"","sources":["../../../src/components/date-picker/DesktopDatePicker.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,SAAS,EAAE,WAAW,EAAmB,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAOpF,KAAK,sBAAsB,GAAG,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,GACvD,IAAI,CAAC,WAAW,EAAE,MAAM,GAAG,UAAU,CAAC,GAAG;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,IAAI,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,EAAE,CAAC;CACrC,CAAC;AAEJ,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAsDvD,CAAC;AAEF,OAAO,EAAE,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PropsBase, PropsRange, DateRange } from 'react-day-picker';
|
|
1
|
+
import { PropsBase, PropsRange, DateRange, Matcher } from 'react-day-picker';
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
type DesktopDateRangePickerProps = PropsBase & Omit<PropsRange, "mode"> & {
|
|
3
|
+
type DesktopDateRangePickerProps = Omit<PropsBase, "disabled"> & Omit<PropsRange, "mode" | "disabled"> & {
|
|
4
4
|
formatStr?: string;
|
|
5
5
|
placeholder?: string;
|
|
6
6
|
calendarClassName?: string;
|
|
@@ -9,6 +9,7 @@ type DesktopDateRangePickerProps = PropsBase & Omit<PropsRange, "mode"> & {
|
|
|
9
9
|
fromText?: string;
|
|
10
10
|
toText?: string;
|
|
11
11
|
disabled?: boolean;
|
|
12
|
+
disabledDates?: Matcher | Matcher[];
|
|
12
13
|
};
|
|
13
14
|
declare const DesktopDateRangePicker: React.FC<DesktopDateRangePickerProps>;
|
|
14
15
|
export { DesktopDateRangePicker, type DesktopDateRangePickerProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DesktopDateRangePicker.d.ts","sourceRoot":"","sources":["../../../src/components/date-picker/DesktopDateRangePicker.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DesktopDateRangePicker.d.ts","sourceRoot":"","sources":["../../../src/components/date-picker/DesktopDateRangePicker.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAO7E,KAAK,2BAA2B,GAAG,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,GAC5D,IAAI,CAAC,UAAU,EAAE,MAAM,GAAG,UAAU,CAAC,GAAG;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,EAAE,CAAC;CACrC,CAAC;AAEJ,QAAA,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,2BAA2B,CAmEjE,CAAC;AAEF,OAAO,EAAE,sBAAsB,EAAE,KAAK,2BAA2B,EAAE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PropsBase, PropsSingle } from 'react-day-picker';
|
|
1
|
+
import { Matcher, PropsBase, PropsSingle } from 'react-day-picker';
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
type MobileDatePickerProps = PropsBase & Omit<PropsSingle, "mode"> & {
|
|
3
|
+
type MobileDatePickerProps = Omit<PropsBase, "disabled"> & Omit<PropsSingle, "mode" | "disabled"> & {
|
|
4
4
|
formatStr?: string;
|
|
5
5
|
placeholder?: string;
|
|
6
6
|
calendarClassName?: string;
|
|
@@ -10,6 +10,7 @@ type MobileDatePickerProps = PropsBase & Omit<PropsSingle, "mode"> & {
|
|
|
10
10
|
applyText?: string;
|
|
11
11
|
onSelect?: (date: Date | undefined) => void;
|
|
12
12
|
disabled?: boolean;
|
|
13
|
+
disabledDates?: Matcher | Matcher[];
|
|
13
14
|
};
|
|
14
15
|
declare const MobileDatePicker: React.FC<MobileDatePickerProps>;
|
|
15
16
|
export { MobileDatePicker, type MobileDatePickerProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MobileDatePicker.d.ts","sourceRoot":"","sources":["../../../src/components/date-picker/MobileDatePicker.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"MobileDatePicker.d.ts","sourceRoot":"","sources":["../../../src/components/date-picker/MobileDatePicker.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAQnE,KAAK,qBAAqB,GAAG,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,GACtD,IAAI,CAAC,WAAW,EAAE,MAAM,GAAG,UAAU,CAAC,GAAG;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,IAAI,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,KAAK,IAAI,CAAC;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,EAAE,CAAC;CACrC,CAAC;AAEJ,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAkFrD,CAAC;AAEF,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PropsBase, PropsRange, DateRange } from 'react-day-picker';
|
|
1
|
+
import { PropsBase, PropsRange, DateRange, Matcher } from 'react-day-picker';
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
type MobileDateRangePickerProps = PropsBase & Omit<PropsRange, "mode"> & {
|
|
3
|
+
type MobileDateRangePickerProps = Omit<PropsBase, "disabled"> & Omit<PropsRange, "mode" | "disabled"> & {
|
|
4
4
|
formatStr?: string;
|
|
5
5
|
placeholder?: string;
|
|
6
6
|
calendarClassName?: string;
|
|
@@ -12,6 +12,7 @@ type MobileDateRangePickerProps = PropsBase & Omit<PropsRange, "mode"> & {
|
|
|
12
12
|
fromText?: string;
|
|
13
13
|
toText?: string;
|
|
14
14
|
disabled?: boolean;
|
|
15
|
+
disabledDates?: Matcher | Matcher[];
|
|
15
16
|
};
|
|
16
17
|
declare const MobileDateRangePicker: React.FC<MobileDateRangePickerProps>;
|
|
17
18
|
export { MobileDateRangePicker, type MobileDateRangePickerProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MobileDateRangePicker.d.ts","sourceRoot":"","sources":["../../../src/components/date-picker/MobileDateRangePicker.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAmB,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"MobileDateRangePicker.d.ts","sourceRoot":"","sources":["../../../src/components/date-picker/MobileDateRangePicker.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAmB,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAO9F,KAAK,0BAA0B,GAAG,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,GAC3D,IAAI,CAAC,UAAU,EAAE,MAAM,GAAG,UAAU,CAAC,GAAG;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,GAAG,SAAS,KAAK,IAAI,CAAC;IACjD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,EAAE,CAAC;CACrC,CAAC;AAEJ,QAAA,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,CAgI/D,CAAC;AAEF,OAAO,EAAE,qBAAqB,EAAE,KAAK,0BAA0B,EAAE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VariantProps, TVReturnType } from 'tailwind-variants';
|
|
2
|
-
import { TVConfig } from 'tailwind-variants/dist/config';
|
|
2
|
+
import { TVConfig } from 'tailwind-variants/dist/config.js';
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
declare const textFieldVariants: TVReturnType<{
|
|
5
5
|
size: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { VariantProps, TVReturnType } from 'tailwind-variants';
|
|
3
|
-
import { TVConfig } from 'tailwind-variants/dist/config';
|
|
3
|
+
import { TVConfig } from 'tailwind-variants/dist/config.js';
|
|
4
4
|
declare const iconButtonVariants: TVReturnType<{
|
|
5
5
|
variant: {
|
|
6
6
|
table: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VariantProps, TVReturnType } from 'tailwind-variants';
|
|
2
|
-
import { TVConfig } from 'tailwind-variants/dist/config';
|
|
2
|
+
import { TVConfig } from 'tailwind-variants/dist/config.js';
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
declare const Label: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & VariantProps< TVReturnType<{} | {} | {}, undefined, "mtx-text-xs mtx-font-medium peer-disabled:mtx-cursor-not-allowed peer-disabled:mtx-opacity-70", TVConfig<unknown, {} | {}>, {} | {}, undefined, TVReturnType<unknown, undefined, "mtx-text-xs mtx-font-medium peer-disabled:mtx-cursor-not-allowed peer-disabled:mtx-opacity-70", TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>> & React.RefAttributes<HTMLLabelElement>>;
|
|
5
5
|
type LabelProps = React.ComponentProps<typeof Label>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../src/components/label/Label.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAM1D,QAAA,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../src/components/label/Label.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAM1D,QAAA,MAAM,KAAK,+rBAEV,CAAC;AAEF,KAAK,UAAU,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,KAAK,CAAC,CAAC;AAErD,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VariantProps, TVReturnType } from 'tailwind-variants';
|
|
2
|
-
import { TVConfig } from 'tailwind-variants/dist/config';
|
|
2
|
+
import { TVConfig } from 'tailwind-variants/dist/config.js';
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
/**
|
|
5
5
|
* Variants for the multi-select component to handle different styles.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VariantProps, TVReturnType } from 'tailwind-variants';
|
|
2
|
-
import { TVConfig } from 'tailwind-variants/dist/config';
|
|
2
|
+
import { TVConfig } from 'tailwind-variants/dist/config.js';
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import * as ProgressPrimitive from "@radix-ui/react-progress";
|
|
5
5
|
declare const progressVariants: TVReturnType<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { VariantProps, TVReturnType } from 'tailwind-variants';
|
|
3
|
-
import { TVConfig } from 'tailwind-variants/dist/config';
|
|
3
|
+
import { TVConfig } from 'tailwind-variants/dist/config.js';
|
|
4
4
|
declare const ratingVariants: TVReturnType<{
|
|
5
5
|
variant: {
|
|
6
6
|
default: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DialogProps as SheetProps, DialogTriggerProps as SheetTriggerProps, DialogCloseProps as SheetCloseProps, DialogPortalProps as SheetPortalProps, DialogOverlayProps as SheetOverlayProps, DialogDescriptionProps as SheetDescriptionProps, DialogTitleProps as SheetTitleProps } from '@radix-ui/react-dialog';
|
|
2
2
|
import { VariantProps, TVReturnType } from 'tailwind-variants';
|
|
3
|
-
import { TVConfig } from 'tailwind-variants/dist/config';
|
|
3
|
+
import { TVConfig } from 'tailwind-variants/dist/config.js';
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
|
6
6
|
declare const Sheet: React.FC<SheetPrimitive.DialogProps>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VariantProps, TVReturnType } from 'tailwind-variants';
|
|
2
2
|
import { TooltipContent } from '../tooltip/Tooltip';
|
|
3
3
|
import { SeparatorProps } from '@radix-ui/react-separator';
|
|
4
|
-
import { TVConfig } from 'tailwind-variants/dist/config';
|
|
4
|
+
import { TVConfig } from 'tailwind-variants/dist/config.js';
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
type SidebarContext = {
|
|
7
7
|
state: "expanded" | "collapsed";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VariantProps, TVReturnType } from 'tailwind-variants';
|
|
2
|
-
import { TVConfig } from 'tailwind-variants/dist/config';
|
|
2
|
+
import { TVConfig } from 'tailwind-variants/dist/config.js';
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import * as SwitchPrimitives from "@radix-ui/react-switch";
|
|
5
5
|
declare const switchVariants: TVReturnType<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VariantProps, TVReturnType } from 'tailwind-variants';
|
|
2
|
-
import { TVConfig } from 'tailwind-variants/dist/config';
|
|
2
|
+
import { TVConfig } from 'tailwind-variants/dist/config.js';
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
declare const textFieldVariants: TVReturnType<{
|
|
5
5
|
size: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VariantProps, TVReturnType } from 'tailwind-variants';
|
|
2
|
-
import { TVConfig } from 'tailwind-variants/dist/config';
|
|
2
|
+
import { TVConfig } from 'tailwind-variants/dist/config.js';
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import * as ToastPrimitives from "@radix-ui/react-toast";
|
|
5
5
|
declare const ToastProvider: React.FC<ToastPrimitives.ToastProviderProps>;
|