@majoo-ui/react 1.61.11-rc.3 → 1.61.11-rc.5
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/index.esm.d.ts +1 -0
- package/index.esm.js +18049 -8173
- package/package.json +39 -60
- package/src/components/accordion/Accordion.d.ts +36 -0
- package/{components → src/components}/barChart/BarChart.d.ts +1 -1
- package/{components → src/components}/card/Card.d.ts +1 -1
- package/{components → src/components}/chart/lineChart/LineChart.d.ts +1 -1
- package/{components → src/components}/chart/lineChart/components/Comparator.d.ts +1 -2
- package/{components → src/components}/chart/lineChart/components/ComparatorController.d.ts +1 -2
- package/{components → src/components}/chart/lineChart/components/ComparatorItem.d.ts +1 -2
- package/{components → src/components}/chart/lineChart/components/ProductList.d.ts +1 -2
- package/{components → src/components}/chart/lineChart/components/TitleLegend.d.ts +1 -2
- package/{components → src/components}/chart/lineChart/components/Tooltip.d.ts +1 -1
- package/{components → src/components}/checkboxTable/CheckboxTable.d.ts +1 -2
- package/{components → src/components}/checkboxTable/transition.d.ts +1 -2
- package/{components → src/components}/contentEditor/ContentEditor.d.ts +1 -2
- package/{components → src/components}/contextMenu/ContextMenu.d.ts +3 -3
- package/{components → src/components}/datePicker/AdvancedOption.d.ts +1 -2
- package/{components → src/components}/datePicker/CustomDatePicker.d.ts +1 -1
- package/{components → src/components}/datePicker/DatePicker.d.ts +1 -2
- package/{components → src/components}/datePicker/InputDatePicker.d.ts +1 -1
- package/{components → src/components}/datePicker/InputDateRangePicker.d.ts +2 -2
- package/{components → src/components}/datePicker/components/Calendar.d.ts +1 -1
- package/{components → src/components}/datePicker/components/CalendarTimePicker.d.ts +1 -1
- package/{components → src/components}/datePicker/components/MobileCalendar.d.ts +1 -2
- package/{components → src/components}/devicePreview/DevicePreview.d.ts +4 -1
- package/{components → src/components}/dialog/Dialog.d.ts +10 -9
- package/{components → src/components}/editableTable/Columns.d.ts +1 -2
- package/{components → src/components}/editableTable/EditableMobile.d.ts +1 -2
- package/{components → src/components}/editableTable/EditableTable.d.ts +4 -4
- package/{components → src/components}/form/components/InputOTP/InputOTP.d.ts +2 -2
- package/{components → src/components}/form/components/InputResourceList/InputResourceList.d.ts +1 -1
- package/{components → src/components}/form/components/InputResourceList/ResourceList.d.ts +1 -2
- package/{components → src/components}/form/components/InputSelect/InputSelect.backup.d.ts +3 -3
- package/{components → src/components}/form/components/InputSelectCheck/OptionGroupItem.d.ts +1 -2
- package/{components → src/components}/form/components/InputSignature/InputSignature.d.ts +1 -2
- package/{components → src/components}/loadingBar/LoadingBar.d.ts +1 -1
- package/src/components/mapPicker/InputMapPicker.d.ts +3 -0
- package/{components → src/components}/mapPicker/MapPicker.d.ts +1 -2
- package/{components → src/components}/modalDialog/ModalDialog.d.ts +2 -2
- package/{components → src/components}/pageDialog/PageDialog.d.ts +16 -11
- package/{components → src/components}/pieChart/PieChart.d.ts +1 -1
- package/{components → src/components}/progressIndicator/ProgressIndicator.d.ts +1 -1
- package/{components → src/components}/skeleton/Skeleton.d.ts +1 -2
- package/{components → src/components}/stepWizard/index.d.ts +1 -1
- package/{components → src/components}/table/Table.d.ts +1 -1
- package/{components → src/components}/tableOfContent/index.d.ts +1 -1
- package/{components → src/components}/tagList/TagList.d.ts +1 -2
- package/src/foundations/indices/Indices.d.ts +1 -0
- package/src/foundations/radii/Radii.d.ts +1 -0
- package/src/foundations/space/Space.d.ts +1 -0
- package/{foundations → src/foundations}/typography/Typography.d.ts +1 -2
- package/components/accordion/Accordion.d.ts +0 -37
- package/components/mapPicker/InputMapPicker.d.ts +0 -4
- package/foundations/indices/Indices.d.ts +0 -2
- package/foundations/radii/Radii.d.ts +0 -2
- package/foundations/space/Space.d.ts +0 -2
- package/index.umd.css +0 -1296
- package/index.umd.js +0 -58648
- /package/{colors → src/colors}/index.d.ts +0 -0
- /package/{components → src/components}/accordion/index.d.ts +0 -0
- /package/{components → src/components}/alert-backup/index.backup.d.ts +0 -0
- /package/{components → src/components}/barChart/index.d.ts +0 -0
- /package/{components → src/components}/breadcrumb/index.d.ts +0 -0
- /package/{components → src/components}/button/Button.d.ts +0 -0
- /package/{components → src/components}/button/index.d.ts +0 -0
- /package/{components → src/components}/card/index.d.ts +0 -0
- /package/{components → src/components}/chart/index.d.ts +0 -0
- /package/{components → src/components}/chart/lineChart/index.d.ts +0 -0
- /package/{components → src/components}/chart/utils/index.d.ts +0 -0
- /package/{components → src/components}/checkboxTable/index.d.ts +0 -0
- /package/{components → src/components}/contentEditor/index.d.ts +0 -0
- /package/{components → src/components}/contextMenu/index.d.ts +0 -0
- /package/{components → src/components}/datePicker/components/DateNumber.d.ts +0 -0
- /package/{components → src/components}/datePicker/components/index.d.ts +0 -0
- /package/{components → src/components}/datePicker/index.d.ts +0 -0
- /package/{components → src/components}/datePicker/state/reducer.d.ts +0 -0
- /package/{components → src/components}/datePicker/timePicker/index.d.ts +0 -0
- /package/{components → src/components}/devicePreview/index.d.ts +0 -0
- /package/{components → src/components}/dialog/index.d.ts +0 -0
- /package/{components → src/components}/editableTable/faker.d.ts +0 -0
- /package/{components → src/components}/editableTable/index.d.ts +0 -0
- /package/{components → src/components}/form/components/InputCombobox/InputCombobox.backup.d.ts +0 -0
- /package/{components → src/components}/form/components/InputCombobox/InputCombobox.d.ts +0 -0
- /package/{components → src/components}/form/components/InputCombobox/index.d.ts +0 -0
- /package/{components → src/components}/form/components/InputCounter/InputCounter.d.ts +0 -0
- /package/{components → src/components}/form/components/InputCounter/index.d.ts +0 -0
- /package/{components → src/components}/form/components/InputDateRange/InputDateRange.d.ts +0 -0
- /package/{components → src/components}/form/components/InputDateRange/index.d.ts +0 -0
- /package/{components → src/components}/form/components/InputElement/index.d.ts +0 -0
- /package/{components → src/components}/form/components/InputGroup/index.d.ts +0 -0
- /package/{components → src/components}/form/components/InputOTP/index.d.ts +0 -0
- /package/{components → src/components}/form/components/InputSelect/InputSelect.d.ts +0 -0
- /package/{components → src/components}/form/components/InputSelect/index.d.ts +0 -0
- /package/{components → src/components}/form/components/InputSignature/SignatureModal.d.ts +0 -0
- /package/{components → src/components}/form/components/InputSignature/index.d.ts +0 -0
- /package/{components → src/components}/form/components/InputText/index.d.ts +0 -0
- /package/{components → src/components}/form/components/index.d.ts +0 -0
- /package/{components → src/components}/form/index.d.ts +0 -0
- /package/{components → src/components}/heading/Heading.d.ts +0 -0
- /package/{components → src/components}/heading/index.d.ts +0 -0
- /package/{components → src/components}/image/index.d.ts +0 -0
- /package/{components → src/components}/index.d.ts +0 -0
- /package/{components → src/components}/link/Link.d.ts +0 -0
- /package/{components → src/components}/link/index.d.ts +0 -0
- /package/{components → src/components}/loadingBar/index.d.ts +0 -0
- /package/{components → src/components}/mapPicker/index.d.ts +0 -0
- /package/{components → src/components}/mapPicker/types/index.d.ts +0 -0
- /package/{components → src/components}/modalDialog/index.d.ts +0 -0
- /package/{components → src/components}/pageDialog/index.d.ts +0 -0
- /package/{components → src/components}/paragraph/index.d.ts +0 -0
- /package/{components → src/components}/pieChart/index.d.ts +0 -0
- /package/{components → src/components}/progressIndicator/index.d.ts +0 -0
- /package/{components → src/components}/scrollSync/ScrollSync.d.ts +0 -0
- /package/{components → src/components}/scrollSync/ScrollSyncNode.d.ts +0 -0
- /package/{components → src/components}/scrollSync/index.d.ts +0 -0
- /package/{components → src/components}/scrollSync/utils.d.ts +0 -0
- /package/{components → src/components}/separator/index.d.ts +0 -0
- /package/{components → src/components}/skeleton/index.d.ts +0 -0
- /package/{components → src/components}/table/MobileTable.d.ts +0 -0
- /package/{components → src/components}/table/index.d.ts +0 -0
- /package/{components → src/components}/tagList/index.d.ts +0 -0
- /package/{components → src/components}/text/index.d.ts +0 -0
- /package/{components → src/components}/upload/utils/canvasPreview.d.ts +0 -0
- /package/{components → src/components}/upload/utils/imgPreview.d.ts +0 -0
- /package/{config → src/config}/stitches.config.d.ts +0 -0
- /package/{hooks → src/hooks}/index.d.ts +0 -0
- /package/{hooks → src/hooks}/useListOption/useListOption.d.ts +0 -0
- /package/{hooks → src/hooks}/useToggle/useToggle.d.ts +0 -0
- /package/{index.d.ts → src/index.d.ts} +0 -0
- /package/{layout → src/layout}/box/index.d.ts +0 -0
- /package/{layout → src/layout}/flex/index.d.ts +0 -0
- /package/{layout → src/layout}/grid/index.d.ts +0 -0
- /package/{layout → src/layout}/index.d.ts +0 -0
- /package/{type → src/type}/base.types.d.ts +0 -0
- /package/{type → src/type}/stitches.types.d.ts +0 -0
- /package/{utils → src/utils}/request.d.ts +0 -0
- /package/{utils → src/utils}/useNavigatorOnline.d.ts +0 -0
- /package/{utils → src/utils}/variant.d.ts +0 -0
package/package.json
CHANGED
|
@@ -1,77 +1,56 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@majoo-ui/react",
|
|
3
|
-
"version": "1.61.11-rc.
|
|
3
|
+
"version": "1.61.11-rc.5",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"react": "17.0.2",
|
|
6
|
+
"react-dom": "17.0.2"
|
|
7
|
+
},
|
|
4
8
|
"dependencies": {
|
|
5
|
-
"@majoo-ui/core": "^1.31.4",
|
|
6
|
-
"@majoo-ui/helpers": "^1.30.5",
|
|
7
|
-
"@majoo-ui/icons": "1.38.27",
|
|
8
|
-
"@stitches/react": "^1.2.8",
|
|
9
|
-
"@radix-ui/react-alert-dialog": "1.0.3",
|
|
10
|
-
"@radix-ui/react-avatar": "1.0.0",
|
|
11
|
-
"@radix-ui/react-aspect-ratio": "1.0.0",
|
|
12
|
-
"@radix-ui/react-dropdown-menu": "1.0.0",
|
|
13
|
-
"@radix-ui/react-popover": "1.0.0",
|
|
14
|
-
"@radix-ui/react-tooltip": "1.0.0",
|
|
15
|
-
"@radix-ui/react-progress": "1.0.0",
|
|
16
|
-
"@radix-ui/react-label": "1.0.0",
|
|
17
|
-
"@radix-ui/react-separator": "1.0.0",
|
|
18
|
-
"@radix-ui/react-slider": "1.0.0",
|
|
19
|
-
"@radix-ui/react-tabs": "1.0.0",
|
|
20
|
-
"@radix-ui/react-checkbox": "1.0.0",
|
|
21
|
-
"@radix-ui/react-radio-group": "1.0.0",
|
|
22
|
-
"@radix-ui/react-switch": "1.0.0",
|
|
23
|
-
"@radix-ui/react-toggle-group": "1.0.0",
|
|
24
|
-
"@radix-ui/react-accordion": "1.0.0",
|
|
25
|
-
"downshift": "^6.1.7",
|
|
26
|
-
"prop-types": "^15.8.1",
|
|
27
|
-
"react-transition-group": "^4.4.2",
|
|
28
|
-
"dayzed": "^3.2.3",
|
|
29
|
-
"react-table": "^7.7.0",
|
|
30
|
-
"react-step-wizard": "^5.3.11",
|
|
31
|
-
"recharts": "^2.1.9",
|
|
32
|
-
"lodash.debounce": "^4.0.8",
|
|
33
9
|
"@floating-ui/react": "^0.19.2",
|
|
34
10
|
"@floating-ui/react-dom": "^1.3.0",
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"react-
|
|
40
|
-
"
|
|
41
|
-
"superagent": "^8.0.0",
|
|
11
|
+
"@hookform/resolvers": "^2.8.10",
|
|
12
|
+
"@majoo-ui/core": "1.31.4",
|
|
13
|
+
"@majoo-ui/helpers": "1.30.6",
|
|
14
|
+
"@majoo-ui/icons": "1.38.38",
|
|
15
|
+
"@monsonjeremy/react-leaflet": "^3.2.2",
|
|
16
|
+
"radix-ui": "1.0.1",
|
|
42
17
|
"@react-google-maps/api": "^2.12.1",
|
|
43
|
-
"
|
|
18
|
+
"@stitches/react": "^1.2.8",
|
|
19
|
+
"browser-image-compression": "^2.0.0",
|
|
20
|
+
"dayzed": "^3.2.3",
|
|
21
|
+
"downshift": "^6.1.7",
|
|
44
22
|
"draft-js": "^0.11.7",
|
|
45
23
|
"draftjs-to-html": "^0.9.1",
|
|
46
24
|
"html-to-draftjs": "^1.5.0",
|
|
47
|
-
"
|
|
48
|
-
"browser-image-compression": "^2.0.0",
|
|
49
|
-
"react-contextmenu": "^2.14.0",
|
|
50
|
-
"react-loading-skeleton": "^3.1.0",
|
|
51
|
-
"i18next": "^22.0.6",
|
|
25
|
+
"i18next": "23.2.3",
|
|
52
26
|
"i18next-browser-languagedetector": "^7.0.1",
|
|
53
|
-
"react-i18next": "^12.0.0",
|
|
54
|
-
"react-virtual": "^2.10.4",
|
|
55
|
-
"@monsonjeremy/react-leaflet": "^3.2.2",
|
|
56
27
|
"leaflet": "1.9.3",
|
|
57
28
|
"leaflet-defaulticon-compatibility": "^0.1.2",
|
|
29
|
+
"lodash.debounce": "^4.0.8",
|
|
30
|
+
"moment": "^2.29.2",
|
|
31
|
+
"otp-input-react": "^0.3.0",
|
|
32
|
+
"prismjs": "^1.28.0",
|
|
33
|
+
"react-color": "^2.19.3",
|
|
34
|
+
"react-contextmenu": "2.14.0",
|
|
35
|
+
"react-draft-wysiwyg": "^1.15.0",
|
|
36
|
+
"react-hook-form": "^7.31.3",
|
|
37
|
+
"react-i18next": "^13.5.0",
|
|
38
|
+
"react-image-crop": "^10.0.4",
|
|
39
|
+
"react-infinite-scroller": "^1.2.6",
|
|
40
|
+
"react-loading-skeleton": "^3.1.0",
|
|
58
41
|
"react-signature-pad-wrapper": "4.0.4",
|
|
59
42
|
"react-sortable-hoc": "^2.0.0",
|
|
60
|
-
"react-
|
|
43
|
+
"react-step-wizard": "^5.3.11",
|
|
44
|
+
"react-table": "^7.7.0",
|
|
45
|
+
"react-table-sticky": "^1.1.3",
|
|
46
|
+
"react-transition-group": "^4.4.2",
|
|
47
|
+
"react-ui-scrollspy": "2.1.0",
|
|
48
|
+
"react-virtual": "^2.10.4",
|
|
49
|
+
"recharts": "^2.1.9",
|
|
50
|
+
"superagent": "^10.2.1",
|
|
51
|
+
"yup": "^0.32.11"
|
|
61
52
|
},
|
|
62
|
-
"main": "./index.umd.js",
|
|
63
53
|
"module": "./index.esm.js",
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"react": "17.0.2",
|
|
67
|
-
"focus-trap-react": "^8.9.2",
|
|
68
|
-
"@radix-ui/react-visually-hidden": "1.0.0",
|
|
69
|
-
"@radix-ui/react-portal": "1.0.0",
|
|
70
|
-
"react-dom": "17.0.2",
|
|
71
|
-
"@hookform/resolvers": "^2.8.10",
|
|
72
|
-
"yup": "^0.32.11",
|
|
73
|
-
"@radix-ui/react-dialog": "1.0.0",
|
|
74
|
-
"@radix-ui/react-dismissable-layer": "1.0.3",
|
|
75
|
-
"prismjs": "^1.28.0"
|
|
76
|
-
}
|
|
54
|
+
"type": "module",
|
|
55
|
+
"main": "./index.esm.js"
|
|
77
56
|
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import React, { ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
3
|
+
import { BaseRadixNoCss, BaseRadixProps } from '../../type/base.types';
|
|
4
|
+
declare type AccordionPrimitiveProps = AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps;
|
|
5
|
+
declare type AccordionProps = {
|
|
6
|
+
/**
|
|
7
|
+
* Determines whether one or multiple items can be opened at the same time.
|
|
8
|
+
*/
|
|
9
|
+
type: string;
|
|
10
|
+
children: React.ReactNode;
|
|
11
|
+
} & AccordionPrimitiveProps & BaseRadixProps;
|
|
12
|
+
export declare const Accordion: React.ForwardRefExoticComponent<AccordionProps & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
declare type AccordionTriggerPrimitiveProps = Omit<AccordionPrimitive.AccordionTriggerProps, keyof ComponentPropsWithoutRef<'button'>>;
|
|
14
|
+
interface AccordionTriggerProps extends AccordionTriggerPrimitiveProps, BaseRadixProps {
|
|
15
|
+
/**
|
|
16
|
+
* If the value is 'false' then it will hide the arrow icon.
|
|
17
|
+
*/
|
|
18
|
+
hasContent?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Specify the arrow position.
|
|
21
|
+
*/
|
|
22
|
+
arrowPosition?: 'right' | 'left';
|
|
23
|
+
/**
|
|
24
|
+
* Specify the arrow icon color.
|
|
25
|
+
*/
|
|
26
|
+
arrowColor?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Custom the arrow component.
|
|
29
|
+
*/
|
|
30
|
+
customArrow?: React.ReactNode;
|
|
31
|
+
children: React.ReactNode;
|
|
32
|
+
}
|
|
33
|
+
export declare const AccordionTrigger: React.ForwardRefExoticComponent<AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
34
|
+
export declare const AccordionItem: React.FC<AccordionPrimitive.AccordionItemProps & BaseRadixNoCss>;
|
|
35
|
+
export declare const AccordionContent: React.FC<AccordionPrimitive.AccordionContentProps & BaseRadixNoCss>;
|
|
36
|
+
export {};
|
|
@@ -66,7 +66,7 @@ interface BarChartProps {
|
|
|
66
66
|
*/
|
|
67
67
|
yAxis?: YAxisProps;
|
|
68
68
|
}
|
|
69
|
-
declare function BarChartComponent({ css, data, legend, title, subtitle, tooltip, direction, tickFormatter, label, yAxis, }: BarChartProps): JSX.Element;
|
|
69
|
+
declare function BarChartComponent({ css, data, legend, title, subtitle, tooltip, direction, tickFormatter, label, yAxis, }: BarChartProps): import("react/jsx-runtime").JSX.Element;
|
|
70
70
|
declare namespace BarChartComponent {
|
|
71
71
|
var defaultProps: {
|
|
72
72
|
data: never[];
|
|
@@ -320,7 +320,7 @@ export declare const StyledTitle: import("@stitches/react/types/styled-component
|
|
|
320
320
|
};
|
|
321
321
|
}>>;
|
|
322
322
|
export declare const Card: {
|
|
323
|
-
({ className, children, color, shadow, radius, padding, title, width, textColor, icon, showBottomLine, label, description, mobileOnly, desktopOnly, ...props }: CardProps): JSX.Element;
|
|
323
|
+
({ className, children, color, shadow, radius, padding, title, width, textColor, icon, showBottomLine, label, description, mobileOnly, desktopOnly, ...props }: CardProps): import("react/jsx-runtime").JSX.Element;
|
|
324
324
|
defaultProps: {
|
|
325
325
|
className: string;
|
|
326
326
|
color: string;
|
|
@@ -66,7 +66,7 @@ interface LineChartProps {
|
|
|
66
66
|
onComparatorChange?: (e: ComparatorChangeType) => void;
|
|
67
67
|
}
|
|
68
68
|
export declare const COMPARISON_LIMIT = 5;
|
|
69
|
-
declare function LineChart(props: LineChartProps): JSX.Element;
|
|
69
|
+
declare function LineChart(props: LineChartProps): import("react/jsx-runtime").JSX.Element;
|
|
70
70
|
declare namespace LineChart {
|
|
71
71
|
var defaultProps: {
|
|
72
72
|
customXAxisFormat: undefined;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
interface ComparatorProps {
|
|
3
2
|
option: any;
|
|
4
3
|
onCloseClick: (any: any) => void;
|
|
@@ -8,7 +7,7 @@ interface ComparatorProps {
|
|
|
8
7
|
onComparatorSearch: (string: any) => void;
|
|
9
8
|
}
|
|
10
9
|
declare const Comparator: {
|
|
11
|
-
(props: ComparatorProps): JSX.Element;
|
|
10
|
+
(props: ComparatorProps): import("react/jsx-runtime").JSX.Element;
|
|
12
11
|
defaultProps: {
|
|
13
12
|
option: {}[];
|
|
14
13
|
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const ComparatorController: ({ option, onComparatorAdd, onComparatorSearch, placeholder }: {
|
|
3
2
|
option: any;
|
|
4
3
|
onComparatorAdd: any;
|
|
5
4
|
onComparatorSearch: any;
|
|
6
5
|
placeholder: any;
|
|
7
|
-
}) => JSX.Element;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
export default ComparatorController;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
interface ComparatorItemProps {
|
|
3
2
|
dataKey: string;
|
|
4
3
|
color: string;
|
|
@@ -6,5 +5,5 @@ interface ComparatorItemProps {
|
|
|
6
5
|
onCloseClick: () => void;
|
|
7
6
|
disableClose: boolean;
|
|
8
7
|
}
|
|
9
|
-
declare const ComparatorItem: (props: ComparatorItemProps) => JSX.Element;
|
|
8
|
+
declare const ComparatorItem: (props: ComparatorItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
9
|
export default ComparatorItem;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { CSS } from '../../../../config/stitches.config';
|
|
3
2
|
interface ProductListProps {
|
|
4
3
|
variants: [];
|
|
@@ -6,5 +5,5 @@ interface ProductListProps {
|
|
|
6
5
|
direction: string;
|
|
7
6
|
css: CSS;
|
|
8
7
|
}
|
|
9
|
-
declare const ProductList: (props: ProductListProps) => JSX.Element;
|
|
8
|
+
declare const ProductList: (props: ProductListProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
9
|
export default ProductList;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
interface TitleLegendProps {
|
|
3
2
|
title: string | undefined;
|
|
4
3
|
legendData: any[];
|
|
@@ -10,7 +9,7 @@ interface TitleLegendProps {
|
|
|
10
9
|
description: string | undefined;
|
|
11
10
|
}
|
|
12
11
|
declare const TitleLegend: {
|
|
13
|
-
(props: TitleLegendProps): JSX.Element;
|
|
12
|
+
(props: TitleLegendProps): import("react/jsx-runtime").JSX.Element;
|
|
14
13
|
defaultProps: {
|
|
15
14
|
isComparator: undefined;
|
|
16
15
|
titleOnly: boolean;
|
|
@@ -10,7 +10,7 @@ interface TooltipProps {
|
|
|
10
10
|
customTooltipDate?: (value: any) => ReactNode;
|
|
11
11
|
}
|
|
12
12
|
declare const Tooltip: {
|
|
13
|
-
(props: TooltipProps): JSX.Element | null;
|
|
13
|
+
(props: TooltipProps): import("react/jsx-runtime").JSX.Element | null;
|
|
14
14
|
defaultProps: {
|
|
15
15
|
hover: null;
|
|
16
16
|
payload: undefined;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { Column } from 'react-table';
|
|
3
2
|
import { CSS } from '../../config/stitches.config';
|
|
4
3
|
interface CheckboxTableProps<Data extends object> {
|
|
@@ -25,5 +24,5 @@ interface CheckboxTableProps<Data extends object> {
|
|
|
25
24
|
css?: CSS;
|
|
26
25
|
onChange?: (e: any) => void;
|
|
27
26
|
}
|
|
28
|
-
export default function CheckboxTable(props: CheckboxTableProps<object>): JSX.Element;
|
|
27
|
+
export default function CheckboxTable(props: CheckboxTableProps<object>): import("react/jsx-runtime").JSX.Element;
|
|
29
28
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { EditorState } from 'draft-js';
|
|
3
2
|
import { CSS } from '../../config/stitches.config';
|
|
4
3
|
import './styles.css';
|
|
@@ -40,5 +39,5 @@ interface ContentEditorProps {
|
|
|
40
39
|
*/
|
|
41
40
|
maxLength?: number;
|
|
42
41
|
}
|
|
43
|
-
export default function ContentEditor(props: ContentEditorProps): JSX.Element;
|
|
42
|
+
export default function ContentEditor(props: ContentEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
44
43
|
export {};
|
|
@@ -13,7 +13,7 @@ interface ItemProps {
|
|
|
13
13
|
data?: object;
|
|
14
14
|
onClick?: (e: any, data: any) => void;
|
|
15
15
|
}
|
|
16
|
-
export declare const ContextMenuTrigger: import("@stitches/react/types/styled-component").StyledComponent<(props: TriggerProps) => JSX.Element, {}, {
|
|
16
|
+
export declare const ContextMenuTrigger: import("@stitches/react/types/styled-component").StyledComponent<(props: TriggerProps) => import("react/jsx-runtime").JSX.Element, {}, {
|
|
17
17
|
sm: "(min-width: 359px)";
|
|
18
18
|
md: "(min-width: 767px)";
|
|
19
19
|
lg: "(min-width: 1023px)";
|
|
@@ -109,7 +109,7 @@ export declare const ContextMenuTrigger: import("@stitches/react/types/styled-co
|
|
|
109
109
|
backgroundColor: string;
|
|
110
110
|
};
|
|
111
111
|
}>>;
|
|
112
|
-
export declare const ContextMenu: import("@stitches/react/types/styled-component").StyledComponent<(props: MenuProps) => JSX.Element, {}, {
|
|
112
|
+
export declare const ContextMenu: import("@stitches/react/types/styled-component").StyledComponent<(props: MenuProps) => import("react/jsx-runtime").JSX.Element, {}, {
|
|
113
113
|
sm: "(min-width: 359px)";
|
|
114
114
|
md: "(min-width: 767px)";
|
|
115
115
|
lg: "(min-width: 1023px)";
|
|
@@ -205,7 +205,7 @@ export declare const ContextMenu: import("@stitches/react/types/styled-component
|
|
|
205
205
|
backgroundColor: string;
|
|
206
206
|
};
|
|
207
207
|
}>>;
|
|
208
|
-
export declare const ContextMenuItem: import("@stitches/react/types/styled-component").StyledComponent<(props: ItemProps) => JSX.Element, {}, {
|
|
208
|
+
export declare const ContextMenuItem: import("@stitches/react/types/styled-component").StyledComponent<(props: ItemProps) => import("react/jsx-runtime").JSX.Element, {}, {
|
|
209
209
|
sm: "(min-width: 359px)";
|
|
210
210
|
md: "(min-width: 767px)";
|
|
211
211
|
lg: "(min-width: 1023px)";
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare type Option = {
|
|
3
2
|
value: string;
|
|
4
3
|
label: string;
|
|
@@ -8,5 +7,5 @@ interface AdvancedOptionProps {
|
|
|
8
7
|
disabled?: boolean;
|
|
9
8
|
optionHandler: (value: string) => void;
|
|
10
9
|
}
|
|
11
|
-
export declare const AdvancedOption: ({ options, disabled, optionHandler }: AdvancedOptionProps) => JSX.Element;
|
|
10
|
+
export declare const AdvancedOption: ({ options, disabled, optionHandler }: AdvancedOptionProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
11
|
export {};
|
|
@@ -60,4 +60,4 @@ export interface CustomDatePickerProps {
|
|
|
60
60
|
*/
|
|
61
61
|
sideOffset?: number;
|
|
62
62
|
}
|
|
63
|
-
export declare function CustomDatePicker({ children, type, disabled, onChange, defaultValue: defaultDateValue, value: dateValue, defaultDate, date, advanceView, placement, showTimePicker, minDate, maxDate, allowReset, sideOffset, }: CustomDatePickerProps): JSX.Element;
|
|
63
|
+
export declare function CustomDatePicker({ children, type, disabled, onChange, defaultValue: defaultDateValue, value: dateValue, defaultDate, date, advanceView, placement, showTimePicker, minDate, maxDate, allowReset, sideOffset, }: CustomDatePickerProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const DEFAULT: "default";
|
|
3
2
|
export declare const SINGLE_PICKER: "single";
|
|
4
3
|
export declare const RANGE_PICKER: "range";
|
|
@@ -7,4 +6,4 @@ export declare const ADVANCE_PICKER: "advance";
|
|
|
7
6
|
export declare const RANGE_CONTROL: "range_control";
|
|
8
7
|
export declare const WEEKLY: "weekly";
|
|
9
8
|
export declare const MONTHLY: "monthly";
|
|
10
|
-
export declare const DatePicker: (props: any) => JSX.Element;
|
|
9
|
+
export declare const DatePicker: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -166,5 +166,5 @@ export interface InputDatePickerProps {
|
|
|
166
166
|
*/
|
|
167
167
|
maxRange?: number;
|
|
168
168
|
}
|
|
169
|
-
export declare function InputDatePicker({ type, showRangeControl, rangePickerType, placeholder, size, disabled, onChange, onDateSelected, defaultValue: defaultDateValue, value: dateValue, defaultDate, date, advanceView, placement, css, showTimePicker, timePickerProps, minDate, maxDate, readOnly, isInvalid, allowReset, portalled, portalledMobile, onClose, mobileOnly, desktopOnly, drawerCss, drawerContentCss, isMobile, maxRange, }: InputDatePickerProps): JSX.Element;
|
|
169
|
+
export declare function InputDatePicker({ type, showRangeControl, rangePickerType, placeholder, size, disabled, onChange, onDateSelected, defaultValue: defaultDateValue, value: dateValue, defaultDate, date, advanceView, placement, css, showTimePicker, timePickerProps, minDate, maxDate, readOnly, isInvalid, allowReset, portalled, portalledMobile, onClose, mobileOnly, desktopOnly, drawerCss, drawerContentCss, isMobile, maxRange, }: InputDatePickerProps): import("react/jsx-runtime").JSX.Element;
|
|
170
170
|
export {};
|
|
@@ -21,6 +21,6 @@ interface InputRangePickerProps {
|
|
|
21
21
|
mobileOnly?: boolean;
|
|
22
22
|
desktopOnly?: boolean;
|
|
23
23
|
}
|
|
24
|
-
export declare function ContainerDateRangePicker(props: ContainertRangePickerProps): JSX.Element;
|
|
25
|
-
export declare function InputDateRangePicker(props: InputRangePickerProps): JSX.Element;
|
|
24
|
+
export declare function ContainerDateRangePicker(props: ContainertRangePickerProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export declare function InputDateRangePicker(props: InputRangePickerProps): import("react/jsx-runtime").JSX.Element;
|
|
26
26
|
export {};
|
|
@@ -28,5 +28,5 @@ export interface CalendarProps extends RenderProps {
|
|
|
28
28
|
minDate?: Date;
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
|
-
declare const CalendarBox: ({ calendars, getDateProps, advanceView, onCalendarDateChange, onIsMultiDateChange, onUpdate, onCancel, onReset, selected, containerStyle, disabled, showTimePicker, renderTimePicker, minDate, maxDate, allowReset, onSetDateValue, maxRange, overMaxRange, timePickerProps, }: CalendarProps) => JSX.Element | null;
|
|
31
|
+
declare const CalendarBox: ({ calendars, getDateProps, advanceView, onCalendarDateChange, onIsMultiDateChange, onUpdate, onCancel, onReset, selected, containerStyle, disabled, showTimePicker, renderTimePicker, minDate, maxDate, allowReset, onSetDateValue, maxRange, overMaxRange, timePickerProps, }: CalendarProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
32
32
|
export default CalendarBox;
|
|
@@ -7,5 +7,5 @@ interface CalendarProps {
|
|
|
7
7
|
isSingle?: boolean;
|
|
8
8
|
timePickerProps?: object;
|
|
9
9
|
}
|
|
10
|
-
declare const CalendarTimePicker: ({ selected, disabled, language, onSetDateValue, isSingle, timePickerProps }: CalendarProps) => JSX.Element;
|
|
10
|
+
declare const CalendarTimePicker: ({ selected, disabled, language, onSetDateValue, isSingle, timePickerProps }: CalendarProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export default CalendarTimePicker;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { CalendarProps } from './Calendar';
|
|
3
|
-
declare const MobileCalendarBox: ({ calendars, getDateProps, advanceView, onCalendarDateChange, onIsMultiDateChange, onUpdate, onCancel, onReset, selected, containerStyle, disabled, minDate, maxDate, allowReset, maxRange, overMaxRange, }: CalendarProps) => JSX.Element | null;
|
|
2
|
+
declare const MobileCalendarBox: ({ calendars, getDateProps, advanceView, onCalendarDateChange, onIsMultiDateChange, onUpdate, onCancel, onReset, selected, containerStyle, disabled, minDate, maxDate, allowReset, maxRange, overMaxRange, }: CalendarProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
4
3
|
export default MobileCalendarBox;
|
|
@@ -131,6 +131,9 @@ export declare const ImageDevicePreview: import("@stitches/react/types/styled-co
|
|
|
131
131
|
my: (value: {
|
|
132
132
|
readonly [Stitches.$$ScaleValue]: "space";
|
|
133
133
|
}) => {
|
|
134
|
+
/**
|
|
135
|
+
* alt prop when url image not found or invalid
|
|
136
|
+
*/
|
|
134
137
|
marginTop: {
|
|
135
138
|
readonly [Stitches.$$ScaleValue]: "space";
|
|
136
139
|
};
|
|
@@ -154,7 +157,7 @@ export declare const ImageDevicePreview: import("@stitches/react/types/styled-co
|
|
|
154
157
|
};
|
|
155
158
|
}>>;
|
|
156
159
|
declare const Device: {
|
|
157
|
-
(props: Props): JSX.Element;
|
|
160
|
+
(props: Props): import("react/jsx-runtime").JSX.Element;
|
|
158
161
|
displayName: string;
|
|
159
162
|
};
|
|
160
163
|
export default Device;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
2
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
3
|
+
declare const StyledContent: import("@stitches/react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>>, {
|
|
3
4
|
size?: "sm" | "md" | "lg" | "xl" | "auto" | "xs" | "full" | undefined;
|
|
4
5
|
}, {
|
|
5
6
|
sm: "(min-width: 359px)";
|
|
@@ -101,11 +102,11 @@ export declare type DialogContentProps = React.ComponentProps<typeof StyledConte
|
|
|
101
102
|
interface IContentProps extends DialogContentProps {
|
|
102
103
|
children: React.ReactNode[] | React.ReactNode;
|
|
103
104
|
}
|
|
104
|
-
declare const Dialog: React.FC<
|
|
105
|
+
declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
|
|
105
106
|
export default Dialog;
|
|
106
|
-
export declare const DialogTrigger: React.ForwardRefExoticComponent<
|
|
107
|
-
export declare const DialogContent: React.ForwardRefExoticComponent<
|
|
108
|
-
export declare const DialogTitle: import("@stitches/react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<
|
|
107
|
+
export declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
108
|
+
export declare const DialogContent: React.ForwardRefExoticComponent<Omit<IContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
109
|
+
export declare const DialogTitle: import("@stitches/react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>>, {}, {
|
|
109
110
|
sm: "(min-width: 359px)";
|
|
110
111
|
md: "(min-width: 767px)";
|
|
111
112
|
lg: "(min-width: 1023px)";
|
|
@@ -201,7 +202,7 @@ export declare const DialogTitle: import("@stitches/react/types/styled-component
|
|
|
201
202
|
backgroundColor: string;
|
|
202
203
|
};
|
|
203
204
|
}>>;
|
|
204
|
-
export declare const DialogDescription: import("@stitches/react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<
|
|
205
|
+
export declare const DialogDescription: import("@stitches/react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>>, {}, {
|
|
205
206
|
sm: "(min-width: 359px)";
|
|
206
207
|
md: "(min-width: 767px)";
|
|
207
208
|
lg: "(min-width: 1023px)";
|
|
@@ -297,8 +298,8 @@ export declare const DialogDescription: import("@stitches/react/types/styled-com
|
|
|
297
298
|
backgroundColor: string;
|
|
298
299
|
};
|
|
299
300
|
}>>;
|
|
300
|
-
export declare const DialogClose: React.ForwardRefExoticComponent<
|
|
301
|
-
export declare const DialogOverlay: import("@stitches/react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<
|
|
301
|
+
export declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
302
|
+
export declare const DialogOverlay: import("@stitches/react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>>, {}, {
|
|
302
303
|
sm: "(min-width: 359px)";
|
|
303
304
|
md: "(min-width: 767px)";
|
|
304
305
|
lg: "(min-width: 1023px)";
|
|
@@ -394,4 +395,4 @@ export declare const DialogOverlay: import("@stitches/react/types/styled-compone
|
|
|
394
395
|
backgroundColor: string;
|
|
395
396
|
};
|
|
396
397
|
}>>;
|
|
397
|
-
export declare const DialogPortal: React.FC<
|
|
398
|
+
export declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
interface ColumnsInterface {
|
|
3
2
|
/**
|
|
4
3
|
* Title header of a column.
|
|
@@ -45,7 +44,7 @@ interface ColumnsInterface {
|
|
|
45
44
|
*/
|
|
46
45
|
Cell: any;
|
|
47
46
|
}
|
|
48
|
-
declare function Columns(props: ColumnsInterface): JSX.Element;
|
|
47
|
+
declare function Columns(props: ColumnsInterface): import("react/jsx-runtime").JSX.Element;
|
|
49
48
|
declare namespace Columns {
|
|
50
49
|
var defaultProps: {
|
|
51
50
|
isMobileHeader: boolean;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { Column, UseTableHooks, Row } from 'react-table';
|
|
3
2
|
import { CSS } from '../../config/stitches.config';
|
|
4
3
|
import { EmptyDataProps } from '../table/Table';
|
|
@@ -19,5 +18,5 @@ interface EditableMobileProps<Data extends object> {
|
|
|
19
18
|
customEmptyDataProps?: EmptyDataProps;
|
|
20
19
|
virtualized?: boolean;
|
|
21
20
|
}
|
|
22
|
-
export default function EditableTableMobile(props: EditableMobileProps<any>): JSX.Element;
|
|
21
|
+
export default function EditableTableMobile(props: EditableMobileProps<any>): import("react/jsx-runtime").JSX.Element;
|
|
23
22
|
export {};
|
|
@@ -93,13 +93,13 @@ interface RemoveProps {
|
|
|
93
93
|
position?: 'leftBottom' | 'rightBottom' | 'leftTop' | 'rightTop';
|
|
94
94
|
onRemove?: React.ChangeEventHandler;
|
|
95
95
|
}
|
|
96
|
-
declare function EditableTable(props: EditableTableProps<any>): JSX.Element;
|
|
96
|
+
declare function EditableTable(props: EditableTableProps<any>): import("react/jsx-runtime").JSX.Element;
|
|
97
97
|
declare namespace EditableTable {
|
|
98
98
|
var Product: ({ name, label, variants }: {
|
|
99
99
|
name: any;
|
|
100
100
|
label: any;
|
|
101
101
|
variants: any;
|
|
102
|
-
}) => JSX.Element;
|
|
102
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
103
103
|
var Input: import("@stitches/react/types/styled-component").StyledComponent<any, {}, {
|
|
104
104
|
sm: "(min-width: 359px)";
|
|
105
105
|
md: "(min-width: 767px)";
|
|
@@ -196,8 +196,8 @@ declare namespace EditableTable {
|
|
|
196
196
|
backgroundColor: string;
|
|
197
197
|
};
|
|
198
198
|
}>>;
|
|
199
|
-
var Switch: (props: any) => JSX.Element;
|
|
200
|
-
var Remove: (props: RemoveProps) => JSX.Element;
|
|
199
|
+
var Switch: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
200
|
+
var Remove: (props: RemoveProps) => import("react/jsx-runtime").JSX.Element;
|
|
201
201
|
var TableRow: import("@stitches/react/types/styled-component").StyledComponent<"tr", {
|
|
202
202
|
subRow?: boolean | "true" | undefined;
|
|
203
203
|
}, {
|
|
@@ -53,7 +53,7 @@ interface InputOTPProps {
|
|
|
53
53
|
*/
|
|
54
54
|
isError?: boolean;
|
|
55
55
|
}
|
|
56
|
-
declare function InputOTP(props: InputOTPProps): JSX.Element;
|
|
56
|
+
declare function InputOTP(props: InputOTPProps): import("react/jsx-runtime").JSX.Element;
|
|
57
57
|
declare namespace InputOTP {
|
|
58
58
|
var defaultProps: {
|
|
59
59
|
OTPLength: number;
|
|
@@ -99,7 +99,7 @@ interface ResendOTPProps {
|
|
|
99
99
|
*/
|
|
100
100
|
className?: string;
|
|
101
101
|
}
|
|
102
|
-
export declare function ResendOTP(props: ResendOTPProps): JSX.Element;
|
|
102
|
+
export declare function ResendOTP(props: ResendOTPProps): import("react/jsx-runtime").JSX.Element;
|
|
103
103
|
export declare namespace ResendOTP {
|
|
104
104
|
var defaultProps: {
|
|
105
105
|
maxTime: number;
|
package/{components → src/components}/form/components/InputResourceList/InputResourceList.d.ts
RENAMED
|
@@ -36,5 +36,5 @@ export interface IInputResourceListProps {
|
|
|
36
36
|
expandable?: boolean;
|
|
37
37
|
checkDisableItems?: boolean;
|
|
38
38
|
}
|
|
39
|
-
declare function InputResourceList({ data: dataProp, disabled, onItemCheck, onItemUncheck, searchPlaceholder, counterFooter, counterFooterText, isLoading, enabledItems, emptyDataMessage, value, fetchData, onQueryChange, css, wrapperCss, defaultSort, title, hideSelectAll, customHeader, checkDisableItems, }: IInputResourceListProps): JSX.Element;
|
|
39
|
+
declare function InputResourceList({ data: dataProp, disabled, onItemCheck, onItemUncheck, searchPlaceholder, counterFooter, counterFooterText, isLoading, enabledItems, emptyDataMessage, value, fetchData, onQueryChange, css, wrapperCss, defaultSort, title, hideSelectAll, customHeader, checkDisableItems, }: IInputResourceListProps): import("react/jsx-runtime").JSX.Element;
|
|
40
40
|
export default InputResourceList;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { IInputResourceListProps } from './InputResourceList';
|
|
3
|
-
declare const ResourceList: ({ expandable, ...props }: IInputResourceListProps) => JSX.Element;
|
|
2
|
+
declare const ResourceList: ({ expandable, ...props }: IInputResourceListProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default ResourceList;
|
|
@@ -297,7 +297,7 @@ export declare const IconContainer: import("@stitches/react/types/styled-compone
|
|
|
297
297
|
};
|
|
298
298
|
}>>;
|
|
299
299
|
export declare const OptionWrapper: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
300
|
-
placement?: "
|
|
300
|
+
placement?: "top" | "bottom" | undefined;
|
|
301
301
|
withFooter?: boolean | "true" | undefined;
|
|
302
302
|
}, {
|
|
303
303
|
sm: "(min-width: 359px)";
|
|
@@ -587,7 +587,7 @@ export declare const SelectItem: import("@stitches/react/types/styled-component"
|
|
|
587
587
|
backgroundColor: string;
|
|
588
588
|
};
|
|
589
589
|
}>>;
|
|
590
|
-
export declare const SelectInputSearch: React.ForwardRefExoticComponent<
|
|
590
|
+
export declare const SelectInputSearch: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
591
591
|
export declare type Option = {
|
|
592
592
|
value: string;
|
|
593
593
|
name: string;
|
|
@@ -709,5 +709,5 @@ interface InputSelectProps extends Omit<DownshiftProps<Option>, 'initialSelected
|
|
|
709
709
|
*/
|
|
710
710
|
renderFooter?: () => React.ReactNode;
|
|
711
711
|
}
|
|
712
|
-
export declare function InputSelect({ option, onChange, value, placeholder, searchPlaceholder, embedSearch, size, disabled, search, iconColor, hideArrowicon, showLeadingIcon, placement, disabledOptions, textSelector, valueSelector, readOnly, isInvalid, noOptionIcon, fetchData, onSearch, isLoading, showTooltip, css, renderFooter, ...props }: InputSelectProps): JSX.Element;
|
|
712
|
+
export declare function InputSelect({ option, onChange, value, placeholder, searchPlaceholder, embedSearch, size, disabled, search, iconColor, hideArrowicon, showLeadingIcon, placement, disabledOptions, textSelector, valueSelector, readOnly, isInvalid, noOptionIcon, fetchData, onSearch, isLoading, showTooltip, css, renderFooter, ...props }: InputSelectProps): import("react/jsx-runtime").JSX.Element;
|
|
713
713
|
export default InputSelect;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { CSS } from '@stitches/react';
|
|
3
2
|
interface InputSignatureProps {
|
|
4
3
|
onChange?: (value: string) => void;
|
|
@@ -8,5 +7,5 @@ interface InputSignatureProps {
|
|
|
8
7
|
css?: CSS;
|
|
9
8
|
isMobile?: boolean;
|
|
10
9
|
}
|
|
11
|
-
export declare function InputSignature({ title, onChange, defaultValue, disabled, css, isMobile, }: InputSignatureProps): JSX.Element;
|
|
10
|
+
export declare function InputSignature({ title, onChange, defaultValue, disabled, css, isMobile, }: InputSignatureProps): import("react/jsx-runtime").JSX.Element;
|
|
12
11
|
export default InputSignature;
|