wj-elements 0.1.131 → 0.1.132
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/dist/infinite-scroll.element-XVJukzjy.js +0 -1
- package/dist/list.element-Ce1vIm1O.js +0 -1
- package/dist/localize.js +0 -1
- package/dist/packages/index.d.ts +99 -0
- package/dist/packages/localize/localize.d.ts +17 -0
- package/dist/packages/translations/en-GB.d.ts +13 -0
- package/dist/packages/translations/sk-SK.d.ts +13 -0
- package/dist/packages/utils/animations.d.ts +2 -0
- package/dist/packages/utils/date.d.ts +1 -0
- package/dist/packages/utils/element-utils.d.ts +46 -0
- package/dist/packages/utils/event.d.ts +67 -0
- package/dist/packages/utils/localize.d.ts +4 -0
- package/dist/packages/utils/permissions-api.d.ts +34 -0
- package/dist/packages/utils/utils.d.ts +1 -0
- package/dist/packages/utils/wje-import-firefox.d.ts +0 -0
- package/dist/packages/utils/wje-import.d.ts +0 -0
- package/dist/packages/wje-accordion/accordion.d.ts +2 -0
- package/dist/packages/wje-accordion/accordion.element.d.ts +72 -0
- package/dist/packages/wje-accordion-item/accordion-item.d.ts +2 -0
- package/dist/packages/wje-accordion-item/accordion-item.element.d.ts +40 -0
- package/dist/packages/wje-animation/animation.d.ts +2 -0
- package/dist/packages/wje-animation/animation.element.d.ts +153 -0
- package/dist/packages/wje-animation/animation.test.d.ts +1 -0
- package/dist/packages/wje-aside/aside.d.ts +2 -0
- package/dist/packages/wje-aside/aside.element.d.ts +31 -0
- package/dist/packages/wje-avatar/avatar.d.ts +2 -0
- package/dist/packages/wje-avatar/avatar.element.d.ts +37 -0
- package/dist/packages/wje-avatar/service/service.d.ts +40 -0
- package/dist/packages/wje-badge/badge.d.ts +2 -0
- package/dist/packages/wje-badge/badge.element.d.ts +35 -0
- package/dist/packages/wje-badge/badge.test.d.ts +1 -0
- package/dist/packages/wje-breadcrumb/breadcrumb.d.ts +2 -0
- package/dist/packages/wje-breadcrumb/breadcrumb.element.d.ts +80 -0
- package/dist/packages/wje-breadcrumbs/breadcrumbs.d.ts +2 -0
- package/dist/packages/wje-breadcrumbs/breadcrumbs.element.d.ts +97 -0
- package/dist/packages/wje-breadcrumbs/breadcrumbs.test.d.ts +1 -0
- package/dist/packages/wje-button/button.d.ts +2 -0
- package/dist/packages/wje-button/button.element.d.ts +173 -0
- package/dist/packages/wje-button/button.test.d.ts +1 -0
- package/dist/packages/wje-button-group/button-group.d.ts +2 -0
- package/dist/packages/wje-button-group/button-group.element.d.ts +39 -0
- package/dist/packages/wje-card/card.d.ts +2 -0
- package/dist/packages/wje-card/card.element.d.ts +29 -0
- package/dist/packages/wje-card-content/card-content.d.ts +2 -0
- package/dist/packages/wje-card-content/card-content.element.d.ts +22 -0
- package/dist/packages/wje-card-controls/card-controls.d.ts +2 -0
- package/dist/packages/wje-card-controls/card-controls.element.d.ts +23 -0
- package/dist/packages/wje-card-header/card-header.d.ts +2 -0
- package/dist/packages/wje-card-header/card-header.element.d.ts +22 -0
- package/dist/packages/wje-card-subtitle/card-subtitle.d.ts +2 -0
- package/dist/packages/wje-card-subtitle/card-subtitle.element.d.ts +30 -0
- package/dist/packages/wje-card-title/card-title.d.ts +2 -0
- package/dist/packages/wje-card-title/card-title.element.d.ts +32 -0
- package/dist/packages/wje-carousel/carousel.d.ts +2 -0
- package/dist/packages/wje-carousel/carousel.element.d.ts +146 -0
- package/dist/packages/wje-carousel-item/carousel-item.d.ts +2 -0
- package/dist/packages/wje-carousel-item/carousel-item.element.d.ts +38 -0
- package/dist/packages/wje-checkbox/checkbox.d.ts +2 -0
- package/dist/packages/wje-checkbox/checkbox.element.d.ts +171 -0
- package/dist/packages/wje-chip/chip.d.ts +2 -0
- package/dist/packages/wje-chip/chip.element.d.ts +29 -0
- package/dist/packages/wje-col/col.d.ts +2 -0
- package/dist/packages/wje-col/col.element.d.ts +16 -0
- package/dist/packages/wje-color-picker/color-picker.d.ts +2 -0
- package/dist/packages/wje-color-picker/color-picker.element.d.ts +187 -0
- package/dist/packages/wje-container/container.d.ts +2 -0
- package/dist/packages/wje-container/container.element.d.ts +31 -0
- package/dist/packages/wje-copy-button/copy-button.d.ts +2 -0
- package/dist/packages/wje-copy-button/copy-button.element.d.ts +89 -0
- package/dist/packages/wje-copy-button/service/service.d.ts +12 -0
- package/dist/packages/wje-dialog/dialog.d.ts +2 -0
- package/dist/packages/wje-dialog/dialog.element.d.ts +116 -0
- package/dist/packages/wje-divider/divider.d.ts +2 -0
- package/dist/packages/wje-divider/divider.element.d.ts +32 -0
- package/dist/packages/wje-dropdown/dropdown.d.ts +2 -0
- package/dist/packages/wje-dropdown/dropdown.element.d.ts +85 -0
- package/dist/packages/wje-element/element.d.ts +312 -0
- package/dist/packages/wje-element/service/universal-service.d.ts +18 -0
- package/dist/packages/wje-file-upload/file-upload.d.ts +2 -0
- package/dist/packages/wje-file-upload/file-upload.element.d.ts +191 -0
- package/dist/packages/wje-file-upload/service/service.d.ts +70 -0
- package/dist/packages/wje-file-upload-item/file-upload-item.d.ts +2 -0
- package/dist/packages/wje-file-upload-item/file-upload-item.element.d.ts +62 -0
- package/dist/packages/wje-footer/footer.d.ts +2 -0
- package/dist/packages/wje-footer/footer.element.d.ts +28 -0
- package/dist/packages/wje-form/form.d.ts +2 -0
- package/dist/packages/wje-form/form.element.d.ts +28 -0
- package/dist/packages/wje-format-digital/format-digital.d.ts +2 -0
- package/dist/packages/wje-format-digital/format-digital.element.d.ts +87 -0
- package/dist/packages/wje-format-digital/format-digital.test.d.ts +1 -0
- package/dist/packages/wje-grid/grid.d.ts +2 -0
- package/dist/packages/wje-grid/grid.element.d.ts +26 -0
- package/dist/packages/wje-header/header.d.ts +2 -0
- package/dist/packages/wje-header/header.element.d.ts +35 -0
- package/dist/packages/wje-icon/icon.d.ts +2 -0
- package/dist/packages/wje-icon/icon.element.d.ts +40 -0
- package/dist/packages/wje-icon/service/service.d.ts +11 -0
- package/dist/packages/wje-icon-picker/icon-picker.d.ts +2 -0
- package/dist/packages/wje-icon-picker/icon-picker.element.d.ts +197 -0
- package/dist/packages/wje-img/img.d.ts +2 -0
- package/dist/packages/wje-img/img.element.d.ts +30 -0
- package/dist/packages/wje-img-comparer/img-comparer.d.ts +2 -0
- package/dist/packages/wje-img-comparer/img-comparer.element.d.ts +60 -0
- package/dist/packages/wje-img-comparer/service/service.d.ts +1 -0
- package/dist/packages/wje-infinite-scroll/infinite-scroll.d.ts +2 -0
- package/dist/packages/wje-infinite-scroll/infinite-scroll.element.d.ts +134 -0
- package/dist/packages/wje-input/input.d.ts +2 -0
- package/dist/packages/wje-input/input.element.d.ts +204 -0
- package/dist/packages/wje-input-file/input-file.d.ts +2 -0
- package/dist/packages/wje-input-file/input-file.element.d.ts +50 -0
- package/dist/packages/wje-item/item.d.ts +2 -0
- package/dist/packages/wje-item/item.element.d.ts +68 -0
- package/dist/packages/wje-kanban/kanban.d.ts +2 -0
- package/dist/packages/wje-kanban/kanban.element.d.ts +183 -0
- package/dist/packages/wje-label/label.d.ts +2 -0
- package/dist/packages/wje-label/label.element.d.ts +34 -0
- package/dist/packages/wje-list/list.d.ts +2 -0
- package/dist/packages/wje-list/list.element.d.ts +31 -0
- package/dist/packages/wje-main/main.d.ts +2 -0
- package/dist/packages/wje-main/main.element.d.ts +30 -0
- package/dist/packages/wje-masonry/masonry.d.ts +2 -0
- package/dist/packages/wje-masonry/masonry.element.d.ts +114 -0
- package/dist/packages/wje-masonry/service/service.d.ts +32 -0
- package/dist/packages/wje-menu/menu.d.ts +2 -0
- package/dist/packages/wje-menu/menu.element.d.ts +47 -0
- package/dist/packages/wje-menu-button/menu-button.d.ts +2 -0
- package/dist/packages/wje-menu-button/menu-button.element.d.ts +34 -0
- package/dist/packages/wje-menu-item/menu-item.d.ts +2 -0
- package/dist/packages/wje-menu-item/menu-item.element.d.ts +139 -0
- package/dist/packages/wje-menu-label/menu-label.d.ts +2 -0
- package/dist/packages/wje-menu-label/menu-label.element.d.ts +39 -0
- package/dist/packages/wje-option/option.d.ts +2 -0
- package/dist/packages/wje-option/option.element.d.ts +59 -0
- package/dist/packages/wje-options/options.d.ts +2 -0
- package/dist/packages/wje-options/options.element.d.ts +180 -0
- package/dist/packages/wje-orgchart/orgchart.d.ts +2 -0
- package/dist/packages/wje-orgchart/orgchart.element.d.ts +24 -0
- package/dist/packages/wje-orgchart-group/orgchart-group.d.ts +2 -0
- package/dist/packages/wje-orgchart-group/orgchart-group.element.d.ts +28 -0
- package/dist/packages/wje-orgchart-item/orgchart-item.d.ts +2 -0
- package/dist/packages/wje-orgchart-item/orgchart-item.element.d.ts +49 -0
- package/dist/packages/wje-panel/panel.d.ts +2 -0
- package/dist/packages/wje-panel/panel.element.d.ts +34 -0
- package/dist/packages/wje-popup/popup.d.ts +2 -0
- package/dist/packages/wje-popup/popup.element.d.ts +93 -0
- package/dist/packages/wje-progress-bar/progress-bar.d.ts +2 -0
- package/dist/packages/wje-progress-bar/progress-bar.element.d.ts +96 -0
- package/dist/packages/wje-qr-code/qr-code.d.ts +2 -0
- package/dist/packages/wje-qr-code/qr-code.element.d.ts +33 -0
- package/dist/packages/wje-radio/radio.d.ts +2 -0
- package/dist/packages/wje-radio/radio.element.d.ts +53 -0
- package/dist/packages/wje-radio-group/radio-group.d.ts +2 -0
- package/dist/packages/wje-radio-group/radio-group.element.d.ts +137 -0
- package/dist/packages/wje-rate/rate.d.ts +2 -0
- package/dist/packages/wje-rate/rate.element.d.ts +156 -0
- package/dist/packages/wje-relative-time/relative-time.d.ts +2 -0
- package/dist/packages/wje-relative-time/relative-time.element.d.ts +55 -0
- package/dist/packages/wje-relative-time/relative-time.test.d.ts +1 -0
- package/dist/packages/wje-reorder/reorder.d.ts +2 -0
- package/dist/packages/wje-reorder/reorder.element.d.ts +119 -0
- package/dist/packages/wje-reorder-dropzone/reorder-dropzone.d.ts +2 -0
- package/dist/packages/wje-reorder-dropzone/reorder-dropzone.element.d.ts +23 -0
- package/dist/packages/wje-reorder-handle/reorder-handle.d.ts +2 -0
- package/dist/packages/wje-reorder-handle/reorder-handle.element.d.ts +75 -0
- package/dist/packages/wje-reorder-item/reorder-item.d.ts +2 -0
- package/dist/packages/wje-reorder-item/reorder-item.element.d.ts +24 -0
- package/dist/packages/wje-route/route.d.ts +2 -0
- package/dist/packages/wje-route/route.element.d.ts +22 -0
- package/dist/packages/wje-router/router.d.ts +2 -0
- package/dist/packages/wje-router/router.element.d.ts +39 -0
- package/dist/packages/wje-router-link/router-link.d.ts +2 -0
- package/dist/packages/wje-router-link/router-link.element.d.ts +31 -0
- package/dist/packages/wje-router-outlet/router-outlet.d.ts +2 -0
- package/dist/packages/wje-router-outlet/router-outlet.element.d.ts +15 -0
- package/dist/packages/wje-row/row.d.ts +2 -0
- package/dist/packages/wje-row/row.element.d.ts +23 -0
- package/dist/packages/wje-select/select.d.ts +2 -0
- package/dist/packages/wje-select/select.element.d.ts +315 -0
- package/dist/packages/wje-slider/slider.d.ts +2 -0
- package/dist/packages/wje-slider/slider.element.d.ts +103 -0
- package/dist/packages/wje-split-view/service/service.d.ts +1 -0
- package/dist/packages/wje-split-view/split-view.d.ts +2 -0
- package/dist/packages/wje-split-view/split-view.element.d.ts +66 -0
- package/dist/packages/wje-status/status.d.ts +2 -0
- package/dist/packages/wje-status/status.element.d.ts +26 -0
- package/dist/packages/wje-step/step.d.ts +2 -0
- package/dist/packages/wje-step/step.element.d.ts +23 -0
- package/dist/packages/wje-stepper/stepper.d.ts +2 -0
- package/dist/packages/wje-stepper/stepper.element.d.ts +78 -0
- package/dist/packages/wje-store/default-store-actions.d.ts +20 -0
- package/dist/packages/wje-store/pubsub.d.ts +21 -0
- package/dist/packages/wje-store/store.d.ts +153 -0
- package/dist/packages/wje-tab/tab.d.ts +2 -0
- package/dist/packages/wje-tab/tab.element.d.ts +41 -0
- package/dist/packages/wje-tab-group/tab-group.d.ts +2 -0
- package/dist/packages/wje-tab-group/tab-group.element.d.ts +67 -0
- package/dist/packages/wje-tab-panel/tab-panel.d.ts +2 -0
- package/dist/packages/wje-tab-panel/tab-panel.element.d.ts +23 -0
- package/dist/packages/wje-textarea/textarea.d.ts +2 -0
- package/dist/packages/wje-textarea/textarea.element.d.ts +176 -0
- package/dist/packages/wje-thumbnail/thumbnail.d.ts +2 -0
- package/dist/packages/wje-thumbnail/thumbnail.element.d.ts +31 -0
- package/dist/packages/wje-timeline/timeline.d.ts +2 -0
- package/dist/packages/wje-timeline/timeline.element.d.ts +25 -0
- package/dist/packages/wje-timeline-item/timeline-item.d.ts +2 -0
- package/dist/packages/wje-timeline-item/timeline-item.element.d.ts +27 -0
- package/dist/packages/wje-toast/toast.d.ts +2 -0
- package/dist/packages/wje-toast/toast.element.d.ts +173 -0
- package/dist/packages/wje-toast/toast.test.d.ts +1 -0
- package/dist/packages/wje-toggle/toggle.d.ts +2 -0
- package/dist/packages/wje-toggle/toggle.element.d.ts +65 -0
- package/dist/packages/wje-toolbar/toolbar.d.ts +2 -0
- package/dist/packages/wje-toolbar/toolbar.element.d.ts +39 -0
- package/dist/packages/wje-toolbar-action/toolbar-action.d.ts +2 -0
- package/dist/packages/wje-toolbar-action/toolbar-action.element.d.ts +35 -0
- package/dist/packages/wje-tooltip/tooltip.d.ts +2 -0
- package/dist/packages/wje-tooltip/tooltip.element.d.ts +71 -0
- package/dist/packages/wje-visually-hidden/visually-hidden.d.ts +2 -0
- package/dist/packages/wje-visually-hidden/visually-hidden.element.d.ts +29 -0
- package/dist/{popup.element-4DNn6DjX.js → popup.element-tyYxow0p.js} +199 -80
- package/dist/router-links-CJnOdbas.js +0 -1
- package/dist/wje-accordion-item.js +0 -1
- package/dist/wje-accordion.js +0 -1
- package/dist/wje-animation.js +2 -5
- package/dist/wje-aside.js +0 -1
- package/dist/wje-avatar.js +0 -1
- package/dist/wje-badge.js +0 -1
- package/dist/wje-breadcrumb.js +0 -1
- package/dist/wje-breadcrumbs.js +0 -1
- package/dist/wje-button-group.js +0 -1
- package/dist/wje-button.js +0 -1
- package/dist/wje-card-content.js +0 -1
- package/dist/wje-card-controls.js +0 -1
- package/dist/wje-card-header.js +0 -1
- package/dist/wje-card-subtitle.js +0 -1
- package/dist/wje-card-title.js +0 -1
- package/dist/wje-card.js +0 -1
- package/dist/wje-carousel-item.js +0 -1
- package/dist/wje-carousel.js +0 -1
- package/dist/wje-checkbox.js +0 -1
- package/dist/wje-chip.js +0 -1
- package/dist/wje-col.js +0 -1
- package/dist/wje-color-picker.js +0 -1
- package/dist/wje-container.js +0 -1
- package/dist/wje-copy-button.js +0 -1
- package/dist/wje-dialog.js +29 -3
- package/dist/wje-divider.js +0 -1
- package/dist/wje-dropdown.js +1 -2
- package/dist/wje-element.js +0 -1
- package/dist/wje-fetchAndParseCSS.js +0 -1
- package/dist/wje-file-upload-item.js +0 -1
- package/dist/wje-file-upload.js +29 -14
- package/dist/wje-footer.js +0 -1
- package/dist/wje-form.js +0 -1
- package/dist/wje-format-digital.js +0 -1
- package/dist/wje-grid.js +0 -1
- package/dist/wje-header.js +0 -1
- package/dist/wje-icon-picker.js +1 -2
- package/dist/wje-icon.js +0 -1
- package/dist/wje-img-comparer.js +0 -1
- package/dist/wje-img.js +0 -1
- package/dist/wje-infinite-scroll.js +0 -1
- package/dist/wje-input-file.js +0 -1
- package/dist/wje-input.js +0 -1
- package/dist/wje-item.js +0 -1
- package/dist/wje-kanban.js +0 -1
- package/dist/wje-label.js +0 -1
- package/dist/wje-list.js +0 -1
- package/dist/wje-main.js +0 -1
- package/dist/wje-masonry.js +1 -3
- package/dist/wje-master.js +4 -9
- package/dist/wje-menu-button.js +0 -1
- package/dist/wje-menu-item.js +0 -1
- package/dist/wje-menu-label.js +0 -1
- package/dist/wje-menu.js +0 -1
- package/dist/wje-option.js +0 -1
- package/dist/wje-options.js +0 -1
- package/dist/wje-orgchart-group.js +0 -1
- package/dist/wje-orgchart-item.js +0 -1
- package/dist/wje-orgchart.js +0 -1
- package/dist/wje-popup.js +1 -2
- package/dist/wje-progress-bar.js +0 -1
- package/dist/wje-qr-code.js +2684 -2679
- package/dist/wje-radio-group.js +0 -1
- package/dist/wje-radio.js +0 -1
- package/dist/wje-rate.js +0 -1
- package/dist/wje-relative-time.js +0 -1
- package/dist/wje-reorder-dropzone.js +0 -1
- package/dist/wje-reorder-handle.js +0 -1
- package/dist/wje-reorder-item.js +0 -1
- package/dist/wje-reorder.js +0 -1
- package/dist/wje-route.js +0 -1
- package/dist/wje-router-link.js +0 -1
- package/dist/wje-router-outlet.js +0 -1
- package/dist/wje-routerx.js +0 -1
- package/dist/wje-row.js +0 -1
- package/dist/wje-select.js +1 -2
- package/dist/wje-slider.js +0 -1
- package/dist/wje-sliding-container.js +0 -1
- package/dist/wje-split-view.js +0 -1
- package/dist/wje-status.js +0 -1
- package/dist/wje-step.js +0 -1
- package/dist/wje-stepper.js +0 -1
- package/dist/wje-store.js +7 -7
- package/dist/wje-tab-group.js +0 -1
- package/dist/wje-tab-panel.js +0 -1
- package/dist/wje-tab.js +0 -1
- package/dist/wje-textarea.js +0 -1
- package/dist/wje-thumbnail.js +0 -1
- package/dist/wje-toast.js +0 -1
- package/dist/wje-toggle.js +0 -1
- package/dist/wje-toolbar-action.js +0 -1
- package/dist/wje-toolbar.js +0 -1
- package/dist/wje-tooltip.js +0 -1
- package/dist/wje-visually-hidden.js +0 -1
- package/package.json +20 -8
- package/dist/infinite-scroll.element-XVJukzjy.js.map +0 -1
- package/dist/list.element-Ce1vIm1O.js.map +0 -1
- package/dist/localize.js.map +0 -1
- package/dist/popup.element-4DNn6DjX.js.map +0 -1
- package/dist/router-links-CJnOdbas.js.map +0 -1
- package/dist/wje-accordion-item.js.map +0 -1
- package/dist/wje-accordion.js.map +0 -1
- package/dist/wje-animation.js.map +0 -1
- package/dist/wje-aside.js.map +0 -1
- package/dist/wje-avatar.js.map +0 -1
- package/dist/wje-badge.js.map +0 -1
- package/dist/wje-breadcrumb.js.map +0 -1
- package/dist/wje-breadcrumbs.js.map +0 -1
- package/dist/wje-button-group.js.map +0 -1
- package/dist/wje-button.js.map +0 -1
- package/dist/wje-card-content.js.map +0 -1
- package/dist/wje-card-controls.js.map +0 -1
- package/dist/wje-card-header.js.map +0 -1
- package/dist/wje-card-subtitle.js.map +0 -1
- package/dist/wje-card-title.js.map +0 -1
- package/dist/wje-card.js.map +0 -1
- package/dist/wje-carousel-item.js.map +0 -1
- package/dist/wje-carousel.js.map +0 -1
- package/dist/wje-checkbox.js.map +0 -1
- package/dist/wje-chip.js.map +0 -1
- package/dist/wje-col.js.map +0 -1
- package/dist/wje-color-picker.js.map +0 -1
- package/dist/wje-container.js.map +0 -1
- package/dist/wje-copy-button.js.map +0 -1
- package/dist/wje-dialog.js.map +0 -1
- package/dist/wje-divider.js.map +0 -1
- package/dist/wje-dropdown.js.map +0 -1
- package/dist/wje-element.js.map +0 -1
- package/dist/wje-fetchAndParseCSS.js.map +0 -1
- package/dist/wje-file-upload-item.js.map +0 -1
- package/dist/wje-file-upload.js.map +0 -1
- package/dist/wje-footer.js.map +0 -1
- package/dist/wje-form.js.map +0 -1
- package/dist/wje-format-digital.js.map +0 -1
- package/dist/wje-grid.js.map +0 -1
- package/dist/wje-header.js.map +0 -1
- package/dist/wje-icon-picker.js.map +0 -1
- package/dist/wje-icon.js.map +0 -1
- package/dist/wje-img-comparer.js.map +0 -1
- package/dist/wje-img.js.map +0 -1
- package/dist/wje-infinite-scroll.js.map +0 -1
- package/dist/wje-input-file.js.map +0 -1
- package/dist/wje-input.js.map +0 -1
- package/dist/wje-item.js.map +0 -1
- package/dist/wje-kanban.js.map +0 -1
- package/dist/wje-label.js.map +0 -1
- package/dist/wje-list.js.map +0 -1
- package/dist/wje-main.js.map +0 -1
- package/dist/wje-masonry.js.map +0 -1
- package/dist/wje-master.js.map +0 -1
- package/dist/wje-menu-button.js.map +0 -1
- package/dist/wje-menu-item.js.map +0 -1
- package/dist/wje-menu-label.js.map +0 -1
- package/dist/wje-menu.js.map +0 -1
- package/dist/wje-option.js.map +0 -1
- package/dist/wje-options.js.map +0 -1
- package/dist/wje-orgchart-group.js.map +0 -1
- package/dist/wje-orgchart-item.js.map +0 -1
- package/dist/wje-orgchart.js.map +0 -1
- package/dist/wje-popup.js.map +0 -1
- package/dist/wje-progress-bar.js.map +0 -1
- package/dist/wje-qr-code.js.map +0 -1
- package/dist/wje-radio-group.js.map +0 -1
- package/dist/wje-radio.js.map +0 -1
- package/dist/wje-rate.js.map +0 -1
- package/dist/wje-relative-time.js.map +0 -1
- package/dist/wje-reorder-dropzone.js.map +0 -1
- package/dist/wje-reorder-handle.js.map +0 -1
- package/dist/wje-reorder-item.js.map +0 -1
- package/dist/wje-reorder.js.map +0 -1
- package/dist/wje-route.js.map +0 -1
- package/dist/wje-router-link.js.map +0 -1
- package/dist/wje-router-outlet.js.map +0 -1
- package/dist/wje-routerx.js.map +0 -1
- package/dist/wje-row.js.map +0 -1
- package/dist/wje-select.js.map +0 -1
- package/dist/wje-slider.js.map +0 -1
- package/dist/wje-sliding-container.js.map +0 -1
- package/dist/wje-split-view.js.map +0 -1
- package/dist/wje-status.js.map +0 -1
- package/dist/wje-step.js.map +0 -1
- package/dist/wje-stepper.js.map +0 -1
- package/dist/wje-store.js.map +0 -1
- package/dist/wje-tab-group.js.map +0 -1
- package/dist/wje-tab-panel.js.map +0 -1
- package/dist/wje-tab.js.map +0 -1
- package/dist/wje-textarea.js.map +0 -1
- package/dist/wje-thumbnail.js.map +0 -1
- package/dist/wje-toast.js.map +0 -1
- package/dist/wje-toggle.js.map +0 -1
- package/dist/wje-toolbar-action.js.map +0 -1
- package/dist/wje-toolbar.js.map +0 -1
- package/dist/wje-tooltip.js.map +0 -1
- package/dist/wje-tree-item.js +0 -121
- package/dist/wje-tree-item.js.map +0 -1
- package/dist/wje-tree.js +0 -68
- package/dist/wje-tree.js.map +0 -1
- package/dist/wje-visually-hidden.js.map +0 -1
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { default as WJElement } from '../wje-element/element.js';
|
|
2
|
+
/**
|
|
3
|
+
* `Timeline` is a custom web component that represents a timeline.
|
|
4
|
+
* @summary This element represents a timeline.
|
|
5
|
+
* @documentation https://elements.webjet.sk/components/timeline
|
|
6
|
+
* @status stable
|
|
7
|
+
* @augments WJElement
|
|
8
|
+
* @slot - Slot for the timeline items.
|
|
9
|
+
* @csspart native - The native part of the rating component.
|
|
10
|
+
* @csspart vertical-line - The vertical line part of the rating component.
|
|
11
|
+
* @tag wje-timeline
|
|
12
|
+
*/
|
|
13
|
+
export default class Timeline extends WJElement {
|
|
14
|
+
/**
|
|
15
|
+
* Returns the CSS stylesheet for the component.
|
|
16
|
+
* @static
|
|
17
|
+
* @returns {CSSStyleSheet} The CSS stylesheet
|
|
18
|
+
*/
|
|
19
|
+
static get cssStyleSheet(): CSSStyleSheet;
|
|
20
|
+
/**
|
|
21
|
+
* Draws the component for the timeline.
|
|
22
|
+
* @returns {DocumentFragment}
|
|
23
|
+
*/
|
|
24
|
+
draw(): DocumentFragment;
|
|
25
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { default as WJElement } from '../wje-element/element.js';
|
|
2
|
+
/**
|
|
3
|
+
* The TimelineItem component.
|
|
4
|
+
* @summary This element represents a timeline item.
|
|
5
|
+
* @documentation https://elements.webjet.sk/components/timeline-item
|
|
6
|
+
* @status stable
|
|
7
|
+
* @augments {WJElement}
|
|
8
|
+
* @csspart native - The native part of the timeline item.
|
|
9
|
+
* @csspart content-container - The content container part of the timeline item.
|
|
10
|
+
* @csspart default-icon - The default icon part of the timeline item.
|
|
11
|
+
* @slot - Slot for the content of the timeline item.
|
|
12
|
+
* @slot status - Slot for the status of the timeline item.
|
|
13
|
+
* @tag wje-timeline-item
|
|
14
|
+
*/
|
|
15
|
+
export default class TimelineItem extends WJElement {
|
|
16
|
+
/**
|
|
17
|
+
* Returns the CSS styles for the component.
|
|
18
|
+
* @static
|
|
19
|
+
* @returns {CSSStyleSheet}
|
|
20
|
+
*/
|
|
21
|
+
static get cssStyleSheet(): CSSStyleSheet;
|
|
22
|
+
/**
|
|
23
|
+
* Draws the component for the timeline item.
|
|
24
|
+
* @returns {DocumentFragment}
|
|
25
|
+
*/
|
|
26
|
+
draw(): DocumentFragment;
|
|
27
|
+
}
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import { default as WJElement } from '../wje-element/element.js';
|
|
2
|
+
/**
|
|
3
|
+
* `Toast` is a custom web component that represents a toast notification.
|
|
4
|
+
* @summary This element represents a toast notification.
|
|
5
|
+
* @documentation https://elements.webjet.sk/components/toast
|
|
6
|
+
* @status stable
|
|
7
|
+
* @augments {WJElement}
|
|
8
|
+
* @csspart native - The native part
|
|
9
|
+
* @cssproperty {string} headline - Specifies the headline text of the toast. Represents the main title or heading displayed in the toast.
|
|
10
|
+
* @cssproperty {boolean} open - Indicates whether the toast is currently open (visible). A value of `true` shows the toast, while `false` hides it.
|
|
11
|
+
* @cssproperty {number} duration - Determines the duration (in milliseconds) for which the toast is displayed. After this time, the toast will automatically close unless it is manually closed.
|
|
12
|
+
* @cssproperty {boolean} closable - Specifies whether the toast can be manually closed by the user. If `true`, the toast will include a close button or mechanism.
|
|
13
|
+
* @cssproperty {string} color - Defines the color of the toast. Accepts any valid CSS color value such as `hex`, `RGB`, or named colors.
|
|
14
|
+
* @cssproperty {boolean} countdown - Indicates whether a countdown is displayed in the toast. When `true`, a visual countdown timer is shown to indicate the remaining time before the toast closes.
|
|
15
|
+
* @slot - The content of the toast.
|
|
16
|
+
* @slot media - The media of the toast.
|
|
17
|
+
* // @fires wje-toast:after-show - Fired after the toast is shown.
|
|
18
|
+
* // @fires wje-toast:after-hide - Fired after the toast is hidden.
|
|
19
|
+
*/
|
|
20
|
+
export default class Toast extends WJElement {
|
|
21
|
+
/**
|
|
22
|
+
* Returns the CSS stylesheet for the component.
|
|
23
|
+
* @static
|
|
24
|
+
* @returns {CSSStyleSheet} The CSS stylesheet
|
|
25
|
+
*/
|
|
26
|
+
static get cssStyleSheet(): CSSStyleSheet;
|
|
27
|
+
toastStack: HTMLDivElement & {
|
|
28
|
+
className: string;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Set headline value of the toast.
|
|
32
|
+
* @param value
|
|
33
|
+
*/
|
|
34
|
+
set headline(value: string);
|
|
35
|
+
/**
|
|
36
|
+
* Get headline value of the toast.
|
|
37
|
+
* @returns {string}
|
|
38
|
+
*/
|
|
39
|
+
get headline(): string;
|
|
40
|
+
/**
|
|
41
|
+
* Set open value of the toast.
|
|
42
|
+
* @param value
|
|
43
|
+
*/
|
|
44
|
+
set open(value: boolean);
|
|
45
|
+
/**
|
|
46
|
+
* Get open value of the toast.
|
|
47
|
+
* @returns {boolean}
|
|
48
|
+
*/
|
|
49
|
+
get open(): boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Set duration value of the toast.
|
|
52
|
+
* @param value
|
|
53
|
+
*/
|
|
54
|
+
set duration(value: number);
|
|
55
|
+
/**
|
|
56
|
+
* Get duration value of the toast.
|
|
57
|
+
* @returns {number}
|
|
58
|
+
*/
|
|
59
|
+
get duration(): number;
|
|
60
|
+
/**
|
|
61
|
+
* Set closable value of the toast.
|
|
62
|
+
* @param value
|
|
63
|
+
*/
|
|
64
|
+
set closable(value: boolean);
|
|
65
|
+
/**
|
|
66
|
+
* Get closable value of the toast.
|
|
67
|
+
* @returns {boolean}
|
|
68
|
+
*/
|
|
69
|
+
get closable(): boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Set color value of the toast.
|
|
72
|
+
* @param value
|
|
73
|
+
*/
|
|
74
|
+
set color(value: string);
|
|
75
|
+
/**
|
|
76
|
+
* Get color value of the toast.
|
|
77
|
+
* @returns {string}
|
|
78
|
+
*/
|
|
79
|
+
get color(): string;
|
|
80
|
+
/**
|
|
81
|
+
* Set countdown value of the toast.
|
|
82
|
+
* @param value
|
|
83
|
+
*/
|
|
84
|
+
set countdown(value: boolean);
|
|
85
|
+
/**
|
|
86
|
+
* Get countdown value of the toast.
|
|
87
|
+
* @returns {boolean}
|
|
88
|
+
*/
|
|
89
|
+
get countdown(): boolean;
|
|
90
|
+
/**
|
|
91
|
+
* Set icon value of the toast.
|
|
92
|
+
* @param value
|
|
93
|
+
*/
|
|
94
|
+
set icon(value: string);
|
|
95
|
+
/**
|
|
96
|
+
* Get icon value of the toast.
|
|
97
|
+
* @returns {string}
|
|
98
|
+
*/
|
|
99
|
+
get icon(): string;
|
|
100
|
+
/**
|
|
101
|
+
* Draw method for the toast notification.
|
|
102
|
+
* @returns {object} Document fragment
|
|
103
|
+
*/
|
|
104
|
+
draw(): object;
|
|
105
|
+
closeBtn: HTMLElement;
|
|
106
|
+
countdownBar: HTMLDivElement;
|
|
107
|
+
/**
|
|
108
|
+
* After draw method for the toast notification.
|
|
109
|
+
*/
|
|
110
|
+
afterDraw(): void;
|
|
111
|
+
countdownAnimation: Animation;
|
|
112
|
+
remainingTime: number;
|
|
113
|
+
/**
|
|
114
|
+
* Starts the timer.
|
|
115
|
+
* This method sets the `startTime` property to the current time and sets
|
|
116
|
+
* the `timeoutID` property to the ID of the timeout. The method also
|
|
117
|
+
* dispatches the `wje-toast:after-hide` custom event when the timeout
|
|
118
|
+
* expires.
|
|
119
|
+
*/
|
|
120
|
+
startTimer(): void;
|
|
121
|
+
startTime: number;
|
|
122
|
+
timeoutID: number;
|
|
123
|
+
/**
|
|
124
|
+
* Stops the timer.
|
|
125
|
+
* This method clears the timeout and calculates the remaining time.
|
|
126
|
+
* The method is called when the toast notification is paused.
|
|
127
|
+
*/
|
|
128
|
+
stopTimer(): void;
|
|
129
|
+
/**
|
|
130
|
+
* Resumes the timer.
|
|
131
|
+
* This method resumes the timer if the remaining time is greater
|
|
132
|
+
* than zero. The method is called when the toast notification is resumed.
|
|
133
|
+
*/
|
|
134
|
+
resumeTimer(): void;
|
|
135
|
+
/**
|
|
136
|
+
* Asynchronously shows the toast notification.
|
|
137
|
+
* This method sets the `open` property to `true` and dispatches the
|
|
138
|
+
* `wje-toast:after-show` custom event. If the toast is already open,
|
|
139
|
+
* the method returns `undefined`.
|
|
140
|
+
*/
|
|
141
|
+
show: () => void;
|
|
142
|
+
/**
|
|
143
|
+
* Asynchronously hides the toast notification.
|
|
144
|
+
* This method sets the `open` property to `false` and dispatches the
|
|
145
|
+
* `wje-toast:after-hide` custom event. If the toast is already hidden,
|
|
146
|
+
* the method returns `undefined`.
|
|
147
|
+
*/
|
|
148
|
+
hide: () => void;
|
|
149
|
+
/**
|
|
150
|
+
* Pauses the countdown animation and stops the timer.
|
|
151
|
+
*/
|
|
152
|
+
pause: () => void;
|
|
153
|
+
/**
|
|
154
|
+
* Resumes the countdown animation and resumes the timer.
|
|
155
|
+
*/
|
|
156
|
+
resume: () => void;
|
|
157
|
+
/**
|
|
158
|
+
* Removes the toast notification and the toast stack.
|
|
159
|
+
*
|
|
160
|
+
* This method removes the toast notification from the toast stack and
|
|
161
|
+
* removes the toast stack from the document body if the toast stack is
|
|
162
|
+
* empty.
|
|
163
|
+
*/
|
|
164
|
+
removeChildAndStack(): void;
|
|
165
|
+
/**
|
|
166
|
+
* Asynchronously starts the toast notification.
|
|
167
|
+
* This method appends the toast notification to the document body and
|
|
168
|
+
* shows the toast notification. The method returns a promise that
|
|
169
|
+
* resolves when the toast notification is shown.
|
|
170
|
+
* @returns {Promise<unknown>}
|
|
171
|
+
*/
|
|
172
|
+
start: () => Promise<unknown>;
|
|
173
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { default as WJElement } from '../wje-element/element.js';
|
|
2
|
+
/**
|
|
3
|
+
* `Toggle` is a custom web component that represents a toggle input.
|
|
4
|
+
* @summary This element represents a toggle input.
|
|
5
|
+
* @documentation https://elements.webjet.sk/components/toggle
|
|
6
|
+
* @status stable
|
|
7
|
+
* @augments {WJElement}
|
|
8
|
+
* @csspart native - The native toggle wrapper.
|
|
9
|
+
* @csspart input - The toggle input.
|
|
10
|
+
* @csspart toggle - The toggle part.
|
|
11
|
+
* @slot - The default slot for the toggle.
|
|
12
|
+
* @cssproperty [--wje-toggle-color-base=var(--wje-color-contrast-3)] - The base background color of the toggle. Defines the default background color when the toggle is in an unselected state.
|
|
13
|
+
* @cssproperty [--wje-toggle-width=30px] - The overall width of the toggle switch. Determines how wide the toggle component appears.
|
|
14
|
+
* @cssproperty [--wje-toggle-height=18px] - The overall height of the toggle switch. Specifies how tall the toggle component appears.
|
|
15
|
+
* @cssproperty [--wje-toggle-border-radius=50px] - The border radius of the toggle. Controls how rounded the corners of the toggle are.
|
|
16
|
+
* @cssproperty [--wje-toggle-handle-width=14px] - The width of the toggle handle (knob). Determines the size of the handle for user interaction.
|
|
17
|
+
* @cssproperty [--wje-toggle-handle-height=14px] - The height of the toggle handle (knob). Specifies the vertical size of the handle.
|
|
18
|
+
* @cssproperty [--wje-toggle-handle-border-radius=9px] - The border radius of the toggle handle. Controls how rounded the handle is.
|
|
19
|
+
* @cssproperty [--wje-toggle-handle-color=#fff] - The color of the toggle handle. Accepts any valid CSS color, such as `hex`, `rgb`, or `css variable`.
|
|
20
|
+
* @cssproperty [--wje-toggle-handle-shadow=1px 0 1px 0.5px rgba(0,0,0,0.12), 2px 4px 6px rgba(0,0,0,0.2)] - The shadow applied to the toggle handle. Adds a subtle shadow effect for better visual clarity.
|
|
21
|
+
* @cssproperty [--wje-toggle-handle-shadow-checked=1px 1px 0 rgba(0,0,0,0.08), -3px 3px 6px rgba(0,0,0,0.3)] - The shadow applied to the toggle handle when it is in the checked (on) state. Provides visual feedback to indicate the toggle state.
|
|
22
|
+
* @cssproperty [--wje-toggle-duration=250ms] - The duration of the toggle animation in milliseconds. Controls how long the toggle animation lasts during state changes.
|
|
23
|
+
* @cssproperty [--wje-toggle-curve=cubic-bezier(.4,0,.2,1)] - The easing curve used for the toggle animation. Defines the speed curve for the animation, enhancing the user experience with smooth transitions.
|
|
24
|
+
* @tag wje-toggle
|
|
25
|
+
*/
|
|
26
|
+
export default class Toggle extends WJElement {
|
|
27
|
+
/**
|
|
28
|
+
* Get CSS stylesheet for the Button element.
|
|
29
|
+
* @static
|
|
30
|
+
* @returns {CSSStyleSheet} styles - The CSS stylesheet for the Button element.
|
|
31
|
+
*/
|
|
32
|
+
static get cssStyleSheet(): CSSStyleSheet;
|
|
33
|
+
/**
|
|
34
|
+
* Get observed attributes for the toggle element.
|
|
35
|
+
* @returns {string[]}
|
|
36
|
+
*/
|
|
37
|
+
static get observedAttributes(): string[];
|
|
38
|
+
/**
|
|
39
|
+
* Set checked attribute for the toggle element.
|
|
40
|
+
*/
|
|
41
|
+
set disabled(value: boolean);
|
|
42
|
+
/**
|
|
43
|
+
* Get checked attribute for the toggle element.
|
|
44
|
+
* @returns {boolean} true if the toggle is disabled, false otherwise
|
|
45
|
+
*/
|
|
46
|
+
get disabled(): boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Set checked attribute for the toggle element.
|
|
49
|
+
*/
|
|
50
|
+
set checked(value: boolean);
|
|
51
|
+
/**
|
|
52
|
+
* Get checked attribute for the toggle element.
|
|
53
|
+
* @returns {boolean} true if the toggle is checked, false otherwise
|
|
54
|
+
*/
|
|
55
|
+
get checked(): boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Draw the toggle element for the component.
|
|
58
|
+
*/
|
|
59
|
+
draw(): DocumentFragment;
|
|
60
|
+
input: HTMLInputElement;
|
|
61
|
+
/**
|
|
62
|
+
* After draw method for the toggle element to add event listeners for the input element after the element is drawn.
|
|
63
|
+
*/
|
|
64
|
+
afterDraw(): void;
|
|
65
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { default as WJElement } from '../wje-element/element.js';
|
|
2
|
+
/**
|
|
3
|
+
* `Toolbar` is a custom web component that represents a toolbar.
|
|
4
|
+
* @summary This element represents a toolbar.
|
|
5
|
+
* @documentation https://elements.webjet.sk/components/toolbar
|
|
6
|
+
* @status stable
|
|
7
|
+
* @augments {WJElement}
|
|
8
|
+
* @csspart native - The native toolbar wrapper.
|
|
9
|
+
* @slot start - The start slot for the toolbar.
|
|
10
|
+
* @slot end - The end slot for the toolbar.
|
|
11
|
+
* @cssproperty [--wje-toolbar-background=var(--wje-background)] - Specifies the background color of the toolbar. Accepts any valid CSS color value, such as `hex`, `rgb`, or `CSS variable`.
|
|
12
|
+
* @cssproperty [--wje-toolbar-height=auto] - Defines the height of the toolbar. If set to `auto`, the height adjusts based on the content.
|
|
13
|
+
* @cssproperty [--wje-toolbar-min-height=70px] - Sets the minimum height of the toolbar. Ensures the toolbar maintains a consistent minimum size.
|
|
14
|
+
* @cssproperty [--wje-toolbar-padding-top=1rem] - Specifies the padding at the top of the toolbar. Accepts any valid CSS length unit.
|
|
15
|
+
* @cssproperty [--wje-toolbar-padding-bottom=1rem] - Specifies the padding at the bottom of the toolbar. Helps create spacing between the content and the bottom edge.
|
|
16
|
+
* @cssproperty [--wje-toolbar-padding-inline=1.5rem] - Defines the horizontal padding (left and right) of the toolbar. Creates consistent spacing on both sides.
|
|
17
|
+
* @cssproperty [--wje-toolbar-border-color=var(--wje-border-color)] - Sets the color of the toolbar's border. Accepts any valid CSS color value.
|
|
18
|
+
* @cssproperty [--wje-toolbar-top=0] - Specifies the vertical position of the toolbar relative to its container. Useful for fixed or sticky toolbars.
|
|
19
|
+
* @tag wje-toolbar
|
|
20
|
+
*/
|
|
21
|
+
export default class Toolbar extends WJElement {
|
|
22
|
+
/**
|
|
23
|
+
* Returns the CSS stylesheet for the component.
|
|
24
|
+
* @static
|
|
25
|
+
* @returns {CSSStyleSheet} The CSS stylesheet
|
|
26
|
+
*/
|
|
27
|
+
static get cssStyleSheet(): CSSStyleSheet;
|
|
28
|
+
/**
|
|
29
|
+
* Returns the list of observed attributes.
|
|
30
|
+
* @static
|
|
31
|
+
* @returns {Array} An empty array
|
|
32
|
+
*/
|
|
33
|
+
static get observedAttributes(): any[];
|
|
34
|
+
/**
|
|
35
|
+
* Draws the component for the toolbar.
|
|
36
|
+
* @returns {object} Document fragment
|
|
37
|
+
*/
|
|
38
|
+
draw(): object;
|
|
39
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { default as WJElement } from '../wje-element/element.js';
|
|
2
|
+
/**
|
|
3
|
+
* `ToolbarAction` is a custom web component that represents a toolbar action.
|
|
4
|
+
* @summary This element represents a toolbar action.
|
|
5
|
+
* @documentation https://elements.webjet.sk/components/toolbar-action
|
|
6
|
+
* @status stable
|
|
7
|
+
* @augments {WJElement}
|
|
8
|
+
* @csspart native - The native toolbar action wrapper.
|
|
9
|
+
* @slot - The default slot for the toolbar action.
|
|
10
|
+
* @tag wje-toolbar-action
|
|
11
|
+
*/
|
|
12
|
+
export default class ToolbarAction extends WJElement {
|
|
13
|
+
/**
|
|
14
|
+
* Returns the CSS stylesheet for the component.
|
|
15
|
+
* @static
|
|
16
|
+
* @returns {CSSStyleSheet} The CSS stylesheet
|
|
17
|
+
*/
|
|
18
|
+
static get cssStyleSheet(): CSSStyleSheet;
|
|
19
|
+
/**
|
|
20
|
+
* Returns the list of observed attributes.
|
|
21
|
+
* @static
|
|
22
|
+
* @returns {Array} An empty array
|
|
23
|
+
*/
|
|
24
|
+
static get observedAttributes(): any[];
|
|
25
|
+
/**
|
|
26
|
+
* Draws the component for the toolbar action.
|
|
27
|
+
* @returns {object} Document fragment
|
|
28
|
+
*/
|
|
29
|
+
draw(): object;
|
|
30
|
+
/**
|
|
31
|
+
* Returns the actions for the toolbar action.
|
|
32
|
+
* @returns {Array} An array of wje-button elements
|
|
33
|
+
*/
|
|
34
|
+
getActions(): any[];
|
|
35
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { default as WJElement } from '../wje-element/element.js';
|
|
2
|
+
/**
|
|
3
|
+
* `Tooltip` is a custom web component that represents a tooltip.
|
|
4
|
+
* @summary This element represents a tooltip.
|
|
5
|
+
* @documentation https://elements.webjet.sk/components/tooltip
|
|
6
|
+
* @status stable
|
|
7
|
+
* @augments {WJElement}
|
|
8
|
+
* @attribute {string} content - The content of the tooltip element. Accepts any valid string value.
|
|
9
|
+
* @slot arrow - The arrow slot for the tooltip.
|
|
10
|
+
* @slot anchor - The anchor slot for the tooltip.
|
|
11
|
+
* @csspart native - The native tooltip wrapper.
|
|
12
|
+
* @cssproperty [--wje-tooltip-arrow-color=var(--wje-color-contrast-11)] - Specifies the color of the tooltip's arrow. This property determines the visual color of the arrow that points to the element the tooltip is attached to. Accepts any valid CSS color value such as `hex`, `rgb`, or `CSS variable`.
|
|
13
|
+
* @tag wje-tooltip
|
|
14
|
+
*/
|
|
15
|
+
export default class Tooltip extends WJElement {
|
|
16
|
+
/**
|
|
17
|
+
* Returns the CSS stylesheet for the component.
|
|
18
|
+
* @static
|
|
19
|
+
* @returns {CSSStyleSheet} The CSS stylesheet
|
|
20
|
+
*/
|
|
21
|
+
static get cssStyleSheet(): CSSStyleSheet;
|
|
22
|
+
/**
|
|
23
|
+
* Returns the list of observed attributes.
|
|
24
|
+
* @static
|
|
25
|
+
* @returns {Array} An array of observed attributes
|
|
26
|
+
*/
|
|
27
|
+
static get observedAttributes(): any[];
|
|
28
|
+
/**
|
|
29
|
+
* Set active attribute for the tooltip element.
|
|
30
|
+
* @param value
|
|
31
|
+
*/
|
|
32
|
+
set content(value: string);
|
|
33
|
+
/**
|
|
34
|
+
* Get active attribute for the tooltip element.
|
|
35
|
+
* @returns {string}
|
|
36
|
+
*/
|
|
37
|
+
get content(): string;
|
|
38
|
+
/**
|
|
39
|
+
* Draws the component for the tooltip.
|
|
40
|
+
* @returns {object} Document fragment
|
|
41
|
+
*/
|
|
42
|
+
draw(): object;
|
|
43
|
+
mySlot: HTMLSlotElement;
|
|
44
|
+
popup: HTMLElement;
|
|
45
|
+
native: HTMLDivElement;
|
|
46
|
+
/**
|
|
47
|
+
* Draws the component for the tooltip.
|
|
48
|
+
*/
|
|
49
|
+
afterDraw(): void;
|
|
50
|
+
dispatch(customEvent: any): Promise<any>;
|
|
51
|
+
beforeShow(): string;
|
|
52
|
+
afterShow(): boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Handles the logic for showing the component's popup or tooltip.
|
|
55
|
+
* Adds the `active` class, invokes lifecycle hooks, and manages the popup visibility.
|
|
56
|
+
* @throws {Error} If the `beforeShow` method returns a non-string value or `false`.
|
|
57
|
+
*/
|
|
58
|
+
onShow: () => void;
|
|
59
|
+
/**
|
|
60
|
+
* Hides the component's popup or tooltip.
|
|
61
|
+
* Removes the `active` class from the component and hides the popup element.
|
|
62
|
+
*/
|
|
63
|
+
onHide: () => void;
|
|
64
|
+
/**
|
|
65
|
+
* Validates if the specified selector exists within the provided element.
|
|
66
|
+
* Logs an error if the selector is not found and returns the found element or `null`.
|
|
67
|
+
* @param {HTMLElement} anchorEl The root element to search within.
|
|
68
|
+
* @returns {HTMLElement|null} The first element matching the selector, or `null` if not found.
|
|
69
|
+
*/
|
|
70
|
+
checkSelector(anchorEl: HTMLElement): HTMLElement | null;
|
|
71
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { default as WJElement } from '../wje-element/element.js';
|
|
2
|
+
/**
|
|
3
|
+
* `VisuallyHidden` is a custom web component that represents a visually hidden element.
|
|
4
|
+
* @summary This element represents a visually hidden element.
|
|
5
|
+
* @documentation https://elements.webjet.sk/components/visually-hidden
|
|
6
|
+
* @status stable
|
|
7
|
+
* @augments {WJElement}
|
|
8
|
+
* @slot - The default slot for the visually hidden element.
|
|
9
|
+
* @tag wje-visually-hidden
|
|
10
|
+
*/
|
|
11
|
+
export default class VisuallyHidden extends WJElement {
|
|
12
|
+
/**
|
|
13
|
+
* Returns the CSS stylesheet for the component.
|
|
14
|
+
* @static
|
|
15
|
+
* @returns {CSSStyleSheet} The CSS stylesheet
|
|
16
|
+
*/
|
|
17
|
+
static get cssStyleSheet(): CSSStyleSheet;
|
|
18
|
+
/**
|
|
19
|
+
* Returns the list of observed attributes.
|
|
20
|
+
* @static
|
|
21
|
+
* @returns {Array} An empty array
|
|
22
|
+
*/
|
|
23
|
+
static get observedAttributes(): any[];
|
|
24
|
+
/**
|
|
25
|
+
* Draws the component for the visually hidden element.
|
|
26
|
+
* @returns {object} Document fragment
|
|
27
|
+
*/
|
|
28
|
+
draw(): object;
|
|
29
|
+
}
|