qaema-ui 0.0.26 → 0.0.28
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/_virtual/index.js +5 -5
- package/dist/_virtual/index2.js +4 -4
- package/dist/_virtual/index3.js +5 -5
- package/dist/_virtual/index4.js +4 -4
- package/dist/assets/icons/RiyalIcon.d.ts +1 -1
- package/dist/components/AccordionCard.d.ts +1 -1
- package/dist/components/ActionInput.d.ts +2 -2
- package/dist/components/AddOnCardInput.d.ts +2 -2
- package/dist/components/Alert.d.ts +1 -1
- package/dist/components/AmountItem.d.ts +2 -2
- package/dist/components/Badge.d.ts +3 -3
- package/dist/components/Button.d.ts +3 -2
- package/dist/components/Card.d.ts +1 -1
- package/dist/components/CardsList.d.ts +2 -2
- package/dist/components/Chart.d.ts +1 -1
- package/dist/components/ChartLegend/ChartLegend.d.ts +2 -2
- package/dist/components/ChartLegend/ChartLegend.js +8 -7
- package/dist/components/ChartLegend/PieChartLegend.d.ts +1 -1
- package/dist/components/ChartLegend/styles.d.ts +5 -5
- package/dist/components/CollapsableCard.d.ts +1 -1
- package/dist/components/ConfigList.d.ts +1 -1
- package/dist/components/ConfirmationPopup.d.ts +1 -1
- package/dist/components/DatePicker.d.ts +1 -1
- package/dist/components/DatePicker.js +1 -1
- package/dist/components/Divider.d.ts +2 -2
- package/dist/components/Draggable.d.ts +1 -1
- package/dist/components/DropDown.d.ts +1 -1
- package/dist/components/DropDownWithTable/DropDownWithTable.d.ts +1 -1
- package/dist/components/DropDownWithTable/DropDownWithTable.js +69 -64
- package/dist/components/DropDownWithTable/DropDownWithTable.types.d.ts +2 -1
- package/dist/components/DropDownWithTable/Table/Table.d.ts +1 -1
- package/dist/components/DropDownWithTable/Table/Table.js +66 -66
- package/dist/components/DropDownWithTable/Table/Table.styles.d.ts +27 -27
- package/dist/components/DropDownWithTable/Table/components/CellComponents.d.ts +6 -6
- package/dist/components/DropDownWithTable/Table/components/CellComponents.js +82 -82
- package/dist/components/DropDownWithTable/Table/components/TableHead.d.ts +1 -1
- package/dist/components/FileDownloadCard.d.ts +1 -1
- package/dist/components/Filter.d.ts +14 -14
- package/dist/components/FilterActiveBar.d.ts +1 -1
- package/dist/components/Header.d.ts +3 -2
- package/dist/components/HelpCard.d.ts +2 -2
- package/dist/components/Hint.d.ts +2 -2
- package/dist/components/HorizontalChart.d.ts +2 -2
- package/dist/components/Image.d.ts +2 -2
- package/dist/components/InfoCard.d.ts +1 -1
- package/dist/components/InfoItem.d.ts +1 -1
- package/dist/components/InputField.d.ts +2 -2
- package/dist/components/Layout.d.ts +4 -3
- package/dist/components/Legend.d.ts +1 -1
- package/dist/components/Link.d.ts +1 -1
- package/dist/components/ListToolbar.d.ts +5 -5
- package/dist/components/MethodCard.d.ts +1 -1
- package/dist/components/Modal.d.ts +2 -2
- package/dist/components/ModalWithRequestCard.d.ts +2 -2
- package/dist/components/NavItem.d.ts +2 -2
- package/dist/components/NavigationPanel.d.ts +2 -2
- package/dist/components/NextActionBox.d.ts +1 -1
- package/dist/components/NextActionBox.js +104 -0
- package/dist/components/NumberInput.d.ts +1 -1
- package/dist/components/OTP.d.ts +1 -1
- package/dist/components/OptionCardGroup.d.ts +2 -2
- package/dist/components/OptionCardGroup.js +16 -15
- package/dist/components/Pagination.d.ts +1 -1
- package/dist/components/PasswordInputField.d.ts +2 -2
- package/dist/components/PaymentLinkDetails.d.ts +1 -1
- package/dist/components/PaymentTooltip.d.ts +2 -2
- package/dist/components/PhoneInputField.d.ts +2 -2
- package/dist/components/QuickActionItem.d.ts +2 -2
- package/dist/components/QuickStartCard.d.ts +4 -4
- package/dist/components/RadioInput.d.ts +1 -1
- package/dist/components/ReconciliationGroups.d.ts +1 -1
- package/dist/components/RequestCard.d.ts +7 -7
- package/dist/components/RequestSummaryCard.d.ts +6 -6
- package/dist/components/SectionHeader.d.ts +1 -1
- package/dist/components/SideMenuLinks.d.ts +1 -1
- package/dist/components/Sidemenu.d.ts +2 -2
- package/dist/components/Spinner.d.ts +1 -1
- package/dist/components/StatCard.d.ts +1 -1
- package/dist/components/StatIndicator.d.ts +1 -1
- package/dist/components/StatusFeedback.d.ts +2 -2
- package/dist/components/StepperProcess.d.ts +391 -571
- package/dist/components/SummaryCard.d.ts +1 -1
- package/dist/components/Table/Table.d.ts +1 -1
- package/dist/components/Table/Table.styles.d.ts +27 -27
- package/dist/components/Table/components/CellComponents.d.ts +6 -6
- package/dist/components/Table/components/TableHead.d.ts +1 -1
- package/dist/components/Tabs.d.ts +1 -1
- package/dist/components/TextArea.d.ts +1 -1
- package/dist/components/ThemeProvider.d.ts +2 -2
- package/dist/components/ToastNotification.d.ts +2 -2
- package/dist/components/Toggle.d.ts +2 -2
- package/dist/components/ToggleForm.d.ts +2 -2
- package/dist/components/Typography.d.ts +3 -3
- package/dist/components/index.d.ts +1 -1
- package/dist/hooks/useFormikInput.d.ts +11 -11
- package/dist/hooks/useTypographyVariant.d.ts +1 -1
- package/dist/i18n/i18n.d.ts +3 -3
- package/dist/index.js +173 -171
- package/dist/node_modules/@react-spring/core/dist/react-spring_core.modern.js +1 -1
- package/dist/node_modules/@restart/ui/esm/ImperativeTransition.js +1 -0
- package/dist/node_modules/d3-format/src/defaultLocale.js +4 -3
- package/dist/node_modules/d3-format/src/formatDecimal.js +4 -4
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +5 -5
- package/dist/node_modules/d3-format/src/locale.js +37 -37
- package/dist/node_modules/d3-shape/src/symbol/circle.js +3 -3
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +6 -5
- package/dist/node_modules/d3-time-format/src/locale.js +14 -14
- package/dist/node_modules/date-fns/addDays.js +3 -2
- package/dist/node_modules/date-fns/addMonths.js +9 -8
- package/dist/node_modules/date-fns/constructFrom.js +2 -1
- package/dist/node_modules/date-fns/differenceInCalendarDays.js +3 -2
- package/dist/node_modules/date-fns/endOfMonth.js +4 -3
- package/dist/node_modules/date-fns/endOfWeek.js +5 -4
- package/dist/node_modules/date-fns/format.js +1 -0
- package/dist/node_modules/date-fns/getDayOfYear.js +4 -3
- package/dist/node_modules/date-fns/getDaysInMonth.js +6 -5
- package/dist/node_modules/date-fns/getDefaultOptions.js +3 -2
- package/dist/node_modules/date-fns/getISODay.js +6 -5
- package/dist/node_modules/date-fns/getISOWeek.js +5 -4
- package/dist/node_modules/date-fns/getISOWeekYear.js +1 -0
- package/dist/node_modules/date-fns/getWeek.js +6 -5
- package/dist/node_modules/date-fns/getWeekYear.js +1 -0
- package/dist/node_modules/date-fns/getYear.js +3 -2
- package/dist/node_modules/date-fns/isAfter.js +3 -2
- package/dist/node_modules/date-fns/isBefore.js +4 -3
- package/dist/node_modules/date-fns/isDate.js +1 -0
- package/dist/node_modules/date-fns/isSameDay.js +9 -8
- package/dist/node_modules/date-fns/isSameMonth.js +6 -5
- package/dist/node_modules/date-fns/isValid.js +5 -4
- package/dist/node_modules/date-fns/locale/ar-SA.js +7 -6
- package/dist/node_modules/date-fns/locale/en-US.js +9 -8
- package/dist/node_modules/date-fns/parse.js +11 -10
- package/dist/node_modules/date-fns/setDay.js +7 -6
- package/dist/node_modules/date-fns/setISODay.js +4 -3
- package/dist/node_modules/date-fns/setISOWeek.js +5 -4
- package/dist/node_modules/date-fns/setMonth.js +6 -5
- package/dist/node_modules/date-fns/setWeek.js +4 -3
- package/dist/node_modules/date-fns/setYear.js +5 -4
- package/dist/node_modules/date-fns/startOfDay.js +5 -4
- package/dist/node_modules/date-fns/startOfISOWeek.js +3 -2
- package/dist/node_modules/date-fns/startOfISOWeekYear.js +6 -5
- package/dist/node_modules/date-fns/startOfMonth.js +1 -0
- package/dist/node_modules/date-fns/startOfWeek.js +8 -7
- package/dist/node_modules/date-fns/startOfWeekYear.js +5 -4
- package/dist/node_modules/date-fns/startOfYear.js +1 -0
- package/dist/node_modules/date-fns/subMonths.js +4 -3
- package/dist/node_modules/date-fns/toDate.js +4 -3
- package/dist/node_modules/date-fns/transpose.js +3 -2
- package/dist/node_modules/fast-equals/dist/esm/index.js +298 -0
- package/dist/node_modules/react-bootstrap/esm/Alert.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/AlertHeading.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/AlertLink.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Button.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/CloseButton.js +2 -2
- package/dist/node_modules/react-bootstrap/esm/Col.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Collapse.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Dropdown.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/DropdownDivider.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/DropdownHeader.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/DropdownItem.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/DropdownItemText.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/DropdownMenu.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/DropdownToggle.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Fade.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Feedback.js +2 -2
- package/dist/node_modules/react-bootstrap/esm/FloatingLabel.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Form.js +2 -2
- package/dist/node_modules/react-bootstrap/esm/FormCheck.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormCheckInput.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormCheckLabel.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormControl.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormFloating.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormLabel.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormRange.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormSelect.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormText.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Image.js +2 -2
- package/dist/node_modules/react-bootstrap/esm/Nav.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/NavItem.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/NavLink.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Navbar.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/NavbarBrand.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/NavbarText.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/NavbarToggle.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Offcanvas.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/OffcanvasBody.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/OffcanvasHeader.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/OffcanvasTitle.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/OffcanvasToggling.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Toast.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/ToastBody.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/ToastHeader.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/divWithClassName.js +1 -1
- package/dist/node_modules/react-helmet-async/lib/index.esm.js +2 -2
- package/dist/node_modules/react-smooth/es6/Animate.js +2 -2
- package/dist/node_modules/react-transition-group/esm/Transition.js +1 -1
- package/dist/node_modules/react-transition-group/esm/utils/PropTypes.js +1 -1
- package/dist/node_modules/recharts/es6/component/Cursor.js +2 -2
- package/dist/node_modules/recharts/es6/util/ChartUtils.js +2 -2
- package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js +7 -7
- package/dist/node_modules/victory-vendor/es/d3-scale.js +40 -40
- package/dist/styles/Currency.styles.d.ts +1 -1
- package/dist/styles/Dropdown.styles.d.ts +30 -29
- package/dist/styles/Dropdown.styles.js +18 -11
- package/dist/styles/Input.styles.d.ts +1 -1
- package/dist/styles/Scrollbar.styles.d.ts +1 -1
- package/dist/styles/StatusFeedback.styles.d.ts +7 -7
- package/dist/theme/theme.d.ts +1 -1
- package/package.json +2 -3
- package/dist/i18n/locales/ar.json.d.ts +0 -55
- package/dist/i18n/locales/en.json.d.ts +0 -55
- package/dist/node_modules/fast-equals/dist/es/index.js +0 -324
- package/dist/node_modules/react-bootstrap/esm/Spinner.js +0 -26
- package/dist/theme/styled-components.d.ts +0 -5
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { TableProps } from './Table.types';
|
|
1
|
+
import type { TableProps } from './Table.types';
|
|
2
2
|
declare function Table<T extends Record<string, unknown>>({ columns, data, keyField, selectable, onRowSelect, rowActions, stickyHeader, loading, emptyStateMessage, pagination, onRowClick, rowClassName, isRowDisabled, breakpoint, alignHeader, }: Readonly<TableProps<T>>): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default Table;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { ColumnAlignment } from './Table.types';
|
|
2
|
-
export declare const ActionButton: import(
|
|
3
|
-
export declare const DropdownContainer: import(
|
|
4
|
-
export declare const DropdownButton: import(
|
|
5
|
-
export declare const DropdownMenu: import(
|
|
1
|
+
import type { ColumnAlignment } from './Table.types';
|
|
2
|
+
export declare const ActionButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
3
|
+
export declare const DropdownContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
4
|
+
export declare const DropdownButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
5
|
+
export declare const DropdownMenu: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
6
6
|
$isOpen: boolean;
|
|
7
7
|
}>> & string;
|
|
8
|
-
export declare const DropdownItem: import(
|
|
8
|
+
export declare const DropdownItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
|
|
9
9
|
$disabled?: boolean;
|
|
10
10
|
}>> & string;
|
|
11
|
-
export declare const TableContainer: import(
|
|
12
|
-
export declare const StyledTable: import(
|
|
13
|
-
export declare const TableScrollContainer: import(
|
|
14
|
-
ref?: ((instance: HTMLDivElement | null) => void | import(
|
|
11
|
+
export declare const TableContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
12
|
+
export declare const StyledTable: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, never>> & string;
|
|
13
|
+
export declare const TableScrollContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>, "ref"> & {
|
|
14
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
15
15
|
}, never>> & string;
|
|
16
|
-
export declare const StyledTableHead: import(
|
|
16
|
+
export declare const StyledTableHead: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, {
|
|
17
17
|
$sticky?: boolean;
|
|
18
18
|
}>> & string;
|
|
19
|
-
export declare const TableHeaderRow: import(
|
|
20
|
-
export declare const TableHeaderCell: import(
|
|
19
|
+
export declare const TableHeaderRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, never>> & string;
|
|
20
|
+
export declare const TableHeaderCell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, {
|
|
21
21
|
$align?: ColumnAlignment;
|
|
22
22
|
$sortable?: boolean;
|
|
23
23
|
$width?: string;
|
|
@@ -27,32 +27,32 @@ export declare const TableHeaderCell: import('styled-components/dist/types').ISt
|
|
|
27
27
|
$isLastColumn?: boolean;
|
|
28
28
|
$isActionCell?: boolean;
|
|
29
29
|
}>> & string;
|
|
30
|
-
export declare const TableBody: import(
|
|
31
|
-
export declare const TableRow: import(
|
|
30
|
+
export declare const TableBody: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, never>> & string;
|
|
31
|
+
export declare const TableRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, {
|
|
32
32
|
$selected?: boolean;
|
|
33
33
|
$disabled?: boolean;
|
|
34
34
|
$clickable?: boolean;
|
|
35
35
|
}>> & string;
|
|
36
|
-
export declare const TableCellContainer: import(
|
|
36
|
+
export declare const TableCellContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, {
|
|
37
37
|
$align?: ColumnAlignment;
|
|
38
38
|
$isFirstColumn?: boolean;
|
|
39
39
|
$isLastColumn?: boolean;
|
|
40
40
|
$isActionCell?: boolean;
|
|
41
41
|
}>> & string;
|
|
42
|
-
export declare const SortIcon: import(
|
|
43
|
-
export declare const TableFooter: import(
|
|
44
|
-
export declare const EmptyState: import(
|
|
45
|
-
export declare const LoadingOverlay: import(
|
|
46
|
-
export declare const Badge: import(
|
|
42
|
+
export declare const SortIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
43
|
+
export declare const TableFooter: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
44
|
+
export declare const EmptyState: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
45
|
+
export declare const LoadingOverlay: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
46
|
+
export declare const Badge: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
47
47
|
$variant: "primary" | "success" | "warning" | "error" | "neutral";
|
|
48
48
|
}>> & string;
|
|
49
|
-
export declare const StatusIndicator: import(
|
|
49
|
+
export declare const StatusIndicator: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
50
50
|
$status: "success" | "warning" | "error" | "neutral";
|
|
51
51
|
}>> & string;
|
|
52
|
-
export declare const TablesWrapper: import(
|
|
53
|
-
export declare const DataScrollBox: import(
|
|
54
|
-
ref?: ((instance: HTMLDivElement | null) => void | import(
|
|
52
|
+
export declare const TablesWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
53
|
+
export declare const DataScrollBox: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>, "ref"> & {
|
|
54
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
55
55
|
}, never>> & string;
|
|
56
|
-
export declare const ActionsTable: import(
|
|
57
|
-
ref?: ((instance: HTMLTableElement | null) => void | import(
|
|
56
|
+
export declare const ActionsTable: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, never>, "ref"> & {
|
|
57
|
+
ref?: ((instance: HTMLTableElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLTableElement> | null | undefined;
|
|
58
58
|
}, never>> & string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
-
import { BadgeProps } from '
|
|
3
|
-
import { CheckboxProps } from '
|
|
4
|
-
import { RadioButtonProps } from '
|
|
5
|
-
import { AmountCellData, CellAlignment, CellData, CellType, RowAction, TableColumn, TransactionCellData } from '../Table.types';
|
|
1
|
+
import type { Dispatch, SetStateAction } from 'react';
|
|
2
|
+
import type { BadgeProps } from '@components/Badge';
|
|
3
|
+
import { type CheckboxProps } from '@components/Checkbox';
|
|
4
|
+
import { type RadioButtonProps } from '@components/Radio';
|
|
5
|
+
import type { AmountCellData, CellAlignment, CellData, CellType, RowAction, TableColumn, TransactionCellData } from '../Table.types';
|
|
6
6
|
export interface BaseCellProps {
|
|
7
7
|
align?: CellAlignment;
|
|
8
8
|
isDisabled?: boolean;
|
|
@@ -96,7 +96,7 @@ export declare const TransactionCell: React.FC<TransactionCellProps>;
|
|
|
96
96
|
export declare const CheckboxCell: React.FC<CheckboxCellProps>;
|
|
97
97
|
export declare const RadioButtonCell: React.FC<RadioButtonCellProps>;
|
|
98
98
|
export declare const BadgeCell: React.FC<BadgeCellProps>;
|
|
99
|
-
export declare const CustomCell: <T>({ column, row, rowIndex }: CustomCellProps<T>) => string | number | boolean | Iterable<import(
|
|
99
|
+
export declare const CustomCell: <T>({ column, row, rowIndex }: CustomCellProps<T>) => string | number | boolean | Iterable<import("react").ReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined;
|
|
100
100
|
export declare const IconCell: <T>({ row, keyField, rowActions, activeDropdown, setActiveDropdown, setConfirmationPopupOpen, }: IconCellProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
101
101
|
export interface CellFactoryProps<T = unknown> {
|
|
102
102
|
column?: TableColumn<T>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Direction, Theme } from '
|
|
1
|
+
import React, { type ReactNode } from 'react';
|
|
2
|
+
import { type Direction, type Theme } from '@theme/theme';
|
|
3
3
|
export type ThemeProviderProps = {
|
|
4
4
|
theme?: Theme;
|
|
5
5
|
children: ReactNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ToastVariant } from '
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type ToastVariant } from '@hooks/useToastVariant';
|
|
3
3
|
type ToastPosition = 'top-start' | 'top-center' | 'top-end' | 'middle-start' | 'middle-center' | 'middle-end' | 'bottom-start' | 'bottom-center' | 'bottom-end';
|
|
4
4
|
interface ToastNotificationProps {
|
|
5
5
|
show: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { TypographyVariant, TypographyVariantOptions } from '
|
|
3
|
-
import { FontSize, FontWeight, LetterSpacing, LineHeight } from '
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type TypographyVariant, type TypographyVariantOptions } from '@hooks/useTypographyVariant';
|
|
3
|
+
import type { FontSize, FontWeight, LetterSpacing, LineHeight } from '@theme/theme';
|
|
4
4
|
type TypographyOwnProps = {
|
|
5
5
|
variant?: TypographyVariant;
|
|
6
6
|
weight?: FontWeight;
|
|
@@ -145,5 +145,5 @@ export { default as DropDownWithTable } from './DropDownWithTable/DropDownWithTa
|
|
|
145
145
|
export type { DropDownWithTableProps } from './DropDownWithTable/DropDownWithTable.types';
|
|
146
146
|
export { default as TotalsSummary } from './TotalsSummary';
|
|
147
147
|
export type { TotalsSummaryProps, TotalsSummaryItem } from './TotalsSummary';
|
|
148
|
-
export { default } from './NextActionBox';
|
|
148
|
+
export { default as NextActionBox } from './NextActionBox';
|
|
149
149
|
export type { NextActionBoxProps, NextActionItem } from './NextActionBox';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FormikHandlers, FormikHelpers, FormikState, FormikValues } from 'formik';
|
|
1
|
+
import type { FormikHandlers, FormikHelpers, FormikState, FormikValues } from 'formik';
|
|
2
2
|
type InputType = 'text' | 'checkbox' | 'radio' | 'select' | 'textarea' | 'date' | 'file' | 'phone' | 'toggle';
|
|
3
3
|
export type FormikInputProps<T extends FormikValues> = {
|
|
4
4
|
formik: FormikState<T> & FormikHandlers & FormikHelpers<T>;
|
|
@@ -16,8 +16,8 @@ export default function useFormikInput<T extends FormikValues>({ formik, name, t
|
|
|
16
16
|
(e: React.FocusEvent<any>): void;
|
|
17
17
|
<T_1 = any>(fieldOrEvent: T_1): T_1 extends string ? (e: any) => void : void;
|
|
18
18
|
};
|
|
19
|
-
error: import(
|
|
20
|
-
touched: import(
|
|
19
|
+
error: import("formik").FormikErrors<T>[keyof T];
|
|
20
|
+
touched: import("formik").FormikTouched<T>[keyof T];
|
|
21
21
|
} | {
|
|
22
22
|
value: T[keyof T];
|
|
23
23
|
onChange: (date: Date) => void;
|
|
@@ -26,8 +26,8 @@ export default function useFormikInput<T extends FormikValues>({ formik, name, t
|
|
|
26
26
|
(e: React.FocusEvent<any>): void;
|
|
27
27
|
<T_1 = any>(fieldOrEvent: T_1): T_1 extends string ? (e: any) => void : void;
|
|
28
28
|
};
|
|
29
|
-
error: import(
|
|
30
|
-
touched: import(
|
|
29
|
+
error: import("formik").FormikErrors<T>[keyof T];
|
|
30
|
+
touched: import("formik").FormikTouched<T>[keyof T];
|
|
31
31
|
} | {
|
|
32
32
|
onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
33
33
|
name: string;
|
|
@@ -35,8 +35,8 @@ export default function useFormikInput<T extends FormikValues>({ formik, name, t
|
|
|
35
35
|
(e: React.FocusEvent<any>): void;
|
|
36
36
|
<T_1 = any>(fieldOrEvent: T_1): T_1 extends string ? (e: any) => void : void;
|
|
37
37
|
};
|
|
38
|
-
error: import(
|
|
39
|
-
touched: import(
|
|
38
|
+
error: import("formik").FormikErrors<T>[keyof T];
|
|
39
|
+
touched: import("formik").FormikTouched<T>[keyof T];
|
|
40
40
|
} | {
|
|
41
41
|
onChange: (value: string) => void;
|
|
42
42
|
name: string;
|
|
@@ -44,8 +44,8 @@ export default function useFormikInput<T extends FormikValues>({ formik, name, t
|
|
|
44
44
|
(e: React.FocusEvent<any>): void;
|
|
45
45
|
<T_1 = any>(fieldOrEvent: T_1): T_1 extends string ? (e: any) => void : void;
|
|
46
46
|
};
|
|
47
|
-
error: import(
|
|
48
|
-
touched: import(
|
|
47
|
+
error: import("formik").FormikErrors<T>[keyof T];
|
|
48
|
+
touched: import("formik").FormikTouched<T>[keyof T];
|
|
49
49
|
} | {
|
|
50
50
|
onChange: (value: boolean) => void;
|
|
51
51
|
name: string;
|
|
@@ -53,7 +53,7 @@ export default function useFormikInput<T extends FormikValues>({ formik, name, t
|
|
|
53
53
|
(e: React.FocusEvent<any>): void;
|
|
54
54
|
<T_1 = any>(fieldOrEvent: T_1): T_1 extends string ? (e: any) => void : void;
|
|
55
55
|
};
|
|
56
|
-
error: import(
|
|
57
|
-
touched: import(
|
|
56
|
+
error: import("formik").FormikErrors<T>[keyof T];
|
|
57
|
+
touched: import("formik").FormikTouched<T>[keyof T];
|
|
58
58
|
};
|
|
59
59
|
export {};
|
package/dist/i18n/i18n.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i18n as I18nType } from 'i18next';
|
|
1
|
+
import { type i18n as I18nType } from 'i18next';
|
|
2
2
|
declare const coreI18n: I18nType;
|
|
3
|
-
export declare const setQaemaCoreLanguage: (lng: string) => Promise<import(
|
|
4
|
-
export declare const useQaemaCoreTranslation: (ns?: string | string[]) => import(
|
|
3
|
+
export declare const setQaemaCoreLanguage: (lng: string) => Promise<import("i18next").TFunction<"translation", undefined>>;
|
|
4
|
+
export declare const useQaemaCoreTranslation: (ns?: string | string[]) => import("react-i18next").UseTranslationResponse<string | string[], undefined>;
|
|
5
5
|
export { coreI18n };
|