@carbon/web-components 2.47.0 → 2.48.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/custom-elements.json +963 -145
- package/es/components/accordion/accordion-item.d.ts +28 -12
- package/es/components/accordion/accordion-item.js +7 -5
- package/es/components/accordion/accordion-item.js.map +1 -1
- package/es/components/accordion/accordion-skeleton.d.ts +1 -1
- package/es/components/accordion/accordion-skeleton.js +7 -5
- package/es/components/accordion/accordion-skeleton.js.map +1 -1
- package/es/components/accordion/accordion.d.ts +1 -1
- package/es/components/accordion/accordion.js +7 -5
- package/es/components/accordion/accordion.js.map +1 -1
- package/es/components/ai-label/ai-label.d.ts +1 -1
- package/es/components/ai-label/ai-label.js +6 -5
- package/es/components/ai-label/ai-label.js.map +1 -1
- package/es/components/button/button.d.ts +56 -22
- package/es/components/checkbox/checkbox-group.d.ts +2 -0
- package/es/components/checkbox/checkbox.d.ts +57 -23
- package/es/components/checkbox/checkbox.js +7 -5
- package/es/components/checkbox/checkbox.js.map +1 -1
- package/es/components/code-snippet/code-snippet.d.ts +29 -11
- package/es/components/code-snippet/code-snippet.js +15 -14
- package/es/components/code-snippet/code-snippet.js.map +1 -1
- package/es/components/combo-box/combo-box.scss.js +1 -1
- package/es/components/combo-button/combo-button.d.ts +27 -11
- package/es/components/content-switcher/content-switcher-item.d.ts +29 -11
- package/es/components/copy-button/copy-button.d.ts +27 -11
- package/es/components/data-table/table-expanded-row.d.ts +28 -12
- package/es/components/data-table/table-expanded-row.js +7 -5
- package/es/components/data-table/table-expanded-row.js.map +1 -1
- package/es/components/data-table/table-header-cell.d.ts +29 -11
- package/es/components/data-table/table-row.d.ts +54 -22
- package/es/components/data-table/table-toolbar-search.d.ts +29 -11
- package/es/components/data-table/table.d.ts +28 -12
- package/es/components/data-table/table.js +9 -8
- package/es/components/data-table/table.js.map +1 -1
- package/es/components/date-picker/date-picker-input.d.ts +29 -11
- package/es/components/date-picker/date-picker.d.ts +54 -22
- package/es/components/dropdown/dropdown.d.ts +110 -44
- package/es/components/dropdown/dropdown.js +8 -6
- package/es/components/dropdown/dropdown.js.map +1 -1
- package/es/components/file-uploader/file-uploader-button.d.ts +27 -11
- package/es/components/file-uploader/file-uploader-drop-container.d.ts +27 -11
- package/es/components/floating-menu/floating-menu.d.ts +56 -22
- package/es/components/fluid-select/fluid-select.d.ts +5 -0
- package/es/components/fluid-select/fluid-select.js +50 -1
- package/es/components/fluid-select/fluid-select.js.map +1 -1
- package/es/components/fluid-textarea/fluid-textarea-skeleton.d.ts +3 -3
- package/es/components/fluid-textarea/fluid-textarea-skeleton.js +3 -3
- package/es/components/fluid-textarea/fluid-textarea-skeleton.js.map +1 -1
- package/es/components/fluid-time-picker/fluid-time-picker-select.d.ts +21 -0
- package/es/components/fluid-time-picker/fluid-time-picker-select.js +53 -0
- package/es/components/fluid-time-picker/fluid-time-picker-select.js.map +1 -0
- package/es/components/fluid-time-picker/fluid-time-picker-skeleton.d.ts +23 -0
- package/es/components/fluid-time-picker/fluid-time-picker-skeleton.js +63 -0
- package/es/components/fluid-time-picker/fluid-time-picker-skeleton.js.map +1 -0
- package/es/components/fluid-time-picker/fluid-time-picker.d.ts +32 -0
- package/es/components/fluid-time-picker/fluid-time-picker.js +239 -0
- package/es/components/fluid-time-picker/fluid-time-picker.js.map +1 -0
- package/es/components/fluid-time-picker/fluid-time-picker.scss.js +13 -0
- package/es/components/fluid-time-picker/fluid-time-picker.scss.js.map +1 -0
- package/es/components/fluid-time-picker/index.d.ts +9 -0
- package/es/components/fluid-time-picker/index.js +11 -0
- package/es/components/fluid-time-picker/index.js.map +1 -0
- package/es/components/grid/column.d.ts +3 -1
- package/es/components/grid/column.js +6 -0
- package/es/components/grid/column.js.map +1 -1
- package/es/components/icon-button/icon-button.d.ts +1 -1
- package/es/components/icon-button/icon-button.js +6 -5
- package/es/components/icon-button/icon-button.js.map +1 -1
- package/es/components/link/link.d.ts +29 -11
- package/es/components/menu/menu-item-selectable.d.ts +5 -3
- package/es/components/menu/menu-item-selectable.js +3 -3
- package/es/components/menu/menu-item-selectable.js.map +1 -1
- package/es/components/menu/menu-item.d.ts +68 -23
- package/es/components/menu/menu-item.js +37 -2
- package/es/components/menu/menu-item.js.map +1 -1
- package/es/components/menu/menu.d.ts +27 -11
- package/es/components/menu-button/menu-button.d.ts +27 -11
- package/es/components/modal/modal-close-button.d.ts +29 -11
- package/es/components/modal/modal.d.ts +27 -11
- package/es/components/modal/modal.js +6 -4
- package/es/components/modal/modal.js.map +1 -1
- package/es/components/multi-select/multi-select.js +12 -8
- package/es/components/multi-select/multi-select.js.map +1 -1
- package/es/components/notification/actionable-notification.d.ts +27 -11
- package/es/components/notification/actionable-notification.scss.js +1 -1
- package/es/components/notification/inline-notification.d.ts +27 -11
- package/es/components/notification/inline-notification.scss.js +1 -1
- package/es/components/notification/toast-notification.scss.js +1 -1
- package/es/components/number-input/number-input.d.ts +2 -0
- package/es/components/overflow-menu/overflow-menu-item.d.ts +29 -11
- package/es/components/overflow-menu/overflow-menu.d.ts +54 -22
- package/es/components/pagination/pagination.d.ts +56 -22
- package/es/components/pagination-nav/defs.d.ts +61 -0
- package/es/components/pagination-nav/defs.js +74 -0
- package/es/components/pagination-nav/defs.js.map +1 -0
- package/es/components/pagination-nav/index.d.ts +7 -0
- package/es/components/pagination-nav/index.js +9 -0
- package/es/components/pagination-nav/index.js.map +1 -0
- package/es/components/pagination-nav/pagination-nav.d.ts +109 -0
- package/es/components/pagination-nav/pagination-nav.js +427 -0
- package/es/components/pagination-nav/pagination-nav.js.map +1 -0
- package/es/components/pagination-nav/pagination-nav.scss.js +13 -0
- package/es/components/pagination-nav/pagination-nav.scss.js.map +1 -0
- package/es/components/password-input/password-input.d.ts +2 -0
- package/es/components/popover/popover.d.ts +27 -11
- package/es/components/popover/popover.js +1 -1
- package/es/components/popover/popover.js.map +1 -1
- package/es/components/progress-indicator/progress-step.d.ts +29 -11
- package/es/components/radio-button/radio-button-group.d.ts +54 -22
- package/es/components/radio-button/radio-button.d.ts +57 -23
- package/es/components/radio-button/radio-button.js +7 -5
- package/es/components/radio-button/radio-button.js.map +1 -1
- package/es/components/search/search.d.ts +83 -33
- package/es/components/select/select.d.ts +29 -11
- package/es/components/side-panel/side-panel.d.ts +27 -11
- package/es/components/skip-to-content/skip-to-content.d.ts +29 -11
- package/es/components/slider/slider-input.d.ts +29 -11
- package/es/components/slider/slider.d.ts +84 -34
- package/es/components/slider/slider.js +9 -7
- package/es/components/slider/slider.js.map +1 -1
- package/es/components/slug/slug.d.ts +1 -1
- package/es/components/slug/slug.js +6 -4
- package/es/components/slug/slug.js.map +1 -1
- package/es/components/structured-list/structured-list-row.d.ts +27 -11
- package/es/components/structured-list/structured-list.d.ts +30 -12
- package/es/components/structured-list/structured-list.js +7 -5
- package/es/components/structured-list/structured-list.js.map +1 -1
- package/es/components/tabs/tabs.d.ts +27 -11
- package/es/components/tag/dismissible-tag.d.ts +54 -22
- package/es/components/tag/operational-tag.d.ts +54 -22
- package/es/components/tag/selectable-tag.d.ts +54 -22
- package/es/components/tag/tag.d.ts +54 -22
- package/es/components/tearsheet/tearsheet.d.ts +27 -11
- package/es/components/text-input/text-input.d.ts +56 -22
- package/es/components/textarea/textarea.d.ts +2 -0
- package/es/components/tile/expandable-tile.d.ts +54 -22
- package/es/components/tile/selectable-tile.d.ts +56 -22
- package/es/components/tile/tile-group.d.ts +27 -11
- package/es/components/time-picker/time-picker-select.d.ts +29 -11
- package/es/components/time-picker/time-picker.d.ts +56 -22
- package/es/components/toggle/toggle.d.ts +27 -11
- package/es/components/toggle-tip/toggletip.d.ts +57 -23
- package/es/components/toggle-tip/toggletip.js +7 -5
- package/es/components/toggle-tip/toggletip.js.map +1 -1
- package/es/components/tooltip/tooltip.d.ts +28 -12
- package/es/components/tooltip/tooltip.js +7 -5
- package/es/components/tooltip/tooltip.js.map +1 -1
- package/es/components/tree-view/tree-view.d.ts +28 -12
- package/es/components/tree-view/tree-view.js +7 -5
- package/es/components/tree-view/tree-view.js.map +1 -1
- package/es/components/ui-shell/header-global-action.d.ts +2 -0
- package/es/components/ui-shell/header-menu-button.d.ts +29 -11
- package/es/components/ui-shell/header-menu.d.ts +56 -22
- package/es/components/ui-shell/header-name.d.ts +29 -11
- package/es/components/ui-shell/header-nav-item.d.ts +29 -11
- package/es/components/ui-shell/header-panel.d.ts +2 -0
- package/es/components/ui-shell/side-nav-link.d.ts +29 -11
- package/es/components/ui-shell/side-nav-menu-item.d.ts +29 -11
- package/es/components/ui-shell/side-nav-menu.d.ts +29 -11
- package/es/components/ui-shell/side-nav.d.ts +27 -11
- package/es/components/ui-shell/switcher-item.d.ts +29 -11
- package/es/components/ui-shell/switcher.d.ts +2 -0
- package/es/globals/mixins/focus.d.ts +27 -11
- package/es/globals/mixins/form.d.ts +27 -11
- package/es/globals/mixins/host-listener.d.ts +27 -11
- package/es/globals/mixins/validity.d.ts +27 -11
- package/es-custom/components/accordion/accordion-item.d.ts +28 -12
- package/es-custom/components/accordion/accordion-item.js +7 -5
- package/es-custom/components/accordion/accordion-item.js.map +1 -1
- package/es-custom/components/accordion/accordion-skeleton.d.ts +1 -1
- package/es-custom/components/accordion/accordion-skeleton.js +7 -5
- package/es-custom/components/accordion/accordion-skeleton.js.map +1 -1
- package/es-custom/components/accordion/accordion.d.ts +1 -1
- package/es-custom/components/accordion/accordion.js +7 -5
- package/es-custom/components/accordion/accordion.js.map +1 -1
- package/es-custom/components/ai-label/ai-label.d.ts +1 -1
- package/es-custom/components/ai-label/ai-label.js +6 -5
- package/es-custom/components/ai-label/ai-label.js.map +1 -1
- package/es-custom/components/button/button.d.ts +56 -22
- package/es-custom/components/checkbox/checkbox-group.d.ts +2 -0
- package/es-custom/components/checkbox/checkbox.d.ts +57 -23
- package/es-custom/components/checkbox/checkbox.js +7 -5
- package/es-custom/components/checkbox/checkbox.js.map +1 -1
- package/es-custom/components/code-snippet/code-snippet.d.ts +29 -11
- package/es-custom/components/code-snippet/code-snippet.js +15 -14
- package/es-custom/components/code-snippet/code-snippet.js.map +1 -1
- package/es-custom/components/combo-box/combo-box.scss.js +1 -1
- package/es-custom/components/combo-button/combo-button.d.ts +27 -11
- package/es-custom/components/content-switcher/content-switcher-item.d.ts +29 -11
- package/es-custom/components/copy-button/copy-button.d.ts +27 -11
- package/es-custom/components/data-table/table-expanded-row.d.ts +28 -12
- package/es-custom/components/data-table/table-expanded-row.js +7 -5
- package/es-custom/components/data-table/table-expanded-row.js.map +1 -1
- package/es-custom/components/data-table/table-header-cell.d.ts +29 -11
- package/es-custom/components/data-table/table-row.d.ts +54 -22
- package/es-custom/components/data-table/table-toolbar-search.d.ts +29 -11
- package/es-custom/components/data-table/table.d.ts +28 -12
- package/es-custom/components/data-table/table.js +9 -8
- package/es-custom/components/data-table/table.js.map +1 -1
- package/es-custom/components/date-picker/date-picker-input.d.ts +29 -11
- package/es-custom/components/date-picker/date-picker.d.ts +54 -22
- package/es-custom/components/dropdown/dropdown.d.ts +110 -44
- package/es-custom/components/dropdown/dropdown.js +8 -6
- package/es-custom/components/dropdown/dropdown.js.map +1 -1
- package/es-custom/components/file-uploader/file-uploader-button.d.ts +27 -11
- package/es-custom/components/file-uploader/file-uploader-drop-container.d.ts +27 -11
- package/es-custom/components/floating-menu/floating-menu.d.ts +56 -22
- package/es-custom/components/fluid-select/fluid-select.d.ts +5 -0
- package/es-custom/components/fluid-select/fluid-select.js +50 -1
- package/es-custom/components/fluid-select/fluid-select.js.map +1 -1
- package/es-custom/components/fluid-textarea/fluid-textarea-skeleton.d.ts +3 -3
- package/es-custom/components/fluid-textarea/fluid-textarea-skeleton.js +3 -3
- package/es-custom/components/fluid-textarea/fluid-textarea-skeleton.js.map +1 -1
- package/es-custom/components/fluid-time-picker/fluid-time-picker-select.d.ts +21 -0
- package/es-custom/components/fluid-time-picker/fluid-time-picker-select.js +53 -0
- package/es-custom/components/fluid-time-picker/fluid-time-picker-select.js.map +1 -0
- package/es-custom/components/fluid-time-picker/fluid-time-picker-skeleton.d.ts +23 -0
- package/es-custom/components/fluid-time-picker/fluid-time-picker-skeleton.js +63 -0
- package/es-custom/components/fluid-time-picker/fluid-time-picker-skeleton.js.map +1 -0
- package/es-custom/components/fluid-time-picker/fluid-time-picker.d.ts +32 -0
- package/es-custom/components/fluid-time-picker/fluid-time-picker.js +239 -0
- package/es-custom/components/fluid-time-picker/fluid-time-picker.js.map +1 -0
- package/es-custom/components/fluid-time-picker/fluid-time-picker.scss.js +13 -0
- package/es-custom/components/fluid-time-picker/fluid-time-picker.scss.js.map +1 -0
- package/es-custom/components/fluid-time-picker/index.d.ts +9 -0
- package/es-custom/components/fluid-time-picker/index.js +11 -0
- package/es-custom/components/fluid-time-picker/index.js.map +1 -0
- package/es-custom/components/grid/column.d.ts +3 -1
- package/es-custom/components/grid/column.js +6 -0
- package/es-custom/components/grid/column.js.map +1 -1
- package/es-custom/components/icon-button/icon-button.d.ts +1 -1
- package/es-custom/components/icon-button/icon-button.js +6 -5
- package/es-custom/components/icon-button/icon-button.js.map +1 -1
- package/es-custom/components/link/link.d.ts +29 -11
- package/es-custom/components/menu/menu-item-selectable.d.ts +5 -3
- package/es-custom/components/menu/menu-item-selectable.js +3 -3
- package/es-custom/components/menu/menu-item-selectable.js.map +1 -1
- package/es-custom/components/menu/menu-item.d.ts +68 -23
- package/es-custom/components/menu/menu-item.js +37 -2
- package/es-custom/components/menu/menu-item.js.map +1 -1
- package/es-custom/components/menu/menu.d.ts +27 -11
- package/es-custom/components/menu-button/menu-button.d.ts +27 -11
- package/es-custom/components/modal/modal-close-button.d.ts +29 -11
- package/es-custom/components/modal/modal.d.ts +27 -11
- package/es-custom/components/modal/modal.js +6 -4
- package/es-custom/components/modal/modal.js.map +1 -1
- package/es-custom/components/multi-select/multi-select.js +12 -8
- package/es-custom/components/multi-select/multi-select.js.map +1 -1
- package/es-custom/components/notification/actionable-notification.d.ts +27 -11
- package/es-custom/components/notification/actionable-notification.scss.js +1 -1
- package/es-custom/components/notification/inline-notification.d.ts +27 -11
- package/es-custom/components/notification/inline-notification.scss.js +1 -1
- package/es-custom/components/notification/toast-notification.scss.js +1 -1
- package/es-custom/components/number-input/number-input.d.ts +2 -0
- package/es-custom/components/overflow-menu/overflow-menu-item.d.ts +29 -11
- package/es-custom/components/overflow-menu/overflow-menu.d.ts +54 -22
- package/es-custom/components/pagination/pagination.d.ts +56 -22
- package/es-custom/components/pagination-nav/defs.d.ts +61 -0
- package/es-custom/components/pagination-nav/defs.js +74 -0
- package/es-custom/components/pagination-nav/defs.js.map +1 -0
- package/es-custom/components/pagination-nav/index.d.ts +7 -0
- package/es-custom/components/pagination-nav/index.js +9 -0
- package/es-custom/components/pagination-nav/index.js.map +1 -0
- package/es-custom/components/pagination-nav/pagination-nav.d.ts +109 -0
- package/es-custom/components/pagination-nav/pagination-nav.js +427 -0
- package/es-custom/components/pagination-nav/pagination-nav.js.map +1 -0
- package/es-custom/components/pagination-nav/pagination-nav.scss.js +13 -0
- package/es-custom/components/pagination-nav/pagination-nav.scss.js.map +1 -0
- package/es-custom/components/password-input/password-input.d.ts +2 -0
- package/es-custom/components/popover/popover.d.ts +27 -11
- package/es-custom/components/popover/popover.js +1 -1
- package/es-custom/components/popover/popover.js.map +1 -1
- package/es-custom/components/progress-indicator/progress-step.d.ts +29 -11
- package/es-custom/components/radio-button/radio-button-group.d.ts +54 -22
- package/es-custom/components/radio-button/radio-button.d.ts +57 -23
- package/es-custom/components/radio-button/radio-button.js +7 -5
- package/es-custom/components/radio-button/radio-button.js.map +1 -1
- package/es-custom/components/search/search.d.ts +83 -33
- package/es-custom/components/select/select.d.ts +29 -11
- package/es-custom/components/side-panel/side-panel.d.ts +27 -11
- package/es-custom/components/skip-to-content/skip-to-content.d.ts +29 -11
- package/es-custom/components/slider/slider-input.d.ts +29 -11
- package/es-custom/components/slider/slider.d.ts +84 -34
- package/es-custom/components/slider/slider.js +9 -7
- package/es-custom/components/slider/slider.js.map +1 -1
- package/es-custom/components/slug/slug.d.ts +1 -1
- package/es-custom/components/slug/slug.js +6 -4
- package/es-custom/components/slug/slug.js.map +1 -1
- package/es-custom/components/structured-list/structured-list-row.d.ts +27 -11
- package/es-custom/components/structured-list/structured-list.d.ts +30 -12
- package/es-custom/components/structured-list/structured-list.js +7 -5
- package/es-custom/components/structured-list/structured-list.js.map +1 -1
- package/es-custom/components/tabs/tabs.d.ts +27 -11
- package/es-custom/components/tag/dismissible-tag.d.ts +54 -22
- package/es-custom/components/tag/operational-tag.d.ts +54 -22
- package/es-custom/components/tag/selectable-tag.d.ts +54 -22
- package/es-custom/components/tag/tag.d.ts +54 -22
- package/es-custom/components/tearsheet/tearsheet.d.ts +27 -11
- package/es-custom/components/text-input/text-input.d.ts +56 -22
- package/es-custom/components/textarea/textarea.d.ts +2 -0
- package/es-custom/components/tile/expandable-tile.d.ts +54 -22
- package/es-custom/components/tile/selectable-tile.d.ts +56 -22
- package/es-custom/components/tile/tile-group.d.ts +27 -11
- package/es-custom/components/time-picker/time-picker-select.d.ts +29 -11
- package/es-custom/components/time-picker/time-picker.d.ts +56 -22
- package/es-custom/components/toggle/toggle.d.ts +27 -11
- package/es-custom/components/toggle-tip/toggletip.d.ts +57 -23
- package/es-custom/components/toggle-tip/toggletip.js +7 -5
- package/es-custom/components/toggle-tip/toggletip.js.map +1 -1
- package/es-custom/components/tooltip/tooltip.d.ts +28 -12
- package/es-custom/components/tooltip/tooltip.js +7 -5
- package/es-custom/components/tooltip/tooltip.js.map +1 -1
- package/es-custom/components/tree-view/tree-view.d.ts +28 -12
- package/es-custom/components/tree-view/tree-view.js +7 -5
- package/es-custom/components/tree-view/tree-view.js.map +1 -1
- package/es-custom/components/ui-shell/header-global-action.d.ts +2 -0
- package/es-custom/components/ui-shell/header-menu-button.d.ts +29 -11
- package/es-custom/components/ui-shell/header-menu.d.ts +56 -22
- package/es-custom/components/ui-shell/header-name.d.ts +29 -11
- package/es-custom/components/ui-shell/header-nav-item.d.ts +29 -11
- package/es-custom/components/ui-shell/header-panel.d.ts +2 -0
- package/es-custom/components/ui-shell/side-nav-link.d.ts +29 -11
- package/es-custom/components/ui-shell/side-nav-menu-item.d.ts +29 -11
- package/es-custom/components/ui-shell/side-nav-menu.d.ts +29 -11
- package/es-custom/components/ui-shell/side-nav.d.ts +27 -11
- package/es-custom/components/ui-shell/switcher-item.d.ts +29 -11
- package/es-custom/components/ui-shell/switcher.d.ts +2 -0
- package/es-custom/globals/mixins/focus.d.ts +27 -11
- package/es-custom/globals/mixins/form.d.ts +27 -11
- package/es-custom/globals/mixins/host-listener.d.ts +27 -11
- package/es-custom/globals/mixins/validity.d.ts +27 -11
- package/lib/components/accordion/accordion-item.d.ts +28 -12
- package/lib/components/accordion/accordion-skeleton.d.ts +1 -1
- package/lib/components/accordion/accordion.d.ts +1 -1
- package/lib/components/ai-label/ai-label.d.ts +1 -1
- package/lib/components/button/button.d.ts +56 -22
- package/lib/components/checkbox/checkbox-group.d.ts +2 -0
- package/lib/components/checkbox/checkbox.d.ts +57 -23
- package/lib/components/code-snippet/code-snippet.d.ts +29 -11
- package/lib/components/combo-button/combo-button.d.ts +27 -11
- package/lib/components/content-switcher/content-switcher-item.d.ts +29 -11
- package/lib/components/copy-button/copy-button.d.ts +27 -11
- package/lib/components/data-table/table-expanded-row.d.ts +28 -12
- package/lib/components/data-table/table-header-cell.d.ts +29 -11
- package/lib/components/data-table/table-row.d.ts +54 -22
- package/lib/components/data-table/table-toolbar-search.d.ts +29 -11
- package/lib/components/data-table/table.d.ts +28 -12
- package/lib/components/date-picker/date-picker-input.d.ts +29 -11
- package/lib/components/date-picker/date-picker.d.ts +54 -22
- package/lib/components/dropdown/dropdown.d.ts +110 -44
- package/lib/components/file-uploader/file-uploader-button.d.ts +27 -11
- package/lib/components/file-uploader/file-uploader-drop-container.d.ts +27 -11
- package/lib/components/floating-menu/floating-menu.d.ts +56 -22
- package/lib/components/fluid-select/fluid-select.d.ts +5 -0
- package/lib/components/fluid-textarea/fluid-textarea-skeleton.d.ts +3 -3
- package/lib/components/fluid-time-picker/fluid-time-picker-select.d.ts +21 -0
- package/lib/components/fluid-time-picker/fluid-time-picker-skeleton.d.ts +23 -0
- package/lib/components/fluid-time-picker/fluid-time-picker.d.ts +32 -0
- package/lib/components/fluid-time-picker/index.d.ts +9 -0
- package/lib/components/grid/column.d.ts +3 -1
- package/lib/components/icon-button/icon-button.d.ts +1 -1
- package/lib/components/link/link.d.ts +29 -11
- package/lib/components/menu/menu-item-selectable.d.ts +5 -3
- package/lib/components/menu/menu-item.d.ts +68 -23
- package/lib/components/menu/menu.d.ts +27 -11
- package/lib/components/menu-button/menu-button.d.ts +27 -11
- package/lib/components/modal/modal-close-button.d.ts +29 -11
- package/lib/components/modal/modal.d.ts +27 -11
- package/lib/components/notification/actionable-notification.d.ts +27 -11
- package/lib/components/notification/inline-notification.d.ts +27 -11
- package/lib/components/number-input/number-input.d.ts +2 -0
- package/lib/components/overflow-menu/overflow-menu-item.d.ts +29 -11
- package/lib/components/overflow-menu/overflow-menu.d.ts +54 -22
- package/lib/components/pagination/pagination.d.ts +56 -22
- package/lib/components/pagination-nav/defs.d.ts +61 -0
- package/lib/components/pagination-nav/defs.js +74 -0
- package/lib/components/pagination-nav/defs.js.map +1 -0
- package/lib/components/pagination-nav/index.d.ts +7 -0
- package/lib/components/pagination-nav/pagination-nav.d.ts +109 -0
- package/lib/components/password-input/password-input.d.ts +2 -0
- package/lib/components/popover/popover.d.ts +27 -11
- package/lib/components/progress-indicator/progress-step.d.ts +29 -11
- package/lib/components/radio-button/radio-button-group.d.ts +54 -22
- package/lib/components/radio-button/radio-button.d.ts +57 -23
- package/lib/components/search/search.d.ts +83 -33
- package/lib/components/select/select.d.ts +29 -11
- package/lib/components/side-panel/side-panel.d.ts +27 -11
- package/lib/components/skip-to-content/skip-to-content.d.ts +29 -11
- package/lib/components/slider/slider-input.d.ts +29 -11
- package/lib/components/slider/slider.d.ts +84 -34
- package/lib/components/slug/slug.d.ts +1 -1
- package/lib/components/structured-list/structured-list-row.d.ts +27 -11
- package/lib/components/structured-list/structured-list.d.ts +30 -12
- package/lib/components/tabs/tabs.d.ts +27 -11
- package/lib/components/tag/dismissible-tag.d.ts +54 -22
- package/lib/components/tag/operational-tag.d.ts +54 -22
- package/lib/components/tag/selectable-tag.d.ts +54 -22
- package/lib/components/tag/tag.d.ts +54 -22
- package/lib/components/tearsheet/tearsheet.d.ts +27 -11
- package/lib/components/text-input/text-input.d.ts +56 -22
- package/lib/components/textarea/textarea.d.ts +2 -0
- package/lib/components/tile/expandable-tile.d.ts +54 -22
- package/lib/components/tile/selectable-tile.d.ts +56 -22
- package/lib/components/tile/tile-group.d.ts +27 -11
- package/lib/components/time-picker/time-picker-select.d.ts +29 -11
- package/lib/components/time-picker/time-picker.d.ts +56 -22
- package/lib/components/toggle/toggle.d.ts +27 -11
- package/lib/components/toggle-tip/toggletip.d.ts +57 -23
- package/lib/components/tooltip/tooltip.d.ts +28 -12
- package/lib/components/tree-view/tree-view.d.ts +28 -12
- package/lib/components/ui-shell/header-global-action.d.ts +2 -0
- package/lib/components/ui-shell/header-menu-button.d.ts +29 -11
- package/lib/components/ui-shell/header-menu.d.ts +56 -22
- package/lib/components/ui-shell/header-name.d.ts +29 -11
- package/lib/components/ui-shell/header-nav-item.d.ts +29 -11
- package/lib/components/ui-shell/header-panel.d.ts +2 -0
- package/lib/components/ui-shell/side-nav-link.d.ts +29 -11
- package/lib/components/ui-shell/side-nav-menu-item.d.ts +29 -11
- package/lib/components/ui-shell/side-nav-menu.d.ts +29 -11
- package/lib/components/ui-shell/side-nav.d.ts +27 -11
- package/lib/components/ui-shell/switcher-item.d.ts +29 -11
- package/lib/components/ui-shell/switcher.d.ts +2 -0
- package/lib/globals/mixins/focus.d.ts +27 -11
- package/lib/globals/mixins/form.d.ts +27 -11
- package/lib/globals/mixins/host-listener.d.ts +27 -11
- package/lib/globals/mixins/validity.d.ts +27 -11
- package/package.json +7 -7
- package/scss/components/combo-box/combo-box.scss +1 -1
- package/scss/components/fluid-time-picker/fluid-time-picker.scss +198 -0
- package/scss/components/pagination-nav/pagination-nav.scss +29 -0
- package/telemetry.yml +16 -8
|
@@ -13,6 +13,7 @@ declare const CDSPagination_base: {
|
|
|
13
13
|
accessKey: string;
|
|
14
14
|
readonly accessKeyLabel: string;
|
|
15
15
|
autocapitalize: string;
|
|
16
|
+
autocorrect: boolean;
|
|
16
17
|
dir: string;
|
|
17
18
|
draggable: boolean;
|
|
18
19
|
hidden: boolean;
|
|
@@ -34,13 +35,14 @@ declare const CDSPagination_base: {
|
|
|
34
35
|
click(): void;
|
|
35
36
|
hidePopover(): void;
|
|
36
37
|
showPopover(): void;
|
|
37
|
-
togglePopover(
|
|
38
|
+
togglePopover(options?: boolean): boolean;
|
|
38
39
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
39
40
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
40
41
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
41
42
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
42
43
|
readonly attributes: NamedNodeMap;
|
|
43
|
-
|
|
44
|
+
get classList(): DOMTokenList;
|
|
45
|
+
set classList(value: string);
|
|
44
46
|
className: string;
|
|
45
47
|
readonly clientHeight: number;
|
|
46
48
|
readonly clientLeft: number;
|
|
@@ -55,7 +57,8 @@ declare const CDSPagination_base: {
|
|
|
55
57
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
56
58
|
outerHTML: string;
|
|
57
59
|
readonly ownerDocument: Document;
|
|
58
|
-
|
|
60
|
+
get part(): DOMTokenList;
|
|
61
|
+
set part(value: string);
|
|
59
62
|
readonly prefix: string | null;
|
|
60
63
|
readonly scrollHeight: number;
|
|
61
64
|
scrollLeft: number;
|
|
@@ -118,6 +121,8 @@ declare const CDSPagination_base: {
|
|
|
118
121
|
setPointerCapture(pointerId: number): void;
|
|
119
122
|
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
120
123
|
webkitMatchesSelector(selectors: string): boolean;
|
|
124
|
+
get textContent(): string;
|
|
125
|
+
set textContent(value: string | null);
|
|
121
126
|
readonly baseURI: string;
|
|
122
127
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
123
128
|
readonly firstChild: ChildNode | null;
|
|
@@ -130,9 +135,8 @@ declare const CDSPagination_base: {
|
|
|
130
135
|
readonly parentElement: HTMLElement | null;
|
|
131
136
|
readonly parentNode: ParentNode | null;
|
|
132
137
|
readonly previousSibling: ChildNode | null;
|
|
133
|
-
textContent: string | null;
|
|
134
138
|
appendChild<T extends Node>(node: T): T;
|
|
135
|
-
cloneNode(
|
|
139
|
+
cloneNode(subtree?: boolean): Node;
|
|
136
140
|
compareDocumentPosition(other: Node): number;
|
|
137
141
|
contains(other: Node | null): boolean;
|
|
138
142
|
getRootNode(options?: GetRootNodeOptions): Node;
|
|
@@ -165,6 +169,7 @@ declare const CDSPagination_base: {
|
|
|
165
169
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
166
170
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
167
171
|
dispatchEvent(event: Event): boolean;
|
|
172
|
+
ariaActiveDescendantElement: Element | null;
|
|
168
173
|
ariaAtomic: string | null;
|
|
169
174
|
ariaAutoComplete: string | null;
|
|
170
175
|
ariaBrailleLabel: string | null;
|
|
@@ -175,25 +180,33 @@ declare const CDSPagination_base: {
|
|
|
175
180
|
ariaColIndex: string | null;
|
|
176
181
|
ariaColIndexText: string | null;
|
|
177
182
|
ariaColSpan: string | null;
|
|
183
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
178
184
|
ariaCurrent: string | null;
|
|
185
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
179
186
|
ariaDescription: string | null;
|
|
187
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
180
188
|
ariaDisabled: string | null;
|
|
189
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
181
190
|
ariaExpanded: string | null;
|
|
191
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
182
192
|
ariaHasPopup: string | null;
|
|
183
193
|
ariaHidden: string | null;
|
|
184
194
|
ariaInvalid: string | null;
|
|
185
195
|
ariaKeyShortcuts: string | null;
|
|
186
196
|
ariaLabel: string | null;
|
|
197
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
187
198
|
ariaLevel: string | null;
|
|
188
199
|
ariaLive: string | null;
|
|
189
200
|
ariaModal: string | null;
|
|
190
201
|
ariaMultiLine: string | null;
|
|
191
202
|
ariaMultiSelectable: string | null;
|
|
192
203
|
ariaOrientation: string | null;
|
|
204
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
193
205
|
ariaPlaceholder: string | null;
|
|
194
206
|
ariaPosInSet: string | null;
|
|
195
207
|
ariaPressed: string | null;
|
|
196
208
|
ariaReadOnly: string | null;
|
|
209
|
+
ariaRelevant: string | null;
|
|
197
210
|
ariaRequired: string | null;
|
|
198
211
|
ariaRoleDescription: string | null;
|
|
199
212
|
ariaRowCount: string | null;
|
|
@@ -235,7 +248,8 @@ declare const CDSPagination_base: {
|
|
|
235
248
|
replaceChildren(...nodes: (Node | string)[]): void;
|
|
236
249
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
237
250
|
readonly attributeStyleMap: StylePropertyMap;
|
|
238
|
-
|
|
251
|
+
get style(): CSSStyleDeclaration;
|
|
252
|
+
set style(cssText: string);
|
|
239
253
|
contentEditable: string;
|
|
240
254
|
enterKeyHint: string;
|
|
241
255
|
inputMode: string;
|
|
@@ -245,18 +259,19 @@ declare const CDSPagination_base: {
|
|
|
245
259
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
246
260
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
247
261
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
248
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
262
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
249
263
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
250
|
-
|
|
264
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
265
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
251
266
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
252
267
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
253
268
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
254
269
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
255
270
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
256
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
271
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
257
272
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
258
273
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
259
|
-
oncontextmenu: ((this: GlobalEventHandlers, ev:
|
|
274
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
260
275
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
261
276
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
262
277
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -304,6 +319,7 @@ declare const CDSPagination_base: {
|
|
|
304
319
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
305
320
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
306
321
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
322
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
307
323
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
308
324
|
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
309
325
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -322,7 +338,7 @@ declare const CDSPagination_base: {
|
|
|
322
338
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
323
339
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
324
340
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
325
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
341
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
326
342
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
327
343
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
328
344
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -352,6 +368,7 @@ declare const CDSPagination_base: {
|
|
|
352
368
|
accessKey: string;
|
|
353
369
|
readonly accessKeyLabel: string;
|
|
354
370
|
autocapitalize: string;
|
|
371
|
+
autocorrect: boolean;
|
|
355
372
|
dir: string;
|
|
356
373
|
draggable: boolean;
|
|
357
374
|
hidden: boolean;
|
|
@@ -373,13 +390,14 @@ declare const CDSPagination_base: {
|
|
|
373
390
|
click(): void;
|
|
374
391
|
hidePopover(): void;
|
|
375
392
|
showPopover(): void;
|
|
376
|
-
togglePopover(
|
|
393
|
+
togglePopover(options?: boolean): boolean;
|
|
377
394
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
378
395
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
379
396
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
380
397
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
381
398
|
readonly attributes: NamedNodeMap;
|
|
382
|
-
|
|
399
|
+
get classList(): DOMTokenList;
|
|
400
|
+
set classList(value: string);
|
|
383
401
|
className: string;
|
|
384
402
|
readonly clientHeight: number;
|
|
385
403
|
readonly clientLeft: number;
|
|
@@ -394,7 +412,8 @@ declare const CDSPagination_base: {
|
|
|
394
412
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
395
413
|
outerHTML: string;
|
|
396
414
|
readonly ownerDocument: Document;
|
|
397
|
-
|
|
415
|
+
get part(): DOMTokenList;
|
|
416
|
+
set part(value: string);
|
|
398
417
|
readonly prefix: string | null;
|
|
399
418
|
readonly scrollHeight: number;
|
|
400
419
|
scrollLeft: number;
|
|
@@ -457,6 +476,8 @@ declare const CDSPagination_base: {
|
|
|
457
476
|
setPointerCapture(pointerId: number): void;
|
|
458
477
|
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
459
478
|
webkitMatchesSelector(selectors: string): boolean;
|
|
479
|
+
get textContent(): string;
|
|
480
|
+
set textContent(value: string | null);
|
|
460
481
|
readonly baseURI: string;
|
|
461
482
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
462
483
|
readonly firstChild: ChildNode | null;
|
|
@@ -469,9 +490,8 @@ declare const CDSPagination_base: {
|
|
|
469
490
|
readonly parentElement: HTMLElement | null;
|
|
470
491
|
readonly parentNode: ParentNode | null;
|
|
471
492
|
readonly previousSibling: ChildNode | null;
|
|
472
|
-
textContent: string | null;
|
|
473
493
|
appendChild<T extends Node>(node: T): T;
|
|
474
|
-
cloneNode(
|
|
494
|
+
cloneNode(subtree?: boolean): Node;
|
|
475
495
|
compareDocumentPosition(other: Node): number;
|
|
476
496
|
contains(other: Node | null): boolean;
|
|
477
497
|
getRootNode(options?: GetRootNodeOptions): Node;
|
|
@@ -504,6 +524,7 @@ declare const CDSPagination_base: {
|
|
|
504
524
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
505
525
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
506
526
|
dispatchEvent(event: Event): boolean;
|
|
527
|
+
ariaActiveDescendantElement: Element | null;
|
|
507
528
|
ariaAtomic: string | null;
|
|
508
529
|
ariaAutoComplete: string | null;
|
|
509
530
|
ariaBrailleLabel: string | null;
|
|
@@ -514,25 +535,33 @@ declare const CDSPagination_base: {
|
|
|
514
535
|
ariaColIndex: string | null;
|
|
515
536
|
ariaColIndexText: string | null;
|
|
516
537
|
ariaColSpan: string | null;
|
|
538
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
517
539
|
ariaCurrent: string | null;
|
|
540
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
518
541
|
ariaDescription: string | null;
|
|
542
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
519
543
|
ariaDisabled: string | null;
|
|
544
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
520
545
|
ariaExpanded: string | null;
|
|
546
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
521
547
|
ariaHasPopup: string | null;
|
|
522
548
|
ariaHidden: string | null;
|
|
523
549
|
ariaInvalid: string | null;
|
|
524
550
|
ariaKeyShortcuts: string | null;
|
|
525
551
|
ariaLabel: string | null;
|
|
552
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
526
553
|
ariaLevel: string | null;
|
|
527
554
|
ariaLive: string | null;
|
|
528
555
|
ariaModal: string | null;
|
|
529
556
|
ariaMultiLine: string | null;
|
|
530
557
|
ariaMultiSelectable: string | null;
|
|
531
558
|
ariaOrientation: string | null;
|
|
559
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
532
560
|
ariaPlaceholder: string | null;
|
|
533
561
|
ariaPosInSet: string | null;
|
|
534
562
|
ariaPressed: string | null;
|
|
535
563
|
ariaReadOnly: string | null;
|
|
564
|
+
ariaRelevant: string | null;
|
|
536
565
|
ariaRequired: string | null;
|
|
537
566
|
ariaRoleDescription: string | null;
|
|
538
567
|
ariaRowCount: string | null;
|
|
@@ -574,7 +603,8 @@ declare const CDSPagination_base: {
|
|
|
574
603
|
replaceChildren(...nodes: (Node | string)[]): void;
|
|
575
604
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
576
605
|
readonly attributeStyleMap: StylePropertyMap;
|
|
577
|
-
|
|
606
|
+
get style(): CSSStyleDeclaration;
|
|
607
|
+
set style(cssText: string);
|
|
578
608
|
contentEditable: string;
|
|
579
609
|
enterKeyHint: string;
|
|
580
610
|
inputMode: string;
|
|
@@ -584,18 +614,19 @@ declare const CDSPagination_base: {
|
|
|
584
614
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
585
615
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
586
616
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
587
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
617
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
588
618
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
589
|
-
|
|
619
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
620
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
590
621
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
591
622
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
592
623
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
593
624
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
594
625
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
595
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
626
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
596
627
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
597
628
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
598
|
-
oncontextmenu: ((this: GlobalEventHandlers, ev:
|
|
629
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
599
630
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
600
631
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
601
632
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -643,6 +674,7 @@ declare const CDSPagination_base: {
|
|
|
643
674
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
644
675
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
645
676
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
677
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
646
678
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
647
679
|
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
648
680
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -661,7 +693,7 @@ declare const CDSPagination_base: {
|
|
|
661
693
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
662
694
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
663
695
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
664
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
696
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
665
697
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
666
698
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
667
699
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -852,6 +884,8 @@ declare class CDSPagination extends CDSPagination_base {
|
|
|
852
884
|
static get eventPageSizeChanged(): string;
|
|
853
885
|
static shadowRootOptions: {
|
|
854
886
|
delegatesFocus: boolean;
|
|
887
|
+
clonable?: boolean;
|
|
888
|
+
customElementRegistry?: CustomElementRegistry;
|
|
855
889
|
mode: ShadowRootMode;
|
|
856
890
|
serializable?: boolean;
|
|
857
891
|
slotAssignment?: SlotAssignmentMode;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2026
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Size of the pagination nav.
|
|
9
|
+
*/
|
|
10
|
+
export declare enum PAGINATION_NAV_SIZE {
|
|
11
|
+
/**
|
|
12
|
+
* Small size.
|
|
13
|
+
*/
|
|
14
|
+
SMALL = "sm",
|
|
15
|
+
/**
|
|
16
|
+
* Medium size.
|
|
17
|
+
*/
|
|
18
|
+
MEDIUM = "md",
|
|
19
|
+
/**
|
|
20
|
+
* Large size.
|
|
21
|
+
*/
|
|
22
|
+
LARGE = "lg"
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Prev/Next button tooltip alignment.
|
|
26
|
+
*/
|
|
27
|
+
export declare enum PAGINATION_TOOLTIP_ALIGNMENT {
|
|
28
|
+
/**
|
|
29
|
+
* Aligned to the start.
|
|
30
|
+
*/
|
|
31
|
+
START = "start",
|
|
32
|
+
/**
|
|
33
|
+
* Aligned to the center.
|
|
34
|
+
*/
|
|
35
|
+
CENTER = "center",
|
|
36
|
+
/**
|
|
37
|
+
* Aligned to the end.
|
|
38
|
+
*/
|
|
39
|
+
END = "end"
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Prev/Next button tooltip position.
|
|
43
|
+
*/
|
|
44
|
+
export declare enum PAGINATION_TOOLTIP_POSITION {
|
|
45
|
+
/**
|
|
46
|
+
* Positioned on the top.
|
|
47
|
+
*/
|
|
48
|
+
TOP = "top",
|
|
49
|
+
/**
|
|
50
|
+
* Positioned on the right.
|
|
51
|
+
*/
|
|
52
|
+
RIGHT = "right",
|
|
53
|
+
/**
|
|
54
|
+
* Positioned on the bottom.
|
|
55
|
+
*/
|
|
56
|
+
BOTTOM = "bottom",
|
|
57
|
+
/**
|
|
58
|
+
* Positioned on the left.
|
|
59
|
+
*/
|
|
60
|
+
LEFT = "left"
|
|
61
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2024
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Copyright IBM Corp. 2026
|
|
10
|
+
*
|
|
11
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
12
|
+
* LICENSE file in the root directory of this source tree.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Size of the pagination nav.
|
|
16
|
+
*/
|
|
17
|
+
var PAGINATION_NAV_SIZE;
|
|
18
|
+
(function (PAGINATION_NAV_SIZE) {
|
|
19
|
+
/**
|
|
20
|
+
* Small size.
|
|
21
|
+
*/
|
|
22
|
+
PAGINATION_NAV_SIZE["SMALL"] = "sm";
|
|
23
|
+
/**
|
|
24
|
+
* Medium size.
|
|
25
|
+
*/
|
|
26
|
+
PAGINATION_NAV_SIZE["MEDIUM"] = "md";
|
|
27
|
+
/**
|
|
28
|
+
* Large size.
|
|
29
|
+
*/
|
|
30
|
+
PAGINATION_NAV_SIZE["LARGE"] = "lg";
|
|
31
|
+
})(PAGINATION_NAV_SIZE || (PAGINATION_NAV_SIZE = {}));
|
|
32
|
+
/**
|
|
33
|
+
* Prev/Next button tooltip alignment.
|
|
34
|
+
*/
|
|
35
|
+
var PAGINATION_TOOLTIP_ALIGNMENT;
|
|
36
|
+
(function (PAGINATION_TOOLTIP_ALIGNMENT) {
|
|
37
|
+
/**
|
|
38
|
+
* Aligned to the start.
|
|
39
|
+
*/
|
|
40
|
+
PAGINATION_TOOLTIP_ALIGNMENT["START"] = "start";
|
|
41
|
+
/**
|
|
42
|
+
* Aligned to the center.
|
|
43
|
+
*/
|
|
44
|
+
PAGINATION_TOOLTIP_ALIGNMENT["CENTER"] = "center";
|
|
45
|
+
/**
|
|
46
|
+
* Aligned to the end.
|
|
47
|
+
*/
|
|
48
|
+
PAGINATION_TOOLTIP_ALIGNMENT["END"] = "end";
|
|
49
|
+
})(PAGINATION_TOOLTIP_ALIGNMENT || (PAGINATION_TOOLTIP_ALIGNMENT = {}));
|
|
50
|
+
/**
|
|
51
|
+
* Prev/Next button tooltip position.
|
|
52
|
+
*/
|
|
53
|
+
var PAGINATION_TOOLTIP_POSITION;
|
|
54
|
+
(function (PAGINATION_TOOLTIP_POSITION) {
|
|
55
|
+
/**
|
|
56
|
+
* Positioned on the top.
|
|
57
|
+
*/
|
|
58
|
+
PAGINATION_TOOLTIP_POSITION["TOP"] = "top";
|
|
59
|
+
/**
|
|
60
|
+
* Positioned on the right.
|
|
61
|
+
*/
|
|
62
|
+
PAGINATION_TOOLTIP_POSITION["RIGHT"] = "right";
|
|
63
|
+
/**
|
|
64
|
+
* Positioned on the bottom.
|
|
65
|
+
*/
|
|
66
|
+
PAGINATION_TOOLTIP_POSITION["BOTTOM"] = "bottom";
|
|
67
|
+
/**
|
|
68
|
+
* Positioned on the left.
|
|
69
|
+
*/
|
|
70
|
+
PAGINATION_TOOLTIP_POSITION["LEFT"] = "left";
|
|
71
|
+
})(PAGINATION_TOOLTIP_POSITION || (PAGINATION_TOOLTIP_POSITION = {}));
|
|
72
|
+
|
|
73
|
+
export { PAGINATION_NAV_SIZE, PAGINATION_TOOLTIP_ALIGNMENT, PAGINATION_TOOLTIP_POSITION };
|
|
74
|
+
//# sourceMappingURL=defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defs.js","sources":["../../../src/components/pagination-nav/defs.ts"],"sourcesContent":["/**\n * Copyright IBM Corp. 2026\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n/**\n * Size of the pagination nav.\n */\nexport enum PAGINATION_NAV_SIZE {\n /**\n * Small size.\n */\n SMALL = 'sm',\n\n /**\n * Medium size.\n */\n MEDIUM = 'md',\n\n /**\n * Large size.\n */\n LARGE = 'lg',\n}\n\n/**\n * Prev/Next button tooltip alignment.\n */\nexport enum PAGINATION_TOOLTIP_ALIGNMENT {\n /**\n * Aligned to the start.\n */\n START = 'start',\n\n /**\n * Aligned to the center.\n */\n CENTER = 'center',\n\n /**\n * Aligned to the end.\n */\n END = 'end',\n}\n\n/**\n * Prev/Next button tooltip position.\n */\nexport enum PAGINATION_TOOLTIP_POSITION {\n /**\n * Positioned on the top.\n */\n TOP = 'top',\n\n /**\n * Positioned on the right.\n */\n RIGHT = 'right',\n\n /**\n * Positioned on the bottom.\n */\n BOTTOM = 'bottom',\n\n /**\n * Positioned on the left.\n */\n LEFT = 'left',\n}\n"],"names":[],"mappings":";;;;;;;AAAA;;;;;AAKG;AAEH;;AAEG;IACS;AAAZ,CAAA,UAAY,mBAAmB,EAAA;AAC7B;;AAEG;AACH,IAAA,mBAAA,CAAA,OAAA,CAAA,GAAA,IAAY;AAEZ;;AAEG;AACH,IAAA,mBAAA,CAAA,QAAA,CAAA,GAAA,IAAa;AAEb;;AAEG;AACH,IAAA,mBAAA,CAAA,OAAA,CAAA,GAAA,IAAY;AACd,CAAC,EAfW,mBAAmB,KAAnB,mBAAmB,GAAA,EAAA,CAAA,CAAA;AAiB/B;;AAEG;IACS;AAAZ,CAAA,UAAY,4BAA4B,EAAA;AACtC;;AAEG;AACH,IAAA,4BAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AAEf;;AAEG;AACH,IAAA,4BAAA,CAAA,QAAA,CAAA,GAAA,QAAiB;AAEjB;;AAEG;AACH,IAAA,4BAAA,CAAA,KAAA,CAAA,GAAA,KAAW;AACb,CAAC,EAfW,4BAA4B,KAA5B,4BAA4B,GAAA,EAAA,CAAA,CAAA;AAiBxC;;AAEG;IACS;AAAZ,CAAA,UAAY,2BAA2B,EAAA;AACrC;;AAEG;AACH,IAAA,2BAAA,CAAA,KAAA,CAAA,GAAA,KAAW;AAEX;;AAEG;AACH,IAAA,2BAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AAEf;;AAEG;AACH,IAAA,2BAAA,CAAA,QAAA,CAAA,GAAA,QAAiB;AAEjB;;AAEG;AACH,IAAA,2BAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AACf,CAAC,EApBW,2BAA2B,KAA3B,2BAA2B,GAAA,EAAA,CAAA,CAAA;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Copyright IBM Corp. 2026
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { LitElement } from 'lit';
|
|
9
|
+
import '../icon-button';
|
|
10
|
+
import { PAGINATION_NAV_SIZE, PAGINATION_TOOLTIP_ALIGNMENT, PAGINATION_TOOLTIP_POSITION } from './defs';
|
|
11
|
+
/**
|
|
12
|
+
* Translation IDs and default translations
|
|
13
|
+
*/
|
|
14
|
+
declare const translationIds: {
|
|
15
|
+
readonly 'carbon.pagination-nav.next': "carbon.pagination-nav.next";
|
|
16
|
+
readonly 'carbon.pagination-nav.previous': "carbon.pagination-nav.previous";
|
|
17
|
+
readonly 'carbon.pagination-nav.item': "carbon.pagination-nav.item";
|
|
18
|
+
readonly 'carbon.pagination-nav.active': "carbon.pagination-nav.active";
|
|
19
|
+
readonly 'carbon.pagination-nav.of': "carbon.pagination-nav.of";
|
|
20
|
+
};
|
|
21
|
+
type TranslationKey = keyof typeof translationIds;
|
|
22
|
+
/**
|
|
23
|
+
* Pagination Navigation.
|
|
24
|
+
*
|
|
25
|
+
* @element cds-custom-pagination-nav
|
|
26
|
+
* @fires cds-custom-page-changed - The custom event fired when the the page has been changed.
|
|
27
|
+
*/
|
|
28
|
+
declare class CDSPaginationNav extends LitElement {
|
|
29
|
+
/**
|
|
30
|
+
* Internal state for items displayed on page
|
|
31
|
+
*/
|
|
32
|
+
private itemsDisplayedOnPage;
|
|
33
|
+
/**
|
|
34
|
+
* Internal state for cuts
|
|
35
|
+
*/
|
|
36
|
+
private cuts;
|
|
37
|
+
/**
|
|
38
|
+
* Internal state for previous page
|
|
39
|
+
*/
|
|
40
|
+
private prevPage;
|
|
41
|
+
/**
|
|
42
|
+
* The number of items to be shown (minimum of 4 unless props.items < 4).
|
|
43
|
+
*/
|
|
44
|
+
itemsShown: number;
|
|
45
|
+
/**
|
|
46
|
+
* Whether user should be able to loop through the items when reaching first / last.
|
|
47
|
+
*/
|
|
48
|
+
loop: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* The index of current page.
|
|
51
|
+
*/
|
|
52
|
+
page: number;
|
|
53
|
+
/**
|
|
54
|
+
* The total number of items.
|
|
55
|
+
*/
|
|
56
|
+
totalItems: number;
|
|
57
|
+
/**
|
|
58
|
+
* Specify the size of the PaginationNav.
|
|
59
|
+
*/
|
|
60
|
+
size: PAGINATION_NAV_SIZE;
|
|
61
|
+
/**
|
|
62
|
+
* Specify the alignment of the tooltip for the icon-only next/prev buttons.
|
|
63
|
+
* Can be one of: start, center, or end.
|
|
64
|
+
*/
|
|
65
|
+
tooltipAlignment: PAGINATION_TOOLTIP_ALIGNMENT;
|
|
66
|
+
/**
|
|
67
|
+
* Specify the position of the tooltip for the icon-only next/prev buttons.
|
|
68
|
+
* Can be one of: top, right, bottom, or left.
|
|
69
|
+
*/
|
|
70
|
+
tooltipPosition: PAGINATION_TOOLTIP_POSITION;
|
|
71
|
+
/**
|
|
72
|
+
* If true, the '...' pagination overflow will not render page links between the first and last rendered buttons.
|
|
73
|
+
* Set this to true if you are having performance problems with large data sets.
|
|
74
|
+
*/
|
|
75
|
+
disableOverflow?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Translates component strings using your i18n tool.
|
|
78
|
+
*/
|
|
79
|
+
translateWithId: (messageId: TranslationKey) => string;
|
|
80
|
+
private _calculateCuts;
|
|
81
|
+
private _pageWouldBeHidden;
|
|
82
|
+
/**
|
|
83
|
+
* Sets the current page to a specified index.
|
|
84
|
+
*/
|
|
85
|
+
private _setIndex;
|
|
86
|
+
/**
|
|
87
|
+
* Reduce current page by one, but no lower than 0.
|
|
88
|
+
*/
|
|
89
|
+
private _decrementIndex;
|
|
90
|
+
/**
|
|
91
|
+
* Increase current page by one, but no higher than (this.totalItems - 1).
|
|
92
|
+
*/
|
|
93
|
+
private _incrementIndex;
|
|
94
|
+
/**
|
|
95
|
+
* Renders a single pagination item & button.
|
|
96
|
+
*/
|
|
97
|
+
private _renderPaginationItem;
|
|
98
|
+
/**
|
|
99
|
+
* Renders overflow items in a select list.
|
|
100
|
+
*
|
|
101
|
+
*/
|
|
102
|
+
private _renderPaginationOverflow;
|
|
103
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
104
|
+
shouldUpdate(changedProperties: any): boolean;
|
|
105
|
+
updated(changedProperties: any): void;
|
|
106
|
+
static get eventChange(): string;
|
|
107
|
+
static styles: any;
|
|
108
|
+
}
|
|
109
|
+
export default CDSPaginationNav;
|