xv-webcomponents 1.24.11-qa.0 → 2.0.0-beta.2
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/LICENSE +21 -21
- package/README.md +248 -129
- package/dist/angular/angular-component-lib/utils.d.ts +9 -0
- package/dist/angular/angular-component-lib/utils.js +58 -0
- package/dist/angular/index.d.ts +4 -0
- package/dist/angular/index.js +57 -0
- package/dist/angular/proxies.d.ts +670 -0
- package/dist/angular/proxies.js +1658 -0
- package/dist/angular/web-components.module.d.ts +7 -0
- package/dist/angular/web-components.module.js +171 -0
- package/dist/cjs/_vars-DMytunQw.js +26 -0
- package/dist/cjs/{index-Cb30DBqk.js → index-Cfa6bBQW.js} +2 -0
- package/dist/cjs/{index-DpLAFt0R.js → index-Cixkr3sz.js} +387 -1796
- package/dist/cjs/index.cjs.js +4 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/maplibre-gl-BIvnXGyX.js +884 -0
- package/dist/cjs/xv-accordion-v2_50.cjs.entry.js +533 -482
- package/dist/cjs/xv-header-next.cjs.entry.js +10 -8
- package/dist/cjs/xv-mega-menu-next.cjs.entry.js +4 -4
- package/dist/cjs/xv-webcomponents.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/xv-accordion/xv-accordion.js +1 -1
- package/dist/collection/components/xv-accordion-item/xv-accordion-item.js +1 -1
- package/dist/collection/components/xv-breadcrumbs/xv-breadcrumbs.js +1 -1
- package/dist/collection/components/xv-button/xv-button.js +2 -1
- package/dist/collection/components/xv-button-group/xv-button-group.js +3 -3
- package/dist/collection/components/xv-card/xv-card.js +1 -1
- package/dist/collection/components/xv-checkbox/xv-checkbox.js +4 -3
- package/dist/collection/components/xv-content-switcher/xv-content-switcher-item/xv-content-switcher-item.js +1 -1
- package/dist/collection/components/xv-content-switcher/xv-content-switcher.js +7 -6
- package/dist/collection/components/xv-data-table/xv-data-table-cell/xv-data-table-cell.js +5 -3
- package/dist/collection/components/xv-data-table/xv-data-table-row/xv-data-table-row.js +4 -3
- package/dist/collection/components/xv-data-table/xv-data-table.js +5 -3
- package/dist/collection/components/xv-date-picker/xv-date-picker.js +16 -8
- package/dist/collection/components/xv-datepicker/xv-datepicker.js +5 -4
- package/dist/collection/components/xv-dropdown/xv-dropdown-item/xv-dropdown-item.js +9 -5
- package/dist/collection/components/xv-dropdown/xv-dropdown.js +9 -5
- package/dist/collection/components/xv-file-uploader/xv-file-uploader.css +3 -3
- package/dist/collection/components/xv-file-uploader/xv-file-uploader.js +6 -4
- package/dist/collection/components/xv-footer/xv-footer.js +1 -1
- package/dist/collection/components/xv-geo-map/xv-geo-map.css +43 -67
- package/dist/collection/components/xv-geo-map/xv-geo-map.js +10 -10
- package/dist/collection/components/xv-header/xv-header.js +7 -6
- package/dist/collection/components/xv-header-next/xv-header-next.js +10 -9
- package/dist/collection/components/xv-link/xv-link.js +1 -1
- package/dist/collection/components/xv-loader/xv-loader.js +2 -1
- package/dist/collection/components/xv-login-modal/xv-login-modal.css +7 -7
- package/dist/collection/components/xv-mega-menu/xv-mega-menu.js +2 -2
- package/dist/collection/components/xv-mega-menu-next/xv-mega-menu-next.js +5 -4
- package/dist/collection/components/xv-modal/xv-modal.js +3 -2
- package/dist/collection/components/xv-notification/xv-notification.js +3 -2
- package/dist/collection/components/xv-number-input/xv-number-input.js +4 -3
- package/dist/collection/components/xv-overflow-menu/xv-overflow-menu-item/xv-overflow-menu-item.js +7 -4
- package/dist/collection/components/xv-overflow-menu/xv-overflow-menu.js +5 -3
- package/dist/collection/components/xv-pagination/xv-pagination.css +2 -2
- package/dist/collection/components/xv-pagination/xv-pagination.js +7 -4
- package/dist/collection/components/xv-progress-indicator/xv-progress-indicator-item/xv-progress-indicator-item.js +3 -2
- package/dist/collection/components/xv-progress-indicator/xv-progress-indicator.js +6 -5
- package/dist/collection/components/xv-radio/xv-radio.js +4 -3
- package/dist/collection/components/xv-slider/xv-slider.js +1 -1
- package/dist/collection/components/xv-table/xv-table-cell/xv-table-cell.js +4 -2
- package/dist/collection/components/xv-table/xv-table-row/xv-table-row.js +12 -6
- package/dist/collection/components/xv-table/xv-table.js +3 -2
- package/dist/collection/components/xv-tabs/xv-tabs.js +2 -1
- package/dist/collection/components/xv-tag/xv-tag.js +1 -1
- package/dist/collection/components/xv-tag-combobox/xv-tag-combobox.js +6 -4
- package/dist/collection/components/xv-text-input/xv-text-input.js +4 -3
- package/dist/collection/components/xv-textarea/xv-textarea.js +4 -3
- package/dist/collection/components/xv-tile/xv-tile.css +1 -1
- package/dist/collection/components/xv-tile/xv-tile.js +2 -2
- package/dist/collection/components/xv-toggle/xv-toggle.js +3 -2
- package/dist/collection/components/xv-toggle-tip/xv-toggle-tip.js +3 -2
- package/dist/collection/components/xv-tooltip/xv-tooltip.js +4 -3
- package/dist/collection/index.js +3 -0
- package/dist/components/index.d.ts +35 -0
- package/dist/components/index.js +1 -0
- package/dist/components/p-A3B7AR96.js +9 -0
- package/dist/components/p-B9zHwwFm.js +1 -0
- package/dist/components/p-BNP2Lw34.js +1 -0
- package/dist/components/p-BRYrLHiz.js +1 -0
- package/dist/components/p-BRZwUlfE.js +1 -0
- package/dist/components/p-BXB4D7j4.js +1 -0
- package/dist/components/p-BfP9ezJQ.js +1 -0
- package/dist/components/p-BiiqsbVQ.js +1 -0
- package/dist/components/p-CEjlxnKY.js +1 -0
- package/dist/components/p-CHtssNO9.js +1 -0
- package/dist/components/p-CILNPUHH.js +1 -0
- package/dist/components/p-CMAJWZsP.js +1 -0
- package/dist/components/p-COoj5JkZ.js +1 -0
- package/dist/components/p-CbVZCn2p.js +1 -0
- package/dist/components/p-DTwz9Fsh.js +1 -0
- package/dist/components/p-DVZ2BlIP.js +1 -0
- package/dist/components/p-Ddx5DwV5.js +1 -0
- package/dist/components/p-DlLBjhuH.js +1 -0
- package/dist/components/p-DtUNYh73.js +1 -0
- package/dist/components/p-DyGMZIub.js +1 -0
- package/dist/components/p-Dzz9jxLm.js +1 -0
- package/dist/components/p-HjYAjHna.js +1 -0
- package/dist/components/p-SvgdO2VS.js +1 -0
- package/dist/components/p-ZYJfCCwX.js +1 -0
- package/dist/components/p-bdaoJ1tx.js +1 -0
- package/dist/components/p-e0i0f6QA.js +1 -0
- package/dist/components/p-kQVUwJXZ.js +1 -0
- package/dist/components/xv-accordion-v2-item.d.ts +11 -0
- package/dist/components/xv-accordion-v2-item.js +1 -0
- package/dist/components/xv-accordion-v2.d.ts +11 -0
- package/dist/components/xv-accordion-v2.js +1 -0
- package/dist/components/xv-breadcrumbs-v2.d.ts +11 -0
- package/dist/components/xv-breadcrumbs-v2.js +1 -0
- package/dist/components/xv-button-group-v2.d.ts +11 -0
- package/dist/components/xv-button-group-v2.js +1 -0
- package/dist/components/xv-button-v2.d.ts +11 -0
- package/dist/components/xv-button-v2.js +1 -0
- package/dist/components/xv-card-v2.d.ts +11 -0
- package/dist/components/xv-card-v2.js +1 -0
- package/dist/components/xv-checkbox-v2.d.ts +11 -0
- package/dist/components/xv-checkbox-v2.js +1 -0
- package/dist/components/xv-content-switcher-item-v2.d.ts +11 -0
- package/dist/components/xv-content-switcher-item-v2.js +1 -0
- package/dist/components/xv-content-switcher-v2.d.ts +11 -0
- package/dist/components/xv-content-switcher-v2.js +1 -0
- package/dist/components/xv-data-table-cell.d.ts +11 -0
- package/dist/components/xv-data-table-cell.js +1 -0
- package/dist/components/xv-data-table-collapse.d.ts +11 -0
- package/dist/components/xv-data-table-collapse.js +1 -0
- package/dist/components/xv-data-table-row.d.ts +11 -0
- package/dist/components/xv-data-table-row.js +1 -0
- package/dist/components/xv-data-table.d.ts +11 -0
- package/dist/components/xv-data-table.js +7 -0
- package/dist/components/xv-date-picker.d.ts +11 -0
- package/dist/components/xv-date-picker.js +1 -0
- package/dist/components/xv-datepicker.d.ts +11 -0
- package/dist/components/xv-datepicker.js +1 -0
- package/dist/components/xv-dropdown-v2-item.d.ts +11 -0
- package/dist/components/xv-dropdown-v2-item.js +1 -0
- package/dist/components/xv-dropdown-v2.d.ts +11 -0
- package/dist/components/xv-dropdown-v2.js +1 -0
- package/dist/components/xv-file-uploader.d.ts +11 -0
- package/dist/components/xv-file-uploader.js +1 -0
- package/dist/components/xv-footer.d.ts +11 -0
- package/dist/components/xv-footer.js +1 -0
- package/dist/components/xv-geo-map-v2.d.ts +11 -0
- package/dist/components/xv-geo-map-v2.js +1 -0
- package/dist/components/xv-header-next.d.ts +11 -0
- package/dist/components/xv-header-next.js +1 -0
- package/dist/components/xv-header.d.ts +11 -0
- package/dist/components/xv-header.js +1 -0
- package/dist/components/xv-image-viewer.d.ts +11 -0
- package/dist/components/xv-image-viewer.js +1 -0
- package/dist/components/xv-link-v2.d.ts +11 -0
- package/dist/components/xv-link-v2.js +1 -0
- package/dist/components/xv-loader-v2.d.ts +11 -0
- package/dist/components/xv-loader-v2.js +1 -0
- package/dist/components/xv-login-modal.d.ts +11 -0
- package/dist/components/xv-login-modal.js +1 -0
- package/dist/components/xv-mega-menu-next.d.ts +11 -0
- package/dist/components/xv-mega-menu-next.js +1 -0
- package/dist/components/xv-mega-menu.d.ts +11 -0
- package/dist/components/xv-mega-menu.js +1 -0
- package/dist/components/xv-modal-v2.d.ts +11 -0
- package/dist/components/xv-modal-v2.js +1 -0
- package/dist/components/xv-notification-v2.d.ts +11 -0
- package/dist/components/xv-notification-v2.js +1 -0
- package/dist/components/xv-number-input-v2.d.ts +11 -0
- package/dist/components/xv-number-input-v2.js +1 -0
- package/dist/components/xv-overflow-menu-v2-item.d.ts +11 -0
- package/dist/components/xv-overflow-menu-v2-item.js +1 -0
- package/dist/components/xv-overflow-menu-v2.d.ts +11 -0
- package/dist/components/xv-overflow-menu-v2.js +1 -0
- package/dist/components/xv-pagination.d.ts +11 -0
- package/dist/components/xv-pagination.js +1 -0
- package/dist/components/xv-progress-indicator-v2-item.d.ts +11 -0
- package/dist/components/xv-progress-indicator-v2-item.js +1 -0
- package/dist/components/xv-progress-indicator-v2.d.ts +11 -0
- package/dist/components/xv-progress-indicator-v2.js +1 -0
- package/dist/components/xv-radio-v2.d.ts +11 -0
- package/dist/components/xv-radio-v2.js +1 -0
- package/dist/components/xv-slider-v2.d.ts +11 -0
- package/dist/components/xv-slider-v2.js +1 -0
- package/dist/components/xv-tab-v2.d.ts +11 -0
- package/dist/components/xv-tab-v2.js +1 -0
- package/dist/components/xv-table-v2-cell.d.ts +11 -0
- package/dist/components/xv-table-v2-cell.js +1 -0
- package/dist/components/xv-table-v2-expand.d.ts +11 -0
- package/dist/components/xv-table-v2-expand.js +1 -0
- package/dist/components/xv-table-v2-row.d.ts +11 -0
- package/dist/components/xv-table-v2-row.js +1 -0
- package/dist/components/xv-table-v2.d.ts +11 -0
- package/dist/components/xv-table-v2.js +1 -0
- package/dist/components/xv-tabs-v2.d.ts +11 -0
- package/dist/components/xv-tabs-v2.js +1 -0
- package/dist/components/xv-tag-combobox.d.ts +11 -0
- package/dist/components/xv-tag-combobox.js +1 -0
- package/dist/components/xv-tag-v2.d.ts +11 -0
- package/dist/components/xv-tag-v2.js +1 -0
- package/dist/components/xv-text-input-v2.d.ts +11 -0
- package/dist/components/xv-text-input-v2.js +1 -0
- package/dist/components/xv-textarea.d.ts +11 -0
- package/dist/components/xv-textarea.js +1 -0
- package/dist/components/xv-tile.d.ts +11 -0
- package/dist/components/xv-tile.js +1 -0
- package/dist/components/xv-toggle-tip.d.ts +11 -0
- package/dist/components/xv-toggle-tip.js +1 -0
- package/dist/components/xv-toggle.d.ts +11 -0
- package/dist/components/xv-toggle.js +1 -0
- package/dist/components/xv-tooltip-v2.d.ts +11 -0
- package/dist/components/xv-tooltip-v2.js +1 -0
- package/dist/custom-elements.json +10090 -0
- package/dist/docs.d.ts +480 -0
- package/dist/docs.json +14875 -0
- package/dist/esm/_vars-CDEU4jkD.js +23 -0
- package/dist/esm/{index-CQm2sRKT.js → index-B6cY-_U1.js} +2 -0
- package/dist/esm/{index-DmxA2ysB.js → index-Bu8SrOeR.js} +386 -1797
- package/dist/esm/index.js +2 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/maplibre-gl-A3B7AR96.js +826 -0
- package/dist/esm/maplibre-gl-shared.mjs +2 -2
- package/dist/esm/maplibre-gl-worker.mjs +2 -2
- package/dist/esm/xv-accordion-v2_50.entry.js +533 -482
- package/dist/esm/xv-header-next.entry.js +10 -8
- package/dist/esm/xv-mega-menu-next.entry.js +4 -4
- package/dist/esm/xv-webcomponents.js +3 -3
- package/dist/react/components.d.ts +56 -0
- package/dist/react/components.js +57 -0
- package/dist/react/create-component.d.ts +24 -0
- package/dist/react/runtime.d.ts +2 -0
- package/dist/react/runtime.js +43 -0
- package/dist/react/tag-transformer.d.ts +3 -0
- package/dist/react/tag-transformer.js +12 -0
- package/dist/react/xv-accordion-v2-item.d.ts +12 -0
- package/dist/react/xv-accordion-v2-item.js +14 -0
- package/dist/react/xv-accordion-v2.d.ts +15 -0
- package/dist/react/xv-accordion-v2.js +14 -0
- package/dist/react/xv-breadcrumbs-v2.d.ts +9 -0
- package/dist/react/xv-breadcrumbs-v2.js +14 -0
- package/dist/react/xv-button-group-v2.d.ts +12 -0
- package/dist/react/xv-button-group-v2.js +14 -0
- package/dist/react/xv-button-v2.d.ts +9 -0
- package/dist/react/xv-button-v2.js +14 -0
- package/dist/react/xv-card-v2.d.ts +9 -0
- package/dist/react/xv-card-v2.js +14 -0
- package/dist/react/xv-checkbox-v2.d.ts +15 -0
- package/dist/react/xv-checkbox-v2.js +19 -0
- package/dist/react/xv-content-switcher-item-v2.d.ts +9 -0
- package/dist/react/xv-content-switcher-item-v2.js +14 -0
- package/dist/react/xv-content-switcher-v2.d.ts +12 -0
- package/dist/react/xv-content-switcher-v2.js +14 -0
- package/dist/react/xv-data-table-cell.d.ts +12 -0
- package/dist/react/xv-data-table-cell.js +14 -0
- package/dist/react/xv-data-table-collapse.d.ts +12 -0
- package/dist/react/xv-data-table-collapse.js +14 -0
- package/dist/react/xv-data-table-row.d.ts +12 -0
- package/dist/react/xv-data-table-row.js +14 -0
- package/dist/react/xv-data-table.d.ts +12 -0
- package/dist/react/xv-data-table.js +14 -0
- package/dist/react/xv-date-picker.d.ts +14 -0
- package/dist/react/xv-date-picker.js +18 -0
- package/dist/react/xv-datepicker.d.ts +13 -0
- package/dist/react/xv-datepicker.js +17 -0
- package/dist/react/xv-dropdown-v2-item.d.ts +12 -0
- package/dist/react/xv-dropdown-v2-item.js +14 -0
- package/dist/react/xv-dropdown-v2.d.ts +13 -0
- package/dist/react/xv-dropdown-v2.js +17 -0
- package/dist/react/xv-file-uploader.d.ts +13 -0
- package/dist/react/xv-file-uploader.js +17 -0
- package/dist/react/xv-footer.d.ts +9 -0
- package/dist/react/xv-footer.js +14 -0
- package/dist/react/xv-geo-map-v2.d.ts +13 -0
- package/dist/react/xv-geo-map-v2.js +17 -0
- package/dist/react/xv-header-next.d.ts +12 -0
- package/dist/react/xv-header-next.js +14 -0
- package/dist/react/xv-header.d.ts +12 -0
- package/dist/react/xv-header.js +14 -0
- package/dist/react/xv-image-viewer.d.ts +12 -0
- package/dist/react/xv-image-viewer.js +14 -0
- package/dist/react/xv-link-v2.d.ts +9 -0
- package/dist/react/xv-link-v2.js +14 -0
- package/dist/react/xv-loader-v2.d.ts +9 -0
- package/dist/react/xv-loader-v2.js +14 -0
- package/dist/react/xv-login-modal.d.ts +12 -0
- package/dist/react/xv-login-modal.js +14 -0
- package/dist/react/xv-mega-menu-next.d.ts +12 -0
- package/dist/react/xv-mega-menu-next.js +14 -0
- package/dist/react/xv-mega-menu.d.ts +12 -0
- package/dist/react/xv-mega-menu.js +14 -0
- package/dist/react/xv-modal-v2.d.ts +12 -0
- package/dist/react/xv-modal-v2.js +14 -0
- package/dist/react/xv-notification-v2.d.ts +12 -0
- package/dist/react/xv-notification-v2.js +14 -0
- package/dist/react/xv-number-input-v2.d.ts +12 -0
- package/dist/react/xv-number-input-v2.js +14 -0
- package/dist/react/xv-overflow-menu-v2-item.d.ts +12 -0
- package/dist/react/xv-overflow-menu-v2-item.js +14 -0
- package/dist/react/xv-overflow-menu-v2.d.ts +13 -0
- package/dist/react/xv-overflow-menu-v2.js +17 -0
- package/dist/react/xv-pagination.d.ts +15 -0
- package/dist/react/xv-pagination.js +14 -0
- package/dist/react/xv-progress-indicator-v2-item.d.ts +9 -0
- package/dist/react/xv-progress-indicator-v2-item.js +14 -0
- package/dist/react/xv-progress-indicator-v2.d.ts +9 -0
- package/dist/react/xv-progress-indicator-v2.js +14 -0
- package/dist/react/xv-radio-v2.d.ts +9 -0
- package/dist/react/xv-radio-v2.js +14 -0
- package/dist/react/xv-slider-v2.d.ts +12 -0
- package/dist/react/xv-slider-v2.js +14 -0
- package/dist/react/xv-tab-v2.d.ts +9 -0
- package/dist/react/xv-tab-v2.js +14 -0
- package/dist/react/xv-table-v2-cell.d.ts +12 -0
- package/dist/react/xv-table-v2-cell.js +14 -0
- package/dist/react/xv-table-v2-expand.d.ts +9 -0
- package/dist/react/xv-table-v2-expand.js +14 -0
- package/dist/react/xv-table-v2-row.d.ts +13 -0
- package/dist/react/xv-table-v2-row.js +17 -0
- package/dist/react/xv-table-v2.d.ts +9 -0
- package/dist/react/xv-table-v2.js +14 -0
- package/dist/react/xv-tabs-v2.d.ts +12 -0
- package/dist/react/xv-tabs-v2.js +14 -0
- package/dist/react/xv-tag-combobox.d.ts +13 -0
- package/dist/react/xv-tag-combobox.js +17 -0
- package/dist/react/xv-tag-v2.d.ts +12 -0
- package/dist/react/xv-tag-v2.js +14 -0
- package/dist/react/xv-text-input-v2.d.ts +12 -0
- package/dist/react/xv-text-input-v2.js +14 -0
- package/dist/react/xv-textarea.d.ts +12 -0
- package/dist/react/xv-textarea.js +14 -0
- package/dist/react/xv-tile.d.ts +15 -0
- package/dist/react/xv-tile.js +14 -0
- package/dist/react/xv-toggle-tip.d.ts +12 -0
- package/dist/react/xv-toggle-tip.js +14 -0
- package/dist/react/xv-toggle.d.ts +12 -0
- package/dist/react/xv-toggle.js +14 -0
- package/dist/react/xv-tooltip-v2.d.ts +9 -0
- package/dist/react/xv-tooltip-v2.js +14 -0
- package/dist/types/components.d.ts +611 -103
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +65 -2
- package/dist/vscode-data.json +3002 -0
- package/dist/xv-webcomponents/index.esm.js +1 -1
- package/dist/xv-webcomponents/{p-fe9b38f8.entry.js → p-1ffb0b4f.entry.js} +1 -1
- package/dist/xv-webcomponents/p-A3B7AR96.js +9 -0
- package/dist/xv-webcomponents/p-Bu8SrOeR.js +3 -0
- package/dist/xv-webcomponents/p-CDEU4jkD.js +1 -0
- package/dist/xv-webcomponents/p-DB4KqDJz.js +1 -0
- package/dist/xv-webcomponents/p-d4d26ff2.entry.js +1 -0
- package/dist/xv-webcomponents/p-eb9d7750.entry.js +8 -0
- package/dist/xv-webcomponents/xv-webcomponents.css +6 -6
- package/dist/xv-webcomponents/xv-webcomponents.esm.js +1 -1
- package/loader/index.d.ts +1 -1
- package/package.json +97 -18
- package/dist/cjs/_vars-FOITtI6f.js +0 -71
- package/dist/cjs/maplibre-gl-CCZS3Rg5.js +0 -900
- package/dist/collection/components/xv-header/_vars.js +0 -41
- package/dist/esm/_vars-CS4ouQ2K.js +0 -65
- package/dist/esm/maplibre-gl-CS4Eagm9.js +0 -813
- package/dist/types/components/xv-header/_vars.d.ts +0 -23
- package/dist/xv-webcomponents/p-0002421f.entry.js +0 -1
- package/dist/xv-webcomponents/p-01d6444c.entry.js +0 -8
- package/dist/xv-webcomponents/p-CQm2sRKT.js +0 -1
- package/dist/xv-webcomponents/p-CS4Eagm9.js +0 -10
- package/dist/xv-webcomponents/p-CS4ouQ2K.js +0 -1
- package/dist/xv-webcomponents/p-DmxA2ysB.js +0 -2
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface XvTextInputV2 extends Components.XvTextInputV2, HTMLElement {}
|
|
4
|
+
export const XvTextInputV2: {
|
|
5
|
+
prototype: XvTextInputV2;
|
|
6
|
+
new (): XvTextInputV2;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{X as o,d as s}from"./p-CEjlxnKY.js";const p=o,r=s;export{p as XvTextInputV2,r as defineCustomElement}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface XvTextarea extends Components.XvTextarea, HTMLElement {}
|
|
4
|
+
export const XvTextarea: {
|
|
5
|
+
prototype: XvTextarea;
|
|
6
|
+
new (): XvTextarea;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as t,H as e,c as o,h as s,a as r,t as i}from"./p-BNP2Lw34.js";import{S as n}from"./p-HjYAjHna.js";import{r as a}from"./index.js";import{d as l}from"./p-Dzz9jxLm.js";import{d as c}from"./p-BRZwUlfE.js";const d=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.valueChange=o(this,"valueChange",7),this.internals=this.attachInternals(),this.value="",this.loading=!1,this.rows=4,this.size=n.MD,this.onInput=t=>{const e=t.target.value;(e.length<=this.max||void 0===this.max)&&(this.value=e,this.valueChange.emit(e),this.internals.setFormValue(this.value))}}componentWillLoad(){this.value&&this.internals.setFormValue(this.value)}render(){const t=a({error:this.error,warning:this.warning,helper:this.helper});return s(r,{key:"658e393a65602e686906bd2ad9eca9efd0d185fc",class:{disabled:!!this.disabled}},s("label",{key:"93ad9edea381b99bcb7bcf1f692db00800776bf3",class:"control"},(this.label||this.max)&&s("p",{key:"fa5d19c60d4d528fe1fb7e7d5505d9927e69b1ec",class:"control_label"},s("span",{key:"4bf48eb50474b3b74417a5ad3c01d09f6b485034"},this.label,this.info&&s("xv-tooltip-v2",{key:"d7f1d420fbb2fa18d598b83e75a5218e4de1bfd4",message:this.info})),void 0!==this.max&&!this.counterHide&&s("span",{key:"5053f5fa4902e4079d6163db7c13ff659bb656e5",class:"control_label__count"},this.value.length||0,"/",this.max)),s("div",{key:"52762934c658eb768e494963ece43228dfa5926e",class:{control_input:!0,readonly:!!this.readonly,error:!!this.error,warning:void 0!==this.warning}},s("textarea",{key:"7b2e78e20deaf989e72df9ff44a78d3111b775ac",class:{"no-resize":!!this.noResize},name:this.name,rows:this.rows,value:this.value,maxLength:this.max,disabled:this.disabled,readOnly:this.readonly,placeholder:this.placeholder,onInput:this.onInput}),s("div",{key:"9cea8ecb9db775ce6aaa7573a140d5d308ff0d30",class:"control_input__icons"},this._renderIcon()))),t&&s("p",{key:"7ddc85f57fca259024f1060ec85265f5c661e4e8",class:{message:!0,[t.level]:!0}},t.text))}_renderIcon(){return this.loading?s("xv-loader-v2",{size:n.XS}):this.error?s("span",{class:"status-icon error","aria-hidden":"true"},"!"):this.warning?s("span",{class:"status-icon warning","aria-hidden":"true"},"⚠"):null}static get formAssociated(){return!0}static get style(){return":host{display:inline-block;text-align:left;font-family:var(--ff-body), sans-serif}:host .control_label{display:flex;justify-content:space-between;column-gap:var(--spacing-03);margin:0 0 var(--spacing-03);color:var(--text-secondary, #515151);font-family:var(--ff-body), sans-serif;font-size:var(--fz-sm, 12px);font-style:normal;font-weight:400;line-height:var(--fz-md);letter-spacing:0.32px}:host .control_label__count{font-weight:400}:host .control_label [role=tooltip]{margin-left:var(--spacing-03)}:host .control_input{display:flex;position:relative;border:1px solid var(--border-subtle-01);font-size:var(--fz-md, 14px);outline:2px solid transparent;background-color:transparent;border-radius:3px;transition:250ms ease-in-out border-color, 250ms ease-in-out outline-color}:host .control_input:hover{border-color:var(--border-subtle-selected-01)}:host .control_input:focus-within{outline-color:var(--focus)}:host .control_input.error{outline-color:var(--support-error)}:host .control_input.readonly{outline-color:transparent;background:var(--field-01, #F7F7F7);background-blend-mode:multiply}:host .control_input.readonly textarea{color:var(--text-secondary)}:host .control_input.error textarea,:host .control_input.warning textarea{padding-inline-end:calc(var(--spacing-05, 16px) + 16px)}:host .control_input textarea{flex:1;border:none;outline:none;margin:0;background-color:transparent;padding-block:var(--spacing-05);padding-inline:var(--spacing-05);box-sizing:border-box;color:var(--text-primary);min-width:20px;font-size:inherit;font-style:normal;font-weight:400;letter-spacing:0.16px;font-family:inherit;line-height:20px}:host .control_input textarea::placeholder{color:var(--text-placeholder);font-family:inherit;font-weight:400;font-size:14px;letter-spacing:0.16px;line-height:20px}:host .control_input textarea.no-resize{resize:none}:host .control_input__icons{position:absolute;right:var(--spacing-05);top:var(--spacing-05);display:inline-flex;align-items:stretch;column-gap:2px}:host .control_input__icons .status-icon{display:inline-flex;align-items:center;align-self:center;font-size:16px;line-height:1}:host .control_input__icons .status-icon.error{background-color:var(--support-error);color:white;width:16px;height:16px;border-radius:8px;font-size:12px;font-weight:bold;align-items:center;justify-content:center}:host .control_input__icons .status-icon.warning{color:var(--support-warning)}:host .message{margin:var(--spacing-02) 0 0;color:var(--text-helper, #646464);font-size:var(--fz-sm, 12px);font-style:normal;font-weight:400;line-height:var(--fz-md, 16px);letter-spacing:0.32px}:host .message.error{color:var(--text-error)}:host .message.warning{color:var(--text-secondary, #515151)}:host(.disabled){cursor:not-allowed}:host(.disabled) .control_label,:host(.disabled) .control_input textarea,:host(.disabled) .control_input textarea::placeholder,:host(.disabled) .message:not(.error){color:var(--text-disabled);cursor:not-allowed}:host(.disabled) .control_input__icons,:host(.disabled) .message.error{opacity:0.5;cursor:not-allowed}:host([block]){display:block}:host([block]) .control_input textarea{width:100%}:host([size=xs]) .control_input textarea{padding-block:var(--spacing-03);font-size:0.8em}:host([size=sm]) .control_input textarea{padding-block:var(--spacing-04);font-size:0.9em}:host([size=lg]) .control_input textarea{padding-block:var(--spacing-06);font-size:1.1em}:host([size=xl]) .control_input textarea{padding-block:var(--spacing-07);font-size:1.2em}"}},[65,"xv-textarea",{value:[1025],name:[1],label:[1],placeholder:[1],helper:[1],info:[1],error:[8],warning:[8],disabled:[4],readonly:[4],block:[4],counterHide:[4,"counter-hide"],noResize:[4,"no-resize"],loading:[4],max:[2],rows:[2],size:[513]}]);function p(){"undefined"!=typeof customElements&&["xv-textarea","xv-loader-v2","xv-tooltip-v2"].forEach((t=>{switch(t){case"xv-textarea":customElements.get(i(t))||customElements.define(i(t),d);break;case"xv-loader-v2":customElements.get(i(t))||l();break;case"xv-tooltip-v2":customElements.get(i(t))||c()}}))}p();const h=d,f=p;export{h as XvTextarea,f as defineCustomElement}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface XvTile extends Components.XvTile, HTMLElement {}
|
|
4
|
+
export const XvTile: {
|
|
5
|
+
prototype: XvTile;
|
|
6
|
+
new (): XvTile;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as e,H as t,c as i,h as o,a as l,t as a}from"./p-BNP2Lw34.js";const r=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.tileChange=i(this,"tileChange",7),this.variant="base",this.checked=!1,this.readonly=!1,this.handleChange=e=>{const t=e.target;this.checked=!!t.checked,this.value=t.value,"selectable"===this.variant&&this.tileChange.emit({name:this.name,value:this.value})}}tileChangeHandle({detail:e}){const{name:t,value:i}=e||{};"selectable"!==this.variant||this.multiple||void 0===t||void 0===i||t===this.name&&i!==this.value&&(this.checked=!1)}handleClick(e){"expandable"!==this.variant||this.disabled||-1!==(null==e?void 0:e.pointerId)||(this.checked=!this.checked)}render(){return o(l,{key:"a2c476c09c531b51f71f991e1880b2a47204491a",class:"xv-tile--host"},o("label",{key:"3e2a54ab149f6043179bb7d1cc9e37496482cde4",class:{[this.el.className]:!!this.el.className,"xv-tile":!0,["xv-tile--variant-"+this.variant]:!!this.variant,"xv-tile--block":!!this.block,"xv-tile--disabled":!!this.disabled,selected:!!this.checked,"xv-tile--error":!!this.error}},o("div",{key:"fc25a98acbca605f9dc1184d60303e8114e2e43b",class:"xv-tile_content"},this.label&&o("p",{key:"0f466d3aa936261cdc54a0b7492b5f5737b2a778",class:"xv-tile_content__title"},this.label),o("slot",{key:"8e6c17221070c8c5bde4049b55943155ba2e7c17"})),"selectable"===this.variant&&o("div",{key:"98a511f78a1dfbbcc65e971a0dad71510a6830c5",class:"xv-tile_control"},o("input",this.multiple?{type:"checkbox",disabled:this.disabled||this.readonly,readonly:this.readonly,onChange:this.handleChange,name:this.name,value:this.value,checked:this.checked}:{type:"radio",disabled:this.disabled||this.readonly,readonly:this.readonly,onChange:this.handleChange,name:this.name,value:this.value,checked:this.checked})),("clickable"===this.variant||"expandable"===this.variant)&&o("div",{key:"0bcfa73c1f2fb1b2d6d2740258cde9483dbdcd87",class:"xv-tile_footer"},o("button",{key:"e6a2b02d5b4596596ba216c300c954fbb08268ee",class:{"xv-tile_footer__icon":!0,["icon--"+this.variant]:!0,open:this.checked}})),o("div",{key:"700535d5440bb57fd31382a2c0d0803f7cbdf239",class:{"xv-tile_expandable":!0,open:this.checked}},o("slot",{key:"3888e0d07a757ef7e9f8d9a16ca04c9cce814b06",name:"expandable"}))))}get el(){return this}static get style(){return'@charset "UTF-8";.xv-tile--host{display:contents}.xv-tile--host[message]{display:inherit;position:relative}.xv-tile--host[message]:hover:before{content:attr(message);display:block;position:absolute;background-color:var(--background-inverse, #333);color:var(--text-on-color, #fff);padding:1em 3em;border-radius:5px;font-size:0.8em;left:0;bottom:100%;white-space:wrap;opacity:1;z-index:2}.xv-tile--host .xv-tile{min-height:64px;min-width:128px;border-radius:3px;border:1px solid var(--border-tile-02, #ACACAC);outline:2px solid transparent;background-color:var(--layer-02, #FFF);text-align:left;user-select:none;grid-template-columns:1fr auto;grid-template-areas:"content control" "footer footer" "expandable expandable";display:inline-grid;color:var(--text-primary, #333)}.xv-tile--host .xv-tile--variant-selectable,.xv-tile--host .xv-tile--variant-expandable,.xv-tile--host .xv-tile--variant-clickable{cursor:pointer;transition:250ms ease-in-out background-color}.xv-tile--host .xv-tile--variant-selectable:hover,.xv-tile--host .xv-tile--variant-expandable:hover,.xv-tile--host .xv-tile--variant-clickable:hover{border-color:var(--border-tile-01, #D1D1D1);background-color:var(--layer-hover-02, #F7F7F7)}.xv-tile--host .xv-tile--variant-selectable:active,.xv-tile--host .xv-tile--variant-expandable:active,.xv-tile--host .xv-tile--variant-clickable:active{background-color:var(--layer-active-02, #D1D1D1)}.xv-tile--host .xv-tile--variant-selectable:focus-within,.xv-tile--host .xv-tile--variant-expandable:focus-within,.xv-tile--host .xv-tile--variant-clickable:focus-within{outline-width:1px;outline-color:var(--focus)}.xv-tile--host .xv-tile--variant-selectable.selected,.xv-tile--host .xv-tile--variant-expandable.selected,.xv-tile--host .xv-tile--variant-clickable.selected{background-color:var(--layer-selected-02, #E3E3E3)}.xv-tile--host .xv-tile--variant-selectable.selected:hover,.xv-tile--host .xv-tile--variant-expandable.selected:hover,.xv-tile--host .xv-tile--variant-clickable.selected:hover{background-color:var(--layer-selected-hover-02, #DADADA)}.xv-tile--host .xv-tile--block{display:grid}.xv-tile--host .xv-tile--error{border-color:var(--support-error);outline:2px solid var(--support-error)}.xv-tile--host .xv-tile--disabled{border-color:var(--border-disabled, #D1D1D1);background-color:var(--layer-01, #F7F7F7);color:var(--text-disabled, rgba(19, 19, 19, 0.25));user-select:none;pointer-events:none;cursor:not-allowed}.xv-tile--host .xv-tile_content{grid-area:content;font-style:normal;font-weight:400;font-size:var(--fz-md, 14px);line-height:20px;letter-spacing:0.16px}.xv-tile--host .xv-tile_content>*{margin:0;padding:0}.xv-tile--host .xv-tile_content__title{font-size:20px;line-height:28px;letter-spacing:unset}.xv-tile--host .xv-tile_content:not(:empty){padding:var(--spacing-05, 16px)}.xv-tile--host .xv-tile_control{grid-area:control}.xv-tile--host .xv-tile_control:not(:empty){padding-block:var(--spacing-05, 16px);padding-inline-end:var(--spacing-05, 16px)}.xv-tile--host .xv-tile_control input[type=checkbox],.xv-tile--host .xv-tile_control input[type=radio]{-webkit-appearance:none;appearance:none;background-color:#fff;margin:0;width:16px;height:16px;position:relative;display:inline-flex;align-items:center;justify-content:center}.xv-tile--host .xv-tile_control input[type=checkbox]:focus,.xv-tile--host .xv-tile_control input[type=radio]:focus{outline:1.4px solid var(--focus)}.xv-tile--host .xv-tile_control input[type=checkbox]:before,.xv-tile--host .xv-tile_control input[type=checkbox]:after,.xv-tile--host .xv-tile_control input[type=radio]:before,.xv-tile--host .xv-tile_control input[type=radio]:after{display:inline-block;border-radius:inherit;transition:200ms ease-in-out border-color, 200ms ease-in-out background-color}.xv-tile--host .xv-tile_control input[type=checkbox]:before,.xv-tile--host .xv-tile_control input[type=radio]:before{content:"";width:inherit;height:inherit;background-color:#fff;border:1px solid var(--icon-primary, #131313);box-sizing:border-box}.xv-tile--host .xv-tile_control input[type=checkbox]:after,.xv-tile--host .xv-tile_control input[type=radio]:after{position:absolute}.xv-tile--host .xv-tile_control input[type=checkbox]:checked:before,.xv-tile--host .xv-tile_control input[type=radio]:checked:before{border-color:var(--background-brand, #97BF0D)}.xv-tile--host .xv-tile_control input[type=checkbox]:checked:after,.xv-tile--host .xv-tile_control input[type=radio]:checked:after{content:""}.xv-tile--host .xv-tile_control input[type=checkbox]{border-radius:2px}.xv-tile--host .xv-tile_control input[type=checkbox]:after{width:5px;height:8px;border:solid #fff;margin-bottom:2px;border-width:0 2px 2px 0;transform:rotate(45deg)}.xv-tile--host .xv-tile_control input[type=checkbox]:checked:not([readonly]):before{background-color:var(--background-brand, #97BF0D)}.xv-tile--host .xv-tile_control input[type=checkbox]:checked[readonly]:before{background-color:transparent}.xv-tile--host .xv-tile_control input[type=checkbox]:checked[readonly]:before,.xv-tile--host .xv-tile_control input[type=checkbox]:checked[readonly]:after{border-color:var(--text-disabled, hsla(0, 0%, 7%, 0.25))}.xv-tile--host .xv-tile_control input[type=radio]{border-radius:50%}.xv-tile--host .xv-tile_control input[type=radio]:after{width:50%;height:50%;background-color:var(--background-brand, #97BF0D)}.xv-tile--host .xv-tile_footer{grid-area:footer;display:flex;justify-content:flex-end}.xv-tile--host .xv-tile_footer__icon{pointer-events:none;background-color:transparent;outline:none;border:none;margin:0;padding:var(--spacing-05, 16px);font-size:16px;display:inline-flex;align-items:center;justify-content:center}.xv-tile--host .xv-tile_footer__icon:before{content:"";display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px}.xv-tile--host .xv-tile_footer__icon.icon--clickable:before{content:"➔"}.xv-tile--host .xv-tile_footer__icon.icon--expandable:before{width:12px;height:12px;border-style:solid;border-width:0 2px 2px 0;transform:rotate(45deg);transform-origin:center;transition:200ms ease-in-out transform}.xv-tile--host .xv-tile_footer__icon.icon--expandable.open:before{transform:rotate(-135deg)}.xv-tile--host .xv-tile_expandable{grid-area:expandable;display:none}.xv-tile--host .xv-tile_expandable.open{display:block}.xv-tile--host .xv-tile_expandable [slot=expandable]{margin:0;padding-inline:var(--spacing-05, 16px);padding-block-end:var(--spacing-05, 16px)}'}},[260,"xv-tile",{variant:[513],label:[1],error:[4],multiple:[4],disabled:[4],block:[4],name:[1],message:[513],value:[1025],checked:[1028],readonly:[1028]},[[4,"tileChange","tileChangeHandle"],[0,"click","handleClick"]]]);function n(){"undefined"!=typeof customElements&&["xv-tile"].forEach((e=>{"xv-tile"===e&&(customElements.get(a(e))||customElements.define(a(e),r))}))}n();const s=r,c=n;export{s as XvTile,c as defineCustomElement}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface XvToggleTip extends Components.XvToggleTip, HTMLElement {}
|
|
4
|
+
export const XvToggleTip: {
|
|
5
|
+
prototype: XvToggleTip;
|
|
6
|
+
new (): XvToggleTip;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{X as o,d as s}from"./p-DyGMZIub.js";const p=o,r=s;export{p as XvToggleTip,r as defineCustomElement}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface XvToggle extends Components.XvToggle, HTMLElement {}
|
|
4
|
+
export const XvToggle: {
|
|
5
|
+
prototype: XvToggle;
|
|
6
|
+
new (): XvToggle;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as t,H as e,c as o,h as s,a as i,t as l}from"./p-BNP2Lw34.js";import{S as n}from"./p-HjYAjHna.js";const a=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.toggleChange=o(this,"toggleChange",7),this.internals=this.attachInternals(),this.value="on",this.name="xv-toggle",this.checked=!1,this.size=n.MD,this.onChange=t=>{this.disabled||this.readonly||(this.checked=t.target.checked,this.toggleChange.emit(this.checked),this.internals.setFormValue(this.checked?this.value||"on":""))}}render(){return s(i,{key:"37a5b9544456493cc34c79b2b7f5b00e23e287c2",class:{"xv-toggle":!0,disabled:this.disabled,readonly:!!this.readonly,block:!!this.block}},this.label&&s("span",{key:"0a25845f45dafed5e868dc09443c45d566dc9c3f",class:"label"},this.label),s("label",{key:"5d1da814a7de2b5965d51fe2eb1f17cfa30f6a0d",class:"control"},s("slot",{key:"c739617e825bf2ed051175cbeb5eb83d1fc298f3",name:"before"}),s("div",{key:"32bd77c1ca5f8e58892cf41d9004f3f38a63bb10",class:"control_input"},s("input",{key:"9447c95ba00b07b288f650ac169f816607d624b9",type:"checkbox",readonly:this.readonly,name:this.name,value:this.value,checked:this.checked,disabled:this.disabled||this.readonly,onChange:this.onChange}),s("span",{key:"ce5ae18fa782dda6a28e45e297cc9e04ace9c7cd",class:"toggle"})),s("slot",{key:"e4005eee0f127a0a1a59c1930aae06fac534ae77",name:"after"})))}static get formAssociated(){return!0}static get style(){return':host(.xv-toggle){display:inline-flex;flex-direction:column;align-items:self-start;row-gap:var(--spacing-03, 8px);text-align:left;font-family:var(--ff-body, Tahoma)}:host(.xv-toggle) .label{color:var(--text-secondary, #515151);font-size:var(--fz-sm, 12px);line-height:var(--fz-md, 14px);letter-spacing:0.32px}:host(.xv-toggle) .control{display:inline-flex;column-gap:var(--spacing-03, 8px);align-items:center;cursor:pointer;color:var(--text-primary, #333);font-size:var(--fz-md, 14px);font-style:normal;font-weight:400;line-height:var(--fz-lg, 16px);letter-spacing:0.16px}:host(.xv-toggle) .control ::slotted([slot=before]),:host(.xv-toggle) .control ::slotted([slot=after]){margin:0 !important;padding:0 !important;user-select:none}:host(.xv-toggle) .control_input{display:inline-flex;position:relative;width:48px;height:24px}:host(.xv-toggle) .control_input .toggle{display:inline-block;position:relative;width:inherit;height:inherit;background-color:var(--border-strong-01, #8B8B8B);border-radius:100px;outline:2px solid transparent;transition:background-color 0.2s, outline-color 0.2s}:host(.xv-toggle) .control_input .toggle::before{display:inline-flex;align-items:center;justify-content:center;content:"";font-size:70%;color:transparent;position:absolute;height:calc(100% - 4px);aspect-ratio:1;top:2px;left:2px;background-color:var(--icon-on-color, white);border-radius:50%;transition:left 0.2s, transform 0.2s}:host(.xv-toggle) .control_input input[type=checkbox]{position:absolute;opacity:0;margin:0;padding:0;width:100%;height:100%}:host(.xv-toggle) .control_input input[type=checkbox]:checked+.toggle{background-color:var(--support-success, #97BF0D)}:host(.xv-toggle) .control_input input[type=checkbox]:checked+.toggle::before{color:var(--support-success, #97BF0D);left:calc(100% - 2px);transform:translateX(-100%)}:host(.xv-toggle) .control_input input[type=checkbox]:active:not(:disabled)+.toggle,:host(.xv-toggle) .control_input input[type=checkbox]:focus:not(:disabled)+.toggle{outline-color:var(--focus)}:host(.xv-toggle[size=xs]) .control_input{width:24px;height:12px}:host(.xv-toggle[size=sm]) .control_input{width:32px;height:16px}:host(.xv-toggle[size=lg]) .control_input{width:56px;height:28px}:host(.xv-toggle[size=xl]) .control_input{width:64px;height:32px}:host(.block){display:flex;align-items:stretch}:host(.disabled) .label,:host(.disabled) .control,:host(.readonly) .label,:host(.readonly) .control{cursor:not-allowed}:host(.disabled) .control_input input[type=checkbox]:checked+.toggle,:host(.disabled) .control_input .toggle{background-color:var(--button-disabled, #8B8B8B)}:host(.disabled) .control_input input[type=checkbox]:checked+.toggle::before,:host(.disabled) .control_input .toggle::before{background-color:var(--text-on-color-disabled, white)}'}},[321,"xv-toggle",{label:[1],value:[1],name:[1],checked:[1540],disabled:[4],readonly:[4],size:[513],block:[4]}]);function c(){"undefined"!=typeof customElements&&["xv-toggle"].forEach((t=>{"xv-toggle"===t&&(customElements.get(l(t))||customElements.define(l(t),a))}))}c();const r=a,g=c;export{r as XvToggle,g as defineCustomElement}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface XvTooltipV2 extends Components.XvTooltipV2, HTMLElement {}
|
|
4
|
+
export const XvTooltipV2: {
|
|
5
|
+
prototype: XvTooltipV2;
|
|
6
|
+
new (): XvTooltipV2;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{X as o,d as s}from"./p-BRZwUlfE.js";const p=o,r=s;export{p as XvTooltipV2,r as defineCustomElement}
|