carbon-react 102.9.2 → 102.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/__internal__/DeprecationWarning.d.ts +10 -0
- package/lib/__internal__/character-count/character-count.component.d.ts +26 -0
- package/lib/__internal__/character-count/character-count.style.d.ts +2 -0
- package/lib/__internal__/character-count/index.d.ts +1 -0
- package/lib/__internal__/checkable-input/checkable-input-svg-wrapper.style.d.ts +2 -0
- package/lib/__internal__/checkable-input/checkable-input.component.d.ts +75 -0
- package/lib/__internal__/checkable-input/checkable-input.style.d.ts +2 -0
- package/lib/__internal__/checkable-input/hidden-checkable-input.component.d.ts +41 -0
- package/lib/__internal__/checkable-input/hidden-checkable-input.style.d.ts +2 -0
- package/lib/__internal__/date/index.d.ts +1 -0
- package/lib/__internal__/field-help/field-help.component.d.ts +15 -0
- package/lib/__internal__/field-help/field-help.style.d.ts +2 -0
- package/lib/__internal__/fieldset/fieldset.component.d.ts +35 -0
- package/lib/__internal__/fieldset/fieldset.style.d.ts +3 -0
- package/lib/__internal__/filter-object-properties/filter-object-properties.d.ts +1 -0
- package/lib/__internal__/filter-object-properties/index.d.ts +1 -0
- package/lib/__internal__/focus-trap/focus-trap-utils.d.ts +4 -0
- package/lib/__internal__/focus-trap/focus-trap.component.d.ts +22 -0
- package/lib/__internal__/focus-trap/index.d.ts +1 -0
- package/lib/__internal__/form-field/form-field.component.d.ts +63 -0
- package/lib/__internal__/form-field/form-field.style.d.ts +3 -0
- package/lib/__internal__/full-screen-heading/full-screen-heading.component.d.ts +3 -0
- package/lib/__internal__/full-screen-heading/full-screen-heading.style.d.ts +3 -0
- package/lib/__internal__/full-screen-heading/index.d.ts +1 -0
- package/lib/__internal__/i18n-context/index.d.ts +2 -0
- package/lib/__internal__/input/extract-props/extract-props.d.ts +1 -0
- package/lib/__internal__/input/extract-props/index.d.ts +1 -0
- package/lib/__internal__/input/input-presentation.component.d.ts +28 -0
- package/lib/__internal__/input/input-presentation.style.d.ts +9 -0
- package/lib/__internal__/input/input-sizes.style.d.ts +34 -0
- package/lib/__internal__/input/input.component.d.ts +3 -0
- package/lib/__internal__/input/input.style.d.ts +2 -0
- package/lib/__internal__/input-behaviour/index.d.ts +2 -0
- package/lib/__internal__/input-behaviour/input-behaviour.component.d.ts +11 -0
- package/lib/__internal__/input-behaviour/input-group-behaviour.component.d.ts +13 -0
- package/lib/__internal__/input-behaviour/useInputBehaviour.d.ts +11 -0
- package/lib/__internal__/input-icon-toggle/input-icon-toggle.component.d.ts +38 -0
- package/lib/__internal__/input-icon-toggle/input-icon-toggle.style.d.ts +5 -0
- package/lib/__internal__/label/icon-wrapper.style.d.ts +2 -0
- package/lib/__internal__/label/label.component.d.ts +66 -0
- package/lib/__internal__/label/label.style.d.ts +3 -0
- package/lib/__internal__/popover/index.d.ts +1 -0
- package/lib/__internal__/popover/popover.component.d.ts +22 -0
- package/lib/__internal__/sticky-footer/index.d.ts +1 -0
- package/lib/__internal__/sticky-footer/sticky-footer.component.d.ts +15 -0
- package/lib/__internal__/sticky-footer/sticky-footer.style.d.ts +2 -0
- package/lib/__internal__/utils/ether/ether.d.ts +19 -0
- package/lib/__internal__/utils/ether/index.d.ts +1 -0
- package/lib/__internal__/utils/helpers/browser/browser.d.ts +17 -0
- package/lib/__internal__/utils/helpers/browser/index.d.ts +1 -0
- package/lib/__internal__/utils/helpers/browser-type-check/browser-type-check.d.ts +7 -0
- package/lib/__internal__/utils/helpers/browser-type-check/index.d.ts +1 -0
- package/lib/__internal__/utils/helpers/events/composedPath.d.ts +2 -0
- package/lib/__internal__/utils/helpers/events/events.d.ts +32 -0
- package/lib/__internal__/utils/helpers/events/index.d.ts +1 -0
- package/lib/__internal__/utils/helpers/guid/__spec__.d.ts +1 -0
- package/lib/__internal__/utils/helpers/guid/guid.d.ts +2 -0
- package/lib/__internal__/utils/helpers/immutable/__spec__.d.ts +1 -0
- package/lib/__internal__/utils/helpers/immutable/immutable.d.ts +4 -0
- package/lib/__internal__/utils/helpers/tags/index.d.ts +1 -0
- package/lib/__internal__/utils/helpers/tags/tags-specs/index.d.ts +1 -0
- package/lib/__internal__/utils/helpers/tags/tags-specs/tags-specs.d.ts +2 -0
- package/lib/__internal__/utils/helpers/tags/tags.d.ts +9 -0
- package/lib/__internal__/utils/helpers/with-unique-id-props/index.d.ts +1 -0
- package/lib/__internal__/utils/logger/index.d.ts +1 -0
- package/lib/__internal__/utils/logger/logger.d.ts +9 -0
- package/lib/__internal__/validations/validation-icon.component.d.ts +41 -0
- package/lib/__internal__/validations/validation-icon.style.d.ts +2 -0
- package/lib/__spec_helper__/enzyme-snapshot-helper.d.ts +2 -0
- package/lib/__spec_helper__/expect.d.ts +1 -0
- package/lib/__spec_helper__/index.d.ts +1 -0
- package/lib/__spec_helper__/mock-date-helper.d.ts +1 -0
- package/lib/__spec_helper__/mock-resize-observer.d.ts +2 -0
- package/lib/__spec_helper__/test-utils.d.ts +33 -0
- package/lib/components/accordion/accordion-group/accordion-group.component.d.ts +10 -0
- package/lib/components/accordion/accordion.component.d.ts +3 -0
- package/lib/components/accordion/accordion.style.d.ts +10 -0
- package/lib/components/action-popover/action-popover-context.d.ts +3 -0
- package/lib/components/action-popover/action-popover-divider/action-popover-divider.component.d.ts +2 -0
- package/lib/components/action-popover/action-popover-item/action-popover-item.component.d.ts +42 -0
- package/lib/components/action-popover/action-popover-menu/action-popover-menu.component.d.ts +3 -0
- package/lib/components/action-popover/action-popover-menu-button/action-popover-menu-button.component.d.ts +19 -0
- package/lib/components/action-popover/action-popover.component.d.ts +38 -0
- package/lib/components/action-popover/action-popover.style.d.ts +31 -0
- package/lib/components/advanced-color-picker/advanced-color-picker-cell.style.d.ts +4 -0
- package/lib/components/advanced-color-picker/advanced-color-picker.component.d.ts +55 -0
- package/lib/components/advanced-color-picker/advanced-color-picker.style.d.ts +53 -0
- package/lib/components/alert/alert.component.d.ts +50 -0
- package/lib/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.component.d.ts +3 -0
- package/lib/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.style.d.ts +2 -0
- package/lib/components/anchor-navigation/anchor-navigation.component.d.ts +12 -0
- package/lib/components/anchor-navigation/anchor-navigation.style.d.ts +3 -0
- package/lib/components/anchor-navigation/anchor-section-divider/anchor-section-divider.style.d.ts +4 -0
- package/lib/components/app-wrapper/app-wrapper.component.d.ts +21 -0
- package/lib/components/app-wrapper/app-wrapper.style.d.ts +2 -0
- package/lib/components/badge/badge.component.d.ts +14 -0
- package/lib/components/badge/badge.style.d.ts +6 -0
- package/lib/components/batch-selection/batch-selection.component.d.ts +22 -0
- package/lib/components/batch-selection/batch-selection.style.d.ts +2 -0
- package/lib/components/box/box.component.d.ts +7 -0
- package/lib/components/button/button-types.style.d.ts +9 -0
- package/lib/components/button/button.component.d.ts +17 -0
- package/lib/components/button/button.config.d.ts +3 -0
- package/lib/components/button/button.style.d.ts +9 -0
- package/lib/components/button-bar/button-bar.component.d.ts +16 -0
- package/lib/components/button-bar/button-bar.config.d.ts +2 -0
- package/lib/components/button-bar/button-bar.style.d.ts +5 -0
- package/lib/components/button-toggle/button-toggle-icon.component.d.ts +9 -0
- package/lib/components/button-toggle/button-toggle-input.component.d.ts +3 -0
- package/lib/components/button-toggle/button-toggle.component.d.ts +48 -0
- package/lib/components/button-toggle/button-toggle.style.d.ts +5 -0
- package/lib/components/button-toggle-group/__definition__.d.ts +2 -0
- package/lib/components/button-toggle-group/__definition__.js +50 -0
- package/lib/components/button-toggle-group/button-toggle-group.component.d.ts +86 -0
- package/lib/components/button-toggle-group/button-toggle-group.style.d.ts +2 -0
- package/lib/components/button-toggle-group/documentation/index.d.ts +1 -0
- package/lib/components/carbon-provider/carbon-provider.component.d.ts +12 -0
- package/lib/components/card/card-column/card-column.component.d.ts +17 -0
- package/lib/components/card/card-column/card-column.style.d.ts +2 -0
- package/lib/components/card/card-footer/card-footer.component.d.ts +9 -0
- package/lib/components/card/card-footer/card-footer.style.d.ts +2 -0
- package/lib/components/card/card-row/card-row.component.d.ts +13 -0
- package/lib/components/card/card-row/card-row.style.d.ts +2 -0
- package/lib/components/card/card.component.d.ts +27 -0
- package/lib/components/card/card.config.d.ts +2 -0
- package/lib/components/card/card.style.d.ts +2 -0
- package/lib/components/carousel/carousel.component.d.ts +36 -0
- package/lib/components/carousel/carousel.style.d.ts +16 -0
- package/lib/components/carousel/slide/slide.component.d.ts +8 -0
- package/lib/components/carousel/slide/slide.style.d.ts +1 -0
- package/lib/components/carousel/slide.config.d.ts +2 -0
- package/lib/components/checkbox/checkbox-group.component.d.ts +20 -0
- package/lib/components/checkbox/checkbox-svg.component.d.ts +2 -0
- package/lib/components/checkbox/checkbox.component.d.ts +109 -0
- package/lib/components/checkbox/checkbox.style.d.ts +3 -0
- package/lib/components/confirm/confirm.component.d.ts +117 -0
- package/lib/components/confirm/confirm.config.d.ts +1 -0
- package/lib/components/confirm/confirm.style.d.ts +2 -0
- package/lib/components/content/content.component.d.ts +23 -0
- package/lib/components/content/content.style.d.ts +3 -0
- package/lib/components/date/date-picker.component.d.ts +22 -0
- package/lib/components/date/date.component.d.ts +57 -0
- package/lib/components/date/date.style.d.ts +2 -0
- package/lib/components/date/day-picker.style.d.ts +2 -0
- package/lib/components/date/navbar/button.style.d.ts +4 -0
- package/lib/components/date/navbar/index.d.ts +1 -0
- package/lib/components/date/navbar/navbar.component.d.ts +13 -0
- package/lib/components/date/navbar/navbar.style.d.ts +2 -0
- package/lib/components/date/weekday/abbr.style.d.ts +2 -0
- package/lib/components/date/weekday/index.d.ts +1 -0
- package/lib/components/date/weekday/weekday.component.d.ts +15 -0
- package/lib/components/date/weekday/weekday.style.d.ts +2 -0
- package/lib/components/date-range/date-range.component.d.ts +39 -0
- package/lib/components/date-range/date-range.style.d.ts +2 -0
- package/lib/components/decimal/decimal.component.d.ts +81 -0
- package/lib/components/definition-list/__internal__/dl.context.d.ts +3 -0
- package/lib/components/definition-list/dd.component.d.ts +8 -0
- package/lib/components/definition-list/definition-list.style.d.ts +5 -0
- package/lib/components/definition-list/dl.component.d.ts +12 -0
- package/lib/components/definition-list/dt.component.d.ts +8 -0
- package/lib/components/detail/detail.component.d.ts +17 -0
- package/lib/components/detail/detail.style.d.ts +5 -0
- package/lib/components/dialog/dialog.component.d.ts +81 -0
- package/lib/components/dialog/dialog.config.d.ts +2 -0
- package/lib/components/dialog/dialog.style.d.ts +4 -0
- package/lib/components/dialog-full-screen/content.style.d.ts +2 -0
- package/lib/components/dialog-full-screen/dialog-full-screen.component.d.ts +78 -0
- package/lib/components/dialog-full-screen/dialog-full-screen.style.d.ts +2 -0
- package/lib/components/dismissible-box/dismissible-box.component.d.ts +11 -0
- package/lib/components/dismissible-box/dismissible-box.style.d.ts +3 -0
- package/lib/components/draggable/draggable-container.component.d.ts +13 -0
- package/lib/components/draggable/draggable-item.component.d.ts +19 -0
- package/lib/components/draggable/draggable-item.style.d.ts +4 -0
- package/lib/components/drawer/drawer.component.d.ts +39 -0
- package/lib/components/drawer/drawer.style.d.ts +10 -0
- package/lib/components/duelling-picklist/duelling-picklist.component.d.ts +21 -0
- package/lib/components/duelling-picklist/duelling-picklist.context.d.ts +3 -0
- package/lib/components/duelling-picklist/duelling-picklist.style.d.ts +7 -0
- package/lib/components/duelling-picklist/picklist/picklist.component.d.ts +18 -0
- package/lib/components/duelling-picklist/picklist/picklist.style.d.ts +5 -0
- package/lib/components/duelling-picklist/picklist-divider/picklist-divider.component.d.ts +2 -0
- package/lib/components/duelling-picklist/picklist-divider/picklist-divider.style.d.ts +2 -0
- package/lib/components/duelling-picklist/picklist-group/picklist-group.component.d.ts +3 -0
- package/lib/components/duelling-picklist/picklist-group/picklist-group.style.d.ts +5 -0
- package/lib/components/duelling-picklist/picklist-item/picklist-item.component.d.ts +3 -0
- package/lib/components/duelling-picklist/picklist-item/picklist-item.style.d.ts +5 -0
- package/lib/components/duelling-picklist/picklist-placeholder/picklist-placeholder.component.d.ts +10 -0
- package/lib/components/fieldset/fieldset.component.d.ts +14 -0
- package/lib/components/fieldset/fieldset.style.d.ts +3 -0
- package/lib/components/flat-table/cell-sizes.style.d.ts +40 -0
- package/lib/components/flat-table/flat-table-body/flat-table-body.component.d.ts +3 -0
- package/lib/components/flat-table/flat-table-body-draggable/flat-table-body-draggable.component.d.ts +12 -0
- package/lib/components/flat-table/flat-table-cell/flat-table-cell.component.d.ts +38 -0
- package/lib/components/flat-table/flat-table-cell/flat-table-cell.style.d.ts +2 -0
- package/lib/components/flat-table/flat-table-checkbox/flat-table-checkbox.component.d.ts +26 -0
- package/lib/components/flat-table/flat-table-checkbox/flat-table-checkbox.style.d.ts +2 -0
- package/lib/components/flat-table/flat-table-head/flat-table-head.component.d.ts +10 -0
- package/lib/components/flat-table/flat-table-head/flat-table-head.style.d.ts +2 -0
- package/lib/components/flat-table/flat-table-header/flat-table-header.component.d.ts +33 -0
- package/lib/components/flat-table/flat-table-header/flat-table-header.style.d.ts +2 -0
- package/lib/components/flat-table/flat-table-row/__internal__/flat-table-row-draggable.component.d.ts +22 -0
- package/lib/components/flat-table/flat-table-row/flat-table-row.component.d.ts +3 -0
- package/lib/components/flat-table/flat-table-row/flat-table-row.style.d.ts +2 -0
- package/lib/components/flat-table/flat-table-row-header/flat-table-row-header.component.d.ts +30 -0
- package/lib/components/flat-table/flat-table-row-header/flat-table-row-header.style.d.ts +2 -0
- package/lib/components/flat-table/flat-table.component.d.ts +43 -0
- package/lib/components/flat-table/flat-table.config.d.ts +2 -0
- package/lib/components/flat-table/flat-table.style.d.ts +4 -0
- package/lib/components/flat-table/sort/sort.component.d.ts +14 -0
- package/lib/components/flat-table/sort/sort.style.d.ts +2 -0
- package/lib/components/form/__internal__/form-summary.component.d.ts +10 -0
- package/lib/components/form/__internal__/form-summary.style.d.ts +3 -0
- package/lib/components/form/form.component.d.ts +20 -0
- package/lib/components/form/form.config.d.ts +1 -0
- package/lib/components/form/form.style.d.ts +5 -0
- package/lib/components/grid/grid-container/grid-container.component.d.ts +5 -0
- package/lib/components/grid/grid-container/grid-container.style.d.ts +2 -0
- package/lib/components/grid/grid-item/grid-item.component.d.ts +25 -0
- package/lib/components/grid/grid-item/grid-item.style.d.ts +2 -0
- package/lib/components/grouped-character/grouped-character.component.d.ts +23 -0
- package/lib/components/grouped-character/grouped-character.utils.d.ts +2 -0
- package/lib/components/heading/heading.component.d.ts +71 -0
- package/lib/components/heading/heading.style.d.ts +16 -0
- package/lib/components/help/help.component.d.ts +45 -0
- package/lib/components/help/help.config.d.ts +1 -0
- package/lib/components/help/help.style.d.ts +2 -0
- package/lib/components/hr/hr.component.d.ts +13 -0
- package/lib/components/hr/hr.style.d.ts +2 -0
- package/lib/components/i18n-provider/i18n-provider.component.d.ts +102 -0
- package/lib/components/icon/icon-config.d.ts +26 -0
- package/lib/components/icon/icon-unicodes.d.ts +247 -0
- package/lib/components/icon/icon.component.d.ts +3 -0
- package/lib/components/icon/icon.style.d.ts +2 -0
- package/lib/components/icon-button/icon-button.component.d.ts +3 -0
- package/lib/components/icon-button/icon-button.style.d.ts +4 -0
- package/lib/components/image/image.component.d.ts +2 -0
- package/lib/components/inline-inputs/inline-inputs.component.d.ts +22 -0
- package/lib/components/inline-inputs/inline-inputs.config.d.ts +1 -0
- package/lib/components/inline-inputs/inline-inputs.style.d.ts +4 -0
- package/lib/components/link/link.component.d.ts +3 -0
- package/lib/components/link/link.config.d.ts +2 -0
- package/lib/components/link/link.style.d.ts +2 -0
- package/lib/components/link-preview/__internal__/placeholder.component.d.ts +2 -0
- package/lib/components/link-preview/link-preview.component.d.ts +29 -0
- package/lib/components/link-preview/link-preview.style.d.ts +6 -0
- package/lib/components/loader/loader-square.style.d.ts +2 -0
- package/lib/components/loader/loader.component.d.ts +23 -0
- package/lib/components/loader/loader.config.d.ts +1 -0
- package/lib/components/loader/loader.style.d.ts +2 -0
- package/lib/components/loader-bar/loader-bar.component.d.ts +11 -0
- package/lib/components/loader-bar/loader-bar.config.d.ts +1 -0
- package/lib/components/loader-bar/loader-bar.style.d.ts +4 -0
- package/lib/components/menu/__internal__/keyboard-navigation/index.d.ts +2 -0
- package/lib/components/menu/__internal__/spec-helper/index.d.ts +2 -0
- package/lib/components/menu/__internal__/submenu/submenu.component.d.ts +3 -0
- package/lib/components/menu/__internal__/submenu/submenu.context.d.ts +3 -0
- package/lib/components/menu/__internal__/submenu/submenu.style.d.ts +2 -0
- package/lib/components/menu/menu-divider/menu-divider.component.d.ts +3 -0
- package/lib/components/menu/menu-divider/menu-divider.style.d.ts +2 -0
- package/lib/components/menu/menu-full-screen/menu-full-screen.component.d.ts +17 -0
- package/lib/components/menu/menu-full-screen/menu-full-screen.style.d.ts +2 -0
- package/lib/components/menu/menu-item/menu-item.component.d.ts +24 -0
- package/lib/components/menu/menu-item/menu-item.style.d.ts +2 -0
- package/lib/components/menu/menu-segment-title/menu-segment-title.component.d.ts +3 -0
- package/lib/components/menu/menu-segment-title/menu-segment-title.style.d.ts +2 -0
- package/lib/components/menu/menu.component.d.ts +11 -0
- package/lib/components/menu/menu.context.d.ts +3 -0
- package/lib/components/menu/menu.style.d.ts +2 -0
- package/lib/components/menu/scrollable-block/scrollable-block.component.d.ts +15 -0
- package/lib/components/menu/scrollable-block/scrollable-block.style.d.ts +2 -0
- package/lib/components/menu/submenu-block/submenu-block.component.d.ts +12 -0
- package/lib/components/menu/submenu-block/submenu-block.style.d.ts +2 -0
- package/lib/components/message/message-content/message-content.component.d.ts +22 -0
- package/lib/components/message/message-content/message-content.style.d.ts +2 -0
- package/lib/components/message/message.component.d.ts +29 -0
- package/lib/components/message/message.style.d.ts +2 -0
- package/lib/components/message/type-icon/type-icon.component.d.ts +18 -0
- package/lib/components/message/type-icon/type-icon.style.d.ts +2 -0
- package/lib/components/modal/__internal__/modal-manager.d.ts +9 -0
- package/lib/components/modal/modal.component.d.ts +35 -0
- package/lib/components/modal/modal.style.d.ts +2 -0
- package/lib/components/mount-in-app/__spec__.d.ts +1 -0
- package/lib/components/multi-action-button/multi-action-button.component.d.ts +37 -0
- package/lib/components/multi-action-button/multi-action-button.config.d.ts +3 -0
- package/lib/components/multi-action-button/multi-action-button.style.d.ts +2 -0
- package/lib/components/multi-step-wizard/__spec__.d.ts +1 -0
- package/lib/components/multi-step-wizard/multi-step-wizard.d.ts +87 -0
- package/lib/components/multi-step-wizard/multi-step-wizard.style.d.ts +2 -0
- package/lib/components/multi-step-wizard/step/__spec__.d.ts +1 -0
- package/lib/components/multi-step-wizard/step/step.d.ts +160 -0
- package/lib/components/multi-step-wizard/step/step.style.d.ts +11 -0
- package/lib/components/navigation-bar/navigation-bar.component.d.ts +13 -0
- package/lib/components/navigation-bar/navigation-bar.style.d.ts +2 -0
- package/lib/components/note/__internal__/status-with-tooltip/index.d.ts +1 -0
- package/lib/components/note/__internal__/status-with-tooltip/status.component.d.ts +3 -0
- package/lib/components/note/__internal__/status-with-tooltip/status.style.d.ts +2 -0
- package/lib/components/note/note.component.d.ts +30 -0
- package/lib/components/note/note.style.d.ts +6 -0
- package/lib/components/number/number.component.d.ts +10 -0
- package/lib/components/numeral-date/numeral-date.component.d.ts +111 -0
- package/lib/components/numeral-date/numeral-date.style.d.ts +2 -0
- package/lib/components/pager/__internal__/pager-navigation-link.component.d.ts +20 -0
- package/lib/components/pager/__internal__/pager-navigation.component.d.ts +32 -0
- package/lib/components/pager/pager.component.d.ts +49 -0
- package/lib/components/pager/pager.style.d.ts +11 -0
- package/lib/components/pages/page/page.component.d.ts +13 -0
- package/lib/components/pages/page/page.style.d.ts +2 -0
- package/lib/components/pages/pages.component.d.ts +20 -0
- package/lib/components/pages/pages.config.d.ts +2 -0
- package/lib/components/pages/pages.style.d.ts +2 -0
- package/lib/components/pill/pill.component.d.ts +39 -0
- package/lib/components/pill/pill.style.config.d.ts +27 -0
- package/lib/components/pill/pill.style.d.ts +2 -0
- package/lib/components/pod/pod.component.d.ts +3 -0
- package/lib/components/pod/pod.config.d.ts +3 -0
- package/lib/components/pod/pod.style.d.ts +13 -0
- package/lib/components/popover-container/popover-container.component.d.ts +57 -0
- package/lib/components/popover-container/popover-container.style.d.ts +8 -0
- package/lib/components/portal/portal.style.d.ts +3 -0
- package/lib/components/portrait/portrait-gravatar.component.d.ts +24 -0
- package/lib/components/portrait/portrait-initials.component.d.ts +8 -0
- package/lib/components/portrait/portrait.component.d.ts +55 -0
- package/lib/components/portrait/portrait.config.d.ts +44 -0
- package/lib/components/portrait/portrait.style.d.ts +10 -0
- package/lib/components/preview/preview.component.d.ts +16 -0
- package/lib/components/preview/preview.style.d.ts +3 -0
- package/lib/components/profile/profile.component.d.ts +21 -0
- package/lib/components/profile/profile.config.d.ts +95 -0
- package/lib/components/profile/profile.style.d.ts +6 -0
- package/lib/components/progress-tracker/progress-tracker.component.d.ts +27 -0
- package/lib/components/progress-tracker/progress-tracker.config.d.ts +3 -0
- package/lib/components/progress-tracker/progress-tracker.style.d.ts +5 -0
- package/lib/components/radio-button/radio-button-group.component.d.ts +26 -0
- package/lib/components/radio-button/radio-button-group.style.d.ts +2 -0
- package/lib/components/radio-button/radio-button-mapper.component.d.ts +22 -0
- package/lib/components/radio-button/radio-button-svg.component.d.ts +3 -0
- package/lib/components/radio-button/radio-button.component.d.ts +5 -0
- package/lib/components/radio-button/radio-button.style.d.ts +2 -0
- package/lib/components/row/column/column.component.d.ts +30 -0
- package/lib/components/row/column/column.style.d.ts +2 -0
- package/lib/components/row/row.component.d.ts +24 -0
- package/lib/components/row/row.config.d.ts +11 -0
- package/lib/components/row/row.style.d.ts +2 -0
- package/lib/components/scrollable-list/as-scrollable-list-item.wrapper.d.ts +2 -0
- package/lib/components/scrollable-list/index.d.ts +4 -0
- package/lib/components/scrollable-list/scrollable-list-item.component.d.ts +2 -0
- package/lib/components/scrollable-list/scrollable-list.component.d.ts +44 -0
- package/lib/components/scrollable-list/scrollable-list.context.d.ts +3 -0
- package/lib/components/scrollable-list/scrollable-list.style.d.ts +2 -0
- package/lib/components/scrollable-list/test-utils.d.ts +2 -0
- package/lib/components/search/search.component.d.ts +68 -0
- package/lib/components/search/search.style.d.ts +4 -0
- package/lib/components/select/filterable-select/filterable-select.component.d.ts +3 -0
- package/lib/components/select/list-action-button/list-action-button.component.d.ts +3 -0
- package/lib/components/select/list-action-button/list-action-button.style.d.ts +2 -0
- package/lib/components/select/multi-select/multi-select.component.d.ts +3 -0
- package/lib/components/select/multi-select/multi-select.style.d.ts +2 -0
- package/lib/components/select/option/option.component.d.ts +3 -0
- package/lib/components/select/option/option.style.d.ts +2 -0
- package/lib/components/select/option-group-header/option-group-header.component.d.ts +12 -0
- package/lib/components/select/option-group-header/option-group-header.style.d.ts +2 -0
- package/lib/components/select/option-row/option-row.component.d.ts +3 -0
- package/lib/components/select/option-row/option-row.style.d.ts +2 -0
- package/lib/components/select/select-list/select-list-container.style.d.ts +2 -0
- package/lib/components/select/select-list/select-list.component.d.ts +3 -0
- package/lib/components/select/select-list/select-list.style.d.ts +6 -0
- package/lib/components/select/select-list/update-list-scroll.d.ts +1 -0
- package/lib/components/select/select-textbox/select-textbox.component.d.ts +43 -0
- package/lib/components/select/select.style.d.ts +2 -0
- package/lib/components/select/simple-select/simple-select.component.d.ts +3 -0
- package/lib/components/select/utils/get-next-child-by-text.d.ts +4 -0
- package/lib/components/select/utils/get-next-index-by-key.d.ts +1 -0
- package/lib/components/select/utils/highlight-part-of-text.d.ts +1 -0
- package/lib/components/select/utils/is-expected-option.d.ts +1 -0
- package/lib/components/select/utils/is-expected-value.d.ts +1 -0
- package/lib/components/select/utils/matching-text.style.d.ts +2 -0
- package/lib/components/select/utils/with-filter.hoc.d.ts +4 -0
- package/lib/components/settings-row/settings-row.component.d.ts +19 -0
- package/lib/components/settings-row/settings-row.style.d.ts +3 -0
- package/lib/components/show-edit-pod/delete-button.style.d.ts +3 -0
- package/lib/components/show-edit-pod/show-edit-pod.component.d.ts +52 -0
- package/lib/components/show-edit-pod/show-edit-pod.config.d.ts +2 -0
- package/lib/components/show-edit-pod/show-edit-pod.style.d.ts +3 -0
- package/lib/components/sidebar/__internal__/sidebar-header/__definition__.d.ts +2 -0
- package/lib/components/sidebar/__internal__/sidebar-header/__definition__.js +25 -0
- package/lib/components/sidebar/__internal__/sidebar-header/index.d.ts +1 -0
- package/lib/components/sidebar/__internal__/sidebar-header/sidebar-header.component.d.ts +13 -0
- package/lib/components/sidebar/__internal__/sidebar-header/sidebar-header.style.d.ts +2 -0
- package/lib/components/sidebar/sidebar.component.d.ts +4 -0
- package/lib/components/sidebar/sidebar.config.d.ts +11 -0
- package/lib/components/sidebar/sidebar.style.d.ts +2 -0
- package/lib/components/simple-color-picker/color-sample-box/color-sample-box.component.d.ts +13 -0
- package/lib/components/simple-color-picker/color-sample-box/color-sample-box.style.d.ts +2 -0
- package/lib/components/simple-color-picker/color-sample-box/index.d.ts +1 -0
- package/lib/components/simple-color-picker/simple-color/index.d.ts +1 -0
- package/lib/components/simple-color-picker/simple-color/simple-color.component.d.ts +3 -0
- package/lib/components/simple-color-picker/simple-color/simple-color.style.d.ts +2 -0
- package/lib/components/simple-color-picker/simple-color-input/simple-color-input.style.d.ts +2 -0
- package/lib/components/simple-color-picker/simple-color-picker.component.d.ts +22 -0
- package/lib/components/simple-color-picker/simple-color-picker.style.d.ts +2 -0
- package/lib/components/simple-color-picker/tick-icon/tick-icon.style.d.ts +3 -0
- package/lib/components/split-button/split-button-children.style.d.ts +2 -0
- package/lib/components/split-button/split-button-toggle.style.d.ts +8 -0
- package/lib/components/split-button/split-button.component.d.ts +41 -0
- package/lib/components/split-button/split-button.config.d.ts +4 -0
- package/lib/components/split-button/split-button.style.d.ts +2 -0
- package/lib/components/step-sequence/step-sequence-item/index.d.ts +1 -0
- package/lib/components/step-sequence/step-sequence-item/step-sequence-item-content.style.d.ts +2 -0
- package/lib/components/step-sequence/step-sequence-item/step-sequence-item-hidden-label.style.d.ts +2 -0
- package/lib/components/step-sequence/step-sequence-item/step-sequence-item-indicator.style.d.ts +2 -0
- package/lib/components/step-sequence/step-sequence-item/step-sequence-item.component.d.ts +17 -0
- package/lib/components/step-sequence/step-sequence-item/step-sequence-item.style.d.ts +2 -0
- package/lib/components/step-sequence/step-sequence.component.d.ts +13 -0
- package/lib/components/step-sequence/step-sequence.config.d.ts +2 -0
- package/lib/components/step-sequence/step-sequence.style.d.ts +2 -0
- package/lib/components/switch/__internal__/switch-slider-panel.style.d.ts +2 -0
- package/lib/components/switch/__internal__/switch-slider.component.d.ts +24 -0
- package/lib/components/switch/__internal__/switch-slider.style.d.ts +2 -0
- package/lib/components/switch/switch.component.d.ts +123 -0
- package/lib/components/switch/switch.style.d.ts +2 -0
- package/lib/components/tabs/__internal__/tab-title/tab-title.component.d.ts +3 -0
- package/lib/components/tabs/__internal__/tab-title/tab-title.style.d.ts +4 -0
- package/lib/components/tabs/__internal__/tab-title/tab-title.style.js +3 -5
- package/lib/components/tabs/__internal__/tabs-header/tabs-header.component.d.ts +24 -0
- package/lib/components/tabs/__internal__/tabs-header/tabs-header.style.d.ts +6 -0
- package/lib/components/tabs/tab/tab.component.d.ts +40 -0
- package/lib/components/tabs/tab/tab.style.d.ts +2 -0
- package/lib/components/tabs/tabs.component.d.ts +42 -0
- package/lib/components/tabs/tabs.component.js +1 -10
- package/lib/components/tabs/tabs.style.d.ts +2 -0
- package/lib/components/text-editor/__internal__/decorators/index.d.ts +2 -0
- package/lib/components/text-editor/__internal__/decorators/link-decorator.d.ts +7 -0
- package/lib/components/text-editor/__internal__/editor-counter/editor-counter.component.d.ts +18 -0
- package/lib/components/text-editor/__internal__/editor-counter/editor-counter.style.d.ts +2 -0
- package/lib/components/text-editor/__internal__/editor-link/editor-link.component.d.ts +15 -0
- package/lib/components/text-editor/__internal__/editor-link/editor-link.style.d.ts +3 -0
- package/lib/components/text-editor/__internal__/label-wrapper/label-wrapper.component.d.ts +17 -0
- package/lib/components/text-editor/__internal__/toolbar/toolbar-button/toolbar-button.component.d.ts +3 -0
- package/lib/components/text-editor/__internal__/toolbar/toolbar-button/toolbar-button.style.d.ts +4 -0
- package/lib/components/text-editor/__internal__/toolbar/toolbar.component.d.ts +18 -0
- package/lib/components/text-editor/__internal__/toolbar/toolbar.style.d.ts +3 -0
- package/lib/components/text-editor/__internal__/utils/index.d.ts +1 -0
- package/lib/components/text-editor/__internal__/utils/utils.d.ts +27 -0
- package/lib/components/text-editor/text-editor.component.d.ts +6 -0
- package/lib/components/text-editor/text-editor.style.d.ts +3 -0
- package/lib/components/textarea/textarea.component.d.ts +129 -0
- package/lib/components/textarea/textarea.style.d.ts +2 -0
- package/lib/components/textbox/__internal__/prefix.style.d.ts +2 -0
- package/lib/components/textbox/textbox.component.d.ts +193 -0
- package/lib/components/tile/tile-footer/tile-footer.component.d.ts +13 -0
- package/lib/components/tile/tile-footer/tile-footer.style.d.ts +2 -0
- package/lib/components/tile/tile-footer/tile-footer.style.js +3 -4
- package/lib/components/tile/tile.component.d.ts +12 -0
- package/lib/components/tile/tile.config.d.ts +2 -0
- package/lib/components/tile/tile.style.d.ts +2 -0
- package/lib/components/tile/tile.style.js +6 -6
- package/lib/components/tile-select/__internal__/accordion/accordion.component.d.ts +16 -0
- package/lib/components/tile-select/__internal__/accordion/accordion.style.d.ts +2 -0
- package/lib/components/tile-select/__internal__/accordion/index.d.ts +1 -0
- package/lib/components/tile-select/tile-select-group.component.d.ts +19 -0
- package/lib/components/tile-select/tile-select.component.d.ts +60 -0
- package/lib/components/tile-select/tile-select.style.d.ts +15 -0
- package/lib/components/toast/toast.component.d.ts +44 -0
- package/lib/components/toast/toast.config.d.ts +1 -0
- package/lib/components/toast/toast.style.d.ts +7 -0
- package/lib/components/tooltip/tooltip-pointer.style.d.ts +2 -0
- package/lib/components/tooltip/tooltip-pointer.style.js +7 -6
- package/lib/components/tooltip/tooltip.component.d.ts +3 -0
- package/lib/components/tooltip/tooltip.component.js +6 -0
- package/lib/components/tooltip/tooltip.config.d.ts +1 -0
- package/lib/components/tooltip/tooltip.style.d.ts +2 -0
- package/lib/components/tooltip/tooltip.style.js +10 -4
- package/lib/components/typography/list.component.d.ts +25 -0
- package/lib/components/typography/typography.component.d.ts +15 -0
- package/lib/components/vertical-divider/vertical-divider.component.d.ts +10 -0
- package/lib/components/vertical-divider/vertical-divider.style.d.ts +2 -0
- package/lib/hooks/__internal__/useCharacterCount/index.d.ts +2 -0
- package/lib/hooks/__internal__/useInputAccessibility/useInputAccessibility.d.ts +15 -0
- package/lib/hooks/__internal__/useLocale/index.d.ts +1 -0
- package/lib/style/__spec__.d.ts +1 -0
- package/lib/style/design-tokens/carbon-scoped-tokens-provider/carbon-scoped-tokens-provider.component.d.ts +6 -0
- package/lib/style/design-tokens/carbon-scoped-tokens-provider/index.d.ts +1 -0
- package/lib/style/design-tokens/debug-theme.util.d.ts +2 -0
- package/lib/style/design-tokens/generate-css-variables.util.d.ts +2 -0
- package/lib/style/themes/aegean/aegean-theme.config.d.ts +23 -0
- package/lib/style/themes/base/base-theme.config.d.ts +621 -0
- package/lib/style/themes/base/index.d.ts +2 -2
- package/lib/style/themes/medium/index.d.ts +2 -0
- package/lib/style/themes/mint/mint-theme.config.d.ts +22 -0
- package/lib/style/themes/mint/mint-theme.config.js +1 -1
- package/lib/style/themes/none/none-theme.config.d.ts +4 -0
- package/lib/style/themes/sage/index.d.ts +572 -0
- package/lib/style/themes/small/index.d.ts +2 -0
- package/lib/style/themes/test-utils.d.ts +1 -0
- package/lib/style/utils/add-hex-symbols.d.ts +2 -0
- package/lib/style/utils/at-opacity.d.ts +2 -0
- package/lib/style/utils/color.d.ts +8 -0
- package/lib/style/utils/filter-out-styled-system-spacing-props.d.ts +4 -0
- package/lib/style/utils/filter-styled-system-margin-props.d.ts +1 -0
- package/lib/style/utils/filter-styled-system-padding-props.d.ts +1 -0
- package/lib/style/utils/get-rgb-values.d.ts +3 -0
- package/lib/style/utils/index.d.ts +4 -0
- package/lib/style/utils/merge-deep.d.ts +12 -0
- package/lib/style/utils/mix.d.ts +2 -0
- package/lib/style/utils/shade.d.ts +2 -0
- package/lib/style/utils/tint.d.ts +2 -0
- package/lib/style/utils/width.d.ts +4 -0
- package/package.json +19 -8
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export default ModalManager;
|
|
2
|
+
declare const ModalManager: ModalManagerInstance;
|
|
3
|
+
declare class ModalManagerInstance {
|
|
4
|
+
addModal: (modal: any, setTriggerRefocusFlag: any) => void;
|
|
5
|
+
isTopmost(modal: any): boolean;
|
|
6
|
+
removeModal(modal: any): void;
|
|
7
|
+
clearList(): void;
|
|
8
|
+
#private;
|
|
9
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export const ModalContext: React.Context<{}>;
|
|
2
|
+
export default Modal;
|
|
3
|
+
import React from "react";
|
|
4
|
+
declare function Modal({ children, open, onCancel, disableEscKey, disableClose, enableBackgroundUI, timeout, ...rest }: {
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
children: any;
|
|
7
|
+
open: any;
|
|
8
|
+
onCancel: any;
|
|
9
|
+
disableEscKey: any;
|
|
10
|
+
disableClose: any;
|
|
11
|
+
enableBackgroundUI: any;
|
|
12
|
+
timeout: any;
|
|
13
|
+
}): JSX.Element;
|
|
14
|
+
declare namespace Modal {
|
|
15
|
+
namespace propTypes {
|
|
16
|
+
const children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
17
|
+
const onCancel: PropTypes.Requireable<(...args: any[]) => any>;
|
|
18
|
+
const open: PropTypes.Validator<boolean>;
|
|
19
|
+
const enableBackgroundUI: PropTypes.Requireable<boolean>;
|
|
20
|
+
const disableEscKey: PropTypes.Requireable<boolean>;
|
|
21
|
+
const disableClose: PropTypes.Requireable<boolean>;
|
|
22
|
+
const timeout: PropTypes.Requireable<number>;
|
|
23
|
+
}
|
|
24
|
+
namespace defaultProps {
|
|
25
|
+
const onCancel_1: null;
|
|
26
|
+
export { onCancel_1 as onCancel };
|
|
27
|
+
const enableBackgroundUI_1: boolean;
|
|
28
|
+
export { enableBackgroundUI_1 as enableBackgroundUI };
|
|
29
|
+
const disableEscKey_1: boolean;
|
|
30
|
+
export { disableEscKey_1 as disableEscKey };
|
|
31
|
+
const timeout_1: number;
|
|
32
|
+
export { timeout_1 as timeout };
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
import PropTypes from "prop-types";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export default MultiActionButton;
|
|
2
|
+
declare function MultiActionButton({ align, disabled, as, buttonType, size, children, text, subtext, ...rest }: {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
align?: string | undefined;
|
|
5
|
+
disabled: any;
|
|
6
|
+
as: any;
|
|
7
|
+
buttonType: any;
|
|
8
|
+
size: any;
|
|
9
|
+
children: any;
|
|
10
|
+
text: any;
|
|
11
|
+
subtext: any;
|
|
12
|
+
}): JSX.Element;
|
|
13
|
+
declare namespace MultiActionButton {
|
|
14
|
+
const propTypes: {
|
|
15
|
+
/** Button type: "primary" | "secondary" | "tertiary" */
|
|
16
|
+
buttonType: PropTypes.Requireable<string>;
|
|
17
|
+
/** The additional button to display. */
|
|
18
|
+
children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
|
|
19
|
+
/** Second text child, renders under main text, only when size is "large". */
|
|
20
|
+
subtext: PropTypes.Requireable<string>;
|
|
21
|
+
/** Customizes the appearance, can be set to 'primary', 'secondary' or 'transparent'. */
|
|
22
|
+
as: PropTypes.Requireable<string>;
|
|
23
|
+
/** The text to be displayed in the SplitButton. */
|
|
24
|
+
text: PropTypes.Validator<string>;
|
|
25
|
+
/** Gives the button a disabled state. */
|
|
26
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
27
|
+
/** The size of the MultiActionButton. */
|
|
28
|
+
size: PropTypes.Requireable<string>;
|
|
29
|
+
/** A custom value for the data-element attribute. */
|
|
30
|
+
"data-element": PropTypes.Requireable<string>;
|
|
31
|
+
/** A custom value for the data-element attribute. */
|
|
32
|
+
"data-role": PropTypes.Requireable<string>;
|
|
33
|
+
/** Aligns the button's options */
|
|
34
|
+
align: PropTypes.Requireable<string>;
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
import PropTypes from "prop-types";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
export default MultiStepWizard;
|
|
2
|
+
declare class MultiStepWizard extends React.Component<any, any, any> {
|
|
3
|
+
constructor(props: any);
|
|
4
|
+
/**
|
|
5
|
+
* Returns wizard object to child components.
|
|
6
|
+
*
|
|
7
|
+
* @method getChildContext
|
|
8
|
+
* @return {void}
|
|
9
|
+
*/
|
|
10
|
+
getChildContext(): void;
|
|
11
|
+
/**
|
|
12
|
+
* Validate step props
|
|
13
|
+
*
|
|
14
|
+
* @method validateStepProps
|
|
15
|
+
* @return {Object}
|
|
16
|
+
*/
|
|
17
|
+
validateStepProps: (stepProps: any) => Object;
|
|
18
|
+
/**
|
|
19
|
+
* Get total number of steps
|
|
20
|
+
*
|
|
21
|
+
* @method totalSteps
|
|
22
|
+
* @return {Number}
|
|
23
|
+
*/
|
|
24
|
+
get totalSteps(): number;
|
|
25
|
+
/**
|
|
26
|
+
* Moves to the next step.
|
|
27
|
+
*
|
|
28
|
+
* @method next
|
|
29
|
+
* @return {void}
|
|
30
|
+
*/
|
|
31
|
+
next: () => void;
|
|
32
|
+
/**
|
|
33
|
+
* Back to the previous step.
|
|
34
|
+
*
|
|
35
|
+
* @method back
|
|
36
|
+
* @return {void}
|
|
37
|
+
*/
|
|
38
|
+
back: () => void;
|
|
39
|
+
/**
|
|
40
|
+
* Completes the wizard.
|
|
41
|
+
*
|
|
42
|
+
* @method complete
|
|
43
|
+
* @return {void}
|
|
44
|
+
*/
|
|
45
|
+
complete: () => void;
|
|
46
|
+
/**
|
|
47
|
+
* Returns the computed HTML for the wizard's steps.
|
|
48
|
+
*
|
|
49
|
+
* @method wizardStepsHTML
|
|
50
|
+
* @return {Object} JSX
|
|
51
|
+
*/
|
|
52
|
+
get wizardStepsHTML(): Object;
|
|
53
|
+
}
|
|
54
|
+
declare namespace MultiStepWizard {
|
|
55
|
+
namespace propTypes {
|
|
56
|
+
const steps: any[];
|
|
57
|
+
const beforeSubmitValidation: Function;
|
|
58
|
+
const className: string;
|
|
59
|
+
const onSubmit: Function;
|
|
60
|
+
const currentStep: number;
|
|
61
|
+
const enableInactiveSteps: boolean;
|
|
62
|
+
const onNext: PropTypes.Requireable<(...args: any[]) => any>;
|
|
63
|
+
const onBack: PropTypes.Requireable<(...args: any[]) => any>;
|
|
64
|
+
const completed: boolean;
|
|
65
|
+
}
|
|
66
|
+
namespace defaultProps {
|
|
67
|
+
const beforeSubmitValidation_1: null;
|
|
68
|
+
export { beforeSubmitValidation_1 as beforeSubmitValidation };
|
|
69
|
+
const className_1: string;
|
|
70
|
+
export { className_1 as className };
|
|
71
|
+
const completed_1: boolean;
|
|
72
|
+
export { completed_1 as completed };
|
|
73
|
+
const currentStep_1: number;
|
|
74
|
+
export { currentStep_1 as currentStep };
|
|
75
|
+
const enableInactiveSteps_1: boolean;
|
|
76
|
+
export { enableInactiveSteps_1 as enableInactiveSteps };
|
|
77
|
+
const onNext_1: null;
|
|
78
|
+
export { onNext_1 as onNext };
|
|
79
|
+
const onBack_1: null;
|
|
80
|
+
export { onBack_1 as onBack };
|
|
81
|
+
}
|
|
82
|
+
namespace childContextTypes {
|
|
83
|
+
const wizard: Object;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
import React from "react";
|
|
87
|
+
import PropTypes from "prop-types";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
export default Step;
|
|
2
|
+
/**
|
|
3
|
+
* A Step widget.
|
|
4
|
+
* This widget is part of MultiStepWizard and it is a wrapper for a step element that is passed to MultiStepWizard.
|
|
5
|
+
*
|
|
6
|
+
* == How to use a Step Widget in a component:
|
|
7
|
+
* See MultiStepWizard widget
|
|
8
|
+
*
|
|
9
|
+
* @class Step
|
|
10
|
+
* @constructor
|
|
11
|
+
*/
|
|
12
|
+
declare class Step extends React.Component<any, any, any> {
|
|
13
|
+
constructor(props: Readonly<any>);
|
|
14
|
+
constructor(props: any, context?: any);
|
|
15
|
+
/**
|
|
16
|
+
* Completes the step's wizard and triggers the custom submit event handler of the step's wizard
|
|
17
|
+
*
|
|
18
|
+
* @method handleOnSubmit
|
|
19
|
+
* @return {void}
|
|
20
|
+
*/
|
|
21
|
+
handleOnSubmit: (ev: any) => void;
|
|
22
|
+
/**
|
|
23
|
+
* Triggers the custom next event handler of the step's wizard
|
|
24
|
+
*
|
|
25
|
+
* @method handleOnNext
|
|
26
|
+
* @return {void}
|
|
27
|
+
*/
|
|
28
|
+
handleOnNext: (ev: any) => void;
|
|
29
|
+
/**
|
|
30
|
+
* Triggers the custom back event handler of the step's wizard
|
|
31
|
+
*
|
|
32
|
+
* @method handleOnBack
|
|
33
|
+
* @return {void}
|
|
34
|
+
*/
|
|
35
|
+
handleOnBack: (ev: any) => void;
|
|
36
|
+
/**
|
|
37
|
+
* Gets the step's wizard
|
|
38
|
+
*
|
|
39
|
+
* @method wizard
|
|
40
|
+
* @return {Object}
|
|
41
|
+
*/
|
|
42
|
+
get wizard(): Object;
|
|
43
|
+
/**
|
|
44
|
+
* Gets the current step number
|
|
45
|
+
*
|
|
46
|
+
* @method currentStepNumber
|
|
47
|
+
* @return {Number}
|
|
48
|
+
*/
|
|
49
|
+
get currentStepNumber(): number;
|
|
50
|
+
/**
|
|
51
|
+
* Checks if the step is the first step
|
|
52
|
+
*
|
|
53
|
+
* @method isFirstStep
|
|
54
|
+
* @return {Boolean}
|
|
55
|
+
*/
|
|
56
|
+
get isFirstStep(): boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Checks if the step is the last step
|
|
59
|
+
*
|
|
60
|
+
* @method isLastStep
|
|
61
|
+
* @return {Boolean}
|
|
62
|
+
*/
|
|
63
|
+
get isLastStep(): boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Checks if step component should be disabled.
|
|
66
|
+
*
|
|
67
|
+
* @method stepDisabled
|
|
68
|
+
* @return {Boolean}
|
|
69
|
+
*/
|
|
70
|
+
get stepDisabled(): boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Checks if step has been processed.
|
|
73
|
+
*
|
|
74
|
+
* @method stepProcessed
|
|
75
|
+
* @return {Boolean}
|
|
76
|
+
*/
|
|
77
|
+
get stepProcessed(): boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Checks if all steps are completed
|
|
80
|
+
*
|
|
81
|
+
* @method stepsCompleted
|
|
82
|
+
* @return {Boolean}
|
|
83
|
+
*/
|
|
84
|
+
get stepsCompleted(): boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Returns the computed HTML for the step.
|
|
87
|
+
*
|
|
88
|
+
* @method stepHTML
|
|
89
|
+
* @return {Object} JSX
|
|
90
|
+
*/
|
|
91
|
+
get stepHTML(): Object;
|
|
92
|
+
/**
|
|
93
|
+
* Returns the computed HTML for the buttons.
|
|
94
|
+
*
|
|
95
|
+
* @method buttonHTML
|
|
96
|
+
* @return {Object} JSX
|
|
97
|
+
*/
|
|
98
|
+
get buttonHTML(): Object;
|
|
99
|
+
/**
|
|
100
|
+
* Returns the computed HTML for the step indicator.
|
|
101
|
+
*
|
|
102
|
+
* @method indicatorHTML
|
|
103
|
+
* @return {Object} JSX
|
|
104
|
+
*/
|
|
105
|
+
get indicatorHTML(): Object;
|
|
106
|
+
/**
|
|
107
|
+
* Returns the step indicator status.
|
|
108
|
+
*
|
|
109
|
+
* @method indicatorStatus
|
|
110
|
+
* @return {Boolean}
|
|
111
|
+
*/
|
|
112
|
+
get indicatorStatus(): boolean;
|
|
113
|
+
/**
|
|
114
|
+
* Returns the computed HTML for the extra buttons.
|
|
115
|
+
*
|
|
116
|
+
* @method extraButtonHTML
|
|
117
|
+
* @return {Object} JSX
|
|
118
|
+
*/
|
|
119
|
+
get extraButtonHTML(): Object;
|
|
120
|
+
/**
|
|
121
|
+
* Main class getter
|
|
122
|
+
*
|
|
123
|
+
* @method mainClasses
|
|
124
|
+
* @return {String}
|
|
125
|
+
*/
|
|
126
|
+
get mainClasses(): string;
|
|
127
|
+
}
|
|
128
|
+
declare namespace Step {
|
|
129
|
+
namespace propTypes {
|
|
130
|
+
const stepNumber: number;
|
|
131
|
+
const defaultButton: boolean;
|
|
132
|
+
const onNext: Function;
|
|
133
|
+
const onBack: Function;
|
|
134
|
+
const extraButtons: any[];
|
|
135
|
+
const enabled: boolean;
|
|
136
|
+
const className: string;
|
|
137
|
+
const children: Node;
|
|
138
|
+
}
|
|
139
|
+
namespace defaultProps {
|
|
140
|
+
const children_1: null;
|
|
141
|
+
export { children_1 as children };
|
|
142
|
+
const className_1: string;
|
|
143
|
+
export { className_1 as className };
|
|
144
|
+
const defaultButton_1: boolean;
|
|
145
|
+
export { defaultButton_1 as defaultButton };
|
|
146
|
+
const enabled_1: boolean;
|
|
147
|
+
export { enabled_1 as enabled };
|
|
148
|
+
const extraButtons_1: never[];
|
|
149
|
+
export { extraButtons_1 as extraButtons };
|
|
150
|
+
const onBack_1: null;
|
|
151
|
+
export { onBack_1 as onBack };
|
|
152
|
+
const onNext_1: null;
|
|
153
|
+
export { onNext_1 as onNext };
|
|
154
|
+
}
|
|
155
|
+
namespace contextTypes {
|
|
156
|
+
const wizard: PropTypes.Requireable<object>;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
import React from "react";
|
|
160
|
+
import PropTypes from "prop-types";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export const StyledStep: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export const StyledStepContent: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export const StyledStepButton: import("styled-components").StyledComponent<typeof Button, any, {}, never>;
|
|
4
|
+
export const StyledStepIndicatorBar: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
export const StyledStepIndicatorBackground: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
+
export const StyledStepIndicatorIconContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
|
+
export const StepIndicatorIconPlaceholder: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
|
+
export const StepIndicatorIconContent: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
9
|
+
export const StyledStepIndicatorIcon: import("styled-components").StyledComponent<typeof Icon, any, {}, never>;
|
|
10
|
+
import Button from "../../button";
|
|
11
|
+
import Icon from "../../icon";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export default NavigationBar;
|
|
2
|
+
declare function NavigationBar({ navigationType, isLoading, children, ariaLabel, stickyOffset, stickyPosition, ...props }: {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
navigationType?: string | undefined;
|
|
5
|
+
isLoading?: boolean | undefined;
|
|
6
|
+
children: any;
|
|
7
|
+
ariaLabel: any;
|
|
8
|
+
stickyOffset?: string | undefined;
|
|
9
|
+
stickyPosition: any;
|
|
10
|
+
}): JSX.Element;
|
|
11
|
+
declare namespace NavigationBar {
|
|
12
|
+
const propTypes: any;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./status.component";
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export default Note;
|
|
2
|
+
declare function Note({ noteContent, width, inlineControl, title, name, createdDate, status, previews, onLinkAdded, ...rest }: {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
noteContent: any;
|
|
5
|
+
width?: number | undefined;
|
|
6
|
+
inlineControl: any;
|
|
7
|
+
title: any;
|
|
8
|
+
name: any;
|
|
9
|
+
createdDate: any;
|
|
10
|
+
status: any;
|
|
11
|
+
previews: any;
|
|
12
|
+
onLinkAdded: any;
|
|
13
|
+
}): JSX.Element;
|
|
14
|
+
declare namespace Note {
|
|
15
|
+
namespace propTypes {
|
|
16
|
+
const noteContent: PropTypes.Validator<object>;
|
|
17
|
+
const width: PropTypes.Requireable<number>;
|
|
18
|
+
const inlineControl: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
19
|
+
const title: PropTypes.Requireable<string>;
|
|
20
|
+
const name: PropTypes.Requireable<string>;
|
|
21
|
+
const createdDate: PropTypes.Validator<string>;
|
|
22
|
+
const status: PropTypes.Requireable<PropTypes.InferProps<{
|
|
23
|
+
text: PropTypes.Validator<string>;
|
|
24
|
+
timeStamp: PropTypes.Validator<string>;
|
|
25
|
+
}>>;
|
|
26
|
+
const previews: PropTypes.Requireable<PropTypes.ReactNodeLike[]>;
|
|
27
|
+
const onLinkAdded: PropTypes.Requireable<(...args: any[]) => any>;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
import PropTypes from "prop-types";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export const StyledNote: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export const StyledNoteContent: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export const StyledInlineControl: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export const StyledTitle: import("styled-components").StyledComponent<"header", any, {}, never>;
|
|
5
|
+
export const StyledFooter: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
+
export const StyledFooterContent: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
export default NumeralDate;
|
|
2
|
+
declare function NumeralDate({ dateFormat, defaultValue, disabled, error, warning, "data-component": dataComponent, "data-element": dataElement, "data-role": dataRole, info, id, name, onBlur, onChange, value, validationOnLabel, label, labelInline, labelWidth, labelAlign, labelHelp, labelSpacing, fieldHelp, adaptiveLabelBreakpoint, required, readOnly, size, enableInternalError, enableInternalWarning, tooltipPosition, helpAriaLabel, ...rest }: {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
dateFormat?: string[] | undefined;
|
|
5
|
+
defaultValue: any;
|
|
6
|
+
disabled: any;
|
|
7
|
+
error?: string | undefined;
|
|
8
|
+
warning?: string | undefined;
|
|
9
|
+
"data-component": any;
|
|
10
|
+
"data-element": any;
|
|
11
|
+
"data-role": any;
|
|
12
|
+
info: any;
|
|
13
|
+
id: any;
|
|
14
|
+
name: any;
|
|
15
|
+
onBlur: any;
|
|
16
|
+
onChange: any;
|
|
17
|
+
value: any;
|
|
18
|
+
validationOnLabel?: boolean | undefined;
|
|
19
|
+
label: any;
|
|
20
|
+
labelInline: any;
|
|
21
|
+
labelWidth: any;
|
|
22
|
+
labelAlign: any;
|
|
23
|
+
labelHelp: any;
|
|
24
|
+
labelSpacing: any;
|
|
25
|
+
fieldHelp: any;
|
|
26
|
+
adaptiveLabelBreakpoint: any;
|
|
27
|
+
required: any;
|
|
28
|
+
readOnly: any;
|
|
29
|
+
size: any;
|
|
30
|
+
enableInternalError: any;
|
|
31
|
+
enableInternalWarning: any;
|
|
32
|
+
tooltipPosition: any;
|
|
33
|
+
helpAriaLabel: any;
|
|
34
|
+
}): JSX.Element;
|
|
35
|
+
declare namespace NumeralDate {
|
|
36
|
+
const propTypes: {
|
|
37
|
+
/** Identifier used for testing purposes, applied to the root element of the component. */
|
|
38
|
+
"data-component": PropTypes.Requireable<string>;
|
|
39
|
+
/** Identifier used for testing purposes, applied to the root element of the component. */
|
|
40
|
+
"data-element": PropTypes.Requireable<string>;
|
|
41
|
+
/** Identifier used for testing purposes, applied to the root element of the component. */
|
|
42
|
+
"data-role": PropTypes.Requireable<string>;
|
|
43
|
+
/** If true, the component will be disabled */
|
|
44
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
45
|
+
/** If true, the component will be read-only */
|
|
46
|
+
readOnly: PropTypes.Requireable<boolean>;
|
|
47
|
+
/** Array of strings to define custom input layout.
|
|
48
|
+
Allowed formats:
|
|
49
|
+
['dd', 'mm', 'yyyy'],
|
|
50
|
+
['mm', 'dd', 'yyyy'],
|
|
51
|
+
['dd', 'mm'],
|
|
52
|
+
['mm', 'dd'],
|
|
53
|
+
['mm', 'yyyy'] */
|
|
54
|
+
dateFormat: (props: any, propName: any, componentName: any) => Error | null;
|
|
55
|
+
/** Default value for use in uncontrolled mode */
|
|
56
|
+
defaultValue: PropTypes.Requireable<object>;
|
|
57
|
+
/** Value for use in controlled mode */
|
|
58
|
+
value: PropTypes.Requireable<object>;
|
|
59
|
+
/** Indicate that error has occurred
|
|
60
|
+
Pass string to display icon, tooltip and red border
|
|
61
|
+
Pass true boolean to only display red border */
|
|
62
|
+
error: PropTypes.Requireable<string | boolean>;
|
|
63
|
+
/** Indicate that warning has occurred
|
|
64
|
+
Pass string to display icon, tooltip and orange border
|
|
65
|
+
Pass true boolean to only display orange border */
|
|
66
|
+
warning: PropTypes.Requireable<string | boolean>;
|
|
67
|
+
/** Indicate additional information
|
|
68
|
+
Pass string to display icon, tooltip and blue border
|
|
69
|
+
Pass true boolean to only display blue border */
|
|
70
|
+
info: PropTypes.Requireable<string | boolean>;
|
|
71
|
+
/** Blur event handler */
|
|
72
|
+
onBlur: PropTypes.Requireable<(...args: any[]) => any>;
|
|
73
|
+
/** Change event handler */
|
|
74
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
75
|
+
/** `id` for events */
|
|
76
|
+
id: PropTypes.Requireable<string>;
|
|
77
|
+
/** `name` for events */
|
|
78
|
+
name: PropTypes.Requireable<string>;
|
|
79
|
+
/** When true, validation icon will be placed on label instead of being placed on the input */
|
|
80
|
+
validationOnLabel: PropTypes.Requireable<boolean>;
|
|
81
|
+
/** When true, enables the internal errors to be displayed */
|
|
82
|
+
enableInternalError: PropTypes.Requireable<boolean>;
|
|
83
|
+
/** When true, enables the internal warnings to be displayed */
|
|
84
|
+
enableInternalWarning: PropTypes.Requireable<boolean>;
|
|
85
|
+
/** Label */
|
|
86
|
+
label: PropTypes.Requireable<string>;
|
|
87
|
+
/** Text applied to label help tooltip */
|
|
88
|
+
labelHelp: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
89
|
+
/** When true, label is placed in line with an input */
|
|
90
|
+
labelInline: PropTypes.Requireable<boolean>;
|
|
91
|
+
/** Label alignment. Works only when labelInline is true */
|
|
92
|
+
labelAlign: PropTypes.Requireable<string>;
|
|
93
|
+
/** Width of a label in percentage. Works only when labelInline is true */
|
|
94
|
+
labelWidth: PropTypes.Requireable<number>;
|
|
95
|
+
/** Spacing between label and a field for inline label, given number will be multiplied by base spacing unit (8) */
|
|
96
|
+
labelSpacing: PropTypes.Requireable<number>;
|
|
97
|
+
/** Help content to be displayed under an input */
|
|
98
|
+
fieldHelp: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
99
|
+
/** Breakpoint for adaptive label (inline labels change to top aligned). Enables the adaptive behaviour when set */
|
|
100
|
+
adaptiveLabelBreakpoint: PropTypes.Requireable<number>;
|
|
101
|
+
/** Flag to configure component as mandatory */
|
|
102
|
+
required: PropTypes.Requireable<boolean>;
|
|
103
|
+
/** Size of an input */
|
|
104
|
+
size: PropTypes.Requireable<string>;
|
|
105
|
+
/** Overrides the default tooltip position */
|
|
106
|
+
tooltipPosition: PropTypes.Requireable<string>;
|
|
107
|
+
/** Aria label for rendered help component */
|
|
108
|
+
helpAriaLabel: PropTypes.Requireable<string>;
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
import PropTypes from "prop-types";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export default PagerNavigationLink;
|
|
2
|
+
declare function PagerNavigationLink({ type, currentPage, pageCount, pageSize, onClick, onPagination, }: {
|
|
3
|
+
type: any;
|
|
4
|
+
currentPage: any;
|
|
5
|
+
pageCount: any;
|
|
6
|
+
pageSize: any;
|
|
7
|
+
onClick: any;
|
|
8
|
+
onPagination: any;
|
|
9
|
+
}): JSX.Element;
|
|
10
|
+
declare namespace PagerNavigationLink {
|
|
11
|
+
namespace propTypes {
|
|
12
|
+
const type: PropTypes.Validator<string>;
|
|
13
|
+
const currentPage: PropTypes.Validator<string | number>;
|
|
14
|
+
const pageCount: PropTypes.Validator<string | number>;
|
|
15
|
+
const pageSize: PropTypes.Validator<string | number>;
|
|
16
|
+
const onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
17
|
+
const onPagination: PropTypes.Requireable<(...args: any[]) => any>;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
import PropTypes from "prop-types";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export default PagerNavigation;
|
|
2
|
+
declare function PagerNavigation({ pageSize, currentPage, setCurrentPage, onNext, onPrevious, onFirst, onLast, onPagination, pageCount, showFirstAndLastButtons, showPreviousAndNextButtons, showPageCount, }: {
|
|
3
|
+
pageSize: any;
|
|
4
|
+
currentPage: any;
|
|
5
|
+
setCurrentPage: any;
|
|
6
|
+
onNext: any;
|
|
7
|
+
onPrevious: any;
|
|
8
|
+
onFirst: any;
|
|
9
|
+
onLast: any;
|
|
10
|
+
onPagination: any;
|
|
11
|
+
pageCount: any;
|
|
12
|
+
showFirstAndLastButtons?: boolean | undefined;
|
|
13
|
+
showPreviousAndNextButtons?: boolean | undefined;
|
|
14
|
+
showPageCount?: boolean | undefined;
|
|
15
|
+
}): JSX.Element;
|
|
16
|
+
declare namespace PagerNavigation {
|
|
17
|
+
namespace propTypes {
|
|
18
|
+
const currentPage: PropTypes.Validator<string | number>;
|
|
19
|
+
const pageSize: PropTypes.Requireable<string | number>;
|
|
20
|
+
const pageCount: PropTypes.Requireable<string | number>;
|
|
21
|
+
const setCurrentPage: PropTypes.Requireable<(...args: any[]) => any>;
|
|
22
|
+
const onFirst: PropTypes.Requireable<(...args: any[]) => any>;
|
|
23
|
+
const onPrevious: PropTypes.Requireable<(...args: any[]) => any>;
|
|
24
|
+
const onNext: PropTypes.Requireable<(...args: any[]) => any>;
|
|
25
|
+
const onLast: PropTypes.Requireable<(...args: any[]) => any>;
|
|
26
|
+
const onPagination: PropTypes.Requireable<(...args: any[]) => any>;
|
|
27
|
+
const showFirstAndLastButtons: PropTypes.Requireable<boolean>;
|
|
28
|
+
const showPreviousAndNextButtons: PropTypes.Requireable<boolean>;
|
|
29
|
+
const showPageCount: PropTypes.Requireable<boolean>;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
import PropTypes from "prop-types";
|