@xplor-education/core-stencil-components 2.1.0 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/index.js +1 -1
- package/components/index.js.map +1 -1
- package/components/{p-B1W2qj2l.js → p-B3zR7peH.js} +4 -4
- package/components/p-B3zR7peH.js.map +1 -0
- package/components/{p-DxxjL3sU.js → p-B49oUO_9.js} +3 -3
- package/components/{p-DxxjL3sU.js.map → p-B49oUO_9.js.map} +1 -1
- package/components/{p-Ddr35stE.js → p-BRWe4TXp.js} +65 -5
- package/components/p-BRWe4TXp.js.map +1 -0
- package/components/{p-CBSi5kQB.js → p-Bs_ocvfe.js} +7 -3
- package/components/p-Bs_ocvfe.js.map +1 -0
- package/components/{p-CTD6SyTD.js → p-D4jVa8dE.js} +20 -4
- package/components/p-D4jVa8dE.js.map +1 -0
- package/components/{p-BaDLDCH5.js → p-VIJbFoA4.js} +71 -6
- package/components/p-VIJbFoA4.js.map +1 -0
- package/components/xplor-alert-dialog.js +60 -3
- package/components/xplor-alert-dialog.js.map +1 -1
- package/components/xplor-assistant.js +3 -3
- package/components/xplor-assistant.js.map +1 -1
- package/components/xplor-autocomplete.js +15 -9
- package/components/xplor-autocomplete.js.map +1 -1
- package/components/xplor-avatar-and-name.js +1 -1
- package/components/xplor-avatar.js +1 -1
- package/components/xplor-btn-back-to-parent.js +7 -2
- package/components/xplor-btn-back-to-parent.js.map +1 -1
- package/components/xplor-btn-icon.js +3 -2
- package/components/xplor-btn-icon.js.map +1 -1
- package/components/xplor-btn-menu.js +103 -6
- package/components/xplor-btn-menu.js.map +1 -1
- package/components/xplor-btn-tooltip.js +2 -2
- package/components/xplor-button.js +1 -1
- package/components/xplor-chat-widget.js +2 -2
- package/components/xplor-checkbox.js +3 -1
- package/components/xplor-checkbox.js.map +1 -1
- package/components/xplor-combobox.js +20 -10
- package/components/xplor-combobox.js.map +1 -1
- package/components/xplor-datatable.js +10 -4
- package/components/xplor-datatable.js.map +1 -1
- package/components/xplor-date-picker.js +9 -5
- package/components/xplor-date-picker.js.map +1 -1
- package/components/xplor-drag-and-drop-input.js +8 -5
- package/components/xplor-drag-and-drop-input.js.map +1 -1
- package/components/xplor-dropdown.js +1 -1
- package/components/xplor-expansion-panel.js +4 -4
- package/components/xplor-expansion-panel.js.map +1 -1
- package/components/xplor-expansion-panels.js +1 -1
- package/components/xplor-expansion-panels.js.map +1 -1
- package/components/xplor-file-upload.js +2 -2
- package/components/xplor-file-upload.js.map +1 -1
- package/components/xplor-inline-checkbox.js +2 -2
- package/components/xplor-inline-date-picker.js +1 -1
- package/components/xplor-inline-switch.js +1 -1
- package/components/xplor-input-file.js +3 -1
- package/components/xplor-input-file.js.map +1 -1
- package/components/xplor-input-search.js +4 -2
- package/components/xplor-input-search.js.map +1 -1
- package/components/xplor-input-select.js +107 -7
- package/components/xplor-input-select.js.map +1 -1
- package/components/xplor-input-send.js +3 -3
- package/components/xplor-input-send.js.map +1 -1
- package/components/xplor-input-text-area.js +6 -2
- package/components/xplor-input-text-area.js.map +1 -1
- package/components/xplor-input-text-secondary.js +6 -2
- package/components/xplor-input-text-secondary.js.map +1 -1
- package/components/xplor-input-text.js +6 -2
- package/components/xplor-input-text.js.map +1 -1
- package/components/xplor-input-title.js +7 -2
- package/components/xplor-input-title.js.map +1 -1
- package/components/xplor-links.js +5 -2
- package/components/xplor-links.js.map +1 -1
- package/components/xplor-modal-persistent.js +2 -2
- package/components/xplor-modal.js +1 -1
- package/components/xplor-nav-tabs.js +41 -3
- package/components/xplor-nav-tabs.js.map +1 -1
- package/components/xplor-radio-btn.js +99 -4
- package/components/xplor-radio-btn.js.map +1 -1
- package/components/xplor-section-card.js +1 -1
- package/components/xplor-section-card.js.map +1 -1
- package/components/xplor-section-heading.js +9 -3
- package/components/xplor-section-heading.js.map +1 -1
- package/components/xplor-table.js +14 -9
- package/components/xplor-table.js.map +1 -1
- package/components/xplor-text-bubble.js +2 -2
- package/components/xplor-text-field.js +2 -2
- package/components/xplor-time-picker.js +6 -6
- package/components/xplor-tooltip.js +1 -1
- package/dist/cjs/{index-Bc5o_4vY.js → index-BjAapk2n.js} +3 -3
- package/dist/cjs/index-BjAapk2n.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/xplor-alert-dialog_58.cjs.entry.js +680 -107
- package/dist/cjs/xplor-alert-dialog_58.cjs.entry.js.map +1 -1
- package/dist/cjs/xplor-component-library.cjs.js +2 -2
- package/dist/collection/components/xplor-alert-dialog/xplor-alert-dialog.js +85 -1
- package/dist/collection/components/xplor-alert-dialog/xplor-alert-dialog.js.map +1 -1
- package/dist/collection/components/xplor-assistant/internal/AssistantInput.js +1 -1
- package/dist/collection/components/xplor-assistant/internal/AssistantInput.js.map +1 -1
- package/dist/collection/components/xplor-assistant/xplor-assistant.js +1 -1
- package/dist/collection/components/xplor-assistant/xplor-assistant.js.map +1 -1
- package/dist/collection/components/xplor-autocomplete/xplor-autocomplete.js +37 -13
- package/dist/collection/components/xplor-autocomplete/xplor-autocomplete.js.map +1 -1
- package/dist/collection/components/xplor-avatar/xplor-avatar.js +2 -2
- package/dist/collection/components/xplor-avatar/xplor-avatar.js.map +1 -1
- package/dist/collection/components/xplor-badge-session-booking/xplor-badge-session-booking.js +2 -2
- package/dist/collection/components/xplor-btn-back-to-parent/xplor-btn-back-to-parent.js +25 -1
- package/dist/collection/components/xplor-btn-back-to-parent/xplor-btn-back-to-parent.js.map +1 -1
- package/dist/collection/components/xplor-btn-icon/xplor-btn-icon.js +20 -1
- package/dist/collection/components/xplor-btn-icon/xplor-btn-icon.js.map +1 -1
- package/dist/collection/components/xplor-btn-menu/xplor-btn-menu.js +131 -7
- package/dist/collection/components/xplor-btn-menu/xplor-btn-menu.js.map +1 -1
- package/dist/collection/components/xplor-button/xplor-button.js +42 -1
- package/dist/collection/components/xplor-button/xplor-button.js.map +1 -1
- package/dist/collection/components/xplor-checkbox/xplor-checkbox.js +3 -1
- package/dist/collection/components/xplor-checkbox/xplor-checkbox.js.map +1 -1
- package/dist/collection/components/xplor-combobox/xplor-combobox.js +40 -12
- package/dist/collection/components/xplor-combobox/xplor-combobox.js.map +1 -1
- package/dist/collection/components/xplor-datatable/xplor-datatable.js +13 -7
- package/dist/collection/components/xplor-datatable/xplor-datatable.js.map +1 -1
- package/dist/collection/components/xplor-date-picker/xplor-date-picker.js +8 -4
- package/dist/collection/components/xplor-date-picker/xplor-date-picker.js.map +1 -1
- package/dist/collection/components/xplor-drag-and-drop-input/xplor-drag-and-drop-input.css +3 -8
- package/dist/collection/components/xplor-drag-and-drop-input/xplor-drag-and-drop-input.js +24 -3
- package/dist/collection/components/xplor-drag-and-drop-input/xplor-drag-and-drop-input.js.map +1 -1
- package/dist/collection/components/xplor-dropdown/xplor-dropdown.js +1 -1
- package/dist/collection/components/xplor-expansion-panel/xplor-expansion-panel.js +4 -4
- package/dist/collection/components/xplor-expansion-panel/xplor-expansion-panel.js.map +1 -1
- package/dist/collection/components/xplor-expansion-panels/xplor-expansion-panels.js +1 -1
- package/dist/collection/components/xplor-expansion-panels/xplor-expansion-panels.js.map +1 -1
- package/dist/collection/components/xplor-file-upload/xplor-file-upload.js +4 -4
- package/dist/collection/components/xplor-file-upload/xplor-file-upload.js.map +1 -1
- package/dist/collection/components/xplor-inline-checkbox/xplor-inline-checkbox.js +2 -2
- package/dist/collection/components/xplor-inline-date-picker/xplor-inline-date-picker.js +77 -3
- package/dist/collection/components/xplor-inline-date-picker/xplor-inline-date-picker.js.map +1 -1
- package/dist/collection/components/xplor-inline-switch/xplor-inline-switch.js +1 -1
- package/dist/collection/components/xplor-input-file/xplor-input-file.js +3 -1
- package/dist/collection/components/xplor-input-file/xplor-input-file.js.map +1 -1
- package/dist/collection/components/xplor-input-search/xplor-input-search.js +4 -2
- package/dist/collection/components/xplor-input-search/xplor-input-search.js.map +1 -1
- package/dist/collection/components/xplor-input-select/xplor-input-select.js +134 -7
- package/dist/collection/components/xplor-input-select/xplor-input-select.js.map +1 -1
- package/dist/collection/components/xplor-input-send/xplor-input-send.js +2 -2
- package/dist/collection/components/xplor-input-send/xplor-input-send.js.map +1 -1
- package/dist/collection/components/xplor-input-text/xplor-input-text.js +6 -2
- package/dist/collection/components/xplor-input-text/xplor-input-text.js.map +1 -1
- package/dist/collection/components/xplor-input-text-area/xplor-input-text-area.js +6 -2
- package/dist/collection/components/xplor-input-text-area/xplor-input-text-area.js.map +1 -1
- package/dist/collection/components/xplor-input-text-secondary/xplor-input-text-secondary.js +6 -2
- package/dist/collection/components/xplor-input-text-secondary/xplor-input-text-secondary.js.map +1 -1
- package/dist/collection/components/xplor-input-title/xplor-input-title.js +25 -1
- package/dist/collection/components/xplor-input-title/xplor-input-title.js.map +1 -1
- package/dist/collection/components/xplor-links/xplor-links.js +25 -1
- package/dist/collection/components/xplor-links/xplor-links.js.map +1 -1
- package/dist/collection/components/xplor-modal/xplor-modal.js +88 -1
- package/dist/collection/components/xplor-modal/xplor-modal.js.map +1 -1
- package/dist/collection/components/xplor-modal-persistent/xplor-modal-persistent.js +1 -1
- package/dist/collection/components/xplor-nav-tabs/xplor-nav-tabs.js +50 -3
- package/dist/collection/components/xplor-nav-tabs/xplor-nav-tabs.js.map +1 -1
- package/dist/collection/components/xplor-radio-btn/xplor-radio-btn.css +116 -1
- package/dist/collection/components/xplor-radio-btn/xplor-radio-btn.js +258 -2
- package/dist/collection/components/xplor-radio-btn/xplor-radio-btn.js.map +1 -1
- package/dist/collection/components/xplor-section-card/xplor-section-card.js +1 -1
- package/dist/collection/components/xplor-section-card/xplor-section-card.js.map +1 -1
- package/dist/collection/components/xplor-section-heading/xplor-section-heading.js +27 -2
- package/dist/collection/components/xplor-section-heading/xplor-section-heading.js.map +1 -1
- package/dist/collection/components/xplor-table/xplor-table.js +14 -9
- package/dist/collection/components/xplor-table/xplor-table.js.map +1 -1
- package/dist/collection/components/xplor-text-bubble/xplor-text-bubble.js +2 -2
- package/dist/collection/components/xplor-text-field/xplor-text-field.js +2 -2
- package/dist/collection/components/xplor-time-picker/xplor-time-picker.js +6 -6
- package/dist/collection/components/xplor-tooltip/xplor-tooltip.js +20 -4
- package/dist/collection/components/xplor-tooltip/xplor-tooltip.js.map +1 -1
- package/dist/collection/test-utils/index.js +3 -0
- package/dist/collection/test-utils/index.js.map +1 -0
- package/dist/collection/test-utils/mocks.js +46 -0
- package/dist/collection/test-utils/mocks.js.map +1 -0
- package/dist/collection/test-utils/spec-helpers.js +43 -0
- package/dist/collection/test-utils/spec-helpers.js.map +1 -0
- package/dist/components/index.js +1 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/{p-BHdeGt6k.js → p--zhT6rvJ.js} +4 -4
- package/dist/components/p--zhT6rvJ.js.map +1 -0
- package/dist/components/{p-DKh6y3GY.js → p-04oMLTZR.js} +65 -5
- package/dist/components/p-04oMLTZR.js.map +1 -0
- package/dist/components/{p-DIv_A5Gj.js → p-B5rS_jjI.js} +7 -3
- package/dist/components/p-B5rS_jjI.js.map +1 -0
- package/dist/components/{p-CXJd350E.js → p-DQ8MCJFX.js} +71 -6
- package/dist/components/p-DQ8MCJFX.js.map +1 -0
- package/dist/components/{p-4l9DAhAo.js → p-DbQ6ZNvh.js} +20 -4
- package/dist/components/p-DbQ6ZNvh.js.map +1 -0
- package/dist/components/{p-oOSnPjGy.js → p-J41B2nOt.js} +3 -3
- package/dist/components/{p-oOSnPjGy.js.map → p-J41B2nOt.js.map} +1 -1
- package/dist/components/xplor-alert-dialog.js +60 -3
- package/dist/components/xplor-alert-dialog.js.map +1 -1
- package/dist/components/xplor-assistant.js +3 -3
- package/dist/components/xplor-assistant.js.map +1 -1
- package/dist/components/xplor-autocomplete.js +15 -9
- package/dist/components/xplor-autocomplete.js.map +1 -1
- package/dist/components/xplor-avatar-and-name.js +1 -1
- package/dist/components/xplor-avatar.js +1 -1
- package/dist/components/xplor-btn-back-to-parent.js +7 -2
- package/dist/components/xplor-btn-back-to-parent.js.map +1 -1
- package/dist/components/xplor-btn-icon.js +3 -2
- package/dist/components/xplor-btn-icon.js.map +1 -1
- package/dist/components/xplor-btn-menu.js +103 -6
- package/dist/components/xplor-btn-menu.js.map +1 -1
- package/dist/components/xplor-btn-tooltip.js +2 -2
- package/dist/components/xplor-button.js +1 -1
- package/dist/components/xplor-chat-widget.js +2 -2
- package/dist/components/xplor-checkbox.js +3 -1
- package/dist/components/xplor-checkbox.js.map +1 -1
- package/dist/components/xplor-combobox.js +20 -10
- package/dist/components/xplor-combobox.js.map +1 -1
- package/dist/components/xplor-datatable.js +10 -4
- package/dist/components/xplor-datatable.js.map +1 -1
- package/dist/components/xplor-date-picker.js +9 -5
- package/dist/components/xplor-date-picker.js.map +1 -1
- package/dist/components/xplor-drag-and-drop-input.js +8 -5
- package/dist/components/xplor-drag-and-drop-input.js.map +1 -1
- package/dist/components/xplor-dropdown.js +1 -1
- package/dist/components/xplor-expansion-panel.js +4 -4
- package/dist/components/xplor-expansion-panel.js.map +1 -1
- package/dist/components/xplor-expansion-panels.js +1 -1
- package/dist/components/xplor-expansion-panels.js.map +1 -1
- package/dist/components/xplor-file-upload.js +2 -2
- package/dist/components/xplor-file-upload.js.map +1 -1
- package/dist/components/xplor-inline-checkbox.js +2 -2
- package/dist/components/xplor-inline-date-picker.js +1 -1
- package/dist/components/xplor-inline-switch.js +1 -1
- package/dist/components/xplor-input-file.js +3 -1
- package/dist/components/xplor-input-file.js.map +1 -1
- package/dist/components/xplor-input-search.js +4 -2
- package/dist/components/xplor-input-search.js.map +1 -1
- package/dist/components/xplor-input-select.js +107 -7
- package/dist/components/xplor-input-select.js.map +1 -1
- package/dist/components/xplor-input-send.js +3 -3
- package/dist/components/xplor-input-send.js.map +1 -1
- package/dist/components/xplor-input-text-area.js +6 -2
- package/dist/components/xplor-input-text-area.js.map +1 -1
- package/dist/components/xplor-input-text-secondary.js +6 -2
- package/dist/components/xplor-input-text-secondary.js.map +1 -1
- package/dist/components/xplor-input-text.js +6 -2
- package/dist/components/xplor-input-text.js.map +1 -1
- package/dist/components/xplor-input-title.js +7 -2
- package/dist/components/xplor-input-title.js.map +1 -1
- package/dist/components/xplor-links.js +5 -2
- package/dist/components/xplor-links.js.map +1 -1
- package/dist/components/xplor-modal-persistent.js +2 -2
- package/dist/components/xplor-modal.js +1 -1
- package/dist/components/xplor-nav-tabs.js +41 -3
- package/dist/components/xplor-nav-tabs.js.map +1 -1
- package/dist/components/xplor-radio-btn.js +99 -4
- package/dist/components/xplor-radio-btn.js.map +1 -1
- package/dist/components/xplor-section-card.js +1 -1
- package/dist/components/xplor-section-card.js.map +1 -1
- package/dist/components/xplor-section-heading.js +9 -3
- package/dist/components/xplor-section-heading.js.map +1 -1
- package/dist/components/xplor-table.js +14 -9
- package/dist/components/xplor-table.js.map +1 -1
- package/dist/components/xplor-text-bubble.js +2 -2
- package/dist/components/xplor-text-field.js +2 -2
- package/dist/components/xplor-time-picker.js +6 -6
- package/dist/components/xplor-tooltip.js +1 -1
- package/dist/esm/{index-Zkk2NJif.js → index-KRfMjDC2.js} +3 -3
- package/dist/esm/index-KRfMjDC2.js.map +1 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/xplor-alert-dialog_58.entry.js +680 -107
- package/dist/esm/xplor-alert-dialog_58.entry.js.map +1 -1
- package/dist/esm/xplor-component-library.js +3 -3
- package/dist/hydrate/index.js +725 -123
- package/dist/hydrate/index.mjs +725 -123
- package/dist/types/components/xplor-alert-dialog/xplor-alert-dialog.d.ts +11 -0
- package/dist/types/components/xplor-autocomplete/xplor-autocomplete.d.ts +4 -0
- package/dist/types/components/xplor-btn-back-to-parent/xplor-btn-back-to-parent.d.ts +4 -0
- package/dist/types/components/xplor-btn-icon/xplor-btn-icon.d.ts +4 -0
- package/dist/types/components/xplor-btn-menu/xplor-btn-menu.d.ts +19 -0
- package/dist/types/components/xplor-button/xplor-button.d.ts +4 -0
- package/dist/types/components/xplor-checkbox/xplor-checkbox.d.ts +1 -0
- package/dist/types/components/xplor-combobox/xplor-combobox.d.ts +4 -0
- package/dist/types/components/xplor-date-picker/xplor-date-picker.d.ts +3 -0
- package/dist/types/components/xplor-drag-and-drop-input/xplor-drag-and-drop-input.d.ts +4 -0
- package/dist/types/components/xplor-inline-date-picker/xplor-inline-date-picker.d.ts +3 -0
- package/dist/types/components/xplor-input-file/xplor-input-file.d.ts +1 -0
- package/dist/types/components/xplor-input-search/xplor-input-search.d.ts +1 -0
- package/dist/types/components/xplor-input-select/xplor-input-select.d.ts +8 -0
- package/dist/types/components/xplor-input-text/xplor-input-text.d.ts +3 -0
- package/dist/types/components/xplor-input-text-area/xplor-input-text-area.d.ts +3 -0
- package/dist/types/components/xplor-input-text-secondary/xplor-input-text-secondary.d.ts +3 -0
- package/dist/types/components/xplor-input-title/xplor-input-title.d.ts +4 -0
- package/dist/types/components/xplor-links/xplor-links.d.ts +2 -0
- package/dist/types/components/xplor-modal/xplor-modal.d.ts +11 -0
- package/dist/types/components/xplor-nav-tabs/xplor-nav-tabs.d.ts +2 -0
- package/dist/types/components/xplor-radio-btn/xplor-radio-btn.d.ts +32 -0
- package/dist/types/components/xplor-section-heading/xplor-section-heading.d.ts +4 -0
- package/dist/types/components/xplor-tooltip/xplor-tooltip.d.ts +3 -0
- package/dist/types/components.d.ts +205 -0
- package/dist/types/test-utils/index.d.ts +2 -0
- package/dist/types/test-utils/mocks.d.ts +16 -0
- package/dist/types/test-utils/spec-helpers.d.ts +26 -0
- package/dist/xplor-component-library/p-5b0cee73.entry.js +2 -0
- package/dist/xplor-component-library/p-5b0cee73.entry.js.map +1 -0
- package/dist/xplor-component-library/{p-Zkk2NJif.js → p-KRfMjDC2.js} +3 -3
- package/dist/xplor-component-library/p-KRfMjDC2.js.map +1 -0
- package/dist/xplor-component-library/xplor-component-library.css +1 -1
- package/dist/xplor-component-library/xplor-component-library.esm.js +1 -1
- package/package.json +7 -3
- package/components/p-B1W2qj2l.js.map +0 -1
- package/components/p-BaDLDCH5.js.map +0 -1
- package/components/p-CBSi5kQB.js.map +0 -1
- package/components/p-CTD6SyTD.js.map +0 -1
- package/components/p-Ddr35stE.js.map +0 -1
- package/dist/cjs/index-Bc5o_4vY.js.map +0 -1
- package/dist/components/p-4l9DAhAo.js.map +0 -1
- package/dist/components/p-BHdeGt6k.js.map +0 -1
- package/dist/components/p-CXJd350E.js.map +0 -1
- package/dist/components/p-DIv_A5Gj.js.map +0 -1
- package/dist/components/p-DKh6y3GY.js.map +0 -1
- package/dist/esm/index-Zkk2NJif.js.map +0 -1
- package/dist/xplor-component-library/p-07d83c17.entry.js +0 -2
- package/dist/xplor-component-library/p-07d83c17.entry.js.map +0 -1
- package/dist/xplor-component-library/p-Zkk2NJif.js.map +0 -1
|
@@ -27,6 +27,10 @@ export { NavTabItem } from "./components/xplor-nav-tabs/xplor-nav-tabs";
|
|
|
27
27
|
export { TooltipPosition, TooltipTrigger } from "./components/xplor-tooltip/xplor-tooltip";
|
|
28
28
|
export namespace Components {
|
|
29
29
|
interface XplorAlertDialog {
|
|
30
|
+
/**
|
|
31
|
+
* Accessible label for the dialog (used if no title slot)
|
|
32
|
+
*/
|
|
33
|
+
"ariaLabel": string;
|
|
30
34
|
/**
|
|
31
35
|
* Whether the dialog is open
|
|
32
36
|
* @default false
|
|
@@ -91,6 +95,10 @@ export namespace Components {
|
|
|
91
95
|
"userName": string;
|
|
92
96
|
}
|
|
93
97
|
interface XplorAutocomplete {
|
|
98
|
+
/**
|
|
99
|
+
* Accessible label for the input when no visible label is provided
|
|
100
|
+
*/
|
|
101
|
+
"ariaLabel": string;
|
|
94
102
|
/**
|
|
95
103
|
* Clear button
|
|
96
104
|
* @default false
|
|
@@ -294,6 +302,11 @@ export namespace Components {
|
|
|
294
302
|
"minWidth": string;
|
|
295
303
|
}
|
|
296
304
|
interface XplorBtnBackToParent {
|
|
305
|
+
/**
|
|
306
|
+
* Accessible label for the button
|
|
307
|
+
* @default 'Back to parent'
|
|
308
|
+
*/
|
|
309
|
+
"ariaLabel": string;
|
|
297
310
|
/**
|
|
298
311
|
* Background color
|
|
299
312
|
* @default 'white'
|
|
@@ -321,6 +334,10 @@ export namespace Components {
|
|
|
321
334
|
"variant": 'text' | 'outlined' | 'elevated' | 'tonal';
|
|
322
335
|
}
|
|
323
336
|
interface XplorBtnIcon {
|
|
337
|
+
/**
|
|
338
|
+
* Accessible label for the icon button (required for screen readers)
|
|
339
|
+
*/
|
|
340
|
+
"ariaLabel": string;
|
|
324
341
|
/**
|
|
325
342
|
* Button color variant
|
|
326
343
|
* @default 'secondary'
|
|
@@ -348,6 +365,10 @@ export namespace Components {
|
|
|
348
365
|
"variant": 'text' | 'outlined' | 'elevated' | 'tonal';
|
|
349
366
|
}
|
|
350
367
|
interface XplorBtnMenu {
|
|
368
|
+
/**
|
|
369
|
+
* Accessible label for the menu trigger button when no visible label is provided
|
|
370
|
+
*/
|
|
371
|
+
"ariaLabel": string;
|
|
351
372
|
/**
|
|
352
373
|
* Button color
|
|
353
374
|
* @default 'secondary'
|
|
@@ -449,7 +470,16 @@ export namespace Components {
|
|
|
449
470
|
"type": 'primary' | 'secondary' | 'ghost' | 'disabled';
|
|
450
471
|
}
|
|
451
472
|
interface XplorButton {
|
|
473
|
+
/**
|
|
474
|
+
* Accessible label for icon-only buttons
|
|
475
|
+
*/
|
|
476
|
+
"ariaLabel": string;
|
|
452
477
|
"clickAction": () => void;
|
|
478
|
+
/**
|
|
479
|
+
* Whether the button is disabled
|
|
480
|
+
* @default false
|
|
481
|
+
*/
|
|
482
|
+
"disabled": boolean;
|
|
453
483
|
/**
|
|
454
484
|
* Icon to display (defaults to plus sign)
|
|
455
485
|
* @default '+'
|
|
@@ -511,6 +541,10 @@ export namespace Components {
|
|
|
511
541
|
* @default true
|
|
512
542
|
*/
|
|
513
543
|
"allowCustom": boolean;
|
|
544
|
+
/**
|
|
545
|
+
* Accessible label for the input when no visible label is provided
|
|
546
|
+
*/
|
|
547
|
+
"ariaLabel": string;
|
|
514
548
|
/**
|
|
515
549
|
* Clear button
|
|
516
550
|
* @default false
|
|
@@ -706,6 +740,10 @@ export namespace Components {
|
|
|
706
740
|
* @default DEFAULT_ACCEPT_ALL
|
|
707
741
|
*/
|
|
708
742
|
"accepts": string;
|
|
743
|
+
/**
|
|
744
|
+
* Accessible label for the drop zone area
|
|
745
|
+
*/
|
|
746
|
+
"ariaLabel": string;
|
|
709
747
|
/**
|
|
710
748
|
* Browse button label text
|
|
711
749
|
* @default 'Browse Files'
|
|
@@ -966,6 +1004,10 @@ export namespace Components {
|
|
|
966
1004
|
"value": string;
|
|
967
1005
|
}
|
|
968
1006
|
interface XplorInputSelect {
|
|
1007
|
+
/**
|
|
1008
|
+
* Accessible label for the select when no visible label is provided
|
|
1009
|
+
*/
|
|
1010
|
+
"ariaLabel": string;
|
|
969
1011
|
/**
|
|
970
1012
|
* Background color
|
|
971
1013
|
* @default 'white'
|
|
@@ -1235,6 +1277,11 @@ export namespace Components {
|
|
|
1235
1277
|
"value": string;
|
|
1236
1278
|
}
|
|
1237
1279
|
interface XplorInputTitle {
|
|
1280
|
+
/**
|
|
1281
|
+
* Accessible label for the input
|
|
1282
|
+
* @default 'Title'
|
|
1283
|
+
*/
|
|
1284
|
+
"ariaLabel": string;
|
|
1238
1285
|
/**
|
|
1239
1286
|
* Whether the input is disabled
|
|
1240
1287
|
* @default false
|
|
@@ -1258,8 +1305,17 @@ export namespace Components {
|
|
|
1258
1305
|
}
|
|
1259
1306
|
interface XplorLinks {
|
|
1260
1307
|
"brand": string;
|
|
1308
|
+
/**
|
|
1309
|
+
* Alt text for the image
|
|
1310
|
+
* @default ''
|
|
1311
|
+
*/
|
|
1312
|
+
"imageAlt": string;
|
|
1261
1313
|
}
|
|
1262
1314
|
interface XplorModal {
|
|
1315
|
+
/**
|
|
1316
|
+
* Accessible label for the modal (used if no title slot)
|
|
1317
|
+
*/
|
|
1318
|
+
"ariaLabel": string;
|
|
1263
1319
|
/**
|
|
1264
1320
|
* Loading state
|
|
1265
1321
|
* @default false
|
|
@@ -1344,6 +1400,40 @@ export namespace Components {
|
|
|
1344
1400
|
"value": string;
|
|
1345
1401
|
}
|
|
1346
1402
|
interface XplorRadioBtn {
|
|
1403
|
+
/**
|
|
1404
|
+
* Programmatically deselect this radio button
|
|
1405
|
+
*/
|
|
1406
|
+
"deselect": () => Promise<void>;
|
|
1407
|
+
/**
|
|
1408
|
+
* Whether this radio button is disabled
|
|
1409
|
+
* @default false
|
|
1410
|
+
*/
|
|
1411
|
+
"disabled": boolean;
|
|
1412
|
+
/**
|
|
1413
|
+
* Whether this radio button is in an error state
|
|
1414
|
+
* @default false
|
|
1415
|
+
*/
|
|
1416
|
+
"error": boolean;
|
|
1417
|
+
/**
|
|
1418
|
+
* Whether this radio button is initially selected
|
|
1419
|
+
* @default false
|
|
1420
|
+
*/
|
|
1421
|
+
"initialChecked": boolean;
|
|
1422
|
+
/**
|
|
1423
|
+
* The label text displayed next to the radio button
|
|
1424
|
+
* @default ''
|
|
1425
|
+
*/
|
|
1426
|
+
"label": string;
|
|
1427
|
+
/**
|
|
1428
|
+
* The name attribute to group radio buttons together
|
|
1429
|
+
* @default ''
|
|
1430
|
+
*/
|
|
1431
|
+
"name": string;
|
|
1432
|
+
/**
|
|
1433
|
+
* The value associated with this radio button
|
|
1434
|
+
* @default ''
|
|
1435
|
+
*/
|
|
1436
|
+
"value": string;
|
|
1347
1437
|
}
|
|
1348
1438
|
interface XplorSectionCard {
|
|
1349
1439
|
/**
|
|
@@ -1360,6 +1450,11 @@ export namespace Components {
|
|
|
1360
1450
|
"rounded": boolean;
|
|
1361
1451
|
}
|
|
1362
1452
|
interface XplorSectionHeading {
|
|
1453
|
+
/**
|
|
1454
|
+
* Heading level (1-6), renders as h1-h6. Defaults to 2.
|
|
1455
|
+
* @default 2
|
|
1456
|
+
*/
|
|
1457
|
+
"level": 1 | 2 | 3 | 4 | 5 | 6;
|
|
1363
1458
|
/**
|
|
1364
1459
|
* @default 'medium'
|
|
1365
1460
|
*/
|
|
@@ -1698,6 +1793,10 @@ export interface XplorNavTabsCustomEvent<T> extends CustomEvent<T> {
|
|
|
1698
1793
|
detail: T;
|
|
1699
1794
|
target: HTMLXplorNavTabsElement;
|
|
1700
1795
|
}
|
|
1796
|
+
export interface XplorRadioBtnCustomEvent<T> extends CustomEvent<T> {
|
|
1797
|
+
detail: T;
|
|
1798
|
+
target: HTMLXplorRadioBtnElement;
|
|
1799
|
+
}
|
|
1701
1800
|
export interface XplorTableCustomEvent<T> extends CustomEvent<T> {
|
|
1702
1801
|
detail: T;
|
|
1703
1802
|
target: HTMLXplorTableElement;
|
|
@@ -2384,7 +2483,18 @@ declare global {
|
|
|
2384
2483
|
prototype: HTMLXplorNavTabsElement;
|
|
2385
2484
|
new (): HTMLXplorNavTabsElement;
|
|
2386
2485
|
};
|
|
2486
|
+
interface HTMLXplorRadioBtnElementEventMap {
|
|
2487
|
+
"radioChange": { value: string; checked: boolean };
|
|
2488
|
+
}
|
|
2387
2489
|
interface HTMLXplorRadioBtnElement extends Components.XplorRadioBtn, HTMLStencilElement {
|
|
2490
|
+
addEventListener<K extends keyof HTMLXplorRadioBtnElementEventMap>(type: K, listener: (this: HTMLXplorRadioBtnElement, ev: XplorRadioBtnCustomEvent<HTMLXplorRadioBtnElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2491
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2492
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2493
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2494
|
+
removeEventListener<K extends keyof HTMLXplorRadioBtnElementEventMap>(type: K, listener: (this: HTMLXplorRadioBtnElement, ev: XplorRadioBtnCustomEvent<HTMLXplorRadioBtnElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2495
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2496
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2497
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2388
2498
|
}
|
|
2389
2499
|
var HTMLXplorRadioBtnElement: {
|
|
2390
2500
|
prototype: HTMLXplorRadioBtnElement;
|
|
@@ -2534,6 +2644,10 @@ declare global {
|
|
|
2534
2644
|
}
|
|
2535
2645
|
declare namespace LocalJSX {
|
|
2536
2646
|
interface XplorAlertDialog {
|
|
2647
|
+
/**
|
|
2648
|
+
* Accessible label for the dialog (used if no title slot)
|
|
2649
|
+
*/
|
|
2650
|
+
"ariaLabel"?: string;
|
|
2537
2651
|
/**
|
|
2538
2652
|
* Close event
|
|
2539
2653
|
*/
|
|
@@ -2607,6 +2721,10 @@ declare namespace LocalJSX {
|
|
|
2607
2721
|
"userName": string;
|
|
2608
2722
|
}
|
|
2609
2723
|
interface XplorAutocomplete {
|
|
2724
|
+
/**
|
|
2725
|
+
* Accessible label for the input when no visible label is provided
|
|
2726
|
+
*/
|
|
2727
|
+
"ariaLabel"?: string;
|
|
2610
2728
|
/**
|
|
2611
2729
|
* Clear button
|
|
2612
2730
|
* @default false
|
|
@@ -2818,6 +2936,11 @@ declare namespace LocalJSX {
|
|
|
2818
2936
|
"onXplorClick"?: (event: XplorBtnBackCustomEvent<MouseEvent>) => void;
|
|
2819
2937
|
}
|
|
2820
2938
|
interface XplorBtnBackToParent {
|
|
2939
|
+
/**
|
|
2940
|
+
* Accessible label for the button
|
|
2941
|
+
* @default 'Back to parent'
|
|
2942
|
+
*/
|
|
2943
|
+
"ariaLabel"?: string;
|
|
2821
2944
|
/**
|
|
2822
2945
|
* Background color
|
|
2823
2946
|
* @default 'white'
|
|
@@ -2849,6 +2972,10 @@ declare namespace LocalJSX {
|
|
|
2849
2972
|
"variant"?: 'text' | 'outlined' | 'elevated' | 'tonal';
|
|
2850
2973
|
}
|
|
2851
2974
|
interface XplorBtnIcon {
|
|
2975
|
+
/**
|
|
2976
|
+
* Accessible label for the icon button (required for screen readers)
|
|
2977
|
+
*/
|
|
2978
|
+
"ariaLabel"?: string;
|
|
2852
2979
|
/**
|
|
2853
2980
|
* Button color variant
|
|
2854
2981
|
* @default 'secondary'
|
|
@@ -2880,6 +3007,10 @@ declare namespace LocalJSX {
|
|
|
2880
3007
|
"variant"?: 'text' | 'outlined' | 'elevated' | 'tonal';
|
|
2881
3008
|
}
|
|
2882
3009
|
interface XplorBtnMenu {
|
|
3010
|
+
/**
|
|
3011
|
+
* Accessible label for the menu trigger button when no visible label is provided
|
|
3012
|
+
*/
|
|
3013
|
+
"ariaLabel"?: string;
|
|
2883
3014
|
/**
|
|
2884
3015
|
* Button color
|
|
2885
3016
|
* @default 'secondary'
|
|
@@ -2993,7 +3124,16 @@ declare namespace LocalJSX {
|
|
|
2993
3124
|
"type"?: 'primary' | 'secondary' | 'ghost' | 'disabled';
|
|
2994
3125
|
}
|
|
2995
3126
|
interface XplorButton {
|
|
3127
|
+
/**
|
|
3128
|
+
* Accessible label for icon-only buttons
|
|
3129
|
+
*/
|
|
3130
|
+
"ariaLabel"?: string;
|
|
2996
3131
|
"clickAction"?: () => void;
|
|
3132
|
+
/**
|
|
3133
|
+
* Whether the button is disabled
|
|
3134
|
+
* @default false
|
|
3135
|
+
*/
|
|
3136
|
+
"disabled"?: boolean;
|
|
2997
3137
|
/**
|
|
2998
3138
|
* Icon to display (defaults to plus sign)
|
|
2999
3139
|
* @default '+'
|
|
@@ -3056,6 +3196,10 @@ declare namespace LocalJSX {
|
|
|
3056
3196
|
* @default true
|
|
3057
3197
|
*/
|
|
3058
3198
|
"allowCustom"?: boolean;
|
|
3199
|
+
/**
|
|
3200
|
+
* Accessible label for the input when no visible label is provided
|
|
3201
|
+
*/
|
|
3202
|
+
"ariaLabel"?: string;
|
|
3059
3203
|
/**
|
|
3060
3204
|
* Clear button
|
|
3061
3205
|
* @default false
|
|
@@ -3276,6 +3420,10 @@ declare namespace LocalJSX {
|
|
|
3276
3420
|
* @default DEFAULT_ACCEPT_ALL
|
|
3277
3421
|
*/
|
|
3278
3422
|
"accepts"?: string;
|
|
3423
|
+
/**
|
|
3424
|
+
* Accessible label for the drop zone area
|
|
3425
|
+
*/
|
|
3426
|
+
"ariaLabel"?: string;
|
|
3279
3427
|
/**
|
|
3280
3428
|
* Browse button label text
|
|
3281
3429
|
* @default 'Browse Files'
|
|
@@ -3572,6 +3720,10 @@ declare namespace LocalJSX {
|
|
|
3572
3720
|
"value"?: string;
|
|
3573
3721
|
}
|
|
3574
3722
|
interface XplorInputSelect {
|
|
3723
|
+
/**
|
|
3724
|
+
* Accessible label for the select when no visible label is provided
|
|
3725
|
+
*/
|
|
3726
|
+
"ariaLabel"?: string;
|
|
3575
3727
|
/**
|
|
3576
3728
|
* Background color
|
|
3577
3729
|
* @default 'white'
|
|
@@ -3879,6 +4031,11 @@ declare namespace LocalJSX {
|
|
|
3879
4031
|
"value"?: string;
|
|
3880
4032
|
}
|
|
3881
4033
|
interface XplorInputTitle {
|
|
4034
|
+
/**
|
|
4035
|
+
* Accessible label for the input
|
|
4036
|
+
* @default 'Title'
|
|
4037
|
+
*/
|
|
4038
|
+
"ariaLabel"?: string;
|
|
3882
4039
|
/**
|
|
3883
4040
|
* Whether the input is disabled
|
|
3884
4041
|
* @default false
|
|
@@ -3910,8 +4067,17 @@ declare namespace LocalJSX {
|
|
|
3910
4067
|
}
|
|
3911
4068
|
interface XplorLinks {
|
|
3912
4069
|
"brand"?: string;
|
|
4070
|
+
/**
|
|
4071
|
+
* Alt text for the image
|
|
4072
|
+
* @default ''
|
|
4073
|
+
*/
|
|
4074
|
+
"imageAlt"?: string;
|
|
3913
4075
|
}
|
|
3914
4076
|
interface XplorModal {
|
|
4077
|
+
/**
|
|
4078
|
+
* Accessible label for the modal (used if no title slot)
|
|
4079
|
+
*/
|
|
4080
|
+
"ariaLabel"?: string;
|
|
3915
4081
|
/**
|
|
3916
4082
|
* Loading state
|
|
3917
4083
|
* @default false
|
|
@@ -4005,6 +4171,40 @@ declare namespace LocalJSX {
|
|
|
4005
4171
|
"value"?: string;
|
|
4006
4172
|
}
|
|
4007
4173
|
interface XplorRadioBtn {
|
|
4174
|
+
/**
|
|
4175
|
+
* Whether this radio button is disabled
|
|
4176
|
+
* @default false
|
|
4177
|
+
*/
|
|
4178
|
+
"disabled"?: boolean;
|
|
4179
|
+
/**
|
|
4180
|
+
* Whether this radio button is in an error state
|
|
4181
|
+
* @default false
|
|
4182
|
+
*/
|
|
4183
|
+
"error"?: boolean;
|
|
4184
|
+
/**
|
|
4185
|
+
* Whether this radio button is initially selected
|
|
4186
|
+
* @default false
|
|
4187
|
+
*/
|
|
4188
|
+
"initialChecked"?: boolean;
|
|
4189
|
+
/**
|
|
4190
|
+
* The label text displayed next to the radio button
|
|
4191
|
+
* @default ''
|
|
4192
|
+
*/
|
|
4193
|
+
"label"?: string;
|
|
4194
|
+
/**
|
|
4195
|
+
* The name attribute to group radio buttons together
|
|
4196
|
+
* @default ''
|
|
4197
|
+
*/
|
|
4198
|
+
"name"?: string;
|
|
4199
|
+
/**
|
|
4200
|
+
* Emitted when the radio button selection changes
|
|
4201
|
+
*/
|
|
4202
|
+
"onRadioChange"?: (event: XplorRadioBtnCustomEvent<{ value: string; checked: boolean }>) => void;
|
|
4203
|
+
/**
|
|
4204
|
+
* The value associated with this radio button
|
|
4205
|
+
* @default ''
|
|
4206
|
+
*/
|
|
4207
|
+
"value"?: string;
|
|
4008
4208
|
}
|
|
4009
4209
|
interface XplorSectionCard {
|
|
4010
4210
|
/**
|
|
@@ -4021,6 +4221,11 @@ declare namespace LocalJSX {
|
|
|
4021
4221
|
"rounded"?: boolean;
|
|
4022
4222
|
}
|
|
4023
4223
|
interface XplorSectionHeading {
|
|
4224
|
+
/**
|
|
4225
|
+
* Heading level (1-6), renders as h1-h6. Defaults to 2.
|
|
4226
|
+
* @default 2
|
|
4227
|
+
*/
|
|
4228
|
+
"level"?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
4024
4229
|
/**
|
|
4025
4230
|
* @default 'medium'
|
|
4026
4231
|
*/
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Creates a mock File object for testing file upload components.
|
|
3
|
+
*/
|
|
4
|
+
export declare function createMockFile(name?: string, size?: number, type?: string, lastModified?: number): File;
|
|
5
|
+
/**
|
|
6
|
+
* Mocks getBoundingClientRect for positioning tests (tooltip, picker, dropdown).
|
|
7
|
+
*/
|
|
8
|
+
export declare function mockBoundingClientRect(el: Element, rect?: Partial<DOMRect>): void;
|
|
9
|
+
/**
|
|
10
|
+
* Mocks global fetch for API-calling components like xplor-assistant.
|
|
11
|
+
*/
|
|
12
|
+
export declare function mockFetch(response: any, ok?: boolean): jest.SpyInstance;
|
|
13
|
+
/**
|
|
14
|
+
* Mocks requestAnimationFrame for JSDOM environments.
|
|
15
|
+
*/
|
|
16
|
+
export declare function mockRequestAnimationFrame(): void;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { SpecPage } from '@stencil/core/testing';
|
|
2
|
+
/**
|
|
3
|
+
* Wraps newSpecPage to reduce boilerplate. Renders a single component with the given HTML.
|
|
4
|
+
*/
|
|
5
|
+
export declare function renderComponent(opts: {
|
|
6
|
+
components: any[];
|
|
7
|
+
html: string;
|
|
8
|
+
autoApplyChanges?: boolean;
|
|
9
|
+
}): Promise<SpecPage>;
|
|
10
|
+
/**
|
|
11
|
+
* Dispatches a DOM event on the given element and waits for Stencil to process changes.
|
|
12
|
+
*/
|
|
13
|
+
export declare function triggerEvent(page: SpecPage, el: Element, eventName: string, eventInit?: EventInit): Promise<void>;
|
|
14
|
+
/**
|
|
15
|
+
* Dispatches a keyboard event on the given element and waits for changes.
|
|
16
|
+
*/
|
|
17
|
+
export declare function triggerKeyboard(page: SpecPage, el: Element, eventName: 'keydown' | 'keyup' | 'keypress', key: string, options?: Partial<KeyboardEventInit>): Promise<void>;
|
|
18
|
+
/**
|
|
19
|
+
* Simulates typing into an input element by setting its value and dispatching an input event.
|
|
20
|
+
*/
|
|
21
|
+
export declare function typeIntoInput(page: SpecPage, input: HTMLInputElement | HTMLTextAreaElement, value: string): Promise<void>;
|
|
22
|
+
/**
|
|
23
|
+
* Attaches a Jest spy to capture events emitted by a Stencil component.
|
|
24
|
+
* Returns the spy which can be used to check calls.
|
|
25
|
+
*/
|
|
26
|
+
export declare function eventSpy(el: Element, eventName: string): jest.Mock;
|