xv-webcomponents 1.25.1 → 2.0.0-beta.28
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 +249 -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 +56 -0
- package/dist/angular/proxies.d.ts +696 -0
- package/dist/angular/proxies.js +1642 -0
- package/dist/angular/web-components.module.d.ts +7 -0
- package/dist/angular/web-components.module.js +168 -0
- package/dist/cjs/_vars-DMytunQw.js +26 -0
- package/dist/cjs/{index-Cb30DBqk.js → index-DaTpiyaU.js} +2 -0
- package/dist/cjs/{index-DpLAFt0R.js → index-Dwhgrew8.js} +401 -1805
- package/dist/cjs/index.cjs.js +4 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/maplibre-gl-BIvnXGyX.js +884 -0
- package/dist/cjs/{xv-accordion-v2_50.cjs.entry.js → xv-accordion-v2_49.cjs.entry.js} +2046 -694
- package/dist/cjs/xv-header-next.cjs.entry.js +10 -89
- package/dist/cjs/xv-mega-menu-next.cjs.entry.js +4 -4
- package/dist/cjs/xv-webcomponents.cjs.js +3 -3
- package/dist/collection/collection-manifest.json +2 -2
- 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 -88
- package/dist/collection/components/xv-header-next/xv-header-next.js +10 -91
- 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 +14 -11
- 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.css +129 -61
- package/dist/collection/components/xv-table/xv-table-cell/xv-table-cell.js +279 -78
- package/dist/collection/components/xv-table/xv-table-row/xv-table-row.css +138 -24
- package/dist/collection/components/xv-table/xv-table-row/xv-table-row.js +334 -162
- package/dist/collection/components/xv-table/xv-table.css +240 -99
- package/dist/collection/components/xv-table/xv-table.js +2058 -64
- package/dist/collection/components/xv-table/xv-table.model.js +10 -0
- package/dist/collection/components/xv-table/xv-table.utils.js +243 -0
- package/dist/collection/components/xv-tabs/xv-tab/xv-tab.js +1 -1
- 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/collection/utils/table-layout.js +130 -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-B0kwaJ8n.js +1 -0
- package/dist/components/p-B9zHwwFm.js +1 -0
- package/dist/components/p-BEoh0dZI.js +1 -0
- package/dist/components/p-BaZ-srfu.js +1 -0
- package/dist/components/p-Bej2l-wN.js +1 -0
- package/dist/components/p-BfP9ezJQ.js +1 -0
- package/dist/components/p-BfhvpeQh.js +1 -0
- package/dist/components/p-BiiqsbVQ.js +1 -0
- package/dist/components/p-CSYnNMKb.js +1 -0
- package/dist/components/p-CspyoLL9.js +1 -0
- package/dist/components/p-CvgDDcjp.js +1 -0
- package/dist/components/p-D4FwGeDJ.js +1 -0
- package/dist/components/p-DCvH_Br_.js +1 -0
- package/dist/components/p-DFe9Mtw_.js +1 -0
- package/dist/components/p-DFtMwE-h.js +1 -0
- package/dist/components/p-DIvi4fI3.js +1 -0
- package/dist/components/p-DNRISLNf.js +1 -0
- package/dist/components/p-DPnvoOYj.js +1 -0
- package/dist/components/p-Dwbe941A.js +1 -0
- package/dist/components/p-HjYAjHna.js +1 -0
- package/dist/components/p-JClekcEh.js +1 -0
- package/dist/components/p-NoM9oIJn.js +1 -0
- package/dist/components/p-SvgdO2VS.js +1 -0
- package/dist/components/p-XEk4dHG3.js +1 -0
- package/dist/components/p-e0i0f6QA.js +1 -0
- package/dist/components/p-i7_81si-.js +1 -0
- package/dist/components/p-i82EFiq6.js +1 -0
- package/dist/components/p-jD7nSJaM.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-cell.d.ts +11 -0
- package/dist/components/xv-table-cell.js +1 -0
- package/dist/components/xv-table-row.d.ts +11 -0
- package/dist/components/xv-table-row.js +1 -0
- package/dist/components/xv-table.d.ts +11 -0
- package/dist/components/xv-table.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 +11561 -0
- package/dist/docs.d.ts +480 -0
- package/dist/docs.json +17181 -0
- package/dist/esm/_vars-CDEU4jkD.js +23 -0
- package/dist/esm/{index-CQm2sRKT.js → index-ClusqSO5.js} +2 -0
- package/dist/esm/{index-DmxA2ysB.js → index-DJC3-dS3.js} +400 -1806
- package/dist/esm/index.js +2 -1
- package/dist/esm/loader.js +3 -3
- 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 → xv-accordion-v2_49.entry.js} +2044 -691
- package/dist/esm/xv-header-next.entry.js +10 -89
- package/dist/esm/xv-mega-menu-next.entry.js +4 -4
- package/dist/esm/xv-webcomponents.js +4 -4
- package/dist/react/components.d.ts +55 -0
- package/dist/react/components.js +56 -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-cell.d.ts +9 -0
- package/dist/react/xv-table-cell.js +14 -0
- package/dist/react/xv-table-row.d.ts +9 -0
- package/dist/react/xv-table-row.js +14 -0
- package/dist/react/xv-table.d.ts +18 -0
- package/dist/react/xv-table.js +22 -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/xv-header/xv-header.d.ts +13 -29
- package/dist/types/components/xv-header-next/xv-header-next.d.ts +13 -29
- package/dist/types/components/xv-table/xv-table-cell/xv-table-cell.d.ts +43 -8
- package/dist/types/components/xv-table/xv-table-row/xv-table-row.d.ts +57 -18
- package/dist/types/components/xv-table/xv-table.d.ts +298 -9
- package/dist/types/components/xv-table/xv-table.model.d.ts +78 -0
- package/dist/types/components/xv-table/xv-table.utils.d.ts +47 -0
- package/dist/types/components.d.ts +1498 -209
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +126 -57
- package/dist/types/utils/table-layout.d.ts +7 -0
- package/dist/vscode-data.json +3293 -0
- package/dist/xv-webcomponents/index.esm.js +1 -1
- package/dist/xv-webcomponents/{p-fe9b38f8.entry.js → p-0c30d09f.entry.js} +1 -1
- package/dist/xv-webcomponents/p-6b58979e.entry.js +8 -0
- package/dist/xv-webcomponents/p-A3B7AR96.js +9 -0
- package/dist/xv-webcomponents/p-CDEU4jkD.js +1 -0
- package/dist/xv-webcomponents/p-DJC3-dS3.js +3 -0
- package/dist/xv-webcomponents/p-DSFVdw3w.js +1 -0
- package/dist/xv-webcomponents/p-c4173686.entry.js +1 -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 +139 -61
- package/dist/cjs/_vars-Cyrk3TAl.js +0 -3423
- package/dist/cjs/maplibre-gl-CCZS3Rg5.js +0 -900
- package/dist/collection/components/xv-header/_vars.js +0 -51
- package/dist/collection/components/xv-table/_vars.js +0 -2
- package/dist/collection/components/xv-table/xv-table-expand/xv-table-expand.css +0 -58
- package/dist/collection/components/xv-table/xv-table-expand/xv-table-expand.js +0 -75
- package/dist/esm/_vars-BkYBzv3h.js +0 -3413
- package/dist/esm/maplibre-gl-CS4Eagm9.js +0 -813
- package/dist/types/components/xv-header/_vars.d.ts +0 -47
- package/dist/types/components/xv-table/_vars.d.ts +0 -15
- package/dist/types/components/xv-table/xv-table-expand/xv-table-expand.d.ts +0 -8
- package/dist/xv-webcomponents/p-7832549c.entry.js +0 -8
- package/dist/xv-webcomponents/p-BkYBzv3h.js +0 -1
- package/dist/xv-webcomponents/p-CQm2sRKT.js +0 -1
- package/dist/xv-webcomponents/p-CS4Eagm9.js +0 -10
- package/dist/xv-webcomponents/p-DmxA2ysB.js +0 -2
- package/dist/xv-webcomponents/p-f46bb687.entry.js +0 -1
|
@@ -34,12 +34,12 @@ export class XvNumberInput {
|
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
36
|
const message = resolveFieldMessage({ error: this.error, warning: this.warning, helper: this.helper });
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: 'fd949dbee9a685334744513839474335e97190d3', class: { disabled: !!this.disabled } }, h("label", { key: 'db29ff8f70da55aa973496ee7e7af965d79e7bae', class: "control" }, this.label && h("span", { key: 'caa748ec74ea2effe380a56b0855633ce10e2065', class: "control_label" }, this.label), h("div", { key: '8fe3b2f7905905e7b1d27ba43c571b4eee7593b8', class: {
|
|
38
38
|
'control_input': true,
|
|
39
39
|
readonly: !!this.readonly,
|
|
40
40
|
error: !!this.error,
|
|
41
41
|
warning: !!this.warning
|
|
42
|
-
} }, h("input", { key: '
|
|
42
|
+
} }, h("input", { key: 'ab4b88d4f838ee579c7aaed2b3bbda40f9d5af85', type: "number", placeholder: this.placeholder, disabled: this.disabled, readonly: this.readonly, onInput: this.handleInput, name: this.name, min: this.min, max: this.max, step: this.step, value: this.value }), h("div", { key: '54c0f3a57ea0453c933007c1c497fb04db93abc6', class: "control_input__icons" }, this.loading ? (h("xv-loader-v2", { size: SIZE_VAR.XS })) : !!this.error ? (h("span", { class: "status-icon error", "aria-hidden": "true" }, "!")) : !!this.warning ? (h("span", { class: "status-icon warning", "aria-hidden": "true" }, "\u26A0")) : null, h("xv-button-v2", { key: '71aa77781a192b7bf256ca2f76758b7b88a585db', size: this.size, variant: "ghost", disabled: this.disabled || this.readonly, onClick: this.decrement, "aria-label": "Decrease" }, h("span", { key: '5dfbf741ac7bd7e3f13fb74e0b3128d42e90792a', slot: "icon-left", class: "status-icon" }, "\u2212")), h("hr", { key: '300df3ef94b8a27ae1a9fac99f7b83bd41212e5b' }), h("xv-button-v2", { key: '54fe63a29a63ba942e0c7f8e57049deef32a0451', size: this.size, variant: "ghost", disabled: this.disabled || this.readonly, onClick: this.increment, "aria-label": "Increase" }, h("span", { key: '0cbbf8c2dd42fe60f5ab60a61c4c33373290cca7', slot: "icon-left", class: "status-icon" }, "+"))))), message && (h("p", { key: 'e8fff1ef532b31dfe97f01e8f92d776e9abd9a94', class: { message: true, [message.level]: true } }, message.text))));
|
|
43
43
|
}
|
|
44
44
|
static get is() { return "xv-number-input-v2"; }
|
|
45
45
|
static get encapsulation() { return "shadow"; }
|
|
@@ -334,7 +334,8 @@ export class XvNumberInput {
|
|
|
334
334
|
"SIZE_VAR_STR": {
|
|
335
335
|
"location": "import",
|
|
336
336
|
"path": "../../types/enum",
|
|
337
|
-
"id": "src/types/enum.ts::SIZE_VAR_STR"
|
|
337
|
+
"id": "src/types/enum.ts::SIZE_VAR_STR",
|
|
338
|
+
"referenceLocation": "SIZE_VAR_STR"
|
|
338
339
|
}
|
|
339
340
|
}
|
|
340
341
|
},
|
package/dist/collection/components/xv-overflow-menu/xv-overflow-menu-item/xv-overflow-menu-item.js
CHANGED
|
@@ -75,7 +75,8 @@ export class XvOverflowMenuItem {
|
|
|
75
75
|
"OverflowMenuEvent": {
|
|
76
76
|
"location": "import",
|
|
77
77
|
"path": "../_vars",
|
|
78
|
-
"id": "src/components/xv-overflow-menu/_vars.ts::OverflowMenuEvent"
|
|
78
|
+
"id": "src/components/xv-overflow-menu/_vars.ts::OverflowMenuEvent",
|
|
79
|
+
"referenceLocation": "OverflowMenuEvent"
|
|
79
80
|
}
|
|
80
81
|
}
|
|
81
82
|
},
|
|
@@ -100,7 +101,8 @@ export class XvOverflowMenuItem {
|
|
|
100
101
|
"OverflowMenuVariant": {
|
|
101
102
|
"location": "import",
|
|
102
103
|
"path": "../_vars",
|
|
103
|
-
"id": "src/components/xv-overflow-menu/_vars.ts::OverflowMenuVariant"
|
|
104
|
+
"id": "src/components/xv-overflow-menu/_vars.ts::OverflowMenuVariant",
|
|
105
|
+
"referenceLocation": "OverflowMenuVariant"
|
|
104
106
|
}
|
|
105
107
|
}
|
|
106
108
|
},
|
|
@@ -114,7 +116,7 @@ export class XvOverflowMenuItem {
|
|
|
114
116
|
"setter": false,
|
|
115
117
|
"reflect": true,
|
|
116
118
|
"attribute": "variant",
|
|
117
|
-
"defaultValue": "
|
|
119
|
+
"defaultValue": "''"
|
|
118
120
|
},
|
|
119
121
|
"clickable": {
|
|
120
122
|
"type": "boolean",
|
|
@@ -220,7 +222,8 @@ export class XvOverflowMenuItem {
|
|
|
220
222
|
"OverflowMenuEvent": {
|
|
221
223
|
"location": "import",
|
|
222
224
|
"path": "../_vars",
|
|
223
|
-
"id": "src/components/xv-overflow-menu/_vars.ts::OverflowMenuEvent"
|
|
225
|
+
"id": "src/components/xv-overflow-menu/_vars.ts::OverflowMenuEvent",
|
|
226
|
+
"referenceLocation": "OverflowMenuEvent"
|
|
224
227
|
}
|
|
225
228
|
}
|
|
226
229
|
}
|
|
@@ -21,20 +21,21 @@ export class XvOverflowMenu {
|
|
|
21
21
|
document.removeEventListener('click', this.handleClickOutside, { capture: true });
|
|
22
22
|
};
|
|
23
23
|
this.handleClickOutside = (ev) => {
|
|
24
|
-
var _a, _b
|
|
24
|
+
var _a, _b;
|
|
25
25
|
if (!this.open)
|
|
26
26
|
return;
|
|
27
|
-
//
|
|
28
|
-
//
|
|
29
|
-
const
|
|
30
|
-
|
|
27
|
+
// composedPath is the only check that survives shadow-DOM retargeting: a click inside a menu
|
|
28
|
+
// that lives in another component's shadow root arrives here retargeted to that outer host.
|
|
29
|
+
const path = (_b = (_a = ev.composedPath) === null || _a === void 0 ? void 0 : _a.call(ev)) !== null && _b !== void 0 ? _b : [];
|
|
30
|
+
const inside = (node) => !!node && (path.includes(node) || (path.length === 0 && node.contains(ev.target)));
|
|
31
|
+
if (inside(this.el))
|
|
31
32
|
return;
|
|
32
|
-
if ((
|
|
33
|
+
if (inside(this.triggerButtonEl))
|
|
33
34
|
return;
|
|
34
|
-
if ((
|
|
35
|
+
if (inside(this.listEl))
|
|
35
36
|
return;
|
|
36
37
|
// A click on the anchor is handled by its own listener (toggle) — don't treat it as "outside".
|
|
37
|
-
if ((
|
|
38
|
+
if (inside(this.anchorEl))
|
|
38
39
|
return;
|
|
39
40
|
this.open = false;
|
|
40
41
|
};
|
|
@@ -397,7 +398,8 @@ export class XvOverflowMenu {
|
|
|
397
398
|
"SIZE_VAR_STR": {
|
|
398
399
|
"location": "import",
|
|
399
400
|
"path": "../../types/enum",
|
|
400
|
-
"id": "src/types/enum.ts::SIZE_VAR_STR"
|
|
401
|
+
"id": "src/types/enum.ts::SIZE_VAR_STR",
|
|
402
|
+
"referenceLocation": "SIZE_VAR_STR"
|
|
401
403
|
}
|
|
402
404
|
}
|
|
403
405
|
},
|
|
@@ -449,7 +451,7 @@ export class XvOverflowMenu {
|
|
|
449
451
|
"optional": true,
|
|
450
452
|
"docs": {
|
|
451
453
|
"tags": [],
|
|
452
|
-
"text": "Open the menu from an arbitrary element instead of the built-in trigger button.\nAccepts an element or a CSS selector; a click on it toggles the menu, which is then\npositioned against that element."
|
|
454
|
+
"text": "Open the menu from an arbitrary element instead of the built-in trigger button.\r\nAccepts an element or a CSS selector; a click on it toggles the menu, which is then\r\npositioned against that element."
|
|
453
455
|
},
|
|
454
456
|
"getter": false,
|
|
455
457
|
"setter": false,
|
|
@@ -481,7 +483,8 @@ export class XvOverflowMenu {
|
|
|
481
483
|
"OverflowMenuEvent": {
|
|
482
484
|
"location": "import",
|
|
483
485
|
"path": "./_vars",
|
|
484
|
-
"id": "src/components/xv-overflow-menu/_vars.ts::OverflowMenuEvent"
|
|
486
|
+
"id": "src/components/xv-overflow-menu/_vars.ts::OverflowMenuEvent",
|
|
487
|
+
"referenceLocation": "OverflowMenuEvent"
|
|
485
488
|
}
|
|
486
489
|
}
|
|
487
490
|
}
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
user-select: none;
|
|
57
57
|
}
|
|
58
58
|
:host .list .active .list_page {
|
|
59
|
-
color: var(--text-
|
|
59
|
+
color: var(--text-primary);
|
|
60
60
|
font-weight: 700;
|
|
61
61
|
}
|
|
62
62
|
:host .list .active .list_page:after {
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
left: 25%;
|
|
67
67
|
width: 50%;
|
|
68
68
|
height: 2px;
|
|
69
|
-
background-color: var(--
|
|
69
|
+
background-color: var(--border-interactive);
|
|
70
70
|
}
|
|
71
71
|
:host .list_dots {
|
|
72
72
|
position: relative;
|
|
@@ -106,7 +106,7 @@ export class XvPagination {
|
|
|
106
106
|
this.observer.disconnect();
|
|
107
107
|
}
|
|
108
108
|
render() {
|
|
109
|
-
return (h(Host, { key: '
|
|
109
|
+
return (h(Host, { key: 'dfcaec3126bda46a384d2ba0cebb5725b1746974', class: { block: this.block, [this.currentVariant]: true, [this.size]: !!this.size } }, this.currentVariant === 'full' && (h("div", { key: '1f78ed3108ceba63a5642fc7d6461c8bd54b0bfc', class: "block" }, h("select", { key: 'c9094a7d587f8cd20e44e810d45d4d17b542b8b7', class: "options-select", name: "options", onChange: this.handleItemsPerPageChange }, this.pageSizeOptions.map((v) => h("option", { selected: v === this.itemsPerPage, value: v }, v))))), this.currentVariant === 'full' && (h("span", { key: 'e44c9d5b426cee28c774a1882d61cd8dae612b32', class: "block block_full" }, `${(this.page - 1) * this.itemsPerPage + 1} – ${Math.min(this.page * this.itemsPerPage, this.totalItems)} von ${this.totalItems} Einträgen`)), this.currentVariant === 'full' && (h("div", { key: 'facf4962a665a9a46df80e3ccba8b033079abfd5', class: "block" }, h("select", { key: '7f75e81bbfd6e95d680432cd22fa5abff5da4b76', class: "options-select", name: "pages", onChange: this.handlePageSelectChange }, Array.from({ length: this.total }, (_, i) => (h("option", { selected: this.page === i + 1, value: i + 1 }, i + 1)))), h("span", { key: '312c48c90727a800248e1736c314ae0c9d98ba8f' }, "von ", this.total, " Seiten"))), this.currentVariant === 'compact' && h("span", { key: '954f68bfa4e2ab1b0f96a5608fff0f2836d00141', class: "block" }, "Seite ", this.page), h("xv-button-v2", { key: '06d4ba3385b072dd63e097d6d130a3a12707f892', variant: "ghost", size: this.size, onClick: () => this.handlePageChange(this.page - 1), disabled: this.page <= 1 }, h("span", { key: '44351eb65d1bad894b1762a754b29b359b0f4dfc', slot: "icon-left", class: "icon icon_prev" })), this.currentVariant === 'regular' && (h("ul", { key: '541df2de18106ffa2200608edf6880495c6a911a', class: "list" }, this.visiblePagesWithDots.map((page) => (h("li", { class: { active: this.page === page } }, page === 'dots-start' ? (h("div", { class: "list_dots" }, h("xv-button-v2", { variant: "ghost", size: this.size, tabindex: -1 }, h("span", { slot: "icon-left", class: "list_dots__icon" }, "...")), h("select", { name: "start", onChange: this.handlePageSelectChange }, Array.from({ length: this.page - 3 }, (_, i) => (h("option", { value: i + 2 }, i + 2)))))) : page === 'dots-end' ? (h("div", { class: "list_dots" }, h("xv-button-v2", { variant: "ghost", size: this.size, tabindex: -1 }, h("span", { slot: "icon-left", class: "list_dots__icon" }, "...")), h("select", { name: "end", onChange: this.handlePageSelectChange }, Array.from({ length: this.total - (this.page + 2) }, (_, i) => (h("option", { value: i + this.page + 2 }, i + this.page + 2)))))) : (h("xv-button-v2", { variant: "ghost", size: this.size, disabled: this.page === page, onClick: () => this.handlePageChange(page) }, h("span", { class: "list_page", slot: "icon-left" }, page)))))))), h("xv-button-v2", { key: '44a99d1c878dd67ff31ea5a0853082cc908842b8', variant: "ghost", size: this.size, onClick: () => this.handlePageChange(this.page + 1), disabled: this.page >= this.total }, h("span", { key: 'b7abb64c61e86f4f630a7c8314d0b56af236156f', slot: "icon-left", class: "icon icon_next" }))));
|
|
110
110
|
}
|
|
111
111
|
static get is() { return "xv-pagination"; }
|
|
112
112
|
static get encapsulation() { return "shadow"; }
|
|
@@ -212,7 +212,8 @@ export class XvPagination {
|
|
|
212
212
|
"SIZE_VAR_STR": {
|
|
213
213
|
"location": "import",
|
|
214
214
|
"path": "../../types/enum",
|
|
215
|
-
"id": "src/types/enum.ts::SIZE_VAR_STR"
|
|
215
|
+
"id": "src/types/enum.ts::SIZE_VAR_STR",
|
|
216
|
+
"referenceLocation": "SIZE_VAR_STR"
|
|
216
217
|
}
|
|
217
218
|
}
|
|
218
219
|
},
|
|
@@ -257,7 +258,8 @@ export class XvPagination {
|
|
|
257
258
|
"XvPaginationVariant": {
|
|
258
259
|
"location": "import",
|
|
259
260
|
"path": "./xv-pagination.model",
|
|
260
|
-
"id": "src/components/xv-pagination/xv-pagination.model.ts::XvPaginationVariant"
|
|
261
|
+
"id": "src/components/xv-pagination/xv-pagination.model.ts::XvPaginationVariant",
|
|
262
|
+
"referenceLocation": "XvPaginationVariant"
|
|
261
263
|
}
|
|
262
264
|
}
|
|
263
265
|
},
|
|
@@ -291,7 +293,8 @@ export class XvPagination {
|
|
|
291
293
|
"XvPaginationVariant": {
|
|
292
294
|
"location": "import",
|
|
293
295
|
"path": "./xv-pagination.model",
|
|
294
|
-
"id": "src/components/xv-pagination/xv-pagination.model.ts::XvPaginationVariant"
|
|
296
|
+
"id": "src/components/xv-pagination/xv-pagination.model.ts::XvPaginationVariant",
|
|
297
|
+
"referenceLocation": "XvPaginationVariant"
|
|
295
298
|
}
|
|
296
299
|
}
|
|
297
300
|
},
|
|
@@ -5,7 +5,7 @@ export class XvProgressIndicatorItem {
|
|
|
5
5
|
this.status = PROGRESS_ITEM_STATUS.NO_STARTED;
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: '095d2a3ab584938764e1ce056f8f4a4e03838b88', status: this.status, class: { 'xv-progress-indicator-item': true } }, h("span", { key: '77ac13565ced65dbc52eda61d15bff0bfe8253b2', class: "line" }), h("span", { key: '104664fce3e8512edaf71c76d5bf76cce7c397e4', class: "icon" }, h("svg", { key: '3d81d279fa5ef3e50ee4a3b315097986ffb57546', xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 448 512" }, h("path", { key: 'e109447615213d59eb17539fc0c0d649360c2d64', fill: "currentColor", d: "M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z" }))), h("p", { key: 'd7120219126685f42ab267b60a5397bd69b5d61c', class: "label" }, h("slot", { key: 'f8e873bfa1b913c74e1971fe4445fdd2473b9262' }))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "xv-progress-indicator-v2-item"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -31,7 +31,8 @@ export class XvProgressIndicatorItem {
|
|
|
31
31
|
"PROGRESS_ITEM_STATUS": {
|
|
32
32
|
"location": "import",
|
|
33
33
|
"path": "../_vars",
|
|
34
|
-
"id": "src/components/xv-progress-indicator/_vars.ts::PROGRESS_ITEM_STATUS"
|
|
34
|
+
"id": "src/components/xv-progress-indicator/_vars.ts::PROGRESS_ITEM_STATUS",
|
|
35
|
+
"referenceLocation": "PROGRESS_ITEM_STATUS"
|
|
35
36
|
}
|
|
36
37
|
}
|
|
37
38
|
},
|
|
@@ -55,7 +55,7 @@ export class XvProgressIndicator {
|
|
|
55
55
|
this.updateChildItems();
|
|
56
56
|
}
|
|
57
57
|
render() {
|
|
58
|
-
return (h(Host, { key: '
|
|
58
|
+
return (h(Host, { key: '48d7968fc2b8d205171b1bd111b04de7c7939979', variant: this.variant, size: this.size, class: { 'xv-progress-indicator': true } }, h("slot", { key: '740f57cea4b36e53d02c42527504003fd188fa45' })));
|
|
59
59
|
}
|
|
60
60
|
static get is() { return "xv-progress-indicator-v2"; }
|
|
61
61
|
static get encapsulation() { return "shadow"; }
|
|
@@ -83,7 +83,7 @@ export class XvProgressIndicator {
|
|
|
83
83
|
"optional": false,
|
|
84
84
|
"docs": {
|
|
85
85
|
"tags": [],
|
|
86
|
-
"text": "Current progress\nfrom 0 to 100"
|
|
86
|
+
"text": "Current progress\r\nfrom 0 to 100"
|
|
87
87
|
},
|
|
88
88
|
"getter": false,
|
|
89
89
|
"setter": false,
|
|
@@ -103,7 +103,7 @@ export class XvProgressIndicator {
|
|
|
103
103
|
"optional": false,
|
|
104
104
|
"docs": {
|
|
105
105
|
"tags": [],
|
|
106
|
-
"text": "Progress variant\npossible option `horizontal`"
|
|
106
|
+
"text": "Progress variant\r\npossible option `horizontal`"
|
|
107
107
|
},
|
|
108
108
|
"getter": false,
|
|
109
109
|
"setter": false,
|
|
@@ -121,7 +121,8 @@ export class XvProgressIndicator {
|
|
|
121
121
|
"SIZE_VAR_STR": {
|
|
122
122
|
"location": "import",
|
|
123
123
|
"path": "../../types/enum",
|
|
124
|
-
"id": "src/types/enum.ts::SIZE_VAR_STR"
|
|
124
|
+
"id": "src/types/enum.ts::SIZE_VAR_STR",
|
|
125
|
+
"referenceLocation": "SIZE_VAR_STR"
|
|
125
126
|
}
|
|
126
127
|
}
|
|
127
128
|
},
|
|
@@ -129,7 +130,7 @@ export class XvProgressIndicator {
|
|
|
129
130
|
"optional": false,
|
|
130
131
|
"docs": {
|
|
131
132
|
"tags": [],
|
|
132
|
-
"text": "Size of progress\nenum SIZE_VAR\npossible options `XS | SM | MD | LG | XL`"
|
|
133
|
+
"text": "Size of progress\r\nenum SIZE_VAR\r\npossible options `XS | SM | MD | LG | XL`"
|
|
133
134
|
},
|
|
134
135
|
"getter": false,
|
|
135
136
|
"setter": false,
|
|
@@ -25,12 +25,12 @@ export class XvRadio {
|
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
27
|
const message = resolveFieldMessage({ error: this.error, warning: this.warning, helper: this.helper });
|
|
28
|
-
return (h("div", { key: '
|
|
28
|
+
return (h("div", { key: '78a696124ace0194164abfdd9b9cf0dae5663c25', class: {
|
|
29
29
|
'xv-radio': true,
|
|
30
30
|
'xv-radio--reverse': this.reverse,
|
|
31
31
|
'xv-radio--block': this.block,
|
|
32
32
|
[`xv-radio--size-${this.size}`]: !!this.size,
|
|
33
|
-
} }, this.label && h("p", { key: '
|
|
33
|
+
} }, this.label && h("p", { key: '895d292b60056c47d085942204bda2172f1cb1f9', class: "xv-radio_label" }, this.label), h("label", { key: 'ad104662e82e4e49c79e1c1059f67b9a1dc1b4d0', class: { 'xv-radio_container': true, disabled: this.disabled } }, h("div", { key: '982c57a82e6346926571843e0d82014572eb4f55', class: { 'xv-radio_input': true, 'xv-radio_input--error': !!this.error || this.error === '' } }, h("input", { key: 'd9f0ec401a8d960446d175f9c716125e9a76d23c', ref: el => (this.inputEl = el), type: "radio", name: this.name, value: this.value, checked: this.checked, readonly: this.readonly, disabled: this.disabled }), h("span", { key: '065508427f0788c19fa8ce0b380e6f04c9f3f2d6', class: "xv-radio_input__mark" })), h("span", { key: '3edaf56714cc54403e99f14ad82d9bd65106b4ff', class: "xv-radio_container__label" }, h("slot", { key: '6e4f98fd856b503516870e457b326ba4e592c3e2' }))), message && (h("span", { key: '683f26fc4c9f77e2aef9c716fe7b010276cf911a', class: `xv-radio_msg xv-radio_msg--${message.level}` }, message.level !== 'helper' && (h("span", { key: '77c8e8c5e63f1b99ae92dc9f1b2743f95fd9fecd', class: "xv-radio_msg__status", "aria-hidden": "true" }, message.level === 'error' ? '!' : '⚠')), message.text)), h("slot", { key: '446f5d0c261b225cf86ab53c17b8e80e995237e0', name: "info" })));
|
|
34
34
|
}
|
|
35
35
|
connectedCallback() {
|
|
36
36
|
var _a;
|
|
@@ -334,7 +334,8 @@ export class XvRadio {
|
|
|
334
334
|
"SIZE_VAR_STR": {
|
|
335
335
|
"location": "import",
|
|
336
336
|
"path": "../../types/enum",
|
|
337
|
-
"id": "src/types/enum.ts::SIZE_VAR_STR"
|
|
337
|
+
"id": "src/types/enum.ts::SIZE_VAR_STR",
|
|
338
|
+
"referenceLocation": "SIZE_VAR_STR"
|
|
338
339
|
}
|
|
339
340
|
}
|
|
340
341
|
},
|
|
@@ -38,7 +38,7 @@ export class XvSlider {
|
|
|
38
38
|
this.setValue(this.min);
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
|
-
return (h(Host, { key: '
|
|
41
|
+
return (h(Host, { key: 'ed2b742de5bb3b3dc72776e18df4c06a7322acf4', class: { disabled: this.disabled, readonly: this.readonly } }, this.label && h("label", { key: 'b01428e20fc4034f8bf4597ec1b0a05f7c0e3724', class: "label" }, this.label), h("div", { key: 'ea74b08ac9ba4870f8ab1faa6c4ae9bf766967df', class: "control" }, h("span", { key: 'cede2155f4e93ec8ef3ea2fb53e14a26ca7d2ed0', class: "control_label" }, this.min), h("input", { key: 'dc456088e17cde56d99139155f596e7a5587b75c', type: "range", disabled: this.disabled || this.readonly, readonly: this.readonly, name: this.name, min: this.min, max: this.max, step: this.step, value: this.value, onInput: this.handleInput, style: { backgroundSize: `${((this.value - this.min) * 100) / (this.max - this.min)}% 100%` } }), h("span", { key: '04a125979c07e8c83d897ff43ea682a209156c00', class: "control_label" }, this.max), !this.notEditable && (h("input", { key: '3fa69300100cf1784e0e9938d15633d014fab66c', type: "number", disabled: this.disabled, readonly: this.readonly, name: `${this.name}-number-input`, step: this.step, min: this.min, max: this.max, value: this.value, onInput: this.handleNumberInput, onBlur: this.handleNumberBlur })))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "xv-slider-v2"; }
|
|
44
44
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,93 +1,161 @@
|
|
|
1
|
-
@charset "UTF-8";
|
|
2
1
|
:host {
|
|
3
|
-
|
|
2
|
+
/**
|
|
3
|
+
* @prop --xv-table-cell-padding-x: Horizontal padding. Inherited from the table.
|
|
4
|
+
* @prop --xv-table-cell-padding-y: Vertical padding. Inherited from the table.
|
|
5
|
+
* @prop --xv-table-cell-clamp: Lines kept when `overflow` is `clamp`.
|
|
6
|
+
*/
|
|
7
|
+
--xv-table-cell-padding-x: var(--xv-table-padding-x, var(--spacing-05));
|
|
8
|
+
--xv-table-cell-padding-y: var(--xv-table-padding-y, var(--spacing-03));
|
|
9
|
+
--xv-table-cell-clamp: 2;
|
|
10
|
+
display: flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
box-sizing: border-box;
|
|
13
|
+
min-width: 0;
|
|
14
|
+
padding-block: var(--xv-table-cell-padding-y);
|
|
15
|
+
padding-inline: min(var(--xv-table-cell-padding-x), 25%);
|
|
16
|
+
color: var(--text-primary);
|
|
17
|
+
font-family: var(--ff-body);
|
|
18
|
+
font-size: var(--fz-md);
|
|
19
|
+
line-height: 18px;
|
|
20
|
+
letter-spacing: 0.16px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
:host([align=center]) {
|
|
24
|
+
justify-content: center;
|
|
25
|
+
text-align: center;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
:host([align=end]) {
|
|
29
|
+
justify-content: flex-end;
|
|
30
|
+
text-align: right;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.content {
|
|
34
|
+
min-width: 0;
|
|
35
|
+
max-width: 100%;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
[part=tooltip] {
|
|
39
|
+
min-width: 0;
|
|
40
|
+
max-width: 100%;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
:host([overflow=ellipsis]) .content {
|
|
4
44
|
overflow: hidden;
|
|
45
|
+
white-space: nowrap;
|
|
5
46
|
text-overflow: ellipsis;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
font-style: normal;
|
|
11
|
-
font-weight: 400;
|
|
12
|
-
line-height: 1.2;
|
|
13
|
-
letter-spacing: 0.16px;
|
|
14
|
-
transition: 0.25s ease-in-out background-color;
|
|
47
|
+
}
|
|
48
|
+
:host([overflow=ellipsis]) .content ::slotted(*) {
|
|
49
|
+
min-width: 0;
|
|
50
|
+
max-width: 100%;
|
|
15
51
|
}
|
|
16
52
|
|
|
17
|
-
:host([
|
|
53
|
+
:host([overflow=clamp]) .content {
|
|
18
54
|
display: -webkit-box;
|
|
19
|
-
-webkit-line-clamp: 2;
|
|
20
55
|
-webkit-box-orient: vertical;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
56
|
+
-webkit-line-clamp: var(--xv-table-cell-clamp);
|
|
57
|
+
overflow: hidden;
|
|
58
|
+
}
|
|
59
|
+
:host([overflow=clamp]) .content ::slotted(*) {
|
|
60
|
+
display: inline;
|
|
25
61
|
}
|
|
26
62
|
|
|
27
|
-
:host([
|
|
28
|
-
|
|
63
|
+
:host([overflow=wrap]) .content {
|
|
64
|
+
overflow: visible;
|
|
65
|
+
white-space: normal;
|
|
29
66
|
}
|
|
30
67
|
|
|
31
|
-
:host([
|
|
32
|
-
|
|
68
|
+
:host([header]) {
|
|
69
|
+
position: relative;
|
|
70
|
+
gap: var(--spacing-02);
|
|
71
|
+
font-weight: 600;
|
|
33
72
|
}
|
|
34
73
|
|
|
35
|
-
:host([
|
|
36
|
-
|
|
74
|
+
:host([header]) .content {
|
|
75
|
+
flex: 1;
|
|
37
76
|
}
|
|
38
77
|
|
|
39
|
-
:host([
|
|
40
|
-
|
|
78
|
+
:host([header][align=end]) .sort {
|
|
79
|
+
order: -1;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
:host([header][sortable]) {
|
|
41
83
|
cursor: pointer;
|
|
42
|
-
user-select: none;
|
|
43
84
|
}
|
|
44
|
-
:host([
|
|
45
|
-
|
|
46
|
-
line-height: 10px;
|
|
47
|
-
display: inline-flex;
|
|
48
|
-
flex-direction: column;
|
|
49
|
-
align-items: center;
|
|
50
|
-
justify-content: center;
|
|
51
|
-
position: absolute;
|
|
52
|
-
right: 8px;
|
|
53
|
-
pointer-events: none;
|
|
54
|
-
transition: 350ms ease-in-out opacity;
|
|
55
|
-
opacity: 0;
|
|
85
|
+
:host([header][sortable]):hover {
|
|
86
|
+
background: var(--layer-accent-hover-01);
|
|
56
87
|
}
|
|
57
|
-
:host([
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
transform: translateY(calc(-50% - 5px));
|
|
88
|
+
:host([header][sortable]):focus-visible {
|
|
89
|
+
outline: 2px solid var(--focus);
|
|
90
|
+
outline-offset: 0;
|
|
61
91
|
}
|
|
62
|
-
:host([
|
|
63
|
-
|
|
64
|
-
top: 50%;
|
|
65
|
-
transform: translateY(calc(-50% + 5px));
|
|
92
|
+
:host([header][sortable]):focus-visible {
|
|
93
|
+
outline-offset: -2px;
|
|
66
94
|
}
|
|
67
95
|
|
|
68
|
-
:host([sort]
|
|
69
|
-
|
|
96
|
+
:host([header][sort-direction=asc]),
|
|
97
|
+
:host([header][sort-direction=desc]) {
|
|
98
|
+
background: var(--layer-accent-active-01);
|
|
70
99
|
}
|
|
71
|
-
|
|
72
|
-
|
|
100
|
+
|
|
101
|
+
.sort {
|
|
102
|
+
flex: none;
|
|
103
|
+
width: 8px;
|
|
104
|
+
height: 8px;
|
|
105
|
+
border-right: 1px solid currentColor;
|
|
106
|
+
border-bottom: 1px solid currentColor;
|
|
107
|
+
opacity: 0;
|
|
108
|
+
transform: rotate(45deg) translate(-2px, -2px);
|
|
73
109
|
}
|
|
74
110
|
|
|
75
|
-
:host([
|
|
76
|
-
|
|
111
|
+
:host([header][sortable]:hover) .sort {
|
|
112
|
+
opacity: 0.5;
|
|
77
113
|
}
|
|
78
|
-
|
|
114
|
+
|
|
115
|
+
:host([header][sort-direction=asc]) .sort,
|
|
116
|
+
:host([header][sort-direction=desc]) .sort {
|
|
79
117
|
opacity: 1;
|
|
80
118
|
}
|
|
81
|
-
|
|
82
|
-
|
|
119
|
+
|
|
120
|
+
:host([header][sort-direction=asc]) .sort {
|
|
121
|
+
transform: rotate(-135deg) translate(-2px, -2px);
|
|
83
122
|
}
|
|
84
123
|
|
|
85
|
-
|
|
86
|
-
|
|
124
|
+
.grip {
|
|
125
|
+
position: absolute;
|
|
126
|
+
top: 50%;
|
|
127
|
+
left: 4px;
|
|
128
|
+
transform: translateY(-50%);
|
|
129
|
+
width: 8px;
|
|
130
|
+
height: 14px;
|
|
131
|
+
opacity: 0;
|
|
132
|
+
cursor: grab;
|
|
133
|
+
background-image: radial-gradient(currentColor 1px, transparent 1px);
|
|
134
|
+
background-size: 4px 4px;
|
|
87
135
|
}
|
|
88
|
-
|
|
89
|
-
|
|
136
|
+
|
|
137
|
+
:host([header]:hover) .grip {
|
|
138
|
+
opacity: 0.5;
|
|
90
139
|
}
|
|
91
|
-
|
|
92
|
-
|
|
140
|
+
|
|
141
|
+
:host(.drag-over) {
|
|
142
|
+
box-shadow: inset 2px 0 0 0 var(--interactive-01);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.resize {
|
|
146
|
+
position: absolute;
|
|
147
|
+
top: 0;
|
|
148
|
+
right: 0;
|
|
149
|
+
z-index: 1;
|
|
150
|
+
width: 6px;
|
|
151
|
+
height: 100%;
|
|
152
|
+
cursor: col-resize;
|
|
153
|
+
touch-action: none;
|
|
154
|
+
}
|
|
155
|
+
.resize:hover, .resize:active {
|
|
156
|
+
background: var(--interactive-01);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
:host([hidden]) {
|
|
160
|
+
display: none;
|
|
93
161
|
}
|