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,22 @@
|
|
|
1
|
+
export default Popover;
|
|
2
|
+
declare function Popover({ children, placement, disablePortal, reference, onFirstUpdate, modifiers, }: {
|
|
3
|
+
children: any;
|
|
4
|
+
placement: any;
|
|
5
|
+
disablePortal: any;
|
|
6
|
+
reference: any;
|
|
7
|
+
onFirstUpdate: any;
|
|
8
|
+
modifiers: any;
|
|
9
|
+
}): any;
|
|
10
|
+
declare namespace Popover {
|
|
11
|
+
namespace propTypes {
|
|
12
|
+
const children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
|
|
13
|
+
const placement: PropTypes.Requireable<string>;
|
|
14
|
+
const modifiers: PropTypes.Requireable<any[]>;
|
|
15
|
+
const onFirstUpdate: PropTypes.Requireable<(...args: any[]) => any>;
|
|
16
|
+
const disablePortal: PropTypes.Requireable<boolean>;
|
|
17
|
+
const reference: PropTypes.Requireable<PropTypes.InferProps<{
|
|
18
|
+
current: PropTypes.Requireable<any>;
|
|
19
|
+
}>>;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
import PropTypes from "prop-types";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./sticky-footer.component";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export default StickyFooter;
|
|
2
|
+
declare function StickyFooter({ children, containerRef, disableSticky, ...rest }: {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
children: any;
|
|
5
|
+
containerRef: any;
|
|
6
|
+
disableSticky: any;
|
|
7
|
+
}): JSX.Element;
|
|
8
|
+
declare namespace StickyFooter {
|
|
9
|
+
namespace propTypes {
|
|
10
|
+
const children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
|
|
11
|
+
const containerRef: PropTypes.Validator<any>;
|
|
12
|
+
const disableSticky: PropTypes.Requireable<boolean>;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
import PropTypes from "prop-types";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ether
|
|
3
|
+
*
|
|
4
|
+
* Ether provides functional-like helper methods for Carbon specific tasks.
|
|
5
|
+
* As we are dealing with stateful values (user input, browser state) Ether
|
|
6
|
+
* does not provide pure functions in all cases.
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Returns the props that were passed to a component but excludes the props listed in propTypes
|
|
10
|
+
*
|
|
11
|
+
* Optionally includes the safeProps which can be defined as a static property on a Class or passed as the second
|
|
12
|
+
* argument.
|
|
13
|
+
*
|
|
14
|
+
* @method validProps
|
|
15
|
+
* @param {Object} instance
|
|
16
|
+
* @param {Array?} safeProps
|
|
17
|
+
* @return {Object} props
|
|
18
|
+
*/
|
|
19
|
+
export function validProps(instance: Object, safeProps: any[] | null): Object;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./ether";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export default Browser;
|
|
2
|
+
declare namespace Browser {
|
|
3
|
+
function isDomAvailable(): boolean;
|
|
4
|
+
function getWindow(): any;
|
|
5
|
+
function getDocument(): Document;
|
|
6
|
+
function getActiveElement(): Element | null;
|
|
7
|
+
function redirectTo(url: any): void;
|
|
8
|
+
function redirectAfter(url: any, seconds: any): NodeJS.Timeout;
|
|
9
|
+
function reload(): void;
|
|
10
|
+
function editFocus(ref: any): void;
|
|
11
|
+
function setFocus(reactNode: any): void;
|
|
12
|
+
function setInputFocus(inputComponent: any): void;
|
|
13
|
+
function setCookie(name: any, value: any, options?: Object): void;
|
|
14
|
+
function getCookie(name: string): string | null;
|
|
15
|
+
function postToNewWindow(url: string, data: Object, target?: Object): void;
|
|
16
|
+
function submitForm(form: any): void;
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./browser";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, isSafari, isEdge } from "./browser-type-check";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export default Events;
|
|
2
|
+
declare namespace Events {
|
|
3
|
+
function isEventType(ev: Event, type: Type): boolean;
|
|
4
|
+
function isNavigationKeyup(ev: Event): boolean;
|
|
5
|
+
function isEnterKeyup(ev: Event): boolean;
|
|
6
|
+
function isValidKeypress(ev: Event): boolean;
|
|
7
|
+
function isNumberKey(ev: Event): boolean;
|
|
8
|
+
function isNumpadKey(ev: Event): boolean;
|
|
9
|
+
function isAlphabetKey(ev: Event): boolean;
|
|
10
|
+
function isSymbolKey(ev: Event): boolean;
|
|
11
|
+
function isNavigationKey(ev: Event): boolean;
|
|
12
|
+
function isLeftKey(ev: Event): boolean;
|
|
13
|
+
function isUpKey(ev: Event): boolean;
|
|
14
|
+
function isRightKey(ev: Event): boolean;
|
|
15
|
+
function isDownKey(ev: Event): boolean;
|
|
16
|
+
function isMetaKey(ev: Event): boolean;
|
|
17
|
+
function isEscKey(ev: Event): boolean;
|
|
18
|
+
function isEnterKey(ev: Event): boolean;
|
|
19
|
+
function isTabKey(ev: Event): boolean;
|
|
20
|
+
function isBackspaceKey(ev: Event): boolean;
|
|
21
|
+
function isDeleteKey(ev: Event): boolean;
|
|
22
|
+
function isDeletingKey(ev: Event): boolean;
|
|
23
|
+
function isShiftKey(ev: Event): boolean;
|
|
24
|
+
function isSpaceKey(ev: Event): boolean;
|
|
25
|
+
function isEnterOrSpaceKey(ev: Event): boolean;
|
|
26
|
+
function isPeriodKey(ev: Event): boolean;
|
|
27
|
+
function isCommaKey(ev: Event): boolean;
|
|
28
|
+
function isMinusKey(ev: Event): boolean;
|
|
29
|
+
function isHomeKey(ev: Event): boolean;
|
|
30
|
+
function isEndKey(ev: Event): boolean;
|
|
31
|
+
function composedPath(ev: Event): EventTarget[];
|
|
32
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./events";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./tags";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { elementsTagTest, rootTagTest } from "./tags-specs";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export default tagComponent;
|
|
2
|
+
/**
|
|
3
|
+
* Builds props object containing top level data tags
|
|
4
|
+
*
|
|
5
|
+
* @param {String} name of component
|
|
6
|
+
* @param {Object} component props
|
|
7
|
+
* @return {Object} dataTagProps
|
|
8
|
+
*/
|
|
9
|
+
declare function tagComponent(component: Object, props: any): Object;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./with-unique-id-props.hoc";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./logger";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export default Logger;
|
|
2
|
+
declare namespace Logger {
|
|
3
|
+
function setEnabledState(newState: any): void;
|
|
4
|
+
function error(message: any, opts: any): void;
|
|
5
|
+
function info(message: any, opts: any): void;
|
|
6
|
+
function log(message: any, opts: any): void;
|
|
7
|
+
function warn(message: any, opts: any): void;
|
|
8
|
+
function deprecate(message: any, opts: any): void;
|
|
9
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export default ValidationIcon;
|
|
2
|
+
declare function ValidationIcon({ error, warning, info, size, onFocus, onBlur, iconId, tooltipId, isPartOfInput, tabIndex, onClick, tooltipPosition, tooltipFlipOverrides, ...rest }: {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
error: any;
|
|
5
|
+
warning: any;
|
|
6
|
+
info: any;
|
|
7
|
+
size: any;
|
|
8
|
+
onFocus: any;
|
|
9
|
+
onBlur: any;
|
|
10
|
+
iconId: any;
|
|
11
|
+
tooltipId: any;
|
|
12
|
+
isPartOfInput: any;
|
|
13
|
+
tabIndex: any;
|
|
14
|
+
onClick: any;
|
|
15
|
+
tooltipPosition: any;
|
|
16
|
+
tooltipFlipOverrides: any;
|
|
17
|
+
}): JSX.Element | null;
|
|
18
|
+
declare namespace ValidationIcon {
|
|
19
|
+
namespace propTypes {
|
|
20
|
+
const size: PropTypes.Requireable<string>;
|
|
21
|
+
const iconId: PropTypes.Requireable<string>;
|
|
22
|
+
const tooltipPosition: PropTypes.Requireable<string>;
|
|
23
|
+
function tooltipFlipOverrides(props: any, propName: any, componentName: any): Error | null;
|
|
24
|
+
const tooltipId: PropTypes.Requireable<string>;
|
|
25
|
+
const onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
26
|
+
const onFocus: PropTypes.Requireable<(...args: any[]) => any>;
|
|
27
|
+
const onBlur: PropTypes.Requireable<(...args: any[]) => any>;
|
|
28
|
+
const isPartOfInput: PropTypes.Requireable<boolean>;
|
|
29
|
+
const tabIndex: PropTypes.Requireable<number>;
|
|
30
|
+
const error: PropTypes.Requireable<string | boolean>;
|
|
31
|
+
const warning: PropTypes.Requireable<string | boolean>;
|
|
32
|
+
const info: PropTypes.Requireable<string | boolean>;
|
|
33
|
+
}
|
|
34
|
+
namespace defaultProps {
|
|
35
|
+
const tooltipPosition_1: string;
|
|
36
|
+
export { tooltipPosition_1 as tooltipPosition };
|
|
37
|
+
const tabIndex_1: number;
|
|
38
|
+
export { tabIndex_1 as tabIndex };
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
import PropTypes from "prop-types";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export function assertStyleMatch(styleSpec: any, component: any, opts: any): void;
|
|
2
|
+
export function toCSSCase(str: any): any;
|
|
3
|
+
export function hoverList(wrapper: any): (item: any) => void;
|
|
4
|
+
export function selectedItemOf(wrapper: any): any;
|
|
5
|
+
export function childrenFrom(node: any): any;
|
|
6
|
+
export function makeArrayKeys(n: any): number[];
|
|
7
|
+
export const keyboard: {};
|
|
8
|
+
export function assertKeyboardTraversal({ num, nonSelectables, }: {
|
|
9
|
+
num: any;
|
|
10
|
+
nonSelectables?: any[] | undefined;
|
|
11
|
+
}): (wrapper: any) => void;
|
|
12
|
+
export function assertHoverTraversal({ num, nonSelectables, }: {
|
|
13
|
+
num: any;
|
|
14
|
+
nonSelectables?: any[] | undefined;
|
|
15
|
+
}): (wrapper: any) => void;
|
|
16
|
+
export function listFrom(wrapper: any): any;
|
|
17
|
+
export function click(wrapper: any): any;
|
|
18
|
+
export namespace simulate {
|
|
19
|
+
export { keydown };
|
|
20
|
+
}
|
|
21
|
+
export const carbonThemesJestTable: (string | import("../style/themes/base").ThemeObject)[][];
|
|
22
|
+
import { mockMatchMedia } from "./mock-match-media";
|
|
23
|
+
export function testStyledSystemSpacing(component: any, defaults: any, styleContainer: any, assertOpts: any): void;
|
|
24
|
+
export function testStyledSystemMargin(component: any, defaults: any, styleContainer: any, assertOpts: any): void;
|
|
25
|
+
export function testStyledSystemPadding(component: any, defaults: any, styleContainer: any, assertOpts: any): void;
|
|
26
|
+
export function testStyledSystemColor(component: any, styleContainer: any): void;
|
|
27
|
+
export function testStyledSystemWidth(component: any, styleContainer: any): void;
|
|
28
|
+
export function testStyledSystemLayout(component: any, styleContainer: any): void;
|
|
29
|
+
export function testStyledSystemFlexBox(component: any, styleContainer: any): void;
|
|
30
|
+
export function testStyledSystemBackground(component: any, styleContainer: any): void;
|
|
31
|
+
export function expectError(errorMessage: any): () => void;
|
|
32
|
+
declare const keydown: {};
|
|
33
|
+
export { mockMatchMedia };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default AccordionGroup;
|
|
2
|
+
declare function AccordionGroup({ children, ...rest }: {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
children: any;
|
|
5
|
+
}): JSX.Element;
|
|
6
|
+
declare namespace AccordionGroup {
|
|
7
|
+
namespace propTypes {
|
|
8
|
+
function children(props: any, propName: any, componentName: any): undefined;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export const StyledAccordionGroup: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export const StyledAccordionContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export const StyledAccordionHeadingsContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export const StyledAccordionSubTitle: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
5
|
+
export const StyledAccordionTitleContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
+
export const StyledAccordionTitle: import("styled-components").StyledComponent<"h3", any, {}, never>;
|
|
7
|
+
export const StyledAccordionIcon: import("styled-components").StyledComponent<typeof Icon, any, {}, never>;
|
|
8
|
+
export const StyledAccordionContent: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
9
|
+
export const StyledAccordionContentContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
10
|
+
import Icon from "../icon";
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export default ActionPopoverItem;
|
|
2
|
+
export function MenuItem({ children, icon, disabled, onClick: onClickProp, submenu, theme, placement, focusItem, download, href, horizontalAlignment, ...rest }: {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
children: any;
|
|
5
|
+
icon: any;
|
|
6
|
+
disabled?: boolean | undefined;
|
|
7
|
+
onClick: any;
|
|
8
|
+
submenu: any;
|
|
9
|
+
theme: any;
|
|
10
|
+
placement?: string | undefined;
|
|
11
|
+
focusItem: any;
|
|
12
|
+
download: any;
|
|
13
|
+
href: any;
|
|
14
|
+
horizontalAlignment: any;
|
|
15
|
+
}): JSX.Element;
|
|
16
|
+
export namespace MenuItem {
|
|
17
|
+
namespace propTypes {
|
|
18
|
+
const children: PropTypes.Validator<string>;
|
|
19
|
+
const disabled: PropTypes.Requireable<boolean>;
|
|
20
|
+
const icon: PropTypes.Requireable<string>;
|
|
21
|
+
const onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
22
|
+
const download: PropTypes.Requireable<boolean>;
|
|
23
|
+
const href: PropTypes.Requireable<string>;
|
|
24
|
+
/** Submenu component for item */
|
|
25
|
+
function submenu(props: any, propName: any, componentName: any): Error | undefined;
|
|
26
|
+
/** Submenu component for item */
|
|
27
|
+
function submenu(props: any, propName: any, componentName: any): Error | undefined;
|
|
28
|
+
const placement: PropTypes.Requireable<string>;
|
|
29
|
+
const focusItem: PropTypes.Requireable<boolean>;
|
|
30
|
+
const horizontalAlignment: PropTypes.Requireable<string>;
|
|
31
|
+
}
|
|
32
|
+
const displayName: string;
|
|
33
|
+
}
|
|
34
|
+
declare const ActionPopoverItem: React.ForwardRefExoticComponent<{
|
|
35
|
+
[x: string]: any;
|
|
36
|
+
[x: number]: any;
|
|
37
|
+
[x: symbol]: any;
|
|
38
|
+
} & {
|
|
39
|
+
theme?: any;
|
|
40
|
+
}>;
|
|
41
|
+
import PropTypes from "prop-types";
|
|
42
|
+
import React from "react";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export default ActionPopoverMenuButton;
|
|
2
|
+
declare function ActionPopoverMenuButton({ buttonType, iconType, iconPosition, size, children, ...props }: {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
buttonType: any;
|
|
5
|
+
iconType: any;
|
|
6
|
+
iconPosition: any;
|
|
7
|
+
size: any;
|
|
8
|
+
children: any;
|
|
9
|
+
}): JSX.Element;
|
|
10
|
+
declare namespace ActionPopoverMenuButton {
|
|
11
|
+
namespace propTypes {
|
|
12
|
+
const buttonType: PropTypes.Requireable<string>;
|
|
13
|
+
const iconType: PropTypes.Requireable<string>;
|
|
14
|
+
const iconPosition: PropTypes.Requireable<string>;
|
|
15
|
+
const size: PropTypes.Requireable<string>;
|
|
16
|
+
const children: PropTypes.Requireable<string>;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
import PropTypes from "prop-types";
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export default ActionPopover;
|
|
2
|
+
declare function ActionPopover({ children, id, onOpen, onClose, rightAlignMenu, renderButton, placement, horizontalAlignment, ...rest }: {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
children: any;
|
|
5
|
+
id: any;
|
|
6
|
+
onOpen: any;
|
|
7
|
+
onClose: any;
|
|
8
|
+
rightAlignMenu: any;
|
|
9
|
+
renderButton: any;
|
|
10
|
+
placement?: string | undefined;
|
|
11
|
+
horizontalAlignment: any;
|
|
12
|
+
}): JSX.Element;
|
|
13
|
+
declare namespace ActionPopover {
|
|
14
|
+
namespace propTypes {
|
|
15
|
+
const id: PropTypes.Requireable<string>;
|
|
16
|
+
const onOpen: PropTypes.Requireable<(...args: any[]) => any>;
|
|
17
|
+
const onClose: PropTypes.Requireable<(...args: any[]) => any>;
|
|
18
|
+
const rightAlignMenu: PropTypes.Requireable<boolean>;
|
|
19
|
+
/** Children for popover component */
|
|
20
|
+
function children(props: any, propName: any, componentName: any): undefined;
|
|
21
|
+
/** Children for popover component */
|
|
22
|
+
function children(props: any, propName: any, componentName: any): undefined;
|
|
23
|
+
const renderButton: PropTypes.Requireable<(...args: any[]) => any>;
|
|
24
|
+
const horizontalAlignment: PropTypes.Requireable<string>;
|
|
25
|
+
const placement: PropTypes.Requireable<string>;
|
|
26
|
+
}
|
|
27
|
+
namespace defaultProps {
|
|
28
|
+
const id_1: null;
|
|
29
|
+
export { id_1 as id };
|
|
30
|
+
export { onOpen };
|
|
31
|
+
export { onClose };
|
|
32
|
+
const horizontalAlignment_1: string;
|
|
33
|
+
export { horizontalAlignment_1 as horizontalAlignment };
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
import PropTypes from "prop-types";
|
|
37
|
+
declare function onOpen_1(): void;
|
|
38
|
+
declare function onClose_1(): void;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export const Menu: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export function MenuItemFactory(button: any): import("styled-components").StyledComponent<any, any, object, string | number | symbol>;
|
|
3
|
+
export const MenuButton: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export const ButtonIcon: React.ForwardRefExoticComponent<{
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
[x: number]: any;
|
|
7
|
+
[x: symbol]: any;
|
|
8
|
+
} & {
|
|
9
|
+
theme?: any;
|
|
10
|
+
}>;
|
|
11
|
+
export const StyledButtonIcon: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
12
|
+
export const MenuItemIcon: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<{
|
|
13
|
+
[x: string]: any;
|
|
14
|
+
[x: number]: any;
|
|
15
|
+
[x: symbol]: any;
|
|
16
|
+
} & {
|
|
17
|
+
theme?: any;
|
|
18
|
+
}>, any, {}, never>;
|
|
19
|
+
export const MenuItemDivider: import("styled-components").StyledComponent<"div", any, {
|
|
20
|
+
"data-element": string;
|
|
21
|
+
}, "data-element">;
|
|
22
|
+
export const SubMenuItemIcon: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<{
|
|
23
|
+
[x: string]: any;
|
|
24
|
+
[x: number]: any;
|
|
25
|
+
[x: symbol]: any;
|
|
26
|
+
} & {
|
|
27
|
+
theme?: any;
|
|
28
|
+
}>, any, {}, never>;
|
|
29
|
+
export const MenuButtonOverrideWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
30
|
+
export const StyledMenuItem: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
31
|
+
import React from "react";
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export default AdvancedColorPicker;
|
|
2
|
+
declare function AdvancedColorPicker({ "aria-describedby": ariaDescribedBy, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, name, open, onOpen, onClose, onChange, onBlur, availableColors, defaultColor, selectedColor, role, ...props }: {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
"aria-describedby": any;
|
|
5
|
+
"aria-label": any;
|
|
6
|
+
"aria-labelledby": any;
|
|
7
|
+
name: any;
|
|
8
|
+
open: any;
|
|
9
|
+
onOpen: any;
|
|
10
|
+
onClose: any;
|
|
11
|
+
onChange: any;
|
|
12
|
+
onBlur: any;
|
|
13
|
+
availableColors: any;
|
|
14
|
+
defaultColor: any;
|
|
15
|
+
selectedColor: any;
|
|
16
|
+
role: any;
|
|
17
|
+
}): JSX.Element;
|
|
18
|
+
declare namespace AdvancedColorPicker {
|
|
19
|
+
const propTypes: {
|
|
20
|
+
/** Prop to specify the aria-describedby property of the component */
|
|
21
|
+
"aria-describedby": PropTypes.Requireable<string>;
|
|
22
|
+
/**
|
|
23
|
+
* Prop to specify the aria-label of the component.
|
|
24
|
+
* To be used only when the title prop is not defined, and the component is not labelled by any internal element.
|
|
25
|
+
*/
|
|
26
|
+
"aria-label": PropTypes.Requireable<string>;
|
|
27
|
+
/**
|
|
28
|
+
* Prop to specify the aria-labeledby property of the component
|
|
29
|
+
* To be used when the title prop is a custom React Node,
|
|
30
|
+
* or the component is labelled by an internal element other than the title.
|
|
31
|
+
*/
|
|
32
|
+
"aria-labelledby": PropTypes.Requireable<string>;
|
|
33
|
+
/** Specifies the name prop to be applied to each color in the group */
|
|
34
|
+
name: PropTypes.Validator<string>;
|
|
35
|
+
/** Prop for `availableColors` containing array of objects of colors */
|
|
36
|
+
availableColors: PropTypes.Validator<any[]>;
|
|
37
|
+
/** Prop for `defaultColor` containing the default color for `uncontrolled` use */
|
|
38
|
+
defaultColor: PropTypes.Validator<string>;
|
|
39
|
+
/** Prop for `selectedColor` containing pre-selected color for `controlled` use */
|
|
40
|
+
selectedColor: PropTypes.Requireable<string>;
|
|
41
|
+
/** Prop for `onChange` event */
|
|
42
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
43
|
+
/** Prop for `onOpen` event */
|
|
44
|
+
onOpen: PropTypes.Requireable<(...args: any[]) => any>;
|
|
45
|
+
/** Prop for `onClose` event */
|
|
46
|
+
onClose: PropTypes.Requireable<(...args: any[]) => any>;
|
|
47
|
+
/** Prop for `open` status */
|
|
48
|
+
open: PropTypes.Requireable<boolean>;
|
|
49
|
+
/** Prop for `onBlur` event */
|
|
50
|
+
onBlur: PropTypes.Requireable<(...args: any[]) => any>;
|
|
51
|
+
/** The ARIA role to be applied to the container */
|
|
52
|
+
role: PropTypes.Requireable<string>;
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
import PropTypes from "prop-types";
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export const StyledAdvancedColorPickerWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
import StyledAdvancedColorPickerCell from "./advanced-color-picker-cell.style";
|
|
3
|
+
export const StyledAdvancedColorPickerPreview: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export const DialogStyle: import("styled-components").StyledComponent<{
|
|
5
|
+
({ className, children, open, height, size, title, disableEscKey, subtitle, disableAutoFocus, focusFirstElement, onCancel, showCloseIcon, bespokeFocusTrap, disableClose, help, role, ...rest }: {
|
|
6
|
+
[x: string]: any;
|
|
7
|
+
className: any;
|
|
8
|
+
children: any;
|
|
9
|
+
open: any;
|
|
10
|
+
height: any;
|
|
11
|
+
size: any;
|
|
12
|
+
title: any;
|
|
13
|
+
disableEscKey: any;
|
|
14
|
+
subtitle: any;
|
|
15
|
+
disableAutoFocus: any;
|
|
16
|
+
focusFirstElement: any;
|
|
17
|
+
onCancel: any;
|
|
18
|
+
showCloseIcon: any;
|
|
19
|
+
bespokeFocusTrap: any;
|
|
20
|
+
disableClose: any;
|
|
21
|
+
help: any;
|
|
22
|
+
role?: string | undefined;
|
|
23
|
+
}): JSX.Element;
|
|
24
|
+
propTypes: {
|
|
25
|
+
"aria-describedby": import("prop-types").Requireable<string>;
|
|
26
|
+
"aria-label": import("prop-types").Requireable<string>;
|
|
27
|
+
"aria-labelledby": import("prop-types").Requireable<string>;
|
|
28
|
+
children: import("prop-types").Requireable<import("prop-types").ReactNodeLike>;
|
|
29
|
+
className: import("prop-types").Requireable<string>;
|
|
30
|
+
open: import("prop-types").Validator<boolean>;
|
|
31
|
+
onCancel: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
32
|
+
disableEscKey: import("prop-types").Requireable<boolean>;
|
|
33
|
+
disableClose: import("prop-types").Requireable<boolean>;
|
|
34
|
+
height: import("prop-types").Requireable<string>;
|
|
35
|
+
help: import("prop-types").Requireable<string>;
|
|
36
|
+
title: import("prop-types").Requireable<import("prop-types").ReactNodeLike>;
|
|
37
|
+
subtitle: import("prop-types").Requireable<string>;
|
|
38
|
+
size: import("prop-types").Requireable<string>;
|
|
39
|
+
showCloseIcon: import("prop-types").Requireable<boolean>;
|
|
40
|
+
focusFirstElement: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
41
|
+
current: import("prop-types").Requireable<any>;
|
|
42
|
+
}>>;
|
|
43
|
+
disableAutoFocus: import("prop-types").Requireable<boolean>;
|
|
44
|
+
bespokeFocusTrap: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
45
|
+
role: import("prop-types").Requireable<string>;
|
|
46
|
+
};
|
|
47
|
+
defaultProps: {
|
|
48
|
+
size: string;
|
|
49
|
+
showCloseIcon: boolean;
|
|
50
|
+
disableAutoFocus: boolean;
|
|
51
|
+
};
|
|
52
|
+
}, any, {}, never>;
|
|
53
|
+
export { StyledAdvancedColorPickerCell };
|