@oliasoft-open-source/react-ui-library 3.12.0-beta-20 → 3.12.0-beta-21
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/common-enum.d.ts +73 -0
- package/dist/common-enum.js +81 -0
- package/dist/components/accordion/accordion.d.ts +4 -0
- package/dist/components/accordion/accordion.interface.d.ts +17 -0
- package/dist/components/accordion/accordion.interface.js +1 -0
- package/dist/components/accordion/accordion.js +17 -0
- package/dist/components/accordion/accordion.stories.d.ts +11 -0
- package/dist/components/accordion/accordion.stories.js +140 -0
- package/dist/components/accordion/chevron/chevron.d.ts +5 -0
- package/dist/components/accordion/chevron/chevron.js +8 -0
- package/dist/components/accordion/enum.d.ts +4 -0
- package/dist/components/accordion/enum.js +5 -0
- package/dist/components/accordion/helpers/accordion-with-default-toggle.d.ts +12 -0
- package/dist/components/accordion/helpers/accordion-with-default-toggle.js +35 -0
- package/dist/components/actions/actions.d.ts +14 -0
- package/dist/components/actions/actions.interface.d.ts +25 -0
- package/dist/components/actions/actions.interface.js +1 -0
- package/dist/components/actions/actions.js +66 -0
- package/dist/components/actions/actions.stories.d.ts +25 -0
- package/dist/components/actions/actions.stories.js +67 -0
- package/dist/components/badge/badge.d.ts +10 -0
- package/dist/components/badge/badge.js +21 -0
- package/dist/components/badge/badge.stories.d.ts +7 -0
- package/dist/components/badge/badge.stories.js +21 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts +6 -0
- package/dist/components/breadcrumb/breadcrumb.js +11 -0
- package/dist/components/breadcrumb/breadcrumb.stories.d.ts +5 -0
- package/dist/components/breadcrumb/breadcrumb.stories.js +36 -0
- package/dist/components/breadcrumb/enum.d.ts +5 -0
- package/dist/components/breadcrumb/enum.js +6 -0
- package/dist/components/breadcrumb/link.d.ts +12 -0
- package/dist/components/breadcrumb/link.js +12 -0
- package/dist/components/button/button.d.ts +31 -0
- package/dist/components/button/button.js +52 -0
- package/dist/components/button/button.stories.d.ts +13 -0
- package/dist/components/button/button.stories.js +63 -0
- package/dist/components/button/enum.d.ts +5 -0
- package/dist/components/button/enum.js +6 -0
- package/dist/components/button-group/button-group.d.ts +38 -0
- package/dist/components/button-group/button-group.js +83 -0
- package/dist/components/button-group/button-group.stories-data.d.ts +6 -0
- package/dist/components/button-group/button-group.stories-data.js +61 -0
- package/dist/components/button-group/button-group.stories.d.ts +9 -0
- package/dist/components/button-group/button-group.stories.js +51 -0
- package/dist/components/card/card.d.ts +10 -0
- package/dist/components/card/card.js +6 -0
- package/dist/components/card/card.stories.d.ts +8 -0
- package/dist/components/card/card.stories.js +27 -0
- package/dist/components/check-box/check-box.d.ts +19 -0
- package/dist/components/check-box/check-box.js +19 -0
- package/dist/components/check-box/check-box.stories.d.ts +6 -0
- package/dist/components/check-box/check-box.stories.js +29 -0
- package/dist/components/color/color.stories-data.d.ts +9 -0
- package/dist/components/color/color.stories-data.js +55 -0
- package/dist/components/dialog/dialog.d.ts +17 -0
- package/dist/components/dialog/dialog.js +18 -0
- package/dist/components/divider/divider.d.ts +9 -0
- package/dist/components/divider/divider.js +19 -0
- package/dist/components/divider/divider.stories.d.ts +7 -0
- package/dist/components/divider/divider.stories.js +41 -0
- package/dist/components/drawer/drawer-resize-wrapper.d.ts +2 -0
- package/dist/components/drawer/drawer-resize-wrapper.js +33 -0
- package/dist/components/drawer/drawer-tabs.d.ts +2 -0
- package/dist/components/drawer/drawer-tabs.js +15 -0
- package/dist/components/drawer/drawer.constants.d.ts +2 -0
- package/dist/components/drawer/drawer.constants.js +2 -0
- package/dist/components/drawer/drawer.d.ts +2 -0
- package/dist/components/drawer/drawer.interface.d.ts +55 -0
- package/dist/components/drawer/drawer.interface.js +1 -0
- package/dist/components/drawer/drawer.js +80 -0
- package/dist/components/drawer/drawer.stories.d.ts +40 -0
- package/dist/components/drawer/drawer.stories.js +176 -0
- package/dist/components/empty/empty.d.ts +8 -0
- package/dist/components/empty/empty.js +6 -0
- package/dist/components/empty/empty.stories.d.ts +5 -0
- package/dist/components/empty/empty.stories.js +19 -0
- package/dist/components/file-input/enum.d.ts +6 -0
- package/dist/components/file-input/enum.js +7 -0
- package/dist/components/file-input/file-input.d.ts +18 -0
- package/dist/components/file-input/file-input.js +47 -0
- package/dist/components/file-input/file-input.stories.d.ts +7 -0
- package/dist/components/file-input/file-input.stories.js +65 -0
- package/dist/components/form/field.d.ts +16 -0
- package/dist/components/form/field.js +13 -0
- package/dist/components/form/field.stories.d.ts +12 -0
- package/dist/components/form/field.stories.js +51 -0
- package/dist/components/form/form.stories.d.ts +27 -0
- package/dist/components/form/form.stories.js +76 -0
- package/dist/components/heading/heading.d.ts +19 -0
- package/dist/components/heading/heading.js +9 -0
- package/dist/components/heading/heading.stories.d.ts +10 -0
- package/dist/components/heading/heading.stories.js +46 -0
- package/dist/components/help-icon/help-icon.d.ts +10 -0
- package/dist/components/help-icon/help-icon.js +19 -0
- package/dist/components/help-icon/help-icon.stories.d.ts +10 -0
- package/dist/components/help-icon/help-icon.stories.js +37 -0
- package/dist/components/icon/icon.d.ts +16 -0
- package/dist/components/icon/icon.js +31 -0
- package/dist/components/icon/icon.stories.d.ts +25 -0
- package/dist/components/icon/icon.stories.js +37 -0
- package/dist/components/icon/named-icon.d.ts +6 -0
- package/dist/components/icon/named-icon.js +418 -0
- package/dist/components/input/input.d.ts +26 -0
- package/dist/components/input/input.js +40 -0
- package/dist/components/input/input.stories.d.ts +5 -0
- package/dist/components/input/input.stories.js +22 -0
- package/dist/components/input-group/input-group-addon/input-group-addon.d.ts +8 -0
- package/dist/components/input-group/input-group-addon/input-group-addon.js +20 -0
- package/dist/components/input-group/input-group.d.ts +7 -0
- package/dist/components/input-group/input-group.js +27 -0
- package/dist/components/input-group/input-group.stories.d.ts +8 -0
- package/dist/components/input-group/input-group.stories.js +65 -0
- package/dist/components/label/label.d.ts +24 -0
- package/dist/components/label/label.js +14 -0
- package/dist/components/label/label.stories.d.ts +10 -0
- package/dist/components/label/label.stories.js +42 -0
- package/dist/components/layout/column/column.d.ts +18 -0
- package/dist/components/layout/column/column.js +13 -0
- package/dist/components/layout/column/styles.d.ts +15 -0
- package/dist/components/layout/column/styles.js +41 -0
- package/dist/components/layout/column.stories.d.ts +20 -0
- package/dist/components/layout/column.stories.js +53 -0
- package/dist/components/layout/flex/flex.d.ts +11 -0
- package/dist/components/layout/flex/flex.js +18 -0
- package/dist/components/layout/flex/flex.stories.d.ts +10 -0
- package/dist/components/layout/flex/flex.stories.js +52 -0
- package/dist/components/layout/form-row/form-row.d.ts +5 -0
- package/dist/components/layout/form-row/form-row.js +5 -0
- package/dist/components/layout/grid/grid.d.ts +11 -0
- package/dist/components/layout/grid/grid.js +41 -0
- package/dist/components/layout/grid/grid.stories.d.ts +9 -0
- package/dist/components/layout/grid/grid.stories.js +48 -0
- package/dist/components/layout/page/page.d.ts +9 -0
- package/dist/components/layout/page/page.js +11 -0
- package/dist/components/layout/page.stories.d.ts +9 -0
- package/dist/components/layout/page.stories.js +32 -0
- package/dist/components/layout/placeholder.d.ts +1 -0
- package/dist/components/layout/placeholder.js +1 -0
- package/dist/components/layout/print-header/print-header.d.ts +7 -0
- package/dist/components/layout/print-header/print-header.js +3 -0
- package/dist/components/layout/row/row.d.ts +15 -0
- package/dist/components/layout/row/row.js +24 -0
- package/dist/components/layout/spacer/spacer.d.ts +6 -0
- package/dist/components/layout/spacer/spacer.js +8 -0
- package/dist/components/list/list-row/item-content.d.ts +2 -0
- package/dist/components/list/list-row/item-content.js +9 -0
- package/dist/components/list/list-row/label.d.ts +2 -0
- package/dist/components/list/list-row/label.js +6 -0
- package/dist/components/list/list-row/list-heading.d.ts +3 -0
- package/dist/components/list/list-row/list-heading.js +10 -0
- package/dist/components/list/list-row/list-row.d.ts +3 -0
- package/dist/components/list/list-row/list-row.interface.d.ts +105 -0
- package/dist/components/list/list-row/list-row.interface.js +1 -0
- package/dist/components/list/list-row/list-row.js +56 -0
- package/dist/components/list/list-row/list-subheading.d.ts +3 -0
- package/dist/components/list/list-row/list-subheading.js +27 -0
- package/dist/components/list/list-row/meta-content.d.ts +2 -0
- package/dist/components/list/list-row/meta-content.js +12 -0
- package/dist/components/list/list-row/meta-count.d.ts +2 -0
- package/dist/components/list/list-row/meta-count.js +5 -0
- package/dist/components/list/list-row/name.d.ts +3 -0
- package/dist/components/list/list-row/name.js +12 -0
- package/dist/components/list/list.d.ts +2 -0
- package/dist/components/list/list.interface.d.ts +55 -0
- package/dist/components/list/list.interface.js +1 -0
- package/dist/components/list/list.js +86 -0
- package/dist/components/list/list.stories-data.d.ts +310 -0
- package/dist/components/list/list.stories-data.js +270 -0
- package/dist/components/list/list.stories.d.ts +22 -0
- package/dist/components/list/list.stories.js +411 -0
- package/dist/components/list/toggle-narrow.d.ts +2 -0
- package/dist/components/list/toggle-narrow.js +7 -0
- package/dist/components/loader/loader.d.ts +14 -0
- package/dist/components/loader/loader.js +15 -0
- package/dist/components/loader/loader.stories.d.ts +32 -0
- package/dist/components/loader/loader.stories.js +92 -0
- package/dist/components/menu/enum.d.ts +11 -0
- package/dist/components/menu/enum.js +13 -0
- package/dist/components/menu/index.d.ts +4 -0
- package/dist/components/menu/index.js +8 -0
- package/dist/components/menu/layer/divider.d.ts +1 -0
- package/dist/components/menu/layer/divider.js +3 -0
- package/dist/components/menu/layer/heading.d.ts +8 -0
- package/dist/components/menu/layer/heading.js +3 -0
- package/dist/components/menu/layer/layer.d.ts +15 -0
- package/dist/components/menu/layer/layer.js +47 -0
- package/dist/components/menu/layer/option.d.ts +19 -0
- package/dist/components/menu/layer/option.js +22 -0
- package/dist/components/menu/layer/path.d.ts +5 -0
- package/dist/components/menu/layer/path.js +30 -0
- package/dist/components/menu/layer/placementOptions.d.ts +3 -0
- package/dist/components/menu/layer/placementOptions.js +6 -0
- package/dist/components/menu/layer/section.d.ts +10 -0
- package/dist/components/menu/layer/section.js +23 -0
- package/dist/components/menu/menu.d.ts +3 -0
- package/dist/components/menu/menu.interface.d.ts +82 -0
- package/dist/components/menu/menu.interface.js +1 -0
- package/dist/components/menu/menu.js +92 -0
- package/dist/components/menu/menu.stories-data.d.ts +101 -0
- package/dist/components/menu/menu.stories-data.js +182 -0
- package/dist/components/menu/menu.stories.d.ts +31 -0
- package/dist/components/menu/menu.stories.js +104 -0
- package/dist/components/menu/menu.test.d.ts +1 -0
- package/dist/components/menu/menu.test.js +46 -0
- package/dist/components/menu/trigger/button.d.ts +14 -0
- package/dist/components/menu/trigger/button.js +13 -0
- package/dist/components/menu/trigger/component.d.ts +8 -0
- package/dist/components/menu/trigger/component.js +6 -0
- package/dist/components/menu/trigger/text.d.ts +10 -0
- package/dist/components/menu/trigger/text.js +9 -0
- package/dist/components/menu/trigger/trigger.d.ts +27 -0
- package/dist/components/menu/trigger/trigger.js +35 -0
- package/dist/components/message/dismiss.d.ts +8 -0
- package/dist/components/message/dismiss.js +17 -0
- package/dist/components/message/enum.d.ts +9 -0
- package/dist/components/message/enum.js +11 -0
- package/dist/components/message/message.d.ts +19 -0
- package/dist/components/message/message.js +49 -0
- package/dist/components/message/message.stories.d.ts +11 -0
- package/dist/components/message/message.stories.js +82 -0
- package/dist/components/modal/modal.d.ts +8 -0
- package/dist/components/modal/modal.js +7 -0
- package/dist/components/modal/modal.stories.d.ts +12 -0
- package/dist/components/modal/modal.stories.js +107 -0
- package/dist/components/number-input/number-input.d.ts +26 -0
- package/dist/components/number-input/number-input.js +66 -0
- package/dist/components/number-input/number-input.stories.d.ts +13 -0
- package/dist/components/number-input/number-input.stories.js +43 -0
- package/dist/components/option-dropdown/enum.d.ts +5 -0
- package/dist/components/option-dropdown/enum.js +6 -0
- package/dist/components/option-dropdown/heading.d.ts +4 -0
- package/dist/components/option-dropdown/heading.js +3 -0
- package/dist/components/option-dropdown/layer.d.ts +16 -0
- package/dist/components/option-dropdown/layer.js +43 -0
- package/dist/components/option-dropdown/option-dropdown.d.ts +19 -0
- package/dist/components/option-dropdown/option-dropdown.js +17 -0
- package/dist/components/option-dropdown/option-dropdown.stories.d.ts +5 -0
- package/dist/components/option-dropdown/option-dropdown.stories.js +35 -0
- package/dist/components/option-dropdown/option.d.ts +10 -0
- package/dist/components/option-dropdown/option.js +7 -0
- package/dist/components/pagination/pagination.d.ts +13 -0
- package/dist/components/pagination/pagination.interface.d.ts +15 -0
- package/dist/components/pagination/pagination.interface.js +1 -0
- package/dist/components/pagination/pagination.js +33 -0
- package/dist/components/pagination/pagination.stories.d.ts +7 -0
- package/dist/components/pagination/pagination.stories.js +62 -0
- package/dist/components/pagination/pagination.test.d.ts +1 -0
- package/dist/components/pagination/pagination.test.js +84 -0
- package/dist/components/pagination/pagination.viewdata.d.ts +17 -0
- package/dist/components/pagination/pagination.viewdata.js +53 -0
- package/dist/components/pop-confirm/content.d.ts +9 -0
- package/dist/components/pop-confirm/content.js +5 -0
- package/dist/components/pop-confirm/pop-confirm.d.ts +14 -0
- package/dist/components/pop-confirm/pop-confirm.js +7 -0
- package/dist/components/pop-confirm/pop-confirm.stories.d.ts +4 -0
- package/dist/components/pop-confirm/pop-confirm.stories.js +43 -0
- package/dist/components/popover/popover.d.ts +14 -0
- package/dist/components/popover/popover.js +39 -0
- package/dist/components/popover/popover.stories.d.ts +7 -0
- package/dist/components/popover/popover.stories.js +43 -0
- package/dist/components/portal/portal.d.ts +6 -0
- package/dist/components/portal/portal.js +11 -0
- package/dist/components/portal/portal.stories.d.ts +7 -0
- package/dist/components/portal/portal.stories.js +51 -0
- package/dist/components/progress-bar/progress-bar.d.ts +9 -0
- package/dist/components/progress-bar/progress-bar.js +21 -0
- package/dist/components/progress-bar/progress-bar.stories.d.ts +4 -0
- package/dist/components/progress-bar/progress-bar.stories.js +16 -0
- package/dist/components/radio-button/radio-button.d.ts +27 -0
- package/dist/components/radio-button/radio-button.js +45 -0
- package/dist/components/radio-button/radio-button.stories.d.ts +5 -0
- package/dist/components/radio-button/radio-button.stories.js +45 -0
- package/dist/components/radio-button/radio-input.d.ts +16 -0
- package/dist/components/radio-button/radio-input.js +9 -0
- package/dist/components/rich-text-input/rich-text-input.d.ts +10 -0
- package/dist/components/rich-text-input/rich-text-input.js +35 -0
- package/dist/components/rich-text-input/rich-text-input.stories.d.ts +9 -0
- package/dist/components/rich-text-input/rich-text-input.stories.js +60 -0
- package/dist/components/rich-text-input/rich-text-toolbar/enum.d.ts +7 -0
- package/dist/components/rich-text-input/rich-text-toolbar/enum.js +8 -0
- package/dist/components/rich-text-input/rich-text-toolbar/rich-text-toolbar.d.ts +7 -0
- package/dist/components/rich-text-input/rich-text-toolbar/rich-text-toolbar.js +42 -0
- package/dist/components/select/custom-select/custom-select.d.ts +2 -0
- package/dist/components/select/custom-select/custom-select.interface.d.ts +47 -0
- package/dist/components/select/custom-select/custom-select.interface.js +1 -0
- package/dist/components/select/custom-select/custom-select.js +51 -0
- package/dist/components/select/custom-select/custom-select.reducer.d.ts +6 -0
- package/dist/components/select/custom-select/custom-select.reducer.js +140 -0
- package/dist/components/select/custom-select/enum.d.ts +11 -0
- package/dist/components/select/custom-select/enum.js +12 -0
- package/dist/components/select/custom-select/helper.d.ts +3 -0
- package/dist/components/select/custom-select/helper.js +55 -0
- package/dist/components/select/custom-select/hooks/enum.d.ts +20 -0
- package/dist/components/select/custom-select/hooks/enum.js +22 -0
- package/dist/components/select/custom-select/hooks/use-custom-select-logic.d.ts +39 -0
- package/dist/components/select/custom-select/hooks/use-custom-select-logic.js +222 -0
- package/dist/components/select/custom-select/layer/heading.d.ts +3 -0
- package/dist/components/select/custom-select/layer/heading.js +5 -0
- package/dist/components/select/custom-select/layer/layer.d.ts +17 -0
- package/dist/components/select/custom-select/layer/layer.js +25 -0
- package/dist/components/select/custom-select/layer/option.d.ts +15 -0
- package/dist/components/select/custom-select/layer/option.js +10 -0
- package/dist/components/select/custom-select/layer/placementOptions.d.ts +10 -0
- package/dist/components/select/custom-select/layer/placementOptions.js +7 -0
- package/dist/components/select/custom-select/layer/section.d.ts +15 -0
- package/dist/components/select/custom-select/layer/section.js +16 -0
- package/dist/components/select/custom-select/reducer.interface.d.ts +34 -0
- package/dist/components/select/custom-select/reducer.interface.js +1 -0
- package/dist/components/select/custom-select/trigger/input.d.ts +14 -0
- package/dist/components/select/custom-select/trigger/input.js +21 -0
- package/dist/components/select/custom-select/trigger/multi-selected-options.d.ts +8 -0
- package/dist/components/select/custom-select/trigger/multi-selected-options.js +41 -0
- package/dist/components/select/custom-select/trigger/trigger.d.ts +34 -0
- package/dist/components/select/custom-select/trigger/trigger.js +53 -0
- package/dist/components/select/native-select/native-select.d.ts +29 -0
- package/dist/components/select/native-select/native-select.js +61 -0
- package/dist/components/select/select.d.ts +2 -0
- package/dist/components/select/select.input.d.ts +21 -0
- package/dist/components/select/select.input.js +114 -0
- package/dist/components/select/select.interface.d.ts +39 -0
- package/dist/components/select/select.interface.js +1 -0
- package/dist/components/select/select.js +61 -0
- package/dist/components/select/select.stories-data.d.ts +25 -0
- package/dist/components/select/select.stories-data.js +113 -0
- package/dist/components/select/select.stories.d.ts +30 -0
- package/dist/components/select/select.stories.js +93 -0
- package/dist/components/select/select.test.d.ts +1 -0
- package/dist/components/select/select.test.js +303 -0
- package/dist/components/side-bar/link.d.ts +17 -0
- package/dist/components/side-bar/link.js +20 -0
- package/dist/components/side-bar/sections.d.ts +21 -0
- package/dist/components/side-bar/sections.js +7 -0
- package/dist/components/side-bar/side-bar.d.ts +26 -0
- package/dist/components/side-bar/side-bar.js +28 -0
- package/dist/components/side-bar/side-bar.stories.d.ts +5 -0
- package/dist/components/side-bar/side-bar.stories.js +90 -0
- package/dist/components/slider/slider-tooltip.d.ts +5 -0
- package/dist/components/slider/slider-tooltip.js +13 -0
- package/dist/components/slider/slider.d.ts +37 -0
- package/dist/components/slider/slider.js +57 -0
- package/dist/components/slider/slider.stories.d.ts +16 -0
- package/dist/components/slider/slider.stories.js +85 -0
- package/dist/components/spinner/spinner.d.ts +7 -0
- package/dist/components/spinner/spinner.js +6 -0
- package/dist/components/spinner/spinner.stories.d.ts +4 -0
- package/dist/components/spinner/spinner.stories.js +14 -0
- package/dist/components/table/cell/cell-types/action-cell.d.ts +5 -0
- package/dist/components/table/cell/cell-types/action-cell.js +5 -0
- package/dist/components/table/cell/cell-types/cell-help-icon.d.ts +5 -0
- package/dist/components/table/cell/cell-types/cell-help-icon.js +7 -0
- package/dist/components/table/cell/cell-types/cell-library-icon.d.ts +5 -0
- package/dist/components/table/cell/cell-types/cell-library-icon.js +8 -0
- package/dist/components/table/cell/cell-types/cell-types.interface.d.ts +150 -0
- package/dist/components/table/cell/cell-types/cell-types.interface.js +1 -0
- package/dist/components/table/cell/cell-types/check-box-cell.d.ts +7 -0
- package/dist/components/table/cell/cell-types/check-box-cell.js +5 -0
- package/dist/components/table/cell/cell-types/icon-cell.d.ts +5 -0
- package/dist/components/table/cell/cell-types/icon-cell.js +9 -0
- package/dist/components/table/cell/cell-types/input-cell.d.ts +8 -0
- package/dist/components/table/cell/cell-types/input-cell.js +6 -0
- package/dist/components/table/cell/cell-types/link-cell.d.ts +7 -0
- package/dist/components/table/cell/cell-types/link-cell.js +23 -0
- package/dist/components/table/cell/cell-types/number-input-cell.d.ts +7 -0
- package/dist/components/table/cell/cell-types/number-input-cell.js +5 -0
- package/dist/components/table/cell/cell-types/popover-cell.d.ts +6 -0
- package/dist/components/table/cell/cell-types/popover-cell.js +8 -0
- package/dist/components/table/cell/cell-types/select-cell.d.ts +8 -0
- package/dist/components/table/cell/cell-types/select-cell.js +6 -0
- package/dist/components/table/cell/cell-types/slider-cell.d.ts +6 -0
- package/dist/components/table/cell/cell-types/slider-cell.js +6 -0
- package/dist/components/table/cell/cell-types/sort-cell.d.ts +5 -0
- package/dist/components/table/cell/cell-types/sort-cell.js +9 -0
- package/dist/components/table/cell/cell-types/static-cell.d.ts +7 -0
- package/dist/components/table/cell/cell-types/static-cell.js +16 -0
- package/dist/components/table/cell/cell-wrapper.d.ts +8 -0
- package/dist/components/table/cell/cell-wrapper.js +33 -0
- package/dist/components/table/cell/cell.d.ts +12 -0
- package/dist/components/table/cell/cell.js +45 -0
- package/dist/components/table/cell/cell.stories.d.ts +21 -0
- package/dist/components/table/cell/cell.stories.js +209 -0
- package/dist/components/table/cell/input-cell-wrapper.d.ts +7 -0
- package/dist/components/table/cell/input-cell-wrapper.js +8 -0
- package/dist/components/table/enum.d.ts +9 -0
- package/dist/components/table/enum.js +10 -0
- package/dist/components/table/footer/footer.d.ts +10 -0
- package/dist/components/table/footer/footer.js +18 -0
- package/dist/components/table/footer/footer.stories.d.ts +3 -0
- package/dist/components/table/footer/footer.stories.js +19 -0
- package/dist/components/table/helper.d.ts +22 -0
- package/dist/components/table/helper.js +49 -0
- package/dist/components/table/helper.test.d.ts +1 -0
- package/dist/components/table/helper.test.js +127 -0
- package/dist/components/table/row/expanded-content-row.d.ts +7 -0
- package/dist/components/table/row/expanded-content-row.js +6 -0
- package/dist/components/table/row/row.d.ts +37 -0
- package/dist/components/table/row/row.js +46 -0
- package/dist/components/table/row/row.stories.d.ts +9 -0
- package/dist/components/table/row/row.stories.js +132 -0
- package/dist/components/table/table-scroll-wrapper.d.ts +13 -0
- package/dist/components/table/table-scroll-wrapper.js +24 -0
- package/dist/components/table/table.d.ts +34 -0
- package/dist/components/table/table.js +91 -0
- package/dist/components/table/table.stories-data.d.ts +1970 -0
- package/dist/components/table/table.stories-data.js +996 -0
- package/dist/components/table/table.stories.d.ts +17 -0
- package/dist/components/table/table.stories.js +521 -0
- package/dist/components/table/table.test.d.ts +1 -0
- package/dist/components/table/table.test.js +27 -0
- package/dist/components/table/table.viewdata.d.ts +16 -0
- package/dist/components/table/table.viewdata.js +17 -0
- package/dist/components/table/title/title.d.ts +8 -0
- package/dist/components/table/title/title.js +22 -0
- package/dist/components/table/title/title.stories.d.ts +11 -0
- package/dist/components/table/title/title.stories.js +53 -0
- package/dist/components/tabs/content.d.ts +7 -0
- package/dist/components/tabs/content.js +6 -0
- package/dist/components/tabs/label.d.ts +14 -0
- package/dist/components/tabs/label.js +8 -0
- package/dist/components/tabs/tabs.d.ts +33 -0
- package/dist/components/tabs/tabs.js +64 -0
- package/dist/components/tabs/tabs.stories.d.ts +10 -0
- package/dist/components/tabs/tabs.stories.js +86 -0
- package/dist/components/text/text.d.ts +15 -0
- package/dist/components/text/text.js +6 -0
- package/dist/components/text/text.stories.d.ts +6 -0
- package/dist/components/text/text.stories.js +22 -0
- package/dist/components/text-link/text-link.d.ts +9 -0
- package/dist/components/text-link/text-link.js +5 -0
- package/dist/components/text-link/text-link.stories.d.ts +5 -0
- package/dist/components/text-link/text-link.stories.js +17 -0
- package/dist/components/textarea/textarea.d.ts +22 -0
- package/dist/components/textarea/textarea.js +15 -0
- package/dist/components/textarea/textarea.stories.d.ts +4 -0
- package/dist/components/textarea/textarea.stories.js +18 -0
- package/dist/components/toaster/toaster.d.ts +19 -0
- package/dist/components/toaster/toaster.js +51 -0
- package/dist/components/toaster/toaster.stories.d.ts +15 -0
- package/dist/components/toaster/toaster.stories.js +84 -0
- package/dist/components/toggle/toggle.d.ts +14 -0
- package/dist/components/toggle/toggle.js +17 -0
- package/dist/components/toggle/toggle.stories.d.ts +10 -0
- package/dist/components/toggle/toggle.stories.js +41 -0
- package/dist/components/tooltip/tooltip-layer.d.ts +16 -0
- package/dist/components/tooltip/tooltip-layer.js +19 -0
- package/dist/components/tooltip/tooltip.d.ts +19 -0
- package/dist/components/tooltip/tooltip.js +31 -0
- package/dist/components/tooltip/tooltip.stories.d.ts +11 -0
- package/dist/components/tooltip/tooltip.stories.js +50 -0
- package/dist/components/tooltip/tooltip.test-case.stories.d.ts +4 -0
- package/dist/components/tooltip/tooltip.test-case.stories.js +20 -0
- package/dist/components/top-bar/element/element.d.ts +32 -0
- package/dist/components/top-bar/element/element.js +28 -0
- package/dist/components/top-bar/element/enum.d.ts +6 -0
- package/dist/components/top-bar/element/enum.js +7 -0
- package/dist/components/top-bar/element/link.d.ts +11 -0
- package/dist/components/top-bar/element/link.js +15 -0
- package/dist/components/top-bar/title.d.ts +9 -0
- package/dist/components/top-bar/title.js +7 -0
- package/dist/components/top-bar/top-bar.d.ts +11 -0
- package/dist/components/top-bar/top-bar.js +19 -0
- package/dist/components/top-bar/top-bar.stories.d.ts +6 -0
- package/dist/components/top-bar/top-bar.stories.js +124 -0
- package/dist/components/top-bar/top-bar.testcase.stories.d.ts +5 -0
- package/dist/components/top-bar/top-bar.testcase.stories.js +53 -0
- package/dist/components/top-bar/warning.d.ts +5 -0
- package/dist/components/top-bar/warning.js +5 -0
- package/dist/components/tree/tree-item.d.ts +10 -0
- package/dist/components/tree/tree-item.js +27 -0
- package/dist/components/tree/tree-placeholder.d.ts +4 -0
- package/dist/components/tree/tree-placeholder.js +3 -0
- package/dist/components/tree/tree.d.ts +42 -0
- package/dist/components/tree/tree.js +50 -0
- package/dist/components/tree/tree.stories-data.d.ts +126 -0
- package/dist/components/tree/tree.stories-data.js +83 -0
- package/dist/components/tree/tree.stories.d.ts +11 -0
- package/dist/components/tree/tree.stories.js +98 -0
- package/dist/helpers/disabled-context.d.ts +2 -0
- package/dist/helpers/disabled-context.js +2 -0
- package/dist/helpers/text.d.ts +1 -0
- package/dist/helpers/text.js +9 -0
- package/dist/helpers/types.d.ts +3 -0
- package/dist/helpers/types.js +8 -0
- package/dist/hooks/index.d.ts +4 -0
- package/dist/hooks/index.js +4 -0
- package/dist/hooks/use-focus.d.ts +4 -0
- package/dist/hooks/use-focus.js +10 -0
- package/dist/hooks/use-fonts-ready.d.ts +1 -0
- package/dist/hooks/use-fonts-ready.js +13 -0
- package/dist/hooks/use-keyboard-event.d.ts +2 -0
- package/dist/hooks/use-keyboard-event.js +14 -0
- package/dist/hooks/use-window-width.d.ts +1 -0
- package/dist/hooks/use-window-width.js +16 -0
- package/dist/index.d.ts +79 -1467
- package/dist/index.js +86 -72363
- package/dist/my-dummy.js +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,1467 +1,79 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
export
|
|
22
|
-
|
|
23
|
-
export
|
|
24
|
-
|
|
25
|
-
export
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
export
|
|
41
|
-
|
|
42
|
-
export
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
export
|
|
57
|
-
|
|
58
|
-
export
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
export
|
|
70
|
-
|
|
71
|
-
export
|
|
72
|
-
|
|
73
|
-
export
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
export declare const Column: ({ background, borderLeft, borderRight, children, flex, flexbox, padding, scroll, showScrollbar, spacing, width, widthMobile, widthTablet, testId, }: ILayoutColumnProps) => JSX_2.Element;
|
|
83
|
-
|
|
84
|
-
declare type ComponentElement = {
|
|
85
|
-
type: TopBarElementType.COMPONENT;
|
|
86
|
-
component: ReactNode;
|
|
87
|
-
};
|
|
88
|
-
|
|
89
|
-
export declare const Dialog: ({ dialog }: IDialogProps) => JSX_2.Element;
|
|
90
|
-
|
|
91
|
-
export declare const DisabledContext: React_2.Context<boolean>;
|
|
92
|
-
|
|
93
|
-
export declare const Divider: ({ children, margin, color, align, }: IDividerProps) => JSX_2.Element;
|
|
94
|
-
|
|
95
|
-
export declare const Drawer: ({ background, fixed, open: openProp, setOpen: setOpenProp, right, width, closedWidth, shadow, top, button, buttonAnimate, buttonPosition, border, children, tabs, defaultTabIndex, activeTab: activeTabProp, setActiveTab: setActiveTabProp, testId, onResize, getActiveTab, onClose, onOpen, }: IDrawerProps) => JSX_2.Element;
|
|
96
|
-
|
|
97
|
-
export declare const Empty: ({ width, height, text, children, }: IEmptyProps) => JSX_2.Element;
|
|
98
|
-
|
|
99
|
-
export declare const Field: ({ label, labelLeft, labelWidth, children, helpText, helpTextMaxWidth, onClickHelp, lock, info, libraryIcon, testId, }: IFieldProps) => JSX_2.Element;
|
|
100
|
-
|
|
101
|
-
export declare const FileInput: ({ label, loading, placeholder, disabled, file, accept, multi, name, width, onChange, testId, }: IFileInputProps) => ReactElement;
|
|
102
|
-
|
|
103
|
-
declare type FileReaderMethod = InputReaderMethods;
|
|
104
|
-
|
|
105
|
-
export declare const Flex: ({ alignItems, justifyContent, direction, height, children, wrap, gap, }: ILayoutFlexProps) => JSX_2.Element;
|
|
106
|
-
|
|
107
|
-
export declare const FormRow: ({ children }: ILayoutFormRowProps) => JSX_2.Element;
|
|
108
|
-
|
|
109
|
-
export declare const Grid: ({ rows, columns, columnsTablet, columnsMobile, gap, height, children, }: ILayoutGridProps) => JSX_2.Element;
|
|
110
|
-
|
|
111
|
-
export declare enum GroupOrder {
|
|
112
|
-
FIRST = "first",
|
|
113
|
-
MIDDLE = "middle",
|
|
114
|
-
LAST = "last"
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
export declare const Heading: ({ children, helpText, onClick, onClickHelp, onIconClick, icon, libraryIcon, marginBottom, top, testId, }: IHeadingProps) => JSX_2.Element;
|
|
118
|
-
|
|
119
|
-
export declare const HelpIcon: ({ text, onClick, icon, active, maxWidth, testId, }: IHelpIconProps) => JSX_2.Element;
|
|
120
|
-
|
|
121
|
-
declare interface IAccordionBaseProps {
|
|
122
|
-
heading: ReactNode;
|
|
123
|
-
expanded?: boolean;
|
|
124
|
-
bordered?: boolean;
|
|
125
|
-
padding?: boolean;
|
|
126
|
-
children?: ReactNode;
|
|
127
|
-
squareBottom?: boolean;
|
|
128
|
-
onClick?: () => void;
|
|
129
|
-
testId?: string;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
declare interface IAccordionProps extends IAccordionBaseProps {
|
|
133
|
-
managed?: boolean;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
declare interface IAccordionWithDefaultToggleProps {
|
|
137
|
-
heading: ReactNode;
|
|
138
|
-
toggleLabel: string;
|
|
139
|
-
expanded?: boolean;
|
|
140
|
-
defaultEnabled?: boolean;
|
|
141
|
-
onClickDefaultToggle?: (evt: ChangeEvent<HTMLInputElement>) => void;
|
|
142
|
-
padding?: boolean;
|
|
143
|
-
children?: ReactNode;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
declare interface IAction {
|
|
147
|
-
label?: string;
|
|
148
|
-
childComponent?: ReactNode;
|
|
149
|
-
subActions?: ISubAction[];
|
|
150
|
-
primary?: boolean;
|
|
151
|
-
icon?: ReactNode;
|
|
152
|
-
testId?: string;
|
|
153
|
-
hidden?: boolean;
|
|
154
|
-
disabled?: boolean;
|
|
155
|
-
onClick?: (evt: React_2.MouseEvent, id?: string | number) => void;
|
|
156
|
-
tooltip?: ReactNode | string;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
declare interface IActionProps {
|
|
160
|
-
actions: IAction[];
|
|
161
|
-
closeLayer?: () => void;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
declare interface IBadgeProps {
|
|
165
|
-
children?: ReactNode;
|
|
166
|
-
color?: string;
|
|
167
|
-
title?: string | number | null;
|
|
168
|
-
dot?: boolean;
|
|
169
|
-
margin?: string | number | null;
|
|
170
|
-
small?: boolean;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
declare interface IBreadcrumbProps {
|
|
174
|
-
links: ILinkProps[];
|
|
175
|
-
small?: boolean;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
declare interface IBtnGroupItemProps {
|
|
179
|
-
label: string;
|
|
180
|
-
value: string;
|
|
181
|
-
key?: string | number;
|
|
182
|
-
hidden?: boolean;
|
|
183
|
-
icon?: any;
|
|
184
|
-
error?: any;
|
|
185
|
-
maxTooltipWidth?: any;
|
|
186
|
-
testId?: string;
|
|
187
|
-
tooltip?: any;
|
|
188
|
-
warning?: any;
|
|
189
|
-
disabled?: boolean;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
declare interface IButtonGroupProps {
|
|
193
|
-
disabled?: boolean;
|
|
194
|
-
basic?: boolean;
|
|
195
|
-
items?: (string[] | IBtnGroupItemProps)[];
|
|
196
|
-
header?: string;
|
|
197
|
-
onSelected?: (key: string | number, value: string, label: string) => void;
|
|
198
|
-
small?: boolean;
|
|
199
|
-
value?: string | number;
|
|
200
|
-
testId?: string;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
declare interface IButtonProps {
|
|
204
|
-
active?: boolean;
|
|
205
|
-
basic?: boolean;
|
|
206
|
-
colored?: boolean | string;
|
|
207
|
-
disabled?: boolean;
|
|
208
|
-
groupOrder?: string | null;
|
|
209
|
-
icon?: ReactNode | string;
|
|
210
|
-
label?: ReactNode | string;
|
|
211
|
-
loading?: boolean;
|
|
212
|
-
name?: string;
|
|
213
|
-
onClick?: (evt: MouseEvent_2<HTMLButtonElement>) => void;
|
|
214
|
-
pill?: boolean;
|
|
215
|
-
round?: boolean;
|
|
216
|
-
small?: boolean;
|
|
217
|
-
styles?: string;
|
|
218
|
-
width?: string | number;
|
|
219
|
-
title?: string;
|
|
220
|
-
type?: ButtonType;
|
|
221
|
-
error?: string;
|
|
222
|
-
warning?: string;
|
|
223
|
-
testId?: string;
|
|
224
|
-
tooltip?: ReactNode | string;
|
|
225
|
-
inverted?: boolean;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
declare interface ICardProps {
|
|
229
|
-
bordered?: boolean;
|
|
230
|
-
heading?: ReactNode;
|
|
231
|
-
margin?: string;
|
|
232
|
-
padding?: boolean;
|
|
233
|
-
raised?: boolean;
|
|
234
|
-
children?: ReactNode;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
declare interface ICheckBoxProps {
|
|
238
|
-
checked?: boolean;
|
|
239
|
-
isInTable?: boolean;
|
|
240
|
-
label?: string;
|
|
241
|
-
name?: string;
|
|
242
|
-
noMargin?: boolean;
|
|
243
|
-
onChange: (evt: React_2.ChangeEvent<HTMLInputElement>) => void;
|
|
244
|
-
tabIndex?: number;
|
|
245
|
-
disabled?: boolean;
|
|
246
|
-
small?: boolean;
|
|
247
|
-
testId?: string;
|
|
248
|
-
key?: string;
|
|
249
|
-
dataix?: number;
|
|
250
|
-
value?: string;
|
|
251
|
-
helpText?: string;
|
|
252
|
-
onClickHelp?: () => void;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
/**
|
|
256
|
-
* Icon wrapper component to support different icon formats:
|
|
257
|
-
* - string names (default recommendation)
|
|
258
|
-
* - react-icons
|
|
259
|
-
* - SVG (for special cases)
|
|
260
|
-
*/
|
|
261
|
-
export declare const Icon: ({ icon, onClick, clickable, color, size, testId, }: IconProps) => JSX_2.Element;
|
|
262
|
-
|
|
263
|
-
declare interface IconProps {
|
|
264
|
-
icon: ReactNode | string;
|
|
265
|
-
onClick?: MouseEventHandler<HTMLDivElement>;
|
|
266
|
-
clickable?: boolean;
|
|
267
|
-
color?: string;
|
|
268
|
-
size?: string | number;
|
|
269
|
-
testId?: string;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
export declare enum IconType {
|
|
273
|
-
LIBRARY = "library",
|
|
274
|
-
ADD = "add",
|
|
275
|
-
DRAG = "drag",
|
|
276
|
-
DRAG_HORIZONTAL = "drag horizontal",
|
|
277
|
-
HELP = "help",
|
|
278
|
-
NOTIFICATION = "notification",
|
|
279
|
-
MENU = "menu",
|
|
280
|
-
EDIT = "edit",
|
|
281
|
-
FAST_FORWARD = "fast forward",
|
|
282
|
-
INDENT = "indent",
|
|
283
|
-
STAR = "star",
|
|
284
|
-
LIST = "list",
|
|
285
|
-
SETTINGS = "settings",
|
|
286
|
-
CHECK = "check",
|
|
287
|
-
LOCK = "lock",
|
|
288
|
-
UNLOCK = "unlock",
|
|
289
|
-
CLOSE = "close",
|
|
290
|
-
SUCCESS = "success",
|
|
291
|
-
WARNING = "warning",
|
|
292
|
-
ERROR = "error",
|
|
293
|
-
INFO = "info",
|
|
294
|
-
LEFT = "left",
|
|
295
|
-
COLLAPSE = "collapse",
|
|
296
|
-
EXPAND = "expand",
|
|
297
|
-
SORT_ASCENDING = "sort ascending",
|
|
298
|
-
SORT_DESCENDING = "sort descending",
|
|
299
|
-
FAST_BACKWARD = "fast backward",
|
|
300
|
-
CHEVRON_DOWN = "chevron down",
|
|
301
|
-
CHEVRON_RIGHT = "chevron right",
|
|
302
|
-
CHEVRON_LEFT = "chevron left",
|
|
303
|
-
CHEVRON_DOUBLE_LEFT = "chevron double left",
|
|
304
|
-
CHEVRON_DOUBLE_RIGHT = "chevron double right"
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
declare interface IDialog {
|
|
308
|
-
heading?: string;
|
|
309
|
-
content?: ReactNode | string[];
|
|
310
|
-
contentPadding?: number | string;
|
|
311
|
-
footer?: ReactNode;
|
|
312
|
-
width?: number | string;
|
|
313
|
-
height?: number | string;
|
|
314
|
-
bordered?: boolean;
|
|
315
|
-
onClose?: () => void;
|
|
316
|
-
scroll?: boolean;
|
|
317
|
-
testId?: string;
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
declare interface IDialogProps {
|
|
321
|
-
dialog: IDialog;
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
declare interface IDividerProps {
|
|
325
|
-
margin?: number | string;
|
|
326
|
-
color?: string;
|
|
327
|
-
align?: Align;
|
|
328
|
-
children?: React_2.ReactNode;
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
declare interface IDrawerProps {
|
|
332
|
-
background?: string;
|
|
333
|
-
children?: ReactNode;
|
|
334
|
-
fixed?: boolean;
|
|
335
|
-
open?: boolean;
|
|
336
|
-
setOpen?: (openState: boolean) => void;
|
|
337
|
-
right?: boolean;
|
|
338
|
-
shadow?: boolean;
|
|
339
|
-
top?: string | number;
|
|
340
|
-
width?: string | number | Array<string | number>;
|
|
341
|
-
closedWidth?: string | number;
|
|
342
|
-
button?: boolean | ReactNode;
|
|
343
|
-
buttonAnimate?: boolean;
|
|
344
|
-
buttonPosition?: ButtonPosition;
|
|
345
|
-
border?: boolean | string;
|
|
346
|
-
tabs?: IDrawerTab[];
|
|
347
|
-
defaultTabIndex?: number;
|
|
348
|
-
activeTab?: number;
|
|
349
|
-
setActiveTab?: (index: number) => void;
|
|
350
|
-
testId?: string;
|
|
351
|
-
onResize?: (width: number | string | (number | string)[]) => void;
|
|
352
|
-
getActiveTab?: (tab: IDrawerTab) => void;
|
|
353
|
-
onClose?: (tab?: IDrawerTab) => any;
|
|
354
|
-
onOpen?: (tab?: IDrawerTab) => any;
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
declare interface IDrawerTab {
|
|
358
|
-
icon?: ReactNode | React_2.JSX.Element;
|
|
359
|
-
content?: ReactNode;
|
|
360
|
-
badge?: string | number;
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
declare interface IEmptyProps {
|
|
364
|
-
width?: string | number;
|
|
365
|
-
height?: string | number;
|
|
366
|
-
text?: string | ReactNode;
|
|
367
|
-
children?: ReactNode;
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
declare interface IFieldProps {
|
|
371
|
-
label?: string | number | ReactNode;
|
|
372
|
-
labelLeft?: boolean;
|
|
373
|
-
labelWidth?: string | number;
|
|
374
|
-
children: ReactNode;
|
|
375
|
-
helpText?: string | number | ReactNode;
|
|
376
|
-
helpTextMaxWidth?: string | number;
|
|
377
|
-
onClickHelp?: (event?: MouseEvent_2<HTMLDivElement>) => void;
|
|
378
|
-
lock?: ILabelLockProps;
|
|
379
|
-
info?: string;
|
|
380
|
-
libraryIcon?: ILabelIcon;
|
|
381
|
-
testId?: string;
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
declare interface IFileInputProps {
|
|
385
|
-
label?: string;
|
|
386
|
-
loading?: boolean;
|
|
387
|
-
placeholder?: string;
|
|
388
|
-
disabled?: boolean;
|
|
389
|
-
file?: File;
|
|
390
|
-
accept?: string;
|
|
391
|
-
multi?: boolean;
|
|
392
|
-
name?: string;
|
|
393
|
-
width?: string | number;
|
|
394
|
-
onChange?: (event: any) => void;
|
|
395
|
-
testId?: string;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
declare interface IFooterProps {
|
|
399
|
-
colSpan?: number;
|
|
400
|
-
pagination: IPagination;
|
|
401
|
-
actions?: IAction[];
|
|
402
|
-
content?: ReactNode;
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
declare interface IHeadingProps {
|
|
406
|
-
children: ReactNode;
|
|
407
|
-
helpText?: string;
|
|
408
|
-
onClick?: (evt: MouseEvent_2<HTMLDivElement>) => void;
|
|
409
|
-
onClickHelp?: () => void;
|
|
410
|
-
onIconClick?: () => void;
|
|
411
|
-
icon?: ReactNode;
|
|
412
|
-
libraryIcon?: ILibraryIconProps;
|
|
413
|
-
marginBottom?: string | number;
|
|
414
|
-
top?: boolean;
|
|
415
|
-
testId?: string;
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
declare interface IHelpIconProps {
|
|
419
|
-
text?: string | number | ReactNode;
|
|
420
|
-
onClick?: (event?: MouseEvent_2<HTMLDivElement>) => void;
|
|
421
|
-
icon?: ReactNode;
|
|
422
|
-
active?: boolean;
|
|
423
|
-
maxWidth?: string | number;
|
|
424
|
-
testId?: string;
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
declare interface IInputGroupAddonProps {
|
|
428
|
-
children: ReactNode;
|
|
429
|
-
groupOrder?: GroupOrder | null;
|
|
430
|
-
small?: boolean;
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
declare interface IInputGroupProps {
|
|
434
|
-
children: ReactNode;
|
|
435
|
-
small?: boolean;
|
|
436
|
-
width?: string | number;
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
declare interface IInputProps {
|
|
440
|
-
error?: string | number | React_2.ReactNode;
|
|
441
|
-
warning?: string | number | React_2.ReactNode;
|
|
442
|
-
tooltip?: string | number | React_2.ReactNode;
|
|
443
|
-
name?: string;
|
|
444
|
-
type?: string;
|
|
445
|
-
onChange?: React_2.ChangeEventHandler<HTMLInputElement>;
|
|
446
|
-
onKeyPress?: React_2.KeyboardEventHandler<HTMLInputElement>;
|
|
447
|
-
onFocus?: React_2.FocusEventHandler<HTMLInputElement>;
|
|
448
|
-
onBlur?: React_2.FocusEventHandler<HTMLInputElement>;
|
|
449
|
-
small?: boolean;
|
|
450
|
-
placeholder?: string;
|
|
451
|
-
tabIndex?: number;
|
|
452
|
-
value?: string | number;
|
|
453
|
-
disabled?: boolean;
|
|
454
|
-
right?: boolean;
|
|
455
|
-
groupOrder?: string;
|
|
456
|
-
maxTooltipWidth?: string | number;
|
|
457
|
-
width?: string | number;
|
|
458
|
-
testId?: string;
|
|
459
|
-
size?: number;
|
|
460
|
-
isInTable?: boolean;
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
declare interface ILabel {
|
|
464
|
-
color: string;
|
|
465
|
-
value: string;
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
declare interface ILabelIcon {
|
|
469
|
-
onClick: () => void;
|
|
470
|
-
tooltip?: string;
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
declare interface ILabelLockProps {
|
|
474
|
-
visible?: boolean;
|
|
475
|
-
active?: boolean;
|
|
476
|
-
onClick?: () => void;
|
|
477
|
-
tooltip?: string;
|
|
478
|
-
testId?: string;
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
declare interface ILabelProps {
|
|
482
|
-
label?: string | number | ReactNode;
|
|
483
|
-
helpText?: string | number | ReactNode;
|
|
484
|
-
helpTextMaxWidth?: string | number;
|
|
485
|
-
width?: string | number;
|
|
486
|
-
info?: string;
|
|
487
|
-
onClickHelp?: (event?: MouseEvent_2<HTMLDivElement>) => void;
|
|
488
|
-
lock?: ILabelLockProps;
|
|
489
|
-
libraryIcon?: ILabelIcon;
|
|
490
|
-
labelLeft?: boolean;
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
declare interface ILayoutColumnProps {
|
|
494
|
-
background?: string;
|
|
495
|
-
borderLeft?: boolean | string;
|
|
496
|
-
borderRight?: boolean | string;
|
|
497
|
-
children?: React_2.ReactNode;
|
|
498
|
-
flex?: boolean;
|
|
499
|
-
flexbox?: boolean;
|
|
500
|
-
padding?: boolean | string;
|
|
501
|
-
scroll?: boolean;
|
|
502
|
-
showScrollbar?: boolean;
|
|
503
|
-
spacing?: number | string;
|
|
504
|
-
width?: number | string;
|
|
505
|
-
widthMobile?: number | string;
|
|
506
|
-
widthTablet?: number | string;
|
|
507
|
-
testId?: string;
|
|
508
|
-
}
|
|
509
|
-
|
|
510
|
-
declare interface ILayoutFlexProps {
|
|
511
|
-
alignItems?: string;
|
|
512
|
-
justifyContent?: string;
|
|
513
|
-
direction?: string;
|
|
514
|
-
height?: string | number;
|
|
515
|
-
children?: React_2.ReactNode;
|
|
516
|
-
wrap?: boolean;
|
|
517
|
-
gap?: boolean | string | number;
|
|
518
|
-
}
|
|
519
|
-
|
|
520
|
-
declare interface ILayoutFormRowProps {
|
|
521
|
-
children?: ReactNode;
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
declare interface ILayoutGridProps {
|
|
525
|
-
rows?: string;
|
|
526
|
-
columns?: string;
|
|
527
|
-
columnsTablet?: string | null;
|
|
528
|
-
columnsMobile?: string | null;
|
|
529
|
-
gap?: boolean | string | number;
|
|
530
|
-
height?: string | number;
|
|
531
|
-
children?: ReactNode;
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
declare interface ILayoutPageProps {
|
|
535
|
-
children?: ReactNode;
|
|
536
|
-
padding?: boolean | string | number;
|
|
537
|
-
left?: string | number;
|
|
538
|
-
scroll?: boolean;
|
|
539
|
-
top?: string | number;
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
declare interface ILayoutRowProps {
|
|
543
|
-
alignItems?: CSSProperties['alignItems'];
|
|
544
|
-
justifyContent?: CSSProperties['justifyContent'];
|
|
545
|
-
children?: ReactNode;
|
|
546
|
-
flex?: boolean;
|
|
547
|
-
height?: string | number;
|
|
548
|
-
marginBottom?: string | number;
|
|
549
|
-
marginTop?: string | number;
|
|
550
|
-
spacing?: number;
|
|
551
|
-
wrap?: boolean;
|
|
552
|
-
testId?: string | null;
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
declare interface ILayoutSpacerProps {
|
|
556
|
-
height?: string | number;
|
|
557
|
-
width?: string | number | null;
|
|
558
|
-
flex?: boolean;
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
declare interface ILibraryIconProps {
|
|
562
|
-
onClick: () => void;
|
|
563
|
-
tooltip?: string;
|
|
564
|
-
}
|
|
565
|
-
|
|
566
|
-
declare interface ILinkProps {
|
|
567
|
-
type?: BreadcrumbLinkType;
|
|
568
|
-
label?: string | number;
|
|
569
|
-
url?: string;
|
|
570
|
-
onClick?: () => void;
|
|
571
|
-
active?: boolean;
|
|
572
|
-
disabled?: boolean;
|
|
573
|
-
element?: ReactNode;
|
|
574
|
-
}
|
|
575
|
-
|
|
576
|
-
declare interface IListAction {
|
|
577
|
-
label: string;
|
|
578
|
-
icon?: ReactNode;
|
|
579
|
-
onClick?: () => void;
|
|
580
|
-
primary?: boolean;
|
|
581
|
-
subActions?: ISubAction_2[];
|
|
582
|
-
childComponent?: ReactNode;
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
declare interface IListData {
|
|
586
|
-
name?: ReactNode | string;
|
|
587
|
-
actions?: IListAction[];
|
|
588
|
-
items: IListItem[];
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
declare interface IListHeadingProps {
|
|
592
|
-
name: string | number | ReactNode;
|
|
593
|
-
actions?: any[];
|
|
594
|
-
toggleNarrow?: boolean;
|
|
595
|
-
onToggleNarrow?: () => void;
|
|
596
|
-
stickyHeader?: boolean;
|
|
597
|
-
}
|
|
598
|
-
|
|
599
|
-
declare interface IListItem {
|
|
600
|
-
name?: string | ReactElement;
|
|
601
|
-
cursor?: string;
|
|
602
|
-
url?: string;
|
|
603
|
-
active?: boolean;
|
|
604
|
-
disabled?: boolean;
|
|
605
|
-
onClick?: (evt: any) => void;
|
|
606
|
-
title?: string;
|
|
607
|
-
testId?: string;
|
|
608
|
-
level?: number;
|
|
609
|
-
label?: ILabel;
|
|
610
|
-
actions?: IAction[];
|
|
611
|
-
id: string | number;
|
|
612
|
-
type?: string;
|
|
613
|
-
metaCount?: number;
|
|
614
|
-
}
|
|
615
|
-
|
|
616
|
-
declare interface IListProps {
|
|
617
|
-
drawer?: boolean;
|
|
618
|
-
list: IListData;
|
|
619
|
-
bordered?: boolean;
|
|
620
|
-
expanding?: boolean;
|
|
621
|
-
narrow?: boolean;
|
|
622
|
-
toggleNarrow?: boolean;
|
|
623
|
-
onToggleNarrow?: () => void;
|
|
624
|
-
invokeEditOnRowClick?: boolean;
|
|
625
|
-
noHeader?: boolean;
|
|
626
|
-
stickyHeader?: boolean;
|
|
627
|
-
draggable?: boolean;
|
|
628
|
-
onListReorder?: (args: IReorderData) => void;
|
|
629
|
-
marginBottom?: number | string;
|
|
630
|
-
height?: number | string;
|
|
631
|
-
testId?: string;
|
|
632
|
-
scrollDetails?: IScrollDetails;
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
declare interface IListSubheadingItem extends Partial<IMetaContentItem> {
|
|
636
|
-
actions?: any;
|
|
637
|
-
disabled?: boolean;
|
|
638
|
-
expanded?: boolean;
|
|
639
|
-
onClick?: (evt: MouseEvent_2<HTMLDivElement>) => void;
|
|
640
|
-
title?: string;
|
|
641
|
-
testId?: string;
|
|
642
|
-
metaCount?: number;
|
|
643
|
-
}
|
|
644
|
-
|
|
645
|
-
declare interface IListSubheadingProps {
|
|
646
|
-
item: IListSubheadingItem;
|
|
647
|
-
index?: number;
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
declare interface ILoaderProps {
|
|
651
|
-
fullViewPortSize?: boolean;
|
|
652
|
-
cover?: boolean;
|
|
653
|
-
width?: string | number;
|
|
654
|
-
height?: string | number;
|
|
655
|
-
text?: string;
|
|
656
|
-
details?: string | ReactNode;
|
|
657
|
-
children?: ReactNode;
|
|
658
|
-
testId?: string | null;
|
|
659
|
-
theme?: Theme;
|
|
660
|
-
}
|
|
661
|
-
|
|
662
|
-
declare interface IMenuProps {
|
|
663
|
-
menu: {
|
|
664
|
-
trigger: TriggerType;
|
|
665
|
-
title?: string;
|
|
666
|
-
colored?: boolean | string;
|
|
667
|
-
small?: boolean;
|
|
668
|
-
label?: string;
|
|
669
|
-
component?: ReactNode;
|
|
670
|
-
sections?: ReactNode | IMenuSection[];
|
|
671
|
-
placement?: string;
|
|
672
|
-
possiblePlacements?: Placement[];
|
|
673
|
-
showAllButton?: IMenuShowAllButton;
|
|
674
|
-
testId?: string;
|
|
675
|
-
fullHeightTrigger?: boolean;
|
|
676
|
-
};
|
|
677
|
-
contextMenu?: boolean;
|
|
678
|
-
width?: string | number;
|
|
679
|
-
disabled?: boolean;
|
|
680
|
-
badgeTitle?: string;
|
|
681
|
-
badgeDot?: boolean;
|
|
682
|
-
loading?: boolean;
|
|
683
|
-
fullHeightTrigger?: boolean;
|
|
684
|
-
closeOnOptionClick?: boolean;
|
|
685
|
-
groupOrder?: GroupOrder;
|
|
686
|
-
overflowContainer?: boolean;
|
|
687
|
-
maxHeight?: string | number;
|
|
688
|
-
testId?: string;
|
|
689
|
-
open?: boolean;
|
|
690
|
-
setOpen?: (state: boolean) => void;
|
|
691
|
-
closeParent?: () => void;
|
|
692
|
-
tree?: any;
|
|
693
|
-
path?: any;
|
|
694
|
-
isNested?: boolean;
|
|
695
|
-
tooltip?: any;
|
|
696
|
-
error?: any;
|
|
697
|
-
warning?: any;
|
|
698
|
-
title?: string;
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
declare interface IMenuSection {
|
|
702
|
-
type: MenuType;
|
|
703
|
-
label?: string | number;
|
|
704
|
-
icon?: string | ReactNode;
|
|
705
|
-
onClick?: () => void;
|
|
706
|
-
testId?: string;
|
|
707
|
-
description?: string;
|
|
708
|
-
selected?: boolean;
|
|
709
|
-
disabled?: boolean;
|
|
710
|
-
inline?: boolean;
|
|
711
|
-
title?: string;
|
|
712
|
-
download?: boolean;
|
|
713
|
-
onChange?: () => void;
|
|
714
|
-
menu?: any;
|
|
715
|
-
visible?: boolean;
|
|
716
|
-
closeOnOptionClick?: boolean;
|
|
717
|
-
actions?: any[];
|
|
718
|
-
url?: string;
|
|
719
|
-
upload?: boolean;
|
|
720
|
-
}
|
|
721
|
-
|
|
722
|
-
declare interface IMenuShowAllButton {
|
|
723
|
-
visible: boolean;
|
|
724
|
-
showAllTitle: string;
|
|
725
|
-
showLessTitle: string;
|
|
726
|
-
additionalSections: IMenuSection[];
|
|
727
|
-
}
|
|
728
|
-
|
|
729
|
-
declare interface IMessage {
|
|
730
|
-
visible?: boolean;
|
|
731
|
-
type: MessageType;
|
|
732
|
-
icon?: boolean;
|
|
733
|
-
heading?: ReactNode;
|
|
734
|
-
content: ReactNode;
|
|
735
|
-
details?: ReactNode;
|
|
736
|
-
footer?: ReactNode;
|
|
737
|
-
withDismiss?: boolean;
|
|
738
|
-
onClose?: (evt: MouseEvent_2<SVGSVGElement>) => void;
|
|
739
|
-
width?: string | number;
|
|
740
|
-
maxHeight?: string | number;
|
|
741
|
-
}
|
|
742
|
-
|
|
743
|
-
declare interface IMessageProps {
|
|
744
|
-
message: IMessage;
|
|
745
|
-
}
|
|
746
|
-
|
|
747
|
-
declare type IMessageType = {
|
|
748
|
-
type: MessageType;
|
|
749
|
-
icon: boolean;
|
|
750
|
-
heading: string;
|
|
751
|
-
content: string;
|
|
752
|
-
details?: string;
|
|
753
|
-
};
|
|
754
|
-
|
|
755
|
-
declare interface IMetaContentItem {
|
|
756
|
-
name?: string | number | ReactNode;
|
|
757
|
-
icon?: {
|
|
758
|
-
icon: ReactNode;
|
|
759
|
-
color?: string;
|
|
760
|
-
tooltip?: {
|
|
761
|
-
text: string | ReactNode;
|
|
762
|
-
};
|
|
763
|
-
};
|
|
764
|
-
details?: string | ReactNode;
|
|
765
|
-
metadata?: string | ReactNode;
|
|
766
|
-
invalid?: boolean;
|
|
767
|
-
testId?: string;
|
|
768
|
-
}
|
|
769
|
-
|
|
770
|
-
declare interface IModalProps {
|
|
771
|
-
children: ReactNode;
|
|
772
|
-
visible?: boolean;
|
|
773
|
-
centered?: boolean;
|
|
774
|
-
width?: string | number;
|
|
775
|
-
}
|
|
776
|
-
|
|
777
|
-
export declare const Input: React_2.ForwardRefExoticComponent<IInputProps & React_2.RefAttributes<HTMLInputElement>>;
|
|
778
|
-
|
|
779
|
-
export declare const InputGroup: ({ children, small, width, }: IInputGroupProps) => ReactElement;
|
|
780
|
-
|
|
781
|
-
export declare const InputGroupAddon: ({ children, groupOrder, small, }: IInputGroupAddonProps) => React_2.ReactElement;
|
|
782
|
-
|
|
783
|
-
export declare enum InputReaderMethods {
|
|
784
|
-
READ_AS_TEXT = "readAsText",
|
|
785
|
-
READ_AS_ARRAY_BUFFER = "readAsArrayBuffer",
|
|
786
|
-
READ_AS_DATA_URL = "readAsDataURL",
|
|
787
|
-
READ_AS_BINARY_STRING = "readAsBinaryString"
|
|
788
|
-
}
|
|
789
|
-
|
|
790
|
-
export declare enum InputType {
|
|
791
|
-
TEXT = "text",
|
|
792
|
-
RADIO = "radio",
|
|
793
|
-
CHECKBOX = "checkbox"
|
|
794
|
-
}
|
|
795
|
-
|
|
796
|
-
declare interface INumberInputProps {
|
|
797
|
-
name?: string | {
|
|
798
|
-
fieldName: string;
|
|
799
|
-
};
|
|
800
|
-
placeholder?: string;
|
|
801
|
-
disabled?: boolean;
|
|
802
|
-
error?: string | boolean;
|
|
803
|
-
left?: boolean;
|
|
804
|
-
small?: boolean;
|
|
805
|
-
width?: string | number;
|
|
806
|
-
value?: string | number;
|
|
807
|
-
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
808
|
-
onFocus?: (event: FocusEvent_2<HTMLInputElement>) => void;
|
|
809
|
-
tabIndex?: number;
|
|
810
|
-
testId?: string;
|
|
811
|
-
tooltip?: string | number | React_2.ReactNode;
|
|
812
|
-
warning?: string | boolean;
|
|
813
|
-
validationCallback?: (name: string | {
|
|
814
|
-
fieldName: string;
|
|
815
|
-
}, error: string | null) => void;
|
|
816
|
-
allowEmpty?: boolean;
|
|
817
|
-
isInTable?: boolean;
|
|
818
|
-
groupOrder?: any;
|
|
819
|
-
}
|
|
820
|
-
|
|
821
|
-
declare interface IOptionDropdownProps {
|
|
822
|
-
name?: string;
|
|
823
|
-
label: string;
|
|
824
|
-
options: IOptionType[];
|
|
825
|
-
onChange: (event: ChangeEvent<HTMLInputElement & {
|
|
826
|
-
name?: string;
|
|
827
|
-
value: IOptionType[];
|
|
828
|
-
}>) => void;
|
|
829
|
-
showHeader?: boolean;
|
|
830
|
-
maxHeight?: string;
|
|
831
|
-
}
|
|
832
|
-
|
|
833
|
-
declare interface IOptionItem {
|
|
834
|
-
label: ReactNode;
|
|
835
|
-
value: string;
|
|
836
|
-
icon: ReactNode;
|
|
837
|
-
onClick: (event: MouseEvent_2<HTMLAnchorElement, globalThis.MouseEvent>) => void;
|
|
838
|
-
isActive?: boolean;
|
|
839
|
-
isExperimental?: boolean;
|
|
840
|
-
invalid?: boolean;
|
|
841
|
-
testId?: string;
|
|
842
|
-
}
|
|
843
|
-
|
|
844
|
-
declare interface IOptionSection {
|
|
845
|
-
heading: string;
|
|
846
|
-
items: IOptionItem[];
|
|
847
|
-
}
|
|
848
|
-
|
|
849
|
-
declare interface IOptionType {
|
|
850
|
-
label?: string;
|
|
851
|
-
value?: string | number;
|
|
852
|
-
selected?: boolean;
|
|
853
|
-
}
|
|
854
|
-
|
|
855
|
-
declare interface IPagination {
|
|
856
|
-
rowCount: number;
|
|
857
|
-
selectedPage: string | number;
|
|
858
|
-
onSelectPage?: (value: number) => void;
|
|
859
|
-
rowsPerPage?: IPaginationPerPageType;
|
|
860
|
-
small?: boolean;
|
|
861
|
-
errorMessageTemplate?: string;
|
|
862
|
-
}
|
|
863
|
-
|
|
864
|
-
declare interface IPaginationOptionType {
|
|
865
|
-
label?: string;
|
|
866
|
-
value?: string | number;
|
|
867
|
-
selected?: boolean;
|
|
868
|
-
}
|
|
869
|
-
|
|
870
|
-
declare interface IPaginationPerPageType {
|
|
871
|
-
onChange?: (event: React_2.ChangeEvent<HTMLInputElement>) => void;
|
|
872
|
-
options?: IPaginationOptionType[];
|
|
873
|
-
value?: string | number;
|
|
874
|
-
}
|
|
875
|
-
|
|
876
|
-
declare interface IPaginationProps {
|
|
877
|
-
pagination: IPagination;
|
|
878
|
-
}
|
|
879
|
-
|
|
880
|
-
declare interface IPopConfirmProps {
|
|
881
|
-
children?: ReactNode;
|
|
882
|
-
placement?: Placement;
|
|
883
|
-
closeOnOutsideClick?: boolean;
|
|
884
|
-
fullWidth?: boolean;
|
|
885
|
-
title?: string;
|
|
886
|
-
cancelText?: string;
|
|
887
|
-
onClickCancel?: (close: () => void) => void;
|
|
888
|
-
okText?: string;
|
|
889
|
-
onClickOk?: (close: () => void) => void;
|
|
890
|
-
}
|
|
891
|
-
|
|
892
|
-
declare interface IPopoverProps {
|
|
893
|
-
children: ReactNode;
|
|
894
|
-
content?: ReactNode;
|
|
895
|
-
placement?: Placement;
|
|
896
|
-
closeOnOutsideClick?: boolean;
|
|
897
|
-
fullWidth?: boolean;
|
|
898
|
-
showCloseButton?: boolean;
|
|
899
|
-
testId?: string;
|
|
900
|
-
disabled?: boolean;
|
|
901
|
-
overflowContainer?: boolean;
|
|
902
|
-
}
|
|
903
|
-
|
|
904
|
-
declare interface IPortalProps {
|
|
905
|
-
id: string;
|
|
906
|
-
children: ReactNode | any;
|
|
907
|
-
}
|
|
908
|
-
|
|
909
|
-
declare interface IProgressBarProps {
|
|
910
|
-
width?: string | number;
|
|
911
|
-
inverted?: boolean;
|
|
912
|
-
colored?: boolean;
|
|
913
|
-
showProgressColors?: boolean;
|
|
914
|
-
percentage?: number;
|
|
915
|
-
noLabel?: boolean;
|
|
916
|
-
}
|
|
917
|
-
|
|
918
|
-
declare interface IRadioButtonOption {
|
|
919
|
-
label: string | number;
|
|
920
|
-
value: string | number;
|
|
921
|
-
testId?: string;
|
|
922
|
-
helpText?: string;
|
|
923
|
-
onClickHelp?: (event: MouseEvent_2<HTMLButtonElement>) => void;
|
|
924
|
-
name?: string;
|
|
925
|
-
checked?: boolean;
|
|
926
|
-
disabled?: boolean;
|
|
927
|
-
}
|
|
928
|
-
|
|
929
|
-
declare interface IRadioButtonProps {
|
|
930
|
-
name?: string;
|
|
931
|
-
label?: string;
|
|
932
|
-
options: IRadioButtonOption[];
|
|
933
|
-
value: IRadioButtonOption;
|
|
934
|
-
inline?: boolean;
|
|
935
|
-
disabled?: boolean;
|
|
936
|
-
small?: boolean;
|
|
937
|
-
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
938
|
-
noMargin?: boolean;
|
|
939
|
-
mainLabel?: string;
|
|
940
|
-
onClick?: (target: HTMLInputElement) => void;
|
|
941
|
-
radioButtonsData?: IRadioButtonOption[];
|
|
942
|
-
classForContainer?: 'grouped fields' | 'inline fields';
|
|
943
|
-
}
|
|
944
|
-
|
|
945
|
-
declare interface IReorderData {
|
|
946
|
-
from?: number;
|
|
947
|
-
to?: number;
|
|
948
|
-
}
|
|
949
|
-
|
|
950
|
-
declare interface IRichTextInputProps {
|
|
951
|
-
disabled?: boolean;
|
|
952
|
-
onChange?: (markdown: string) => void;
|
|
953
|
-
placeholder?: string;
|
|
954
|
-
value?: string;
|
|
955
|
-
toolbarComponent?: ReactNode;
|
|
956
|
-
}
|
|
957
|
-
|
|
958
|
-
declare interface IScrollDetails {
|
|
959
|
-
scrollable?: boolean;
|
|
960
|
-
hideScrollbar?: boolean;
|
|
961
|
-
triggerScrollToActiveItem?: boolean;
|
|
962
|
-
infiniteScroll?: boolean;
|
|
963
|
-
infiniteScrollTarget?: string;
|
|
964
|
-
limit?: number;
|
|
965
|
-
}
|
|
966
|
-
|
|
967
|
-
declare interface ISelectProps {
|
|
968
|
-
name?: string;
|
|
969
|
-
multi?: boolean;
|
|
970
|
-
options?: ISelectSelectedOption[];
|
|
971
|
-
value?: any;
|
|
972
|
-
native?: boolean;
|
|
973
|
-
onChange?: (value: any) => void;
|
|
974
|
-
deprecatedEventHandler?: boolean;
|
|
975
|
-
autoScroll?: boolean;
|
|
976
|
-
warning?: string | number | ReactNode;
|
|
977
|
-
error?: string | number | ReactNode;
|
|
978
|
-
checkNonExistentValues?: boolean;
|
|
979
|
-
closeOnOptionActionClick?: boolean;
|
|
980
|
-
small?: boolean;
|
|
981
|
-
width?: string | number | null;
|
|
982
|
-
borderRadius?: string | number;
|
|
983
|
-
onCreate?: (evt: any) => any;
|
|
984
|
-
disabled?: boolean;
|
|
985
|
-
placeholder?: string;
|
|
986
|
-
isInTable?: boolean;
|
|
987
|
-
clearable?: boolean;
|
|
988
|
-
searchable?: boolean;
|
|
989
|
-
maxTooltipWidth?: string | number;
|
|
990
|
-
autoLayerWidth?: boolean;
|
|
991
|
-
right?: boolean;
|
|
992
|
-
tabIndex?: number;
|
|
993
|
-
testId?: string;
|
|
994
|
-
}
|
|
995
|
-
|
|
996
|
-
declare interface ISelectSelectedOption {
|
|
997
|
-
value?: string | number | boolean;
|
|
998
|
-
label?: string | ReactNode;
|
|
999
|
-
details?: string;
|
|
1000
|
-
actions?: any[];
|
|
1001
|
-
icon?: boolean | ReactNode;
|
|
1002
|
-
type?: string;
|
|
1003
|
-
disabled?: boolean;
|
|
1004
|
-
testId?: string;
|
|
1005
|
-
}
|
|
1006
|
-
|
|
1007
|
-
declare interface ISideBarProps {
|
|
1008
|
-
options: {
|
|
1009
|
-
title: string;
|
|
1010
|
-
sections: IOptionSection[];
|
|
1011
|
-
};
|
|
1012
|
-
startOpen?: boolean;
|
|
1013
|
-
onShiftClickToggleOpen?: (event: MouseEvent_2<HTMLButtonElement, globalThis.MouseEvent>) => void;
|
|
1014
|
-
top?: string | number;
|
|
1015
|
-
}
|
|
1016
|
-
|
|
1017
|
-
declare interface ISliderProps {
|
|
1018
|
-
name?: string;
|
|
1019
|
-
label?: string | number | ReactNode;
|
|
1020
|
-
width?: string | number;
|
|
1021
|
-
labelWidth?: string | number;
|
|
1022
|
-
value: number | number[];
|
|
1023
|
-
min: number;
|
|
1024
|
-
max: number;
|
|
1025
|
-
step?: number;
|
|
1026
|
-
marks?: TSliderMark[];
|
|
1027
|
-
showArrows?: boolean;
|
|
1028
|
-
showTooltip?: boolean;
|
|
1029
|
-
tooltipFormatter?: (value: number | number[]) => string | number | ReactNode;
|
|
1030
|
-
disabled?: boolean;
|
|
1031
|
-
range?: boolean;
|
|
1032
|
-
small?: boolean;
|
|
1033
|
-
vertical?: {
|
|
1034
|
-
enabled: boolean;
|
|
1035
|
-
width?: string;
|
|
1036
|
-
height?: string;
|
|
1037
|
-
};
|
|
1038
|
-
onChange: (event: {
|
|
1039
|
-
target: {
|
|
1040
|
-
name?: string;
|
|
1041
|
-
value: number | number[];
|
|
1042
|
-
label?: string | number | ReactNode;
|
|
1043
|
-
};
|
|
1044
|
-
}) => void;
|
|
1045
|
-
}
|
|
1046
|
-
|
|
1047
|
-
declare interface ISpinnerProps {
|
|
1048
|
-
small?: boolean;
|
|
1049
|
-
colored?: boolean;
|
|
1050
|
-
dark?: boolean;
|
|
1051
|
-
tiny?: boolean;
|
|
1052
|
-
}
|
|
1053
|
-
|
|
1054
|
-
declare interface ISubAction {
|
|
1055
|
-
label: string | ReactNode;
|
|
1056
|
-
icon?: ReactNode;
|
|
1057
|
-
onClick: (evt: React_2.MouseEvent) => void;
|
|
1058
|
-
testId?: string;
|
|
1059
|
-
disabled?: boolean;
|
|
1060
|
-
}
|
|
1061
|
-
|
|
1062
|
-
declare interface ISubAction_2 {
|
|
1063
|
-
label: string;
|
|
1064
|
-
icon: ReactNode;
|
|
1065
|
-
onClick: () => void;
|
|
1066
|
-
}
|
|
1067
|
-
|
|
1068
|
-
declare interface ITableProps {
|
|
1069
|
-
onListReorder?: (obj: {
|
|
1070
|
-
from: number;
|
|
1071
|
-
to: number;
|
|
1072
|
-
}) => void;
|
|
1073
|
-
table: {
|
|
1074
|
-
name?: string | number | ReactNode;
|
|
1075
|
-
actionsRight?: boolean;
|
|
1076
|
-
fixedWidth?: string | number;
|
|
1077
|
-
maxHeight?: string | number;
|
|
1078
|
-
columnWidths?: string[];
|
|
1079
|
-
className?: string;
|
|
1080
|
-
columnHeaderAlignments?: Array<Align>;
|
|
1081
|
-
columnAlignment?: Array<Align>;
|
|
1082
|
-
infiniteScroll?: boolean;
|
|
1083
|
-
headers?: any[];
|
|
1084
|
-
rows?: TRowsType;
|
|
1085
|
-
footer?: IFooterProps;
|
|
1086
|
-
draggable?: boolean;
|
|
1087
|
-
bordered?: boolean;
|
|
1088
|
-
striped?: boolean;
|
|
1089
|
-
testId?: string;
|
|
1090
|
-
onAddRow?: any;
|
|
1091
|
-
defaultEmptyRow?: any;
|
|
1092
|
-
stickyHeaders?: string | boolean;
|
|
1093
|
-
actions?: any;
|
|
1094
|
-
};
|
|
1095
|
-
}
|
|
1096
|
-
|
|
1097
|
-
declare interface ITabOption {
|
|
1098
|
-
key?: string;
|
|
1099
|
-
label: string | number;
|
|
1100
|
-
value: string | number;
|
|
1101
|
-
url?: string;
|
|
1102
|
-
hidden?: boolean;
|
|
1103
|
-
disabled?: boolean;
|
|
1104
|
-
invalid?: boolean;
|
|
1105
|
-
badge?: string | number;
|
|
1106
|
-
right?: boolean;
|
|
1107
|
-
testId?: string;
|
|
1108
|
-
}
|
|
1109
|
-
|
|
1110
|
-
declare interface ITabSelectedOption {
|
|
1111
|
-
label: string | number;
|
|
1112
|
-
value: string | number;
|
|
1113
|
-
}
|
|
1114
|
-
|
|
1115
|
-
declare interface ITabsProps {
|
|
1116
|
-
name?: string;
|
|
1117
|
-
options?: ITabOption[] | null;
|
|
1118
|
-
children?: any;
|
|
1119
|
-
value?: ITabSelectedOption;
|
|
1120
|
-
onChange?: (event: ChangeEvent<any>) => void;
|
|
1121
|
-
padding?: boolean;
|
|
1122
|
-
margin?: boolean;
|
|
1123
|
-
contentPadding?: boolean;
|
|
1124
|
-
activeTabIndex?: number;
|
|
1125
|
-
tabs?: ITabOption[] | undefined;
|
|
1126
|
-
onChangeTab?: (index: number, value: string | number | null) => void;
|
|
1127
|
-
testId?: string;
|
|
1128
|
-
}
|
|
1129
|
-
|
|
1130
|
-
declare interface ITextAreaProps {
|
|
1131
|
-
name?: string;
|
|
1132
|
-
value?: string | number;
|
|
1133
|
-
placeholder?: string;
|
|
1134
|
-
cols?: number;
|
|
1135
|
-
rows?: number;
|
|
1136
|
-
disabled?: boolean;
|
|
1137
|
-
onChange?: (event: ChangeEvent<HTMLTextAreaElement>) => void;
|
|
1138
|
-
onKeyPress?: (event: KeyboardEvent_2<HTMLTextAreaElement>) => void;
|
|
1139
|
-
onFocus?: (event: FocusEvent_2<HTMLTextAreaElement>) => void;
|
|
1140
|
-
onBlur?: (event: FocusEvent_2<HTMLTextAreaElement>) => void;
|
|
1141
|
-
tabIndex?: number;
|
|
1142
|
-
error?: string | number | React_2.ReactNode;
|
|
1143
|
-
warning?: string | number | React_2.ReactNode;
|
|
1144
|
-
tooltip?: string | number | React_2.ReactNode;
|
|
1145
|
-
maxTooltipWidth?: string | number;
|
|
1146
|
-
resize?: any;
|
|
1147
|
-
monospace?: boolean;
|
|
1148
|
-
testId?: string;
|
|
1149
|
-
}
|
|
1150
|
-
|
|
1151
|
-
declare interface ITextLinkProps {
|
|
1152
|
-
href?: string;
|
|
1153
|
-
target?: string;
|
|
1154
|
-
testId?: string;
|
|
1155
|
-
onClick?: (e: React_2.MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
|
|
1156
|
-
children?: React_2.ReactNode;
|
|
1157
|
-
}
|
|
1158
|
-
|
|
1159
|
-
declare interface ITextProps {
|
|
1160
|
-
bold?: boolean;
|
|
1161
|
-
center?: boolean;
|
|
1162
|
-
error?: boolean;
|
|
1163
|
-
faint?: boolean;
|
|
1164
|
-
link?: boolean;
|
|
1165
|
-
muted?: boolean;
|
|
1166
|
-
onClick?: (e: React_2.MouseEvent<HTMLSpanElement>) => void;
|
|
1167
|
-
small?: boolean;
|
|
1168
|
-
success?: boolean;
|
|
1169
|
-
warning?: boolean;
|
|
1170
|
-
children?: React_2.ReactNode;
|
|
1171
|
-
}
|
|
1172
|
-
|
|
1173
|
-
declare interface IToastProps {
|
|
1174
|
-
id?: Id;
|
|
1175
|
-
message: IMessageType;
|
|
1176
|
-
autoClose?: number;
|
|
1177
|
-
onClose?: () => void;
|
|
1178
|
-
}
|
|
1179
|
-
|
|
1180
|
-
declare interface IToggleProps {
|
|
1181
|
-
name?: string;
|
|
1182
|
-
label?: string | React_2.ReactElement;
|
|
1183
|
-
checked?: boolean;
|
|
1184
|
-
disabled?: boolean;
|
|
1185
|
-
small?: boolean;
|
|
1186
|
-
onChange: (event: React_2.ChangeEvent<HTMLInputElement>) => void;
|
|
1187
|
-
noMargin?: boolean;
|
|
1188
|
-
testId?: string;
|
|
1189
|
-
helpText?: string;
|
|
1190
|
-
onClickHelp?: (event: any) => void;
|
|
1191
|
-
}
|
|
1192
|
-
|
|
1193
|
-
declare interface ITooltipProps {
|
|
1194
|
-
text?: string | number | ReactNode;
|
|
1195
|
-
error?: boolean;
|
|
1196
|
-
warning?: boolean;
|
|
1197
|
-
placement?: Placement;
|
|
1198
|
-
possiblePlacements?: Placement[];
|
|
1199
|
-
enabled?: boolean;
|
|
1200
|
-
maxWidth?: string | number;
|
|
1201
|
-
triggerOffset?: number;
|
|
1202
|
-
fontSize?: string | number;
|
|
1203
|
-
padding?: string | number;
|
|
1204
|
-
display?: string;
|
|
1205
|
-
flex?: string;
|
|
1206
|
-
forceOpen?: boolean;
|
|
1207
|
-
children?: ReactNode;
|
|
1208
|
-
}
|
|
1209
|
-
|
|
1210
|
-
declare interface ITopBarProps {
|
|
1211
|
-
title?: ITopBarTitleProps;
|
|
1212
|
-
content?: TTopBarElementProps[];
|
|
1213
|
-
contentRight?: TTopBarElementProps[];
|
|
1214
|
-
warning?: string;
|
|
1215
|
-
height?: string | number;
|
|
1216
|
-
fixedPosition?: boolean;
|
|
1217
|
-
}
|
|
1218
|
-
|
|
1219
|
-
declare interface ITopBarTitleProps {
|
|
1220
|
-
label?: string;
|
|
1221
|
-
logo?: React_2.ReactNode;
|
|
1222
|
-
url?: string;
|
|
1223
|
-
version?: string | number;
|
|
1224
|
-
onClick?: MouseEventHandler<HTMLDivElement | HTMLAnchorElement>;
|
|
1225
|
-
}
|
|
1226
|
-
|
|
1227
|
-
declare interface ITreeListProps {
|
|
1228
|
-
name?: string | React_2.ReactNode;
|
|
1229
|
-
noHeader?: boolean;
|
|
1230
|
-
items: {
|
|
1231
|
-
id: string | number;
|
|
1232
|
-
name: string | React_2.ReactNode;
|
|
1233
|
-
parent: string | number;
|
|
1234
|
-
droppable?: boolean;
|
|
1235
|
-
details?: string | React_2.ReactNode;
|
|
1236
|
-
active?: boolean;
|
|
1237
|
-
testId?: string;
|
|
1238
|
-
icon?: {
|
|
1239
|
-
icon: React_2.ReactNode;
|
|
1240
|
-
color: string;
|
|
1241
|
-
tooltip?: {
|
|
1242
|
-
text: string | number | React_2.ReactNode;
|
|
1243
|
-
error?: boolean;
|
|
1244
|
-
warning?: boolean;
|
|
1245
|
-
placement?: string;
|
|
1246
|
-
enabled?: boolean;
|
|
1247
|
-
maxWidth?: string | number;
|
|
1248
|
-
triggerOffset?: string | number;
|
|
1249
|
-
possiblePlacements?: string[];
|
|
1250
|
-
fontSize?: string | number;
|
|
1251
|
-
padding?: string | number;
|
|
1252
|
-
};
|
|
1253
|
-
};
|
|
1254
|
-
}[];
|
|
1255
|
-
onClick?: () => void;
|
|
1256
|
-
actions?: any[];
|
|
1257
|
-
}
|
|
1258
|
-
|
|
1259
|
-
declare interface ITreeProps {
|
|
1260
|
-
list: ITreeListProps;
|
|
1261
|
-
draggable?: boolean;
|
|
1262
|
-
onListReorder?: (newList: any[]) => void;
|
|
1263
|
-
onChangeOpen?: (id: string | number) => void;
|
|
1264
|
-
testId?: string;
|
|
1265
|
-
isInitialOpen?: boolean;
|
|
1266
|
-
treeRef?: RefObject<any>;
|
|
1267
|
-
}
|
|
1268
|
-
|
|
1269
|
-
export declare const Label: ({ label, width, helpText, helpTextMaxWidth, onClickHelp, lock, info, libraryIcon, labelLeft, }: ILabelProps) => JSX_2.Element;
|
|
1270
|
-
|
|
1271
|
-
declare type LinkElement = BaseElementProps & {
|
|
1272
|
-
type: TopBarElementType.LINK;
|
|
1273
|
-
url: string;
|
|
1274
|
-
active?: boolean;
|
|
1275
|
-
disabled?: boolean;
|
|
1276
|
-
};
|
|
1277
|
-
|
|
1278
|
-
export declare const List: ({ list, bordered, expanding, narrow, toggleNarrow, onToggleNarrow, invokeEditOnRowClick, noHeader, stickyHeader, draggable, onListReorder, marginBottom, height, testId, scrollDetails, }: IListProps) => JSX_2.Element;
|
|
1279
|
-
|
|
1280
|
-
export declare const ListHeading: React_2.ForwardRefExoticComponent<IListHeadingProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1281
|
-
|
|
1282
|
-
export declare const ListSubheading: React_2.ForwardRefExoticComponent<IListSubheadingProps & React_2.RefAttributes<(HTMLDivElement | null)[]>>;
|
|
1283
|
-
|
|
1284
|
-
export declare const Loader: ({ width, height, text, details, fullViewPortSize, cover, children, theme, testId, }: ILoaderProps) => JSX_2.Element;
|
|
1285
|
-
|
|
1286
|
-
export declare const Menu: (props: IMenuProps) => JSX_2.Element;
|
|
1287
|
-
|
|
1288
|
-
export declare enum MenuCarat {
|
|
1289
|
-
FALSE = "false",
|
|
1290
|
-
RIGHT = "right",
|
|
1291
|
-
DOWN = "down"
|
|
1292
|
-
}
|
|
1293
|
-
|
|
1294
|
-
declare type MenuElement = BaseElementProps & {
|
|
1295
|
-
type: TopBarElementType.MENU;
|
|
1296
|
-
sections: any[] | ReactNode;
|
|
1297
|
-
};
|
|
1298
|
-
|
|
1299
|
-
export declare enum MenuType {
|
|
1300
|
-
HEADING = "Heading",
|
|
1301
|
-
DIVIDER = "Divider",
|
|
1302
|
-
OPTION = "Option",
|
|
1303
|
-
MENU = "Menu"
|
|
1304
|
-
}
|
|
1305
|
-
|
|
1306
|
-
export declare const Message: ({ message }: IMessageProps) => JSX_2.Element;
|
|
1307
|
-
|
|
1308
|
-
export declare enum MessageType {
|
|
1309
|
-
INFO = "Info",
|
|
1310
|
-
SUCCESS = "Success",
|
|
1311
|
-
WARNING = "Warning",
|
|
1312
|
-
ERROR = "Error"
|
|
1313
|
-
}
|
|
1314
|
-
|
|
1315
|
-
export declare const Modal: ({ children, visible, centered, width, }: IModalProps) => JSX_2.Element;
|
|
1316
|
-
|
|
1317
|
-
export declare const NativeSelect: ({ disabled, error, warning, tooltip, options, onChange, onFocus, onBlur, right, small, tabIndex, selectedOption, width, groupOrder, testId, isInTable, clearable, placeholder, hasNonExistentValue, maxTooltipWidth, borderRadius, }: NativeSelectProps) => JSX_2.Element;
|
|
1318
|
-
|
|
1319
|
-
declare interface NativeSelectProps {
|
|
1320
|
-
borderRadius?: string | number;
|
|
1321
|
-
disabled?: boolean;
|
|
1322
|
-
error?: string | number | React_2.ReactNode | null;
|
|
1323
|
-
warning?: string | number | React_2.ReactNode | null;
|
|
1324
|
-
tooltip?: string | number | React_2.ReactNode | null;
|
|
1325
|
-
options: ISelectSelectedOption[];
|
|
1326
|
-
onChange?: (event: ChangeEvent<HTMLSelectElement>, value: ISelectSelectedOption | {
|
|
1327
|
-
value: null;
|
|
1328
|
-
}) => void;
|
|
1329
|
-
onFocus?: () => void;
|
|
1330
|
-
onBlur?: () => void;
|
|
1331
|
-
right?: boolean;
|
|
1332
|
-
small?: boolean;
|
|
1333
|
-
tabIndex?: number;
|
|
1334
|
-
selectedOption?: ISelectSelectedOption;
|
|
1335
|
-
width?: string | number | null;
|
|
1336
|
-
groupOrder?: string | null;
|
|
1337
|
-
testId?: string | undefined;
|
|
1338
|
-
isInTable?: boolean;
|
|
1339
|
-
clearable?: boolean;
|
|
1340
|
-
placeholder?: string;
|
|
1341
|
-
hasNonExistentValue?: boolean;
|
|
1342
|
-
maxTooltipWidth?: string | number;
|
|
1343
|
-
}
|
|
1344
|
-
|
|
1345
|
-
export declare const NumberInput: ({ name, placeholder, disabled, error, left, small, width, value, onChange, onFocus, tabIndex, testId, tooltip, warning, validationCallback, allowEmpty, isInTable, groupOrder, }: INumberInputProps) => JSX_2.Element;
|
|
1346
|
-
|
|
1347
|
-
export declare const OptionDropdown: ({ name, label, options, onChange, showHeader, maxHeight, }: IOptionDropdownProps) => ReactElement;
|
|
1348
|
-
|
|
1349
|
-
export declare const Page: ({ children, left, padding: paddingProp, scroll, top, }: ILayoutPageProps) => JSX_2.Element;
|
|
1350
|
-
|
|
1351
|
-
export declare const Pagination: ({ pagination }: IPaginationProps) => JSX_2.Element;
|
|
1352
|
-
|
|
1353
|
-
export declare const PopConfirm: ({ children, placement, closeOnOutsideClick, fullWidth, title, cancelText, onClickCancel, okText, onClickOk, }: IPopConfirmProps) => JSX_2.Element;
|
|
1354
|
-
|
|
1355
|
-
export declare const Popover: ({ children, content, placement, closeOnOutsideClick, fullWidth, showCloseButton, testId, disabled, overflowContainer, }: IPopoverProps) => JSX_2.Element;
|
|
1356
|
-
|
|
1357
|
-
export declare const Portal: ({ id, children }: IPortalProps) => ReactPortal | null;
|
|
1358
|
-
|
|
1359
|
-
export declare const PrintHeader: ({ logo, alt, logoWidth, }: PrintHeaderProps) => JSX_2.Element;
|
|
1360
|
-
|
|
1361
|
-
declare interface PrintHeaderProps {
|
|
1362
|
-
logo: string;
|
|
1363
|
-
logoWidth?: string | number;
|
|
1364
|
-
alt: string;
|
|
1365
|
-
}
|
|
1366
|
-
|
|
1367
|
-
export declare const ProgressBar: ({ width, inverted, colored, showProgressColors, percentage, noLabel, }: IProgressBarProps) => JSX_2.Element;
|
|
1368
|
-
|
|
1369
|
-
export declare const RadioButton: ({ name, label: rawLabel, options: rawOptions, value: rawValue, onChange, disabled, small, noMargin, onClick, inline, mainLabel, radioButtonsData, classForContainer, }: IRadioButtonProps) => JSX_2.Element;
|
|
1370
|
-
|
|
1371
|
-
export declare const readFile: (file?: Blob, method?: FileReaderMethod) => Promise<string | ArrayBuffer | null>;
|
|
1372
|
-
|
|
1373
|
-
export declare const RichTextInput: React_2.ForwardRefExoticComponent<IRichTextInputProps & React_2.RefAttributes<any>>;
|
|
1374
|
-
|
|
1375
|
-
export declare const Row: ({ alignItems, justifyContent, children, flex, height, marginBottom, marginTop, spacing, wrap, testId, }: ILayoutRowProps) => JSX_2.Element;
|
|
1376
|
-
|
|
1377
|
-
export declare const Select: (props: ISelectProps) => JSX_2.Element;
|
|
1378
|
-
|
|
1379
|
-
export declare const SideBar: React_2.MemoExoticComponent<({ options, startOpen, onShiftClickToggleOpen, top }: ISideBarProps) => JSX_2.Element>;
|
|
1380
|
-
|
|
1381
|
-
export declare const Slider: ({ name, label, width, labelWidth, value, min, max, step, marks, showArrows, showTooltip, tooltipFormatter, disabled, range, small, vertical, onChange, }: ISliderProps) => JSX_2.Element;
|
|
1382
|
-
|
|
1383
|
-
export declare const Spacer: ({ height, width, flex, }: ILayoutSpacerProps) => JSX_2.Element;
|
|
1384
|
-
|
|
1385
|
-
export declare const Spinner: ({ small, colored, dark, tiny, }: ISpinnerProps) => JSX_2.Element;
|
|
1386
|
-
|
|
1387
|
-
export declare const Table: (props: ITableProps) => JSX_2.Element;
|
|
1388
|
-
|
|
1389
|
-
export declare const Tabs: ({ name, options: rawOptions, children, value: rawValue, onChange, padding, margin, contentPadding, onChangeTab, activeTabIndex: rawActiveTabIndex, tabs: tabsConfig, testId, }: ITabsProps) => JSX_2.Element | null;
|
|
1390
|
-
|
|
1391
|
-
declare type TCellType = {
|
|
1392
|
-
colSpan?: number;
|
|
1393
|
-
value: string;
|
|
1394
|
-
};
|
|
1395
|
-
|
|
1396
|
-
declare const Text_2: ({ children, bold, center, error, faint, link, muted, onClick, small, success, warning, }: ITextProps) => JSX_2.Element;
|
|
1397
|
-
export { Text_2 as Text }
|
|
1398
|
-
|
|
1399
|
-
export declare const TextArea: ({ name, value, placeholder, cols, rows, disabled, onChange, onKeyPress, onFocus, onBlur, tabIndex, error, warning, tooltip, maxTooltipWidth, resize, monospace, testId, }: ITextAreaProps) => JSX_2.Element;
|
|
1400
|
-
|
|
1401
|
-
export declare const TextLink: ({ children, href, target, testId, onClick, }: ITextLinkProps) => JSX_2.Element;
|
|
1402
|
-
|
|
1403
|
-
export declare enum Theme {
|
|
1404
|
-
DARK = "dark",
|
|
1405
|
-
WHITE = "white",
|
|
1406
|
-
LIGHT = "light",
|
|
1407
|
-
INHERIT = "inherit"
|
|
1408
|
-
}
|
|
1409
|
-
|
|
1410
|
-
export declare const toast: ({ id, message, autoClose, onClose, }: IToastProps) => void | React_2.ReactText;
|
|
1411
|
-
|
|
1412
|
-
export { Toaster }
|
|
1413
|
-
|
|
1414
|
-
export declare const Toggle: ({ name, label, checked, disabled, small, onChange, noMargin, testId, helpText, onClickHelp, }: IToggleProps) => JSX_2.Element;
|
|
1415
|
-
|
|
1416
|
-
export declare const Tooltip: ({ children, text, error, placement, possiblePlacements, enabled, warning, maxWidth, triggerOffset, fontSize, padding, display, flex, forceOpen, }: ITooltipProps) => JSX_2.Element;
|
|
1417
|
-
|
|
1418
|
-
export declare const TopBar: ({ title, content, contentRight, warning, height, fixedPosition, }: ITopBarProps) => JSX_2.Element;
|
|
1419
|
-
|
|
1420
|
-
declare enum TopBarElementType {
|
|
1421
|
-
LINK = "Link",
|
|
1422
|
-
BUTTON = "Button",
|
|
1423
|
-
MENU = "Menu",
|
|
1424
|
-
COMPONENT = "Component"
|
|
1425
|
-
}
|
|
1426
|
-
|
|
1427
|
-
export declare const Tree: ({ list, draggable, onListReorder, onChangeOpen, testId, isInitialOpen, treeRef, }: ITreeProps) => JSX_2.Element;
|
|
1428
|
-
|
|
1429
|
-
export declare enum TriggerType {
|
|
1430
|
-
TEXT = "Text",
|
|
1431
|
-
BUTTON = "Button",
|
|
1432
|
-
DROP_DOWN_BUTTON = "DropDownButton",
|
|
1433
|
-
COMPONENT = "Component"
|
|
1434
|
-
}
|
|
1435
|
-
|
|
1436
|
-
declare type TRowsType = TRowType[];
|
|
1437
|
-
|
|
1438
|
-
declare type TRowType = {
|
|
1439
|
-
cells: TCellType[];
|
|
1440
|
-
actions?: any[];
|
|
1441
|
-
testId?: string;
|
|
1442
|
-
noDrag?: boolean;
|
|
1443
|
-
onRowMouseEnter?: () => void;
|
|
1444
|
-
onRowMouseLeave?: () => void;
|
|
1445
|
-
};
|
|
1446
|
-
|
|
1447
|
-
declare type TSliderMark = {
|
|
1448
|
-
value: number | string;
|
|
1449
|
-
label?: number | string | ReactNode;
|
|
1450
|
-
tooltip?: number | string | ReactNode;
|
|
1451
|
-
};
|
|
1452
|
-
|
|
1453
|
-
declare type TTopBarElementProps = {
|
|
1454
|
-
element: LinkElement | ButtonElement | MenuElement | ComponentElement;
|
|
1455
|
-
};
|
|
1456
|
-
|
|
1457
|
-
export declare const useFocus: () => UseFocusReturnType;
|
|
1458
|
-
|
|
1459
|
-
declare type UseFocusReturnType = [MutableRefObject<HTMLInputElement | null>, () => void];
|
|
1460
|
-
|
|
1461
|
-
export declare const useKeyboardEvent: (key: string, fn: () => void, dependencyList?: DependencyList) => void;
|
|
1462
|
-
|
|
1463
|
-
export declare const useWindowWidth: () => number;
|
|
1464
|
-
|
|
1465
|
-
export declare const widthOfCharacters: (characterCount: number) => string;
|
|
1466
|
-
|
|
1467
|
-
export { }
|
|
1
|
+
import './style/global.less';
|
|
2
|
+
export { Accordion } from './components/accordion/accordion';
|
|
3
|
+
export { AccordionWithDefaultToggle } from './components/accordion/helpers/accordion-with-default-toggle';
|
|
4
|
+
export { Actions } from './components/actions/actions';
|
|
5
|
+
export { Badge } from './components/badge/badge';
|
|
6
|
+
export { Breadcrumb } from './components/breadcrumb/breadcrumb';
|
|
7
|
+
export { Button } from './components/button/button';
|
|
8
|
+
export { ButtonGroup } from './components/button-group/button-group';
|
|
9
|
+
export { Card } from './components/card/card';
|
|
10
|
+
export { CheckBox } from './components/check-box/check-box';
|
|
11
|
+
export { Column } from './components/layout/column/column';
|
|
12
|
+
export { Divider } from './components/divider/divider';
|
|
13
|
+
export { Dialog } from './components/dialog/dialog';
|
|
14
|
+
export { Drawer } from './components/drawer/drawer';
|
|
15
|
+
export { Empty } from './components/empty/empty';
|
|
16
|
+
export { FileInput } from './components/file-input/file-input';
|
|
17
|
+
export { readFile } from './components/file-input/file-input';
|
|
18
|
+
export { Field } from './components/form/field';
|
|
19
|
+
export { Flex } from './components/layout/flex/flex';
|
|
20
|
+
export { FormRow } from './components/layout/form-row/form-row';
|
|
21
|
+
export { Grid } from './components/layout/grid/grid';
|
|
22
|
+
export { Icon } from './components/icon/icon';
|
|
23
|
+
export { InputGroup } from './components/input-group/input-group';
|
|
24
|
+
export { InputGroupAddon } from './components/input-group/input-group-addon/input-group-addon';
|
|
25
|
+
export { HelpIcon } from './components/help-icon/help-icon';
|
|
26
|
+
export { Heading } from './components/heading/heading';
|
|
27
|
+
export { Input, widthOfCharacters } from './components/input/input';
|
|
28
|
+
export { Label } from './components/label/label';
|
|
29
|
+
export { List } from './components/list/list';
|
|
30
|
+
export { ListHeading } from './components/list/list-row/list-heading';
|
|
31
|
+
export { ListSubheading } from './components/list/list-row/list-subheading';
|
|
32
|
+
export { Loader } from './components/loader/loader';
|
|
33
|
+
export { Menu } from './components/menu/menu';
|
|
34
|
+
export { Message } from './components/message/message';
|
|
35
|
+
export { Modal } from './components/modal/modal';
|
|
36
|
+
export { OptionDropdown } from './components/option-dropdown/option-dropdown';
|
|
37
|
+
export { Page } from './components/layout/page/page';
|
|
38
|
+
export { Pagination } from './components/pagination/pagination';
|
|
39
|
+
export { Popover } from './components/popover/popover';
|
|
40
|
+
export { Portal } from './components/portal/portal';
|
|
41
|
+
export { PrintHeader } from './components/layout/print-header/print-header';
|
|
42
|
+
export { ProgressBar } from './components/progress-bar/progress-bar';
|
|
43
|
+
export { RadioButton } from './components/radio-button/radio-button';
|
|
44
|
+
export { RichTextInput } from './components/rich-text-input/rich-text-input';
|
|
45
|
+
export { NativeSelect } from './components/select/native-select/native-select';
|
|
46
|
+
export { Row } from './components/layout/row/row';
|
|
47
|
+
export { Select } from './components/select/select';
|
|
48
|
+
export { SideBar } from './components/side-bar/side-bar';
|
|
49
|
+
export { Slider } from './components/slider/slider';
|
|
50
|
+
export { Spacer } from './components/layout/spacer/spacer';
|
|
51
|
+
export { Spinner } from './components/spinner/spinner';
|
|
52
|
+
export { Table } from './components/table/table';
|
|
53
|
+
export { Tabs } from './components/tabs/tabs';
|
|
54
|
+
export { Text } from './components/text/text';
|
|
55
|
+
export { TextLink } from './components/text-link/text-link';
|
|
56
|
+
export { TextArea } from './components/textarea/textarea';
|
|
57
|
+
export { Toaster, toast } from './components/toaster/toaster';
|
|
58
|
+
export { Toggle } from './components/toggle/toggle';
|
|
59
|
+
export { Tooltip } from './components/tooltip/tooltip';
|
|
60
|
+
export { TopBar } from './components/top-bar/top-bar';
|
|
61
|
+
export { PopConfirm } from './components/pop-confirm/pop-confirm';
|
|
62
|
+
export { Tree } from './components/tree/tree';
|
|
63
|
+
export { NumberInput } from './components/number-input/number-input';
|
|
64
|
+
export { useKeyboardEvent, useFocus, useWindowWidth } from './hooks';
|
|
65
|
+
export { DisabledContext } from './helpers/disabled-context';
|
|
66
|
+
export { BreadcrumbLinkType } from './components/breadcrumb/enum';
|
|
67
|
+
export { ButtonType } from './components/button/enum';
|
|
68
|
+
export { MenuType } from './components/menu/enum';
|
|
69
|
+
export { Align } from './common-enum';
|
|
70
|
+
export { ButtonPosition } from './common-enum';
|
|
71
|
+
export { InputReaderMethods } from './components/file-input/enum';
|
|
72
|
+
export { TriggerType } from './common-enum';
|
|
73
|
+
export { Theme } from './common-enum';
|
|
74
|
+
export { MenuCarat } from './components/menu/enum';
|
|
75
|
+
export { MessageType } from './components/message/enum';
|
|
76
|
+
export { GroupOrder } from './common-enum';
|
|
77
|
+
export { Color } from './common-enum';
|
|
78
|
+
export { IconType } from './common-enum';
|
|
79
|
+
export { InputType } from './common-enum';
|