@pine-ds/core 5.0.0-mercury.0 → 5.0.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/components/aria-references.js +1 -0
- package/components/attributes.js +1 -0
- package/components/closest.js +1 -11
- package/components/floating-ui.dom.js +1 -0
- package/components/form.js +1 -0
- package/components/i18n-format.js +1 -0
- package/components/index.d.ts +51 -0
- package/components/index.js +1 -33
- package/components/index2.js +1 -14
- package/components/keep-hydrated.js +1 -0
- package/components/mock-pds-modal.d.ts +11 -0
- package/components/mock-pds-modal.js +1 -0
- package/components/pds-accordion.js +1 -68
- package/components/pds-alert.d.ts +11 -0
- package/components/pds-alert.js +1 -0
- package/components/pds-avatar.js +1 -103
- package/components/pds-box.js +1 -124
- package/components/pds-box2.js +1 -0
- package/components/pds-button.js +1 -8
- package/components/pds-button2.js +1 -84
- package/components/pds-checkbox.js +1 -8
- package/components/pds-checkbox2.js +1 -101
- package/components/pds-chip.js +1 -78
- package/components/pds-chip2.js +1 -0
- package/components/pds-combobox.d.ts +11 -0
- package/components/pds-combobox.js +2 -0
- package/components/pds-container.d.ts +11 -0
- package/components/pds-container.js +1 -0
- package/components/pds-copytext.js +1 -88
- package/components/pds-datepicker.d.ts +11 -0
- package/components/pds-datepicker.js +1 -0
- package/components/pds-divider.js +1 -54
- package/components/pds-drawer-content.d.ts +11 -0
- package/components/pds-drawer-content.js +1 -0
- package/components/pds-drawer-footer.d.ts +11 -0
- package/components/pds-drawer-footer.js +1 -0
- package/components/pds-drawer-header.d.ts +11 -0
- package/components/pds-drawer-header.js +1 -0
- package/components/pds-drawer.d.ts +11 -0
- package/components/pds-drawer.js +1 -0
- package/components/pds-dropdown-menu-item.d.ts +11 -0
- package/components/pds-dropdown-menu-item.js +1 -0
- package/components/pds-dropdown-menu-separator.d.ts +11 -0
- package/components/pds-dropdown-menu-separator.js +1 -0
- package/components/pds-dropdown-menu.d.ts +11 -0
- package/components/pds-dropdown-menu.js +1 -0
- package/components/pds-filter.d.ts +11 -0
- package/components/pds-filter.js +1 -0
- package/components/pds-filters.d.ts +11 -0
- package/components/pds-filters.js +1 -0
- package/components/pds-icon.js +1 -8
- package/components/pds-icon2.js +1 -370
- package/components/pds-image.js +1 -55
- package/components/pds-input.js +1 -72
- package/components/pds-input2.js +1 -0
- package/components/pds-link.js +1 -65
- package/components/pds-link2.js +1 -0
- package/components/pds-loader.js +1 -68
- package/components/pds-loader2.js +1 -0
- package/components/pds-modal-content.d.ts +11 -0
- package/components/pds-modal-content.js +1 -0
- package/components/pds-modal-footer.d.ts +11 -0
- package/components/pds-modal-footer.js +1 -0
- package/components/pds-modal-header.d.ts +11 -0
- package/components/pds-modal-header.js +1 -0
- package/components/pds-modal.d.ts +11 -0
- package/components/pds-modal.js +1 -0
- package/components/pds-modal2.js +1 -0
- package/components/pds-multiselect.d.ts +11 -0
- package/components/pds-multiselect.js +1 -0
- package/components/pds-popover.d.ts +11 -0
- package/components/pds-popover.js +1 -0
- package/components/pds-progress.js +1 -49
- package/components/pds-property.d.ts +11 -0
- package/components/pds-property.js +1 -0
- package/components/pds-radio-group.d.ts +11 -0
- package/components/pds-radio-group.js +1 -0
- package/components/pds-radio.js +1 -78
- package/components/pds-row.js +1 -72
- package/components/pds-select.d.ts +11 -0
- package/components/pds-select.js +1 -0
- package/components/pds-sortable-item.js +1 -58
- package/components/pds-sortable.js +3 -2718
- package/components/pds-switch.js +1 -82
- package/components/pds-tab.js +1 -53
- package/components/pds-table-body.js +1 -36
- package/components/pds-table-cell.js +1 -8
- package/components/pds-table-cell2.js +1 -72
- package/components/pds-table-head-cell.js +1 -8
- package/components/pds-table-head-cell2.js +1 -98
- package/components/pds-table-head.js +1 -90
- package/components/pds-table-row.js +1 -95
- package/components/pds-table.js +1 -124
- package/components/pds-tabpanel.js +1 -45
- package/components/pds-tabs.js +1 -119
- package/components/pds-text.d.ts +11 -0
- package/components/pds-text.js +1 -0
- package/components/pds-text2.js +1 -0
- package/components/pds-textarea.js +1 -82
- package/components/pds-toast.d.ts +11 -0
- package/components/pds-toast.js +1 -0
- package/components/pds-tooltip.js +1 -178
- package/components/portal-target.js +1 -0
- package/components/reconnected-content.js +1 -0
- package/components/reflected-attribute-default.js +1 -0
- package/components/scroll.js +1 -0
- package/components/sortable-label.js +1 -0
- package/components/tabbable.js +1 -0
- package/components/truncation-tooltip.js +1 -0
- package/components/utils.js +1 -0
- package/dist/cjs/aria-references-CUmqibnO.js +54 -0
- package/dist/cjs/attributes-Cgbkw6gO.js +188 -0
- package/dist/cjs/closest-D0qyYtJ3.js +20 -0
- package/dist/cjs/floating-ui.dom-Dw41zbyY.js +1715 -0
- package/dist/cjs/form-MhwfKTuo.js +69 -0
- package/dist/cjs/i18n-format-BD0PmYzT.js +65 -0
- package/dist/cjs/index-BDnbr0DK.js +39 -0
- package/dist/cjs/index-D9iJuJCP.js +2950 -0
- package/dist/cjs/index.cjs.js +21 -2
- package/dist/cjs/keep-hydrated-AKoh0DG4.js +197 -0
- package/dist/cjs/loader.cjs.js +4 -8
- package/dist/cjs/mock-pds-modal.cjs.entry.js +92 -0
- package/dist/cjs/pds-accordion.cjs.entry.js +16 -14
- package/dist/cjs/pds-alert.cjs.entry.js +88 -0
- package/dist/cjs/pds-avatar.cjs.entry.js +123 -28
- package/dist/cjs/pds-box.cjs.entry.js +143 -58
- package/dist/cjs/pds-button.cjs.entry.js +234 -25
- package/dist/cjs/pds-checkbox.cjs.entry.js +102 -26
- package/dist/cjs/pds-chip.cjs.entry.js +226 -23
- package/dist/cjs/pds-combobox.cjs.entry.js +4500 -0
- package/dist/cjs/pds-container.cjs.entry.js +37 -0
- package/dist/cjs/pds-copytext.cjs.entry.js +98 -17
- package/dist/cjs/pds-datepicker.cjs.entry.js +2139 -0
- package/dist/cjs/pds-divider.cjs.entry.js +16 -11
- package/dist/cjs/pds-drawer-content.cjs.entry.js +24 -0
- package/dist/cjs/pds-drawer-footer.cjs.entry.js +24 -0
- package/dist/cjs/pds-drawer-header.cjs.entry.js +24 -0
- package/dist/cjs/pds-drawer.cjs.entry.js +156 -0
- package/dist/cjs/pds-dropdown-menu-item.cjs.entry.js +151 -0
- package/dist/cjs/pds-dropdown-menu-separator.cjs.entry.js +23 -0
- package/dist/cjs/pds-dropdown-menu.cjs.entry.js +453 -0
- package/dist/cjs/pds-filter.cjs.entry.js +512 -0
- package/dist/cjs/pds-filters.cjs.entry.js +18 -0
- package/dist/cjs/pds-icon.cjs.entry.js +334 -44
- package/dist/cjs/pds-image.cjs.entry.js +158 -16
- package/dist/cjs/pds-input.cjs.entry.js +300 -26
- package/dist/cjs/pds-link.cjs.entry.js +50 -13
- package/dist/cjs/pds-loader.cjs.entry.js +49 -14
- package/dist/cjs/pds-modal-content.cjs.entry.js +199 -0
- package/dist/cjs/pds-modal-footer.cjs.entry.js +24 -0
- package/dist/cjs/pds-modal-header.cjs.entry.js +24 -0
- package/dist/cjs/pds-modal.cjs.entry.js +592 -0
- package/dist/cjs/pds-multiselect.cjs.entry.js +1384 -0
- package/dist/cjs/pds-popover.cjs.entry.js +1103 -0
- package/dist/cjs/pds-progress.cjs.entry.js +30 -12
- package/dist/cjs/pds-property.cjs.entry.js +22 -0
- package/dist/cjs/pds-radio-group.cjs.entry.js +260 -0
- package/dist/cjs/pds-radio.cjs.entry.js +101 -23
- package/dist/cjs/pds-row.cjs.entry.js +50 -21
- package/dist/cjs/pds-select.cjs.entry.js +380 -0
- package/dist/cjs/pds-sortable-item.cjs.entry.js +59 -11
- package/dist/cjs/pds-sortable.cjs.entry.js +504 -119
- package/dist/cjs/pds-switch.cjs.entry.js +185 -27
- package/dist/cjs/pds-tab.cjs.entry.js +78 -16
- package/dist/cjs/pds-table-body.cjs.entry.js +5 -9
- package/dist/cjs/pds-table-cell.cjs.entry.js +150 -19
- package/dist/cjs/pds-table-head-cell.cjs.entry.js +222 -30
- package/dist/cjs/pds-table-head.cjs.entry.js +17 -13
- package/dist/cjs/pds-table-row.cjs.entry.js +104 -16
- package/dist/cjs/pds-table.cjs.entry.js +434 -22
- package/dist/cjs/pds-tabpanel.cjs.entry.js +32 -13
- package/dist/cjs/pds-tabs.cjs.entry.js +206 -18
- package/dist/cjs/pds-text.cjs.entry.js +141 -0
- package/dist/cjs/pds-textarea.cjs.entry.js +318 -29
- package/dist/cjs/pds-toast.cjs.entry.js +156 -0
- package/dist/cjs/pds-tooltip.cjs.entry.js +401 -110
- package/dist/cjs/pine-core.cjs.js +8 -10
- package/dist/cjs/portal-target-e8WQ6dLx.js +70 -0
- package/dist/cjs/reconnected-content-CpnEQcTp.js +29 -0
- package/dist/cjs/reflected-attribute-default-DVYHG6O1.js +44 -0
- package/dist/cjs/scroll-2XcoE_6Q.js +79 -0
- package/dist/cjs/sortable-label-DOcJrHvA.js +37 -0
- package/dist/cjs/tabbable-BrrrGvdG.js +86 -0
- package/dist/cjs/truncation-tooltip-CM5HgRHh.js +430 -0
- package/dist/cjs/utils-BhRmyxT8.js +121 -0
- package/dist/collection/collection-manifest.json +30 -3
- package/dist/collection/components/_internal/pds-label/pds-label.js +0 -1
- package/dist/collection/components/pds-accordion/pds-accordion.css +24 -29
- package/dist/collection/components/pds-accordion/pds-accordion.js +36 -9
- package/dist/collection/components/pds-accordion/stories/pds-accordion.stories.js +12 -18
- package/dist/collection/components/pds-alert/pds-alert.css +141 -0
- package/dist/collection/components/pds-alert/pds-alert.js +291 -0
- package/dist/collection/components/pds-alert/pds-alert.tokens.css +85 -0
- package/dist/collection/components/pds-alert/stories/pds-alert.stories.js +114 -0
- package/dist/collection/components/pds-avatar/pds-avatar.css +56 -23
- package/dist/collection/components/pds-avatar/pds-avatar.js +284 -32
- package/dist/collection/components/pds-avatar/stories/pds-avatar.stories.js +41 -3
- package/dist/collection/components/pds-box/pds-box.css +5520 -264
- package/dist/collection/components/pds-box/pds-box.js +2854 -252
- package/dist/collection/components/pds-box/stories/pds-box.stories.js +86 -30
- package/dist/collection/components/pds-button/pds-button.css +255 -93
- package/dist/collection/components/pds-button/pds-button.js +470 -40
- package/dist/collection/components/pds-button/stories/pds-button.stories.js +242 -16
- package/dist/collection/components/pds-checkbox/checkbox-interface.js +0 -1
- package/dist/collection/components/pds-checkbox/pds-checkbox.css +168 -60
- package/dist/collection/components/pds-checkbox/pds-checkbox.js +186 -54
- package/dist/collection/components/pds-checkbox/stories/pds-checkbox.stories.js +45 -15
- package/dist/collection/components/pds-chip/pds-chip.css +239 -114
- package/dist/collection/components/pds-chip/pds-chip.js +437 -60
- package/dist/collection/components/pds-chip/pds-chip.tokens.css +69 -0
- package/dist/collection/components/pds-chip/stories/pds-chip.stories.js +164 -24
- package/dist/collection/components/pds-combobox/combobox-interface.js +1 -0
- package/dist/collection/components/pds-combobox/grouped-options-panel.js +318 -0
- package/dist/collection/components/pds-combobox/pds-combobox.css +953 -0
- package/dist/collection/components/pds-combobox/pds-combobox.js +3839 -0
- package/dist/collection/components/pds-combobox/stories/pds-combobox.stories.js +934 -0
- package/dist/collection/components/pds-container/pds-container.css +26 -0
- package/dist/collection/components/pds-container/pds-container.js +111 -0
- package/dist/collection/components/pds-container/stories/pds-container.stories.js +89 -0
- package/dist/collection/components/pds-copytext/pds-copytext.css +39 -51
- package/dist/collection/components/pds-copytext/pds-copytext.js +116 -23
- package/dist/collection/components/pds-copytext/stories/pds-copytext.stories.js +6 -12
- package/dist/collection/components/pds-datepicker/calendar-portal.js +99 -0
- package/dist/collection/components/pds-datepicker/date-utils.js +174 -0
- package/dist/collection/components/pds-datepicker/datepicker-interface.js +1 -0
- package/dist/collection/components/pds-datepicker/pds-datepicker.css +547 -0
- package/dist/collection/components/pds-datepicker/pds-datepicker.js +2505 -0
- package/dist/collection/components/pds-datepicker/presets.js +131 -0
- package/dist/collection/components/pds-datepicker/stories/pds-datepicker.stories.js +206 -0
- package/dist/collection/components/pds-datepicker/value.js +296 -0
- package/dist/collection/components/pds-divider/pds-divider.css +71 -40
- package/dist/collection/components/pds-divider/pds-divider.js +47 -11
- package/dist/collection/components/pds-divider/stories/pds-divider.stories.js +7 -2
- package/dist/collection/components/pds-drawer/pds-drawer-content/pds-drawer-content.css +22 -0
- package/dist/collection/components/pds-drawer/pds-drawer-content/pds-drawer-content.js +27 -0
- package/dist/collection/components/pds-drawer/pds-drawer-footer/pds-drawer-footer.css +15 -0
- package/dist/collection/components/pds-drawer/pds-drawer-footer/pds-drawer-footer.js +27 -0
- package/dist/collection/components/pds-drawer/pds-drawer-header/pds-drawer-header.css +15 -0
- package/dist/collection/components/pds-drawer/pds-drawer-header/pds-drawer-header.js +27 -0
- package/dist/collection/components/pds-drawer/pds-drawer.css +47 -0
- package/dist/collection/components/pds-drawer/pds-drawer.js +405 -0
- package/dist/collection/components/pds-drawer/stories/pds-drawer.stories.js +77 -0
- package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-item/pds-dropdown-menu-item.css +93 -0
- package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-item/pds-dropdown-menu-item.js +398 -0
- package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-separator/pds-dropdown-menu-separator.css +7 -0
- package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-separator/pds-dropdown-menu-separator.js +71 -0
- package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu.css +68 -0
- package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu.js +545 -0
- package/dist/collection/components/pds-dropdown-menu/stories/pds-dropdown-menu.stories.js +100 -0
- package/dist/collection/components/pds-filters/pds-filter/filter-interface.js +1 -0
- package/dist/collection/components/pds-filters/pds-filter/pds-filter.css +200 -0
- package/dist/collection/components/pds-filters/pds-filter/pds-filter.js +756 -0
- package/dist/collection/components/pds-filters/pds-filter/stories/pds-filter.stories.js +87 -0
- package/dist/collection/components/pds-filters/pds-filters.css +10 -0
- package/dist/collection/components/pds-filters/pds-filters.js +44 -0
- package/dist/collection/components/pds-filters/stories/pds-filters.stories.js +34 -0
- package/dist/collection/components/pds-icon/stories/pds-icon.stories.js +2 -2
- package/dist/collection/components/pds-image/image-interface.js +1 -0
- package/dist/collection/components/pds-image/pds-image.css +13 -1
- package/dist/collection/components/pds-image/pds-image.js +297 -31
- package/dist/collection/components/pds-image/stories/pds-image.stories.js +124 -8
- package/dist/collection/components/pds-input/input-interface.js +1 -0
- package/dist/collection/components/pds-input/pds-input.css +275 -63
- package/dist/collection/components/pds-input/pds-input.js +687 -57
- package/dist/collection/components/pds-input/pds-input.tokens.css +3 -0
- package/dist/collection/components/pds-input/stories/pds-input.stories.js +310 -14
- package/dist/collection/components/pds-link/pds-link.css +45 -30
- package/dist/collection/components/pds-link/pds-link.js +332 -19
- package/dist/collection/components/pds-link/stories/pds-link.stories.js +82 -4
- package/dist/collection/components/pds-loader/pds-loader.css +17 -30
- package/dist/collection/components/pds-loader/pds-loader.js +62 -14
- package/dist/collection/components/pds-loader/stories/pds-loader.stories.js +3 -5
- package/dist/collection/components/pds-modal/pds-modal-content/pds-modal-content.css +25 -0
- package/dist/collection/components/pds-modal/pds-modal-content/pds-modal-content.js +235 -0
- package/dist/collection/components/pds-modal/pds-modal-footer/pds-modal-footer.css +8 -0
- package/dist/collection/components/pds-modal/pds-modal-footer/pds-modal-footer.js +27 -0
- package/dist/collection/components/pds-modal/pds-modal-header/pds-modal-header.css +8 -0
- package/dist/collection/components/pds-modal/pds-modal-header/pds-modal-header.js +27 -0
- package/dist/collection/components/pds-modal/pds-modal.css +142 -0
- package/dist/collection/components/pds-modal/pds-modal.js +852 -0
- package/dist/collection/components/pds-modal/stories/pds-modal.stories.js +745 -0
- package/dist/collection/components/pds-modal/test/mock-pds-modal.js +286 -0
- package/dist/collection/components/pds-multiselect/multiselect-interface.js +1 -0
- package/dist/collection/components/pds-multiselect/pds-multiselect.css +365 -0
- package/dist/collection/components/pds-multiselect/pds-multiselect.js +2597 -0
- package/dist/collection/components/pds-multiselect/stories/pds-multiselect.stories.js +866 -0
- package/dist/collection/components/pds-popover/pds-popover.css +16 -0
- package/dist/collection/components/pds-popover/pds-popover.js +1347 -0
- package/dist/collection/components/pds-popover/popover-interface.js +1 -0
- package/dist/collection/components/pds-popover/stories/pds-popover.stories.js +117 -0
- package/dist/collection/components/pds-progress/pds-progress.css +11 -24
- package/dist/collection/components/pds-progress/pds-progress.js +49 -16
- package/dist/collection/components/pds-progress/stories/pds-progress.stories.js +2 -4
- package/dist/collection/components/pds-property/pds-property.css +4 -0
- package/dist/collection/components/pds-property/pds-property.js +70 -0
- package/dist/collection/components/pds-property/stories/pds-property.stories.js +16 -0
- package/dist/collection/components/pds-radio/pds-radio.css +285 -54
- package/dist/collection/components/pds-radio/pds-radio.js +226 -53
- package/dist/collection/components/pds-radio/stories/pds-radio.stories.js +66 -19
- package/dist/collection/components/pds-radio-group/pds-radio-group.css +45 -0
- package/dist/collection/components/pds-radio-group/pds-radio-group.js +514 -0
- package/dist/collection/components/pds-radio-group/radio-group-interface.js +1 -0
- package/dist/collection/components/pds-radio-group/stories/pds-radio-group.stories.js +179 -0
- package/dist/collection/components/pds-row/pds-row.css +10 -9
- package/dist/collection/components/pds-row/pds-row.js +132 -30
- package/dist/collection/components/pds-row/stories/pds-row.stories.js +27 -24
- package/dist/collection/components/pds-select/pds-select.css +168 -0
- package/dist/collection/components/pds-select/pds-select.js +728 -0
- package/dist/collection/components/pds-select/pds-select.tokens.css +3 -0
- package/dist/collection/components/pds-select/stories/pds-select.stories.js +205 -0
- package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.css +64 -26
- package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js +87 -10
- package/dist/collection/components/pds-sortable/pds-sortable-item/stories/pds-sortable-item.stories.js +0 -2
- package/dist/collection/components/pds-sortable/pds-sortable.css +2 -4
- package/dist/collection/components/pds-sortable/pds-sortable.js +571 -17
- package/dist/collection/components/pds-sortable/sortable-interface.js +0 -1
- package/dist/collection/components/pds-sortable/sortable-label.js +33 -0
- package/dist/collection/components/pds-sortable/stories/pds-sortable.stories.js +49 -13
- package/dist/collection/components/pds-switch/pds-switch.css +60 -59
- package/dist/collection/components/pds-switch/pds-switch.js +268 -63
- package/dist/collection/components/pds-switch/stories/pds-switch.stories.js +90 -28
- package/dist/collection/components/pds-table/pds-table-body/pds-table-body.js +4 -2
- package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.css +36 -19
- package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.js +193 -15
- package/dist/collection/components/pds-table/pds-table-cell/stories/pds-table-cell.stories.js +22 -7
- package/dist/collection/components/pds-table/pds-table-head/pds-table-head.css +22 -5
- package/dist/collection/components/pds-table/pds-table-head/pds-table-head.js +75 -11
- package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.css +57 -25
- package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.js +328 -24
- package/dist/collection/components/pds-table/pds-table-head-cell/stories/pds-table-head-cell.stories.js +12 -7
- package/dist/collection/components/pds-table/pds-table-row/pds-table-row.css +14 -5
- package/dist/collection/components/pds-table/pds-table-row/pds-table-row.js +118 -13
- package/dist/collection/components/pds-table/pds-table-row/stories/pds-table-row.stories.js +3 -9
- package/dist/collection/components/pds-table/pds-table.css +106 -17
- package/dist/collection/components/pds-table/pds-table.js +576 -44
- package/dist/collection/components/pds-table/stories/pds-table.stories.js +428 -33
- package/dist/collection/components/pds-tabs/pds-tab/pds-tab.css +102 -60
- package/dist/collection/components/pds-tabs/pds-tab/pds-tab.js +240 -18
- package/dist/collection/components/pds-tabs/pds-tab/stories/pds-tab.stories.js +15 -0
- package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.css +15 -2
- package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.js +68 -12
- package/dist/collection/components/pds-tabs/pds-tabpanel/stories/pds-tabpanel.stories.js +15 -0
- package/dist/collection/components/pds-tabs/pds-tabs.css +31 -11
- package/dist/collection/components/pds-tabs/pds-tabs.js +301 -30
- package/dist/collection/components/pds-tabs/stories/pds-tabs.stories.js +70 -27
- package/dist/collection/components/pds-text/pds-text.css +207 -0
- package/dist/collection/components/pds-text/pds-text.js +328 -0
- package/dist/collection/components/pds-text/stories/pds-text.stories.js +141 -0
- package/dist/collection/components/pds-textarea/pds-textarea.css +127 -57
- package/dist/collection/components/pds-textarea/pds-textarea.js +598 -57
- package/dist/collection/components/pds-textarea/stories/pds-textarea.stories.js +101 -25
- package/dist/collection/components/pds-textarea/textarea-interface.js +0 -1
- package/dist/collection/components/pds-toast/pds-toast.css +167 -0
- package/dist/collection/components/pds-toast/pds-toast.js +362 -0
- package/dist/collection/components/pds-toast/stories/pds-toast.stories.js +98 -0
- package/dist/collection/components/pds-tooltip/pds-tooltip.css +73 -79
- package/dist/collection/components/pds-tooltip/pds-tooltip.js +451 -80
- package/dist/collection/components/pds-tooltip/stories/pds-tooltip.stories.js +52 -24
- package/dist/collection/global/pine-global.js +6 -0
- package/dist/collection/global/pine-ui-global.js +0 -1
- package/dist/collection/global/styles/utils/label.css +17 -0
- package/dist/collection/i18n/i18n-format.js +59 -0
- package/dist/collection/i18n/index.js +1 -0
- package/dist/collection/index.js +3 -1
- package/dist/collection/utils/aria-references.js +48 -0
- package/dist/collection/utils/attributes.js +180 -0
- package/dist/collection/utils/closest.js +8 -1
- package/dist/collection/utils/css.js +41 -0
- package/dist/collection/utils/form.js +41 -8
- package/dist/collection/utils/interfaces.js +1 -0
- package/dist/collection/utils/keep-hydrated.js +188 -0
- package/dist/collection/utils/overlay.js +66 -50
- package/dist/collection/utils/portal-target.js +64 -0
- package/dist/collection/utils/reconnected-content.js +25 -0
- package/dist/collection/utils/reflected-attribute-default.js +40 -0
- package/dist/collection/utils/scroll.js +77 -0
- package/dist/collection/utils/tabbable.js +82 -0
- package/dist/collection/utils/test/axe.js +106 -0
- package/dist/collection/utils/test/host-strip.js +50 -0
- package/dist/collection/utils/test/reconnect-safety.js +31 -0
- package/dist/collection/utils/test/reduced-motion.js +78 -0
- package/dist/collection/utils/truncation-tooltip.js +422 -0
- package/dist/collection/utils/types.js +18 -2
- package/dist/collection/utils/utils.js +109 -4
- package/dist/docs.d.ts +45 -0
- package/dist/docs.json +25718 -2809
- package/dist/esm/aria-references-CNn1lObg.js +50 -0
- package/dist/esm/attributes-CD8knu3a.js +183 -0
- package/dist/esm/closest-DHPzKMVS.js +17 -0
- package/dist/esm/floating-ui.dom-Cuc0DYlm.js +1706 -0
- package/dist/esm/form-BuRbS7Hp.js +63 -0
- package/dist/esm/i18n-format-BJgZHCWe.js +61 -0
- package/dist/esm/index-4_RRPJTO.js +2938 -0
- package/dist/esm/index-B0DXTeeV.js +21 -0
- package/dist/esm/index.js +21 -2
- package/dist/esm/keep-hydrated-BgNaWLoS.js +190 -0
- package/dist/esm/loader.js +4 -6
- package/dist/esm/mock-pds-modal.entry.js +90 -0
- package/dist/esm/pds-accordion.entry.js +16 -12
- package/dist/esm/pds-alert.entry.js +86 -0
- package/dist/esm/pds-avatar.entry.js +123 -26
- package/dist/esm/pds-box.entry.js +143 -56
- package/dist/esm/pds-button.entry.js +233 -22
- package/dist/esm/pds-checkbox.entry.js +103 -25
- package/dist/esm/pds-chip.entry.js +227 -22
- package/dist/esm/pds-combobox.entry.js +4498 -0
- package/dist/esm/pds-container.entry.js +35 -0
- package/dist/esm/pds-copytext.entry.js +98 -15
- package/dist/esm/pds-datepicker.entry.js +2137 -0
- package/dist/esm/pds-divider.entry.js +16 -9
- package/dist/esm/pds-drawer-content.entry.js +22 -0
- package/dist/esm/pds-drawer-footer.entry.js +22 -0
- package/dist/esm/pds-drawer-header.entry.js +22 -0
- package/dist/esm/pds-drawer.entry.js +154 -0
- package/dist/esm/pds-dropdown-menu-item.entry.js +149 -0
- package/dist/esm/pds-dropdown-menu-separator.entry.js +21 -0
- package/dist/esm/pds-dropdown-menu.entry.js +451 -0
- package/dist/esm/pds-filter.entry.js +510 -0
- package/dist/esm/pds-filters.entry.js +16 -0
- package/dist/esm/pds-icon.entry.js +334 -42
- package/dist/esm/pds-image.entry.js +158 -14
- package/dist/esm/pds-input.entry.js +301 -25
- package/dist/esm/pds-link.entry.js +50 -11
- package/dist/esm/pds-loader.entry.js +49 -12
- package/dist/esm/pds-modal-content.entry.js +197 -0
- package/dist/esm/pds-modal-footer.entry.js +22 -0
- package/dist/esm/pds-modal-header.entry.js +22 -0
- package/dist/esm/pds-modal.entry.js +590 -0
- package/dist/esm/pds-multiselect.entry.js +1382 -0
- package/dist/esm/pds-popover.entry.js +1101 -0
- package/dist/esm/pds-progress.entry.js +30 -10
- package/dist/esm/pds-property.entry.js +20 -0
- package/dist/esm/pds-radio-group.entry.js +258 -0
- package/dist/esm/pds-radio.entry.js +102 -22
- package/dist/esm/pds-row.entry.js +50 -19
- package/dist/esm/pds-select.entry.js +378 -0
- package/dist/esm/pds-sortable-item.entry.js +59 -9
- package/dist/esm/pds-sortable.entry.js +504 -117
- package/dist/esm/pds-switch.entry.js +186 -26
- package/dist/esm/pds-tab.entry.js +78 -14
- package/dist/esm/pds-table-body.entry.js +5 -7
- package/dist/esm/pds-table-cell.entry.js +150 -17
- package/dist/esm/pds-table-head-cell.entry.js +222 -28
- package/dist/esm/pds-table-head.entry.js +17 -11
- package/dist/esm/pds-table-row.entry.js +104 -14
- package/dist/esm/pds-table.entry.js +434 -20
- package/dist/esm/pds-tabpanel.entry.js +32 -11
- package/dist/esm/pds-tabs.entry.js +206 -16
- package/dist/esm/pds-text.entry.js +139 -0
- package/dist/esm/pds-textarea.entry.js +319 -28
- package/dist/esm/pds-toast.entry.js +154 -0
- package/dist/esm/pds-tooltip.entry.js +401 -108
- package/dist/esm/pine-core.js +6 -7
- package/dist/esm/portal-target-CKRzRKdO.js +66 -0
- package/dist/esm/reconnected-content-RFpTWV6r.js +27 -0
- package/dist/esm/reflected-attribute-default-t3idJwV0.js +42 -0
- package/dist/esm/scroll-DtgUQhjl.js +75 -0
- package/dist/esm/sortable-label-PItnzVVR.js +35 -0
- package/dist/esm/tabbable-C6ZWpp3v.js +84 -0
- package/dist/esm/truncation-tooltip-CkIWm6Z-.js +425 -0
- package/dist/esm/utils-OYK5-nwe.js +114 -0
- package/dist/esm-es5/aria-references-CNn1lObg.js +1 -0
- package/dist/esm-es5/attributes-CD8knu3a.js +1 -0
- package/dist/esm-es5/closest-DHPzKMVS.js +1 -0
- package/dist/esm-es5/floating-ui.dom-Cuc0DYlm.js +1 -0
- package/dist/esm-es5/form-BuRbS7Hp.js +1 -0
- package/dist/esm-es5/i18n-format-BJgZHCWe.js +1 -0
- package/dist/esm-es5/index-4_RRPJTO.js +2 -0
- package/dist/esm-es5/index-B0DXTeeV.js +1 -0
- package/dist/esm-es5/index.js +1 -2
- package/dist/esm-es5/keep-hydrated-BgNaWLoS.js +1 -0
- package/dist/esm-es5/loader.js +1 -2
- package/dist/esm-es5/mock-pds-modal.entry.js +1 -0
- package/dist/esm-es5/pds-accordion.entry.js +1 -2
- package/dist/esm-es5/pds-alert.entry.js +1 -0
- package/dist/esm-es5/pds-avatar.entry.js +1 -2
- package/dist/esm-es5/pds-box.entry.js +1 -2
- package/dist/esm-es5/pds-button.entry.js +1 -2
- package/dist/esm-es5/pds-checkbox.entry.js +1 -2
- package/dist/esm-es5/pds-chip.entry.js +1 -2
- package/dist/esm-es5/pds-combobox.entry.js +2 -0
- package/dist/esm-es5/pds-container.entry.js +1 -0
- package/dist/esm-es5/pds-copytext.entry.js +1 -2
- package/dist/esm-es5/pds-datepicker.entry.js +1 -0
- package/dist/esm-es5/pds-divider.entry.js +1 -2
- package/dist/esm-es5/pds-drawer-content.entry.js +1 -0
- package/dist/esm-es5/pds-drawer-footer.entry.js +1 -0
- package/dist/esm-es5/pds-drawer-header.entry.js +1 -0
- package/dist/esm-es5/pds-drawer.entry.js +1 -0
- package/dist/esm-es5/pds-dropdown-menu-item.entry.js +1 -0
- package/dist/esm-es5/pds-dropdown-menu-separator.entry.js +1 -0
- package/dist/esm-es5/pds-dropdown-menu.entry.js +1 -0
- package/dist/esm-es5/pds-filter.entry.js +1 -0
- package/dist/esm-es5/pds-filters.entry.js +1 -0
- package/dist/esm-es5/pds-icon.entry.js +1 -2
- package/dist/esm-es5/pds-image.entry.js +1 -2
- package/dist/esm-es5/pds-input.entry.js +1 -2
- package/dist/esm-es5/pds-link.entry.js +1 -2
- package/dist/esm-es5/pds-loader.entry.js +1 -2
- package/dist/esm-es5/pds-modal-content.entry.js +1 -0
- package/dist/esm-es5/pds-modal-footer.entry.js +1 -0
- package/dist/esm-es5/pds-modal-header.entry.js +1 -0
- package/dist/esm-es5/pds-modal.entry.js +1 -0
- package/dist/esm-es5/pds-multiselect.entry.js +1 -0
- package/dist/esm-es5/pds-popover.entry.js +1 -0
- package/dist/esm-es5/pds-progress.entry.js +1 -2
- package/dist/esm-es5/pds-property.entry.js +1 -0
- package/dist/esm-es5/pds-radio-group.entry.js +1 -0
- package/dist/esm-es5/pds-radio.entry.js +1 -2
- package/dist/esm-es5/pds-row.entry.js +1 -2
- package/dist/esm-es5/pds-select.entry.js +1 -0
- package/dist/esm-es5/pds-sortable-item.entry.js +1 -2
- package/dist/esm-es5/pds-sortable.entry.js +3 -4
- package/dist/esm-es5/pds-switch.entry.js +1 -2
- package/dist/esm-es5/pds-tab.entry.js +1 -2
- package/dist/esm-es5/pds-table-body.entry.js +1 -2
- package/dist/esm-es5/pds-table-cell.entry.js +1 -2
- package/dist/esm-es5/pds-table-head-cell.entry.js +1 -2
- package/dist/esm-es5/pds-table-head.entry.js +1 -2
- package/dist/esm-es5/pds-table-row.entry.js +1 -2
- package/dist/esm-es5/pds-table.entry.js +1 -2
- package/dist/esm-es5/pds-tabpanel.entry.js +1 -2
- package/dist/esm-es5/pds-tabs.entry.js +1 -2
- package/dist/esm-es5/pds-text.entry.js +1 -0
- package/dist/esm-es5/pds-textarea.entry.js +1 -2
- package/dist/esm-es5/pds-toast.entry.js +1 -0
- package/dist/esm-es5/pds-tooltip.entry.js +1 -2
- package/dist/esm-es5/pine-core.js +1 -2
- package/dist/esm-es5/portal-target-CKRzRKdO.js +1 -0
- package/dist/esm-es5/reconnected-content-RFpTWV6r.js +1 -0
- package/dist/esm-es5/reflected-attribute-default-t3idJwV0.js +1 -0
- package/dist/esm-es5/scroll-DtgUQhjl.js +1 -0
- package/dist/esm-es5/sortable-label-PItnzVVR.js +1 -0
- package/dist/esm-es5/tabbable-C6ZWpp3v.js +1 -0
- package/dist/esm-es5/truncation-tooltip-CkIWm6Z-.js +1 -0
- package/dist/esm-es5/utils-OYK5-nwe.js +1 -0
- package/dist/pine-core/index.esm.js +1 -2
- package/dist/pine-core/p-053ff8eb.system.entry.js +1 -0
- package/dist/pine-core/p-08b9e3ad.entry.js +1 -0
- package/dist/pine-core/p-0ac4262e.system.entry.js +1 -0
- package/dist/pine-core/p-0e1b8bd1.system.entry.js +1 -0
- package/dist/pine-core/p-12fdc65f.entry.js +1 -0
- package/dist/pine-core/p-1765a41b.system.entry.js +1 -0
- package/dist/pine-core/p-18524c25.entry.js +1 -0
- package/dist/pine-core/p-191eb9e5.system.entry.js +1 -0
- package/dist/pine-core/p-1c584a20.entry.js +1 -0
- package/dist/pine-core/p-1d4ecc35.entry.js +7 -0
- package/dist/pine-core/p-1e0c9738.system.entry.js +1 -0
- package/dist/pine-core/p-1fb1ca3d.entry.js +1 -0
- package/dist/pine-core/p-2482e4ab.system.entry.js +1 -0
- package/dist/pine-core/p-2cc7c682.entry.js +1 -0
- package/dist/pine-core/p-2f15e85f.entry.js +1 -0
- package/dist/pine-core/p-3306dc5a.system.entry.js +1 -0
- package/dist/pine-core/p-3338fc2e.entry.js +1 -0
- package/dist/pine-core/p-33da254f.system.entry.js +1 -0
- package/dist/pine-core/p-34d22a45.system.entry.js +1 -0
- package/dist/pine-core/p-35b90796.entry.js +1 -0
- package/dist/pine-core/p-38148f5b.entry.js +1 -0
- package/dist/pine-core/p-39264dfb.system.entry.js +1 -0
- package/dist/pine-core/p-3aed0418.system.entry.js +1 -0
- package/dist/pine-core/p-3dd879fd.entry.js +1 -0
- package/dist/pine-core/p-3f1c05cd.system.entry.js +1 -0
- package/dist/pine-core/p-3fc9ef80.system.entry.js +1 -0
- package/dist/pine-core/p-4125a4a6.system.entry.js +1 -0
- package/dist/pine-core/p-42376f2c.entry.js +1 -0
- package/dist/pine-core/p-4263038f.entry.js +1 -0
- package/dist/pine-core/p-47df9e9f.system.entry.js +3 -0
- package/dist/pine-core/p-55a4659a.system.entry.js +1 -0
- package/dist/pine-core/p-563baadd.system.entry.js +1 -0
- package/dist/pine-core/p-57af5c29.system.entry.js +1 -0
- package/dist/pine-core/p-587bd9ed.entry.js +1 -0
- package/dist/pine-core/p-5c7dfa7a.entry.js +1 -0
- package/dist/pine-core/p-5db87fda.system.entry.js +1 -0
- package/dist/pine-core/p-5eb0c78c.system.entry.js +1 -0
- package/dist/pine-core/p-6017afb5.system.entry.js +1 -0
- package/dist/pine-core/p-63d47dd4.system.entry.js +1 -0
- package/dist/pine-core/p-66e61921.system.entry.js +1 -0
- package/dist/pine-core/p-67999353.entry.js +1 -0
- package/dist/pine-core/p-68328afc.entry.js +1 -0
- package/dist/pine-core/p-6a965119.entry.js +1 -0
- package/dist/pine-core/p-6fdc6df9.system.entry.js +1 -0
- package/dist/pine-core/p-72668673.system.entry.js +1 -0
- package/dist/pine-core/p-765f4207.entry.js +1 -0
- package/dist/pine-core/p-77530cf2.entry.js +1 -0
- package/dist/pine-core/p-77a22399.entry.js +1 -0
- package/dist/pine-core/p-783127bf.entry.js +1 -0
- package/dist/pine-core/p-7a51f15e.entry.js +1 -0
- package/dist/pine-core/p-7b978fff.system.entry.js +1 -0
- package/dist/pine-core/p-82f7eed1.entry.js +1 -0
- package/dist/pine-core/p-863ff553.system.entry.js +1 -0
- package/dist/pine-core/p-87a32ded.system.entry.js +1 -0
- package/dist/pine-core/p-87cadd6f.system.entry.js +8 -0
- package/dist/pine-core/p-8db554fe.entry.js +1 -0
- package/dist/pine-core/p-8e7e7bba.entry.js +1 -0
- package/dist/pine-core/p-907c69e9.system.entry.js +1 -0
- package/dist/pine-core/p-90f83a5b.system.entry.js +1 -0
- package/dist/pine-core/p-931a0ccd.system.entry.js +1 -0
- package/dist/pine-core/p-94fd9595.entry.js +1 -0
- package/dist/pine-core/p-96bccf85.system.entry.js +1 -0
- package/dist/pine-core/p-9a63bf72.entry.js +1 -0
- package/dist/pine-core/p-9d983e09.system.entry.js +1 -0
- package/dist/pine-core/p-9da10cfb.system.entry.js +1 -0
- package/dist/pine-core/p-9e005996.entry.js +1 -0
- package/dist/pine-core/p-B0DXTeeV.js +1 -0
- package/dist/pine-core/p-BJgZHCWe.js +1 -0
- package/dist/pine-core/p-BK1sLRfg.system.js +2 -0
- package/dist/pine-core/p-BNTlHhoO.system.js +1 -0
- package/dist/pine-core/p-BSRFZB4I.system.js +1 -0
- package/dist/pine-core/p-BZ1l3LGl.system.js +1 -0
- package/dist/pine-core/p-BZsj6eAn.system.js +1 -0
- package/dist/pine-core/p-BbXp4qBM.system.js +1 -0
- package/dist/pine-core/p-BgNaWLoS.js +1 -0
- package/dist/pine-core/p-Bkho_oFB.system.js +1 -0
- package/dist/pine-core/p-BlJQebvG.system.js +1 -0
- package/dist/pine-core/p-BuRbS7Hp.js +1 -0
- package/dist/pine-core/p-BxIzb-Wc.system.js +1 -0
- package/dist/pine-core/p-C35-349-.system.js +1 -0
- package/dist/pine-core/p-C6ZWpp3v.js +1 -0
- package/dist/pine-core/p-CANeE7Ss.system.js +1 -0
- package/dist/pine-core/p-CIe1DGXa.system.js +1 -0
- package/dist/pine-core/p-CKRzRKdO.js +1 -0
- package/dist/pine-core/p-CNn1lObg.js +1 -0
- package/dist/pine-core/p-CQJ44c6o.system.js +1 -0
- package/dist/pine-core/p-Cuc0DYlm.js +1 -0
- package/dist/pine-core/p-DHPzKMVS.js +1 -0
- package/dist/pine-core/p-DVra397g.system.js +1 -0
- package/dist/pine-core/p-DtgUQhjl.js +1 -0
- package/dist/pine-core/p-Dv9QBmIF.js +1 -0
- package/dist/pine-core/p-Dx8tEj0U.system.js +1 -0
- package/dist/pine-core/p-M31tvpDN.js +2 -0
- package/dist/pine-core/p-OYK5-nwe.js +1 -0
- package/dist/pine-core/p-PItnzVVR.js +1 -0
- package/dist/pine-core/p-RFpTWV6r.js +1 -0
- package/dist/pine-core/p-VPGVqK3P.system.js +1 -0
- package/dist/pine-core/p-XK45dzWR.system.js +1 -0
- package/dist/pine-core/p-a0fa77b1.system.entry.js +1 -0
- package/dist/pine-core/p-a149af29.entry.js +1 -0
- package/dist/pine-core/p-a1575919.entry.js +1 -0
- package/dist/pine-core/p-a20d9eca.system.entry.js +1 -0
- package/dist/pine-core/p-a5782d99.entry.js +1 -0
- package/dist/pine-core/p-a9eaf160.system.entry.js +1 -0
- package/dist/pine-core/p-aae96744.entry.js +1 -0
- package/dist/pine-core/p-b379d9bc.system.entry.js +1 -0
- package/dist/pine-core/p-b96bdff6.entry.js +1 -0
- package/dist/pine-core/p-badde164.entry.js +1 -0
- package/dist/pine-core/p-bbd9ab75.entry.js +1 -0
- package/dist/pine-core/p-biShcgLI.js +1 -0
- package/dist/pine-core/p-c12b5cd7.system.entry.js +1 -0
- package/dist/pine-core/p-c2afe4f3.system.entry.js +1 -0
- package/dist/pine-core/p-c65f4eaa.system.entry.js +1 -0
- package/dist/pine-core/p-c6c5ada6.system.entry.js +1 -0
- package/dist/pine-core/p-c76d8b9e.system.entry.js +1 -0
- package/dist/pine-core/p-c89ea2d3.entry.js +1 -0
- package/dist/pine-core/p-ce9fa14b.entry.js +1 -0
- package/dist/pine-core/p-d4b0122f.system.entry.js +1 -0
- package/dist/pine-core/p-d61a0fe8.system.entry.js +1 -0
- package/dist/pine-core/p-d7d7a4e1.entry.js +1 -0
- package/dist/pine-core/p-d85d50cb.entry.js +1 -0
- package/dist/pine-core/p-daa802f1.entry.js +2 -0
- package/dist/pine-core/p-de3f4a28.system.entry.js +1 -0
- package/dist/pine-core/p-e00777da.system.entry.js +1 -0
- package/dist/pine-core/p-e2a1a49a.system.entry.js +1 -0
- package/dist/pine-core/p-e334af06.entry.js +1 -0
- package/dist/pine-core/p-e4216ff6.entry.js +1 -0
- package/dist/pine-core/p-e68044b3.entry.js +1 -0
- package/dist/pine-core/p-e75d8bc1.entry.js +1 -0
- package/dist/pine-core/p-e871cfce.entry.js +1 -0
- package/dist/pine-core/p-e92d0f0f.system.entry.js +1 -0
- package/dist/pine-core/p-eab165b9.system.entry.js +1 -0
- package/dist/pine-core/p-eabc4bd8.entry.js +1 -0
- package/dist/pine-core/p-eeYeEogd.system.js +1 -0
- package/dist/pine-core/p-eee042d3.entry.js +1 -0
- package/dist/pine-core/p-ef9f84f2.system.entry.js +1 -0
- package/dist/pine-core/p-f026af73.entry.js +1 -0
- package/dist/pine-core/p-f0509c8e.entry.js +1 -0
- package/dist/pine-core/p-f1252e72.system.entry.js +1 -0
- package/dist/pine-core/p-f3496fd1.entry.js +1 -0
- package/dist/pine-core/p-f65127f1.entry.js +1 -0
- package/dist/pine-core/p-f90f4be7.system.entry.js +1 -0
- package/dist/pine-core/p-f99bd77f.entry.js +1 -0
- package/dist/pine-core/p-fda791df.entry.js +1 -0
- package/dist/pine-core/p-t3idJwV0.js +1 -0
- package/dist/pine-core/p-wB2y8gR7.system.js +1 -0
- package/dist/pine-core/pine-core.css +1 -1
- package/dist/pine-core/pine-core.esm.js +1 -2
- package/dist/pine-core/pine-core.js +1 -1
- package/dist/scripts/vscode-custom-data-generator.js +406 -0
- package/dist/scripts/vscode-settings-patcher.cjs +89 -0
- package/dist/types/components/pds-accordion/pds-accordion.d.ts +9 -1
- package/dist/types/components/pds-alert/pds-alert.d.ts +62 -0
- package/dist/types/components/pds-avatar/pds-avatar.d.ts +53 -3
- package/dist/types/components/pds-box/pds-box.d.ts +495 -16
- package/dist/types/components/pds-button/pds-button.d.ts +91 -13
- package/dist/types/components/pds-checkbox/pds-checkbox.d.ts +43 -9
- package/dist/types/components/pds-chip/pds-chip.d.ts +77 -14
- package/dist/types/components/pds-combobox/combobox-interface.d.ts +73 -0
- package/dist/types/components/pds-combobox/grouped-options-panel.d.ts +128 -0
- package/dist/types/components/pds-combobox/pds-combobox.d.ts +714 -0
- package/dist/types/components/pds-container/pds-container.d.ts +22 -0
- package/dist/types/components/pds-copytext/pds-copytext.d.ts +20 -5
- package/dist/types/components/pds-datepicker/calendar-portal.d.ts +36 -0
- package/dist/types/components/pds-datepicker/date-utils.d.ts +67 -0
- package/dist/types/components/pds-datepicker/datepicker-interface.d.ts +47 -0
- package/dist/types/components/pds-datepicker/pds-datepicker.d.ts +515 -0
- package/dist/types/components/pds-datepicker/presets.d.ts +24 -0
- package/dist/types/components/pds-datepicker/value.d.ts +59 -0
- package/dist/types/components/pds-divider/pds-divider.d.ts +10 -2
- package/dist/types/components/pds-drawer/pds-drawer-content/pds-drawer-content.d.ts +9 -0
- package/dist/types/components/pds-drawer/pds-drawer-footer/pds-drawer-footer.d.ts +9 -0
- package/dist/types/components/pds-drawer/pds-drawer-header/pds-drawer-header.d.ts +9 -0
- package/dist/types/components/pds-drawer/pds-drawer.d.ts +89 -0
- package/dist/types/components/pds-dropdown-menu/pds-dropdown-menu-item/pds-dropdown-menu-item.d.ts +87 -0
- package/dist/types/components/pds-dropdown-menu/pds-dropdown-menu-separator/pds-dropdown-menu-separator.d.ts +13 -0
- package/dist/types/components/pds-dropdown-menu/pds-dropdown-menu.d.ts +60 -0
- package/dist/types/components/pds-filters/pds-filter/filter-interface.d.ts +19 -0
- package/dist/types/components/pds-filters/pds-filter/pds-filter.d.ts +135 -0
- package/dist/types/components/pds-filters/pds-filters.d.ts +11 -0
- package/dist/types/components/pds-image/image-interface.d.ts +12 -0
- package/dist/types/components/pds-image/pds-image.d.ts +75 -11
- package/dist/types/components/pds-input/input-interface.d.ts +12 -0
- package/dist/types/components/pds-input/pds-input.d.ts +174 -9
- package/dist/types/components/pds-link/pds-link.d.ts +81 -11
- package/dist/types/components/pds-loader/pds-loader.d.ts +10 -3
- package/dist/types/components/pds-modal/pds-modal-content/pds-modal-content.d.ts +43 -0
- package/dist/types/components/pds-modal/pds-modal-footer/pds-modal-footer.d.ts +9 -0
- package/dist/types/components/pds-modal/pds-modal-header/pds-modal-header.d.ts +9 -0
- package/dist/types/components/pds-modal/pds-modal.d.ts +152 -0
- package/dist/types/components/pds-modal/test/mock-pds-modal.d.ts +68 -0
- package/dist/types/components/pds-multiselect/multiselect-interface.d.ts +61 -0
- package/dist/types/components/pds-multiselect/pds-multiselect.d.ts +402 -0
- package/dist/types/components/pds-popover/pds-popover.d.ts +292 -0
- package/dist/types/components/pds-popover/popover-interface.d.ts +4 -0
- package/dist/types/components/pds-progress/pds-progress.d.ts +6 -2
- package/dist/types/components/pds-property/pds-property.d.ts +14 -0
- package/dist/types/components/pds-radio/pds-radio.d.ts +42 -11
- package/dist/types/components/pds-radio-group/pds-radio-group.d.ts +84 -0
- package/dist/types/components/pds-radio-group/radio-group-interface.d.ts +5 -0
- package/dist/types/components/pds-row/pds-row.d.ts +17 -2
- package/dist/types/components/pds-select/pds-select.d.ts +182 -0
- package/dist/types/components/pds-sortable/pds-sortable-item/pds-sortable-item.d.ts +14 -3
- package/dist/types/components/pds-sortable/pds-sortable.d.ts +99 -4
- package/dist/types/components/pds-sortable/sortable-interface.d.ts +3 -1
- package/dist/types/components/pds-sortable/sortable-label.d.ts +7 -0
- package/dist/types/components/pds-switch/pds-switch.d.ts +51 -17
- package/dist/types/components/pds-table/pds-table-body/pds-table-body.d.ts +3 -0
- package/dist/types/components/pds-table/pds-table-cell/pds-table-cell.d.ts +40 -1
- package/dist/types/components/pds-table/pds-table-head/pds-table-head.d.ts +19 -2
- package/dist/types/components/pds-table/pds-table-head-cell/pds-table-head-cell.d.ts +73 -2
- package/dist/types/components/pds-table/pds-table-row/pds-table-row.d.ts +27 -4
- package/dist/types/components/pds-table/pds-table.d.ts +138 -12
- package/dist/types/components/pds-tabs/pds-tab/pds-tab.d.ts +55 -0
- package/dist/types/components/pds-tabs/pds-tabpanel/pds-tabpanel.d.ts +12 -0
- package/dist/types/components/pds-tabs/pds-tabs.d.ts +45 -5
- package/dist/types/components/pds-text/pds-text.d.ts +61 -0
- package/dist/types/components/pds-textarea/pds-textarea.d.ts +140 -15
- package/dist/types/components/pds-textarea/textarea-interface.d.ts +5 -1
- package/dist/types/components/pds-toast/pds-toast.d.ts +83 -0
- package/dist/types/components/pds-tooltip/pds-tooltip.d.ts +80 -20
- package/dist/types/components.d.ts +7070 -1247
- package/dist/types/global/pine-global.d.ts +2 -0
- package/dist/types/home/runner/work/pine/pine/libs/core/.stencil/scripts/vscode-custom-data-generator.d.ts +6 -0
- package/dist/types/i18n/i18n-format.d.ts +38 -0
- package/dist/types/i18n/index.d.ts +2 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/stencil-public-runtime.d.ts +195 -8
- package/dist/types/utils/aria-references.d.ts +28 -0
- package/dist/types/utils/attributes.d.ts +44 -0
- package/dist/types/utils/closest.d.ts +2 -0
- package/dist/types/utils/css.d.ts +7 -0
- package/dist/types/utils/form.d.ts +23 -1
- package/dist/types/utils/interfaces.d.ts +6 -0
- package/dist/types/utils/keep-hydrated.d.ts +56 -0
- package/dist/types/utils/overlay.d.ts +3 -3
- package/dist/types/utils/portal-target.d.ts +17 -0
- package/dist/types/utils/reconnected-content.d.ts +14 -0
- package/dist/types/utils/reflected-attribute-default.d.ts +31 -0
- package/dist/types/utils/scroll.d.ts +21 -0
- package/dist/types/utils/tabbable.d.ts +2 -0
- package/dist/types/utils/test/axe.d.ts +81 -0
- package/dist/types/utils/test/host-strip.d.ts +10 -0
- package/dist/types/utils/test/reconnect-safety.d.ts +11 -0
- package/dist/types/utils/test/reduced-motion.d.ts +30 -0
- package/dist/types/utils/truncation-tooltip.d.ts +88 -0
- package/dist/types/utils/types.d.ts +13 -2
- package/dist/types/utils/utils.d.ts +37 -2
- package/dist/vscode.html-data.json +11913 -0
- package/hydrate/index.d.ts +58 -7
- package/hydrate/index.js +29932 -3726
- package/hydrate/index.mjs +29929 -3725
- package/package.json +52 -26
- package/readme.md +26 -55
- package/components/closest.js.map +0 -1
- package/components/index.js.map +0 -1
- package/components/index2.js.map +0 -1
- package/components/pds-accordion.js.map +0 -1
- package/components/pds-avatar.js.map +0 -1
- package/components/pds-box.js.map +0 -1
- package/components/pds-button.js.map +0 -1
- package/components/pds-button2.js.map +0 -1
- package/components/pds-checkbox.js.map +0 -1
- package/components/pds-checkbox2.js.map +0 -1
- package/components/pds-chip.js.map +0 -1
- package/components/pds-copytext.js.map +0 -1
- package/components/pds-divider.js.map +0 -1
- package/components/pds-icon.js.map +0 -1
- package/components/pds-icon2.js.map +0 -1
- package/components/pds-image.js.map +0 -1
- package/components/pds-input.js.map +0 -1
- package/components/pds-label.js +0 -39
- package/components/pds-label.js.map +0 -1
- package/components/pds-link.js.map +0 -1
- package/components/pds-loader.js.map +0 -1
- package/components/pds-progress.js.map +0 -1
- package/components/pds-radio.js.map +0 -1
- package/components/pds-row.js.map +0 -1
- package/components/pds-sortable-item.js.map +0 -1
- package/components/pds-sortable.js.map +0 -1
- package/components/pds-switch.js.map +0 -1
- package/components/pds-tab.js.map +0 -1
- package/components/pds-table-body.js.map +0 -1
- package/components/pds-table-cell.js.map +0 -1
- package/components/pds-table-cell2.js.map +0 -1
- package/components/pds-table-head-cell.js.map +0 -1
- package/components/pds-table-head-cell2.js.map +0 -1
- package/components/pds-table-head.js.map +0 -1
- package/components/pds-table-row.js.map +0 -1
- package/components/pds-table.js.map +0 -1
- package/components/pds-tabpanel.js.map +0 -1
- package/components/pds-tabs.js.map +0 -1
- package/components/pds-textarea.js.map +0 -1
- package/components/pds-tooltip.js.map +0 -1
- package/dist/cjs/app-globals-3a1e7e63.js +0 -7
- package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
- package/dist/cjs/closest-b45138d3.js +0 -13
- package/dist/cjs/closest-b45138d3.js.map +0 -1
- package/dist/cjs/index-46fb0736.js +0 -1956
- package/dist/cjs/index-46fb0736.js.map +0 -1
- package/dist/cjs/index-de3f0730.js +0 -24
- package/dist/cjs/index-de3f0730.js.map +0 -1
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/cjs/pds-accordion.cjs.entry.js.map +0 -1
- package/dist/cjs/pds-avatar.cjs.entry.js.map +0 -1
- package/dist/cjs/pds-box.cjs.entry.js.map +0 -1
- package/dist/cjs/pds-button.cjs.entry.js.map +0 -1
- package/dist/cjs/pds-checkbox.cjs.entry.js.map +0 -1
- package/dist/cjs/pds-chip.cjs.entry.js.map +0 -1
- package/dist/cjs/pds-copytext.cjs.entry.js.map +0 -1
- package/dist/cjs/pds-divider.cjs.entry.js.map +0 -1
- package/dist/cjs/pds-icon.cjs.entry.js.map +0 -1
- package/dist/cjs/pds-image.cjs.entry.js.map +0 -1
- package/dist/cjs/pds-input.cjs.entry.js.map +0 -1
- package/dist/cjs/pds-label-7aabdc4e.js +0 -44
- package/dist/cjs/pds-label-7aabdc4e.js.map +0 -1
- package/dist/cjs/pds-link.cjs.entry.js.map +0 -1
- package/dist/cjs/pds-loader.cjs.entry.js.map +0 -1
- package/dist/cjs/pds-progress.cjs.entry.js.map +0 -1
- package/dist/cjs/pds-radio.cjs.entry.js.map +0 -1
- package/dist/cjs/pds-row.cjs.entry.js.map +0 -1
- package/dist/cjs/pds-sortable-item.cjs.entry.js.map +0 -1
- package/dist/cjs/pds-sortable.cjs.entry.js.map +0 -1
- package/dist/cjs/pds-switch.cjs.entry.js.map +0 -1
- package/dist/cjs/pds-tab.cjs.entry.js.map +0 -1
- package/dist/cjs/pds-table-body.cjs.entry.js.map +0 -1
- package/dist/cjs/pds-table-cell.cjs.entry.js.map +0 -1
- package/dist/cjs/pds-table-head-cell.cjs.entry.js.map +0 -1
- package/dist/cjs/pds-table-head.cjs.entry.js.map +0 -1
- package/dist/cjs/pds-table-row.cjs.entry.js.map +0 -1
- package/dist/cjs/pds-table.cjs.entry.js.map +0 -1
- package/dist/cjs/pds-tabpanel.cjs.entry.js.map +0 -1
- package/dist/cjs/pds-tabs.cjs.entry.js.map +0 -1
- package/dist/cjs/pds-textarea.cjs.entry.js.map +0 -1
- package/dist/cjs/pds-tooltip.cjs.entry.js.map +0 -1
- package/dist/cjs/pine-core.cjs.js.map +0 -1
- package/dist/collection/components/_internal/pds-label/pds-label.js.map +0 -1
- package/dist/collection/components/pds-accordion/pds-accordion.js.map +0 -1
- package/dist/collection/components/pds-avatar/pds-avatar.js.map +0 -1
- package/dist/collection/components/pds-box/pds-box.js.map +0 -1
- package/dist/collection/components/pds-button/pds-button.js.map +0 -1
- package/dist/collection/components/pds-checkbox/checkbox-interface.js.map +0 -1
- package/dist/collection/components/pds-checkbox/pds-checkbox.js.map +0 -1
- package/dist/collection/components/pds-chip/pds-chip.js.map +0 -1
- package/dist/collection/components/pds-copytext/pds-copytext.js.map +0 -1
- package/dist/collection/components/pds-divider/pds-divider.js.map +0 -1
- package/dist/collection/components/pds-image/pds-image.js.map +0 -1
- package/dist/collection/components/pds-input/pds-input.js.map +0 -1
- package/dist/collection/components/pds-link/pds-link.js.map +0 -1
- package/dist/collection/components/pds-loader/pds-loader.js.map +0 -1
- package/dist/collection/components/pds-progress/pds-progress.js.map +0 -1
- package/dist/collection/components/pds-radio/pds-radio.js.map +0 -1
- package/dist/collection/components/pds-row/pds-row.js.map +0 -1
- package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js.map +0 -1
- package/dist/collection/components/pds-sortable/pds-sortable.js.map +0 -1
- package/dist/collection/components/pds-sortable/sortable-interface.js.map +0 -1
- package/dist/collection/components/pds-switch/pds-switch.js.map +0 -1
- package/dist/collection/components/pds-table/pds-table-body/pds-table-body.js.map +0 -1
- package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.js.map +0 -1
- package/dist/collection/components/pds-table/pds-table-head/pds-table-head.js.map +0 -1
- package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.js.map +0 -1
- package/dist/collection/components/pds-table/pds-table-row/pds-table-row.js.map +0 -1
- package/dist/collection/components/pds-table/pds-table.js.map +0 -1
- package/dist/collection/components/pds-tabs/pds-tab/pds-tab.js.map +0 -1
- package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.js.map +0 -1
- package/dist/collection/components/pds-tabs/pds-tabs.js.map +0 -1
- package/dist/collection/components/pds-textarea/pds-textarea.js.map +0 -1
- package/dist/collection/components/pds-textarea/textarea-interface.js.map +0 -1
- package/dist/collection/components/pds-tooltip/pds-tooltip.js.map +0 -1
- package/dist/collection/global/pine-ui-global.js.map +0 -1
- package/dist/collection/index.js.map +0 -1
- package/dist/collection/stories/_helpers/index.js +0 -15
- package/dist/collection/stories/_helpers/index.js.map +0 -1
- package/dist/collection/utils/closest.js.map +0 -1
- package/dist/collection/utils/form.js.map +0 -1
- package/dist/collection/utils/overlay.js.map +0 -1
- package/dist/collection/utils/types.js.map +0 -1
- package/dist/collection/utils/utils.js.map +0 -1
- package/dist/esm/app-globals-0f993ce5.js +0 -5
- package/dist/esm/app-globals-0f993ce5.js.map +0 -1
- package/dist/esm/closest-d2d192be.js +0 -11
- package/dist/esm/closest-d2d192be.js.map +0 -1
- package/dist/esm/index-2a33b470.js +0 -1927
- package/dist/esm/index-2a33b470.js.map +0 -1
- package/dist/esm/index-a1e2f9af.js +0 -14
- package/dist/esm/index-a1e2f9af.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/loader.js.map +0 -1
- package/dist/esm/pds-accordion.entry.js.map +0 -1
- package/dist/esm/pds-avatar.entry.js.map +0 -1
- package/dist/esm/pds-box.entry.js.map +0 -1
- package/dist/esm/pds-button.entry.js.map +0 -1
- package/dist/esm/pds-checkbox.entry.js.map +0 -1
- package/dist/esm/pds-chip.entry.js.map +0 -1
- package/dist/esm/pds-copytext.entry.js.map +0 -1
- package/dist/esm/pds-divider.entry.js.map +0 -1
- package/dist/esm/pds-icon.entry.js.map +0 -1
- package/dist/esm/pds-image.entry.js.map +0 -1
- package/dist/esm/pds-input.entry.js.map +0 -1
- package/dist/esm/pds-label-31a5848b.js +0 -39
- package/dist/esm/pds-label-31a5848b.js.map +0 -1
- package/dist/esm/pds-link.entry.js.map +0 -1
- package/dist/esm/pds-loader.entry.js.map +0 -1
- package/dist/esm/pds-progress.entry.js.map +0 -1
- package/dist/esm/pds-radio.entry.js.map +0 -1
- package/dist/esm/pds-row.entry.js.map +0 -1
- package/dist/esm/pds-sortable-item.entry.js.map +0 -1
- package/dist/esm/pds-sortable.entry.js.map +0 -1
- package/dist/esm/pds-switch.entry.js.map +0 -1
- package/dist/esm/pds-tab.entry.js.map +0 -1
- package/dist/esm/pds-table-body.entry.js.map +0 -1
- package/dist/esm/pds-table-cell.entry.js.map +0 -1
- package/dist/esm/pds-table-head-cell.entry.js.map +0 -1
- package/dist/esm/pds-table-head.entry.js.map +0 -1
- package/dist/esm/pds-table-row.entry.js.map +0 -1
- package/dist/esm/pds-table.entry.js.map +0 -1
- package/dist/esm/pds-tabpanel.entry.js.map +0 -1
- package/dist/esm/pds-tabs.entry.js.map +0 -1
- package/dist/esm/pds-textarea.entry.js.map +0 -1
- package/dist/esm/pds-tooltip.entry.js.map +0 -1
- package/dist/esm/pine-core.js.map +0 -1
- package/dist/esm-es5/app-globals-0f993ce5.js +0 -2
- package/dist/esm-es5/app-globals-0f993ce5.js.map +0 -1
- package/dist/esm-es5/closest-d2d192be.js +0 -2
- package/dist/esm-es5/closest-d2d192be.js.map +0 -1
- package/dist/esm-es5/index-2a33b470.js +0 -3
- package/dist/esm-es5/index-2a33b470.js.map +0 -1
- package/dist/esm-es5/index-a1e2f9af.js +0 -2
- package/dist/esm-es5/index-a1e2f9af.js.map +0 -1
- package/dist/esm-es5/index.js.map +0 -1
- package/dist/esm-es5/loader.js.map +0 -1
- package/dist/esm-es5/pds-accordion.entry.js.map +0 -1
- package/dist/esm-es5/pds-avatar.entry.js.map +0 -1
- package/dist/esm-es5/pds-box.entry.js.map +0 -1
- package/dist/esm-es5/pds-button.entry.js.map +0 -1
- package/dist/esm-es5/pds-checkbox.entry.js.map +0 -1
- package/dist/esm-es5/pds-chip.entry.js.map +0 -1
- package/dist/esm-es5/pds-copytext.entry.js.map +0 -1
- package/dist/esm-es5/pds-divider.entry.js.map +0 -1
- package/dist/esm-es5/pds-icon.entry.js.map +0 -1
- package/dist/esm-es5/pds-image.entry.js.map +0 -1
- package/dist/esm-es5/pds-input.entry.js.map +0 -1
- package/dist/esm-es5/pds-label-31a5848b.js +0 -2
- package/dist/esm-es5/pds-label-31a5848b.js.map +0 -1
- package/dist/esm-es5/pds-link.entry.js.map +0 -1
- package/dist/esm-es5/pds-loader.entry.js.map +0 -1
- package/dist/esm-es5/pds-progress.entry.js.map +0 -1
- package/dist/esm-es5/pds-radio.entry.js.map +0 -1
- package/dist/esm-es5/pds-row.entry.js.map +0 -1
- package/dist/esm-es5/pds-sortable-item.entry.js.map +0 -1
- package/dist/esm-es5/pds-sortable.entry.js.map +0 -1
- package/dist/esm-es5/pds-switch.entry.js.map +0 -1
- package/dist/esm-es5/pds-tab.entry.js.map +0 -1
- package/dist/esm-es5/pds-table-body.entry.js.map +0 -1
- package/dist/esm-es5/pds-table-cell.entry.js.map +0 -1
- package/dist/esm-es5/pds-table-head-cell.entry.js.map +0 -1
- package/dist/esm-es5/pds-table-head.entry.js.map +0 -1
- package/dist/esm-es5/pds-table-row.entry.js.map +0 -1
- package/dist/esm-es5/pds-table.entry.js.map +0 -1
- package/dist/esm-es5/pds-tabpanel.entry.js.map +0 -1
- package/dist/esm-es5/pds-tabs.entry.js.map +0 -1
- package/dist/esm-es5/pds-textarea.entry.js.map +0 -1
- package/dist/esm-es5/pds-tooltip.entry.js.map +0 -1
- package/dist/esm-es5/pine-core.js.map +0 -1
- package/dist/pine-core/index.esm.js.map +0 -1
- package/dist/pine-core/p-06c33261.system.entry.js +0 -2
- package/dist/pine-core/p-06c33261.system.entry.js.map +0 -1
- package/dist/pine-core/p-07f80cb6.entry.js +0 -2
- package/dist/pine-core/p-07f80cb6.entry.js.map +0 -1
- package/dist/pine-core/p-09b1c7f1.system.entry.js +0 -2
- package/dist/pine-core/p-09b1c7f1.system.entry.js.map +0 -1
- package/dist/pine-core/p-0a4b1ce9.system.entry.js +0 -2
- package/dist/pine-core/p-0a4b1ce9.system.entry.js.map +0 -1
- package/dist/pine-core/p-0b541f88.js +0 -3
- package/dist/pine-core/p-0b541f88.js.map +0 -1
- package/dist/pine-core/p-0b77685e.js +0 -2
- package/dist/pine-core/p-0b77685e.js.map +0 -1
- package/dist/pine-core/p-0d6fafef.system.entry.js +0 -2
- package/dist/pine-core/p-0d6fafef.system.entry.js.map +0 -1
- package/dist/pine-core/p-0e1c0d03.entry.js +0 -8
- package/dist/pine-core/p-0e1c0d03.entry.js.map +0 -1
- package/dist/pine-core/p-0e936138.entry.js +0 -2
- package/dist/pine-core/p-0e936138.entry.js.map +0 -1
- package/dist/pine-core/p-143795e5.system.entry.js +0 -2
- package/dist/pine-core/p-143795e5.system.entry.js.map +0 -1
- package/dist/pine-core/p-1f2b0be3.system.entry.js +0 -2
- package/dist/pine-core/p-1f2b0be3.system.entry.js.map +0 -1
- package/dist/pine-core/p-224a435b.system.js +0 -2
- package/dist/pine-core/p-224a435b.system.js.map +0 -1
- package/dist/pine-core/p-31056348.system.entry.js +0 -2
- package/dist/pine-core/p-31056348.system.entry.js.map +0 -1
- package/dist/pine-core/p-32498622.system.entry.js +0 -2
- package/dist/pine-core/p-32498622.system.entry.js.map +0 -1
- package/dist/pine-core/p-3261fdf5.system.entry.js +0 -2
- package/dist/pine-core/p-3261fdf5.system.entry.js.map +0 -1
- package/dist/pine-core/p-32e41e3d.system.entry.js +0 -2
- package/dist/pine-core/p-32e41e3d.system.entry.js.map +0 -1
- package/dist/pine-core/p-34631565.system.js +0 -2
- package/dist/pine-core/p-34631565.system.js.map +0 -1
- package/dist/pine-core/p-3ba3d44c.entry.js +0 -2
- package/dist/pine-core/p-3ba3d44c.entry.js.map +0 -1
- package/dist/pine-core/p-46161cec.entry.js +0 -2
- package/dist/pine-core/p-46161cec.entry.js.map +0 -1
- package/dist/pine-core/p-4f69a7b7.entry.js +0 -2
- package/dist/pine-core/p-4f69a7b7.entry.js.map +0 -1
- package/dist/pine-core/p-50a23474.entry.js +0 -2
- package/dist/pine-core/p-50a23474.entry.js.map +0 -1
- package/dist/pine-core/p-511bf308.entry.js +0 -2
- package/dist/pine-core/p-511bf308.entry.js.map +0 -1
- package/dist/pine-core/p-52515d64.system.entry.js +0 -2
- package/dist/pine-core/p-52515d64.system.entry.js.map +0 -1
- package/dist/pine-core/p-56ba5cbf.system.js +0 -2
- package/dist/pine-core/p-56ba5cbf.system.js.map +0 -1
- package/dist/pine-core/p-5a384517.entry.js +0 -2
- package/dist/pine-core/p-5a384517.entry.js.map +0 -1
- package/dist/pine-core/p-5bee6677.system.entry.js +0 -2
- package/dist/pine-core/p-5bee6677.system.entry.js.map +0 -1
- package/dist/pine-core/p-5df76e04.system.js +0 -2
- package/dist/pine-core/p-5df76e04.system.js.map +0 -1
- package/dist/pine-core/p-62ec9a0f.system.entry.js +0 -2
- package/dist/pine-core/p-62ec9a0f.system.entry.js.map +0 -1
- package/dist/pine-core/p-6a7a864f.entry.js +0 -2
- package/dist/pine-core/p-6a7a864f.entry.js.map +0 -1
- package/dist/pine-core/p-6ae2f0f5.entry.js +0 -2
- package/dist/pine-core/p-6ae2f0f5.entry.js.map +0 -1
- package/dist/pine-core/p-6e146962.entry.js +0 -2
- package/dist/pine-core/p-6e146962.entry.js.map +0 -1
- package/dist/pine-core/p-6ff9ebfa.entry.js +0 -2
- package/dist/pine-core/p-6ff9ebfa.entry.js.map +0 -1
- package/dist/pine-core/p-701ba882.entry.js +0 -2
- package/dist/pine-core/p-701ba882.entry.js.map +0 -1
- package/dist/pine-core/p-73eb1722.entry.js +0 -2
- package/dist/pine-core/p-73eb1722.entry.js.map +0 -1
- package/dist/pine-core/p-78c6c37a.system.entry.js +0 -2
- package/dist/pine-core/p-78c6c37a.system.entry.js.map +0 -1
- package/dist/pine-core/p-79ca4ab9.system.entry.js +0 -2
- package/dist/pine-core/p-79ca4ab9.system.entry.js.map +0 -1
- package/dist/pine-core/p-7c33a02e.entry.js +0 -2
- package/dist/pine-core/p-7c33a02e.entry.js.map +0 -1
- package/dist/pine-core/p-7dac515e.system.entry.js +0 -2
- package/dist/pine-core/p-7dac515e.system.entry.js.map +0 -1
- package/dist/pine-core/p-7ea6838b.system.entry.js +0 -2
- package/dist/pine-core/p-7ea6838b.system.entry.js.map +0 -1
- package/dist/pine-core/p-7ebfdef4.system.entry.js +0 -2
- package/dist/pine-core/p-7ebfdef4.system.entry.js.map +0 -1
- package/dist/pine-core/p-829777e4.system.entry.js +0 -2
- package/dist/pine-core/p-829777e4.system.entry.js.map +0 -1
- package/dist/pine-core/p-8317c6c2.js +0 -2
- package/dist/pine-core/p-8317c6c2.js.map +0 -1
- package/dist/pine-core/p-8469b65a.entry.js +0 -2
- package/dist/pine-core/p-8469b65a.entry.js.map +0 -1
- package/dist/pine-core/p-8d8de5fd.entry.js +0 -2
- package/dist/pine-core/p-8d8de5fd.entry.js.map +0 -1
- package/dist/pine-core/p-8df8debd.entry.js +0 -2
- package/dist/pine-core/p-8df8debd.entry.js.map +0 -1
- package/dist/pine-core/p-8f73bf14.system.entry.js +0 -2
- package/dist/pine-core/p-8f73bf14.system.entry.js.map +0 -1
- package/dist/pine-core/p-8fbec4fe.system.js +0 -2
- package/dist/pine-core/p-8fbec4fe.system.js.map +0 -1
- package/dist/pine-core/p-909b305c.system.entry.js +0 -2
- package/dist/pine-core/p-909b305c.system.entry.js.map +0 -1
- package/dist/pine-core/p-936d96ec.system.entry.js +0 -9
- package/dist/pine-core/p-936d96ec.system.entry.js.map +0 -1
- package/dist/pine-core/p-9583e6d5.entry.js +0 -2
- package/dist/pine-core/p-9583e6d5.entry.js.map +0 -1
- package/dist/pine-core/p-96c750d1.entry.js +0 -2
- package/dist/pine-core/p-96c750d1.entry.js.map +0 -1
- package/dist/pine-core/p-a03e587c.entry.js +0 -2
- package/dist/pine-core/p-a03e587c.entry.js.map +0 -1
- package/dist/pine-core/p-a79a8159.entry.js +0 -2
- package/dist/pine-core/p-a79a8159.entry.js.map +0 -1
- package/dist/pine-core/p-a962fe8e.entry.js +0 -2
- package/dist/pine-core/p-a962fe8e.entry.js.map +0 -1
- package/dist/pine-core/p-ac228abf.entry.js +0 -2
- package/dist/pine-core/p-ac228abf.entry.js.map +0 -1
- package/dist/pine-core/p-ad4238c9.system.entry.js +0 -2
- package/dist/pine-core/p-ad4238c9.system.entry.js.map +0 -1
- package/dist/pine-core/p-af7df3c2.system.entry.js +0 -2
- package/dist/pine-core/p-af7df3c2.system.entry.js.map +0 -1
- package/dist/pine-core/p-b18b20f4.system.js +0 -2
- package/dist/pine-core/p-b18b20f4.system.js.map +0 -1
- package/dist/pine-core/p-b4518566.entry.js +0 -2
- package/dist/pine-core/p-b4518566.entry.js.map +0 -1
- package/dist/pine-core/p-b5c7e02a.entry.js +0 -2
- package/dist/pine-core/p-b5c7e02a.entry.js.map +0 -1
- package/dist/pine-core/p-bc20946b.system.entry.js +0 -2
- package/dist/pine-core/p-bc20946b.system.entry.js.map +0 -1
- package/dist/pine-core/p-c52d0465.system.entry.js +0 -2
- package/dist/pine-core/p-c52d0465.system.entry.js.map +0 -1
- package/dist/pine-core/p-c84cc2f8.system.entry.js +0 -2
- package/dist/pine-core/p-c84cc2f8.system.entry.js.map +0 -1
- package/dist/pine-core/p-ca239d59.system.entry.js +0 -2
- package/dist/pine-core/p-ca239d59.system.entry.js.map +0 -1
- package/dist/pine-core/p-cfacf2e0.system.entry.js +0 -2
- package/dist/pine-core/p-cfacf2e0.system.entry.js.map +0 -1
- package/dist/pine-core/p-e1255160.js +0 -2
- package/dist/pine-core/p-e1255160.js.map +0 -1
- package/dist/pine-core/p-e4b3115c.entry.js +0 -2
- package/dist/pine-core/p-e4b3115c.entry.js.map +0 -1
- package/dist/pine-core/p-e60fccc0.js +0 -2
- package/dist/pine-core/p-e60fccc0.js.map +0 -1
- package/dist/pine-core/p-eb56f262.system.entry.js +0 -2
- package/dist/pine-core/p-eb56f262.system.entry.js.map +0 -1
- package/dist/pine-core/p-ec484bf6.entry.js +0 -2
- package/dist/pine-core/p-ec484bf6.entry.js.map +0 -1
- package/dist/pine-core/p-f59d4a46.entry.js +0 -2
- package/dist/pine-core/p-f59d4a46.entry.js.map +0 -1
- package/dist/pine-core/p-f74c489d.system.js +0 -3
- package/dist/pine-core/p-f74c489d.system.js.map +0 -1
- package/dist/pine-core/pine-core.esm.js.map +0 -1
- package/dist/pine-core/svg/access-key.svg +0 -1
- package/dist/pine-core/svg/add-circle.svg +0 -1
- package/dist/pine-core/svg/add-image.svg +0 -1
- package/dist/pine-core/svg/add-small.svg +0 -1
- package/dist/pine-core/svg/add-square.svg +0 -1
- package/dist/pine-core/svg/add.svg +0 -1
- package/dist/pine-core/svg/advanced.svg +0 -1
- package/dist/pine-core/svg/ai-sparkle.svg +0 -1
- package/dist/pine-core/svg/ai-writer-filled.svg +0 -1
- package/dist/pine-core/svg/ai-writer.svg +0 -1
- package/dist/pine-core/svg/align-center.svg +0 -1
- package/dist/pine-core/svg/align-justify.svg +0 -1
- package/dist/pine-core/svg/align-left.svg +0 -1
- package/dist/pine-core/svg/align-right.svg +0 -1
- package/dist/pine-core/svg/app-store.svg +0 -1
- package/dist/pine-core/svg/archive.svg +0 -1
- package/dist/pine-core/svg/arrow-corner.svg +0 -1
- package/dist/pine-core/svg/arrow-down.svg +0 -1
- package/dist/pine-core/svg/arrow-left.svg +0 -1
- package/dist/pine-core/svg/arrow-right.svg +0 -1
- package/dist/pine-core/svg/arrow-up.svg +0 -1
- package/dist/pine-core/svg/assessment.svg +0 -1
- package/dist/pine-core/svg/at-sign.svg +0 -1
- package/dist/pine-core/svg/attach.svg +0 -1
- package/dist/pine-core/svg/automations.svg +0 -1
- package/dist/pine-core/svg/ban.svg +0 -1
- package/dist/pine-core/svg/bank.svg +0 -1
- package/dist/pine-core/svg/bar-chart-10-tone.svg +0 -1
- package/dist/pine-core/svg/bell-01-tone.svg +0 -1
- package/dist/pine-core/svg/bell.svg +0 -1
- package/dist/pine-core/svg/block.svg +0 -1
- package/dist/pine-core/svg/blog-filled.svg +0 -1
- package/dist/pine-core/svg/blog.svg +0 -1
- package/dist/pine-core/svg/bold.svg +0 -1
- package/dist/pine-core/svg/broadcast.svg +0 -1
- package/dist/pine-core/svg/bulb.svg +0 -1
- package/dist/pine-core/svg/button.svg +0 -1
- package/dist/pine-core/svg/calendar-date.svg +0 -1
- package/dist/pine-core/svg/calendar-schedule.svg +0 -1
- package/dist/pine-core/svg/calendar-simple.svg +0 -1
- package/dist/pine-core/svg/card-amex.svg +0 -1
- package/dist/pine-core/svg/card-android.svg +0 -1
- package/dist/pine-core/svg/card-apple.svg +0 -1
- package/dist/pine-core/svg/card-diners-club.svg +0 -1
- package/dist/pine-core/svg/card-discover.svg +0 -1
- package/dist/pine-core/svg/card-generic.svg +0 -1
- package/dist/pine-core/svg/card-gpay.svg +0 -1
- package/dist/pine-core/svg/card-mastercard.svg +0 -1
- package/dist/pine-core/svg/card-paypal.svg +0 -1
- package/dist/pine-core/svg/card-stripe.svg +0 -1
- package/dist/pine-core/svg/card-update.svg +0 -1
- package/dist/pine-core/svg/card-visa.svg +0 -1
- package/dist/pine-core/svg/caret-down.svg +0 -1
- package/dist/pine-core/svg/caret-left.svg +0 -1
- package/dist/pine-core/svg/caret-right.svg +0 -1
- package/dist/pine-core/svg/caret-up.svg +0 -1
- package/dist/pine-core/svg/cart-add.svg +0 -1
- package/dist/pine-core/svg/cart.svg +0 -1
- package/dist/pine-core/svg/certificate.svg +0 -1
- package/dist/pine-core/svg/chart-filled.svg +0 -1
- package/dist/pine-core/svg/chart.svg +0 -1
- package/dist/pine-core/svg/check-circle-filled.svg +0 -1
- package/dist/pine-core/svg/check-circle.svg +0 -1
- package/dist/pine-core/svg/check.svg +0 -1
- package/dist/pine-core/svg/circle-1.svg +0 -1
- package/dist/pine-core/svg/circle-2.svg +0 -1
- package/dist/pine-core/svg/circle-3.svg +0 -1
- package/dist/pine-core/svg/circle-4.svg +0 -1
- package/dist/pine-core/svg/circle-5.svg +0 -1
- package/dist/pine-core/svg/circle-6.svg +0 -1
- package/dist/pine-core/svg/circle-7.svg +0 -1
- package/dist/pine-core/svg/circle-8.svg +0 -1
- package/dist/pine-core/svg/circle-9.svg +0 -1
- package/dist/pine-core/svg/circle-a.svg +0 -1
- package/dist/pine-core/svg/circle-b.svg +0 -1
- package/dist/pine-core/svg/circle-dashed.svg +0 -1
- package/dist/pine-core/svg/clapperboard-tone.svg +0 -1
- package/dist/pine-core/svg/clock.svg +0 -1
- package/dist/pine-core/svg/closed-captions.svg +0 -1
- package/dist/pine-core/svg/cloud-upload.svg +0 -1
- package/dist/pine-core/svg/code-block.svg +0 -1
- package/dist/pine-core/svg/code.svg +0 -1
- package/dist/pine-core/svg/color.svg +0 -1
- package/dist/pine-core/svg/columns.svg +0 -1
- package/dist/pine-core/svg/comment-no.svg +0 -1
- package/dist/pine-core/svg/comment.svg +0 -1
- package/dist/pine-core/svg/connect.svg +0 -1
- package/dist/pine-core/svg/contact.svg +0 -1
- package/dist/pine-core/svg/conversation.svg +0 -1
- package/dist/pine-core/svg/copy.svg +0 -1
- package/dist/pine-core/svg/coupon.svg +0 -1
- package/dist/pine-core/svg/course-filled.svg +0 -1
- package/dist/pine-core/svg/course.svg +0 -1
- package/dist/pine-core/svg/creator-studio-filled.svg +0 -1
- package/dist/pine-core/svg/creator-studio.svg +0 -1
- package/dist/pine-core/svg/credit-card-02-tone.svg +0 -1
- package/dist/pine-core/svg/cube-01-tone.svg +0 -1
- package/dist/pine-core/svg/cursor-pointer.svg +0 -1
- package/dist/pine-core/svg/cursor.svg +0 -1
- package/dist/pine-core/svg/custom-field.svg +0 -1
- package/dist/pine-core/svg/customize.svg +0 -1
- package/dist/pine-core/svg/danger-filled.svg +0 -1
- package/dist/pine-core/svg/danger.svg +0 -1
- package/dist/pine-core/svg/delete-circle.svg +0 -1
- package/dist/pine-core/svg/delete-key.svg +0 -1
- package/dist/pine-core/svg/delete-x.svg +0 -1
- package/dist/pine-core/svg/dollar.svg +0 -1
- package/dist/pine-core/svg/dot-menu-horizontal.svg +0 -1
- package/dist/pine-core/svg/dots-horizontal-tone.svg +0 -1
- package/dist/pine-core/svg/down-small.svg +0 -1
- package/dist/pine-core/svg/download.svg +0 -1
- package/dist/pine-core/svg/downsell.svg +0 -1
- package/dist/pine-core/svg/draft.svg +0 -1
- package/dist/pine-core/svg/drawer-collapse.svg +0 -1
- package/dist/pine-core/svg/drawer-expand.svg +0 -1
- package/dist/pine-core/svg/drop.svg +0 -1
- package/dist/pine-core/svg/duplicate.svg +0 -1
- package/dist/pine-core/svg/editor-filled.svg +0 -1
- package/dist/pine-core/svg/editor.svg +0 -1
- package/dist/pine-core/svg/email-activity.svg +0 -1
- package/dist/pine-core/svg/emoji.svg +0 -1
- package/dist/pine-core/svg/enlarge-vertical.svg +0 -1
- package/dist/pine-core/svg/enlarge.svg +0 -1
- package/dist/pine-core/svg/expand.svg +0 -1
- package/dist/pine-core/svg/favorite.svg +0 -1
- package/dist/pine-core/svg/feedback.svg +0 -1
- package/dist/pine-core/svg/file-02.svg +0 -1
- package/dist/pine-core/svg/file-money.svg +0 -1
- package/dist/pine-core/svg/file.svg +0 -1
- package/dist/pine-core/svg/filter.svg +0 -1
- package/dist/pine-core/svg/flag.svg +0 -1
- package/dist/pine-core/svg/flash-filled.svg +0 -1
- package/dist/pine-core/svg/flash.svg +0 -1
- package/dist/pine-core/svg/floppy-disk.svg +0 -1
- package/dist/pine-core/svg/folder-group.svg +0 -1
- package/dist/pine-core/svg/folder.svg +0 -1
- package/dist/pine-core/svg/form-field.svg +0 -1
- package/dist/pine-core/svg/form-filled.svg +0 -1
- package/dist/pine-core/svg/form.svg +0 -1
- package/dist/pine-core/svg/fullscreen.svg +0 -1
- package/dist/pine-core/svg/funnel.svg +0 -1
- package/dist/pine-core/svg/gear-filled.svg +0 -1
- package/dist/pine-core/svg/gear.svg +0 -1
- package/dist/pine-core/svg/grant-offer.svg +0 -1
- package/dist/pine-core/svg/handle-2-vertical.svg +0 -1
- package/dist/pine-core/svg/handle-2.svg +0 -1
- package/dist/pine-core/svg/handle.svg +0 -1
- package/dist/pine-core/svg/hashtag.svg +0 -1
- package/dist/pine-core/svg/hd-video.svg +0 -1
- package/dist/pine-core/svg/heading-1.svg +0 -1
- package/dist/pine-core/svg/heading-2.svg +0 -1
- package/dist/pine-core/svg/heading-3.svg +0 -1
- package/dist/pine-core/svg/heading-4.svg +0 -1
- package/dist/pine-core/svg/heading-5.svg +0 -1
- package/dist/pine-core/svg/heading-6.svg +0 -1
- package/dist/pine-core/svg/heading-large.svg +0 -1
- package/dist/pine-core/svg/heading-small.svg +0 -1
- package/dist/pine-core/svg/headset-tone.svg +0 -1
- package/dist/pine-core/svg/headset.svg +0 -1
- package/dist/pine-core/svg/help-filled.svg +0 -1
- package/dist/pine-core/svg/help.svg +0 -1
- package/dist/pine-core/svg/home-02-tone.svg +0 -1
- package/dist/pine-core/svg/home-alt.svg +0 -1
- package/dist/pine-core/svg/home-filled.svg +0 -1
- package/dist/pine-core/svg/home.svg +0 -1
- package/dist/pine-core/svg/horizontal-line.svg +0 -1
- package/dist/pine-core/svg/image.svg +0 -1
- package/dist/pine-core/svg/info-circle-filled.svg +0 -1
- package/dist/pine-core/svg/info-circle.svg +0 -1
- package/dist/pine-core/svg/ios-battery.svg +0 -1
- package/dist/pine-core/svg/ios-data.svg +0 -1
- package/dist/pine-core/svg/ios-wifi.svg +0 -1
- package/dist/pine-core/svg/italic.svg +0 -1
- package/dist/pine-core/svg/kajabi-filled.svg +0 -1
- package/dist/pine-core/svg/kajabi.svg +0 -1
- package/dist/pine-core/svg/klarna.svg +0 -1
- package/dist/pine-core/svg/lab.svg +0 -1
- package/dist/pine-core/svg/launch.svg +0 -1
- package/dist/pine-core/svg/layout-grid.svg +0 -1
- package/dist/pine-core/svg/layout-list.svg +0 -1
- package/dist/pine-core/svg/left-small.svg +0 -1
- package/dist/pine-core/svg/list-bullet.svg +0 -1
- package/dist/pine-core/svg/list-details.svg +0 -1
- package/dist/pine-core/svg/list-numbers.svg +0 -1
- package/dist/pine-core/svg/location.svg +0 -1
- package/dist/pine-core/svg/lock-alt.svg +0 -1
- package/dist/pine-core/svg/lock.svg +0 -1
- package/dist/pine-core/svg/logo-afterpay.svg +0 -1
- package/dist/pine-core/svg/logo-facebook-round.svg +0 -1
- package/dist/pine-core/svg/logo-facebook.svg +0 -1
- package/dist/pine-core/svg/logo-instagram.svg +0 -1
- package/dist/pine-core/svg/logo-linkedin.svg +0 -1
- package/dist/pine-core/svg/logo-tiktok.svg +0 -1
- package/dist/pine-core/svg/logo-twitter-x.svg +0 -1
- package/dist/pine-core/svg/logo-twitter.svg +0 -1
- package/dist/pine-core/svg/logo-youtube.svg +0 -1
- package/dist/pine-core/svg/loop.svg +0 -1
- package/dist/pine-core/svg/mail-01-tone.svg +0 -1
- package/dist/pine-core/svg/mail-filled.svg +0 -1
- package/dist/pine-core/svg/mail-open.svg +0 -1
- package/dist/pine-core/svg/mail.svg +0 -1
- package/dist/pine-core/svg/map.svg +0 -1
- package/dist/pine-core/svg/mapped.svg +0 -1
- package/dist/pine-core/svg/margin-left.svg +0 -1
- package/dist/pine-core/svg/margin-right.svg +0 -1
- package/dist/pine-core/svg/marker-filled.svg +0 -1
- package/dist/pine-core/svg/marker.svg +0 -1
- package/dist/pine-core/svg/megaphone-filled.svg +0 -1
- package/dist/pine-core/svg/megaphone.svg +0 -1
- package/dist/pine-core/svg/menu-alt.svg +0 -1
- package/dist/pine-core/svg/menu-bordered.svg +0 -1
- package/dist/pine-core/svg/menu.svg +0 -1
- package/dist/pine-core/svg/merge.svg +0 -1
- package/dist/pine-core/svg/microphone-off.svg +0 -1
- package/dist/pine-core/svg/microphone.svg +0 -1
- package/dist/pine-core/svg/monitor-03-tone.svg +0 -1
- package/dist/pine-core/svg/monitor-filled.svg +0 -1
- package/dist/pine-core/svg/monitor.svg +0 -1
- package/dist/pine-core/svg/more-menu-filled.svg +0 -1
- package/dist/pine-core/svg/more-menu.svg +0 -1
- package/dist/pine-core/svg/move-left.svg +0 -1
- package/dist/pine-core/svg/move-right.svg +0 -1
- package/dist/pine-core/svg/multi-pay.svg +0 -1
- package/dist/pine-core/svg/newsletter-2.svg +0 -1
- package/dist/pine-core/svg/newsletter.svg +0 -1
- package/dist/pine-core/svg/one-off-session.svg +0 -1
- package/dist/pine-core/svg/one-time.svg +0 -1
- package/dist/pine-core/svg/packages.svg +0 -1
- package/dist/pine-core/svg/pause-circle.svg +0 -1
- package/dist/pine-core/svg/pause.svg +0 -1
- package/dist/pine-core/svg/payout.svg +0 -1
- package/dist/pine-core/svg/pen.svg +0 -1
- package/dist/pine-core/svg/phone-02-tone.svg +0 -1
- package/dist/pine-core/svg/phone-portrait.svg +0 -1
- package/dist/pine-core/svg/phone-toolbar-filled.svg +0 -1
- package/dist/pine-core/svg/phone-toolbar.svg +0 -1
- package/dist/pine-core/svg/play-circle.svg +0 -1
- package/dist/pine-core/svg/play-outline.svg +0 -1
- package/dist/pine-core/svg/play-store.svg +0 -1
- package/dist/pine-core/svg/play.svg +0 -1
- package/dist/pine-core/svg/plug.svg +0 -1
- package/dist/pine-core/svg/premium.svg +0 -1
- package/dist/pine-core/svg/present.svg +0 -1
- package/dist/pine-core/svg/preview-off.svg +0 -1
- package/dist/pine-core/svg/preview-on.svg +0 -1
- package/dist/pine-core/svg/product-filled.svg +0 -1
- package/dist/pine-core/svg/product.svg +0 -1
- package/dist/pine-core/svg/question-circle.svg +0 -1
- package/dist/pine-core/svg/quote.svg +0 -1
- package/dist/pine-core/svg/redo.svg +0 -1
- package/dist/pine-core/svg/refresh.svg +0 -1
- package/dist/pine-core/svg/remove-circle.svg +0 -1
- package/dist/pine-core/svg/remove.svg +0 -1
- package/dist/pine-core/svg/rename.svg +0 -1
- package/dist/pine-core/svg/reset-password.svg +0 -1
- package/dist/pine-core/svg/restore.svg +0 -1
- package/dist/pine-core/svg/right-small.svg +0 -1
- package/dist/pine-core/svg/rocket-filled.svg +0 -1
- package/dist/pine-core/svg/rocket.svg +0 -1
- package/dist/pine-core/svg/round-dollar.svg +0 -1
- package/dist/pine-core/svg/rows.svg +0 -1
- package/dist/pine-core/svg/scissor.svg +0 -1
- package/dist/pine-core/svg/screen-share-off.svg +0 -1
- package/dist/pine-core/svg/screen-share-on.svg +0 -1
- package/dist/pine-core/svg/search-md-tone.svg +0 -1
- package/dist/pine-core/svg/search-small.svg +0 -1
- package/dist/pine-core/svg/search.svg +0 -1
- package/dist/pine-core/svg/send-message.svg +0 -1
- package/dist/pine-core/svg/sequences.svg +0 -1
- package/dist/pine-core/svg/settings-01-tone.svg +0 -1
- package/dist/pine-core/svg/share.svg +0 -1
- package/dist/pine-core/svg/skipped.svg +0 -1
- package/dist/pine-core/svg/slash-divider.svg +0 -1
- package/dist/pine-core/svg/speaker.svg +0 -1
- package/dist/pine-core/svg/stack.svg +0 -1
- package/dist/pine-core/svg/star.svg +0 -1
- package/dist/pine-core/svg/stars-01-tone.svg +0 -1
- package/dist/pine-core/svg/stop.svg +0 -1
- package/dist/pine-core/svg/stopwatch.svg +0 -1
- package/dist/pine-core/svg/strikethrough.svg +0 -1
- package/dist/pine-core/svg/subscript.svg +0 -1
- package/dist/pine-core/svg/subscriptions.svg +0 -1
- package/dist/pine-core/svg/super-admin.svg +0 -1
- package/dist/pine-core/svg/superscript.svg +0 -1
- package/dist/pine-core/svg/sync.svg +0 -1
- package/dist/pine-core/svg/tablet-landscape.svg +0 -1
- package/dist/pine-core/svg/tablet-portrait.svg +0 -1
- package/dist/pine-core/svg/tag-filled.svg +0 -1
- package/dist/pine-core/svg/tag.svg +0 -1
- package/dist/pine-core/svg/text-styles.svg +0 -1
- package/dist/pine-core/svg/theme-store-filled.svg +0 -1
- package/dist/pine-core/svg/theme-store.svg +0 -1
- package/dist/pine-core/svg/thumb-down-filled.svg +0 -1
- package/dist/pine-core/svg/thumb-down.svg +0 -1
- package/dist/pine-core/svg/thumb-up-filled.svg +0 -1
- package/dist/pine-core/svg/thumb-up.svg +0 -1
- package/dist/pine-core/svg/trash.svg +0 -1
- package/dist/pine-core/svg/trophy-filled.svg +0 -1
- package/dist/pine-core/svg/trophy.svg +0 -1
- package/dist/pine-core/svg/underline.svg +0 -1
- package/dist/pine-core/svg/undo.svg +0 -1
- package/dist/pine-core/svg/unlock.svg +0 -1
- package/dist/pine-core/svg/unmapped.svg +0 -1
- package/dist/pine-core/svg/up-small.svg +0 -1
- package/dist/pine-core/svg/upload.svg +0 -1
- package/dist/pine-core/svg/url.svg +0 -1
- package/dist/pine-core/svg/user-circle-filled.svg +0 -1
- package/dist/pine-core/svg/user-circle.svg +0 -1
- package/dist/pine-core/svg/user-filled.svg +0 -1
- package/dist/pine-core/svg/user-star-filled.svg +0 -1
- package/dist/pine-core/svg/user-star.svg +0 -1
- package/dist/pine-core/svg/user.svg +0 -1
- package/dist/pine-core/svg/users-02-tone.svg +0 -1
- package/dist/pine-core/svg/users-alt.svg +0 -1
- package/dist/pine-core/svg/users-filled.svg +0 -1
- package/dist/pine-core/svg/users.svg +0 -1
- package/dist/pine-core/svg/video-off.svg +0 -1
- package/dist/pine-core/svg/video-on.svg +0 -1
- package/dist/pine-core/svg/warning-filled.svg +0 -1
- package/dist/pine-core/svg/warning.svg +0 -1
- package/dist/pine-core/svg/window-paragraph.svg +0 -1
- package/dist/pine-core/svg/world.svg +0 -1
- package/dist/pine-core/svg/wrench.svg +0 -1
- package/dist/types/stories/_helpers/index.d.ts +0 -12
- package/loader/package.json +0 -11
|
@@ -0,0 +1,425 @@
|
|
|
1
|
+
import { c as computePosition, o as offset, f as flip, s as shift } from './floating-ui.dom-Cuc0DYlm.js';
|
|
2
|
+
import { f as findPortalTarget, i as isTopLayerInDocument, o as onTopLayerClose } from './portal-target-CKRzRKdO.js';
|
|
3
|
+
|
|
4
|
+
// Controls that clipped text can sit inside that already take focus, so the text adds no tab stop of its own.
|
|
5
|
+
// Not any `[tabindex]`: a focusable scroll region full of chips would show every chip's tooltip at once.
|
|
6
|
+
const FOCUSABLE_WRAPPER = 'a[href], button, summary, pds-button, pds-link, pds-tab, pds-dropdown-menu-item, [role="option"], [role="treeitem"]';
|
|
7
|
+
const ELEMENT_NODE = 1;
|
|
8
|
+
const TEXT_NODE = 3;
|
|
9
|
+
/**
|
|
10
|
+
* The text `el` actually shows, with every `<slot>` it holds replaced by the
|
|
11
|
+
* nodes assigned to it.
|
|
12
|
+
*
|
|
13
|
+
* `textContent` counts a slot as empty, so a component that renders a clipped
|
|
14
|
+
* text around a slot of its own — `pds-alert` renders `<pds-text truncate><slot/></pds-text>` —
|
|
15
|
+
* would leave the tooltip with nothing to show and so no tooltip at all, even
|
|
16
|
+
* though the text is clipped and holds a tab stop.
|
|
17
|
+
*
|
|
18
|
+
* Text nodes only, as `textContent` counts too: Stencil leaves comment nodes
|
|
19
|
+
* among slotted content to mark where it was relocated from, and their data is
|
|
20
|
+
* not text anyone reads.
|
|
21
|
+
*/
|
|
22
|
+
function flattenedText(el) {
|
|
23
|
+
let text = '';
|
|
24
|
+
const add = (node) => {
|
|
25
|
+
var _a;
|
|
26
|
+
const slot = node;
|
|
27
|
+
// `flatten` returns the slot's own children when nothing is assigned, which is what renders then.
|
|
28
|
+
if (node.nodeName === 'SLOT' && typeof slot.assignedNodes === 'function') {
|
|
29
|
+
slot.assignedNodes({ flatten: true }).forEach(add);
|
|
30
|
+
}
|
|
31
|
+
else if (node.nodeType === ELEMENT_NODE) {
|
|
32
|
+
text += flattenedText(node);
|
|
33
|
+
}
|
|
34
|
+
else if (node.nodeType === TEXT_NODE) {
|
|
35
|
+
text += (_a = node.textContent) !== null && _a !== void 0 ? _a : '';
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
el.childNodes.forEach(add);
|
|
39
|
+
return text;
|
|
40
|
+
}
|
|
41
|
+
/** CSS class prefix used for truncation tooltip portal elements */
|
|
42
|
+
const TOOLTIP_CLASS = 'pds-truncation-tooltip';
|
|
43
|
+
/**
|
|
44
|
+
* Injects the truncation tooltip styles into the document head.
|
|
45
|
+
* Uses the same design tokens as pds-tooltip for visual consistency.
|
|
46
|
+
* Only injects once — checks the DOM to avoid duplicates.
|
|
47
|
+
*
|
|
48
|
+
* Z-Index Strategy:
|
|
49
|
+
* Uses --pine-z-index-nuclear (9999) to ensure tooltips appear above all other UI elements.
|
|
50
|
+
* This is necessary because tooltips are portaled to document.body, or into the modal dialog or
|
|
51
|
+
* open popover around the host (the top layer, which no z-index reaches from the body), and must overlay:
|
|
52
|
+
* - Modal dialogs
|
|
53
|
+
* - Dropdown menus
|
|
54
|
+
* - Other floating UI elements
|
|
55
|
+
* If you encounter z-index conflicts, ensure your overlays use Pine's z-index tokens
|
|
56
|
+
* or adjust --pine-z-index-nuclear in your theme.
|
|
57
|
+
*/
|
|
58
|
+
function injectStyles() {
|
|
59
|
+
if (document.querySelector('[data-pds-truncation-tooltip]'))
|
|
60
|
+
return;
|
|
61
|
+
const style = document.createElement('style');
|
|
62
|
+
style.setAttribute('data-pds-truncation-tooltip', '');
|
|
63
|
+
style.textContent = `
|
|
64
|
+
.${TOOLTIP_CLASS} {
|
|
65
|
+
position: fixed;
|
|
66
|
+
z-index: var(--pine-z-index-nuclear, 9999);
|
|
67
|
+
}
|
|
68
|
+
.${TOOLTIP_CLASS}__content {
|
|
69
|
+
background-color: var(--pine-color-primary, #1a1a2e);
|
|
70
|
+
border-radius: calc(var(--pine-dimension-xs, 4px) * 1.25);
|
|
71
|
+
box-shadow: var(--pine-box-shadow, 0 2px 8px rgba(0,0,0,0.15));
|
|
72
|
+
color: var(--pine-color-text-primary, #fff);
|
|
73
|
+
cursor: text;
|
|
74
|
+
font-family: var(--pine-font-family-body, sans-serif);
|
|
75
|
+
font-size: var(--pine-font-size-body-sm, 0.875rem);
|
|
76
|
+
letter-spacing: var(--pine-letter-spacing, normal);
|
|
77
|
+
line-height: var(--pine-line-height-body, 1.5);
|
|
78
|
+
max-width: 320px;
|
|
79
|
+
opacity: 0;
|
|
80
|
+
padding: var(--pine-dimension-xs, 4px) calc(var(--pine-dimension-md, 12px) / 2);
|
|
81
|
+
transition: opacity 0.15s ease-in-out, visibility 0.15s ease-in-out;
|
|
82
|
+
user-select: text;
|
|
83
|
+
visibility: hidden;
|
|
84
|
+
width: max-content;
|
|
85
|
+
word-break: break-word;
|
|
86
|
+
}
|
|
87
|
+
.${TOOLTIP_CLASS}--visible .${TOOLTIP_CLASS}__content {
|
|
88
|
+
opacity: 1;
|
|
89
|
+
visibility: visible;
|
|
90
|
+
}
|
|
91
|
+
:is(dialog, [popover]) > .${TOOLTIP_CLASS} {
|
|
92
|
+
font-style: normal;
|
|
93
|
+
font-weight: normal;
|
|
94
|
+
text-align: start;
|
|
95
|
+
text-indent: 0;
|
|
96
|
+
text-transform: none;
|
|
97
|
+
white-space: normal;
|
|
98
|
+
word-spacing: normal;
|
|
99
|
+
}
|
|
100
|
+
`;
|
|
101
|
+
document.head.appendChild(style);
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Checks if an element's content is overflowing horizontally (i.e. text is truncated).
|
|
105
|
+
*/
|
|
106
|
+
function isOverflowing(el) {
|
|
107
|
+
return el.scrollWidth > el.clientWidth;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Engines without `:focus-visible` throw on the selector, so there every
|
|
111
|
+
* focus counts as visible rather than none.
|
|
112
|
+
*/
|
|
113
|
+
function isFocusVisible(el) {
|
|
114
|
+
try {
|
|
115
|
+
return el.matches(':focus-visible');
|
|
116
|
+
}
|
|
117
|
+
catch (_a) {
|
|
118
|
+
return true;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Sets up automatic tooltip behavior for a truncated element.
|
|
123
|
+
*
|
|
124
|
+
* When the element's text overflows, hovering the host element or giving it
|
|
125
|
+
* keyboard focus will display a tooltip showing the full text content. The
|
|
126
|
+
* tooltip is rendered as a portal on document.body, or in the modal dialog or open popover around
|
|
127
|
+
* the host, and positioned with Floating UI.
|
|
128
|
+
*
|
|
129
|
+
* Also owns the element's `tabindex` while it is clipped — see syncTabIndex.
|
|
130
|
+
*
|
|
131
|
+
* @returns A cleanup function that removes all listeners, observers, and DOM elements.
|
|
132
|
+
*/
|
|
133
|
+
function setupTruncationTooltip(options) {
|
|
134
|
+
const { hostEl, contentEl, getTooltipText, placement = 'top', reference = hostEl, manageTabIndex = true, focusEl = hostEl } = options;
|
|
135
|
+
injectStyles();
|
|
136
|
+
let portalEl = null;
|
|
137
|
+
let stopWatchingPortalHost = null;
|
|
138
|
+
let isHovering = false;
|
|
139
|
+
let isHoveringPortal = false;
|
|
140
|
+
let isFocused = false;
|
|
141
|
+
let hideTimeout = null;
|
|
142
|
+
let resizeObserver = null;
|
|
143
|
+
let resizeDebounce = null;
|
|
144
|
+
let ownsTabIndex = false;
|
|
145
|
+
let disposed = false;
|
|
146
|
+
/**
|
|
147
|
+
* The tab stop exists only to give the tooltip a focusable anchor, so it
|
|
148
|
+
* belongs on the element while the text is actually clipped and not a moment
|
|
149
|
+
* longer. Deriving it from the caller's prop instead leaves a dead stop on
|
|
150
|
+
* every element that opted into truncation but happens to fit — in a row of
|
|
151
|
+
* chips that doubles the tab stops, half of them landing on a span with no
|
|
152
|
+
* role, no name of its own, and nothing to reveal.
|
|
153
|
+
*
|
|
154
|
+
* Ownership is tracked rather than inferred from the value: if the consumer
|
|
155
|
+
* already put a tabindex on the element (a roving -1, say), that is theirs
|
|
156
|
+
* and we never touch it.
|
|
157
|
+
*/
|
|
158
|
+
function syncTabIndex() {
|
|
159
|
+
if (!manageTabIndex)
|
|
160
|
+
return;
|
|
161
|
+
if (isOverflowing(contentEl)) {
|
|
162
|
+
if (!ownsTabIndex && contentEl.hasAttribute('tabindex'))
|
|
163
|
+
return;
|
|
164
|
+
ownsTabIndex = true;
|
|
165
|
+
contentEl.setAttribute('tabindex', '0');
|
|
166
|
+
}
|
|
167
|
+
else if (ownsTabIndex) {
|
|
168
|
+
ownsTabIndex = false;
|
|
169
|
+
contentEl.removeAttribute('tabindex');
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
// Use ResizeObserver to re-evaluate overflow when the element resizes
|
|
173
|
+
// Debounced to prevent performance issues during rapid window resizing
|
|
174
|
+
if (typeof ResizeObserver !== 'undefined') {
|
|
175
|
+
resizeObserver = new ResizeObserver(() => {
|
|
176
|
+
if (resizeDebounce) {
|
|
177
|
+
clearTimeout(resizeDebounce);
|
|
178
|
+
}
|
|
179
|
+
resizeDebounce = setTimeout(() => {
|
|
180
|
+
resizeDebounce = null;
|
|
181
|
+
syncTabIndex();
|
|
182
|
+
// If tooltip is showing but text no longer overflows, hide it
|
|
183
|
+
if (portalEl && portalEl.isConnected && !isOverflowing(contentEl)) {
|
|
184
|
+
hideTooltip();
|
|
185
|
+
}
|
|
186
|
+
}, 100);
|
|
187
|
+
});
|
|
188
|
+
resizeObserver.observe(contentEl);
|
|
189
|
+
}
|
|
190
|
+
// Measure now so the common case is right on the first paint, rather than
|
|
191
|
+
// waiting out the observer's debounce.
|
|
192
|
+
syncTabIndex();
|
|
193
|
+
// A web font swapping in changes scrollWidth without changing the clipped
|
|
194
|
+
// box's size, so ResizeObserver never fires for it — the element would keep
|
|
195
|
+
// whatever the fallback font measured. Re-measure once the fonts settle.
|
|
196
|
+
if (typeof document !== 'undefined' && document.fonts !== undefined) {
|
|
197
|
+
document.fonts.ready.then(() => {
|
|
198
|
+
if (!disposed)
|
|
199
|
+
syncTabIndex();
|
|
200
|
+
});
|
|
201
|
+
}
|
|
202
|
+
function createPortal() {
|
|
203
|
+
if (portalEl)
|
|
204
|
+
return;
|
|
205
|
+
const text = getTooltipText();
|
|
206
|
+
if (!text || text.trim() === '')
|
|
207
|
+
return;
|
|
208
|
+
portalEl = document.createElement('div');
|
|
209
|
+
portalEl.className = TOOLTIP_CLASS;
|
|
210
|
+
portalEl.setAttribute('role', 'tooltip');
|
|
211
|
+
portalEl.setAttribute('aria-hidden', 'false');
|
|
212
|
+
const contentDiv = document.createElement('div');
|
|
213
|
+
contentDiv.className = `${TOOLTIP_CLASS}__content`;
|
|
214
|
+
contentDiv.textContent = text.trim();
|
|
215
|
+
portalEl.appendChild(contentDiv);
|
|
216
|
+
const portalHost = findPortalTarget(hostEl, isTopLayerInDocument);
|
|
217
|
+
portalHost.appendChild(portalEl);
|
|
218
|
+
// Closing that host moves no pointer, so a tooltip opened by touch would outlive it unseen.
|
|
219
|
+
if (portalHost !== document.body)
|
|
220
|
+
stopWatchingPortalHost = onTopLayerClose(portalHost, closeWithPortalHost);
|
|
221
|
+
// Allow the user to hover into the tooltip to select/copy text
|
|
222
|
+
portalEl.addEventListener('mouseenter', handlePortalMouseEnter);
|
|
223
|
+
portalEl.addEventListener('mouseleave', handlePortalMouseLeave);
|
|
224
|
+
positionTooltip().then(() => {
|
|
225
|
+
if (portalEl) {
|
|
226
|
+
portalEl.classList.add(`${TOOLTIP_CLASS}--visible`);
|
|
227
|
+
}
|
|
228
|
+
});
|
|
229
|
+
}
|
|
230
|
+
async function positionTooltip() {
|
|
231
|
+
if (!portalEl)
|
|
232
|
+
return;
|
|
233
|
+
try {
|
|
234
|
+
const { x, y } = await computePosition(reference, portalEl, {
|
|
235
|
+
placement,
|
|
236
|
+
strategy: 'fixed',
|
|
237
|
+
middleware: [offset(4), flip(), shift({ padding: 5 })],
|
|
238
|
+
});
|
|
239
|
+
Object.assign(portalEl.style, {
|
|
240
|
+
left: `${x}px`,
|
|
241
|
+
top: `${y}px`,
|
|
242
|
+
});
|
|
243
|
+
}
|
|
244
|
+
catch (_a) {
|
|
245
|
+
// Fallback: position above the element with bounds checking
|
|
246
|
+
if (portalEl) {
|
|
247
|
+
const rect = reference.getBoundingClientRect();
|
|
248
|
+
const portalRect = portalEl.getBoundingClientRect();
|
|
249
|
+
const padding = 5;
|
|
250
|
+
// Ensure tooltip stays within viewport bounds
|
|
251
|
+
const left = Math.max(padding, Math.min(rect.left, window.innerWidth - portalRect.width - padding));
|
|
252
|
+
const top = Math.max(padding, rect.top - portalRect.height - 8);
|
|
253
|
+
portalEl.style.left = `${left}px`;
|
|
254
|
+
portalEl.style.top = `${top}px`;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
function removePortal() {
|
|
259
|
+
if (stopWatchingPortalHost !== null) {
|
|
260
|
+
stopWatchingPortalHost();
|
|
261
|
+
stopWatchingPortalHost = null;
|
|
262
|
+
}
|
|
263
|
+
if (portalEl) {
|
|
264
|
+
portalEl.removeEventListener('mouseenter', handlePortalMouseEnter);
|
|
265
|
+
portalEl.removeEventListener('mouseleave', handlePortalMouseLeave);
|
|
266
|
+
portalEl.classList.remove(`${TOOLTIP_CLASS}--visible`);
|
|
267
|
+
// Check if portal is still in the DOM before removing
|
|
268
|
+
if (portalEl.parentNode && portalEl.isConnected) {
|
|
269
|
+
try {
|
|
270
|
+
portalEl.parentNode.removeChild(portalEl);
|
|
271
|
+
}
|
|
272
|
+
catch (e) {
|
|
273
|
+
// Portal was already removed, ignore error
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
portalEl = null;
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
function cancelHideTimeout() {
|
|
280
|
+
if (hideTimeout !== null) {
|
|
281
|
+
clearTimeout(hideTimeout);
|
|
282
|
+
hideTimeout = null;
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
function showTooltip() {
|
|
286
|
+
cancelHideTimeout();
|
|
287
|
+
if (!isOverflowing(contentEl))
|
|
288
|
+
return;
|
|
289
|
+
createPortal();
|
|
290
|
+
}
|
|
291
|
+
function hideTooltip() {
|
|
292
|
+
if (isHovering || isHoveringPortal || isFocused)
|
|
293
|
+
return;
|
|
294
|
+
removePortal();
|
|
295
|
+
}
|
|
296
|
+
// Hover and focus can't outlast a host that's no longer shown, so none of them keeps it open.
|
|
297
|
+
function closeWithPortalHost() {
|
|
298
|
+
isHovering = false;
|
|
299
|
+
isHoveringPortal = false;
|
|
300
|
+
isFocused = false;
|
|
301
|
+
cancelHideTimeout();
|
|
302
|
+
removePortal();
|
|
303
|
+
}
|
|
304
|
+
/**
|
|
305
|
+
* Schedules tooltip removal after a short delay.
|
|
306
|
+
*
|
|
307
|
+
* The 100ms delay serves two purposes:
|
|
308
|
+
* 1. Gives users time to move their cursor from the truncated text to the tooltip portal
|
|
309
|
+
* without it closing, enabling text selection/copying from the tooltip
|
|
310
|
+
* 2. Prevents flickering when the user briefly moves the cursor during normal interaction
|
|
311
|
+
*/
|
|
312
|
+
function scheduleHide() {
|
|
313
|
+
cancelHideTimeout();
|
|
314
|
+
hideTimeout = setTimeout(() => {
|
|
315
|
+
hideTimeout = null;
|
|
316
|
+
hideTooltip();
|
|
317
|
+
}, 100);
|
|
318
|
+
}
|
|
319
|
+
function handleMouseEnter() {
|
|
320
|
+
isHovering = true;
|
|
321
|
+
showTooltip();
|
|
322
|
+
}
|
|
323
|
+
function handleMouseLeave() {
|
|
324
|
+
isHovering = false;
|
|
325
|
+
scheduleHide();
|
|
326
|
+
}
|
|
327
|
+
function handlePortalMouseEnter() {
|
|
328
|
+
isHoveringPortal = true;
|
|
329
|
+
cancelHideTimeout();
|
|
330
|
+
}
|
|
331
|
+
function handlePortalMouseLeave() {
|
|
332
|
+
isHoveringPortal = false;
|
|
333
|
+
scheduleHide();
|
|
334
|
+
}
|
|
335
|
+
// A second tab stop inside focusEl, such as another clipped text, bubbles its focus here too. Its event.target is
|
|
336
|
+
// retargeted to the stop's outermost element in focusEl's tree, which sits beside hostEl rather than around or in it.
|
|
337
|
+
function isFocusForHost(target) {
|
|
338
|
+
return focusEl === hostEl || target === focusEl || target.contains(hostEl) || hostEl.contains(target);
|
|
339
|
+
}
|
|
340
|
+
// Keyboard focus only: focus from a click would pin the tooltip open after the pointer leaves.
|
|
341
|
+
// Events from inside a shadow root arrive retargeted to its host, so test the innermost target.
|
|
342
|
+
function showForVisibleFocus(event) {
|
|
343
|
+
if (!isFocusVisible(event.composedPath()[0]))
|
|
344
|
+
return;
|
|
345
|
+
if (!isFocusForHost(event.target))
|
|
346
|
+
return;
|
|
347
|
+
isFocused = true;
|
|
348
|
+
showTooltip();
|
|
349
|
+
}
|
|
350
|
+
// A key press after a click makes focus visible in place, with no new focusin. keyup, not
|
|
351
|
+
// keydown, so Tab's focus move lands first; Escape asks to dismiss, never to reveal.
|
|
352
|
+
function handleKeyUp(event) {
|
|
353
|
+
if (isFocused || event.key === 'Escape')
|
|
354
|
+
return;
|
|
355
|
+
showForVisibleFocus(event);
|
|
356
|
+
}
|
|
357
|
+
function handleFocusOut() {
|
|
358
|
+
isFocused = false;
|
|
359
|
+
scheduleHide();
|
|
360
|
+
}
|
|
361
|
+
hostEl.addEventListener('mouseenter', handleMouseEnter);
|
|
362
|
+
hostEl.addEventListener('mouseleave', handleMouseLeave);
|
|
363
|
+
focusEl.addEventListener('focusin', showForVisibleFocus);
|
|
364
|
+
focusEl.addEventListener('focusout', handleFocusOut);
|
|
365
|
+
focusEl.addEventListener('keyup', handleKeyUp);
|
|
366
|
+
// Return cleanup function
|
|
367
|
+
return () => {
|
|
368
|
+
disposed = true;
|
|
369
|
+
cancelHideTimeout();
|
|
370
|
+
if (resizeDebounce) {
|
|
371
|
+
clearTimeout(resizeDebounce);
|
|
372
|
+
resizeDebounce = null;
|
|
373
|
+
}
|
|
374
|
+
if (resizeObserver) {
|
|
375
|
+
resizeObserver.disconnect();
|
|
376
|
+
}
|
|
377
|
+
// Hand the element back as we found it — truncation may simply have been
|
|
378
|
+
// turned off, in which case the element outlives this teardown.
|
|
379
|
+
if (ownsTabIndex) {
|
|
380
|
+
ownsTabIndex = false;
|
|
381
|
+
contentEl.removeAttribute('tabindex');
|
|
382
|
+
}
|
|
383
|
+
hostEl.removeEventListener('mouseenter', handleMouseEnter);
|
|
384
|
+
hostEl.removeEventListener('mouseleave', handleMouseLeave);
|
|
385
|
+
focusEl.removeEventListener('focusin', showForVisibleFocus);
|
|
386
|
+
focusEl.removeEventListener('focusout', handleFocusOut);
|
|
387
|
+
focusEl.removeEventListener('keyup', handleKeyUp);
|
|
388
|
+
removePortal();
|
|
389
|
+
};
|
|
390
|
+
}
|
|
391
|
+
/**
|
|
392
|
+
* Keeps tooltips bound to the elements a component's render clips, for a component
|
|
393
|
+
* that re-renders while those elements stay in place.
|
|
394
|
+
*
|
|
395
|
+
* Each tooltip holds listeners and an observer on its element, so it is rebound
|
|
396
|
+
* only when a different set of elements renders: rebinding on every render would
|
|
397
|
+
* tear down a tooltip the pointer is still inside, and a component can render
|
|
398
|
+
* again on every keystroke or when it opens its popover.
|
|
399
|
+
*
|
|
400
|
+
* Call `sync` from `componentDidRender`, and from `connectedCallback` too, since
|
|
401
|
+
* moving an element reconnects it without rendering it again. Call `destroy` from
|
|
402
|
+
* `disconnectedCallback`.
|
|
403
|
+
*
|
|
404
|
+
* @param getOptions - The options for one element, read when it is bound.
|
|
405
|
+
*/
|
|
406
|
+
function bindTruncationTooltips(getOptions) {
|
|
407
|
+
let bound = [];
|
|
408
|
+
let cleanups = [];
|
|
409
|
+
const destroy = () => {
|
|
410
|
+
cleanups.forEach((cleanup) => cleanup());
|
|
411
|
+
cleanups = [];
|
|
412
|
+
bound = [];
|
|
413
|
+
};
|
|
414
|
+
const sync = (els) => {
|
|
415
|
+
const next = Array.from(els).filter((el) => el != null);
|
|
416
|
+
if (next.length === bound.length && next.every((el, index) => el === bound[index]))
|
|
417
|
+
return;
|
|
418
|
+
destroy();
|
|
419
|
+
bound = next;
|
|
420
|
+
cleanups = next.map((el) => setupTruncationTooltip(getOptions(el)));
|
|
421
|
+
};
|
|
422
|
+
return { sync, destroy };
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
export { FOCUSABLE_WRAPPER as F, bindTruncationTooltips as b, flattenedText as f, setupTruncationTooltip as s };
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
const hasShadowDom = (el) => {
|
|
2
|
+
return !!el.shadowRoot && !!el.attachShadow;
|
|
3
|
+
};
|
|
4
|
+
const debounceEvent = (event, wait) => {
|
|
5
|
+
const original = event._original || event;
|
|
6
|
+
const emit = debounce(original.emit.bind(original), wait);
|
|
7
|
+
return {
|
|
8
|
+
_original: original,
|
|
9
|
+
emit,
|
|
10
|
+
cancel: emit.cancel,
|
|
11
|
+
flush: emit.flush,
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
/** Drops an emit still waiting on a `debounceEvent` delay. A no-op on an undebounced emitter. */
|
|
15
|
+
const cancelDebouncedEvent = (event) => {
|
|
16
|
+
var _a;
|
|
17
|
+
(_a = event === null || event === void 0 ? void 0 : event.cancel) === null || _a === void 0 ? void 0 : _a.call(event);
|
|
18
|
+
};
|
|
19
|
+
/** Sends an emit still waiting on a `debounceEvent` delay right away. A no-op on an undebounced emitter. */
|
|
20
|
+
const flushDebouncedEvent = (event) => {
|
|
21
|
+
var _a;
|
|
22
|
+
(_a = event === null || event === void 0 ? void 0 : event.flush) === null || _a === void 0 ? void 0 : _a.call(event);
|
|
23
|
+
};
|
|
24
|
+
const debounce = (func, wait = 0) => {
|
|
25
|
+
let timer;
|
|
26
|
+
let pending;
|
|
27
|
+
const debounced = (...args) => {
|
|
28
|
+
clearTimeout(timer);
|
|
29
|
+
pending = args;
|
|
30
|
+
timer = setTimeout(() => {
|
|
31
|
+
pending = undefined;
|
|
32
|
+
func(...args);
|
|
33
|
+
}, wait);
|
|
34
|
+
};
|
|
35
|
+
debounced.cancel = () => {
|
|
36
|
+
clearTimeout(timer);
|
|
37
|
+
pending = undefined;
|
|
38
|
+
};
|
|
39
|
+
debounced.flush = () => {
|
|
40
|
+
const args = pending;
|
|
41
|
+
debounced.cancel();
|
|
42
|
+
if (args)
|
|
43
|
+
func(...args);
|
|
44
|
+
};
|
|
45
|
+
return debounced;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Normalizes color values to ensure consistent CSS variable usage.
|
|
49
|
+
*
|
|
50
|
+
* This is the single low-level primitive for color-prop normalization in
|
|
51
|
+
* Pine. A component with its own semantic-keyword set (e.g. pds-chip's
|
|
52
|
+
* sentiment-to-dot-color map) should call this directly with its own
|
|
53
|
+
* `semanticMap` rather than inventing a new normalization helper. Reach for
|
|
54
|
+
* `setColor` below only when its specific text-role semantic set and
|
|
55
|
+
* `--color` output key already match what the component needs.
|
|
56
|
+
*
|
|
57
|
+
* @param value - Raw token (--token), CSS variable (var(--token)), semantic name, or literal color
|
|
58
|
+
* @param options.semanticMap - Optional mapping of semantic names to CSS variables
|
|
59
|
+
* @returns Normalized color value or undefined for invalid inputs
|
|
60
|
+
*/
|
|
61
|
+
const normalizeColorValue = (value, options) => {
|
|
62
|
+
if (!value)
|
|
63
|
+
return undefined;
|
|
64
|
+
const trimmed = value.trim();
|
|
65
|
+
// Treat whitespace-only as undefined to avoid invalid CSS values
|
|
66
|
+
if (trimmed === '')
|
|
67
|
+
return undefined;
|
|
68
|
+
// If a semantic map is provided and the value matches a key, return mapped CSS var
|
|
69
|
+
if ((options === null || options === void 0 ? void 0 : options.semanticMap) && options.semanticMap[trimmed]) {
|
|
70
|
+
return options.semanticMap[trimmed];
|
|
71
|
+
}
|
|
72
|
+
// If already a CSS var, pass through
|
|
73
|
+
if (trimmed.startsWith('var('))
|
|
74
|
+
return trimmed;
|
|
75
|
+
// If raw token is provided (e.g., --pine-color-foo), wrap in var(...)
|
|
76
|
+
if (trimmed.startsWith('--'))
|
|
77
|
+
return `var(${trimmed})`;
|
|
78
|
+
// Otherwise treat as literal CSS color value
|
|
79
|
+
return trimmed;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* Convenience wrapper around `normalizeColorValue` for the common text-role
|
|
83
|
+
* semantic set (primary/secondary/accent/etc.), returned as a `--color`
|
|
84
|
+
* custom property. If a component needs a different semantic map or a
|
|
85
|
+
* different custom-property name (e.g. pds-chip's dot/icon-specific tokens),
|
|
86
|
+
* call `normalizeColorValue` directly instead of extending this function.
|
|
87
|
+
*/
|
|
88
|
+
const setColor = (color, customColors) => {
|
|
89
|
+
// Return an empty object for empty/whitespace/undefined inputs to avoid invalid CSS styles
|
|
90
|
+
if (!color)
|
|
91
|
+
return {};
|
|
92
|
+
const defaultColors = {
|
|
93
|
+
primary: 'var(--pine-color-text-primary)',
|
|
94
|
+
secondary: 'var(--pine-color-text-secondary)',
|
|
95
|
+
neutral: 'var(--pine-color-text-neutral)',
|
|
96
|
+
accent: 'var(--pine-color-text-accent)',
|
|
97
|
+
danger: 'var(--pine-color-text-danger)',
|
|
98
|
+
info: 'var(--pine-color-text-info)',
|
|
99
|
+
success: 'var(--pine-color-text-success)',
|
|
100
|
+
warning: 'var(--pine-color-text-warning)',
|
|
101
|
+
};
|
|
102
|
+
// Merge defaults with any custom overrides so defaults are preserved
|
|
103
|
+
const semanticMap = Object.assign(Object.assign({}, defaultColors), (customColors || {}));
|
|
104
|
+
// Use the shared normalizer so components accept semantic names, raw tokens, var(...), or literals
|
|
105
|
+
const resolved = normalizeColorValue(color, { semanticMap });
|
|
106
|
+
// Ensure we never return an undefined style value; if unresolved, omit the property
|
|
107
|
+
if (!resolved)
|
|
108
|
+
return {};
|
|
109
|
+
return {
|
|
110
|
+
'--color': resolved
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
export { cancelDebouncedEvent as c, debounceEvent as d, flushDebouncedEvent as f, hasShadowDom as h, normalizeColorValue as n, setColor as s };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var ARIA_REFERENCE_PROPERTIES={"aria-controls":"ariaControlsElements","aria-describedby":"ariaDescribedByElements","aria-labelledby":"ariaLabelledByElements"};var ARIA_REFERENCE_ATTRIBUTES=Object.keys(ARIA_REFERENCE_PROPERTIES);var findInAncestorRoots=function(e,r){var n=e.getRootNode();while(n instanceof ShadowRoot){var a=n.getElementById(r);if(a)return a;n=n.host.getRootNode()}return n instanceof Document?n.getElementById(r):null};var referencedElements=function(e,r){var n,a;var E=(a=(n=e.getAttribute(r))===null||n===void 0?void 0:n.split(/\s+/).filter(Boolean))!==null&&a!==void 0?a:[];return E.map((function(r){return findInAncestorRoots(e,r)})).filter((function(e){return e!==null}))};var forwardAriaReferences=function(e,r){Object.entries(ARIA_REFERENCE_PROPERTIES).forEach((function(n){var a=n[0],E=n[1];if(!(E in r))return;var t=referencedElements(e,a);r[E]=t.length>0?t:null}))};export{ARIA_REFERENCE_ATTRIBUTES as A,forwardAriaReferences as f,referencedElements as r};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__spreadArray}from"tslib";import{c as classNamesOf,l as limitRestores,H as HOST_RESTORE,s as stencilClassesOf}from"./keep-hydrated-BgNaWLoS.js";var setAttributesIfChanged=function(a,r){var i=false;Object.entries(r).forEach((function(r){var t=r[0],e=r[1];if(a.getAttribute(t)!==e){a.setAttribute(t,e);i=true}}));return i};var restoreHostStyling=function(a,r){var i;var t=r.classes,e=r.styles;var n=t.filter((function(r){return!a.classList.contains(r)}));if(n.length>0)(i=a.classList).add.apply(i,n);var s=Object.entries(e).filter((function(r){var i=r[0],t=r[1];return t&&a.style.getPropertyValue(i)===""}));s.forEach((function(r){var i=r[0],t=r[1];return a.style.setProperty(i,t)}));return n.length>0||s.length>0};var keepHostStyling=function(a,r){if(typeof MutationObserver==="undefined")return null;var i=a.tagName.toLowerCase();var t=new Set;var e=new MutationObserver(limitRestores((function(i){var e=r();var n=i.filter((function(a){return a.attributeName==="class"})).flatMap((function(r){return stencilClassesOf(t,a,r.oldValue)}));var s=restoreHostStyling(a,Object.assign(Object.assign({},e),{classes:__spreadArray(__spreadArray([],e.classes,true),n,true)}));i.forEach((function(r){var i=r.attributeName,t=r.oldValue;var n;var o=(n=e.attributes)===null||n===void 0?void 0:n[i];if(t==null||o==null||o===false||a.hasAttribute(i))return;a.setAttribute(i,t);s=true}));return s}),"".concat(i,": stopped restoring its host, as another script keeps changing it. Use props instead."),a,HOST_RESTORE));e.observe(a,{attributes:true,attributeOldValue:true});return e};var inheritAttributes=function(a,r){if(r===void 0){r=[]}var i={};r.forEach((function(r){if(a.hasAttribute(r)){var t=a.getAttribute(r);if(t!==null){i[r]=a.getAttribute(r)}a.removeAttribute(r)}}));return i};var ariaAttributes=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"];var inheritAriaAttributes=function(a,r){var i=ariaAttributes;if(r&&r.length>0){i=ariaAttributes.filter((function(a){return!r.includes(a)}))}return inheritAttributes(a,i)};var HostStylingKeeper=function(){function a(){this.styling={classes:[],styles:{}};this.observer=null}a.prototype.record=function(a,r,i){if(r===void 0){r={}}if(i===void 0){i={}}this.styling={classes:classNamesOf(a),styles:r,attributes:i}};a.prototype.connect=function(a){var r=this;var i;(i=this.observer)!==null&&i!==void 0?i:this.observer=keepHostStyling(a,(function(){return r.styling}))};a.prototype.disconnect=function(){var a;(a=this.observer)===null||a===void 0?void 0:a.disconnect();this.observer=null};return a}();export{HostStylingKeeper as H,inheritAttributes as a,inheritAriaAttributes as i,setAttributesIfChanged as s};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var closest=function(o,s){return s&&("closest"in s&&s.closest(o)||closest(o,s.getRootNode().host))};var containsComposed=function(o,s){for(var t=s;t;t=t instanceof ShadowRoot?t.host:t.parentNode){if(t===o)return true}return false};export{closest as a,containsComposed as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__assign,__awaiter,__generator,__rest,__spreadArray}from"tslib";var sides=["top","right","bottom","left"];var min=Math.min;var max=Math.max;var round=Math.round;var floor=Math.floor;var createCoords=function(e){return{x:e,y:e}};var oppositeSideMap={left:"right",right:"left",bottom:"top",top:"bottom"};function clamp(e,t,r){return max(e,min(t,r))}function evaluate(e,t){return typeof e==="function"?e(t):e}function getSide(e){return e.split("-")[0]}function getAlignment(e){return e.split("-")[1]}function getOppositeAxis(e){return e==="x"?"y":"x"}function getAxisLength(e){return e==="y"?"height":"width"}function getSideAxis(e){var t=e[0];return t==="t"||t==="b"?"y":"x"}function getAlignmentAxis(e){return getOppositeAxis(getSideAxis(e))}function getAlignmentSides(e,t,r){if(r===void 0){r=false}var n=getAlignment(e);var i=getAlignmentAxis(e);var a=getAxisLength(i);var o=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";if(t.reference[a]>t.floating[a]){o=getOppositePlacement(o)}return[o,getOppositePlacement(o)]}function getExpandedPlacements(e){var t=getOppositePlacement(e);return[getOppositeAlignmentPlacement(e),t,getOppositeAlignmentPlacement(t)]}function getOppositeAlignmentPlacement(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}var lrPlacement=["left","right"];var rlPlacement=["right","left"];var tbPlacement=["top","bottom"];var btPlacement=["bottom","top"];function getSideList(e,t,r){switch(e){case"top":case"bottom":if(r)return t?rlPlacement:lrPlacement;return t?lrPlacement:rlPlacement;case"left":case"right":return t?tbPlacement:btPlacement;default:return[]}}function getOppositeAxisPlacements(e,t,r,n){var i=getAlignment(e);var a=getSideList(getSide(e),r==="start",n);if(i){a=a.map((function(e){return e+"-"+i}));if(t){a=a.concat(a.map(getOppositeAlignmentPlacement))}}return a}function getOppositePlacement(e){var t=getSide(e);return oppositeSideMap[t]+e.slice(t.length)}function expandPaddingObject(e){return __assign({top:0,right:0,bottom:0,left:0},e)}function getPaddingObject(e){return typeof e!=="number"?expandPaddingObject(e):{top:e,right:e,bottom:e,left:e}}function rectToClientRect(e){var t=e.x,r=e.y,n=e.width,i=e.height;return{width:n,height:i,top:r,left:t,right:t+n,bottom:r+i,x:t,y:r}}function computeCoordsFromPlacement(e,t,r){var n=e.reference,i=e.floating;var a=getSideAxis(t);var o=getAlignmentAxis(t);var s=getAxisLength(o);var l=getSide(t);var u=a==="y";var c=n.x+n.width/2-i.width/2;var f=n.y+n.height/2-i.height/2;var v=n[s]/2-i[s]/2;var d;switch(l){case"top":d={x:c,y:n.y-i.height};break;case"bottom":d={x:c,y:n.y+n.height};break;case"right":d={x:n.x+n.width,y:f};break;case"left":d={x:n.x-i.width,y:f};break;default:d={x:n.x,y:n.y}}switch(getAlignment(t)){case"start":d[o]-=v*(r&&u?-1:1);break;case"end":d[o]+=v*(r&&u?-1:1);break}return d}function detectOverflow(e,t){return __awaiter(this,void 0,void 0,(function(){var r,n,i,a,o,s,l,u,c,f,v,d,g,m,p,h,_,w,x,y,A,S,b,C,O,R,E,P,N,T,L,W,M,F;var $;return __generator(this,(function(B){switch(B.label){case 0:if(t===void 0){t={}}n=e.x,i=e.y,a=e.platform,o=e.rects,s=e.elements,l=e.strategy;u=evaluate(t,e),c=u.boundary,f=c===void 0?"clippingAncestors":c,v=u.rootBoundary,d=v===void 0?"viewport":v,g=u.elementContext,m=g===void 0?"floating":g,p=u.altBoundary,h=p===void 0?false:p,_=u.padding,w=_===void 0?0:_;x=getPaddingObject(w);y=m==="floating"?"reference":"floating";A=s[h?y:m];b=rectToClientRect;O=(C=a).getClippingRect;$={};return[4,a.isElement==null?void 0:a.isElement(A)];case 1:if(!((r=B.sent())!=null?r:true))return[3,2];R=A;return[3,5];case 2:E=A.contextElement;if(E)return[3,4];return[4,a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)];case 3:E=B.sent();B.label=4;case 4:R=E;B.label=5;case 5:return[4,O.apply(C,[($.element=R,$.boundary=f,$.rootBoundary=d,$.strategy=l,$)])];case 6:S=b.apply(void 0,[B.sent()]);P=m==="floating"?{x:n,y:i,width:o.floating.width,height:o.floating.height}:o.reference;return[4,a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)];case 7:N=B.sent();return[4,a.isElement==null?void 0:a.isElement(N)];case 8:if(!B.sent())return[3,10];return[4,a.getScale==null?void 0:a.getScale(N)];case 9:L=B.sent()||{x:1,y:1};return[3,11];case 10:L={x:1,y:1};B.label=11;case 11:T=L;M=rectToClientRect;if(!a.convertOffsetParentRelativeRectToViewportRelativeRect)return[3,13];return[4,a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:P,offsetParent:N,strategy:l})];case 12:F=B.sent();return[3,14];case 13:F=P;B.label=14;case 14:W=M.apply(void 0,[F]);return[2,{top:(S.top-W.top+x.top)/T.y,bottom:(W.bottom-S.bottom+x.bottom)/T.y,left:(S.left-W.left+x.left)/T.x,right:(W.right-S.right+x.right)/T.x}]}}))}))}var MAX_RESET_COUNT=50;var computePosition$1=function(e,t,r){return __awaiter(void 0,void 0,void 0,(function(){var n,i,a,o,s,l,u,c,f,v,d,g,m,p,h,_,w,x,y,A,S,b,C,O,R,E;var P;return __generator(this,(function(N){switch(N.label){case 0:n=r.placement,i=n===void 0?"bottom":n,a=r.strategy,o=a===void 0?"absolute":a,s=r.middleware,l=s===void 0?[]:s,u=r.platform;c=u.detectOverflow?u:__assign(__assign({},u),{detectOverflow:detectOverflow});return[4,u.isRTL==null?void 0:u.isRTL(t)];case 1:f=N.sent();return[4,u.getElementRects({reference:e,floating:t,strategy:o})];case 2:v=N.sent();d=computeCoordsFromPlacement(v,i,f),g=d.x,m=d.y;p=i;h=0;_={};w=0;N.label=3;case 3:if(!(w<l.length))return[3,11];x=l[w];if(!x){return[3,10]}y=x.name,A=x.fn;return[4,A({x:g,y:m,initialPlacement:i,placement:p,strategy:o,middlewareData:_,rects:v,platform:c,elements:{reference:e,floating:t}})];case 4:S=N.sent(),b=S.x,C=S.y,O=S.data,R=S.reset;g=b!=null?b:g;m=C!=null?C:m;_[y]=__assign(__assign({},_[y]),O);if(!(R&&h<MAX_RESET_COUNT))return[3,10];h++;if(!(typeof R==="object"))return[3,9];if(R.placement){p=R.placement}if(!R.rects)return[3,8];if(!(R.rects===true))return[3,6];return[4,u.getElementRects({reference:e,floating:t,strategy:o})];case 5:E=N.sent();return[3,7];case 6:E=R.rects;N.label=7;case 7:v=E;N.label=8;case 8:P=computeCoordsFromPlacement(v,p,f),g=P.x,m=P.y;N.label=9;case 9:w=-1;N.label=10;case 10:w++;return[3,3];case 11:return[2,{x:g,y:m,placement:p,strategy:o,middlewareData:_}]}}))}))};var flip$1=function(e){if(e===void 0){e={}}return{name:"flip",options:e,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var r,n,i,a,o,s,l,u,c,f,v,d,g,m,p,h,_,w,x,y,A,S,b,C,O,R,E,P,N,T,L,W,M,F,$,B,D,k,H,V;return __generator(this,(function(X){switch(X.label){case 0:i=t.placement,a=t.middlewareData,o=t.rects,s=t.initialPlacement,l=t.platform,u=t.elements;c=evaluate(e,t),f=c.mainAxis,v=f===void 0?true:f,d=c.crossAxis,g=d===void 0?true:d,m=c.fallbackPlacements,p=c.fallbackStrategy,h=p===void 0?"bestFit":p,_=c.fallbackAxisSideDirection,w=_===void 0?"none":_,x=c.flipAlignment,y=x===void 0?true:x,A=__rest(c,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((r=a.arrow)!=null&&r.alignmentOffset){return[2,{}]}S=getSide(i);b=getSideAxis(s);C=getSide(s)===s;return[4,l.isRTL==null?void 0:l.isRTL(u.floating)];case 1:O=X.sent();R=m||(C||!y?[getOppositePlacement(s)]:getExpandedPlacements(s));E=w!=="none";if(!m&&E){R.push.apply(R,getOppositeAxisPlacements(s,y,w,O))}P=__spreadArray([s],R,true);return[4,l.detectOverflow(t,A)];case 2:N=X.sent();T=[];L=((n=a.flip)==null?void 0:n.overflows)||[];if(v){T.push(N[S])}if(g){W=getAlignmentSides(i,o,O);T.push(N[W[0]],N[W[1]])}L=__spreadArray(__spreadArray([],L,true),[{placement:i,overflows:T}],false);if(!T.every((function(e){return e<=0}))){$=(((M=a.flip)==null?void 0:M.index)||0)+1;B=P[$];if(B){D=g==="alignment"?b!==getSideAxis(B):false;if(!D||L.every((function(e){return getSideAxis(e.placement)===b?e.overflows[0]>0:true}))){return[2,{data:{index:$,overflows:L},reset:{placement:B}}]}}k=(F=L.filter((function(e){return e.overflows[0]<=0})).sort((function(e,t){return e.overflows[1]-t.overflows[1]}))[0])==null?void 0:F.placement;if(!k){switch(h){case"bestFit":{V=(H=L.filter((function(e){if(E){var t=getSideAxis(e.placement);return t===b||t==="y"}return true})).map((function(e){return[e.placement,e.overflows.filter((function(e){return e>0})).reduce((function(e,t){return e+t}),0)]})).sort((function(e,t){return e[1]-t[1]}))[0])==null?void 0:H[0];if(V){k=V}break}case"initialPlacement":k=s;break}}if(i!==k){return[2,{reset:{placement:k}}]}}return[2,{}]}}))}))}}};function getSideOffsets(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function isAnySideFullyClipped(e){return sides.some((function(t){return e[t]>=0}))}var hide$1=function(e){if(e===void 0){e={}}return{name:"hide",options:e,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var r,n,i,a,o,s,l,u,c,u,c;return __generator(this,(function(f){switch(f.label){case 0:r=t.rects,n=t.platform;i=evaluate(e,t),a=i.strategy,o=a===void 0?"referenceHidden":a,s=__rest(i,["strategy"]);l=o;switch(l){case"referenceHidden":return[3,1];case"escaped":return[3,3]}return[3,5];case 1:return[4,n.detectOverflow(t,__assign(__assign({},s),{elementContext:"reference"}))];case 2:u=f.sent();c=getSideOffsets(u,r.reference);return[2,{data:{referenceHiddenOffsets:c,referenceHidden:isAnySideFullyClipped(c)}}];case 3:return[4,n.detectOverflow(t,__assign(__assign({},s),{altBoundary:true}))];case 4:u=f.sent();c=getSideOffsets(u,r.floating);return[2,{data:{escapedOffsets:c,escaped:isAnySideFullyClipped(c)}}];case 5:{return[2,{}]}f.label=6;case 6:return[2]}}))}))}}};var originSides=new Set(["left","top"]);function convertValueToCoords(e,t){return __awaiter(this,void 0,void 0,(function(){var r,n,i,a,o,s,l,u,c,f,v,d,g,m;return __generator(this,(function(p){switch(p.label){case 0:r=e.placement,n=e.platform,i=e.elements;return[4,n.isRTL==null?void 0:n.isRTL(i.floating)];case 1:a=p.sent();o=getSide(r);s=getAlignment(r);l=getSideAxis(r)==="y";u=originSides.has(o)?-1:1;c=a&&l?-1:1;f=evaluate(t,e);v=typeof f==="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis},d=v.mainAxis,g=v.crossAxis,m=v.alignmentAxis;if(s&&typeof m==="number"){g=s==="end"?m*-1:m}return[2,l?{x:g*c,y:d*u}:{x:d*u,y:g*c}]}}))}))}var offset$1=function(e){if(e===void 0){e=0}return{name:"offset",options:e,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var r,n,i,a,o,s,l;return __generator(this,(function(u){switch(u.label){case 0:i=t.x,a=t.y,o=t.placement,s=t.middlewareData;return[4,convertValueToCoords(t,e)];case 1:l=u.sent();if(o===((r=s.offset)==null?void 0:r.placement)&&(n=s.arrow)!=null&&n.alignmentOffset){return[2,{}]}return[2,{x:i+l.x,y:a+l.y,data:__assign(__assign({},l),{placement:o})}]}}))}))}}};var shift$1=function(e){if(e===void 0){e={}}return{name:"shift",options:e,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var r,n,i,a,o,s,l,u,c,f,v,d,g,m,p,h,_,w,x,y,A,S,x,y,b,C,O;var R,E;return __generator(this,(function(P){switch(P.label){case 0:r=t.x,n=t.y,i=t.placement,a=t.platform;o=evaluate(e,t),s=o.mainAxis,l=s===void 0?true:s,u=o.crossAxis,c=u===void 0?false:u,f=o.limiter,v=f===void 0?{fn:function(e){var t=e.x,r=e.y;return{x:t,y:r}}}:f,d=__rest(o,["mainAxis","crossAxis","limiter"]);g={x:r,y:n};return[4,a.detectOverflow(t,d)];case 1:m=P.sent();p=getSideAxis(getSide(i));h=getOppositeAxis(p);_=g[h];w=g[p];if(l){x=h==="y"?"top":"left";y=h==="y"?"bottom":"right";A=_+m[x];S=_-m[y];_=clamp(A,_,S)}if(c){x=p==="y"?"top":"left";y=p==="y"?"bottom":"right";b=w+m[x];C=w-m[y];w=clamp(b,w,C)}O=v.fn(__assign(__assign({},t),(R={},R[h]=_,R[p]=w,R)));return[2,__assign(__assign({},O),{data:{x:O.x-r,y:O.y-n,enabled:(E={},E[h]=l,E[p]=c,E)}})]}}))}))}}};var size$1=function(e){if(e===void 0){e={}}return{name:"size",options:e,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var r,n,i,a,o,s,l,u,c,f,v,d,g,m,p,h,_,w,x,y,A,S,b,C,O,R,E,P,N,T,L,W;return __generator(this,(function(M){switch(M.label){case 0:i=t.placement,a=t.rects,o=t.platform,s=t.elements;l=evaluate(e,t),u=l.apply,c=u===void 0?function(){}:u,f=__rest(l,["apply"]);return[4,o.detectOverflow(t,f)];case 1:v=M.sent();d=getSide(i);g=getAlignment(i);m=getSideAxis(i)==="y";p=a.floating,h=p.width,_=p.height;if(!(d==="top"||d==="bottom"))return[3,3];w=d;y=g;return[4,o.isRTL==null?void 0:o.isRTL(s.floating)];case 2:x=y===(M.sent()?"start":"end")?"left":"right";return[3,4];case 3:x=d;w=g==="end"?"top":"bottom";M.label=4;case 4:A=_-v.top-v.bottom;S=h-v.left-v.right;b=min(_-v[w],A);C=min(h-v[x],S);O=!t.middlewareData.shift;R=b;E=C;if((r=t.middlewareData.shift)!=null&&r.enabled.x){E=S}if((n=t.middlewareData.shift)!=null&&n.enabled.y){R=A}if(O&&!g){P=max(v.left,0);N=max(v.right,0);T=max(v.top,0);L=max(v.bottom,0);if(m){E=h-2*(P!==0||N!==0?P+N:max(v.left,v.right))}else{R=_-2*(T!==0||L!==0?T+L:max(v.top,v.bottom))}}return[4,c(__assign(__assign({},t),{availableWidth:E,availableHeight:R}))];case 5:M.sent();return[4,o.getDimensions(s.floating)];case 6:W=M.sent();if(h!==W.width||_!==W.height){return[2,{reset:{rects:true}}]}return[2,{}]}}))}))}}};function hasWindow(){return typeof window!=="undefined"}function getNodeName(e){if(isNode(e)){return(e.nodeName||"").toLowerCase()}return"#document"}function getWindow(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function getDocumentElement(e){var t;return(t=(isNode(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function isNode(e){if(!hasWindow()){return false}return e instanceof Node||e instanceof getWindow(e).Node}function isElement(e){if(!hasWindow()){return false}return e instanceof Element||e instanceof getWindow(e).Element}function isHTMLElement(e){if(!hasWindow()){return false}return e instanceof HTMLElement||e instanceof getWindow(e).HTMLElement}function isShadowRoot(e){if(!hasWindow()||typeof ShadowRoot==="undefined"){return false}return e instanceof ShadowRoot||e instanceof getWindow(e).ShadowRoot}function isOverflowElement(e){var t=getComputedStyle$1(e),r=t.overflow,n=t.overflowX,i=t.overflowY,a=t.display;return/auto|scroll|overlay|hidden|clip/.test(r+i+n)&&a!=="inline"&&a!=="contents"}function isTableElement(e){return/^(table|td|th)$/.test(getNodeName(e))}function isTopLayer(e){try{if(e.matches(":popover-open")){return true}}catch(e){}try{return e.matches(":modal")}catch(e){return false}}var willChangeRe=/transform|translate|scale|rotate|perspective|filter/;var containRe=/paint|layout|strict|content/;var isNotNone=function(e){return!!e&&e!=="none"};var isWebKitValue;function isContainingBlock(e){var t=isElement(e)?getComputedStyle$1(e):e;return isNotNone(t.transform)||isNotNone(t.translate)||isNotNone(t.scale)||isNotNone(t.rotate)||isNotNone(t.perspective)||!isWebKit()&&(isNotNone(t.backdropFilter)||isNotNone(t.filter))||willChangeRe.test(t.willChange||"")||containRe.test(t.contain||"")}function getContainingBlock(e){var t=getParentNode(e);while(isHTMLElement(t)&&!isLastTraversableNode(t)){if(isContainingBlock(t)){return t}else if(isTopLayer(t)){return null}t=getParentNode(t)}return null}function isWebKit(){if(isWebKitValue==null){isWebKitValue=typeof CSS!=="undefined"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}return isWebKitValue}function isLastTraversableNode(e){return/^(html|body|#document)$/.test(getNodeName(e))}function getComputedStyle$1(e){return getWindow(e).getComputedStyle(e)}function getNodeScroll(e){if(isElement(e)){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}return{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function getParentNode(e){if(getNodeName(e)==="html"){return e}var t=e.assignedSlot||e.parentNode||isShadowRoot(e)&&e.host||getDocumentElement(e);return isShadowRoot(t)?t.host:t}function getNearestOverflowAncestor(e){var t=getParentNode(e);if(isLastTraversableNode(t)){return e.ownerDocument?e.ownerDocument.body:e.body}if(isHTMLElement(t)&&isOverflowElement(t)){return t}return getNearestOverflowAncestor(t)}function getOverflowAncestors(e,t,r){var n;if(t===void 0){t=[]}if(r===void 0){r=true}var i=getNearestOverflowAncestor(e);var a=i===((n=e.ownerDocument)==null?void 0:n.body);var o=getWindow(i);if(a){var s=getFrameElement(o);return t.concat(o,o.visualViewport||[],isOverflowElement(i)?i:[],s&&r?getOverflowAncestors(s):[])}else{return t.concat(i,getOverflowAncestors(i,[],r))}}function getFrameElement(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function getCssDimensions(e){var t=getComputedStyle$1(e);var r=parseFloat(t.width)||0;var n=parseFloat(t.height)||0;var i=isHTMLElement(e);var a=i?e.offsetWidth:r;var o=i?e.offsetHeight:n;var s=round(r)!==a||round(n)!==o;if(s){r=a;n=o}return{width:r,height:n,$:s}}function unwrapElement(e){return!isElement(e)?e.contextElement:e}function getScale(e){var t=unwrapElement(e);if(!isHTMLElement(t)){return createCoords(1)}var r=t.getBoundingClientRect();var n=getCssDimensions(t),i=n.width,a=n.height,o=n.$;var s=(o?round(r.width):r.width)/i;var l=(o?round(r.height):r.height)/a;if(!s||!Number.isFinite(s)){s=1}if(!l||!Number.isFinite(l)){l=1}return{x:s,y:l}}var noOffsets=createCoords(0);function getVisualOffsets(e){var t=getWindow(e);if(!isWebKit()||!t.visualViewport){return noOffsets}return{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function shouldAddVisualOffsets(e,t,r){if(t===void 0){t=false}if(!r||t&&r!==getWindow(e)){return false}return t}function getBoundingClientRect(e,t,r,n){if(t===void 0){t=false}if(r===void 0){r=false}var i=e.getBoundingClientRect();var a=unwrapElement(e);var o=createCoords(1);if(t){if(n){if(isElement(n)){o=getScale(n)}}else{o=getScale(e)}}var s=shouldAddVisualOffsets(a,r,n)?getVisualOffsets(a):createCoords(0);var l=(i.left+s.x)/o.x;var u=(i.top+s.y)/o.y;var c=i.width/o.x;var f=i.height/o.y;if(a){var v=getWindow(a);var d=n&&isElement(n)?getWindow(n):n;var g=v;var m=getFrameElement(g);while(m&&n&&d!==g){var p=getScale(m);var h=m.getBoundingClientRect();var _=getComputedStyle$1(m);var w=h.left+(m.clientLeft+parseFloat(_.paddingLeft))*p.x;var x=h.top+(m.clientTop+parseFloat(_.paddingTop))*p.y;l*=p.x;u*=p.y;c*=p.x;f*=p.y;l+=w;u+=x;g=getWindow(m);m=getFrameElement(g)}}return rectToClientRect({width:c,height:f,x:l,y:u})}function getWindowScrollBarX(e,t){var r=getNodeScroll(e).scrollLeft;if(!t){return getBoundingClientRect(getDocumentElement(e)).left+r}return t.left+r}function getHTMLOffset(e,t){var r=e.getBoundingClientRect();var n=r.left+t.scrollLeft-getWindowScrollBarX(e,r);var i=r.top+t.scrollTop;return{x:n,y:i}}function convertOffsetParentRelativeRectToViewportRelativeRect(e){var t=e.elements,r=e.rect,n=e.offsetParent,i=e.strategy;var a=i==="fixed";var o=getDocumentElement(n);var s=t?isTopLayer(t.floating):false;if(n===o||s&&a){return r}var l={scrollLeft:0,scrollTop:0};var u=createCoords(1);var c=createCoords(0);var f=isHTMLElement(n);if(f||!f&&!a){if(getNodeName(n)!=="body"||isOverflowElement(o)){l=getNodeScroll(n)}if(f){var v=getBoundingClientRect(n);u=getScale(n);c.x=v.x+n.clientLeft;c.y=v.y+n.clientTop}}var d=o&&!f&&!a?getHTMLOffset(o,l):createCoords(0);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-l.scrollLeft*u.x+c.x+d.x,y:r.y*u.y-l.scrollTop*u.y+c.y+d.y}}function getClientRects(e){return Array.from(e.getClientRects())}function getDocumentRect(e){var t=getDocumentElement(e);var r=getNodeScroll(e);var n=e.ownerDocument.body;var i=max(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth);var a=max(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);var o=-r.scrollLeft+getWindowScrollBarX(e);var s=-r.scrollTop;if(getComputedStyle$1(n).direction==="rtl"){o+=max(t.clientWidth,n.clientWidth)-i}return{width:i,height:a,x:o,y:s}}var SCROLLBAR_MAX=25;function getViewportRect(e,t){var r=getWindow(e);var n=getDocumentElement(e);var i=r.visualViewport;var a=n.clientWidth;var o=n.clientHeight;var s=0;var l=0;if(i){a=i.width;o=i.height;var u=isWebKit();if(!u||u&&t==="fixed"){s=i.offsetLeft;l=i.offsetTop}}var c=getWindowScrollBarX(n);if(c<=0){var f=n.ownerDocument;var v=f.body;var d=getComputedStyle(v);var g=f.compatMode==="CSS1Compat"?parseFloat(d.marginLeft)+parseFloat(d.marginRight)||0:0;var m=Math.abs(n.clientWidth-v.clientWidth-g);if(m<=SCROLLBAR_MAX){a-=m}}else if(c<=SCROLLBAR_MAX){a+=c}return{width:a,height:o,x:s,y:l}}function getInnerBoundingClientRect(e,t){var r=getBoundingClientRect(e,true,t==="fixed");var n=r.top+e.clientTop;var i=r.left+e.clientLeft;var a=isHTMLElement(e)?getScale(e):createCoords(1);var o=e.clientWidth*a.x;var s=e.clientHeight*a.y;var l=i*a.x;var u=n*a.y;return{width:o,height:s,x:l,y:u}}function getClientRectFromClippingAncestor(e,t,r){var n;if(t==="viewport"){n=getViewportRect(e,r)}else if(t==="document"){n=getDocumentRect(getDocumentElement(e))}else if(isElement(t)){n=getInnerBoundingClientRect(t,r)}else{var i=getVisualOffsets(e);n={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return rectToClientRect(n)}function hasFixedPositionAncestor(e,t){var r=getParentNode(e);if(r===t||!isElement(r)||isLastTraversableNode(r)){return false}return getComputedStyle$1(r).position==="fixed"||hasFixedPositionAncestor(r,t)}function getClippingElementAncestors(e,t){var r=t.get(e);if(r){return r}var n=getOverflowAncestors(e,[],false).filter((function(e){return isElement(e)&&getNodeName(e)!=="body"}));var i=null;var a=getComputedStyle$1(e).position==="fixed";var o=a?getParentNode(e):e;while(isElement(o)&&!isLastTraversableNode(o)){var s=getComputedStyle$1(o);var l=isContainingBlock(o);if(!l&&s.position==="fixed"){i=null}var u=a?!l&&!i:!l&&s.position==="static"&&!!i&&(i.position==="absolute"||i.position==="fixed")||isOverflowElement(o)&&!l&&hasFixedPositionAncestor(e,o);if(u){n=n.filter((function(e){return e!==o}))}else{i=s}o=getParentNode(o)}t.set(e,n);return n}function getClippingRect(e){var t=e.element,r=e.boundary,n=e.rootBoundary,i=e.strategy;var a=r==="clippingAncestors"?isTopLayer(t)?[]:getClippingElementAncestors(t,this._c):[].concat(r);var o=__spreadArray(__spreadArray([],a,true),[n],false);var s=getClientRectFromClippingAncestor(t,o[0],i);var l=s.top;var u=s.right;var c=s.bottom;var f=s.left;for(var v=1;v<o.length;v++){var d=getClientRectFromClippingAncestor(t,o[v],i);l=max(d.top,l);u=min(d.right,u);c=min(d.bottom,c);f=max(d.left,f)}return{width:u-f,height:c-l,x:f,y:l}}function getDimensions(e){var t=getCssDimensions(e),r=t.width,n=t.height;return{width:r,height:n}}function getRectRelativeToOffsetParent(e,t,r){var n=isHTMLElement(t);var i=getDocumentElement(t);var a=r==="fixed";var o=getBoundingClientRect(e,true,a,t);var s={scrollLeft:0,scrollTop:0};var l=createCoords(0);function u(){l.x=getWindowScrollBarX(i)}if(n||!n&&!a){if(getNodeName(t)!=="body"||isOverflowElement(i)){s=getNodeScroll(t)}if(n){var c=getBoundingClientRect(t,true,a,t);l.x=c.x+t.clientLeft;l.y=c.y+t.clientTop}else if(i){u()}}if(a&&!n&&i){u()}var f=i&&!n&&!a?getHTMLOffset(i,s):createCoords(0);var v=o.left+s.scrollLeft-l.x-f.x;var d=o.top+s.scrollTop-l.y-f.y;return{x:v,y:d,width:o.width,height:o.height}}function isStaticPositioned(e){return getComputedStyle$1(e).position==="static"}function getTrueOffsetParent(e,t){if(!isHTMLElement(e)||getComputedStyle$1(e).position==="fixed"){return null}if(t){return t(e)}var r=e.offsetParent;if(getDocumentElement(e)===r){r=r.ownerDocument.body}return r}function getOffsetParent(e,t){var r=getWindow(e);if(isTopLayer(e)){return r}if(!isHTMLElement(e)){var n=getParentNode(e);while(n&&!isLastTraversableNode(n)){if(isElement(n)&&!isStaticPositioned(n)){return n}n=getParentNode(n)}return r}var i=getTrueOffsetParent(e,t);while(i&&isTableElement(i)&&isStaticPositioned(i)){i=getTrueOffsetParent(i,t)}if(i&&isLastTraversableNode(i)&&isStaticPositioned(i)&&!isContainingBlock(i)){return r}return i||getContainingBlock(e)||r}var getElementRects=function(e){return __awaiter(this,void 0,void 0,(function(){var t,r,n,i,a;var o;return __generator(this,(function(s){switch(s.label){case 0:t=this.getOffsetParent||getOffsetParent;r=this.getDimensions;return[4,r(e.floating)];case 1:n=s.sent();o={};i=getRectRelativeToOffsetParent;a=[e.reference];return[4,t(e.floating)];case 2:return[2,(o.reference=i.apply(void 0,a.concat([s.sent(),e.strategy])),o.floating={x:0,y:0,width:n.width,height:n.height},o)]}}))}))};function isRTL(e){return getComputedStyle$1(e).direction==="rtl"}var platform={convertOffsetParentRelativeRectToViewportRelativeRect:convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement:getDocumentElement,getClippingRect:getClippingRect,getOffsetParent:getOffsetParent,getElementRects:getElementRects,getClientRects:getClientRects,getDimensions:getDimensions,getScale:getScale,isElement:isElement,isRTL:isRTL};function rectsAreEqual(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function observeMove(e,t){var r=null;var n;var i=getDocumentElement(e);function a(){var e;clearTimeout(n);(e=r)==null||e.disconnect();r=null}function o(s,l){if(s===void 0){s=false}if(l===void 0){l=1}a();var u=e.getBoundingClientRect();var c=u.left,f=u.top,v=u.width,d=u.height;if(!s){t()}if(!v||!d){return}var g=floor(f);var m=floor(i.clientWidth-(c+v));var p=floor(i.clientHeight-(f+d));var h=floor(c);var _=-g+"px "+-m+"px "+-p+"px "+-h+"px";var w={rootMargin:_,threshold:max(0,min(1,l))||1};var x=true;function y(t){var r=t[0].intersectionRatio;if(r!==l){if(!x){return o()}if(!r){n=setTimeout((function(){o(false,1e-7)}),1e3)}else{o(false,r)}}if(r===1&&!rectsAreEqual(u,e.getBoundingClientRect())){o()}x=false}try{r=new IntersectionObserver(y,__assign(__assign({},w),{root:i.ownerDocument}))}catch(e){r=new IntersectionObserver(y,w)}r.observe(e)}o(true);return a}function autoUpdate(e,t,r,n){if(n===void 0){n={}}var i=n.ancestorScroll,a=i===void 0?true:i,o=n.ancestorResize,s=o===void 0?true:o,l=n.elementResize,u=l===void 0?typeof ResizeObserver==="function":l,c=n.layoutShift,f=c===void 0?typeof IntersectionObserver==="function":c,v=n.animationFrame,d=v===void 0?false:v;var g=unwrapElement(e);var m=a||s?__spreadArray(__spreadArray([],g?getOverflowAncestors(g):[],true),t?getOverflowAncestors(t):[],true):[];m.forEach((function(e){a&&e.addEventListener("scroll",r,{passive:true});s&&e.addEventListener("resize",r)}));var p=g&&f?observeMove(g,r):null;var h=-1;var _=null;if(u){_=new ResizeObserver((function(e){var n=e[0];if(n&&n.target===g&&_&&t){_.unobserve(t);cancelAnimationFrame(h);h=requestAnimationFrame((function(){var e;(e=_)==null||e.observe(t)}))}r()}));if(g&&!d){_.observe(g)}if(t){_.observe(t)}}var w;var x=d?getBoundingClientRect(e):null;if(d){y()}function y(){var t=getBoundingClientRect(e);if(x&&!rectsAreEqual(x,t)){r()}x=t;w=requestAnimationFrame(y)}r();return function(){var e;m.forEach((function(e){a&&e.removeEventListener("scroll",r);s&&e.removeEventListener("resize",r)}));p==null||p();(e=_)==null||e.disconnect();_=null;if(d){cancelAnimationFrame(w)}}}var offset=offset$1;var shift=shift$1;var flip=flip$1;var size=size$1;var hide=hide$1;var computePosition=function(e,t,r){var n=new Map;var i=__assign({platform:platform},r);var a=__assign(__assign({},i.platform),{_c:n});return computePosition$1(e,t,__assign(__assign({},i),{platform:a}))};export{autoUpdate as a,size as b,computePosition as c,flip as f,hide as h,offset as o,platform as p,shift as s};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var messageId=function(e,r){return"".concat(e,"__").concat(r,"-message")};var assignDescription=function(e,r,s,n){var t=Boolean(n);var i=Boolean(s);if(r&&t)return messageId(e,"error");if(i)return messageId(e,"helper");return undefined};var isRequired=function(e,r){if(!e||!r)return;if(r.required===true){e.checkValidity()===false?r.invalid=true:r.invalid=false}};function exposeTypeProperty(e,r){if(Object.getOwnPropertyDescriptor(e,"type"))return;Object.defineProperty(e,"type",{get:typeof r==="function"?r:function(){return r},enumerable:true,configurable:false})}var isSpecTest=function(){var e;return typeof process!=="undefined"&&((e=process.env)===null||e===void 0?void 0:e.__STENCIL_SPEC_TESTS__)==="true"};export{assignDescription as a,isRequired as b,exposeTypeProperty as e,isSpecTest as i,messageId as m};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function formatMessage(e,n){if(!n)return e;return e.replace(/\{(\w+)\}/g,(function(e,r){return r in n?String(n[r]):"{".concat(r,"}")}))}function resolveLocale(e){var n;var r=e&&typeof e.closest==="function"?(n=e.closest("[lang]"))===null||n===void 0?void 0:n.getAttribute("lang"):null;var t=typeof document!=="undefined"?document.documentElement.lang:"";return r||t||"en"}function pluralize(e,n,r,t){var o="other";try{o=new Intl.PluralRules(resolveLocale(e)).select(n)}catch(e){}var a=r[o]||r.other||r.one||"{count}";return formatMessage(a,Object.assign({count:n},t))}export{formatMessage as f,pluralize as p,resolveLocale as r};
|