@beeq/core 1.8.0-beta.1 → 1.8.0-beta.11
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/README.md +5 -3
- package/dist/beeq/beeq.css +1 -1
- package/dist/beeq/beeq.esm.js +1 -43
- package/dist/beeq/beeq.esm.js.map +1 -1
- package/dist/beeq/index.esm.js +1 -64
- package/dist/beeq/index.esm.js.map +1 -1
- package/dist/beeq/p-0f32aa9d.entry.js +6 -0
- package/dist/beeq/p-0f32aa9d.entry.js.map +1 -0
- package/dist/beeq/p-1075f955.entry.js +6 -0
- package/dist/beeq/{p-14b44a4b.entry.js.map → p-1075f955.entry.js.map} +1 -1
- package/dist/beeq/p-115ed5b2.js +1 -25
- package/dist/beeq/p-115ed5b2.js.map +1 -1
- package/dist/beeq/p-12582165.entry.js +6 -0
- package/dist/beeq/p-12582165.entry.js.map +1 -0
- package/dist/beeq/p-16340dba.js +7 -0
- package/dist/beeq/p-16340dba.js.map +1 -0
- package/dist/beeq/p-1c75d84d.entry.js +6 -0
- package/dist/beeq/{p-5e11b866.entry.js.map → p-1c75d84d.entry.js.map} +1 -1
- package/dist/beeq/p-1c8b6eb4.js +1 -12
- package/dist/beeq/p-1c8b6eb4.js.map +1 -1
- package/dist/beeq/p-1defeea3.js +6 -0
- package/dist/beeq/{p-951ba558.js.map → p-1defeea3.js.map} +1 -1
- package/dist/beeq/p-1f3a4359.js +1 -11
- package/dist/beeq/p-1f3a4359.js.map +1 -1
- package/dist/beeq/p-2189fea5.entry.js +6 -0
- package/dist/beeq/p-2189fea5.entry.js.map +1 -0
- package/dist/beeq/p-27c3db16.entry.js +6 -0
- package/dist/beeq/{p-49249dda.entry.js.map → p-27c3db16.entry.js.map} +1 -1
- package/dist/beeq/p-28203a0f.entry.js +6 -0
- package/dist/beeq/p-28203a0f.entry.js.map +1 -0
- package/dist/beeq/p-327cc47e.entry.js +6 -0
- package/dist/beeq/p-327cc47e.entry.js.map +1 -0
- package/dist/beeq/p-335bb9bd.entry.js +6 -0
- package/dist/beeq/p-335bb9bd.entry.js.map +1 -0
- package/dist/beeq/p-3431c29f.entry.js +6 -0
- package/dist/beeq/{p-39d77ba6.entry.js.map → p-3431c29f.entry.js.map} +1 -1
- package/dist/beeq/p-3b23e4cb.entry.js +6 -0
- package/dist/beeq/{p-ffddc425.entry.js.map → p-3b23e4cb.entry.js.map} +1 -1
- package/dist/beeq/p-3fd0d92d.js +1 -1228
- package/dist/beeq/p-3fd0d92d.js.map +1 -1
- package/dist/beeq/p-42fd96c3.entry.js +6 -0
- package/dist/beeq/p-42fd96c3.entry.js.map +1 -0
- package/dist/beeq/p-4620b9c9.entry.js +6 -0
- package/dist/beeq/p-4620b9c9.entry.js.map +1 -0
- package/dist/beeq/p-57621be1.js +1 -9
- package/dist/beeq/p-57621be1.js.map +1 -1
- package/dist/beeq/p-6148b8ae.entry.js +6 -0
- package/dist/beeq/p-6148b8ae.entry.js.map +1 -0
- package/dist/beeq/p-6285254c.entry.js +6 -0
- package/dist/beeq/p-6285254c.entry.js.map +1 -0
- package/dist/beeq/p-63619085.entry.js +6 -0
- package/dist/beeq/p-63619085.entry.js.map +1 -0
- package/dist/beeq/p-687da041.js +1 -20
- package/dist/beeq/p-687da041.js.map +1 -1
- package/dist/beeq/p-6cd0f30d.entry.js +6 -0
- package/dist/beeq/p-6cd0f30d.entry.js.map +1 -0
- package/dist/beeq/p-73ccb90d.entry.js +6 -0
- package/dist/beeq/p-73ccb90d.entry.js.map +1 -0
- package/dist/beeq/p-75f42cfa.entry.js +6 -0
- package/dist/beeq/{p-36652891.entry.js.map → p-75f42cfa.entry.js.map} +1 -1
- package/dist/beeq/p-7bc123c9.entry.js +6 -0
- package/dist/beeq/p-7bc123c9.entry.js.map +1 -0
- package/dist/beeq/p-7ea20358.entry.js +6 -0
- package/dist/beeq/p-7ea20358.entry.js.map +1 -0
- package/dist/beeq/p-806b189f.entry.js +6 -0
- package/dist/beeq/p-806b189f.entry.js.map +1 -0
- package/dist/beeq/p-82fe8d58.entry.js +6 -0
- package/dist/beeq/p-82fe8d58.entry.js.map +1 -0
- package/dist/beeq/p-899502c0.entry.js +6 -0
- package/dist/beeq/p-899502c0.entry.js.map +1 -0
- package/dist/beeq/p-90077071.entry.js +6 -0
- package/dist/beeq/p-90077071.entry.js.map +1 -0
- package/dist/beeq/p-906cc99d.js +6 -0
- package/dist/beeq/p-906cc99d.js.map +1 -0
- package/dist/beeq/p-99829fc7.js +1 -8
- package/dist/beeq/p-99829fc7.js.map +1 -1
- package/dist/beeq/p-9c4a9790.entry.js +6 -0
- package/dist/beeq/{p-e301647a.entry.js.map → p-9c4a9790.entry.js.map} +1 -1
- package/dist/beeq/p-9cab220d.entry.js +6 -0
- package/dist/beeq/p-9cab220d.entry.js.map +1 -0
- package/dist/beeq/p-9dbbf366.entry.js +6 -0
- package/dist/beeq/p-9dbbf366.entry.js.map +1 -0
- package/dist/beeq/p-9f7a1527.entry.js +6 -0
- package/dist/beeq/{p-0f48adcc.entry.js.map → p-9f7a1527.entry.js.map} +1 -1
- package/dist/beeq/p-a5dc1c94.js +1 -118
- package/dist/beeq/p-a5dc1c94.js.map +1 -1
- package/dist/beeq/p-a8cad5ab.js +1 -5
- package/dist/beeq/p-a8cad5ab.js.map +1 -1
- package/dist/beeq/p-af062402.js +1 -7
- package/dist/beeq/p-af062402.js.map +1 -1
- package/dist/beeq/p-b71d2d9a.entry.js +6 -0
- package/dist/beeq/p-b71d2d9a.entry.js.map +1 -0
- package/dist/beeq/p-b8416ead.entry.js +6 -0
- package/dist/beeq/{p-548b45b7.entry.js.map → p-b8416ead.entry.js.map} +1 -1
- package/dist/beeq/p-bb21df71.entry.js +6 -0
- package/dist/beeq/p-bb21df71.entry.js.map +1 -0
- package/dist/beeq/p-bdbc5548.entry.js +6 -0
- package/dist/beeq/p-bdbc5548.entry.js.map +1 -0
- package/dist/beeq/p-c62189e6.entry.js +6 -0
- package/dist/beeq/p-c62189e6.entry.js.map +1 -0
- package/dist/beeq/p-c78ae3c2.js +6 -0
- package/dist/beeq/p-c78ae3c2.js.map +1 -0
- package/dist/beeq/p-d4397119.entry.js +6 -0
- package/dist/beeq/p-d4397119.entry.js.map +1 -0
- package/dist/beeq/p-d7ce7165.js +6 -0
- package/dist/beeq/p-d7ce7165.js.map +1 -0
- package/dist/beeq/p-dc5086d8.entry.js +6 -0
- package/dist/beeq/p-dc5086d8.entry.js.map +1 -0
- package/dist/beeq/p-e8410587.entry.js +6 -0
- package/dist/beeq/p-e8410587.entry.js.map +1 -0
- package/dist/beeq/p-ecd27cf2.js +1 -11
- package/dist/beeq/p-ecd27cf2.js.map +1 -1
- package/dist/beeq/p-edfd9767.js +6 -0
- package/dist/beeq/p-edfd9767.js.map +1 -0
- package/dist/beeq/p-f09cd30c.entry.js +6 -0
- package/dist/beeq/p-f09cd30c.entry.js.map +1 -0
- package/dist/beeq/p-f2ede993.entry.js +6 -0
- package/dist/beeq/p-f2ede993.entry.js.map +1 -0
- package/dist/beeq/p-fe8d5dea.js +6 -0
- package/dist/beeq/{p-4688e046.js.map → p-fe8d5dea.js.map} +1 -1
- package/dist/cjs/app-globals-b11284b9.js.map +1 -1
- package/dist/cjs/assetsPath-56bdb114.js +79 -0
- package/dist/cjs/assetsPath-56bdb114.js.map +1 -0
- package/dist/cjs/beeq.cjs.js +3 -3
- package/dist/cjs/beeq.cjs.js.map +1 -1
- package/dist/cjs/bq-accordion-group.cjs.entry.js +3 -4
- package/dist/cjs/bq-accordion-group.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-accordion.cjs.entry.js +83 -48
- package/dist/cjs/bq-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-alert.cjs.entry.js +72 -64
- package/dist/cjs/bq-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-avatar.cjs.entry.js +42 -42
- package/dist/cjs/bq-avatar.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-badge.cjs.entry.js +44 -44
- package/dist/cjs/bq-badge.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-breadcrumb-item.cjs.entry.js +42 -32
- package/dist/cjs/bq-breadcrumb-item.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-breadcrumb.cjs.entry.js +45 -30
- package/dist/cjs/bq-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-button_2.cjs.entry.js +189 -117
- package/dist/cjs/bq-button_2.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-card.cjs.entry.js +5 -6
- package/dist/cjs/bq-card.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-checkbox.cjs.entry.js +63 -54
- package/dist/cjs/bq-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-date-picker.cjs.entry.js +163 -140
- package/dist/cjs/bq-date-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-dialog.cjs.entry.js +71 -50
- package/dist/cjs/bq-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-divider.cjs.entry.js +30 -25
- package/dist/cjs/bq-divider.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-drawer.cjs.entry.js +52 -38
- package/dist/cjs/bq-drawer.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-dropdown_2.cjs.entry.js +45 -35
- package/dist/cjs/bq-dropdown_2.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-empty-state.cjs.entry.js +31 -28
- package/dist/cjs/bq-empty-state.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-input.cjs.entry.js +116 -90
- package/dist/cjs/bq-input.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-notification.cjs.entry.js +80 -59
- package/dist/cjs/bq-notification.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-option-group.cjs.entry.js +4 -4
- package/dist/cjs/bq-option-group.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-option-list_2.cjs.entry.js +77 -58
- package/dist/cjs/bq-option-list_2.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-option.cjs.entry.js +65 -49
- package/dist/cjs/bq-option.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-page-title.cjs.entry.js +38 -34
- package/dist/cjs/bq-page-title.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-progress.cjs.entry.js +10 -10
- package/dist/cjs/bq-progress.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-radio-group.cjs.entry.js +13 -8
- package/dist/cjs/bq-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-radio.cjs.entry.js +43 -37
- package/dist/cjs/bq-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-select.cjs.entry.js +189 -166
- package/dist/cjs/bq-select.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-side-menu-item.cjs.entry.js +68 -55
- package/dist/cjs/bq-side-menu-item.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-side-menu.cjs.entry.js +47 -32
- package/dist/cjs/bq-side-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-slider.cjs.entry.js +165 -144
- package/dist/cjs/bq-slider.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-spinner.cjs.entry.js +57 -56
- package/dist/cjs/bq-spinner.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-status.cjs.entry.js +4 -5
- package/dist/cjs/bq-status.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-step-item.cjs.entry.js +24 -17
- package/dist/cjs/bq-step-item.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-steps.cjs.entry.js +13 -11
- package/dist/cjs/bq-steps.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-switch.cjs.entry.js +46 -35
- package/dist/cjs/bq-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-tab-group.cjs.entry.js +68 -61
- package/dist/cjs/bq-tab-group.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-tab.cjs.entry.js +47 -37
- package/dist/cjs/bq-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-textarea.cjs.entry.js +80 -58
- package/dist/cjs/bq-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-toast.cjs.entry.js +61 -57
- package/dist/cjs/bq-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-tooltip.cjs.entry.js +47 -43
- package/dist/cjs/bq-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/{cssVariables-7139f0c6.js → cssVariables-dd190bc2.js} +3 -1
- package/dist/cjs/cssVariables-dd190bc2.js.map +1 -0
- package/dist/cjs/{debounce-f94a239b.js → debounce-1f7e1176.js} +3 -3
- package/dist/cjs/debounce-1f7e1176.js.map +1 -0
- package/dist/cjs/{index-1d3aac65.js → index-a38a0b5b.js} +30 -33
- package/dist/cjs/index-a38a0b5b.js.map +1 -0
- package/dist/cjs/{index-e4c116b6.js → index-fc7876d6.js} +63 -19
- package/dist/cjs/index-fc7876d6.js.map +1 -0
- package/dist/cjs/index.cjs.js +6 -5
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/{isDefined-750bffc4.js → isDefined-30812dd7.js} +2 -2
- package/dist/cjs/{isDefined-750bffc4.js.map → isDefined-30812dd7.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{slot-dd6f7db9.js → slot-2fee189a.js} +3 -4
- package/dist/{beeq/p-d7a88b16.js.map → cjs/slot-2fee189a.js.map} +1 -1
- package/dist/collection/_storybook/foundation/helper/index.js +3 -3
- package/dist/collection/_storybook/foundation/helper/index.js.map +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/accordion/bq-accordion.js +72 -39
- package/dist/collection/components/accordion/bq-accordion.js.map +1 -1
- package/dist/collection/components/accordion/helper/index.js +10 -4
- package/dist/collection/components/accordion/helper/index.js.map +1 -1
- package/dist/collection/components/accordion/scss/bq-accordion.css +1 -1
- package/dist/collection/components/accordion-group/bq-accordion-group.js +5 -0
- package/dist/collection/components/accordion-group/bq-accordion-group.js.map +1 -1
- package/dist/collection/components/accordion-group/scss/bq-accordion-group.css +1 -1
- package/dist/collection/components/alert/bq-alert.js +80 -62
- package/dist/collection/components/alert/bq-alert.js.map +1 -1
- package/dist/collection/components/alert/scss/bq-alert.css +1 -1
- package/dist/collection/components/avatar/bq-avatar.js +42 -38
- package/dist/collection/components/avatar/bq-avatar.js.map +1 -1
- package/dist/collection/components/avatar/scss/bq-avatar.css +1 -1
- package/dist/collection/components/badge/bq-badge.js +42 -38
- package/dist/collection/components/badge/bq-badge.js.map +1 -1
- package/dist/collection/components/badge/scss/bq-badge.css +1 -1
- package/dist/collection/components/breadcrumb/bq-breadcrumb.js +45 -26
- package/dist/collection/components/breadcrumb/bq-breadcrumb.js.map +1 -1
- package/dist/collection/components/breadcrumb/scss/bq-breadcrumb.css +1 -1
- package/dist/collection/components/breadcrumb-item/bq-breadcrumb-item.js +43 -27
- package/dist/collection/components/breadcrumb-item/bq-breadcrumb-item.js.map +1 -1
- package/dist/collection/components/breadcrumb-item/scss/bq-breadcrumb-item.css +1 -1
- package/dist/collection/components/button/bq-button.js +84 -43
- package/dist/collection/components/button/bq-button.js.map +1 -1
- package/dist/collection/components/button/scss/bq-button.css +1 -1
- package/dist/collection/components/card/bq-card.js +7 -2
- package/dist/collection/components/card/bq-card.js.map +1 -1
- package/dist/collection/components/card/scss/bq-card.css +1 -1
- package/dist/collection/components/checkbox/bq-checkbox.js +63 -50
- package/dist/collection/components/checkbox/bq-checkbox.js.map +1 -1
- package/dist/collection/components/checkbox/scss/bq-checkbox.css +1 -1
- package/dist/collection/components/date-picker/bq-date-picker.js +161 -134
- package/dist/collection/components/date-picker/bq-date-picker.js.map +1 -1
- package/dist/collection/components/date-picker/scss/bq-date-picker.css +1 -1
- package/dist/collection/components/dialog/bq-dialog.js +70 -45
- package/dist/collection/components/dialog/bq-dialog.js.map +1 -1
- package/dist/collection/components/dialog/scss/bq-dialog.css +1 -1
- package/dist/collection/components/divider/bq-divider.js +28 -19
- package/dist/collection/components/divider/bq-divider.js.map +1 -1
- package/dist/collection/components/divider/scss/bq-divider.css +1 -1
- package/dist/collection/components/drawer/bq-drawer.js +51 -33
- package/dist/collection/components/drawer/bq-drawer.js.map +1 -1
- package/dist/collection/components/drawer/scss/bq-drawer.css +1 -1
- package/dist/collection/components/dropdown/bq-dropdown.js +34 -23
- package/dist/collection/components/dropdown/bq-dropdown.js.map +1 -1
- package/dist/collection/components/empty-state/bq-empty-state.js +30 -23
- package/dist/collection/components/empty-state/bq-empty-state.js.map +1 -1
- package/dist/collection/components/empty-state/scss/bq-empty-state.css +1 -1
- package/dist/collection/components/icon/bq-icon.js +45 -35
- package/dist/collection/components/icon/bq-icon.js.map +1 -1
- package/dist/collection/components/icon/helper/request.js +51 -33
- package/dist/collection/components/icon/helper/request.js.map +1 -1
- package/dist/collection/components/icon/scss/bq-icon.css +1 -1
- package/dist/collection/components/input/bq-input.js +113 -83
- package/dist/collection/components/input/bq-input.js.map +1 -1
- package/dist/collection/components/input/scss/bq-input.css +1 -1
- package/dist/collection/components/notification/bq-notification.js +86 -54
- package/dist/collection/components/notification/bq-notification.js.map +1 -1
- package/dist/collection/components/notification/scss/bq-notification.css +1 -1
- package/dist/collection/components/option/bq-option.js +64 -44
- package/dist/collection/components/option/bq-option.js.map +1 -1
- package/dist/collection/components/option/scss/bq-option.css +1 -1
- package/dist/collection/components/option-group/bq-option-group.js +6 -1
- package/dist/collection/components/option-group/bq-option-group.js.map +1 -1
- package/dist/collection/components/option-group/scss/bq-option-group.css +1 -1
- package/dist/collection/components/option-list/bq-option-list.js +11 -1
- package/dist/collection/components/option-list/bq-option-list.js.map +1 -1
- package/dist/collection/components/option-list/scss/bq-option-list.css +1 -1
- package/dist/collection/components/page-title/bq-page-title.js +37 -29
- package/dist/collection/components/page-title/bq-page-title.js.map +1 -1
- package/dist/collection/components/page-title/scss/bq-page-title.css +1 -1
- package/dist/collection/components/panel/bq-panel.js +12 -7
- package/dist/collection/components/panel/bq-panel.js.map +1 -1
- package/dist/collection/components/panel/scss/bq-panel.css +1 -1
- package/dist/collection/components/progress/bq-progress.js +12 -6
- package/dist/collection/components/progress/bq-progress.js.map +1 -1
- package/dist/collection/components/progress/scss/bq-progress.css +1 -1
- package/dist/collection/components/radio/bq-radio.js +43 -34
- package/dist/collection/components/radio/bq-radio.js.map +1 -1
- package/dist/collection/components/radio/scss/bq-radio.css +1 -1
- package/dist/collection/components/radio-group/bq-radio-group.js +13 -4
- package/dist/collection/components/radio-group/bq-radio-group.js.map +1 -1
- package/dist/collection/components/select/bq-select.js +187 -160
- package/dist/collection/components/select/bq-select.js.map +1 -1
- package/dist/collection/components/select/scss/bq-select.css +1 -1
- package/dist/collection/components/side-menu/bq-side-menu.js +50 -29
- package/dist/collection/components/side-menu/bq-side-menu.js.map +1 -1
- package/dist/collection/components/side-menu/scss/bq-side-menu.css +1 -1
- package/dist/collection/components/side-menu-item/bq-side-menu-item.js +68 -51
- package/dist/collection/components/side-menu-item/bq-side-menu-item.js.map +1 -1
- package/dist/collection/components/side-menu-item/scss/bq-side-menu-item.css +1 -1
- package/dist/collection/components/slider/bq-slider.js +164 -139
- package/dist/collection/components/slider/bq-slider.js.map +1 -1
- package/dist/collection/components/slider/scss/bq-slider.css +1 -1
- package/dist/collection/components/spinner/bq-spinner.js +56 -51
- package/dist/collection/components/spinner/bq-spinner.js.map +1 -1
- package/dist/collection/components/spinner/scss/bq-spinner.css +1 -1
- package/dist/collection/components/status/bq-status.js +6 -1
- package/dist/collection/components/status/bq-status.js.map +1 -1
- package/dist/collection/components/status/scss/bq-status.css +1 -1
- package/dist/collection/components/step-item/bq-step-item.js +26 -13
- package/dist/collection/components/step-item/bq-step-item.js.map +1 -1
- package/dist/collection/components/step-item/scss/bq-step-item.css +1 -1
- package/dist/collection/components/steps/bq-steps.js +13 -7
- package/dist/collection/components/steps/bq-steps.js.map +1 -1
- package/dist/collection/components/steps/scss/bq-steps.css +1 -1
- package/dist/collection/components/switch/bq-switch.js +45 -30
- package/dist/collection/components/switch/bq-switch.js.map +1 -1
- package/dist/collection/components/switch/scss/bq-switch.css +1 -1
- package/dist/collection/components/tab/bq-tab.js +46 -32
- package/dist/collection/components/tab/bq-tab.js.map +1 -1
- package/dist/collection/components/tab/scss/bq-tab.css +1 -1
- package/dist/collection/components/tab-group/bq-tab-group.js +67 -56
- package/dist/collection/components/tab-group/bq-tab-group.js.map +1 -1
- package/dist/collection/components/tab-group/scss/bq-tab-group.css +1 -1
- package/dist/collection/components/tag/bq-tag.js +67 -49
- package/dist/collection/components/tag/bq-tag.js.map +1 -1
- package/dist/collection/components/tag/scss/bq-tag.css +1 -1
- package/dist/collection/components/textarea/bq-textarea.js +78 -52
- package/dist/collection/components/textarea/bq-textarea.js.map +1 -1
- package/dist/collection/components/textarea/scss/bq-textarea.css +1 -1
- package/dist/collection/components/toast/bq-toast.js +68 -52
- package/dist/collection/components/toast/bq-toast.js.map +1 -1
- package/dist/collection/components/toast/scss/bq-toast.css +1 -1
- package/dist/collection/components/tooltip/bq-tooltip.js +46 -39
- package/dist/collection/components/tooltip/bq-tooltip.js.map +1 -1
- package/dist/collection/components/tooltip/scss/bq-tooltip.css +1 -1
- package/dist/collection/global/scripts/global.js.map +1 -1
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/services/libraries/floating-ui/index.js +4 -0
- package/dist/collection/services/libraries/floating-ui/index.js.map +1 -1
- package/dist/collection/shared/utils/assetsPath.js +46 -46
- package/dist/collection/shared/utils/assetsPath.js.map +1 -1
- package/dist/collection/shared/utils/cssVariables.js +2 -0
- package/dist/collection/shared/utils/cssVariables.js.map +1 -1
- package/dist/collection/shared/utils/debounce.js +2 -2
- package/dist/collection/shared/utils/debounce.js.map +1 -1
- package/dist/collection/shared/utils/slot.js +2 -3
- package/dist/collection/shared/utils/slot.js.map +1 -1
- package/dist/components/bq-accordion-group.js +2 -3
- package/dist/components/bq-accordion-group.js.map +1 -1
- package/dist/components/bq-accordion.js +81 -46
- package/dist/components/bq-accordion.js.map +1 -1
- package/dist/components/bq-alert.js +69 -61
- package/dist/components/bq-alert.js.map +1 -1
- package/dist/components/bq-avatar.js +41 -41
- package/dist/components/bq-avatar.js.map +1 -1
- package/dist/components/bq-badge2.js +41 -41
- package/dist/components/bq-badge2.js.map +1 -1
- package/dist/components/bq-breadcrumb-item.js +40 -30
- package/dist/components/bq-breadcrumb-item.js.map +1 -1
- package/dist/components/bq-breadcrumb.js +44 -29
- package/dist/components/bq-breadcrumb.js.map +1 -1
- package/dist/components/bq-button2.js +84 -47
- package/dist/components/bq-button2.js.map +1 -1
- package/dist/components/bq-card.js +4 -5
- package/dist/components/bq-card.js.map +1 -1
- package/dist/components/bq-checkbox.js +62 -53
- package/dist/components/bq-checkbox.js.map +1 -1
- package/dist/components/bq-date-picker.js +160 -137
- package/dist/components/bq-date-picker.js.map +1 -1
- package/dist/components/bq-dialog.js +69 -48
- package/dist/components/bq-dialog.js.map +1 -1
- package/dist/components/bq-divider2.js +27 -22
- package/dist/components/bq-divider2.js.map +1 -1
- package/dist/components/bq-drawer.js +50 -36
- package/dist/components/bq-drawer.js.map +1 -1
- package/dist/components/bq-dropdown2.js +32 -24
- package/dist/components/bq-dropdown2.js.map +1 -1
- package/dist/components/bq-empty-state.js +29 -26
- package/dist/components/bq-empty-state.js.map +1 -1
- package/dist/components/bq-icon2.js +164 -70
- package/dist/components/bq-icon2.js.map +1 -1
- package/dist/components/bq-input.js +112 -86
- package/dist/components/bq-input.js.map +1 -1
- package/dist/components/bq-notification.js +78 -56
- package/dist/components/bq-notification.js.map +1 -1
- package/dist/components/bq-option-group.js +3 -3
- package/dist/components/bq-option-group.js.map +1 -1
- package/dist/components/bq-option-list2.js +8 -4
- package/dist/components/bq-option-list2.js.map +1 -1
- package/dist/components/bq-option.js +63 -47
- package/dist/components/bq-option.js.map +1 -1
- package/dist/components/bq-page-title.js +36 -32
- package/dist/components/bq-page-title.js.map +1 -1
- package/dist/components/bq-panel2.js +11 -9
- package/dist/components/bq-panel2.js.map +1 -1
- package/dist/components/bq-progress.js +9 -9
- package/dist/components/bq-progress.js.map +1 -1
- package/dist/components/bq-radio-group.js +11 -6
- package/dist/components/bq-radio-group.js.map +1 -1
- package/dist/components/bq-radio.js +43 -37
- package/dist/components/bq-radio.js.map +1 -1
- package/dist/components/bq-select.js +185 -162
- package/dist/components/bq-select.js.map +1 -1
- package/dist/components/bq-side-menu-item.js +67 -54
- package/dist/components/bq-side-menu-item.js.map +1 -1
- package/dist/components/bq-side-menu.js +47 -31
- package/dist/components/bq-side-menu.js.map +1 -1
- package/dist/components/bq-slider.js +163 -142
- package/dist/components/bq-slider.js.map +1 -1
- package/dist/components/bq-spinner.js +54 -53
- package/dist/components/bq-spinner.js.map +1 -1
- package/dist/components/bq-status.js +3 -4
- package/dist/components/bq-status.js.map +1 -1
- package/dist/components/bq-step-item.js +23 -16
- package/dist/components/bq-step-item.js.map +1 -1
- package/dist/components/bq-steps.js +12 -10
- package/dist/components/bq-steps.js.map +1 -1
- package/dist/components/bq-switch.js +44 -33
- package/dist/components/bq-switch.js.map +1 -1
- package/dist/components/bq-tab-group.js +66 -59
- package/dist/components/bq-tab-group.js.map +1 -1
- package/dist/components/bq-tab.js +45 -35
- package/dist/components/bq-tab.js.map +1 -1
- package/dist/components/bq-tag2.js +66 -52
- package/dist/components/bq-tag2.js.map +1 -1
- package/dist/components/bq-textarea.js +77 -55
- package/dist/components/bq-textarea.js.map +1 -1
- package/dist/components/bq-toast.js +60 -55
- package/dist/components/bq-toast.js.map +1 -1
- package/dist/components/bq-tooltip2.js +45 -41
- package/dist/components/bq-tooltip2.js.map +1 -1
- package/dist/components/cssVariables.js +2 -0
- package/dist/components/cssVariables.js.map +1 -1
- package/dist/components/debounce.js +2 -2
- package/dist/components/debounce.js.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +62 -18
- package/dist/components/index2.js.map +1 -1
- package/dist/components/isDefined.js +1 -1
- package/dist/components/slot.js +2 -3
- package/dist/components/slot.js.map +1 -1
- package/dist/esm/app-globals-de5a646b.js.map +1 -1
- package/dist/esm/assetsPath-653f7ee2.js +76 -0
- package/dist/esm/assetsPath-653f7ee2.js.map +1 -0
- package/dist/esm/beeq.js +4 -4
- package/dist/esm/beeq.js.map +1 -1
- package/dist/esm/bq-accordion-group.entry.js +3 -4
- package/dist/esm/bq-accordion-group.entry.js.map +1 -1
- package/dist/esm/bq-accordion.entry.js +83 -48
- package/dist/esm/bq-accordion.entry.js.map +1 -1
- package/dist/esm/bq-alert.entry.js +72 -64
- package/dist/esm/bq-alert.entry.js.map +1 -1
- package/dist/esm/bq-avatar.entry.js +42 -42
- package/dist/esm/bq-avatar.entry.js.map +1 -1
- package/dist/esm/bq-badge.entry.js +44 -44
- package/dist/esm/bq-badge.entry.js.map +1 -1
- package/dist/esm/bq-breadcrumb-item.entry.js +42 -32
- package/dist/esm/bq-breadcrumb-item.entry.js.map +1 -1
- package/dist/esm/bq-breadcrumb.entry.js +45 -30
- package/dist/esm/bq-breadcrumb.entry.js.map +1 -1
- package/dist/esm/bq-button_2.entry.js +189 -117
- package/dist/esm/bq-button_2.entry.js.map +1 -1
- package/dist/esm/bq-card.entry.js +5 -6
- package/dist/esm/bq-card.entry.js.map +1 -1
- package/dist/esm/bq-checkbox.entry.js +63 -54
- package/dist/esm/bq-checkbox.entry.js.map +1 -1
- package/dist/esm/bq-date-picker.entry.js +163 -140
- package/dist/esm/bq-date-picker.entry.js.map +1 -1
- package/dist/esm/bq-dialog.entry.js +71 -50
- package/dist/esm/bq-dialog.entry.js.map +1 -1
- package/dist/esm/bq-divider.entry.js +30 -25
- package/dist/esm/bq-divider.entry.js.map +1 -1
- package/dist/esm/bq-drawer.entry.js +52 -38
- package/dist/esm/bq-drawer.entry.js.map +1 -1
- package/dist/esm/bq-dropdown_2.entry.js +45 -35
- package/dist/esm/bq-dropdown_2.entry.js.map +1 -1
- package/dist/esm/bq-empty-state.entry.js +31 -28
- package/dist/esm/bq-empty-state.entry.js.map +1 -1
- package/dist/esm/bq-input.entry.js +116 -90
- package/dist/esm/bq-input.entry.js.map +1 -1
- package/dist/esm/bq-notification.entry.js +80 -59
- package/dist/esm/bq-notification.entry.js.map +1 -1
- package/dist/esm/bq-option-group.entry.js +4 -4
- package/dist/esm/bq-option-group.entry.js.map +1 -1
- package/dist/esm/bq-option-list_2.entry.js +77 -58
- package/dist/esm/bq-option-list_2.entry.js.map +1 -1
- package/dist/esm/bq-option.entry.js +65 -49
- package/dist/esm/bq-option.entry.js.map +1 -1
- package/dist/esm/bq-page-title.entry.js +38 -34
- package/dist/esm/bq-page-title.entry.js.map +1 -1
- package/dist/esm/bq-progress.entry.js +10 -10
- package/dist/esm/bq-progress.entry.js.map +1 -1
- package/dist/esm/bq-radio-group.entry.js +13 -8
- package/dist/esm/bq-radio-group.entry.js.map +1 -1
- package/dist/esm/bq-radio.entry.js +43 -37
- package/dist/esm/bq-radio.entry.js.map +1 -1
- package/dist/esm/bq-select.entry.js +189 -166
- package/dist/esm/bq-select.entry.js.map +1 -1
- package/dist/esm/bq-side-menu-item.entry.js +68 -55
- package/dist/esm/bq-side-menu-item.entry.js.map +1 -1
- package/dist/esm/bq-side-menu.entry.js +47 -32
- package/dist/esm/bq-side-menu.entry.js.map +1 -1
- package/dist/esm/bq-slider.entry.js +165 -144
- package/dist/esm/bq-slider.entry.js.map +1 -1
- package/dist/esm/bq-spinner.entry.js +57 -56
- package/dist/esm/bq-spinner.entry.js.map +1 -1
- package/dist/esm/bq-status.entry.js +4 -5
- package/dist/esm/bq-status.entry.js.map +1 -1
- package/dist/esm/bq-step-item.entry.js +24 -17
- package/dist/esm/bq-step-item.entry.js.map +1 -1
- package/dist/esm/bq-steps.entry.js +13 -11
- package/dist/esm/bq-steps.entry.js.map +1 -1
- package/dist/esm/bq-switch.entry.js +46 -35
- package/dist/esm/bq-switch.entry.js.map +1 -1
- package/dist/esm/bq-tab-group.entry.js +68 -61
- package/dist/esm/bq-tab-group.entry.js.map +1 -1
- package/dist/esm/bq-tab.entry.js +47 -37
- package/dist/esm/bq-tab.entry.js.map +1 -1
- package/dist/esm/bq-textarea.entry.js +80 -58
- package/dist/esm/bq-textarea.entry.js.map +1 -1
- package/dist/esm/bq-toast.entry.js +61 -57
- package/dist/esm/bq-toast.entry.js.map +1 -1
- package/dist/esm/bq-tooltip.entry.js +47 -43
- package/dist/esm/bq-tooltip.entry.js.map +1 -1
- package/dist/esm/{cssVariables-5ffccc29.js → cssVariables-000c23ad.js} +3 -1
- package/dist/esm/cssVariables-000c23ad.js.map +1 -0
- package/dist/esm/{debounce-c82e3da1.js → debounce-3e72f418.js} +3 -3
- package/dist/esm/debounce-3e72f418.js.map +1 -0
- package/dist/esm/{index-136429a6.js → index-1618c78b.js} +63 -19
- package/dist/esm/index-1618c78b.js.map +1 -0
- package/dist/esm/{index-f69556fe.js → index-9dfdd050.js} +30 -34
- package/dist/esm/index-9dfdd050.js.map +1 -0
- package/dist/esm/index.js +7 -6
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/{isDefined-170f3095.js → isDefined-e92041ac.js} +2 -2
- package/dist/esm/{isDefined-170f3095.js.map → isDefined-e92041ac.js.map} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{slot-179d109d.js → slot-58bfedb5.js} +3 -4
- package/dist/esm/slot-58bfedb5.js.map +1 -0
- package/dist/hydrate/index.d.ts +10 -4
- package/dist/hydrate/index.js +4055 -2107
- package/dist/hydrate/index.mjs +4055 -2107
- package/dist/stencil.config.js +11 -4
- package/dist/stencil.config.js.map +1 -1
- package/dist/types/Users/dramos/PROJECTs/ENDAVA/BEEQ-Design-System/packages/beeq/.stencil/packages/beeq/stencil.config.d.ts +2 -0
- package/dist/types/{home/workflows/workspace → Users/dramos/PROJECTs/ENDAVA/BEEQ-Design-System}/packages/beeq/.stencil/tailwind.config.d.ts +104 -78
- package/dist/types/_storybook/foundation/helper/index.d.ts +1 -3
- package/dist/types/components/alert/bq-alert.d.ts +10 -4
- package/dist/types/components/button/bq-button.d.ts +5 -0
- package/dist/types/components/date-picker/bq-date-picker.d.ts +1 -0
- package/dist/types/components/divider/bq-divider.d.ts +1 -0
- package/dist/types/components/icon/bq-icon.d.ts +3 -1
- package/dist/types/components/icon/helper/request.d.ts +17 -1
- package/dist/types/components/notification/bq-notification.d.ts +8 -0
- package/dist/types/components/radio/bq-radio.d.ts +0 -5
- package/dist/types/components/select/bq-select.d.ts +2 -0
- package/dist/types/components/slider/bq-slider.d.ts +2 -0
- package/dist/types/components/step-item/bq-step-item.d.ts +1 -0
- package/dist/types/components/toast/bq-toast.d.ts +5 -0
- package/dist/types/components.d.ts +8 -8
- package/dist/types/global/scripts/global.d.ts +4 -0
- package/dist/types/shared/utils/assetsPath.d.ts +5 -22
- package/dist/types/shared/utils/cssVariables.d.ts +1 -1
- package/dist/types/stencil-public-runtime.d.ts +4 -0
- package/package.json +2 -2
- package/dist/beeq/p-063a3968.entry.js +0 -388
- package/dist/beeq/p-063a3968.entry.js.map +0 -1
- package/dist/beeq/p-0979fdfd.entry.js +0 -297
- package/dist/beeq/p-0979fdfd.entry.js.map +0 -1
- package/dist/beeq/p-0ab0b58d.js +0 -30
- package/dist/beeq/p-0ab0b58d.js.map +0 -1
- package/dist/beeq/p-0c42c08a.js +0 -1811
- package/dist/beeq/p-0c42c08a.js.map +0 -1
- package/dist/beeq/p-0f48adcc.entry.js +0 -117
- package/dist/beeq/p-14b44a4b.entry.js +0 -205
- package/dist/beeq/p-1715ac80.entry.js +0 -274
- package/dist/beeq/p-1715ac80.entry.js.map +0 -1
- package/dist/beeq/p-242ac28a.entry.js +0 -145
- package/dist/beeq/p-242ac28a.entry.js.map +0 -1
- package/dist/beeq/p-297fb76b.entry.js +0 -220
- package/dist/beeq/p-297fb76b.entry.js.map +0 -1
- package/dist/beeq/p-2bb65f53.entry.js +0 -204
- package/dist/beeq/p-2bb65f53.entry.js.map +0 -1
- package/dist/beeq/p-2e66fc4f.entry.js +0 -434
- package/dist/beeq/p-2e66fc4f.entry.js.map +0 -1
- package/dist/beeq/p-36652891.entry.js +0 -102
- package/dist/beeq/p-38d4bd8a.js +0 -1939
- package/dist/beeq/p-38d4bd8a.js.map +0 -1
- package/dist/beeq/p-39b7c578.entry.js +0 -84
- package/dist/beeq/p-39b7c578.entry.js.map +0 -1
- package/dist/beeq/p-39d77ba6.entry.js +0 -90
- package/dist/beeq/p-4688e046.js +0 -16
- package/dist/beeq/p-49249dda.entry.js +0 -156
- package/dist/beeq/p-548b45b7.entry.js +0 -104
- package/dist/beeq/p-57a55ac5.entry.js +0 -261
- package/dist/beeq/p-57a55ac5.entry.js.map +0 -1
- package/dist/beeq/p-5e11b866.entry.js +0 -102
- package/dist/beeq/p-6a4e104b.entry.js +0 -263
- package/dist/beeq/p-6a4e104b.entry.js.map +0 -1
- package/dist/beeq/p-6a5a79a3.entry.js +0 -184
- package/dist/beeq/p-6a5a79a3.entry.js.map +0 -1
- package/dist/beeq/p-7f301da8.entry.js +0 -508
- package/dist/beeq/p-7f301da8.entry.js.map +0 -1
- package/dist/beeq/p-81f1c3ba.entry.js +0 -121
- package/dist/beeq/p-81f1c3ba.entry.js.map +0 -1
- package/dist/beeq/p-822773ae.entry.js +0 -195
- package/dist/beeq/p-822773ae.entry.js.map +0 -1
- package/dist/beeq/p-951ba558.js +0 -69
- package/dist/beeq/p-9990889d.entry.js +0 -222
- package/dist/beeq/p-9990889d.entry.js.map +0 -1
- package/dist/beeq/p-a1b43de6.entry.js +0 -248
- package/dist/beeq/p-a1b43de6.entry.js.map +0 -1
- package/dist/beeq/p-a6489187.entry.js +0 -103
- package/dist/beeq/p-a6489187.entry.js.map +0 -1
- package/dist/beeq/p-ac969486.entry.js +0 -330
- package/dist/beeq/p-ac969486.entry.js.map +0 -1
- package/dist/beeq/p-afc9fd80.entry.js +0 -144
- package/dist/beeq/p-afc9fd80.entry.js.map +0 -1
- package/dist/beeq/p-bef53750.js +0 -79
- package/dist/beeq/p-bef53750.js.map +0 -1
- package/dist/beeq/p-bf2320dd.entry.js +0 -329
- package/dist/beeq/p-bf2320dd.entry.js.map +0 -1
- package/dist/beeq/p-c34e292e.entry.js +0 -127
- package/dist/beeq/p-c34e292e.entry.js.map +0 -1
- package/dist/beeq/p-d7a88b16.js +0 -92
- package/dist/beeq/p-db18eba1.entry.js +0 -173
- package/dist/beeq/p-db18eba1.entry.js.map +0 -1
- package/dist/beeq/p-dd950c12.entry.js +0 -309
- package/dist/beeq/p-dd950c12.entry.js.map +0 -1
- package/dist/beeq/p-e301647a.entry.js +0 -87
- package/dist/beeq/p-e3aa2886.entry.js +0 -203
- package/dist/beeq/p-e3aa2886.entry.js.map +0 -1
- package/dist/beeq/p-e41f07ae.entry.js +0 -173
- package/dist/beeq/p-e41f07ae.entry.js.map +0 -1
- package/dist/beeq/p-e88257a8.entry.js +0 -259
- package/dist/beeq/p-e88257a8.entry.js.map +0 -1
- package/dist/beeq/p-e9a54b49.entry.js +0 -145
- package/dist/beeq/p-e9a54b49.entry.js.map +0 -1
- package/dist/beeq/p-f77d9b8b.entry.js +0 -144
- package/dist/beeq/p-f77d9b8b.entry.js.map +0 -1
- package/dist/beeq/p-fd658de1.entry.js +0 -135
- package/dist/beeq/p-fd658de1.entry.js.map +0 -1
- package/dist/beeq/p-ffb48c40.entry.js +0 -258
- package/dist/beeq/p-ffb48c40.entry.js.map +0 -1
- package/dist/beeq/p-ffddc425.entry.js +0 -149
- package/dist/cjs/assetsPath-3938a05d.js +0 -78
- package/dist/cjs/assetsPath-3938a05d.js.map +0 -1
- package/dist/cjs/cssVariables-7139f0c6.js.map +0 -1
- package/dist/cjs/debounce-f94a239b.js.map +0 -1
- package/dist/cjs/index-1d3aac65.js.map +0 -1
- package/dist/cjs/index-e4c116b6.js.map +0 -1
- package/dist/cjs/slot-dd6f7db9.js.map +0 -1
- package/dist/components/assetsPath.js +0 -75
- package/dist/components/assetsPath.js.map +0 -1
- package/dist/esm/assetsPath-a1b58980.js +0 -75
- package/dist/esm/assetsPath-a1b58980.js.map +0 -1
- package/dist/esm/cssVariables-5ffccc29.js.map +0 -1
- package/dist/esm/debounce-c82e3da1.js.map +0 -1
- package/dist/esm/index-136429a6.js.map +0 -1
- package/dist/esm/index-f69556fe.js.map +0 -1
- package/dist/esm/slot-179d109d.js.map +0 -1
- package/dist/types/home/workflows/workspace/packages/beeq/.stencil/packages/beeq/stencil.config.d.ts +0 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"bq-tooltip.entry.js","mappings":";;;;;;;AAAA,MAAM,YAAY,GAAG,2qtBAA2qtB,CAAC;AACjstB,wBAAe,YAAY;;MCcd,SAAS;;;;;;;QAkIZ,2BAAsB,GAAG;YAC/B,CAAC;gBACC,IAAI,IAAI,CAAC,SAAS,KAAK,OAAO;oBAAE,OAAO;gBACvC,MAAM,IAAI,CAAC,IAAI,EAAE,CAAC;aACnB,GAAG,CAAC;SACN,CAAC;QAEM,4BAAuB,GAAG;YAChC,CAAC;gBACC,IAAI,IAAI,CAAC,SAAS,KAAK,OAAO;oBAAE,OAAO;gBACvC,MAAM,IAAI,CAAC,IAAI,EAAE,CAAC;aACnB,GAAG,CAAC;SACN,CAAC;QAEM,yBAAoB,GAAG;YAC7B,CAAC;gBACC,IAAI,IAAI,CAAC,SAAS,KAAK,OAAO;oBAAE,OAAO;gBACvC,OAAO,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,IAAI,EAAE,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;aAClD,GAAG,CAAC;SACN,CAAC;QAEM,gBAAW,GAAG;;YACpB,IAAI,CAAC,IAAI,CAAC,KAAK;gBAAE,OAAO;YACxB,MAAA,IAAI,CAAC,UAAU,0CAAE,MAAM,EAAE,CAAC;SAC3B,CAAC;QAEM,gBAAW,GAAG;YACpB,IAAI,CAAC,IAAI,CAAC,KAAK;gBAAE,OAAO;YACxB,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;SACtB,CAAC;6BA3IgC,KAAK;wBAGM,EAAE;yBAGA,KAAK;yBAGH,KAAK;yBAIP,KAAK;yBAGI,OAAO;uBAMZ,KAAK;;;;IAMxD,MAAM,mBA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AAC,aAAa;YAAE,OAAO;QAE/B,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;QACrB,IAAI,CAAC,WAAW,EAAE,CAAC;KACpB;IAsCD,IAAY,QAAQ;QAClB,OAAO,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC;KAC7C;;;;IAMD,MAAM;QACJ,QACE,4DAAK,KAAK,EAAC,qBAAqB,EAAC,IAAI,EAAC,MAAM,IAE1C,4DACE,KAAK,EAAC,qBAAqB,EAC3B,WAAW,EAAE,IAAI,CAAC,sBAAsB,EACxC,YAAY,EAAE,IAAI,CAAC,uBAAuB,EAC1C,OAAO,EAAE,IAAI,CAAC,oBAAoB,EAClC,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC,EAChC,IAAI,EAAC,SAAS,IAEd,6DAAM,IAAI,EAAC,SAAS,GAAG,CACnB,EAEN,4DACE,KAAK,EAAC,mBAAmB,iBACZ,IAAI,CAAC,QAAQ,EAC1B,MAAM,EAAE,IAAI,CAAC,QAAQ,EACrB,IAAI,EAAC,SAAS,EACd,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,EAC9B,IAAI,EAAC,OAAO,IAEX,CAAC,IAAI,CAAC,SAAS,IAAI,4DAAK,KAAK,EAAC,mBAAmB,EAAC,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,GAAI,EACrF,8DAAQ,CACJ,CACF,EACN;KACH;;;;;;;;;;;;;;","names":[],"sources":["../../packages/beeq/src/components/tooltip/scss/bq-tooltip.scss?tag=bq-tooltip&encapsulation=shadow","../../packages/beeq/src/components/tooltip/bq-tooltip.tsx"],"sourcesContent":["/* -------------------------------------------------------------------------- */\n/* Tooltip styles */\n/* -------------------------------------------------------------------------- */\n\n@import './bq-tooltip.variables';\n\n.bq-tooltip--panel {\n @include animation-fade-in;\n @apply pointer-events-none fixed z-[--bq-tooltip--z-index] box-border bg-[--bq-tooltip--background-color];\n @apply is-[--bq-tooltip--width] max-is-[--bq-tooltip--max-width] p-b-[--bq-tooltip--paddingY] p-i-[--bq-tooltip--paddingX];\n @apply text-[length:--bq-tooltip--font-size] leading-[--bq-tooltip--line-height] text-[color:--bq-tooltip--text-color];\n @apply rounded-[--bq-tooltip--border-radius] border-[length:--bq-tooltip--border-width] border-[color:--bq-tooltip--border-color];\n @apply shadow-[shadow:--bq-tooltip--box-shadow];\n}\n\n.bq-tooltip--arrow {\n &,\n &::before {\n @apply absolute -z-[1] bs-2 is-2;\n }\n\n &::before {\n @apply start-0 rotate-45 bg-[--bq-tooltip--background-color] content-empty inset-bs-0;\n }\n}\n","import { Component, Element, h, Listen, Method, Prop, Watch } from '@stencil/core';\n\nimport { Placement } from '../../services/interfaces';\nimport { FloatingUI } from '../../services/libraries';\n\n/**\n * @part base - The component wrapper container inside the shadow DOM\n * @part trigger - The `<div>` container that holds the element which displays tooltip on hover\n * @part panel - The `<div>` container that holds the tooltip content\n */\n@Component({\n tag: 'bq-tooltip',\n styleUrl: './scss/bq-tooltip.scss',\n shadow: true,\n})\nexport class BqTooltip {\n // Own Properties\n // ====================\n private trigger: HTMLElement;\n private panel: HTMLElement;\n private arrow: HTMLElement;\n private floatingUI: FloatingUI;\n\n // Reference to host HTML element\n // ===================================\n @Element() el!: HTMLBqTooltipElement;\n\n // State() variables\n // Inlined decorator, alphabetical order\n // =======================================\n\n // Public Property API\n // ========================\n\n /** If true, the tooltip will always be visible */\n @Prop() alwaysVisible?: boolean = false;\n\n /** Distance between trigger element and tooltip */\n @Prop({ reflect: true }) distance?: number = 10;\n\n /** If true, the arrow on the tooltip content won't be shown */\n @Prop({ reflect: true }) hideArrow?: boolean = false;\n\n /* Defines the position of the tooltip */\n @Prop({ reflect: true }) placement?: Placement = 'top';\n\n /** Whether the tooltip should have the same width as the trigger element\n * (applicable only for content shorter than the trigger element) */\n @Prop({ reflect: true }) sameWidth?: boolean = false;\n\n /** Set the action when the tooltip should be displayed, on hover (default) or click */\n @Prop({ reflect: true }) displayOn: 'click' | 'hover' = 'hover';\n\n /**\n * Indicates whether or not the tooltip is visible when the component is first rendered,\n * and when interacting with the trigger\n */\n @Prop({ reflect: true, mutable: true }) visible? = false;\n\n // Prop lifecycle events\n // =======================\n\n @Watch('visible')\n async handleVisibleChange() {\n if (!this.visible && !this.alwaysVisible) {\n return await this.hide();\n }\n\n await this.show();\n }\n\n @Watch('distance')\n @Watch('hideArrow')\n @Watch('placement')\n @Watch('sameWidth')\n handleFloatingUIOptionsChange() {\n this.floatingUI.init({\n placement: this.placement,\n distance: this.distance,\n sameWidth: this.sameWidth,\n strategy: 'fixed',\n });\n }\n // Events section\n // Requires JSDocs for public API documentation\n // ==============================================\n\n // Component lifecycle events\n // Ordered by their natural call order\n // =====================================\n\n componentDidLoad() {\n this.floatingUI = new FloatingUI(this.trigger, this.panel, {\n ...(!this.hideArrow && { arrow: this.arrow }),\n placement: this.placement,\n distance: this.distance,\n sameWidth: this.sameWidth,\n strategy: 'fixed',\n skidding: 0,\n });\n }\n\n disconnectedCallback() {\n this.floatingUI?.destroy();\n }\n // Listeners\n // ==============\n\n @Listen('mousedown', { target: 'document' })\n async handleDocumentMouseDown(event: MouseEvent) {\n // Close when clicking outside of the close element\n const path = event.composedPath();\n if (!path.includes(this.el)) {\n await this.hide();\n }\n }\n\n // Public methods API\n // These methods are exposed on the host element.\n // Always use two lines.\n // Public Methods must be async.\n // Requires JSDocs for public API documentation.\n // ===============================================\n\n /** Shows the tooltip */\n @Method()\n async show() {\n this.visible = true;\n this.showTooltip();\n }\n\n /** Hides the tooltip */\n @Method()\n async hide() {\n if (this.alwaysVisible) return;\n\n this.visible = false;\n this.hideTooltip();\n }\n\n // Local methods\n // Internal business logic.\n // These methods cannot be called from the host element.\n // =======================================================\n\n private handleTriggerMouseOver = () => {\n (async () => {\n if (this.displayOn !== 'hover') return;\n await this.show();\n })();\n };\n\n private handleTriggerMouseLeave = () => {\n (async () => {\n if (this.displayOn !== 'hover') return;\n await this.hide();\n })();\n };\n\n private handleTriggerOnClick = () => {\n (async () => {\n if (this.displayOn !== 'click') return;\n await (this.visible ? this.hide() : this.show());\n })();\n };\n\n private showTooltip = () => {\n if (!this.panel) return;\n this.floatingUI?.update();\n };\n\n private hideTooltip = () => {\n if (!this.panel) return;\n this.visible = false;\n };\n\n private get isHidden() {\n return !this.visible && !this.alwaysVisible;\n }\n\n // render() function\n // Always the last one in the class.\n // ===================================\n\n render() {\n return (\n <div class=\"bq-tooltip relative\" part=\"base\">\n {/* TRIGGER */}\n <div\n class=\"bq-tooltip--trigger\"\n onMouseOver={this.handleTriggerMouseOver}\n onMouseLeave={this.handleTriggerMouseLeave}\n onClick={this.handleTriggerOnClick}\n ref={(el) => (this.trigger = el)}\n part=\"trigger\"\n >\n <slot name=\"trigger\" />\n </div>\n {/* PANEL */}\n <div\n class=\"bq-tooltip--panel\"\n aria-hidden={this.isHidden}\n hidden={this.isHidden}\n role=\"tooltip\"\n ref={(el) => (this.panel = el)}\n part=\"panel\"\n >\n {!this.hideArrow && <div class=\"bq-tooltip--arrow\" ref={(el) => (this.arrow = el)} />}\n <slot />\n </div>\n </div>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"bq-tooltip.entry.js","mappings":";;;;;;;AAAA,MAAM,YAAY,GAAG,2qtBAA2qtB,CAAC;AACjstB,wBAAe,YAAY;;MCcd,SAAS;;;6BAoBc,KAAK;wBAGM,EAAE;yBAGA,KAAK;yBAGH,KAAK;yBAIP,KAAK;yBAGI,OAAO;uBAMZ,KAAK;;;;IAvChD,OAAO,CAAc;IACrB,KAAK,CAAc;IACnB,KAAK,CAAc;IACnB,UAAU,CAAa;;;;IA0C/B,MAAM,mBAAmB;QACvB,IAAI,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE;YACxC,OAAO,MAAM,IAAI,CAAC,IAAI,EAAE,CAAC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EAEN,4DACE,KAAK,EAAC,mBAAmB,iBACZ,IAAI,CAAC,QAAQ,EAC1B,MAAM,EAAE,IAAI,CAAC,QAAQ,EACrB,IAAI,EAAC,SAAS,EACd,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,EAC9B,IAAI,EAAC,OAAO,IAEX,CAAC,IAAI,CAAC,SAAS,IAAI,4DAAK,KAAK,EAAC,mBAAmB,EAAC,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,GAAI,EACrF,8DAAQ,CACJ,CACF,EACN;KACH;;;;;;;;;;;;;","names":[],"sources":["../../packages/beeq/src/components/tooltip/scss/bq-tooltip.scss?tag=bq-tooltip&encapsulation=shadow","../../packages/beeq/src/components/tooltip/bq-tooltip.tsx"],"sourcesContent":["/* -------------------------------------------------------------------------- */\n/* Tooltip styles */\n/* -------------------------------------------------------------------------- */\n\n@import './bq-tooltip.variables';\n\n.bq-tooltip--panel {\n @include animation-fade-in;\n @apply pointer-events-none fixed z-[--bq-tooltip--z-index] box-border bg-[--bq-tooltip--background-color];\n @apply is-[--bq-tooltip--width] max-is-[--bq-tooltip--max-width] p-b-[--bq-tooltip--paddingY] p-i-[--bq-tooltip--paddingX];\n @apply text-[length:--bq-tooltip--font-size] leading-[--bq-tooltip--line-height] text-[color:--bq-tooltip--text-color];\n @apply rounded-[--bq-tooltip--border-radius] border-[length:--bq-tooltip--border-width] border-[color:--bq-tooltip--border-color];\n @apply shadow-[shadow:--bq-tooltip--box-shadow];\n}\n\n.bq-tooltip--arrow {\n &,\n &::before {\n @apply absolute -z-[1] bs-2 is-2;\n }\n\n &::before {\n @apply start-0 rotate-45 bg-[--bq-tooltip--background-color] content-empty inset-bs-0;\n }\n}\n","import { Component, Element, h, Listen, Method, Prop, Watch } from '@stencil/core';\n\nimport { Placement } from '../../services/interfaces';\nimport { FloatingUI } from '../../services/libraries';\n\n/**\n * @part base - The component wrapper container inside the shadow DOM\n * @part trigger - The `<div>` container that holds the element which displays tooltip on hover\n * @part panel - The `<div>` container that holds the tooltip content\n */\n@Component({\n tag: 'bq-tooltip',\n styleUrl: './scss/bq-tooltip.scss',\n shadow: true,\n})\nexport class BqTooltip {\n // Own Properties\n // ====================\n private trigger: HTMLElement;\n private panel: HTMLElement;\n private arrow: HTMLElement;\n private floatingUI: FloatingUI;\n\n // Reference to host HTML element\n // ===================================\n @Element() el!: HTMLBqTooltipElement;\n\n // State() variables\n // Inlined decorator, alphabetical order\n // =======================================\n\n // Public Property API\n // ========================\n\n /** If true, the tooltip will always be visible */\n @Prop() alwaysVisible?: boolean = false;\n\n /** Distance between trigger element and tooltip */\n @Prop({ reflect: true }) distance?: number = 10;\n\n /** If true, the arrow on the tooltip content won't be shown */\n @Prop({ reflect: true }) hideArrow?: boolean = false;\n\n /* Defines the position of the tooltip */\n @Prop({ reflect: true }) placement?: Placement = 'top';\n\n /** Whether the tooltip should have the same width as the trigger element\n * (applicable only for content shorter than the trigger element) */\n @Prop({ reflect: true }) sameWidth?: boolean = false;\n\n /** Set the action when the tooltip should be displayed, on hover (default) or click */\n @Prop({ reflect: true }) displayOn: 'click' | 'hover' = 'hover';\n\n /**\n * Indicates whether or not the tooltip is visible when the component is first rendered,\n * and when interacting with the trigger\n */\n @Prop({ reflect: true, mutable: true }) visible? = false;\n\n // Prop lifecycle events\n // =======================\n\n @Watch('visible')\n async handleVisibleChange() {\n if (!this.visible && !this.alwaysVisible) {\n return await this.hide();\n }\n\n await this.show();\n }\n\n @Watch('distance')\n @Watch('hideArrow')\n @Watch('placement')\n @Watch('sameWidth')\n handleFloatingUIOptionsChange() {\n this.floatingUI.init({\n placement: this.placement,\n distance: this.distance,\n sameWidth: this.sameWidth,\n strategy: 'fixed',\n });\n }\n // Events section\n // Requires JSDocs for public API documentation\n // ==============================================\n\n // Component lifecycle events\n // Ordered by their natural call order\n // =====================================\n\n componentDidLoad() {\n this.floatingUI = new FloatingUI(this.trigger, this.panel, {\n ...(!this.hideArrow && { arrow: this.arrow }),\n placement: this.placement,\n distance: this.distance,\n sameWidth: this.sameWidth,\n strategy: 'fixed',\n skidding: 0,\n });\n }\n\n disconnectedCallback() {\n this.floatingUI?.destroy();\n }\n // Listeners\n // ==============\n\n @Listen('mousedown', { target: 'document' })\n async handleDocumentMouseDown(event: MouseEvent) {\n // Close when clicking outside of the close element\n const path = event.composedPath();\n if (!path.includes(this.el)) {\n await this.hide();\n }\n }\n\n // Public methods API\n // These methods are exposed on the host element.\n // Always use two lines.\n // Public Methods must be async.\n // Requires JSDocs for public API documentation.\n // ===============================================\n\n /** Shows the tooltip */\n @Method()\n async show() {\n this.visible = true;\n this.showTooltip();\n }\n\n /** Hides the tooltip */\n @Method()\n async hide() {\n if (this.alwaysVisible) return;\n\n this.visible = false;\n this.hideTooltip();\n }\n\n // Local methods\n // Internal business logic.\n // These methods cannot be called from the host element.\n // =======================================================\n\n private handleTriggerMouseOver = () => {\n (async () => {\n if (this.displayOn !== 'hover') return;\n await this.show();\n })();\n };\n\n private handleTriggerMouseLeave = () => {\n (async () => {\n if (this.displayOn !== 'hover') return;\n await this.hide();\n })();\n };\n\n private handleTriggerOnClick = () => {\n (async () => {\n if (this.displayOn !== 'click') return;\n await (this.visible ? this.hide() : this.show());\n })();\n };\n\n private showTooltip = () => {\n if (!this.panel) return;\n this.floatingUI?.update();\n };\n\n private hideTooltip = () => {\n if (!this.panel) return;\n this.visible = false;\n };\n\n private get isHidden() {\n return !this.visible && !this.alwaysVisible;\n }\n\n // render() function\n // Always the last one in the class.\n // ===================================\n\n render() {\n return (\n <div class=\"bq-tooltip relative\" part=\"base\">\n {/* TRIGGER */}\n <div\n class=\"bq-tooltip--trigger\"\n onMouseOver={this.handleTriggerMouseOver}\n onMouseLeave={this.handleTriggerMouseLeave}\n onClick={this.handleTriggerOnClick}\n ref={(el) => (this.trigger = el)}\n part=\"trigger\"\n >\n <slot name=\"trigger\" />\n </div>\n {/* PANEL */}\n <div\n class=\"bq-tooltip--panel\"\n aria-hidden={this.isHidden}\n hidden={this.isHidden}\n role=\"tooltip\"\n ref={(el) => (this.panel = el)}\n part=\"panel\"\n >\n {!this.hideArrow && <div class=\"bq-tooltip--arrow\" ref={(el) => (this.arrow = el)} />}\n <slot />\n </div>\n </div>\n );\n }\n}\n"],"version":3}
|
|
@@ -10,6 +10,8 @@ const CSSVALUEPREFIX = '--bq-';
|
|
|
10
10
|
* @return {string} The corresponding CSS custom property variable
|
|
11
11
|
*/
|
|
12
12
|
function getColorCSSVariable(colorName) {
|
|
13
|
+
if (typeof window === 'undefined')
|
|
14
|
+
return undefined;
|
|
13
15
|
const token = `${CSSVALUEPREFIX}${colorName}`;
|
|
14
16
|
const value = getComputedStyle(document.documentElement).getPropertyValue(token);
|
|
15
17
|
if (!value)
|
|
@@ -29,4 +31,4 @@ function getCSSVariableValue(variable, component) {
|
|
|
29
31
|
|
|
30
32
|
export { getCSSVariableValue as a, getColorCSSVariable as g };
|
|
31
33
|
|
|
32
|
-
//# sourceMappingURL=cssVariables-
|
|
34
|
+
//# sourceMappingURL=cssVariables-000c23ad.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"cssVariables-000c23ad.js","mappings":";;;;AAAA,MAAM,cAAc,GAAG,OAAO,CAAC;AAE/B;;;;;;SAMgB,mBAAmB,CAAC,SAAiB;IACnD,IAAI,OAAO,MAAM,KAAK,WAAW;QAAE,OAAO,SAAS,CAAC;IAEpD,MAAM,KAAK,GAAG,GAAG,cAAc,GAAG,SAAS,EAAE,CAAC;IAC9C,MAAM,KAAK,GAAG,gBAAgB,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;IACjF,IAAI,CAAC,KAAK;QAAE,OAAO,SAAS,CAAC;IAE7B,OAAO,OAAO,KAAK,GAAG,CAAC;AACzB,CAAC;AAED;;;;;;SAMgB,mBAAmB,CAAC,QAAgB,EAAE,SAAkB;IACtE,MAAM,MAAM,GAAG,gBAAgB,CAAC,SAAS,CAAC,CAAC;IAC3C,OAAO,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,KAAK,QAAQ,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;AACjE;;;;","names":[],"sources":["../../packages/beeq/src/shared/utils/cssVariables.ts"],"sourcesContent":["const CSSVALUEPREFIX = '--bq-';\n\n/**\n * Get CSS custom property variable of a given color string value\n *\n * @param {string} colorName - Valid string value.\n * @return {string} The corresponding CSS custom property variable\n */\nexport function getColorCSSVariable(colorName: string): string | undefined {\n if (typeof window === 'undefined') return undefined;\n\n const token = `${CSSVALUEPREFIX}${colorName}`;\n const value = getComputedStyle(document.documentElement).getPropertyValue(token);\n if (!value) return undefined;\n\n return `var(${token})`;\n}\n\n/**\n * Get compiled CSS custom property value\n *\n * @param {string} variable - The variable name for which to get its value\n * @return {string} The corresponding value for the given CSS custom property\n */\nexport function getCSSVariableValue(variable: string, component: Element): string {\n const styles = getComputedStyle(component);\n return String(styles.getPropertyValue(`--${variable}`)).trim();\n}\n"],"version":3}
|
|
@@ -50,7 +50,7 @@ const setRafTimeout = (func, wait, ...args) => {
|
|
|
50
50
|
const debounce = (func, wait = 0, immediate = false) => {
|
|
51
51
|
let cancel;
|
|
52
52
|
function debounceHandler(...args) {
|
|
53
|
-
cancel
|
|
53
|
+
cancel?.();
|
|
54
54
|
// eslint-disable-next-line @typescript-eslint/no-this-alias
|
|
55
55
|
const context = this;
|
|
56
56
|
function timeoutHandler(fn, context, ...args) {
|
|
@@ -63,11 +63,11 @@ const debounce = (func, wait = 0, immediate = false) => {
|
|
|
63
63
|
}
|
|
64
64
|
return Object.assign(debounceHandler, {
|
|
65
65
|
cancel: () => {
|
|
66
|
-
cancel
|
|
66
|
+
cancel?.();
|
|
67
67
|
},
|
|
68
68
|
});
|
|
69
69
|
};
|
|
70
70
|
|
|
71
71
|
export { debounce as d, setRafTimeout as s };
|
|
72
72
|
|
|
73
|
-
//# sourceMapping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,OAAO,EAAE,IAAI,CAAC,CAAC;SACzB;QAED,IAAI,SAAS,IAAI,KAAK,CAAC,MAAM,CAAC,EAAE;YAC9B,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;SAC3B;QAED,MAAM,GAAG,aAAa,CAAC,cAAc,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC,CAAC;KACtE;IAED,OAAO,MAAM,CAAC,MAAM,CAAC,eAAe,EAAE;QACpC,MAAM,EAAE;YACN,MAAM,IAAI,CAAC;SACZ;KACF,CAAC,CAAC;AACL;;;;","names":[],"sources":["../../packages/beeq/src/shared/utils/setRafTimeout.ts","../../packages/beeq/src/shared/utils/debounce.ts"],"sourcesContent":["/**\n * Implements setTimeout using requestAnimationFrame. Uses setTimeout if wait is 0.\n *\n * @param {Function} func - The function to timeout.\n * @param {Number} wait - The number of milliseconds to delay.\n * @param {Any[]} args - The arguments of func.\n * @returns {void}\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport const setRafTimeout = <TFunc extends (...args: any[]) => void>(\n func: TFunc,\n wait: number,\n ...args: Parameters<TFunc>\n): (() => void) => {\n const invokeFunc = () => func(...args);\n\n if (wait === 0) {\n const timeoutId = setTimeout(invokeFunc, wait);\n return () => clearTimeout(timeoutId);\n } else {\n let rafId: number;\n const currentTime = performance.now();\n\n const cancel = () => cancelAnimationFrame(rafId);\n\n const handleRequestAnimationFrame: FrameRequestCallback = (time) => {\n const delta = time - currentTime;\n\n cancel();\n\n if (delta < wait) {\n rafId = requestAnimationFrame(handleRequestAnimationFrame);\n } else {\n invokeFunc();\n }\n };\n\n rafId = requestAnimationFrame(handleRequestAnimationFrame);\n\n return cancel;\n }\n};\n","import { isNil } from './isNil';\nimport { setRafTimeout } from './setRafTimeout';\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport type TFunction = (...args: any[]) => unknown;\n\ntype TDebounceFnReturn<T> = T extends unknown[] ? (...params: T) => void : (param: T) => void;\nexport type TDebounce<T> = TDebounceFnReturn<T> & { cancel: () => void } extends infer U ? U : never;\n\n/**\n * Creates a debounced function that delays invoking func until after wait milliseconds have elapsed\n * since the last time the debounced function was invoked.\n *\n * @param {Function} func - The function to debounce.\n * @param {Number} wait - The number of milliseconds to delay.\n * @param {Boolean} immediate - If `true`, the function triggers immediately and then waits for the interval before being called again.\n * @return {Function} The new debounced function.\n */\nexport const debounce = <TFunc extends TFunction>(func: TFunc, wait = 0, immediate = false) => {\n let cancel: () => void | undefined;\n\n function debounceHandler(...args: Parameters<typeof func>) {\n cancel?.();\n\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const context = this;\n\n function timeoutHandler(fn: TFunc, context: unknown, ...args: Parameters<typeof fn>) {\n fn.apply(context, args);\n }\n\n if (immediate && isNil(cancel)) {\n func.apply(context, args);\n }\n\n cancel = setRafTimeout(timeoutHandler, wait, func, context, ...args);\n }\n\n return Object.assign(debounceHandler, {\n cancel: () => {\n cancel?.();\n },\n });\n};\n"],"version":3}
|
|
@@ -889,10 +889,9 @@ async function convertValueToCoords(state, options) {
|
|
|
889
889
|
crossAxis: 0,
|
|
890
890
|
alignmentAxis: null
|
|
891
891
|
} : {
|
|
892
|
-
mainAxis: 0,
|
|
893
|
-
crossAxis: 0,
|
|
894
|
-
alignmentAxis:
|
|
895
|
-
...rawValue
|
|
892
|
+
mainAxis: rawValue.mainAxis || 0,
|
|
893
|
+
crossAxis: rawValue.crossAxis || 0,
|
|
894
|
+
alignmentAxis: rawValue.alignmentAxis
|
|
896
895
|
};
|
|
897
896
|
if (alignment && typeof alignmentAxis === 'number') {
|
|
898
897
|
crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;
|
|
@@ -1014,7 +1013,11 @@ const shift$1 = function (options) {
|
|
|
1014
1013
|
...limitedCoords,
|
|
1015
1014
|
data: {
|
|
1016
1015
|
x: limitedCoords.x - x,
|
|
1017
|
-
y: limitedCoords.y - y
|
|
1016
|
+
y: limitedCoords.y - y,
|
|
1017
|
+
enabled: {
|
|
1018
|
+
[mainAxis]: checkMainAxis,
|
|
1019
|
+
[crossAxis]: checkCrossAxis
|
|
1020
|
+
}
|
|
1018
1021
|
}
|
|
1019
1022
|
};
|
|
1020
1023
|
}
|
|
@@ -1103,6 +1106,7 @@ const size$1 = function (options) {
|
|
|
1103
1106
|
name: 'size',
|
|
1104
1107
|
options,
|
|
1105
1108
|
async fn(state) {
|
|
1109
|
+
var _state$middlewareData, _state$middlewareData2;
|
|
1106
1110
|
const {
|
|
1107
1111
|
placement,
|
|
1108
1112
|
rects,
|
|
@@ -1137,10 +1141,11 @@ const size$1 = function (options) {
|
|
|
1137
1141
|
const noShift = !state.middlewareData.shift;
|
|
1138
1142
|
let availableHeight = overflowAvailableHeight;
|
|
1139
1143
|
let availableWidth = overflowAvailableWidth;
|
|
1140
|
-
if (
|
|
1141
|
-
availableWidth =
|
|
1142
|
-
}
|
|
1143
|
-
|
|
1144
|
+
if ((_state$middlewareData = state.middlewareData.shift) != null && _state$middlewareData.enabled.x) {
|
|
1145
|
+
availableWidth = maximumClippingWidth;
|
|
1146
|
+
}
|
|
1147
|
+
if ((_state$middlewareData2 = state.middlewareData.shift) != null && _state$middlewareData2.enabled.y) {
|
|
1148
|
+
availableHeight = maximumClippingHeight;
|
|
1144
1149
|
}
|
|
1145
1150
|
if (noShift && !alignment) {
|
|
1146
1151
|
const xMin = max(overflow.left, 0);
|
|
@@ -1171,6 +1176,9 @@ const size$1 = function (options) {
|
|
|
1171
1176
|
};
|
|
1172
1177
|
};
|
|
1173
1178
|
|
|
1179
|
+
function hasWindow() {
|
|
1180
|
+
return typeof window !== 'undefined';
|
|
1181
|
+
}
|
|
1174
1182
|
function getNodeName(node) {
|
|
1175
1183
|
if (isNode(node)) {
|
|
1176
1184
|
return (node.nodeName || '').toLowerCase();
|
|
@@ -1189,17 +1197,25 @@ function getDocumentElement(node) {
|
|
|
1189
1197
|
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
1190
1198
|
}
|
|
1191
1199
|
function isNode(value) {
|
|
1200
|
+
if (!hasWindow()) {
|
|
1201
|
+
return false;
|
|
1202
|
+
}
|
|
1192
1203
|
return value instanceof Node || value instanceof getWindow(value).Node;
|
|
1193
1204
|
}
|
|
1194
1205
|
function isElement(value) {
|
|
1206
|
+
if (!hasWindow()) {
|
|
1207
|
+
return false;
|
|
1208
|
+
}
|
|
1195
1209
|
return value instanceof Element || value instanceof getWindow(value).Element;
|
|
1196
1210
|
}
|
|
1197
1211
|
function isHTMLElement(value) {
|
|
1212
|
+
if (!hasWindow()) {
|
|
1213
|
+
return false;
|
|
1214
|
+
}
|
|
1198
1215
|
return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
|
|
1199
1216
|
}
|
|
1200
1217
|
function isShadowRoot(value) {
|
|
1201
|
-
|
|
1202
|
-
if (typeof ShadowRoot === 'undefined') {
|
|
1218
|
+
if (!hasWindow() || typeof ShadowRoot === 'undefined') {
|
|
1203
1219
|
return false;
|
|
1204
1220
|
}
|
|
1205
1221
|
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
@@ -1482,10 +1498,14 @@ function getClientRects(element) {
|
|
|
1482
1498
|
return Array.from(element.getClientRects());
|
|
1483
1499
|
}
|
|
1484
1500
|
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1501
|
+
// If <html> has a CSS width greater than the viewport, then this will be
|
|
1502
|
+
// incorrect for RTL.
|
|
1503
|
+
function getWindowScrollBarX(element, rect) {
|
|
1504
|
+
const leftScroll = getNodeScroll(element).scrollLeft;
|
|
1505
|
+
if (!rect) {
|
|
1506
|
+
return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;
|
|
1507
|
+
}
|
|
1508
|
+
return rect.left + leftScroll;
|
|
1489
1509
|
}
|
|
1490
1510
|
|
|
1491
1511
|
// Gets the entire size of the scrollable document area, even extending outside
|
|
@@ -1669,11 +1689,22 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
|
1669
1689
|
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1670
1690
|
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1671
1691
|
} else if (documentElement) {
|
|
1692
|
+
// If the <body> scrollbar appears on the left (e.g. RTL systems). Use
|
|
1693
|
+
// Firefox with layout.scrollbar.side = 3 in about:config to test this.
|
|
1672
1694
|
offsets.x = getWindowScrollBarX(documentElement);
|
|
1673
1695
|
}
|
|
1674
1696
|
}
|
|
1675
|
-
|
|
1676
|
-
|
|
1697
|
+
let htmlX = 0;
|
|
1698
|
+
let htmlY = 0;
|
|
1699
|
+
if (documentElement && !isOffsetParentAnElement && !isFixed) {
|
|
1700
|
+
const htmlRect = documentElement.getBoundingClientRect();
|
|
1701
|
+
htmlY = htmlRect.top + scroll.scrollTop;
|
|
1702
|
+
htmlX = htmlRect.left + scroll.scrollLeft -
|
|
1703
|
+
// RTL <body> scrollbar.
|
|
1704
|
+
getWindowScrollBarX(documentElement, htmlRect);
|
|
1705
|
+
}
|
|
1706
|
+
const x = rect.left + scroll.scrollLeft - offsets.x - htmlX;
|
|
1707
|
+
const y = rect.top + scroll.scrollTop - offsets.y - htmlY;
|
|
1677
1708
|
return {
|
|
1678
1709
|
x,
|
|
1679
1710
|
y,
|
|
@@ -1693,7 +1724,16 @@ function getTrueOffsetParent(element, polyfill) {
|
|
|
1693
1724
|
if (polyfill) {
|
|
1694
1725
|
return polyfill(element);
|
|
1695
1726
|
}
|
|
1696
|
-
|
|
1727
|
+
let rawOffsetParent = element.offsetParent;
|
|
1728
|
+
|
|
1729
|
+
// Firefox returns the <html> element as the offsetParent if it's non-static,
|
|
1730
|
+
// while Chrome and Safari return the <body> element. The <body> element must
|
|
1731
|
+
// be used to perform the correct calculations even if the <html> element is
|
|
1732
|
+
// non-static.
|
|
1733
|
+
if (getDocumentElement(element) === rawOffsetParent) {
|
|
1734
|
+
rawOffsetParent = rawOffsetParent.ownerDocument.body;
|
|
1735
|
+
}
|
|
1736
|
+
return rawOffsetParent;
|
|
1697
1737
|
}
|
|
1698
1738
|
|
|
1699
1739
|
// Gets the closest ancestor positioned element. Handles some edge cases,
|
|
@@ -2001,6 +2041,10 @@ const computePosition = (reference, floating, options) => {
|
|
|
2001
2041
|
};
|
|
2002
2042
|
|
|
2003
2043
|
class FloatingUI {
|
|
2044
|
+
panel;
|
|
2045
|
+
trigger;
|
|
2046
|
+
options;
|
|
2047
|
+
cleanUp;
|
|
2004
2048
|
constructor(trigger, panel, options) {
|
|
2005
2049
|
this.trigger = trigger;
|
|
2006
2050
|
this.panel = panel;
|
|
@@ -2091,4 +2135,4 @@ class FloatingUI {
|
|
|
2091
2135
|
|
|
2092
2136
|
export { FloatingUI as F };
|
|
2093
2137
|
|
|
2094
|
-
//# sourceMappingURL=index-
|
|
2138
|
+
//# sourceMappingURL=index-1618c78b.js.map
|