@ukic/web-components 2.7.0 → 2.8.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/core.cjs.js +1 -1
- package/dist/cjs/ic-back-to-top.cjs.entry.js +1 -1
- package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js +2 -2
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card.cjs.entry.js +1 -1
- package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-chip.cjs.entry.js +1 -1
- package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-entity.cjs.entry.js +1 -1
- package/dist/cjs/ic-data-entity.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-row.cjs.entry.js +1 -1
- package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-dialog.cjs.entry.js +86 -65
- package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +76 -67
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +5 -2
- package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-popover-menu.cjs.entry.js +28 -59
- package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js +2 -2
- package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-select.cjs.entry.js +3 -2
- package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-status-tag.cjs.entry.js +1 -1
- package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-step.cjs.entry.js +1 -1
- package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-switch.cjs.entry.js +1 -1
- package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-text-field.cjs.entry.js +16 -24
- package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-top-navigation.cjs.entry.js +8 -4
- package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/ic-accordion-group/test/basic/ic-accordion-group.e2e.js +3 -0
- package/dist/collection/components/ic-accordion-group/test/basic/ic-accordion-group.e2e.js.map +1 -1
- package/dist/collection/components/ic-accordion-group/test/basic/ic-accordion-group.spec.js +3 -0
- package/dist/collection/components/ic-accordion-group/test/basic/ic-accordion-group.spec.js.map +1 -1
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.css +3 -3
- package/dist/collection/components/ic-badge/ic-badge.js +1 -1
- package/dist/collection/components/ic-badge/ic-badge.js.map +1 -1
- package/dist/collection/components/ic-button/ic-button.css +3 -1
- package/dist/collection/components/ic-card/ic-card.css +1 -1
- package/dist/collection/components/ic-checkbox/ic-checkbox.css +5 -5
- package/dist/collection/components/ic-chip/ic-chip.css +1 -1
- package/dist/collection/components/ic-data-entity/ic-data-entity.css +1 -1
- package/dist/collection/components/ic-data-row/ic-data-row.css +1 -1
- package/dist/collection/components/ic-data-row/test/a11y/ic-data-row.test.a11y.js +3 -1
- package/dist/collection/components/ic-data-row/test/a11y/ic-data-row.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-dialog/ic-dialog.css +56 -22
- package/dist/collection/components/ic-dialog/ic-dialog.js +103 -64
- package/dist/collection/components/ic-dialog/ic-dialog.js.map +1 -1
- package/dist/collection/components/ic-dialog/test/basic/ic-dialog.e2e.js +129 -48
- package/dist/collection/components/ic-dialog/test/basic/ic-dialog.e2e.js.map +1 -1
- package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js +38 -39
- package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js.map +1 -1
- package/dist/collection/components/ic-footer/test/a11y/ic-footer.test.a11y.js +2 -0
- package/dist/collection/components/ic-footer/test/a11y/ic-footer.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.js +2 -0
- package/dist/collection/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +4 -4
- package/dist/collection/components/ic-menu/ic-menu.css +1 -5
- package/dist/collection/components/ic-menu/ic-menu.js +124 -65
- package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
- package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js +17 -0
- package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js.map +1 -1
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +1 -1
- package/dist/collection/components/ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.js +2 -0
- package/dist/collection/components/ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +11 -5
- package/dist/collection/components/ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.js +2 -0
- package/dist/collection/components/ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.css +7 -3
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +4 -1
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js.map +1 -1
- package/dist/collection/components/ic-pagination/test/a11y/ic-pagination.test.a11y.js +1 -1
- package/dist/collection/components/ic-pagination/test/a11y/ic-pagination.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js +37 -36
- package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js.map +1 -1
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +28 -59
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -1
- package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.e2e.js +3 -0
- package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.e2e.js.map +1 -1
- package/dist/collection/components/ic-radio-option/ic-radio-option.css +3 -3
- package/dist/collection/components/ic-search-bar/ic-search-bar.css +1 -1
- package/dist/collection/components/ic-search-bar/ic-search-bar.js +1 -1
- package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
- package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js +14 -30
- package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js.map +1 -1
- package/dist/collection/components/ic-select/ic-select.css +1 -1
- package/dist/collection/components/ic-select/ic-select.js +20 -1
- package/dist/collection/components/ic-select/ic-select.js.map +1 -1
- package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js +1 -0
- package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js.map +1 -1
- package/dist/collection/components/ic-select/test/basic/ic-select.spec.js +2 -2
- package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +1 -1
- package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.e2e.js +1 -2
- package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.e2e.js.map +1 -1
- package/dist/collection/components/ic-status-tag/ic-status-tag.css +4 -4
- package/dist/collection/components/ic-step/ic-step.css +1 -1
- package/dist/collection/components/ic-switch/ic-switch.css +3 -2
- package/dist/collection/components/ic-tab-group/ic-tab-group.css +1 -1
- package/dist/collection/components/ic-text-field/ic-text-field.js +16 -24
- package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
- package/dist/collection/components/ic-tooltip/ic-tooltip.css +2 -2
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.css +3 -3
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +8 -3
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
- package/dist/collection/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.js +2 -0
- package/dist/collection/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js +15 -0
- package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js.map +1 -1
- package/dist/components/ic-back-to-top.js +1 -1
- package/dist/components/ic-back-to-top.js.map +1 -1
- package/dist/components/ic-badge.js +1 -1
- package/dist/components/ic-badge.js.map +1 -1
- package/dist/components/ic-button2.js +1 -1
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/ic-card.js +1 -1
- package/dist/components/ic-card.js.map +1 -1
- package/dist/components/ic-checkbox.js +1 -1
- package/dist/components/ic-checkbox.js.map +1 -1
- package/dist/components/ic-chip.js +1 -1
- package/dist/components/ic-chip.js.map +1 -1
- package/dist/components/ic-data-entity.js +1 -1
- package/dist/components/ic-data-entity.js.map +1 -1
- package/dist/components/ic-data-row.js +1 -1
- package/dist/components/ic-data-row.js.map +1 -1
- package/dist/components/ic-dialog.js +88 -66
- package/dist/components/ic-dialog.js.map +1 -1
- package/dist/components/ic-input-component-container2.js +1 -1
- package/dist/components/ic-input-component-container2.js.map +1 -1
- package/dist/components/ic-menu2.js +79 -67
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-navigation-group.js +1 -1
- package/dist/components/ic-navigation-group.js.map +1 -1
- package/dist/components/ic-navigation-item.js +1 -1
- package/dist/components/ic-navigation-item.js.map +1 -1
- package/dist/components/ic-navigation-menu2.js +5 -2
- package/dist/components/ic-navigation-menu2.js.map +1 -1
- package/dist/components/ic-popover-menu.js +28 -59
- package/dist/components/ic-popover-menu.js.map +1 -1
- package/dist/components/ic-radio-option.js +1 -1
- package/dist/components/ic-radio-option.js.map +1 -1
- package/dist/components/ic-search-bar.js +2 -2
- package/dist/components/ic-search-bar.js.map +1 -1
- package/dist/components/ic-select.js +4 -2
- package/dist/components/ic-select.js.map +1 -1
- package/dist/components/ic-status-tag.js +1 -1
- package/dist/components/ic-status-tag.js.map +1 -1
- package/dist/components/ic-step.js +1 -1
- package/dist/components/ic-step.js.map +1 -1
- package/dist/components/ic-switch.js +1 -1
- package/dist/components/ic-switch.js.map +1 -1
- package/dist/components/ic-tab-group.js +1 -1
- package/dist/components/ic-tab-group.js.map +1 -1
- package/dist/components/ic-text-field2.js +16 -24
- package/dist/components/ic-text-field2.js.map +1 -1
- package/dist/components/ic-tooltip2.js +1 -1
- package/dist/components/ic-tooltip2.js.map +1 -1
- package/dist/components/ic-top-navigation.js +8 -4
- package/dist/components/ic-top-navigation.js.map +1 -1
- package/dist/core/core.css +1 -1
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/p-24da56e7.entry.js +2 -0
- package/dist/core/p-24da56e7.entry.js.map +1 -0
- package/dist/core/p-43af3cf6.entry.js +2 -0
- package/dist/core/p-43af3cf6.entry.js.map +1 -0
- package/dist/core/p-4bc35224.entry.js +2 -0
- package/dist/core/p-4bc35224.entry.js.map +1 -0
- package/dist/core/p-5a3ca50a.entry.js +2 -0
- package/dist/core/p-5a3ca50a.entry.js.map +1 -0
- package/dist/core/{p-eb063498.entry.js → p-5ccbb042.entry.js} +2 -2
- package/dist/core/p-5ccbb042.entry.js.map +1 -0
- package/dist/core/p-657513b5.entry.js +2 -0
- package/dist/core/p-657513b5.entry.js.map +1 -0
- package/dist/core/p-69d15528.entry.js +2 -0
- package/dist/core/p-69d15528.entry.js.map +1 -0
- package/dist/core/p-6c376756.entry.js +2 -0
- package/dist/core/p-6c376756.entry.js.map +1 -0
- package/dist/core/p-717907de.entry.js +2 -0
- package/dist/core/p-717907de.entry.js.map +1 -0
- package/dist/core/p-748159fe.entry.js +2 -0
- package/dist/core/p-748159fe.entry.js.map +1 -0
- package/dist/core/p-7ce86152.entry.js +2 -0
- package/dist/core/p-7ce86152.entry.js.map +1 -0
- package/dist/core/p-8b18346a.entry.js.map +1 -1
- package/dist/core/p-99fad66b.entry.js +2 -0
- package/dist/core/p-99fad66b.entry.js.map +1 -0
- package/dist/core/p-9f6ffced.entry.js +2 -0
- package/dist/core/p-9f6ffced.entry.js.map +1 -0
- package/dist/core/{p-af9f1caa.entry.js → p-9ff57f09.entry.js} +2 -2
- package/dist/core/p-9ff57f09.entry.js.map +1 -0
- package/dist/core/p-a76912b0.entry.js +2 -0
- package/dist/core/p-a76912b0.entry.js.map +1 -0
- package/dist/core/p-b879fa3e.entry.js +2 -0
- package/dist/core/p-b879fa3e.entry.js.map +1 -0
- package/dist/core/p-c0719bf4.entry.js +2 -0
- package/dist/core/p-c0719bf4.entry.js.map +1 -0
- package/dist/core/{p-ec82fa24.entry.js → p-ca6073be.entry.js} +2 -2
- package/dist/core/p-ca6073be.entry.js.map +1 -0
- package/dist/core/p-cb5f19ea.entry.js +2 -0
- package/dist/core/p-cb5f19ea.entry.js.map +1 -0
- package/dist/core/p-d80f99e0.entry.js +2 -0
- package/dist/core/p-d80f99e0.entry.js.map +1 -0
- package/dist/core/p-e9ddb8cd.entry.js +2 -0
- package/dist/core/p-e9ddb8cd.entry.js.map +1 -0
- package/dist/core/p-eb4641a9.entry.js +2 -0
- package/dist/core/p-eb4641a9.entry.js.map +1 -0
- package/dist/esm/core.js +1 -1
- package/dist/esm/ic-back-to-top.entry.js +1 -1
- package/dist/esm/ic-back-to-top.entry.js.map +1 -1
- package/dist/esm/ic-badge.entry.js.map +1 -1
- package/dist/esm/ic-button_3.entry.js +2 -2
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card.entry.js +1 -1
- package/dist/esm/ic-card.entry.js.map +1 -1
- package/dist/esm/ic-checkbox.entry.js +1 -1
- package/dist/esm/ic-checkbox.entry.js.map +1 -1
- package/dist/esm/ic-chip.entry.js +1 -1
- package/dist/esm/ic-chip.entry.js.map +1 -1
- package/dist/esm/ic-data-entity.entry.js +1 -1
- package/dist/esm/ic-data-entity.entry.js.map +1 -1
- package/dist/esm/ic-data-row.entry.js +1 -1
- package/dist/esm/ic-data-row.entry.js.map +1 -1
- package/dist/esm/ic-dialog.entry.js +87 -66
- package/dist/esm/ic-dialog.entry.js.map +1 -1
- package/dist/esm/ic-input-component-container_3.entry.js +76 -67
- package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
- package/dist/esm/ic-navigation-group.entry.js +1 -1
- package/dist/esm/ic-navigation-group.entry.js.map +1 -1
- package/dist/esm/ic-navigation-item.entry.js +1 -1
- package/dist/esm/ic-navigation-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-menu.entry.js +5 -2
- package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
- package/dist/esm/ic-popover-menu.entry.js +28 -59
- package/dist/esm/ic-popover-menu.entry.js.map +1 -1
- package/dist/esm/ic-radio-option.entry.js +1 -1
- package/dist/esm/ic-radio-option.entry.js.map +1 -1
- package/dist/esm/ic-search-bar.entry.js +2 -2
- package/dist/esm/ic-search-bar.entry.js.map +1 -1
- package/dist/esm/ic-select.entry.js +3 -2
- package/dist/esm/ic-select.entry.js.map +1 -1
- package/dist/esm/ic-status-tag.entry.js +1 -1
- package/dist/esm/ic-status-tag.entry.js.map +1 -1
- package/dist/esm/ic-step.entry.js +1 -1
- package/dist/esm/ic-step.entry.js.map +1 -1
- package/dist/esm/ic-switch.entry.js +1 -1
- package/dist/esm/ic-switch.entry.js.map +1 -1
- package/dist/esm/ic-tab-group.entry.js +1 -1
- package/dist/esm/ic-tab-group.entry.js.map +1 -1
- package/dist/esm/ic-text-field.entry.js +16 -24
- package/dist/esm/ic-text-field.entry.js.map +1 -1
- package/dist/esm/ic-top-navigation.entry.js +8 -4
- package/dist/esm/ic-top-navigation.entry.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/ic-dialog/ic-dialog.d.ts +13 -2
- package/dist/types/components/ic-menu/ic-menu.d.ts +12 -2
- package/dist/types/components/ic-popover-menu/ic-popover-menu.d.ts +1 -1
- package/dist/types/components/ic-select/ic-select.d.ts +4 -0
- package/dist/types/components/ic-text-field/ic-text-field.d.ts +1 -0
- package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +1 -0
- package/dist/types/components.d.ts +18 -0
- package/hydrate/index.js +246 -242
- package/package.json +2 -2
- package/dist/core/p-0dc4f225.entry.js +0 -2
- package/dist/core/p-0dc4f225.entry.js.map +0 -1
- package/dist/core/p-12124e24.entry.js +0 -2
- package/dist/core/p-12124e24.entry.js.map +0 -1
- package/dist/core/p-1cf2a6aa.entry.js +0 -2
- package/dist/core/p-1cf2a6aa.entry.js.map +0 -1
- package/dist/core/p-3fd897c9.entry.js +0 -2
- package/dist/core/p-3fd897c9.entry.js.map +0 -1
- package/dist/core/p-432f8ff0.entry.js +0 -2
- package/dist/core/p-432f8ff0.entry.js.map +0 -1
- package/dist/core/p-4559600a.entry.js +0 -2
- package/dist/core/p-4559600a.entry.js.map +0 -1
- package/dist/core/p-5b487daa.entry.js +0 -2
- package/dist/core/p-5b487daa.entry.js.map +0 -1
- package/dist/core/p-5ca39ed5.entry.js +0 -2
- package/dist/core/p-5ca39ed5.entry.js.map +0 -1
- package/dist/core/p-763d0822.entry.js +0 -2
- package/dist/core/p-763d0822.entry.js.map +0 -1
- package/dist/core/p-7bb3c340.entry.js +0 -2
- package/dist/core/p-7bb3c340.entry.js.map +0 -1
- package/dist/core/p-9ccfb863.entry.js +0 -2
- package/dist/core/p-9ccfb863.entry.js.map +0 -1
- package/dist/core/p-a448d873.entry.js +0 -2
- package/dist/core/p-a448d873.entry.js.map +0 -1
- package/dist/core/p-af9f1caa.entry.js.map +0 -1
- package/dist/core/p-b77ab20a.entry.js +0 -2
- package/dist/core/p-b77ab20a.entry.js.map +0 -1
- package/dist/core/p-c36cbd8a.entry.js +0 -2
- package/dist/core/p-c36cbd8a.entry.js.map +0 -1
- package/dist/core/p-e2903ce9.entry.js +0 -2
- package/dist/core/p-e2903ce9.entry.js.map +0 -1
- package/dist/core/p-ea6ad791.entry.js +0 -2
- package/dist/core/p-ea6ad791.entry.js.map +0 -1
- package/dist/core/p-eb063498.entry.js.map +0 -1
- package/dist/core/p-ec82fa24.entry.js.map +0 -1
- package/dist/core/p-f00e510b.entry.js +0 -2
- package/dist/core/p-f00e510b.entry.js.map +0 -1
- package/dist/core/p-f69fb26b.entry.js +0 -2
- package/dist/core/p-f69fb26b.entry.js.map +0 -1
- package/dist/core/p-fe6e0c0e.entry.js +0 -2
- package/dist/core/p-fe6e0c0e.entry.js.map +0 -1
@@ -10,6 +10,8 @@ beforeEach(() => {
|
|
10
10
|
disconnect: jest.fn().mockReturnValue(null),
|
11
11
|
});
|
12
12
|
window.ResizeObserver = mockResizeObserver;
|
13
|
+
const matchMedia = jest.fn().mockReturnValue(true);
|
14
|
+
window.matchMedia = matchMedia;
|
13
15
|
});
|
14
16
|
describe("ic-footer", () => {
|
15
17
|
it("passes accessibility", async () => {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ic-footer.test.a11y.js","sourceRoot":"","sources":["../../../../../src/components/ic-footer/test/a11y/ic-footer.test.a11y.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,kCAAkC,EAAE,MAAM,oCAAoC,CAAC;AAExF,UAAU,CAAC,GAAG,EAAE;EACd,2DAA2D;EAC3D,MAAM,kBAAkB,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;EACrC,kBAAkB,CAAC,eAAe,CAAC;IACjC,OAAO,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC;IACxC,SAAS,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC;IAC1C,UAAU,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC;GAC5C,CAAC,CAAC;EACH,MAAM,CAAC,cAAc,GAAG,kBAAkB,CAAC;
|
1
|
+
{"version":3,"file":"ic-footer.test.a11y.js","sourceRoot":"","sources":["../../../../../src/components/ic-footer/test/a11y/ic-footer.test.a11y.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,kCAAkC,EAAE,MAAM,oCAAoC,CAAC;AAExF,UAAU,CAAC,GAAG,EAAE;EACd,2DAA2D;EAC3D,MAAM,kBAAkB,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;EACrC,kBAAkB,CAAC,eAAe,CAAC;IACjC,OAAO,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC;IACxC,SAAS,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC;IAC1C,UAAU,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC;GAC5C,CAAC,CAAC;EACH,MAAM,CAAC,cAAc,GAAG,kBAAkB,CAAC;EAC3C,MAAM,UAAU,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;EACnD,MAAM,CAAC,UAAU,GAAG,UAAU,CAAC;AACjC,CAAC,CAAC,CAAC;AAEH,QAAQ,CAAC,WAAW,EAAE,GAAG,EAAE;EACzB,EAAE,CAAC,sBAAsB,EAAE,KAAK,IAAI,EAAE;IACpC,MAAM,EAAE,GAAG,MAAM,OAAO,CAAC,yBAAyB,CAAC,CAAC;IACpD,kCAAkC,CAAC,EAAE,CAAC,CAAC;IACvC,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,kBAAkB,EAAE,CAAC;EAC7C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { fixture } from \"@open-wc/testing-helpers\";\nimport { axe } from \"jest-axe\";\nimport { checkShadowElementRendersCorrectly } from \"../../../../utils/testa11y.helpers\";\n\nbeforeEach(() => {\n // IntersectionObserver isn't available in test environment\n const mockResizeObserver = jest.fn();\n mockResizeObserver.mockReturnValue({\n observe: jest.fn().mockReturnValue(null),\n unobserve: jest.fn().mockReturnValue(null),\n disconnect: jest.fn().mockReturnValue(null),\n });\n window.ResizeObserver = mockResizeObserver;\n const matchMedia = jest.fn().mockReturnValue(true);\n window.matchMedia = matchMedia;\n});\n\ndescribe(\"ic-footer\", () => {\n it(\"passes accessibility\", async () => {\n const el = await fixture(`<ic-footer></ic-footer>`);\n checkShadowElementRendersCorrectly(el);\n expect(await axe(el)).toHaveNoViolations();\n });\n});\n"]}
|
package/dist/collection/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.js
CHANGED
@@ -10,6 +10,8 @@ beforeEach(() => {
|
|
10
10
|
disconnect: jest.fn().mockReturnValue(null),
|
11
11
|
});
|
12
12
|
window.ResizeObserver = mockResizeObserver;
|
13
|
+
const matchMedia = jest.fn().mockReturnValue(true);
|
14
|
+
window.matchMedia = matchMedia;
|
13
15
|
});
|
14
16
|
describe("ic-horizontal-scroll", () => {
|
15
17
|
it("passes accessibility", async () => {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ic-horizontal-scroll.test.a11y.js","sourceRoot":"","sources":["../../../../../src/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,kCAAkC,EAAE,MAAM,oCAAoC,CAAC;AAExF,UAAU,CAAC,GAAG,EAAE;EACd,2DAA2D;EAC3D,MAAM,kBAAkB,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;EACrC,kBAAkB,CAAC,eAAe,CAAC;IACjC,OAAO,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC;IACxC,SAAS,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC;IAC1C,UAAU,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC;GAC5C,CAAC,CAAC;EACH,MAAM,CAAC,cAAc,GAAG,kBAAkB,CAAC;
|
1
|
+
{"version":3,"file":"ic-horizontal-scroll.test.a11y.js","sourceRoot":"","sources":["../../../../../src/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,kCAAkC,EAAE,MAAM,oCAAoC,CAAC;AAExF,UAAU,CAAC,GAAG,EAAE;EACd,2DAA2D;EAC3D,MAAM,kBAAkB,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;EACrC,kBAAkB,CAAC,eAAe,CAAC;IACjC,OAAO,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC;IACxC,SAAS,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC;IAC1C,UAAU,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC;GAC5C,CAAC,CAAC;EACH,MAAM,CAAC,cAAc,GAAG,kBAAkB,CAAC;EAC3C,MAAM,UAAU,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;EACnD,MAAM,CAAC,UAAU,GAAG,UAAU,CAAC;AACjC,CAAC,CAAC,CAAC;AAEH,QAAQ,CAAC,sBAAsB,EAAE,GAAG,EAAE;EACpC,EAAE,CAAC,sBAAsB,EAAE,KAAK,IAAI,EAAE;IACpC,MAAM,GAAG,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;IAC1C,GAAG,CAAC,YAAY,CAAC,OAAO,EAAE,eAAe,CAAC,CAAC;IAC3C,MAAM,EAAE,GAAG,MAAM,OAAO,CACtB;;;;;;;;;;;KAWD,EACC,EAAE,UAAU,EAAE,GAAG,EAAE,CACpB,CAAC;IACF,kCAAkC,CAAC,EAAE,CAAC,CAAC;IACvC,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,kBAAkB,EAAE,CAAC;EAC7C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { fixture } from \"@open-wc/testing-helpers\";\nimport { axe } from \"jest-axe\";\nimport { checkShadowElementRendersCorrectly } from \"../../../../utils/testa11y.helpers\";\n\nbeforeEach(() => {\n // IntersectionObserver isn't available in test environment\n const mockResizeObserver = jest.fn();\n mockResizeObserver.mockReturnValue({\n observe: jest.fn().mockReturnValue(null),\n unobserve: jest.fn().mockReturnValue(null),\n disconnect: jest.fn().mockReturnValue(null),\n });\n window.ResizeObserver = mockResizeObserver;\n const matchMedia = jest.fn().mockReturnValue(true);\n window.matchMedia = matchMedia;\n});\n\ndescribe(\"ic-horizontal-scroll\", () => {\n it(\"passes accessibility\", async () => {\n const div = document.createElement(\"div\");\n div.setAttribute(\"style\", \"width: 320px;\");\n const el = await fixture(\n `\n <ic-horizontal-scroll>\n <ul>\n <ic-navigation-item label=\"Test nav item 1\"></ic-navigation-item>\n <ic-navigation-item label=\"Test nav item 2\"></ic-navigation-item>\n <ic-navigation-item label=\"Test nav item 3\"></ic-navigation-item>\n <ic-navigation-item label=\"Test nav item 4\"></ic-navigation-item>\n <ic-navigation-item label=\"Test nav item 5\"></ic-navigation-item>\n <ic-navigation-item label=\"Test nav item 6\"></ic-navigation-item>\n </ul>\n </ic-horizontal-scroll>\n `,\n { parentNode: div }\n );\n checkShadowElementRendersCorrectly(el);\n expect(await axe(el)).toHaveNoViolations();\n });\n});\n"]}
|
package/dist/collection/components/ic-input-component-container/ic-input-component-container.css
CHANGED
@@ -4,7 +4,7 @@ ic-input-component-container {
|
|
4
4
|
*/
|
5
5
|
|
6
6
|
display: flex;
|
7
|
-
border: var(--ic-
|
7
|
+
border: var(--ic-border-width) solid
|
8
8
|
var(--border-color, var(--ic-architectural-400));
|
9
9
|
border-radius: var(--ic-border-radius);
|
10
10
|
transition: var(--ic-easing-transition-slow);
|
@@ -23,7 +23,7 @@ ic-input-component-container.fullwidth {
|
|
23
23
|
|
24
24
|
ic-input-component-container.disabled,
|
25
25
|
ic-input-component-container.disabled:hover {
|
26
|
-
border: var(--ic-
|
26
|
+
border: var(--ic-border-width) dashed var(--ic-architectural-200);
|
27
27
|
}
|
28
28
|
|
29
29
|
ic-input-component-container.readonly,
|
@@ -155,12 +155,12 @@ ic-input-component-container:focus {
|
|
155
155
|
}
|
156
156
|
|
157
157
|
ic-input-component-container:focus-within {
|
158
|
-
border: var(--ic-
|
158
|
+
border: var(--ic-border-width) solid Highlight;
|
159
159
|
outline: 0.125rem solid Highlight;
|
160
160
|
}
|
161
161
|
|
162
162
|
ic-input-component-container.disabled,
|
163
163
|
ic-input-component-container.disabled:hover {
|
164
|
-
border: var(--ic-
|
164
|
+
border: var(--ic-border-width) dashed GrayText;
|
165
165
|
}
|
166
166
|
}
|
@@ -479,14 +479,10 @@ video {
|
|
479
479
|
inset: auto !important;
|
480
480
|
}
|
481
481
|
|
482
|
-
:host(.on-dialog-fix-translate) {
|
483
|
-
transform: translate(0, 80px) !important;
|
484
|
-
}
|
485
|
-
|
486
482
|
.menu {
|
487
483
|
text-decoration: none;
|
488
484
|
list-style-type: none;
|
489
|
-
border: var(--ic-
|
485
|
+
border: var(--ic-border-width) solid var(--ic-architectural-400);
|
490
486
|
border-radius: var(--ic-border-radius);
|
491
487
|
background-color: var(--ic-architectural-white);
|
492
488
|
visibility: hidden;
|
@@ -5,7 +5,6 @@ import { onComponentRequiredPropUndefined } from "../../utils/helpers";
|
|
5
5
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
6
6
|
export class Menu {
|
7
7
|
constructor() {
|
8
|
-
this.firstRender = true;
|
9
8
|
this.disabledOptionSelected = false;
|
10
9
|
this.hasPreviouslyBlurred = false;
|
11
10
|
this.hasTimedOut = false;
|
@@ -105,7 +104,8 @@ export class Menu {
|
|
105
104
|
const menuOptions = this.setMenuOptions();
|
106
105
|
this.keyboardNav = false;
|
107
106
|
const highlightedOptionIndex = menuOptions.findIndex((option) => option[this.valueField] === this.optionHighlighted);
|
108
|
-
const getOptionId = (index) => { var _a; return (_a = Array.from(this.
|
107
|
+
const getOptionId = (index) => { var _a; return (_a = Array.from(this.host.querySelectorAll("li"))[index]) === null || _a === void 0 ? void 0 : _a.id; };
|
108
|
+
const isOpen = this.isSearchBar || this.isSearchableSelect || this.open;
|
109
109
|
switch (event.key) {
|
110
110
|
case "ArrowDown":
|
111
111
|
this.keyboardNav = true;
|
@@ -162,22 +162,38 @@ export class Menu {
|
|
162
162
|
optionId: getOptionId(menuOptions.length - 1),
|
163
163
|
});
|
164
164
|
break;
|
165
|
+
case " ":
|
166
|
+
if (this.isSearchBar || this.isSearchableSelect) {
|
167
|
+
break;
|
168
|
+
}
|
169
|
+
else {
|
170
|
+
if (event.target.id !== "clear-button") {
|
171
|
+
this.handleMenuChange(true);
|
172
|
+
}
|
173
|
+
}
|
174
|
+
break;
|
165
175
|
case "Enter":
|
166
176
|
event.preventDefault();
|
167
|
-
if (
|
168
|
-
if (
|
169
|
-
if (
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
177
|
+
if (isOpen) {
|
178
|
+
if (highlightedOptionIndex >= 0) {
|
179
|
+
if (menuOptions[highlightedOptionIndex] !== undefined) {
|
180
|
+
if (this.isSearchBar &&
|
181
|
+
menuOptions[highlightedOptionIndex].disabled === true) {
|
182
|
+
this.disabledOptionSelected = true;
|
183
|
+
}
|
184
|
+
else {
|
185
|
+
this.setInputValue(highlightedOptionIndex);
|
186
|
+
this.value =
|
187
|
+
menuOptions[highlightedOptionIndex][this.valueField];
|
188
|
+
}
|
176
189
|
}
|
177
190
|
}
|
191
|
+
else {
|
192
|
+
this.setInputValue(highlightedOptionIndex);
|
193
|
+
}
|
178
194
|
}
|
179
195
|
else {
|
180
|
-
this.
|
196
|
+
this.handleMenuChange(true);
|
181
197
|
}
|
182
198
|
break;
|
183
199
|
case "Escape":
|
@@ -268,7 +284,7 @@ export class Menu {
|
|
268
284
|
if (this.activationType === "automatic") {
|
269
285
|
this.autoSetValueOnMenuKeyDown(event);
|
270
286
|
}
|
271
|
-
else if (this.activationType === "manual" && this.
|
287
|
+
else if (this.activationType === "manual" && !this.isSearchBar) {
|
272
288
|
this.manSetInputValueKeyboardOpen(event);
|
273
289
|
}
|
274
290
|
};
|
@@ -370,7 +386,9 @@ export class Menu {
|
|
370
386
|
};
|
371
387
|
this.isManualMode = this.activationType === "manual";
|
372
388
|
this.scrollToSelected = (menu) => {
|
373
|
-
const selectedOption =
|
389
|
+
const selectedOption = this.selectOnEnter
|
390
|
+
? this.host.querySelector(`li[data-value="${this.optionHighlighted}"]`)
|
391
|
+
: menu.querySelector(".option[aria-selected]");
|
374
392
|
if (selectedOption) {
|
375
393
|
const elTop = selectedOption.offsetTop + selectedOption.offsetHeight;
|
376
394
|
if (elTop > menu.scrollTop + menu.offsetHeight ||
|
@@ -396,7 +414,7 @@ export class Menu {
|
|
396
414
|
};
|
397
415
|
this.setMenuScrollbar = () => {
|
398
416
|
let optionsHeight = 0;
|
399
|
-
this.
|
417
|
+
this.host
|
400
418
|
.querySelectorAll(".option")
|
401
419
|
.forEach((option) => (optionsHeight += option.clientHeight));
|
402
420
|
if (optionsHeight >= 320) {
|
@@ -450,12 +468,19 @@ export class Menu {
|
|
450
468
|
this.open = undefined;
|
451
469
|
this.parentEl = undefined;
|
452
470
|
this.searchMode = "navigation";
|
471
|
+
this.selectOnEnter = false;
|
453
472
|
this.size = "default";
|
454
473
|
this.small = false;
|
455
474
|
this.options = undefined;
|
456
475
|
this.value = undefined;
|
457
476
|
this.valueField = "value";
|
458
477
|
}
|
478
|
+
watchOpenHandler() {
|
479
|
+
if (!this.open && this.popperInstance) {
|
480
|
+
this.popperInstance.destroy();
|
481
|
+
this.popperInstance = null;
|
482
|
+
}
|
483
|
+
}
|
459
484
|
watchOptionsHandler(newOptions) {
|
460
485
|
this.hasTimedOut = newOptions.some((opt) => opt.timedOut);
|
461
486
|
this.isLoading = newOptions.some((opt) => opt.loading);
|
@@ -474,7 +499,7 @@ export class Menu {
|
|
474
499
|
}
|
475
500
|
}
|
476
501
|
disconnectedCallback() {
|
477
|
-
if (this.popperInstance
|
502
|
+
if (this.popperInstance) {
|
478
503
|
this.popperInstance.destroy();
|
479
504
|
}
|
480
505
|
this.parentEl.removeEventListener("icClear", this.handleClearListener);
|
@@ -521,61 +546,19 @@ export class Menu {
|
|
521
546
|
else if (optionHighlightedIsSet &&
|
522
547
|
!this.focusFromSearchKeypress &&
|
523
548
|
!this.preventIncorrectTabOrder) {
|
524
|
-
const highlightedEl = this.
|
549
|
+
const highlightedEl = this.host.querySelector(`li[data-value="${this.optionHighlighted}"]`);
|
525
550
|
if (highlightedEl) {
|
526
551
|
highlightedEl.focus();
|
527
552
|
}
|
528
553
|
}
|
529
554
|
}
|
555
|
+
if (this.open && !this.value && this.selectOnEnter) {
|
556
|
+
this.scrollToSelected(this.menu);
|
557
|
+
}
|
530
558
|
}
|
531
559
|
componentDidRender() {
|
532
|
-
if (this.
|
533
|
-
this.
|
534
|
-
let adjust = false;
|
535
|
-
const dialogEl = this.parentEl.closest("ic-dialog");
|
536
|
-
const onDialog = dialogEl !== null;
|
537
|
-
if (onDialog) {
|
538
|
-
this.el.classList.add("on-dialog");
|
539
|
-
if (dialogEl.getAttribute("data-overflow") === "false") {
|
540
|
-
const menuTop = this.el.getBoundingClientRect().top;
|
541
|
-
const menuHeight = this.el.getBoundingClientRect().height;
|
542
|
-
const dialogHeight = dialogEl.getBoundingClientRect().bottom;
|
543
|
-
if (menuTop + menuHeight > dialogHeight) {
|
544
|
-
adjust = true;
|
545
|
-
}
|
546
|
-
}
|
547
|
-
if (adjust === false) {
|
548
|
-
this.el.classList.add("on-dialog-fix-translate");
|
549
|
-
}
|
550
|
-
}
|
551
|
-
if (adjust) {
|
552
|
-
this.popperInstance = createPopper(this.anchorEl, this.el, {
|
553
|
-
placement: "top",
|
554
|
-
});
|
555
|
-
}
|
556
|
-
else {
|
557
|
-
this.popperInstance = createPopper(this.anchorEl, this.el, {
|
558
|
-
placement: "bottom",
|
559
|
-
modifiers: [
|
560
|
-
{
|
561
|
-
name: "offset",
|
562
|
-
options: {
|
563
|
-
offset: [0, 7],
|
564
|
-
},
|
565
|
-
},
|
566
|
-
{
|
567
|
-
name: "flip",
|
568
|
-
options: {
|
569
|
-
fallbackPlacements: ["top"],
|
570
|
-
rootBoundary: "viewport",
|
571
|
-
},
|
572
|
-
},
|
573
|
-
],
|
574
|
-
});
|
575
|
-
}
|
576
|
-
}
|
577
|
-
else if (this.open) {
|
578
|
-
this.popperInstance.update();
|
560
|
+
if (this.open && !this.popperInstance && this.anchorEl) {
|
561
|
+
this.initPopperJs(this.anchorEl);
|
579
562
|
}
|
580
563
|
if (this.open && !!this.options.length) {
|
581
564
|
this.setMenuScrollbar();
|
@@ -611,6 +594,31 @@ export class Menu {
|
|
611
594
|
async handleSetFirstOption() {
|
612
595
|
this.setHighlightedOption(0);
|
613
596
|
}
|
597
|
+
/**
|
598
|
+
* @internal Used to initialize popperJS with an anchor element.
|
599
|
+
* 5/12/2023: Tested with Floating UI, however, discovered inconsistent
|
600
|
+
* boundary behaviour so sticking with PopperJS.
|
601
|
+
*/
|
602
|
+
async initPopperJs(anchor) {
|
603
|
+
this.popperInstance = createPopper(anchor, this.host, {
|
604
|
+
placement: "bottom",
|
605
|
+
modifiers: [
|
606
|
+
{
|
607
|
+
name: "offset",
|
608
|
+
options: {
|
609
|
+
offset: [0, 7],
|
610
|
+
},
|
611
|
+
},
|
612
|
+
{
|
613
|
+
name: "flip",
|
614
|
+
options: {
|
615
|
+
fallbackPlacements: ["top"],
|
616
|
+
rootBoundary: "viewport",
|
617
|
+
},
|
618
|
+
},
|
619
|
+
],
|
620
|
+
});
|
621
|
+
}
|
614
622
|
render() {
|
615
623
|
const { inputLabel, options, menuId, value, fullWidth, hasTimedOut, isLoading, small, size, open, inputEl, keyboardNav, } = this;
|
616
624
|
return (h(Host, { class: {
|
@@ -865,6 +873,27 @@ export class Menu {
|
|
865
873
|
"reflect": false,
|
866
874
|
"defaultValue": "\"navigation\""
|
867
875
|
},
|
876
|
+
"selectOnEnter": {
|
877
|
+
"type": "boolean",
|
878
|
+
"mutable": false,
|
879
|
+
"complexType": {
|
880
|
+
"original": "boolean",
|
881
|
+
"resolved": "boolean",
|
882
|
+
"references": {}
|
883
|
+
},
|
884
|
+
"required": false,
|
885
|
+
"optional": true,
|
886
|
+
"docs": {
|
887
|
+
"tags": [{
|
888
|
+
"name": "internal",
|
889
|
+
"text": "If `true`, the icOptionSelect event will be fired on enter instead of ArrowUp and ArrowDown."
|
890
|
+
}],
|
891
|
+
"text": ""
|
892
|
+
},
|
893
|
+
"attribute": "select-on-enter",
|
894
|
+
"reflect": false,
|
895
|
+
"defaultValue": "false"
|
896
|
+
},
|
868
897
|
"size": {
|
869
898
|
"type": "string",
|
870
899
|
"mutable": false,
|
@@ -1236,12 +1265,42 @@ export class Menu {
|
|
1236
1265
|
"text": "Used to highlight the first option in the menu."
|
1237
1266
|
}]
|
1238
1267
|
}
|
1268
|
+
},
|
1269
|
+
"initPopperJs": {
|
1270
|
+
"complexType": {
|
1271
|
+
"signature": "(anchor: HTMLElement) => Promise<void>",
|
1272
|
+
"parameters": [{
|
1273
|
+
"tags": [],
|
1274
|
+
"text": ""
|
1275
|
+
}],
|
1276
|
+
"references": {
|
1277
|
+
"Promise": {
|
1278
|
+
"location": "global",
|
1279
|
+
"id": "global::Promise"
|
1280
|
+
},
|
1281
|
+
"HTMLElement": {
|
1282
|
+
"location": "global",
|
1283
|
+
"id": "global::HTMLElement"
|
1284
|
+
}
|
1285
|
+
},
|
1286
|
+
"return": "Promise<void>"
|
1287
|
+
},
|
1288
|
+
"docs": {
|
1289
|
+
"text": "",
|
1290
|
+
"tags": [{
|
1291
|
+
"name": "internal",
|
1292
|
+
"text": "Used to initialize popperJS with an anchor element.\n5/12/2023: Tested with Floating UI, however, discovered inconsistent\nboundary behaviour so sticking with PopperJS."
|
1293
|
+
}]
|
1294
|
+
}
|
1239
1295
|
}
|
1240
1296
|
};
|
1241
1297
|
}
|
1242
|
-
static get elementRef() { return "
|
1298
|
+
static get elementRef() { return "host"; }
|
1243
1299
|
static get watchers() {
|
1244
1300
|
return [{
|
1301
|
+
"propName": "open",
|
1302
|
+
"methodName": "watchOpenHandler"
|
1303
|
+
}, {
|
1245
1304
|
"propName": "options",
|
1246
1305
|
"methodName": "watchOptionsHandler"
|
1247
1306
|
}, {
|