carbon-react 150.1.0 → 151.1.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/esm/__internal__/character-count/character-count.component.js +0 -1
- package/esm/__internal__/checkable-input/checkable-input.component.js +0 -419
- package/esm/__internal__/checkable-input/hidden-checkable-input.component.js +0 -353
- package/esm/__internal__/field-help/field-help.component.js +0 -1
- package/esm/__internal__/fieldset/fieldset.component.js +0 -1
- package/esm/__internal__/focus-trap/focus-trap.component.js +0 -1
- package/esm/__internal__/form-field/form-field.component.d.ts +2 -0
- package/esm/__internal__/form-field/form-field.component.js +0 -1
- package/esm/__internal__/form-spacing-provider/form-spacing-provider.component.js +0 -1
- package/esm/__internal__/full-screen-heading/full-screen-heading.component.js +0 -7
- package/esm/__internal__/hint-text/hint-text.component.js +0 -1
- package/esm/__internal__/input/input-presentation.component.js +0 -20
- package/esm/__internal__/input/input.component.js +0 -410
- package/esm/__internal__/input-behaviour/input-behaviour.component.js +0 -1
- package/esm/__internal__/input-behaviour/input-group-behaviour.component.js +0 -1
- package/esm/__internal__/input-icon-toggle/input-icon-toggle.component.js +0 -1
- package/esm/__internal__/label/label.component.js +0 -1
- package/esm/__internal__/popover/popover.component.js +0 -1
- package/esm/__internal__/radio-button-mapper/radio-button-mapper.component.js +0 -1
- package/esm/__internal__/sticky-footer/sticky-footer.component.js +0 -1
- package/esm/__internal__/utils/helpers/tags/tags.d.ts +11 -3
- package/esm/__internal__/validation-message/validation-message.component.js +0 -1
- package/esm/__internal__/validations/validation-icon.component.js +0 -1
- package/esm/components/accordion/accordion-group/accordion-group.component.d.ts +1 -1
- package/esm/components/accordion/accordion-group/accordion-group.component.js +2 -4
- package/esm/components/accordion/accordion.component.d.ts +2 -1
- package/esm/components/accordion/accordion.component.js +3 -648
- package/esm/components/action-popover/action-popover-item/action-popover-item.component.js +0 -1
- package/esm/components/action-popover/action-popover-menu/action-popover-menu.component.js +0 -23
- package/esm/components/action-popover/action-popover-menu-button/action-popover-menu-button.component.js +0 -1
- package/esm/components/action-popover/action-popover.component.d.ts +2 -1
- package/esm/components/action-popover/action-popover.component.js +3 -176
- package/esm/components/advanced-color-picker/advanced-color-picker.component.d.ts +3 -2
- package/esm/components/advanced-color-picker/advanced-color-picker.component.js +2 -4
- package/esm/components/alert/alert.component.d.ts +1 -1
- package/esm/components/alert/alert.component.js +3 -3
- package/esm/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.component.js +0 -20
- package/esm/components/anchor-navigation/anchor-navigation.component.d.ts +1 -1
- package/esm/components/anchor-navigation/anchor-navigation.component.js +0 -9
- package/esm/components/badge/badge.component.d.ts +3 -2
- package/esm/components/badge/badge.component.js +5 -3
- package/esm/components/batch-selection/batch-selection.component.d.ts +3 -2
- package/esm/components/batch-selection/batch-selection.component.js +5 -3
- package/esm/components/box/box.component.d.ts +2 -0
- package/esm/components/box/box.component.js +1 -3788
- package/esm/components/breadcrumbs/breadcrumbs.component.js +3 -323
- package/esm/components/breadcrumbs/crumb/crumb.component.js +1 -70
- package/esm/components/button/button.component.js +0 -344
- package/esm/components/button-bar/button-bar.component.d.ts +2 -1
- package/esm/components/button-bar/button-bar.component.js +2 -2
- package/esm/components/button-minor/button-minor.component.js +1 -346
- package/esm/components/button-toggle/button-toggle-group/button-toggle-group.component.d.ts +3 -1
- package/esm/components/button-toggle/button-toggle-group/button-toggle-group.component.js +2 -11
- package/esm/components/button-toggle/button-toggle-icon.component.js +0 -1
- package/esm/components/button-toggle/button-toggle.component.d.ts +4 -7
- package/esm/components/button-toggle/button-toggle.component.js +0 -1
- package/esm/components/carbon-provider/__internal__/top-modal-provider.component.js +0 -1
- package/esm/components/carbon-provider/carbon-provider.component.js +0 -1
- package/esm/components/card/card-column/card-column.component.js +0 -1
- package/esm/components/card/card-footer/card-footer.component.js +0 -1
- package/esm/components/card/card-row/card-row.component.js +0 -1
- package/esm/components/card/card.component.js +0 -1
- package/esm/components/checkbox/checkbox-group/checkbox-group.component.d.ts +2 -1
- package/esm/components/checkbox/checkbox-group/checkbox-group.component.js +1 -2
- package/esm/components/checkbox/checkbox-svg.component.js +0 -1
- package/esm/components/checkbox/checkbox.component.d.ts +2 -7
- package/esm/components/checkbox/checkbox.component.js +8 -586
- package/esm/components/confirm/confirm.component.d.ts +1 -1
- package/esm/components/confirm/confirm.component.js +3 -3
- package/esm/components/content/content.component.d.ts +2 -1
- package/esm/components/content/content.component.js +2 -4
- package/esm/components/date/__internal__/date-picker/date-picker.component.js +0 -1
- package/esm/components/date/__internal__/navbar/navbar.component.js +0 -1
- package/esm/components/date/__internal__/weekday/weekday.component.js +0 -1
- package/esm/components/date/date.component.d.ts +1 -1
- package/esm/components/date/date.component.js +8 -598
- package/esm/components/date-range/date-range.component.js +0 -1
- package/esm/components/decimal/decimal.component.d.ts +1 -1
- package/esm/components/decimal/decimal.component.js +3 -595
- package/esm/components/definition-list/dd/dd.component.d.ts +2 -1
- package/esm/components/definition-list/dd/dd.component.js +2 -2
- package/esm/components/definition-list/dl.component.d.ts +2 -1
- package/esm/components/definition-list/dl.component.js +2 -4
- package/esm/components/definition-list/dt/dt.component.d.ts +2 -1
- package/esm/components/definition-list/dt/dt.component.js +2 -2
- package/esm/components/detail/detail.component.js +0 -1
- package/esm/components/dialog/dialog.component.d.ts +2 -0
- package/esm/components/dialog/dialog.component.js +1 -69
- package/esm/components/dialog-full-screen/dialog-full-screen.component.js +1 -7
- package/esm/components/dismissible-box/dismissible-box.component.d.ts +1 -1
- package/esm/components/dismissible-box/dismissible-box.component.js +1 -3
- package/esm/components/draggable/__internal__/drop-target.component.d.ts +1 -1
- package/esm/components/draggable/__internal__/drop-target.component.js +3 -8
- package/esm/components/draggable/draggable-container.component.d.ts +1 -1
- package/esm/components/draggable/draggable-container.component.js +0 -164
- package/esm/components/draggable/draggable-item/draggable-item.component.d.ts +3 -2
- package/esm/components/draggable/draggable-item/draggable-item.component.js +7 -167
- package/esm/components/drawer/drawer.component.d.ts +1 -1
- package/esm/components/drawer/drawer.component.js +0 -1
- package/esm/components/duelling-picklist/duelling-picklist.component.d.ts +2 -1
- package/esm/components/duelling-picklist/duelling-picklist.component.js +3 -5
- package/esm/components/duelling-picklist/picklist/picklist.component.js +0 -1
- package/esm/components/duelling-picklist/picklist-divider/picklist-divider.component.js +0 -1
- package/esm/components/duelling-picklist/picklist-group/picklist-group.component.js +1 -14
- package/esm/components/duelling-picklist/picklist-item/picklist-item.component.js +1 -18
- package/esm/components/duelling-picklist/picklist-placeholder/picklist-placeholder.component.js +0 -1
- package/esm/components/fieldset/fieldset.component.d.ts +2 -1
- package/esm/components/fieldset/fieldset.component.js +2 -3
- package/esm/components/file-input/__internal__/file-upload-status/file-upload-status.component.js +0 -1
- package/esm/components/file-input/file-input.component.d.ts +1 -1
- package/esm/components/file-input/file-input.component.js +1 -194
- package/esm/components/flat-table/flat-table-body/flat-table-body.component.d.ts +1 -1
- package/esm/components/flat-table/flat-table-body/flat-table-body.component.js +1 -10
- package/esm/components/flat-table/flat-table-body-draggable/flat-table-body-draggable.component.d.ts +1 -1
- package/esm/components/flat-table/flat-table-body-draggable/flat-table-body-draggable.component.js +0 -1
- package/esm/components/flat-table/flat-table-cell/flat-table-cell.component.d.ts +1 -1
- package/esm/components/flat-table/flat-table-cell/flat-table-cell.component.js +0 -1
- package/esm/components/flat-table/flat-table-checkbox/flat-table-checkbox.component.js +0 -1
- package/esm/components/flat-table/flat-table-head/flat-table-head.component.d.ts +1 -1
- package/esm/components/flat-table/flat-table-head/flat-table-head.component.js +0 -1
- package/esm/components/flat-table/flat-table-header/flat-table-header.component.d.ts +1 -1
- package/esm/components/flat-table/flat-table-header/flat-table-header.component.js +0 -1
- package/esm/components/flat-table/flat-table-row/__internal__/flat-table-row-draggable.component.js +1 -15
- package/esm/components/flat-table/flat-table-row/flat-table-row.component.d.ts +1 -1
- package/esm/components/flat-table/flat-table-row/flat-table-row.component.js +1 -24
- package/esm/components/flat-table/flat-table-row-header/flat-table-row-header.component.d.ts +1 -1
- package/esm/components/flat-table/flat-table-row-header/flat-table-row-header.component.js +0 -1
- package/esm/components/flat-table/flat-table.component.d.ts +1 -1
- package/esm/components/flat-table/flat-table.component.js +0 -1
- package/esm/components/flat-table/sort/sort.component.d.ts +1 -1
- package/esm/components/flat-table/sort/sort.component.js +0 -1
- package/esm/components/form/__internal__/form-summary.component.js +0 -1
- package/esm/components/form/form.component.d.ts +2 -1
- package/esm/components/form/form.component.js +2 -2
- package/esm/components/form/required-fields-indicator/required-fields-indicator.component.js +0 -1
- package/esm/components/global-header/global-header.component.d.ts +2 -1
- package/esm/components/global-header/global-header.component.js +0 -1
- package/esm/components/grid/grid-container/grid-container.component.d.ts +2 -1
- package/esm/components/grid/grid-container/grid-container.component.js +2 -4
- package/esm/components/grid/grid-item/grid-item.component.d.ts +2 -1
- package/esm/components/grid/grid-item/grid-item.component.js +2 -2
- package/esm/components/grouped-character/grouped-character.component.d.ts +1 -1
- package/esm/components/grouped-character/grouped-character.component.js +3 -596
- package/esm/components/heading/heading.component.js +1 -6
- package/esm/components/help/help.component.d.ts +2 -1
- package/esm/components/help/help.component.js +4 -178
- package/esm/components/hr/hr.component.d.ts +2 -1
- package/esm/components/hr/hr.component.js +3 -167
- package/esm/components/i18n-provider/i18n-provider.component.js +0 -1
- package/esm/components/icon/icon.component.d.ts +1 -1
- package/esm/components/icon/icon.component.js +0 -184
- package/esm/components/icon-button/icon-button.component.d.ts +4 -1
- package/esm/components/icon-button/icon-button.component.js +2 -322
- package/esm/components/image/image.component.js +2 -2
- package/esm/components/image/image.style.d.ts +2 -1
- package/esm/components/inline-inputs/inline-inputs.component.d.ts +2 -1
- package/esm/components/inline-inputs/inline-inputs.component.js +2 -4
- package/esm/components/link/link.component.d.ts +2 -1
- package/esm/components/link/link.component.js +1 -79
- package/esm/components/link-preview/__internal__/placeholder.component.js +0 -1
- package/esm/components/link-preview/link-preview.component.d.ts +2 -1
- package/esm/components/link-preview/link-preview.component.js +2 -3
- package/esm/components/loader/loader.component.js +0 -1
- package/esm/components/loader-bar/loader-bar.component.js +0 -1
- package/esm/components/loader-spinner/loader-spinner.component.js +0 -1
- package/esm/components/loader-star/internal/star.component.js +0 -7
- package/esm/components/loader-star/loader-star.component.d.ts +1 -1
- package/esm/components/loader-star/loader-star.component.js +0 -8
- package/esm/components/menu/__internal__/submenu/submenu.component.js +0 -122
- package/esm/components/menu/menu-divider/menu-divider.component.js +0 -9
- package/esm/components/menu/menu-full-screen/menu-full-screen.component.d.ts +1 -1
- package/esm/components/menu/menu-full-screen/menu-full-screen.component.js +0 -1
- package/esm/components/menu/menu-item/menu-item.component.d.ts +1 -1
- package/esm/components/menu/menu-item/menu-item.component.js +0 -1
- package/esm/components/menu/menu-segment-title/menu-segment-title.component.js +0 -12
- package/esm/components/menu/menu.component.js +0 -1
- package/esm/components/menu/scrollable-block/scrollable-block.component.js +2 -3
- package/esm/components/message/__internal__/message-content/message-content.component.js +0 -1
- package/esm/components/message/__internal__/type-icon/type-icon.component.js +0 -1
- package/esm/components/message/message.component.d.ts +2 -1
- package/esm/components/message/message.component.js +1 -171
- package/esm/components/modal/modal.component.d.ts +1 -1
- package/esm/components/modal/modal.component.js +0 -1
- package/esm/components/multi-action-button/multi-action-button.component.js +1 -646
- package/esm/components/navigation-bar/navigation-bar.component.d.ts +2 -1
- package/esm/components/navigation-bar/navigation-bar.component.js +3 -1284
- package/esm/components/note/__internal__/status-icon/status-icon.component.js +0 -7
- package/esm/components/note/note.component.d.ts +2 -1
- package/esm/components/note/note.component.js +2 -4
- package/esm/components/number/number.component.js +3 -594
- package/esm/components/numeral-date/numeral-date.component.d.ts +3 -8
- package/esm/components/numeral-date/numeral-date.component.js +3 -12
- package/esm/components/pager/__internal__/pager-navigation-link.component.js +0 -1
- package/esm/components/pager/__internal__/pager-navigation.component.js +0 -1
- package/esm/components/pager/pager.component.d.ts +2 -1
- package/esm/components/pager/pager.component.js +2 -4
- package/esm/components/pages/page/page.component.d.ts +2 -1
- package/esm/components/pages/page/page.component.js +0 -1
- package/esm/components/pages/pages.component.d.ts +2 -1
- package/esm/components/pages/pages.component.js +1 -2
- package/esm/components/password/password.component.d.ts +1 -2
- package/esm/components/password/password.component.js +2 -3
- package/esm/components/pill/pill.component.d.ts +2 -5
- package/esm/components/pill/pill.component.js +2 -4
- package/esm/components/pod/pod.component.d.ts +2 -5
- package/esm/components/pod/pod.component.js +3 -185
- package/esm/components/popover-container/popover-container.component.d.ts +1 -1
- package/esm/components/popover-container/popover-container.component.js +3 -184
- package/esm/components/portrait/portrait.component.d.ts +1 -1
- package/esm/components/portrait/portrait.component.js +0 -1
- package/esm/components/preview/preview.component.d.ts +2 -1
- package/esm/components/preview/preview.component.js +2 -3
- package/esm/components/profile/profile.component.d.ts +2 -1
- package/esm/components/profile/profile.component.js +0 -1
- package/esm/components/progress-tracker/progress-tracker.component.d.ts +2 -1
- package/esm/components/progress-tracker/progress-tracker.component.js +0 -1
- package/esm/components/radio-button/radio-button-group/radio-button-group.component.d.ts +2 -1
- package/esm/components/radio-button/radio-button-group/radio-button-group.component.js +0 -1
- package/esm/components/radio-button/radio-button-svg.component.js +0 -1
- package/esm/components/radio-button/radio-button.component.d.ts +2 -7
- package/esm/components/radio-button/radio-button.component.js +8 -584
- package/esm/components/search/search.component.d.ts +2 -1
- package/esm/components/search/search.component.js +3 -186
- package/esm/components/select/__internal__/list-action-button/list-action-button.component.js +0 -7
- package/esm/components/select/__internal__/select-list/select-list.component.js +0 -34
- package/esm/components/select/__internal__/select-textbox/select-textbox.component.d.ts +1 -1
- package/esm/components/select/__internal__/select-textbox/select-textbox.component.js +0 -597
- package/esm/components/select/filterable-select/filterable-select.component.d.ts +0 -6
- package/esm/components/select/filterable-select/filterable-select.component.js +4 -615
- package/esm/components/select/multi-select/multi-select.component.d.ts +0 -6
- package/esm/components/select/multi-select/multi-select.component.js +4 -613
- package/esm/components/select/option/option.component.d.ts +1 -1
- package/esm/components/select/option/option.component.js +0 -457
- package/esm/components/select/option-group-header/option-group-header.component.d.ts +1 -1
- package/esm/components/select/option-group-header/option-group-header.component.js +0 -12
- package/esm/components/select/option-row/option-row.component.d.ts +1 -1
- package/esm/components/select/option-row/option-row.component.js +0 -16
- package/esm/components/select/simple-select/simple-select.component.d.ts +0 -6
- package/esm/components/select/simple-select/simple-select.component.js +4 -612
- package/esm/components/settings-row/settings-row.component.d.ts +2 -1
- package/esm/components/settings-row/settings-row.component.js +0 -1
- package/esm/components/sidebar/__internal__/sidebar-header/sidebar-header.component.js +0 -1
- package/esm/components/sidebar/sidebar.component.d.ts +2 -2
- package/esm/components/sidebar/sidebar.component.js +1 -455
- package/esm/components/simple-color-picker/simple-color/simple-color.component.js +1 -17
- package/esm/components/simple-color-picker/simple-color-picker.component.d.ts +2 -1
- package/esm/components/simple-color-picker/simple-color-picker.component.js +1 -175
- package/esm/components/split-button/split-button.component.d.ts +2 -5
- package/esm/components/split-button/split-button.component.js +1 -547
- package/esm/components/step-flow/step-flow-title/step-flow-title.component.js +0 -1
- package/esm/components/step-flow/step-flow.component.js +1 -175
- package/esm/components/step-sequence/step-sequence-item/step-sequence-item.component.d.ts +2 -1
- package/esm/components/step-sequence/step-sequence-item/step-sequence-item.component.js +2 -3
- package/esm/components/step-sequence/step-sequence.component.d.ts +2 -1
- package/esm/components/step-sequence/step-sequence.component.js +2 -3
- package/esm/components/switch/__internal__/switch-slider.component.js +0 -1
- package/esm/components/switch/switch.component.d.ts +2 -7
- package/esm/components/switch/switch.component.js +5 -585
- package/esm/components/tabs/__internal__/tab-title/tab-title.component.js +0 -33
- package/esm/components/tabs/__internal__/tabs-header/tabs-header.component.js +0 -1
- package/esm/components/tabs/tab/tab.component.d.ts +2 -1
- package/esm/components/tabs/tab/tab.component.js +1 -2
- package/esm/components/tabs/tabs.component.d.ts +2 -1
- package/esm/components/tabs/tabs.component.js +2 -4
- package/esm/components/text-editor/__internal__/plugins/AutoLinker/auto-link.component.js +0 -1
- package/esm/components/text-editor/__internal__/plugins/CharacterCounter/__test__/character-counter.component.js +0 -1
- package/esm/components/text-editor/__internal__/plugins/CharacterCounter/character-counter.component.js +0 -1
- package/esm/components/text-editor/__internal__/plugins/ContentEditor/content-editor.component.js +0 -1
- package/esm/components/text-editor/__internal__/plugins/LinkPreviewer/link-previewer.component.js +0 -1
- package/esm/components/text-editor/__internal__/plugins/Placeholder/placeholder.component.js +0 -1
- package/esm/components/text-editor/__internal__/plugins/Toolbar/buttons/bold.component.js +0 -1
- package/esm/components/text-editor/__internal__/plugins/Toolbar/buttons/italic.component.js +0 -1
- package/esm/components/text-editor/__internal__/plugins/Toolbar/buttons/list.component.js +0 -1
- package/esm/components/text-editor/__internal__/plugins/Toolbar/buttons/save.component.js +0 -1
- package/esm/components/text-editor/__internal__/plugins/Toolbar/toolbar.component.js +0 -1
- package/esm/components/text-editor/__internal__/read-only-rte.component.js +0 -1
- package/esm/components/text-editor/text-editor.component.js +0 -1
- package/esm/components/textarea/textarea.component.d.ts +2 -7
- package/esm/components/textarea/textarea.component.js +6 -593
- package/esm/components/textbox/textbox.component.d.ts +4 -7
- package/esm/components/textbox/textbox.component.js +1 -593
- package/esm/components/tile/flex-tile-cell/flex-tile-cell.component.js +1 -3788
- package/esm/components/tile/flex-tile-container/flex-tile-container.component.js +1 -110
- package/esm/components/tile/flex-tile-divider/flex-tile-divider.component.js +1 -1
- package/esm/components/tile/tile-content/tile-content.component.js +0 -1
- package/esm/components/tile/tile-footer/tile-footer.component.js +0 -1
- package/esm/components/tile/tile-header/tile-header.component.js +0 -1
- package/esm/components/tile/tile.component.js +0 -1
- package/esm/components/tile-select/__internal__/accordion/accordion.component.js +0 -1
- package/esm/components/tile-select/tile-select-group/tile-select-group.component.d.ts +2 -1
- package/esm/components/tile-select/tile-select-group/tile-select-group.component.js +0 -1
- package/esm/components/tile-select/tile-select.component.d.ts +2 -1
- package/esm/components/tile-select/tile-select.component.js +6 -181
- package/esm/components/time/__internal__/time-toggle/time-toggle.component.d.ts +4 -4
- package/esm/components/time/__internal__/time-toggle/time-toggle.component.js +0 -1
- package/esm/components/time/time.component.d.ts +2 -2
- package/esm/components/time/time.component.js +0 -212
- package/esm/components/toast/toast.component.d.ts +1 -3
- package/esm/components/toast/toast.component.js +2 -24
- package/esm/components/tooltip/tooltip.component.d.ts +2 -1
- package/esm/components/tooltip/tooltip.component.js +1 -26
- package/esm/components/typography/list.component.js +0 -1
- package/esm/components/typography/typography.component.d.ts +2 -0
- package/esm/components/typography/typography.component.js +0 -1
- package/esm/components/vertical-divider/vertical-divider.component.d.ts +2 -1
- package/esm/components/vertical-divider/vertical-divider.component.js +3 -322
- package/esm/components/vertical-menu/vertical-menu-full-screen/vertical-menu-full-screen.component.js +0 -1
- package/esm/components/vertical-menu/vertical-menu-item/vertical-menu-item.component.js +0 -1
- package/esm/components/vertical-menu/vertical-menu-trigger/vertical-menu-trigger.component.js +0 -1
- package/esm/components/vertical-menu/vertical-menu.component.js +0 -1
- package/lib/__internal__/character-count/character-count.component.js +0 -1
- package/lib/__internal__/checkable-input/checkable-input.component.js +0 -419
- package/lib/__internal__/checkable-input/hidden-checkable-input.component.js +0 -353
- package/lib/__internal__/field-help/field-help.component.js +0 -1
- package/lib/__internal__/fieldset/fieldset.component.js +0 -1
- package/lib/__internal__/focus-trap/focus-trap.component.js +0 -1
- package/lib/__internal__/form-field/form-field.component.d.ts +2 -0
- package/lib/__internal__/form-field/form-field.component.js +0 -1
- package/lib/__internal__/form-spacing-provider/form-spacing-provider.component.js +0 -1
- package/lib/__internal__/full-screen-heading/full-screen-heading.component.js +0 -7
- package/lib/__internal__/hint-text/hint-text.component.js +0 -1
- package/lib/__internal__/input/input-presentation.component.js +0 -20
- package/lib/__internal__/input/input.component.js +0 -410
- package/lib/__internal__/input-behaviour/input-behaviour.component.js +0 -1
- package/lib/__internal__/input-behaviour/input-group-behaviour.component.js +0 -1
- package/lib/__internal__/input-icon-toggle/input-icon-toggle.component.js +0 -1
- package/lib/__internal__/label/label.component.js +0 -1
- package/lib/__internal__/popover/popover.component.js +0 -1
- package/lib/__internal__/radio-button-mapper/radio-button-mapper.component.js +0 -2
- package/lib/__internal__/sticky-footer/sticky-footer.component.js +0 -1
- package/lib/__internal__/utils/helpers/tags/tags.d.ts +11 -3
- package/lib/__internal__/validation-message/validation-message.component.js +0 -1
- package/lib/__internal__/validations/validation-icon.component.js +0 -1
- package/lib/components/accordion/accordion-group/accordion-group.component.d.ts +1 -1
- package/lib/components/accordion/accordion-group/accordion-group.component.js +2 -4
- package/lib/components/accordion/accordion.component.d.ts +2 -1
- package/lib/components/accordion/accordion.component.js +2 -646
- package/lib/components/action-popover/action-popover-item/action-popover-item.component.js +0 -1
- package/lib/components/action-popover/action-popover-menu/action-popover-menu.component.js +0 -23
- package/lib/components/action-popover/action-popover-menu-button/action-popover-menu-button.component.js +0 -1
- package/lib/components/action-popover/action-popover.component.d.ts +2 -1
- package/lib/components/action-popover/action-popover.component.js +2 -174
- package/lib/components/advanced-color-picker/advanced-color-picker.component.d.ts +3 -2
- package/lib/components/advanced-color-picker/advanced-color-picker.component.js +2 -4
- package/lib/components/alert/alert.component.d.ts +1 -1
- package/lib/components/alert/alert.component.js +3 -3
- package/lib/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.component.js +0 -20
- package/lib/components/anchor-navigation/anchor-navigation.component.d.ts +1 -1
- package/lib/components/anchor-navigation/anchor-navigation.component.js +0 -9
- package/lib/components/badge/badge.component.d.ts +3 -2
- package/lib/components/badge/badge.component.js +5 -4
- package/lib/components/batch-selection/batch-selection.component.d.ts +3 -2
- package/lib/components/batch-selection/batch-selection.component.js +5 -3
- package/lib/components/box/box.component.d.ts +2 -0
- package/lib/components/box/box.component.js +0 -3786
- package/lib/components/breadcrumbs/breadcrumbs.component.js +2 -321
- package/lib/components/breadcrumbs/crumb/crumb.component.js +1 -70
- package/lib/components/button/button.component.js +0 -344
- package/lib/components/button-bar/button-bar.component.d.ts +2 -1
- package/lib/components/button-bar/button-bar.component.js +2 -2
- package/lib/components/button-minor/button-minor.component.js +0 -344
- package/lib/components/button-toggle/button-toggle-group/button-toggle-group.component.d.ts +3 -1
- package/lib/components/button-toggle/button-toggle-group/button-toggle-group.component.js +2 -11
- package/lib/components/button-toggle/button-toggle-icon.component.js +0 -1
- package/lib/components/button-toggle/button-toggle.component.d.ts +4 -7
- package/lib/components/button-toggle/button-toggle.component.js +0 -1
- package/lib/components/carbon-provider/__internal__/top-modal-provider.component.js +0 -1
- package/lib/components/carbon-provider/carbon-provider.component.js +0 -1
- package/lib/components/card/card-column/card-column.component.js +0 -1
- package/lib/components/card/card-footer/card-footer.component.js +0 -1
- package/lib/components/card/card-row/card-row.component.js +0 -1
- package/lib/components/card/card.component.js +0 -1
- package/lib/components/checkbox/checkbox-group/checkbox-group.component.d.ts +2 -1
- package/lib/components/checkbox/checkbox-group/checkbox-group.component.js +1 -2
- package/lib/components/checkbox/checkbox-svg.component.js +0 -1
- package/lib/components/checkbox/checkbox.component.d.ts +2 -7
- package/lib/components/checkbox/checkbox.component.js +7 -584
- package/lib/components/confirm/confirm.component.d.ts +1 -1
- package/lib/components/confirm/confirm.component.js +3 -3
- package/lib/components/content/content.component.d.ts +2 -1
- package/lib/components/content/content.component.js +2 -4
- package/lib/components/date/__internal__/date-picker/date-picker.component.js +0 -1
- package/lib/components/date/__internal__/navbar/navbar.component.js +0 -1
- package/lib/components/date/__internal__/weekday/weekday.component.js +0 -1
- package/lib/components/date/date.component.d.ts +1 -1
- package/lib/components/date/date.component.js +7 -596
- package/lib/components/date-range/date-range.component.js +0 -1
- package/lib/components/decimal/decimal.component.d.ts +1 -1
- package/lib/components/decimal/decimal.component.js +2 -593
- package/lib/components/definition-list/dd/dd.component.d.ts +2 -1
- package/lib/components/definition-list/dd/dd.component.js +2 -2
- package/lib/components/definition-list/dl.component.d.ts +2 -1
- package/lib/components/definition-list/dl.component.js +2 -4
- package/lib/components/definition-list/dt/dt.component.d.ts +2 -1
- package/lib/components/definition-list/dt/dt.component.js +2 -2
- package/lib/components/detail/detail.component.js +0 -1
- package/lib/components/dialog/dialog.component.d.ts +2 -0
- package/lib/components/dialog/dialog.component.js +0 -67
- package/lib/components/dialog-full-screen/dialog-full-screen.component.js +1 -7
- package/lib/components/dismissible-box/dismissible-box.component.d.ts +1 -1
- package/lib/components/dismissible-box/dismissible-box.component.js +1 -3
- package/lib/components/draggable/__internal__/drop-target.component.d.ts +1 -1
- package/lib/components/draggable/__internal__/drop-target.component.js +3 -8
- package/lib/components/draggable/draggable-container.component.d.ts +1 -1
- package/lib/components/draggable/draggable-container.component.js +0 -164
- package/lib/components/draggable/draggable-item/draggable-item.component.d.ts +3 -2
- package/lib/components/draggable/draggable-item/draggable-item.component.js +7 -167
- package/lib/components/drawer/drawer.component.d.ts +1 -1
- package/lib/components/drawer/drawer.component.js +0 -1
- package/lib/components/duelling-picklist/duelling-picklist.component.d.ts +2 -1
- package/lib/components/duelling-picklist/duelling-picklist.component.js +3 -5
- package/lib/components/duelling-picklist/picklist/picklist.component.js +0 -1
- package/lib/components/duelling-picklist/picklist-divider/picklist-divider.component.js +0 -1
- package/lib/components/duelling-picklist/picklist-group/picklist-group.component.js +0 -12
- package/lib/components/duelling-picklist/picklist-item/picklist-item.component.js +0 -16
- package/lib/components/duelling-picklist/picklist-placeholder/picklist-placeholder.component.js +0 -1
- package/lib/components/fieldset/fieldset.component.d.ts +2 -1
- package/lib/components/fieldset/fieldset.component.js +2 -3
- package/lib/components/file-input/__internal__/file-upload-status/file-upload-status.component.js +0 -1
- package/lib/components/file-input/file-input.component.d.ts +1 -1
- package/lib/components/file-input/file-input.component.js +0 -192
- package/lib/components/flat-table/flat-table-body/flat-table-body.component.d.ts +1 -1
- package/lib/components/flat-table/flat-table-body/flat-table-body.component.js +0 -8
- package/lib/components/flat-table/flat-table-body-draggable/flat-table-body-draggable.component.d.ts +1 -1
- package/lib/components/flat-table/flat-table-body-draggable/flat-table-body-draggable.component.js +0 -1
- package/lib/components/flat-table/flat-table-cell/flat-table-cell.component.d.ts +1 -1
- package/lib/components/flat-table/flat-table-cell/flat-table-cell.component.js +0 -1
- package/lib/components/flat-table/flat-table-checkbox/flat-table-checkbox.component.js +0 -1
- package/lib/components/flat-table/flat-table-head/flat-table-head.component.d.ts +1 -1
- package/lib/components/flat-table/flat-table-head/flat-table-head.component.js +0 -1
- package/lib/components/flat-table/flat-table-header/flat-table-header.component.d.ts +1 -1
- package/lib/components/flat-table/flat-table-header/flat-table-header.component.js +0 -1
- package/lib/components/flat-table/flat-table-row/__internal__/flat-table-row-draggable.component.js +0 -13
- package/lib/components/flat-table/flat-table-row/flat-table-row.component.d.ts +1 -1
- package/lib/components/flat-table/flat-table-row/flat-table-row.component.js +0 -22
- package/lib/components/flat-table/flat-table-row-header/flat-table-row-header.component.d.ts +1 -1
- package/lib/components/flat-table/flat-table-row-header/flat-table-row-header.component.js +0 -1
- package/lib/components/flat-table/flat-table.component.d.ts +1 -1
- package/lib/components/flat-table/flat-table.component.js +0 -1
- package/lib/components/flat-table/sort/sort.component.d.ts +1 -1
- package/lib/components/flat-table/sort/sort.component.js +0 -1
- package/lib/components/form/__internal__/form-summary.component.js +0 -1
- package/lib/components/form/form.component.d.ts +2 -1
- package/lib/components/form/form.component.js +2 -2
- package/lib/components/form/required-fields-indicator/required-fields-indicator.component.js +0 -1
- package/lib/components/global-header/global-header.component.d.ts +2 -1
- package/lib/components/global-header/global-header.component.js +0 -1
- package/lib/components/grid/grid-container/grid-container.component.d.ts +2 -1
- package/lib/components/grid/grid-container/grid-container.component.js +2 -4
- package/lib/components/grid/grid-item/grid-item.component.d.ts +2 -1
- package/lib/components/grid/grid-item/grid-item.component.js +2 -2
- package/lib/components/grouped-character/grouped-character.component.d.ts +1 -1
- package/lib/components/grouped-character/grouped-character.component.js +2 -594
- package/lib/components/heading/heading.component.js +1 -6
- package/lib/components/help/help.component.d.ts +2 -1
- package/lib/components/help/help.component.js +3 -176
- package/lib/components/hr/hr.component.d.ts +2 -1
- package/lib/components/hr/hr.component.js +2 -165
- package/lib/components/i18n-provider/i18n-provider.component.js +0 -1
- package/lib/components/icon/icon.component.d.ts +1 -1
- package/lib/components/icon/icon.component.js +0 -184
- package/lib/components/icon-button/icon-button.component.d.ts +4 -1
- package/lib/components/icon-button/icon-button.component.js +2 -322
- package/lib/components/image/image.component.js +2 -2
- package/lib/components/image/image.style.d.ts +2 -1
- package/lib/components/inline-inputs/inline-inputs.component.d.ts +2 -1
- package/lib/components/inline-inputs/inline-inputs.component.js +2 -4
- package/lib/components/link/link.component.d.ts +2 -1
- package/lib/components/link/link.component.js +0 -77
- package/lib/components/link-preview/__internal__/placeholder.component.js +0 -1
- package/lib/components/link-preview/link-preview.component.d.ts +2 -1
- package/lib/components/link-preview/link-preview.component.js +2 -3
- package/lib/components/loader/loader.component.js +0 -1
- package/lib/components/loader-bar/loader-bar.component.js +0 -1
- package/lib/components/loader-spinner/loader-spinner.component.js +0 -1
- package/lib/components/loader-star/internal/star.component.js +0 -7
- package/lib/components/loader-star/loader-star.component.d.ts +1 -1
- package/lib/components/loader-star/loader-star.component.js +0 -8
- package/lib/components/menu/__internal__/submenu/submenu.component.js +0 -122
- package/lib/components/menu/menu-divider/menu-divider.component.js +0 -9
- package/lib/components/menu/menu-full-screen/menu-full-screen.component.d.ts +1 -1
- package/lib/components/menu/menu-full-screen/menu-full-screen.component.js +0 -1
- package/lib/components/menu/menu-item/menu-item.component.d.ts +1 -1
- package/lib/components/menu/menu-item/menu-item.component.js +0 -1
- package/lib/components/menu/menu-segment-title/menu-segment-title.component.js +0 -12
- package/lib/components/menu/menu.component.js +0 -1
- package/lib/components/menu/scrollable-block/scrollable-block.component.js +2 -3
- package/lib/components/message/__internal__/message-content/message-content.component.js +0 -1
- package/lib/components/message/__internal__/type-icon/type-icon.component.js +0 -1
- package/lib/components/message/message.component.d.ts +2 -1
- package/lib/components/message/message.component.js +0 -169
- package/lib/components/modal/modal.component.d.ts +1 -1
- package/lib/components/modal/modal.component.js +0 -1
- package/lib/components/multi-action-button/multi-action-button.component.js +0 -644
- package/lib/components/navigation-bar/navigation-bar.component.d.ts +2 -1
- package/lib/components/navigation-bar/navigation-bar.component.js +2 -1282
- package/lib/components/note/__internal__/status-icon/status-icon.component.js +0 -7
- package/lib/components/note/note.component.d.ts +2 -1
- package/lib/components/note/note.component.js +2 -4
- package/lib/components/number/number.component.js +2 -592
- package/lib/components/numeral-date/numeral-date.component.d.ts +3 -8
- package/lib/components/numeral-date/numeral-date.component.js +3 -12
- package/lib/components/pager/__internal__/pager-navigation-link.component.js +0 -1
- package/lib/components/pager/__internal__/pager-navigation.component.js +0 -1
- package/lib/components/pager/pager.component.d.ts +2 -1
- package/lib/components/pager/pager.component.js +2 -4
- package/lib/components/pages/page/page.component.d.ts +2 -1
- package/lib/components/pages/page/page.component.js +0 -1
- package/lib/components/pages/pages.component.d.ts +2 -1
- package/lib/components/pages/pages.component.js +1 -2
- package/lib/components/password/password.component.d.ts +1 -2
- package/lib/components/password/password.component.js +2 -3
- package/lib/components/pill/pill.component.d.ts +2 -5
- package/lib/components/pill/pill.component.js +2 -4
- package/lib/components/pod/pod.component.d.ts +2 -5
- package/lib/components/pod/pod.component.js +3 -185
- package/lib/components/popover-container/popover-container.component.d.ts +1 -1
- package/lib/components/popover-container/popover-container.component.js +2 -182
- package/lib/components/portrait/portrait.component.d.ts +1 -1
- package/lib/components/portrait/portrait.component.js +0 -1
- package/lib/components/preview/preview.component.d.ts +2 -1
- package/lib/components/preview/preview.component.js +2 -3
- package/lib/components/profile/profile.component.d.ts +2 -1
- package/lib/components/profile/profile.component.js +0 -1
- package/lib/components/progress-tracker/progress-tracker.component.d.ts +2 -1
- package/lib/components/progress-tracker/progress-tracker.component.js +0 -1
- package/lib/components/radio-button/radio-button-group/radio-button-group.component.d.ts +2 -1
- package/lib/components/radio-button/radio-button-group/radio-button-group.component.js +0 -1
- package/lib/components/radio-button/radio-button-svg.component.js +0 -1
- package/lib/components/radio-button/radio-button.component.d.ts +2 -7
- package/lib/components/radio-button/radio-button.component.js +7 -582
- package/lib/components/search/search.component.d.ts +2 -1
- package/lib/components/search/search.component.js +2 -184
- package/lib/components/select/__internal__/list-action-button/list-action-button.component.js +0 -7
- package/lib/components/select/__internal__/select-list/select-list.component.js +0 -34
- package/lib/components/select/__internal__/select-textbox/select-textbox.component.d.ts +1 -1
- package/lib/components/select/__internal__/select-textbox/select-textbox.component.js +0 -597
- package/lib/components/select/filterable-select/filterable-select.component.d.ts +0 -6
- package/lib/components/select/filterable-select/filterable-select.component.js +3 -613
- package/lib/components/select/multi-select/multi-select.component.d.ts +0 -6
- package/lib/components/select/multi-select/multi-select.component.js +3 -611
- package/lib/components/select/option/option.component.d.ts +1 -1
- package/lib/components/select/option/option.component.js +0 -457
- package/lib/components/select/option-group-header/option-group-header.component.d.ts +1 -1
- package/lib/components/select/option-group-header/option-group-header.component.js +0 -12
- package/lib/components/select/option-row/option-row.component.d.ts +1 -1
- package/lib/components/select/option-row/option-row.component.js +0 -16
- package/lib/components/select/simple-select/simple-select.component.d.ts +0 -6
- package/lib/components/select/simple-select/simple-select.component.js +3 -610
- package/lib/components/settings-row/settings-row.component.d.ts +2 -1
- package/lib/components/settings-row/settings-row.component.js +0 -1
- package/lib/components/sidebar/__internal__/sidebar-header/sidebar-header.component.js +0 -1
- package/lib/components/sidebar/sidebar.component.d.ts +2 -2
- package/lib/components/sidebar/sidebar.component.js +0 -453
- package/lib/components/simple-color-picker/simple-color/simple-color.component.js +0 -15
- package/lib/components/simple-color-picker/simple-color-picker.component.d.ts +2 -1
- package/lib/components/simple-color-picker/simple-color-picker.component.js +0 -173
- package/lib/components/split-button/split-button.component.d.ts +2 -5
- package/lib/components/split-button/split-button.component.js +0 -545
- package/lib/components/step-flow/step-flow-title/step-flow-title.component.js +0 -1
- package/lib/components/step-flow/step-flow.component.js +0 -173
- package/lib/components/step-sequence/step-sequence-item/step-sequence-item.component.d.ts +2 -1
- package/lib/components/step-sequence/step-sequence-item/step-sequence-item.component.js +2 -3
- package/lib/components/step-sequence/step-sequence.component.d.ts +2 -1
- package/lib/components/step-sequence/step-sequence.component.js +2 -3
- package/lib/components/switch/__internal__/switch-slider.component.js +0 -1
- package/lib/components/switch/switch.component.d.ts +2 -7
- package/lib/components/switch/switch.component.js +4 -583
- package/lib/components/tabs/__internal__/tab-title/tab-title.component.js +0 -33
- package/lib/components/tabs/__internal__/tabs-header/tabs-header.component.js +0 -1
- package/lib/components/tabs/tab/tab.component.d.ts +2 -1
- package/lib/components/tabs/tab/tab.component.js +1 -2
- package/lib/components/tabs/tabs.component.d.ts +2 -1
- package/lib/components/tabs/tabs.component.js +2 -4
- package/lib/components/text-editor/__internal__/plugins/AutoLinker/auto-link.component.js +0 -1
- package/lib/components/text-editor/__internal__/plugins/CharacterCounter/__test__/character-counter.component.js +0 -2
- package/lib/components/text-editor/__internal__/plugins/CharacterCounter/character-counter.component.js +0 -1
- package/lib/components/text-editor/__internal__/plugins/ContentEditor/content-editor.component.js +0 -1
- package/lib/components/text-editor/__internal__/plugins/LinkPreviewer/link-previewer.component.js +0 -1
- package/lib/components/text-editor/__internal__/plugins/Placeholder/placeholder.component.js +0 -1
- package/lib/components/text-editor/__internal__/plugins/Toolbar/buttons/bold.component.js +0 -1
- package/lib/components/text-editor/__internal__/plugins/Toolbar/buttons/italic.component.js +0 -1
- package/lib/components/text-editor/__internal__/plugins/Toolbar/buttons/list.component.js +0 -1
- package/lib/components/text-editor/__internal__/plugins/Toolbar/buttons/save.component.js +0 -1
- package/lib/components/text-editor/__internal__/plugins/Toolbar/toolbar.component.js +0 -1
- package/lib/components/text-editor/__internal__/read-only-rte.component.js +0 -2
- package/lib/components/text-editor/text-editor.component.js +0 -1
- package/lib/components/textarea/textarea.component.d.ts +2 -7
- package/lib/components/textarea/textarea.component.js +5 -591
- package/lib/components/textbox/textbox.component.d.ts +4 -7
- package/lib/components/textbox/textbox.component.js +0 -591
- package/lib/components/tile/flex-tile-cell/flex-tile-cell.component.js +0 -3786
- package/lib/components/tile/flex-tile-container/flex-tile-container.component.js +0 -108
- package/lib/components/tile/flex-tile-divider/flex-tile-divider.component.js +1 -1
- package/lib/components/tile/tile-content/tile-content.component.js +0 -1
- package/lib/components/tile/tile-footer/tile-footer.component.js +0 -1
- package/lib/components/tile/tile-header/tile-header.component.js +0 -1
- package/lib/components/tile/tile.component.js +0 -1
- package/lib/components/tile-select/__internal__/accordion/accordion.component.js +0 -1
- package/lib/components/tile-select/tile-select-group/tile-select-group.component.d.ts +2 -1
- package/lib/components/tile-select/tile-select-group/tile-select-group.component.js +0 -1
- package/lib/components/tile-select/tile-select.component.d.ts +2 -1
- package/lib/components/tile-select/tile-select.component.js +6 -181
- package/lib/components/time/__internal__/time-toggle/time-toggle.component.d.ts +4 -4
- package/lib/components/time/__internal__/time-toggle/time-toggle.component.js +0 -1
- package/lib/components/time/time.component.d.ts +2 -2
- package/lib/components/time/time.component.js +0 -212
- package/lib/components/toast/toast.component.d.ts +1 -3
- package/lib/components/toast/toast.component.js +1 -22
- package/lib/components/tooltip/tooltip.component.d.ts +2 -1
- package/lib/components/tooltip/tooltip.component.js +0 -24
- package/lib/components/typography/list.component.js +0 -1
- package/lib/components/typography/typography.component.d.ts +2 -0
- package/lib/components/typography/typography.component.js +0 -1
- package/lib/components/vertical-divider/vertical-divider.component.d.ts +2 -1
- package/lib/components/vertical-divider/vertical-divider.component.js +2 -320
- package/lib/components/vertical-menu/vertical-menu-full-screen/vertical-menu-full-screen.component.js +0 -1
- package/lib/components/vertical-menu/vertical-menu-item/vertical-menu-item.component.js +0 -1
- package/lib/components/vertical-menu/vertical-menu-trigger/vertical-menu-trigger.component.js +0 -1
- package/lib/components/vertical-menu/vertical-menu.component.js +0 -1
- package/package.json +1 -3
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import React, { useCallback, useImperativeHandle, useRef, useState } from "react";
|
|
3
|
-
import PropTypes from "prop-types";
|
|
4
3
|
import guid from "../../__internal__/utils/helpers/guid";
|
|
5
4
|
import useLocale from "../../hooks/__internal__/useLocale";
|
|
6
5
|
import tagComponent from "../../__internal__/utils/helpers/tags/tags";
|
|
@@ -247,216 +246,5 @@ const Time = /*#__PURE__*/React.forwardRef(({
|
|
|
247
246
|
disabled: disabled || readOnly
|
|
248
247
|
})))));
|
|
249
248
|
});
|
|
250
|
-
if (process.env.NODE_ENV !== "production") {
|
|
251
|
-
Time.propTypes = {
|
|
252
|
-
"data-element": PropTypes.string,
|
|
253
|
-
"data-role": PropTypes.string,
|
|
254
|
-
"disabled": PropTypes.bool,
|
|
255
|
-
"fieldLabelsAlign": PropTypes.oneOf(["left", "right"]),
|
|
256
|
-
"hoursInputProps": PropTypes.shape({
|
|
257
|
-
"aria-label": PropTypes.string,
|
|
258
|
-
"data-element": PropTypes.string,
|
|
259
|
-
"data-role": PropTypes.string,
|
|
260
|
-
"error": PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
261
|
-
"id": PropTypes.string,
|
|
262
|
-
"label": PropTypes.string,
|
|
263
|
-
"warning": PropTypes.oneOfType([PropTypes.string, PropTypes.bool])
|
|
264
|
-
}),
|
|
265
|
-
"inputHint": PropTypes.string,
|
|
266
|
-
"isOptional": PropTypes.bool,
|
|
267
|
-
"label": PropTypes.string,
|
|
268
|
-
"labelAlign": PropTypes.oneOf(["left", "right"]),
|
|
269
|
-
"m": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
270
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
271
|
-
"description": PropTypes.string,
|
|
272
|
-
"toString": PropTypes.func.isRequired,
|
|
273
|
-
"valueOf": PropTypes.func.isRequired
|
|
274
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
275
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
276
|
-
"description": PropTypes.string,
|
|
277
|
-
"toString": PropTypes.func.isRequired,
|
|
278
|
-
"valueOf": PropTypes.func.isRequired
|
|
279
|
-
}), PropTypes.string]),
|
|
280
|
-
"margin": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
281
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
282
|
-
"description": PropTypes.string,
|
|
283
|
-
"toString": PropTypes.func.isRequired,
|
|
284
|
-
"valueOf": PropTypes.func.isRequired
|
|
285
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
286
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
287
|
-
"description": PropTypes.string,
|
|
288
|
-
"toString": PropTypes.func.isRequired,
|
|
289
|
-
"valueOf": PropTypes.func.isRequired
|
|
290
|
-
}), PropTypes.string]),
|
|
291
|
-
"marginBottom": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
292
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
293
|
-
"description": PropTypes.string,
|
|
294
|
-
"toString": PropTypes.func.isRequired,
|
|
295
|
-
"valueOf": PropTypes.func.isRequired
|
|
296
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
297
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
298
|
-
"description": PropTypes.string,
|
|
299
|
-
"toString": PropTypes.func.isRequired,
|
|
300
|
-
"valueOf": PropTypes.func.isRequired
|
|
301
|
-
}), PropTypes.string]),
|
|
302
|
-
"marginLeft": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
303
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
304
|
-
"description": PropTypes.string,
|
|
305
|
-
"toString": PropTypes.func.isRequired,
|
|
306
|
-
"valueOf": PropTypes.func.isRequired
|
|
307
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
308
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
309
|
-
"description": PropTypes.string,
|
|
310
|
-
"toString": PropTypes.func.isRequired,
|
|
311
|
-
"valueOf": PropTypes.func.isRequired
|
|
312
|
-
}), PropTypes.string]),
|
|
313
|
-
"marginRight": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
314
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
315
|
-
"description": PropTypes.string,
|
|
316
|
-
"toString": PropTypes.func.isRequired,
|
|
317
|
-
"valueOf": PropTypes.func.isRequired
|
|
318
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
319
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
320
|
-
"description": PropTypes.string,
|
|
321
|
-
"toString": PropTypes.func.isRequired,
|
|
322
|
-
"valueOf": PropTypes.func.isRequired
|
|
323
|
-
}), PropTypes.string]),
|
|
324
|
-
"marginTop": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
325
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
326
|
-
"description": PropTypes.string,
|
|
327
|
-
"toString": PropTypes.func.isRequired,
|
|
328
|
-
"valueOf": PropTypes.func.isRequired
|
|
329
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
330
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
331
|
-
"description": PropTypes.string,
|
|
332
|
-
"toString": PropTypes.func.isRequired,
|
|
333
|
-
"valueOf": PropTypes.func.isRequired
|
|
334
|
-
}), PropTypes.string]),
|
|
335
|
-
"marginX": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
336
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
337
|
-
"description": PropTypes.string,
|
|
338
|
-
"toString": PropTypes.func.isRequired,
|
|
339
|
-
"valueOf": PropTypes.func.isRequired
|
|
340
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
341
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
342
|
-
"description": PropTypes.string,
|
|
343
|
-
"toString": PropTypes.func.isRequired,
|
|
344
|
-
"valueOf": PropTypes.func.isRequired
|
|
345
|
-
}), PropTypes.string]),
|
|
346
|
-
"marginY": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
347
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
348
|
-
"description": PropTypes.string,
|
|
349
|
-
"toString": PropTypes.func.isRequired,
|
|
350
|
-
"valueOf": PropTypes.func.isRequired
|
|
351
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
352
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
353
|
-
"description": PropTypes.string,
|
|
354
|
-
"toString": PropTypes.func.isRequired,
|
|
355
|
-
"valueOf": PropTypes.func.isRequired
|
|
356
|
-
}), PropTypes.string]),
|
|
357
|
-
"mb": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
358
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
359
|
-
"description": PropTypes.string,
|
|
360
|
-
"toString": PropTypes.func.isRequired,
|
|
361
|
-
"valueOf": PropTypes.func.isRequired
|
|
362
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
363
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
364
|
-
"description": PropTypes.string,
|
|
365
|
-
"toString": PropTypes.func.isRequired,
|
|
366
|
-
"valueOf": PropTypes.func.isRequired
|
|
367
|
-
}), PropTypes.string]),
|
|
368
|
-
"minutesInputProps": PropTypes.shape({
|
|
369
|
-
"aria-label": PropTypes.string,
|
|
370
|
-
"data-element": PropTypes.string,
|
|
371
|
-
"data-role": PropTypes.string,
|
|
372
|
-
"error": PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
373
|
-
"id": PropTypes.string,
|
|
374
|
-
"label": PropTypes.string,
|
|
375
|
-
"warning": PropTypes.oneOfType([PropTypes.string, PropTypes.bool])
|
|
376
|
-
}),
|
|
377
|
-
"ml": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
378
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
379
|
-
"description": PropTypes.string,
|
|
380
|
-
"toString": PropTypes.func.isRequired,
|
|
381
|
-
"valueOf": PropTypes.func.isRequired
|
|
382
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
383
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
384
|
-
"description": PropTypes.string,
|
|
385
|
-
"toString": PropTypes.func.isRequired,
|
|
386
|
-
"valueOf": PropTypes.func.isRequired
|
|
387
|
-
}), PropTypes.string]),
|
|
388
|
-
"mr": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
389
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
390
|
-
"description": PropTypes.string,
|
|
391
|
-
"toString": PropTypes.func.isRequired,
|
|
392
|
-
"valueOf": PropTypes.func.isRequired
|
|
393
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
394
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
395
|
-
"description": PropTypes.string,
|
|
396
|
-
"toString": PropTypes.func.isRequired,
|
|
397
|
-
"valueOf": PropTypes.func.isRequired
|
|
398
|
-
}), PropTypes.string]),
|
|
399
|
-
"mt": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
400
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
401
|
-
"description": PropTypes.string,
|
|
402
|
-
"toString": PropTypes.func.isRequired,
|
|
403
|
-
"valueOf": PropTypes.func.isRequired
|
|
404
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
405
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
406
|
-
"description": PropTypes.string,
|
|
407
|
-
"toString": PropTypes.func.isRequired,
|
|
408
|
-
"valueOf": PropTypes.func.isRequired
|
|
409
|
-
}), PropTypes.string]),
|
|
410
|
-
"mx": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
411
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
412
|
-
"description": PropTypes.string,
|
|
413
|
-
"toString": PropTypes.func.isRequired,
|
|
414
|
-
"valueOf": PropTypes.func.isRequired
|
|
415
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
416
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
417
|
-
"description": PropTypes.string,
|
|
418
|
-
"toString": PropTypes.func.isRequired,
|
|
419
|
-
"valueOf": PropTypes.func.isRequired
|
|
420
|
-
}), PropTypes.string]),
|
|
421
|
-
"my": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
422
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
423
|
-
"description": PropTypes.string,
|
|
424
|
-
"toString": PropTypes.func.isRequired,
|
|
425
|
-
"valueOf": PropTypes.func.isRequired
|
|
426
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
427
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
428
|
-
"description": PropTypes.string,
|
|
429
|
-
"toString": PropTypes.func.isRequired,
|
|
430
|
-
"valueOf": PropTypes.func.isRequired
|
|
431
|
-
}), PropTypes.string]),
|
|
432
|
-
"name": PropTypes.string,
|
|
433
|
-
"onBlur": PropTypes.func,
|
|
434
|
-
"onChange": PropTypes.func.isRequired,
|
|
435
|
-
"readOnly": PropTypes.bool,
|
|
436
|
-
"required": PropTypes.bool,
|
|
437
|
-
"size": PropTypes.oneOf(["large", "medium", "small"]),
|
|
438
|
-
"toggleProps": PropTypes.shape({
|
|
439
|
-
"amToggleProps": PropTypes.shape({
|
|
440
|
-
"data-element": PropTypes.string,
|
|
441
|
-
"data-role": PropTypes.string
|
|
442
|
-
}),
|
|
443
|
-
"pmToggleProps": PropTypes.shape({
|
|
444
|
-
"data-element": PropTypes.string,
|
|
445
|
-
"data-role": PropTypes.string
|
|
446
|
-
}),
|
|
447
|
-
"wrapperProps": PropTypes.shape({
|
|
448
|
-
"data-element": PropTypes.string,
|
|
449
|
-
"data-role": PropTypes.string
|
|
450
|
-
})
|
|
451
|
-
}),
|
|
452
|
-
"value": PropTypes.shape({
|
|
453
|
-
"formattedHours": PropTypes.string,
|
|
454
|
-
"formattedMinutes": PropTypes.string,
|
|
455
|
-
"hours": PropTypes.string.isRequired,
|
|
456
|
-
"minutes": PropTypes.string.isRequired,
|
|
457
|
-
"period": PropTypes.oneOf(["AM", "PM"])
|
|
458
|
-
}).isRequired
|
|
459
|
-
};
|
|
460
|
-
}
|
|
461
249
|
Time.displayName = "Time";
|
|
462
250
|
export default Time;
|
|
@@ -3,7 +3,7 @@ import { TagProps } from "../../__internal__/utils/helpers/tags/tags";
|
|
|
3
3
|
declare type ToastVariants = "error" | "info" | "success" | "warning" | "notice" | "neutral" | "notification";
|
|
4
4
|
declare type AlignOptions = "left" | "center" | "right";
|
|
5
5
|
declare type AlignYOptions = "top" | "center" | "bottom";
|
|
6
|
-
export interface ToastProps {
|
|
6
|
+
export interface ToastProps extends TagProps {
|
|
7
7
|
/** Sets the horizontal alignment of the component. */
|
|
8
8
|
align?: AlignOptions;
|
|
9
9
|
/** Sets the vertical alignment of the component */
|
|
@@ -14,8 +14,6 @@ export interface ToastProps {
|
|
|
14
14
|
variant?: ToastVariants;
|
|
15
15
|
/** Custom id */
|
|
16
16
|
id?: string;
|
|
17
|
-
/** Component name */
|
|
18
|
-
"data-component"?: string;
|
|
19
17
|
/** Determines if the Toast is open. */
|
|
20
18
|
open?: boolean;
|
|
21
19
|
/** Callback for when dismissed. */
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import React, { useCallback, useEffect, useRef, useState } from "react";
|
|
3
|
-
import PropTypes from "prop-types";
|
|
4
3
|
import { TransitionGroup, CSSTransition } from "react-transition-group";
|
|
5
4
|
import Icon from "../icon";
|
|
6
5
|
import tagComponent from "../../__internal__/utils/helpers/tags/tags";
|
|
@@ -11,7 +10,7 @@ import useLocale from "../../hooks/__internal__/useLocale";
|
|
|
11
10
|
import useModalManager from "../../hooks/__internal__/useModalManager";
|
|
12
11
|
import guid from "../../__internal__/utils/helpers/guid";
|
|
13
12
|
import Typography from "../typography";
|
|
14
|
-
const Toast = /*#__PURE__*/React.forwardRef(({
|
|
13
|
+
export const Toast = /*#__PURE__*/React.forwardRef(({
|
|
15
14
|
align = "center",
|
|
16
15
|
alignY,
|
|
17
16
|
children,
|
|
@@ -125,7 +124,7 @@ const Toast = /*#__PURE__*/React.forwardRef(({
|
|
|
125
124
|
alignY: alignY,
|
|
126
125
|
isNotice: isNotice,
|
|
127
126
|
isNotification: isNotification
|
|
128
|
-
}, tagComponent(
|
|
127
|
+
}, tagComponent("toast", restProps), {
|
|
129
128
|
variant: toastVariant,
|
|
130
129
|
id: id,
|
|
131
130
|
maxWidth: maxWidth,
|
|
@@ -163,26 +162,5 @@ const Toast = /*#__PURE__*/React.forwardRef(({
|
|
|
163
162
|
"aria-labelledby": open ? ariaLabelledBy : undefined
|
|
164
163
|
}, /*#__PURE__*/React.createElement(TransitionGroup, null, renderToastContent())));
|
|
165
164
|
});
|
|
166
|
-
if (process.env.NODE_ENV !== "production") {
|
|
167
|
-
Toast.propTypes = {
|
|
168
|
-
"align": PropTypes.oneOf(["center", "left", "right"]),
|
|
169
|
-
"alignY": PropTypes.oneOf(["bottom", "center", "top"]),
|
|
170
|
-
"children": PropTypes.node,
|
|
171
|
-
"closeButtonDataProps": PropTypes.shape({
|
|
172
|
-
"data-element": PropTypes.string,
|
|
173
|
-
"data-role": PropTypes.string
|
|
174
|
-
}),
|
|
175
|
-
"data-component": PropTypes.string,
|
|
176
|
-
"disableAutoFocus": PropTypes.bool,
|
|
177
|
-
"id": PropTypes.string,
|
|
178
|
-
"maxWidth": PropTypes.string,
|
|
179
|
-
"onDismiss": PropTypes.func,
|
|
180
|
-
"open": PropTypes.bool,
|
|
181
|
-
"targetPortalId": PropTypes.string,
|
|
182
|
-
"timeout": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
183
|
-
"variant": PropTypes.oneOf(["error", "info", "neutral", "notice", "notification", "success", "warning"])
|
|
184
|
-
};
|
|
185
|
-
}
|
|
186
|
-
export { Toast };
|
|
187
165
|
Toast.displayName = "Toast";
|
|
188
166
|
export default Toast;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { TooltipPositions } from "./tooltip.config";
|
|
3
|
+
import { TagProps } from "../../__internal__/utils/helpers/tags/tags";
|
|
3
4
|
export declare type InputSizes = "small" | "medium" | "large";
|
|
4
|
-
export interface TooltipProps {
|
|
5
|
+
export interface TooltipProps extends TagProps {
|
|
5
6
|
/** The message to be displayed within the tooltip */
|
|
6
7
|
message: React.ReactNode;
|
|
7
8
|
/** The id attribute to use for the tooltip */
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import React, { useRef, useMemo, useCallback, useState, useEffect } from "react";
|
|
3
|
-
import PropTypes from "prop-types";
|
|
4
3
|
import invariant from "invariant";
|
|
5
4
|
import { offset, flip, shift, arrow, limitShift, autoUpdate, useFloating } from "@floating-ui/react-dom";
|
|
6
5
|
import StyledTooltip from "./tooltip.style";
|
|
@@ -18,7 +17,7 @@ function preserveRef(ref, node) {
|
|
|
18
17
|
}
|
|
19
18
|
}
|
|
20
19
|
const TOOLTIP_DELAY = 100;
|
|
21
|
-
const Tooltip = /*#__PURE__*/React.forwardRef(({
|
|
20
|
+
export const Tooltip = /*#__PURE__*/React.forwardRef(({
|
|
22
21
|
children,
|
|
23
22
|
isVisible,
|
|
24
23
|
position = "top",
|
|
@@ -182,29 +181,5 @@ const Tooltip = /*#__PURE__*/React.forwardRef(({
|
|
|
182
181
|
style: arrowStyle
|
|
183
182
|
}), message)) : null);
|
|
184
183
|
});
|
|
185
|
-
if (process.env.NODE_ENV !== "production") {
|
|
186
|
-
Tooltip.propTypes = {
|
|
187
|
-
"bgColor": PropTypes.string,
|
|
188
|
-
"children": PropTypes.element.isRequired,
|
|
189
|
-
"flipOverrides": PropTypes.arrayOf(PropTypes.oneOf(["bottom", "left", "right", "top"])),
|
|
190
|
-
"fontColor": PropTypes.string,
|
|
191
|
-
"id": PropTypes.string,
|
|
192
|
-
"inputSize": PropTypes.oneOf(["large", "medium", "small"]),
|
|
193
|
-
"isPartOfInput": PropTypes.bool,
|
|
194
|
-
"isVisible": PropTypes.bool,
|
|
195
|
-
"message": PropTypes.node,
|
|
196
|
-
"position": PropTypes.oneOf(["bottom", "left", "right", "top"]),
|
|
197
|
-
"size": PropTypes.oneOf(["large", "medium"]),
|
|
198
|
-
"target": function (props, propName) {
|
|
199
|
-
if (props[propName] == null) {
|
|
200
|
-
return null;
|
|
201
|
-
} else if (typeof props[propName] !== 'object' || props[propName].nodeType !== 1) {
|
|
202
|
-
return new Error("Expected prop '" + propName + "' to be of type Element");
|
|
203
|
-
}
|
|
204
|
-
},
|
|
205
|
-
"type": PropTypes.string
|
|
206
|
-
};
|
|
207
|
-
}
|
|
208
|
-
export { Tooltip };
|
|
209
184
|
Tooltip.displayName = "Tooltip";
|
|
210
185
|
export default Tooltip;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import React, { useContext } from "react";
|
|
3
|
-
import PropTypes from "prop-types";
|
|
4
3
|
import Typography from "./typography.component";
|
|
5
4
|
import ListContext from "./list.context";
|
|
6
5
|
const getListStyleType = as => {
|
|
@@ -63,6 +63,8 @@ export interface TypographyProps extends SpaceProps, TagProps {
|
|
|
63
63
|
* @ignore
|
|
64
64
|
* Sets className for component. INTERNAL USE ONLY. */
|
|
65
65
|
className?: string;
|
|
66
|
+
/** @private @internal @ignore */
|
|
67
|
+
"data-component"?: string;
|
|
66
68
|
}
|
|
67
69
|
export declare const Typography: {
|
|
68
70
|
({ "data-component": dataComponent, variant, as, id, fontSize, fontWeight, textTransform, lineHeight, textDecoration, display, listStyleType, whiteSpace, wordBreak, wordWrap, textAlign, textOverflow, truncate, color, backgroundColor, bg, opacity, children, screenReaderOnly, isDisabled, "aria-hidden": ariaHidden, className, ...rest }: TypographyProps): React.JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import React from "react";
|
|
3
|
-
import PropTypes from "prop-types";
|
|
4
3
|
import tagComponent from "../../__internal__/utils/helpers/tags";
|
|
5
4
|
import { filterStyledSystemMarginProps, filterStyledSystemPaddingProps } from "../../style/utils";
|
|
6
5
|
import StyledTypography from "./typography.style";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { SpaceProps } from "styled-system";
|
|
2
|
+
import { TagProps } from "../../__internal__/utils/helpers/tags";
|
|
2
3
|
declare type TintRange = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100;
|
|
3
|
-
export interface VerticalDividerProps extends SpaceProps {
|
|
4
|
+
export interface VerticalDividerProps extends SpaceProps, TagProps {
|
|
4
5
|
/** Shorthand for the height attribute */
|
|
5
6
|
h?: number | string;
|
|
6
7
|
/** Height attribute of the component */
|