carbon-react 151.0.0 → 151.2.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.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__/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.js +0 -1
- package/esm/components/accordion/accordion.component.js +1 -647
- 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.js +1 -175
- package/esm/components/advanced-color-picker/advanced-color-picker.component.js +0 -1
- package/esm/components/alert/alert.component.js +0 -1
- package/esm/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.component.js +0 -20
- package/esm/components/anchor-navigation/anchor-navigation.component.js +0 -9
- package/esm/components/badge/badge.component.js +0 -1
- package/esm/components/batch-selection/batch-selection.component.js +0 -1
- package/esm/components/box/box.component.js +1 -3788
- package/esm/components/breadcrumbs/breadcrumbs.component.js +1 -319
- package/esm/components/breadcrumbs/crumb/crumb.component.js +0 -68
- package/esm/components/button/button.component.js +0 -343
- package/esm/components/button-bar/button-bar.component.js +0 -1
- package/esm/components/button-minor/button-minor.component.js +1 -345
- package/esm/components/button-toggle/button-toggle-group/button-toggle-group.component.js +0 -1
- package/esm/components/button-toggle/button-toggle-icon.component.js +0 -1
- 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.js +0 -1
- package/esm/components/checkbox/checkbox-svg.component.js +0 -1
- package/esm/components/checkbox/checkbox.component.js +1 -579
- package/esm/components/confirm/confirm.component.js +0 -1
- package/esm/components/content/content.component.js +0 -1
- 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.js +12 -591
- package/esm/components/date-range/date-range.component.js +0 -1
- package/esm/components/decimal/decimal.component.js +1 -593
- package/esm/components/definition-list/dd/dd.component.js +0 -1
- package/esm/components/definition-list/dl.component.js +0 -1
- package/esm/components/definition-list/dt/dt.component.js +0 -1
- package/esm/components/detail/detail.component.js +0 -1
- package/esm/components/dialog/dialog.component.js +1 -69
- package/esm/components/dialog-full-screen/dialog-full-screen.component.js +0 -1
- package/esm/components/dismissible-box/dismissible-box.component.js +0 -1
- package/esm/components/draggable/__internal__/drop-target.component.js +0 -1
- package/esm/components/draggable/draggable-container.component.js +0 -164
- package/esm/components/draggable/draggable-item/draggable-item.component.js +0 -166
- package/esm/components/drawer/drawer.component.js +0 -1
- package/esm/components/duelling-picklist/duelling-picklist.component.js +0 -1
- 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.js +0 -1
- package/esm/components/file-input/__internal__/file-upload-status/file-upload-status.component.js +0 -1
- package/esm/components/file-input/file-input.component.js +1 -194
- 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.js +0 -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.js +0 -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.js +1 -24
- 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.js +0 -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.js +0 -1
- package/esm/components/form/required-fields-indicator/required-fields-indicator.component.js +0 -1
- package/esm/components/global-header/global-header.component.js +0 -1
- package/esm/components/grid/grid-container/grid-container.component.js +0 -1
- package/esm/components/grid/grid-item/grid-item.component.js +0 -1
- package/esm/components/grouped-character/grouped-character.component.js +1 -594
- package/esm/components/heading/heading.component.js +0 -1
- package/esm/components/help/help.component.js +1 -176
- package/esm/components/hr/hr.component.js +1 -166
- package/esm/components/i18n-provider/i18n-provider.component.js +0 -1
- package/esm/components/icon/icon.component.js +0 -184
- package/esm/components/icon-button/icon-button.component.js +0 -324
- package/esm/components/image/image.component.js +0 -1
- package/esm/components/inline-inputs/inline-inputs.component.js +0 -1
- package/esm/components/link/link.component.js +1 -81
- package/esm/components/link-preview/__internal__/placeholder.component.js +0 -1
- package/esm/components/link-preview/link-preview.component.js +0 -1
- 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.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 -8
- package/esm/components/menu/menu-full-screen/menu-full-screen.component.js +0 -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 -11
- package/esm/components/menu/menu.component.js +0 -1
- package/esm/components/menu/scrollable-block/scrollable-block.component.js +0 -1
- 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.js +1 -173
- 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.js +1 -1284
- package/esm/components/note/__internal__/status-icon/status-icon.component.js +0 -7
- package/esm/components/note/note.component.js +0 -1
- package/esm/components/number/number.component.js +1 -593
- package/esm/components/numeral-date/numeral-date.component.js +0 -1
- 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.js +0 -1
- package/esm/components/pages/page/page.component.js +0 -1
- package/esm/components/pages/pages.component.js +0 -1
- package/esm/components/password/password.component.js +0 -1
- package/esm/components/pill/pill.component.js +0 -1
- package/esm/components/pod/pod.component.js +0 -178
- package/esm/components/popover-container/popover-container.component.js +1 -182
- package/esm/components/portrait/portrait.component.js +0 -1
- package/esm/components/preview/preview.component.js +0 -1
- package/esm/components/profile/profile.component.js +0 -1
- package/esm/components/progress-tracker/progress-tracker.component.js +0 -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.js +1 -577
- package/esm/components/search/search.component.js +1 -185
- 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.js +0 -596
- package/esm/components/select/filterable-select/filterable-select.component.js +1 -611
- package/esm/components/select/multi-select/multi-select.component.js +1 -609
- package/esm/components/select/option/option.component.js +0 -457
- package/esm/components/select/option-group-header/option-group-header.component.js +0 -12
- package/esm/components/select/option-row/option-row.component.js +0 -16
- package/esm/components/select/simple-select/simple-select.component.js +1 -608
- 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.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.js +1 -177
- 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 -174
- package/esm/components/step-sequence/step-sequence-item/step-sequence-item.component.js +0 -1
- package/esm/components/step-sequence/step-sequence.component.js +0 -1
- package/esm/components/switch/__internal__/switch-slider.component.js +0 -1
- package/esm/components/switch/switch.component.js +1 -580
- 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.js +0 -1
- package/esm/components/tabs/tabs.component.js +0 -1
- 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.js +1 -587
- 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 +0 -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.js +0 -1
- package/esm/components/tile-select/tile-select.component.js +0 -182
- package/esm/components/time/__internal__/time-toggle/time-toggle.component.js +0 -1
- package/esm/components/time/time.component.js +0 -212
- package/esm/components/toast/toast.component.js +1 -24
- package/esm/components/tooltip/tooltip.component.js +1 -28
- package/esm/components/typography/list.component.js +0 -1
- package/esm/components/typography/typography.component.js +0 -1
- package/esm/components/vertical-divider/vertical-divider.component.js +1 -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.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__/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.js +0 -1
- package/lib/components/accordion/accordion.component.js +0 -645
- 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.js +0 -173
- package/lib/components/advanced-color-picker/advanced-color-picker.component.js +0 -1
- package/lib/components/alert/alert.component.js +0 -1
- package/lib/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.component.js +0 -20
- package/lib/components/anchor-navigation/anchor-navigation.component.js +0 -9
- package/lib/components/badge/badge.component.js +0 -2
- package/lib/components/batch-selection/batch-selection.component.js +0 -1
- package/lib/components/box/box.component.js +0 -3786
- package/lib/components/breadcrumbs/breadcrumbs.component.js +0 -317
- package/lib/components/breadcrumbs/crumb/crumb.component.js +0 -68
- package/lib/components/button/button.component.js +0 -343
- package/lib/components/button-bar/button-bar.component.js +0 -1
- package/lib/components/button-minor/button-minor.component.js +0 -343
- package/lib/components/button-toggle/button-toggle-group/button-toggle-group.component.js +0 -1
- package/lib/components/button-toggle/button-toggle-icon.component.js +0 -1
- 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.js +0 -1
- package/lib/components/checkbox/checkbox-svg.component.js +0 -1
- package/lib/components/checkbox/checkbox.component.js +0 -577
- package/lib/components/confirm/confirm.component.js +0 -1
- package/lib/components/content/content.component.js +0 -1
- 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.js +11 -589
- package/lib/components/date-range/date-range.component.js +0 -1
- package/lib/components/decimal/decimal.component.js +0 -591
- package/lib/components/definition-list/dd/dd.component.js +0 -1
- package/lib/components/definition-list/dl.component.js +0 -1
- package/lib/components/definition-list/dt/dt.component.js +0 -1
- package/lib/components/detail/detail.component.js +0 -1
- package/lib/components/dialog/dialog.component.js +0 -67
- package/lib/components/dialog-full-screen/dialog-full-screen.component.js +0 -1
- package/lib/components/dismissible-box/dismissible-box.component.js +0 -1
- package/lib/components/draggable/__internal__/drop-target.component.js +0 -1
- package/lib/components/draggable/draggable-container.component.js +0 -164
- package/lib/components/draggable/draggable-item/draggable-item.component.js +0 -166
- package/lib/components/drawer/drawer.component.js +0 -1
- package/lib/components/duelling-picklist/duelling-picklist.component.js +0 -1
- 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.js +0 -1
- package/lib/components/file-input/__internal__/file-upload-status/file-upload-status.component.js +0 -1
- package/lib/components/file-input/file-input.component.js +0 -192
- 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.js +0 -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.js +0 -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.js +0 -22
- 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.js +0 -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.js +0 -1
- package/lib/components/form/required-fields-indicator/required-fields-indicator.component.js +0 -1
- package/lib/components/global-header/global-header.component.js +0 -1
- package/lib/components/grid/grid-container/grid-container.component.js +0 -1
- package/lib/components/grid/grid-item/grid-item.component.js +0 -1
- package/lib/components/grouped-character/grouped-character.component.js +0 -592
- package/lib/components/heading/heading.component.js +0 -1
- package/lib/components/help/help.component.js +0 -174
- package/lib/components/hr/hr.component.js +0 -164
- package/lib/components/i18n-provider/i18n-provider.component.js +0 -1
- package/lib/components/icon/icon.component.js +0 -184
- package/lib/components/icon-button/icon-button.component.js +0 -324
- package/lib/components/image/image.component.js +0 -1
- package/lib/components/inline-inputs/inline-inputs.component.js +0 -1
- package/lib/components/link/link.component.js +0 -79
- package/lib/components/link-preview/__internal__/placeholder.component.js +0 -1
- package/lib/components/link-preview/link-preview.component.js +0 -1
- 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.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 -8
- package/lib/components/menu/menu-full-screen/menu-full-screen.component.js +0 -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 -11
- package/lib/components/menu/menu.component.js +0 -1
- package/lib/components/menu/scrollable-block/scrollable-block.component.js +0 -1
- 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.js +0 -171
- 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.js +0 -1282
- package/lib/components/note/__internal__/status-icon/status-icon.component.js +0 -7
- package/lib/components/note/note.component.js +0 -1
- package/lib/components/number/number.component.js +0 -591
- package/lib/components/numeral-date/numeral-date.component.js +0 -1
- 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.js +0 -1
- package/lib/components/pages/page/page.component.js +0 -1
- package/lib/components/pages/pages.component.js +0 -1
- package/lib/components/password/password.component.js +0 -1
- package/lib/components/pill/pill.component.js +0 -1
- package/lib/components/pod/pod.component.js +0 -178
- package/lib/components/popover-container/popover-container.component.js +0 -180
- package/lib/components/portrait/portrait.component.js +0 -1
- package/lib/components/preview/preview.component.js +0 -1
- package/lib/components/profile/profile.component.js +0 -1
- package/lib/components/progress-tracker/progress-tracker.component.js +0 -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.js +0 -575
- package/lib/components/search/search.component.js +0 -183
- 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.js +0 -596
- package/lib/components/select/filterable-select/filterable-select.component.js +0 -609
- package/lib/components/select/multi-select/multi-select.component.js +0 -607
- package/lib/components/select/option/option.component.js +0 -457
- package/lib/components/select/option-group-header/option-group-header.component.js +0 -12
- package/lib/components/select/option-row/option-row.component.js +0 -16
- package/lib/components/select/simple-select/simple-select.component.js +0 -606
- 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.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.js +0 -175
- 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 -172
- package/lib/components/step-sequence/step-sequence-item/step-sequence-item.component.js +0 -1
- package/lib/components/step-sequence/step-sequence.component.js +0 -1
- package/lib/components/switch/__internal__/switch-slider.component.js +0 -1
- package/lib/components/switch/switch.component.js +0 -578
- 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.js +0 -1
- package/lib/components/tabs/tabs.component.js +0 -1
- 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.js +0 -585
- 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 +0 -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.js +0 -1
- package/lib/components/tile-select/tile-select.component.js +0 -182
- package/lib/components/time/__internal__/time-toggle/time-toggle.component.js +0 -1
- package/lib/components/time/time.component.js +0 -212
- package/lib/components/toast/toast.component.js +0 -22
- package/lib/components/tooltip/tooltip.component.js +0 -26
- package/lib/components/typography/list.component.js +0 -1
- package/lib/components/typography/typography.component.js +0 -1
- package/lib/components/vertical-divider/vertical-divider.component.js +0 -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, { 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,31 +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
|
-
"data-element": PropTypes.string,
|
|
190
|
-
"data-role": PropTypes.string,
|
|
191
|
-
"flipOverrides": PropTypes.arrayOf(PropTypes.oneOf(["bottom", "left", "right", "top"])),
|
|
192
|
-
"fontColor": PropTypes.string,
|
|
193
|
-
"id": PropTypes.string,
|
|
194
|
-
"inputSize": PropTypes.oneOf(["large", "medium", "small"]),
|
|
195
|
-
"isPartOfInput": PropTypes.bool,
|
|
196
|
-
"isVisible": PropTypes.bool,
|
|
197
|
-
"message": PropTypes.node,
|
|
198
|
-
"position": PropTypes.oneOf(["bottom", "left", "right", "top"]),
|
|
199
|
-
"size": PropTypes.oneOf(["large", "medium"]),
|
|
200
|
-
"target": function (props, propName) {
|
|
201
|
-
if (props[propName] == null) {
|
|
202
|
-
return null;
|
|
203
|
-
} else if (typeof props[propName] !== 'object' || props[propName].nodeType !== 1) {
|
|
204
|
-
return new Error("Expected prop '" + propName + "' to be of type Element");
|
|
205
|
-
}
|
|
206
|
-
},
|
|
207
|
-
"type": PropTypes.string
|
|
208
|
-
};
|
|
209
|
-
}
|
|
210
|
-
export { Tooltip };
|
|
211
184
|
Tooltip.displayName = "Tooltip";
|
|
212
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 => {
|
|
@@ -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,10 +1,9 @@
|
|
|
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 MenuContext from "../menu/__internal__/menu.context";
|
|
5
4
|
import { StyledVerticalWrapper, StyledDivider } from "./vertical-divider.style";
|
|
6
5
|
import tagComponent from "../../__internal__/utils/helpers/tags";
|
|
7
|
-
const VerticalDivider = ({
|
|
6
|
+
export const VerticalDivider = ({
|
|
8
7
|
h,
|
|
9
8
|
height,
|
|
10
9
|
displayInline = false,
|
|
@@ -28,325 +27,5 @@ const VerticalDivider = ({
|
|
|
28
27
|
tint: tint
|
|
29
28
|
}));
|
|
30
29
|
};
|
|
31
|
-
if (process.env.NODE_ENV !== "production") {
|
|
32
|
-
VerticalDivider.propTypes = {
|
|
33
|
-
"aria-hidden": PropTypes.bool,
|
|
34
|
-
"data-element": PropTypes.string,
|
|
35
|
-
"data-role": PropTypes.string,
|
|
36
|
-
"displayInline": PropTypes.bool,
|
|
37
|
-
"h": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
38
|
-
"height": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
39
|
-
"m": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
40
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
41
|
-
"description": PropTypes.string,
|
|
42
|
-
"toString": PropTypes.func.isRequired,
|
|
43
|
-
"valueOf": PropTypes.func.isRequired
|
|
44
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
45
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
46
|
-
"description": PropTypes.string,
|
|
47
|
-
"toString": PropTypes.func.isRequired,
|
|
48
|
-
"valueOf": PropTypes.func.isRequired
|
|
49
|
-
}), PropTypes.string]),
|
|
50
|
-
"margin": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
51
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
52
|
-
"description": PropTypes.string,
|
|
53
|
-
"toString": PropTypes.func.isRequired,
|
|
54
|
-
"valueOf": PropTypes.func.isRequired
|
|
55
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
56
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
57
|
-
"description": PropTypes.string,
|
|
58
|
-
"toString": PropTypes.func.isRequired,
|
|
59
|
-
"valueOf": PropTypes.func.isRequired
|
|
60
|
-
}), PropTypes.string]),
|
|
61
|
-
"marginBottom": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
62
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
63
|
-
"description": PropTypes.string,
|
|
64
|
-
"toString": PropTypes.func.isRequired,
|
|
65
|
-
"valueOf": PropTypes.func.isRequired
|
|
66
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
67
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
68
|
-
"description": PropTypes.string,
|
|
69
|
-
"toString": PropTypes.func.isRequired,
|
|
70
|
-
"valueOf": PropTypes.func.isRequired
|
|
71
|
-
}), PropTypes.string]),
|
|
72
|
-
"marginLeft": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
73
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
74
|
-
"description": PropTypes.string,
|
|
75
|
-
"toString": PropTypes.func.isRequired,
|
|
76
|
-
"valueOf": PropTypes.func.isRequired
|
|
77
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
78
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
79
|
-
"description": PropTypes.string,
|
|
80
|
-
"toString": PropTypes.func.isRequired,
|
|
81
|
-
"valueOf": PropTypes.func.isRequired
|
|
82
|
-
}), PropTypes.string]),
|
|
83
|
-
"marginRight": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
84
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
85
|
-
"description": PropTypes.string,
|
|
86
|
-
"toString": PropTypes.func.isRequired,
|
|
87
|
-
"valueOf": PropTypes.func.isRequired
|
|
88
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
89
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
90
|
-
"description": PropTypes.string,
|
|
91
|
-
"toString": PropTypes.func.isRequired,
|
|
92
|
-
"valueOf": PropTypes.func.isRequired
|
|
93
|
-
}), PropTypes.string]),
|
|
94
|
-
"marginTop": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
95
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
96
|
-
"description": PropTypes.string,
|
|
97
|
-
"toString": PropTypes.func.isRequired,
|
|
98
|
-
"valueOf": PropTypes.func.isRequired
|
|
99
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
100
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
101
|
-
"description": PropTypes.string,
|
|
102
|
-
"toString": PropTypes.func.isRequired,
|
|
103
|
-
"valueOf": PropTypes.func.isRequired
|
|
104
|
-
}), PropTypes.string]),
|
|
105
|
-
"marginX": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
106
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
107
|
-
"description": PropTypes.string,
|
|
108
|
-
"toString": PropTypes.func.isRequired,
|
|
109
|
-
"valueOf": PropTypes.func.isRequired
|
|
110
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
111
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
112
|
-
"description": PropTypes.string,
|
|
113
|
-
"toString": PropTypes.func.isRequired,
|
|
114
|
-
"valueOf": PropTypes.func.isRequired
|
|
115
|
-
}), PropTypes.string]),
|
|
116
|
-
"marginY": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
117
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
118
|
-
"description": PropTypes.string,
|
|
119
|
-
"toString": PropTypes.func.isRequired,
|
|
120
|
-
"valueOf": PropTypes.func.isRequired
|
|
121
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
122
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
123
|
-
"description": PropTypes.string,
|
|
124
|
-
"toString": PropTypes.func.isRequired,
|
|
125
|
-
"valueOf": PropTypes.func.isRequired
|
|
126
|
-
}), PropTypes.string]),
|
|
127
|
-
"mb": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
128
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
129
|
-
"description": PropTypes.string,
|
|
130
|
-
"toString": PropTypes.func.isRequired,
|
|
131
|
-
"valueOf": PropTypes.func.isRequired
|
|
132
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
133
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
134
|
-
"description": PropTypes.string,
|
|
135
|
-
"toString": PropTypes.func.isRequired,
|
|
136
|
-
"valueOf": PropTypes.func.isRequired
|
|
137
|
-
}), PropTypes.string]),
|
|
138
|
-
"ml": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
139
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
140
|
-
"description": PropTypes.string,
|
|
141
|
-
"toString": PropTypes.func.isRequired,
|
|
142
|
-
"valueOf": PropTypes.func.isRequired
|
|
143
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
144
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
145
|
-
"description": PropTypes.string,
|
|
146
|
-
"toString": PropTypes.func.isRequired,
|
|
147
|
-
"valueOf": PropTypes.func.isRequired
|
|
148
|
-
}), PropTypes.string]),
|
|
149
|
-
"mr": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
150
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
151
|
-
"description": PropTypes.string,
|
|
152
|
-
"toString": PropTypes.func.isRequired,
|
|
153
|
-
"valueOf": PropTypes.func.isRequired
|
|
154
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
155
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
156
|
-
"description": PropTypes.string,
|
|
157
|
-
"toString": PropTypes.func.isRequired,
|
|
158
|
-
"valueOf": PropTypes.func.isRequired
|
|
159
|
-
}), PropTypes.string]),
|
|
160
|
-
"mt": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
161
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
162
|
-
"description": PropTypes.string,
|
|
163
|
-
"toString": PropTypes.func.isRequired,
|
|
164
|
-
"valueOf": PropTypes.func.isRequired
|
|
165
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
166
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
167
|
-
"description": PropTypes.string,
|
|
168
|
-
"toString": PropTypes.func.isRequired,
|
|
169
|
-
"valueOf": PropTypes.func.isRequired
|
|
170
|
-
}), PropTypes.string]),
|
|
171
|
-
"mx": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
172
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
173
|
-
"description": PropTypes.string,
|
|
174
|
-
"toString": PropTypes.func.isRequired,
|
|
175
|
-
"valueOf": PropTypes.func.isRequired
|
|
176
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
177
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
178
|
-
"description": PropTypes.string,
|
|
179
|
-
"toString": PropTypes.func.isRequired,
|
|
180
|
-
"valueOf": PropTypes.func.isRequired
|
|
181
|
-
}), PropTypes.string]),
|
|
182
|
-
"my": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
183
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
184
|
-
"description": PropTypes.string,
|
|
185
|
-
"toString": PropTypes.func.isRequired,
|
|
186
|
-
"valueOf": PropTypes.func.isRequired
|
|
187
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
188
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
189
|
-
"description": PropTypes.string,
|
|
190
|
-
"toString": PropTypes.func.isRequired,
|
|
191
|
-
"valueOf": PropTypes.func.isRequired
|
|
192
|
-
}), PropTypes.string]),
|
|
193
|
-
"p": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
194
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
195
|
-
"description": PropTypes.string,
|
|
196
|
-
"toString": PropTypes.func.isRequired,
|
|
197
|
-
"valueOf": PropTypes.func.isRequired
|
|
198
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
199
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
200
|
-
"description": PropTypes.string,
|
|
201
|
-
"toString": PropTypes.func.isRequired,
|
|
202
|
-
"valueOf": PropTypes.func.isRequired
|
|
203
|
-
}), PropTypes.string]),
|
|
204
|
-
"padding": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
205
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
206
|
-
"description": PropTypes.string,
|
|
207
|
-
"toString": PropTypes.func.isRequired,
|
|
208
|
-
"valueOf": PropTypes.func.isRequired
|
|
209
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
210
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
211
|
-
"description": PropTypes.string,
|
|
212
|
-
"toString": PropTypes.func.isRequired,
|
|
213
|
-
"valueOf": PropTypes.func.isRequired
|
|
214
|
-
}), PropTypes.string]),
|
|
215
|
-
"paddingBottom": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
216
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
217
|
-
"description": PropTypes.string,
|
|
218
|
-
"toString": PropTypes.func.isRequired,
|
|
219
|
-
"valueOf": PropTypes.func.isRequired
|
|
220
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
221
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
222
|
-
"description": PropTypes.string,
|
|
223
|
-
"toString": PropTypes.func.isRequired,
|
|
224
|
-
"valueOf": PropTypes.func.isRequired
|
|
225
|
-
}), PropTypes.string]),
|
|
226
|
-
"paddingLeft": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
227
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
228
|
-
"description": PropTypes.string,
|
|
229
|
-
"toString": PropTypes.func.isRequired,
|
|
230
|
-
"valueOf": PropTypes.func.isRequired
|
|
231
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
232
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
233
|
-
"description": PropTypes.string,
|
|
234
|
-
"toString": PropTypes.func.isRequired,
|
|
235
|
-
"valueOf": PropTypes.func.isRequired
|
|
236
|
-
}), PropTypes.string]),
|
|
237
|
-
"paddingRight": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
238
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
239
|
-
"description": PropTypes.string,
|
|
240
|
-
"toString": PropTypes.func.isRequired,
|
|
241
|
-
"valueOf": PropTypes.func.isRequired
|
|
242
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
243
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
244
|
-
"description": PropTypes.string,
|
|
245
|
-
"toString": PropTypes.func.isRequired,
|
|
246
|
-
"valueOf": PropTypes.func.isRequired
|
|
247
|
-
}), PropTypes.string]),
|
|
248
|
-
"paddingTop": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
249
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
250
|
-
"description": PropTypes.string,
|
|
251
|
-
"toString": PropTypes.func.isRequired,
|
|
252
|
-
"valueOf": PropTypes.func.isRequired
|
|
253
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
254
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
255
|
-
"description": PropTypes.string,
|
|
256
|
-
"toString": PropTypes.func.isRequired,
|
|
257
|
-
"valueOf": PropTypes.func.isRequired
|
|
258
|
-
}), PropTypes.string]),
|
|
259
|
-
"paddingX": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
260
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
261
|
-
"description": PropTypes.string,
|
|
262
|
-
"toString": PropTypes.func.isRequired,
|
|
263
|
-
"valueOf": PropTypes.func.isRequired
|
|
264
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
265
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
266
|
-
"description": PropTypes.string,
|
|
267
|
-
"toString": PropTypes.func.isRequired,
|
|
268
|
-
"valueOf": PropTypes.func.isRequired
|
|
269
|
-
}), PropTypes.string]),
|
|
270
|
-
"paddingY": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
271
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
272
|
-
"description": PropTypes.string,
|
|
273
|
-
"toString": PropTypes.func.isRequired,
|
|
274
|
-
"valueOf": PropTypes.func.isRequired
|
|
275
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
276
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
277
|
-
"description": PropTypes.string,
|
|
278
|
-
"toString": PropTypes.func.isRequired,
|
|
279
|
-
"valueOf": PropTypes.func.isRequired
|
|
280
|
-
}), PropTypes.string]),
|
|
281
|
-
"pb": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
282
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
283
|
-
"description": PropTypes.string,
|
|
284
|
-
"toString": PropTypes.func.isRequired,
|
|
285
|
-
"valueOf": PropTypes.func.isRequired
|
|
286
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
287
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
288
|
-
"description": PropTypes.string,
|
|
289
|
-
"toString": PropTypes.func.isRequired,
|
|
290
|
-
"valueOf": PropTypes.func.isRequired
|
|
291
|
-
}), PropTypes.string]),
|
|
292
|
-
"pl": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
293
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
294
|
-
"description": PropTypes.string,
|
|
295
|
-
"toString": PropTypes.func.isRequired,
|
|
296
|
-
"valueOf": PropTypes.func.isRequired
|
|
297
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
298
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
299
|
-
"description": PropTypes.string,
|
|
300
|
-
"toString": PropTypes.func.isRequired,
|
|
301
|
-
"valueOf": PropTypes.func.isRequired
|
|
302
|
-
}), PropTypes.string]),
|
|
303
|
-
"pr": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
304
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
305
|
-
"description": PropTypes.string,
|
|
306
|
-
"toString": PropTypes.func.isRequired,
|
|
307
|
-
"valueOf": PropTypes.func.isRequired
|
|
308
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
309
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
310
|
-
"description": PropTypes.string,
|
|
311
|
-
"toString": PropTypes.func.isRequired,
|
|
312
|
-
"valueOf": PropTypes.func.isRequired
|
|
313
|
-
}), PropTypes.string]),
|
|
314
|
-
"pt": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
315
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
316
|
-
"description": PropTypes.string,
|
|
317
|
-
"toString": PropTypes.func.isRequired,
|
|
318
|
-
"valueOf": PropTypes.func.isRequired
|
|
319
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
320
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
321
|
-
"description": PropTypes.string,
|
|
322
|
-
"toString": PropTypes.func.isRequired,
|
|
323
|
-
"valueOf": PropTypes.func.isRequired
|
|
324
|
-
}), PropTypes.string]),
|
|
325
|
-
"px": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
326
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
327
|
-
"description": PropTypes.string,
|
|
328
|
-
"toString": PropTypes.func.isRequired,
|
|
329
|
-
"valueOf": PropTypes.func.isRequired
|
|
330
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
331
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
332
|
-
"description": PropTypes.string,
|
|
333
|
-
"toString": PropTypes.func.isRequired,
|
|
334
|
-
"valueOf": PropTypes.func.isRequired
|
|
335
|
-
}), PropTypes.string]),
|
|
336
|
-
"py": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
337
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
338
|
-
"description": PropTypes.string,
|
|
339
|
-
"toString": PropTypes.func.isRequired,
|
|
340
|
-
"valueOf": PropTypes.func.isRequired
|
|
341
|
-
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
342
|
-
"__@toStringTag": PropTypes.string.isRequired,
|
|
343
|
-
"description": PropTypes.string,
|
|
344
|
-
"toString": PropTypes.func.isRequired,
|
|
345
|
-
"valueOf": PropTypes.func.isRequired
|
|
346
|
-
}), PropTypes.string]),
|
|
347
|
-
"tint": PropTypes.oneOf([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])
|
|
348
|
-
};
|
|
349
|
-
}
|
|
350
|
-
export { VerticalDivider };
|
|
351
30
|
VerticalDivider.displayName = "VerticalDivider";
|
|
352
31
|
export default VerticalDivider;
|
|
@@ -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, useRef } from "react";
|
|
3
|
-
import PropTypes from "prop-types";
|
|
4
3
|
import tagComponent from "../../../__internal__/utils/helpers/tags";
|
|
5
4
|
import useLocale from "../../../hooks/__internal__/useLocale";
|
|
6
5
|
import Portal from "../../portal";
|
|
@@ -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, { useState, useContext } from "react";
|
|
3
|
-
import PropTypes from "prop-types";
|
|
4
3
|
import tagComponent from "../../../__internal__/utils/helpers/tags";
|
|
5
4
|
import { filterStyledSystemPaddingProps } from "../../../style/utils";
|
|
6
5
|
import VerticalMenuFullScreenContext from "../vertical-menu-full-screen/__internal__/vertical-menu-full-screen.context";
|
package/esm/components/vertical-menu/vertical-menu-trigger/vertical-menu-trigger.component.js
CHANGED
|
@@ -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 { filterStyledSystemPaddingProps } from "../../../style/utils";
|
|
6
5
|
import { StyledVerticalMenuItem, StyledTitle } from "../vertical-menu.style";
|
|
@@ -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 { StyledVerticalMenu, StyledList } from "./vertical-menu.style";
|
|
6
5
|
export const VerticalMenu = ({
|
|
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
8
|
var _characterCount = require("./character-count.style");
|
|
10
9
|
var _useLocale = _interopRequireDefault(require("../../hooks/__internal__/useLocale"));
|
|
11
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|