xv-webcomponents 0.1.43 → 0.1.44
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 +129 -129
- package/dist/cjs/app-globals-V2Kpy_OQ.js +8 -0
- package/dist/cjs/app-globals-V2Kpy_OQ.js.map +1 -0
- package/dist/cjs/index-BE3kw7I4.js +36 -0
- package/dist/cjs/index-BE3kw7I4.js.map +1 -0
- package/dist/cjs/index-MLh9SbX2.js +1917 -0
- package/dist/cjs/index-MLh9SbX2.js.map +1 -0
- package/dist/cjs/index.cjs.js +10 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +16 -0
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/xv-accordion-v2_34.cjs.entry.js +3510 -0
- package/dist/cjs/xv-accordion-v2_34.cjs.entry.js.map +1 -0
- package/dist/cjs/xv-breadcrumbs-v2.cjs.entry.js +20 -0
- package/dist/cjs/xv-breadcrumbs-v2.cjs.entry.js.map +1 -0
- package/dist/cjs/xv-breadcrumbs-v2.entry.cjs.js.map +1 -0
- package/dist/cjs/xv-webcomponents.cjs.js +28 -0
- package/dist/cjs/xv-webcomponents.cjs.js.map +1 -0
- package/dist/collection/assets/fonts/fontawesome5/fa-brands-400.svg +3717 -0
- package/dist/collection/assets/fonts/fontawesome5/fa-duotone-900.svg +15326 -0
- package/dist/collection/assets/fonts/fontawesome5/fa-light-300.svg +12420 -0
- package/dist/collection/assets/fonts/fontawesome5/fa-regular-400.svg +11323 -0
- package/dist/collection/assets/fonts/fontawesome5/fa-solid-900.svg +9653 -0
- package/dist/collection/collection-manifest.json +46 -0
- package/dist/collection/components/xv-accordion/xv-accordion.css +3 -0
- package/dist/collection/components/xv-accordion/xv-accordion.js +163 -0
- package/dist/collection/components/xv-accordion/xv-accordion.js.map +1 -0
- package/dist/collection/components/xv-accordion-item/xv-accordion-item.css +68 -0
- package/dist/collection/components/xv-accordion-item/xv-accordion-item.js +132 -0
- package/dist/collection/components/xv-accordion-item/xv-accordion-item.js.map +1 -0
- package/dist/collection/components/xv-breadcrumbs/xv-breadcrumbs.css +3 -0
- package/dist/collection/components/xv-breadcrumbs/xv-breadcrumbs.js +19 -0
- package/dist/collection/components/xv-breadcrumbs/xv-breadcrumbs.js.map +1 -0
- package/dist/collection/components/xv-button/xv-button-v2.css +173 -0
- package/dist/collection/components/xv-button/xv-button.js +229 -0
- package/dist/collection/components/xv-button/xv-button.js.map +1 -0
- package/dist/collection/components/xv-card/xv-card.css +63 -0
- package/dist/collection/components/xv-card/xv-card.js +122 -0
- package/dist/collection/components/xv-card/xv-card.js.map +1 -0
- package/dist/collection/components/xv-checkbox/xv-checkbox.css +138 -0
- package/dist/collection/components/xv-checkbox/xv-checkbox.js +402 -0
- package/dist/collection/components/xv-checkbox/xv-checkbox.js.map +1 -0
- package/dist/collection/components/xv-data-table/_vars.js +3 -0
- package/dist/collection/components/xv-data-table/_vars.js.map +1 -0
- package/dist/collection/components/xv-data-table/xv-data-table-cell/xv-data-table-cell.css +90 -0
- package/dist/collection/components/xv-data-table/xv-data-table-cell/xv-data-table-cell.js +182 -0
- package/dist/collection/components/xv-data-table/xv-data-table-cell/xv-data-table-cell.js.map +1 -0
- package/dist/collection/components/xv-data-table/xv-data-table-collapse/xv-data-table-collapse.css +7 -0
- package/dist/collection/components/xv-data-table/xv-data-table-collapse/xv-data-table-collapse.js +101 -0
- package/dist/collection/components/xv-data-table/xv-data-table-collapse/xv-data-table-collapse.js.map +1 -0
- package/dist/collection/components/xv-data-table/xv-data-table-row/xv-data-table-row.css +71 -0
- package/dist/collection/components/xv-data-table/xv-data-table-row/xv-data-table-row.js +354 -0
- package/dist/collection/components/xv-data-table/xv-data-table-row/xv-data-table-row.js.map +1 -0
- package/dist/collection/components/xv-data-table/xv-data-table.css +104 -0
- package/dist/collection/components/xv-data-table/xv-data-table.js +114 -0
- package/dist/collection/components/xv-data-table/xv-data-table.js.map +1 -0
- package/dist/collection/components/xv-dropdown/_vars.js +2 -0
- package/dist/collection/components/xv-dropdown/_vars.js.map +1 -0
- package/dist/collection/components/xv-dropdown/xv-dropdown-item/xv-dropdown-item.css +14 -0
- package/dist/collection/components/xv-dropdown/xv-dropdown-item/xv-dropdown-item.js +153 -0
- package/dist/collection/components/xv-dropdown/xv-dropdown-item/xv-dropdown-item.js.map +1 -0
- package/dist/collection/components/xv-dropdown/xv-dropdown.css +232 -0
- package/dist/collection/components/xv-dropdown/xv-dropdown.js +443 -0
- package/dist/collection/components/xv-dropdown/xv-dropdown.js.map +1 -0
- package/dist/collection/components/xv-file-uploader/_vars.js +6 -0
- package/dist/collection/components/xv-file-uploader/_vars.js.map +1 -0
- package/dist/collection/components/xv-file-uploader/xv-file-uploader.css +136 -0
- package/dist/collection/components/xv-file-uploader/xv-file-uploader.js +448 -0
- package/dist/collection/components/xv-file-uploader/xv-file-uploader.js.map +1 -0
- package/dist/collection/components/xv-footer/xv-footer.css +230 -0
- package/dist/collection/components/xv-footer/xv-footer.js +37 -0
- package/dist/collection/components/xv-footer/xv-footer.js.map +1 -0
- package/dist/collection/components/xv-header/xv-header.css +22587 -0
- package/dist/collection/components/xv-header/xv-header.js +54 -0
- package/dist/collection/components/xv-header/xv-header.js.map +1 -0
- package/dist/collection/components/xv-link/xv-link.css +67 -0
- package/dist/collection/components/xv-link/xv-link.js +132 -0
- package/dist/collection/components/xv-link/xv-link.js.map +1 -0
- package/dist/collection/components/xv-loader/xv-loader.css +65 -0
- package/dist/collection/components/xv-loader/xv-loader.js +106 -0
- package/dist/collection/components/xv-loader/xv-loader.js.map +1 -0
- package/dist/collection/components/xv-login-modal/xv-login-modal.css +22575 -0
- package/dist/collection/components/xv-login-modal/xv-login-modal.js +146 -0
- package/dist/collection/components/xv-login-modal/xv-login-modal.js.map +1 -0
- package/dist/collection/components/xv-modal/xv-modal.css +102 -0
- package/dist/collection/components/xv-modal/xv-modal.js +226 -0
- package/dist/collection/components/xv-modal/xv-modal.js.map +1 -0
- package/dist/collection/components/xv-notification/_vars.js +8 -0
- package/dist/collection/components/xv-notification/_vars.js.map +1 -0
- package/dist/collection/components/xv-notification/xv-notification.css +113 -0
- package/dist/collection/components/xv-notification/xv-notification.js +118 -0
- package/dist/collection/components/xv-notification/xv-notification.js.map +1 -0
- package/dist/collection/components/xv-number-input/xv-number-input.css +128 -0
- package/dist/collection/components/xv-number-input/xv-number-input.js +373 -0
- package/dist/collection/components/xv-number-input/xv-number-input.js.map +1 -0
- package/dist/collection/components/xv-overflow-menu/_vars.js +6 -0
- package/dist/collection/components/xv-overflow-menu/_vars.js.map +1 -0
- package/dist/collection/components/xv-overflow-menu/xv-overflow-menu-item/xv-overflow-menu-item.css +45 -0
- package/dist/collection/components/xv-overflow-menu/xv-overflow-menu-item/xv-overflow-menu-item.js +137 -0
- package/dist/collection/components/xv-overflow-menu/xv-overflow-menu-item/xv-overflow-menu-item.js.map +1 -0
- package/dist/collection/components/xv-overflow-menu/xv-overflow-menu.css +105 -0
- package/dist/collection/components/xv-overflow-menu/xv-overflow-menu.js +202 -0
- package/dist/collection/components/xv-overflow-menu/xv-overflow-menu.js.map +1 -0
- package/dist/{xv-webcomponents/_vars-IZ3lIQzL.js → collection/components/xv-progress-indicator/_vars.js} +3 -7
- package/dist/collection/components/xv-progress-indicator/_vars.js.map +1 -0
- package/dist/collection/components/xv-progress-indicator/xv-progress-indicator-item/xv-progress-indicator-item.css +96 -0
- package/dist/collection/components/xv-progress-indicator/xv-progress-indicator-item/xv-progress-indicator-item.js +54 -0
- package/dist/collection/components/xv-progress-indicator/xv-progress-indicator-item/xv-progress-indicator-item.js.map +1 -0
- package/dist/collection/components/xv-progress-indicator/xv-progress-indicator.css +45 -0
- package/dist/collection/components/xv-progress-indicator/xv-progress-indicator.js +157 -0
- package/dist/collection/components/xv-progress-indicator/xv-progress-indicator.js.map +1 -0
- package/dist/collection/components/xv-table/_vars.js +3 -0
- package/dist/collection/components/xv-table/_vars.js.map +1 -0
- package/dist/collection/components/xv-table/xv-table-cell/xv-table-cell.css +93 -0
- package/dist/collection/components/xv-table/xv-table-cell/xv-table-cell.js +160 -0
- package/dist/collection/components/xv-table/xv-table-cell/xv-table-cell.js.map +1 -0
- package/dist/collection/components/xv-table/xv-table-expand/xv-table-expand.css +58 -0
- package/dist/collection/components/xv-table/xv-table-expand/xv-table-expand.js +76 -0
- package/dist/collection/components/xv-table/xv-table-expand/xv-table-expand.js.map +1 -0
- package/dist/collection/components/xv-table/xv-table-row/xv-table-row.css +39 -0
- package/dist/collection/components/xv-table/xv-table-row/xv-table-row.js +333 -0
- package/dist/collection/components/xv-table/xv-table-row/xv-table-row.js.map +1 -0
- package/dist/collection/components/xv-table/xv-table.css +137 -0
- package/dist/collection/components/xv-table/xv-table.js +159 -0
- package/dist/collection/components/xv-table/xv-table.js.map +1 -0
- package/dist/collection/components/xv-tabs/_vars.js +11 -0
- package/dist/collection/components/xv-tabs/_vars.js.map +1 -0
- package/dist/collection/components/xv-tabs/xv-tab/xv-tab.css +10 -0
- package/dist/collection/components/xv-tabs/xv-tab/xv-tab.js +106 -0
- package/dist/collection/components/xv-tabs/xv-tab/xv-tab.js.map +1 -0
- package/dist/collection/components/xv-tabs/xv-tabs.css +139 -0
- package/dist/collection/components/xv-tabs/xv-tabs.js +221 -0
- package/dist/collection/components/xv-tabs/xv-tabs.js.map +1 -0
- package/dist/collection/components/xv-tag/xv-tag.css +97 -0
- package/dist/collection/components/xv-tag/xv-tag.js +158 -0
- package/dist/collection/components/xv-tag/xv-tag.js.map +1 -0
- package/dist/collection/components/xv-text-input/xv-text-input.css +144 -0
- package/dist/collection/components/xv-text-input/xv-text-input.js +324 -0
- package/dist/collection/components/xv-text-input/xv-text-input.js.map +1 -0
- package/dist/collection/components/xv-toggle-tip/xv-toggle-tip.css +95 -0
- package/dist/collection/components/xv-toggle-tip/xv-toggle-tip.js +201 -0
- package/dist/collection/components/xv-toggle-tip/xv-toggle-tip.js.map +1 -0
- package/dist/collection/components/xv-tooltip/xv-tooltip.css +43 -0
- package/dist/collection/components/xv-tooltip/xv-tooltip.js +114 -0
- package/dist/collection/components/xv-tooltip/xv-tooltip.js.map +1 -0
- package/dist/collection/index.js +11 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/scss/xv/images/xv-sprite.svg +1 -0
- package/dist/collection/scss/xv/sprite/images/xv-sprite.svg +1 -0
- package/dist/collection/types/enum.js +15 -0
- package/dist/collection/types/enum.js.map +1 -0
- package/dist/{xv-webcomponents/utils-1tk8kwKx.js → collection/utils/utils.js} +7 -11
- package/dist/collection/utils/utils.js.map +1 -0
- package/dist/esm/app-globals-DQuL1Twl.js +6 -0
- package/dist/esm/app-globals-DQuL1Twl.js.map +1 -0
- package/dist/esm/index-DLYJiP99.js +1907 -0
- package/dist/esm/index-DLYJiP99.js.map +1 -0
- package/dist/esm/index-NvoCloOY.js +31 -0
- package/dist/esm/index-NvoCloOY.js.map +1 -0
- package/dist/esm/index.js +4 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +14 -0
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/xv-accordion-v2_34.entry.js +3475 -0
- package/dist/esm/xv-accordion-v2_34.entry.js.map +1 -0
- package/dist/esm/xv-breadcrumbs-v2.entry.js +18 -0
- package/dist/esm/xv-breadcrumbs-v2.entry.js.map +1 -0
- package/dist/esm/xv-webcomponents.js +24 -0
- package/dist/esm/xv-webcomponents.js.map +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/components/xv-button/xv-button.d.ts +21 -12
- package/dist/types/components/xv-data-table/_vars.d.ts +11 -0
- package/dist/types/components/xv-data-table/xv-data-table-cell/xv-data-table-cell.d.ts +13 -0
- package/dist/types/components/xv-data-table/xv-data-table-collapse/xv-data-table-collapse.d.ts +9 -0
- package/dist/types/components/xv-data-table/xv-data-table-row/xv-data-table-row.d.ts +25 -0
- package/dist/types/components/xv-data-table/xv-data-table.d.ts +9 -0
- package/dist/types/components/xv-dropdown/xv-dropdown.d.ts +1 -0
- package/dist/types/components/xv-file-uploader/_vars.d.ts +4 -0
- package/dist/types/components/xv-file-uploader/xv-file-uploader.d.ts +36 -0
- package/dist/types/components/xv-header/xv-header.d.ts +0 -2
- package/dist/types/components/xv-number-input/xv-number-input.d.ts +26 -0
- package/dist/types/components/xv-table/_vars.d.ts +1 -5
- package/dist/types/components/xv-table/xv-table-cell/xv-table-cell.d.ts +2 -1
- package/dist/types/components/xv-text-input/xv-text-input.d.ts +10 -11
- package/dist/types/components/xv-toggle-tip/xv-toggle-tip.d.ts +19 -0
- package/dist/types/components/xv-tooltip/xv-tooltip.d.ts +10 -8
- package/dist/types/components.d.ts +508 -105
- package/dist/types/stencil-public-runtime.d.ts +1 -1
- package/dist/types/types/enum.d.ts +5 -0
- package/dist/xv-webcomponents/index.esm.js +1 -13
- package/dist/xv-webcomponents/index.esm.js.map +1 -1
- package/dist/xv-webcomponents/loader.esm.js.map +1 -1
- package/dist/xv-webcomponents/p-5b63a259.entry.js +2 -0
- package/dist/xv-webcomponents/p-5b63a259.entry.js.map +1 -0
- package/dist/xv-webcomponents/p-9c06f44c.entry.js +2 -0
- package/dist/xv-webcomponents/p-9c06f44c.entry.js.map +1 -0
- package/dist/xv-webcomponents/p-DLYJiP99.js +3 -0
- package/dist/xv-webcomponents/p-DLYJiP99.js.map +1 -0
- package/dist/xv-webcomponents/p-DQuL1Twl.js +2 -0
- package/dist/xv-webcomponents/p-DQuL1Twl.js.map +1 -0
- package/dist/xv-webcomponents/p-NvoCloOY.js +2 -0
- package/dist/xv-webcomponents/p-NvoCloOY.js.map +1 -0
- package/dist/xv-webcomponents/xv-breadcrumbs-v2.entry.esm.js.map +1 -1
- package/dist/xv-webcomponents/xv-webcomponents.esm.js +1 -49
- package/dist/xv-webcomponents/xv-webcomponents.esm.js.map +1 -1
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/package.json +53 -53
- package/dist/types/components/xv-text-input/_vars.d.ts +0 -5
- package/dist/types/components/xv-user-menu/interfaces/MenuItem.d.ts +0 -0
- package/dist/types/components/xv-user-menu/xv-user-menu.d.ts +0 -41
- package/dist/xv-webcomponents/_vars-FbbDWn6g.js +0 -13
- package/dist/xv-webcomponents/_vars-FbbDWn6g.js.map +0 -1
- package/dist/xv-webcomponents/_vars-IZ3lIQzL.js.map +0 -1
- package/dist/xv-webcomponents/enum-DTBL51oP.js +0 -13
- package/dist/xv-webcomponents/enum-DTBL51oP.js.map +0 -1
- package/dist/xv-webcomponents/index-rZAC0WRb.js +0 -4238
- package/dist/xv-webcomponents/index-rZAC0WRb.js.map +0 -1
- package/dist/xv-webcomponents/utils-1tk8kwKx.js.map +0 -1
- package/dist/xv-webcomponents/xv-accordion-v2-item.entry.esm.js.map +0 -1
- package/dist/xv-webcomponents/xv-accordion-v2-item.entry.js +0 -36
- package/dist/xv-webcomponents/xv-accordion-v2-item.entry.js.map +0 -1
- package/dist/xv-webcomponents/xv-accordion-v2.entry.esm.js.map +0 -1
- package/dist/xv-webcomponents/xv-accordion-v2.entry.js +0 -41
- package/dist/xv-webcomponents/xv-accordion-v2.entry.js.map +0 -1
- package/dist/xv-webcomponents/xv-breadcrumbs-v2.entry.js +0 -18
- package/dist/xv-webcomponents/xv-breadcrumbs-v2.entry.js.map +0 -1
- package/dist/xv-webcomponents/xv-button-v2.entry.esm.js.map +0 -1
- package/dist/xv-webcomponents/xv-button-v2.entry.js +0 -35
- package/dist/xv-webcomponents/xv-button-v2.entry.js.map +0 -1
- package/dist/xv-webcomponents/xv-card-v2.entry.esm.js.map +0 -1
- package/dist/xv-webcomponents/xv-card-v2.entry.js +0 -19
- package/dist/xv-webcomponents/xv-card-v2.entry.js.map +0 -1
- package/dist/xv-webcomponents/xv-checkbox-v2.entry.esm.js.map +0 -1
- package/dist/xv-webcomponents/xv-checkbox-v2.entry.js +0 -106
- package/dist/xv-webcomponents/xv-checkbox-v2.entry.js.map +0 -1
- package/dist/xv-webcomponents/xv-dropdown-v2-item.entry.esm.js.map +0 -1
- package/dist/xv-webcomponents/xv-dropdown-v2-item.entry.js +0 -36
- package/dist/xv-webcomponents/xv-dropdown-v2-item.entry.js.map +0 -1
- package/dist/xv-webcomponents/xv-dropdown-v2.entry.esm.js.map +0 -1
- package/dist/xv-webcomponents/xv-dropdown-v2.entry.js +0 -136
- package/dist/xv-webcomponents/xv-dropdown-v2.entry.js.map +0 -1
- package/dist/xv-webcomponents/xv-footer.entry.esm.js.map +0 -1
- package/dist/xv-webcomponents/xv-footer.entry.js +0 -30
- package/dist/xv-webcomponents/xv-footer.entry.js.map +0 -1
- package/dist/xv-webcomponents/xv-header.entry.esm.js.map +0 -1
- package/dist/xv-webcomponents/xv-header.entry.js +0 -81
- package/dist/xv-webcomponents/xv-header.entry.js.map +0 -1
- package/dist/xv-webcomponents/xv-link-v2.entry.esm.js.map +0 -1
- package/dist/xv-webcomponents/xv-link-v2.entry.js +0 -27
- package/dist/xv-webcomponents/xv-link-v2.entry.js.map +0 -1
- package/dist/xv-webcomponents/xv-loader-v2.entry.esm.js.map +0 -1
- package/dist/xv-webcomponents/xv-loader-v2.entry.js +0 -33
- package/dist/xv-webcomponents/xv-loader-v2.entry.js.map +0 -1
- package/dist/xv-webcomponents/xv-login-modal.entry.esm.js.map +0 -1
- package/dist/xv-webcomponents/xv-login-modal.entry.js +0 -89
- package/dist/xv-webcomponents/xv-login-modal.entry.js.map +0 -1
- package/dist/xv-webcomponents/xv-modal-v2.entry.esm.js.map +0 -1
- package/dist/xv-webcomponents/xv-modal-v2.entry.js +0 -78
- package/dist/xv-webcomponents/xv-modal-v2.entry.js.map +0 -1
- package/dist/xv-webcomponents/xv-notification-v2.entry.esm.js.map +0 -1
- package/dist/xv-webcomponents/xv-notification-v2.entry.js +0 -50
- package/dist/xv-webcomponents/xv-notification-v2.entry.js.map +0 -1
- package/dist/xv-webcomponents/xv-overflow-menu-v2-item.entry.esm.js.map +0 -1
- package/dist/xv-webcomponents/xv-overflow-menu-v2-item.entry.js +0 -32
- package/dist/xv-webcomponents/xv-overflow-menu-v2-item.entry.js.map +0 -1
- package/dist/xv-webcomponents/xv-overflow-menu-v2.entry.esm.js.map +0 -1
- package/dist/xv-webcomponents/xv-overflow-menu-v2.entry.js +0 -74
- package/dist/xv-webcomponents/xv-overflow-menu-v2.entry.js.map +0 -1
- package/dist/xv-webcomponents/xv-progress-indicator-v2-item.entry.esm.js.map +0 -1
- package/dist/xv-webcomponents/xv-progress-indicator-v2-item.entry.js +0 -21
- package/dist/xv-webcomponents/xv-progress-indicator-v2-item.entry.js.map +0 -1
- package/dist/xv-webcomponents/xv-progress-indicator-v2.entry.esm.js.map +0 -1
- package/dist/xv-webcomponents/xv-progress-indicator-v2.entry.js +0 -75
- package/dist/xv-webcomponents/xv-progress-indicator-v2.entry.js.map +0 -1
- package/dist/xv-webcomponents/xv-tab-v2.entry.esm.js.map +0 -1
- package/dist/xv-webcomponents/xv-tab-v2.entry.js +0 -21
- package/dist/xv-webcomponents/xv-tab-v2.entry.js.map +0 -1
- package/dist/xv-webcomponents/xv-table-v2-cell.entry.esm.js.map +0 -1
- package/dist/xv-webcomponents/xv-table-v2-cell.entry.js +0 -41
- package/dist/xv-webcomponents/xv-table-v2-cell.entry.js.map +0 -1
- package/dist/xv-webcomponents/xv-table-v2-expand.entry.esm.js.map +0 -1
- package/dist/xv-webcomponents/xv-table-v2-expand.entry.js +0 -29
- package/dist/xv-webcomponents/xv-table-v2-expand.entry.js.map +0 -1
- package/dist/xv-webcomponents/xv-table-v2-row.entry.esm.js.map +0 -1
- package/dist/xv-webcomponents/xv-table-v2-row.entry.js +0 -66
- package/dist/xv-webcomponents/xv-table-v2-row.entry.js.map +0 -1
- package/dist/xv-webcomponents/xv-table-v2.entry.esm.js.map +0 -1
- package/dist/xv-webcomponents/xv-table-v2.entry.js +0 -53
- package/dist/xv-webcomponents/xv-table-v2.entry.js.map +0 -1
- package/dist/xv-webcomponents/xv-tabs-v2.entry.esm.js.map +0 -1
- package/dist/xv-webcomponents/xv-tabs-v2.entry.js +0 -109
- package/dist/xv-webcomponents/xv-tabs-v2.entry.js.map +0 -1
- package/dist/xv-webcomponents/xv-tag-v2.entry.esm.js.map +0 -1
- package/dist/xv-webcomponents/xv-tag-v2.entry.js +0 -29
- package/dist/xv-webcomponents/xv-tag-v2.entry.js.map +0 -1
- package/dist/xv-webcomponents/xv-text-input-v2.entry.esm.js.map +0 -1
- package/dist/xv-webcomponents/xv-text-input-v2.entry.js +0 -65
- package/dist/xv-webcomponents/xv-text-input-v2.entry.js.map +0 -1
- package/dist/xv-webcomponents/xv-tooltip-v2.entry.esm.js.map +0 -1
- package/dist/xv-webcomponents/xv-tooltip-v2.entry.js +0 -24
- package/dist/xv-webcomponents/xv-tooltip-v2.entry.js.map +0 -1
- package/dist/xv-webcomponents/xv-user-menu.entry.esm.js.map +0 -1
- package/dist/xv-webcomponents/xv-user-menu.entry.js +0 -43
- package/dist/xv-webcomponents/xv-user-menu.entry.js.map +0 -1
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 crossvertise
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 crossvertise
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,129 +1,129 @@
|
|
|
1
|
-
# @xv/webcomponents
|
|
2
|
-
|
|
3
|
-
**Reusable Web Components for XV Applications**
|
|
4
|
-
This repository contains Web Components built with Stencil.js to provide a modular and reusable UI across multiple applications.
|
|
5
|
-
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
## Features
|
|
9
|
-
|
|
10
|
-
**Reusable Web Components** – Designed for multiple XV applications
|
|
11
|
-
**Stencil.js Powered** – Built using modern Web Component standards
|
|
12
|
-
**Shadow DOM Support** – Encapsulated styles and functionality
|
|
13
|
-
**Brand-Specific Theming** – Automatically detects and applies brand styles
|
|
14
|
-
**Framework Agnostic** – Works with Angular, React, Vue, and plain HTML
|
|
15
|
-
|
|
16
|
-
---
|
|
17
|
-
|
|
18
|
-
## Folder Structure
|
|
19
|
-
|
|
20
|
-
```
|
|
21
|
-
xv-webcomponents/
|
|
22
|
-
│── src/
|
|
23
|
-
│ ├── components/ # Web Component source files
|
|
24
|
-
│ │ ├── button/
|
|
25
|
-
│ │ │ ├── xv-button.tsx
|
|
26
|
-
│ │ │ ├── xv-button.css
|
|
27
|
-
│ │ │ ├── xv-button.e2e.ts
|
|
28
|
-
│ │ │ ├── xv-button.spec.ts
|
|
29
|
-
│ │ ├── checkbox/
|
|
30
|
-
│ │ │ ├── xv-checkbox.tsx
|
|
31
|
-
│ │ │ ├── xv-checkbox.css
|
|
32
|
-
│ │ │ ├── xv-checkbox.e2e.ts
|
|
33
|
-
│ │ │ ├── xv-checkbox.spec.ts
|
|
34
|
-
│ ├── utils/ # Utility functions for components
|
|
35
|
-
│── dist/ # Compiled distribution files
|
|
36
|
-
│── loader/ # Loader scripts for consuming Web Components
|
|
37
|
-
│── package.json
|
|
38
|
-
│── README.md
|
|
39
|
-
│── stencil.config.ts # Stencil.js configuration
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
---
|
|
43
|
-
|
|
44
|
-
## Installation
|
|
45
|
-
|
|
46
|
-
To install the package from npm:
|
|
47
|
-
```bash
|
|
48
|
-
npm install xv-webcomponents
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
---
|
|
52
|
-
|
|
53
|
-
## Usage
|
|
54
|
-
|
|
55
|
-
### **Using in an HTML Page**
|
|
56
|
-
Simply include the Web Component in your HTML:
|
|
57
|
-
```html
|
|
58
|
-
<script type="module" src="https://cdn.yourcompany.com/xv-webcomponents/xv-webcomponents.esm.js"></script>
|
|
59
|
-
<xv-button-v2 label="Click Me" variant="accent"></xv-button-v2>
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
### **Using in an Angular Project**
|
|
63
|
-
First, import `CUSTOM_ELEMENTS_SCHEMA` in your module:
|
|
64
|
-
```typescript
|
|
65
|
-
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
|
66
|
-
import { BrowserModule } from '@angular/platform-browser';
|
|
67
|
-
|
|
68
|
-
@NgModule({
|
|
69
|
-
declarations: [],
|
|
70
|
-
imports: [BrowserModule],
|
|
71
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
72
|
-
})
|
|
73
|
-
export class AppModule {}
|
|
74
|
-
```
|
|
75
|
-
Now, use the Web Component in your Angular templates:
|
|
76
|
-
```html
|
|
77
|
-
<xv-button-v2 label="Click Me" variant="primary"></xv-button-v2>
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
### **Using in a C# Razor Page (MVC)**
|
|
81
|
-
```html
|
|
82
|
-
<xv-button-v2 label="Submit" variant="secondary"></xv-button-v2>
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
### **Using in Sitefinity CMS**
|
|
86
|
-
Embed the Web Component inside a content block:
|
|
87
|
-
```html
|
|
88
|
-
<xv-button-v2 label="Learn More" variant="ghost"></xv-button-v2>
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
---
|
|
92
|
-
|
|
93
|
-
## 🛠 Development & Building
|
|
94
|
-
|
|
95
|
-
### **1️⃣ Build the Components**
|
|
96
|
-
To build all components:
|
|
97
|
-
```bash
|
|
98
|
-
npm run build
|
|
99
|
-
```
|
|
100
|
-
This generates compiled components inside the `dist/` folder.
|
|
101
|
-
|
|
102
|
-
### **2️⃣ Run Local Development Server**
|
|
103
|
-
To test components locally:
|
|
104
|
-
```bash
|
|
105
|
-
npm start
|
|
106
|
-
```
|
|
107
|
-
This starts a development server and watches for changes.
|
|
108
|
-
|
|
109
|
-
### **3️⃣ Publish to npm**
|
|
110
|
-
To publish a new version of the package:
|
|
111
|
-
```bash
|
|
112
|
-
npm version patch
|
|
113
|
-
npm publish --access public
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
---
|
|
117
|
-
|
|
118
|
-
## Contributing
|
|
119
|
-
|
|
120
|
-
### **Adding a New Component**
|
|
121
|
-
1. Generate a new component:
|
|
122
|
-
```bash
|
|
123
|
-
npm run generate component xv-new-component
|
|
124
|
-
```
|
|
125
|
-
2. Implement logic and styles inside `src/components/xv-new-component/`.
|
|
126
|
-
3. Test the component using Jest (`.spec.ts`) and e2e tests.
|
|
127
|
-
4. Run `npm run build` to generate the compiled version.
|
|
128
|
-
5. Commit changes and submit a pull request.
|
|
129
|
-
|
|
1
|
+
# @xv/webcomponents
|
|
2
|
+
|
|
3
|
+
**Reusable Web Components for XV Applications**
|
|
4
|
+
This repository contains Web Components built with Stencil.js to provide a modular and reusable UI across multiple applications.
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Features
|
|
9
|
+
|
|
10
|
+
**Reusable Web Components** – Designed for multiple XV applications
|
|
11
|
+
**Stencil.js Powered** – Built using modern Web Component standards
|
|
12
|
+
**Shadow DOM Support** – Encapsulated styles and functionality
|
|
13
|
+
**Brand-Specific Theming** – Automatically detects and applies brand styles
|
|
14
|
+
**Framework Agnostic** – Works with Angular, React, Vue, and plain HTML
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## Folder Structure
|
|
19
|
+
|
|
20
|
+
```
|
|
21
|
+
xv-webcomponents/
|
|
22
|
+
│── src/
|
|
23
|
+
│ ├── components/ # Web Component source files
|
|
24
|
+
│ │ ├── button/
|
|
25
|
+
│ │ │ ├── xv-button.tsx
|
|
26
|
+
│ │ │ ├── xv-button.css
|
|
27
|
+
│ │ │ ├── xv-button.e2e.ts
|
|
28
|
+
│ │ │ ├── xv-button.spec.ts
|
|
29
|
+
│ │ ├── checkbox/
|
|
30
|
+
│ │ │ ├── xv-checkbox.tsx
|
|
31
|
+
│ │ │ ├── xv-checkbox.css
|
|
32
|
+
│ │ │ ├── xv-checkbox.e2e.ts
|
|
33
|
+
│ │ │ ├── xv-checkbox.spec.ts
|
|
34
|
+
│ ├── utils/ # Utility functions for components
|
|
35
|
+
│── dist/ # Compiled distribution files
|
|
36
|
+
│── loader/ # Loader scripts for consuming Web Components
|
|
37
|
+
│── package.json
|
|
38
|
+
│── README.md
|
|
39
|
+
│── stencil.config.ts # Stencil.js configuration
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## Installation
|
|
45
|
+
|
|
46
|
+
To install the package from npm:
|
|
47
|
+
```bash
|
|
48
|
+
npm install xv-webcomponents
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
## Usage
|
|
54
|
+
|
|
55
|
+
### **Using in an HTML Page**
|
|
56
|
+
Simply include the Web Component in your HTML:
|
|
57
|
+
```html
|
|
58
|
+
<script type="module" src="https://cdn.yourcompany.com/xv-webcomponents/xv-webcomponents.esm.js"></script>
|
|
59
|
+
<xv-button-v2 label="Click Me" variant="accent"></xv-button-v2>
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
### **Using in an Angular Project**
|
|
63
|
+
First, import `CUSTOM_ELEMENTS_SCHEMA` in your module:
|
|
64
|
+
```typescript
|
|
65
|
+
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
|
66
|
+
import { BrowserModule } from '@angular/platform-browser';
|
|
67
|
+
|
|
68
|
+
@NgModule({
|
|
69
|
+
declarations: [],
|
|
70
|
+
imports: [BrowserModule],
|
|
71
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
72
|
+
})
|
|
73
|
+
export class AppModule {}
|
|
74
|
+
```
|
|
75
|
+
Now, use the Web Component in your Angular templates:
|
|
76
|
+
```html
|
|
77
|
+
<xv-button-v2 label="Click Me" variant="primary"></xv-button-v2>
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### **Using in a C# Razor Page (MVC)**
|
|
81
|
+
```html
|
|
82
|
+
<xv-button-v2 label="Submit" variant="secondary"></xv-button-v2>
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
### **Using in Sitefinity CMS**
|
|
86
|
+
Embed the Web Component inside a content block:
|
|
87
|
+
```html
|
|
88
|
+
<xv-button-v2 label="Learn More" variant="ghost"></xv-button-v2>
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
## 🛠 Development & Building
|
|
94
|
+
|
|
95
|
+
### **1️⃣ Build the Components**
|
|
96
|
+
To build all components:
|
|
97
|
+
```bash
|
|
98
|
+
npm run build
|
|
99
|
+
```
|
|
100
|
+
This generates compiled components inside the `dist/` folder.
|
|
101
|
+
|
|
102
|
+
### **2️⃣ Run Local Development Server**
|
|
103
|
+
To test components locally:
|
|
104
|
+
```bash
|
|
105
|
+
npm start
|
|
106
|
+
```
|
|
107
|
+
This starts a development server and watches for changes.
|
|
108
|
+
|
|
109
|
+
### **3️⃣ Publish to npm**
|
|
110
|
+
To publish a new version of the package:
|
|
111
|
+
```bash
|
|
112
|
+
npm version patch
|
|
113
|
+
npm publish --access public
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
---
|
|
117
|
+
|
|
118
|
+
## Contributing
|
|
119
|
+
|
|
120
|
+
### **Adding a New Component**
|
|
121
|
+
1. Generate a new component:
|
|
122
|
+
```bash
|
|
123
|
+
npm run generate component xv-new-component
|
|
124
|
+
```
|
|
125
|
+
2. Implement logic and styles inside `src/components/xv-new-component/`.
|
|
126
|
+
3. Test the component using Jest (`.spec.ts`) and e2e tests.
|
|
127
|
+
4. Run `npm run build` to generate the compiled version.
|
|
128
|
+
5. Commit changes and submit a pull request.
|
|
129
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-globals-V2Kpy_OQ.js","sources":["@stencil/core/internal/app-globals"],"sourcesContent":["export const globalScripts = () => {};\n"],"names":[],"mappings":";;AAAY,MAAC,aAAa,GAAG,MAAM;;;;"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
function format(first, middle, last) {
|
|
4
|
+
return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '');
|
|
5
|
+
}
|
|
6
|
+
function uidGenerator() {
|
|
7
|
+
return "10000000-1000-4000-8000-100000000000".replace(/[018]/g, c => (+c ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> +c / 4).toString(16));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Walks through the given DOM collection and runs the given callback.
|
|
11
|
+
* @param a A DOM collection.
|
|
12
|
+
* @param predicate The callback function.
|
|
13
|
+
* @param [thisObject] The context object for the given callback function.
|
|
14
|
+
*/
|
|
15
|
+
const forEach = (a, predicate, thisObject) => Array.prototype.forEach.call(a, predicate, thisObject);
|
|
16
|
+
const setAttr = (node, name, value) => {
|
|
17
|
+
if (typeof value === 'string') {
|
|
18
|
+
!node.hasAttribute(name) && node.setAttribute(name, value);
|
|
19
|
+
return node;
|
|
20
|
+
}
|
|
21
|
+
if (value) {
|
|
22
|
+
!node.hasAttribute(name) && node.setAttribute(name, '');
|
|
23
|
+
}
|
|
24
|
+
else {
|
|
25
|
+
node.hasAttribute(name) && node.removeAttribute(name);
|
|
26
|
+
}
|
|
27
|
+
return node;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
exports.forEach = forEach;
|
|
31
|
+
exports.format = format;
|
|
32
|
+
exports.setAttr = setAttr;
|
|
33
|
+
exports.uidGenerator = uidGenerator;
|
|
34
|
+
//# sourceMappingURL=index-BE3kw7I4.js.map
|
|
35
|
+
|
|
36
|
+
//# sourceMappingURL=index-BE3kw7I4.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-BE3kw7I4.js","sources":["src/utils/utils.ts"],"sourcesContent":["export function format(first?: string, middle?: string, last?: string): string {\n return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '');\n}\n\nexport function uidGenerator() {\n return \"10000000-1000-4000-8000-100000000000\".replace(/[018]/g, c =>\n (+c ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> +c / 4).toString(16)\n );\n}\n\n/**\n * Walks through the given DOM collection and runs the given callback.\n * @param a A DOM collection.\n * @param predicate The callback function.\n * @param [thisObject] The context object for the given callback function.\n */\nexport const forEach = (\n a: NodeListOf<Node> | HTMLCollectionOf<Element>,\n predicate: (search: Element, index?: number) => void,\n thisObject?: any\n) => Array.prototype.forEach.call(a, predicate, thisObject);\n\n/**\n * Debounce the current function for some delay.\n * @param func The delayed function.\n * @param [delay = 500] The time to function delay call.\n */\nexport const debounce = (func: Function, delay: number = 500) => {\n let timeoutId: ReturnType<typeof setTimeout>;\n return function (...args: any[]) {\n clearTimeout(timeoutId);\n timeoutId = setTimeout(() => {\n func.apply(this, args);\n }, delay);\n };\n};\n\nexport const checkTag = <T extends Element, G = T>(element: T, tag: string) => {\n if (element?.tagName !== tag) return undefined;\n return element as unknown as G;\n};\n\nexport const setAttr = (node: Element, name: string, value: string | boolean) => {\n if (typeof value === 'string') {\n !node.hasAttribute(name) && node.setAttribute(name, value);\n return node;\n }\n\n if (value) {\n !node.hasAttribute(name) && node.setAttribute(name, '');\n } else {\n node.hasAttribute(name) && node.removeAttribute(name);\n }\n\n return node;\n};\n"],"names":[],"mappings":";;SAAgB,MAAM,CAAC,KAAc,EAAE,MAAe,EAAE,IAAa,EAAA;AACnE,IAAA,OAAO,CAAC,KAAK,IAAI,EAAE,KAAK,MAAM,GAAG,CAAI,CAAA,EAAA,MAAM,EAAE,GAAG,EAAE,CAAC,IAAI,IAAI,GAAG,CAAI,CAAA,EAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AAChF;SAEgB,YAAY,GAAA;AAC1B,IAAA,OAAO,sCAAsC,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,IAC/D,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,eAAe,CAAC,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC,GAAG,CAAC,EAAE,QAAQ,CAAC,EAAE,CAAC,CAChF;AACH;AAEA;;;;;AAKG;AACU,MAAA,OAAO,GAAG,CACrB,CAA+C,EAC/C,SAAoD,EACpD,UAAgB,KACb,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,EAAE,SAAS,EAAE,UAAU;AAsB7C,MAAA,OAAO,GAAG,CAAC,IAAa,EAAE,IAAY,EAAE,KAAuB,KAAI;AAC9E,IAAA,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;AAC7B,QAAA,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,KAAK,CAAC;AAC1D,QAAA,OAAO,IAAI;;IAGb,IAAI,KAAK,EAAE;AACT,QAAA,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,CAAC;;SAClD;AACL,QAAA,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC;;AAGvD,IAAA,OAAO,IAAI;AACb;;;;;;;"}
|