@six-group/ui-library 0.0.0-insider.e433304 → 0.0.0-insider.e8b5a11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/app-globals-V2Kpy_OQ.js +8 -0
- package/dist/cjs/app-globals-V2Kpy_OQ.js.map +1 -0
- package/dist/cjs/error-messages-CvA0OB-Z.js +120 -0
- package/dist/cjs/error-messages-CvA0OB-Z.js.map +1 -0
- package/dist/cjs/event-listeners-BrSR7arL.js +62 -0
- package/dist/cjs/event-listeners-BrSR7arL.js.map +1 -0
- package/dist/cjs/execution-control-oU0MWBWI.js +49 -0
- package/dist/cjs/execution-control-oU0MWBWI.js.map +1 -0
- package/dist/cjs/focus-visible-CMftNtQ2.js +48 -0
- package/dist/cjs/focus-visible-CMftNtQ2.js.map +1 -0
- package/dist/cjs/form-CaXKJAMY.js +21 -0
- package/dist/cjs/form-CaXKJAMY.js.map +1 -0
- package/dist/cjs/form-control-BHd-Z4ot.js +37 -0
- package/dist/cjs/form-control-BHd-Z4ot.js.map +1 -0
- package/dist/cjs/index-B_stPhJp.js +2125 -0
- package/dist/cjs/index-B_stPhJp.js.map +1 -0
- package/dist/cjs/index.cjs.js +2 -3
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +6 -5
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/modal-BVAZIrez.js +36 -0
- package/dist/cjs/modal-BVAZIrez.js.map +1 -0
- package/dist/cjs/popover-BUVXXnz7.js +1921 -0
- package/dist/cjs/popover-BUVXXnz7.js.map +1 -0
- package/dist/cjs/popup-BBJQmXUh.js +104 -0
- package/dist/cjs/popup-BBJQmXUh.js.map +1 -0
- package/dist/cjs/scroll-BQR9FxnJ.js +69 -0
- package/dist/cjs/scroll-BQR9FxnJ.js.map +1 -0
- package/dist/cjs/six-alert.cjs.entry.js +22 -15
- package/dist/cjs/six-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/six-alert.entry.cjs.js.map +1 -0
- package/dist/cjs/six-avatar.cjs.entry.js +11 -8
- package/dist/cjs/six-avatar.cjs.entry.js.map +1 -1
- package/dist/cjs/six-avatar.entry.cjs.js.map +1 -0
- package/dist/cjs/six-badge.cjs.entry.js +7 -5
- package/dist/cjs/six-badge.cjs.entry.js.map +1 -1
- package/dist/cjs/six-badge.entry.cjs.js.map +1 -0
- package/dist/cjs/six-button.cjs.entry.js +53 -28
- package/dist/cjs/six-button.cjs.entry.js.map +1 -1
- package/dist/cjs/six-button.entry.cjs.js.map +1 -0
- package/dist/cjs/six-card.cjs.entry.js +3 -4
- package/dist/cjs/six-card.cjs.entry.js.map +1 -1
- package/dist/cjs/six-card.entry.cjs.js.map +1 -0
- package/dist/cjs/six-checkbox.six-menu-item.entry.cjs.js.map +1 -0
- package/dist/cjs/six-checkbox_2.cjs.entry.js +48 -30
- package/dist/cjs/six-checkbox_2.cjs.entry.js.map +1 -1
- package/dist/cjs/six-datepicker.cjs.entry.js +97 -52
- package/dist/cjs/six-datepicker.cjs.entry.js.map +1 -1
- package/dist/cjs/six-datepicker.entry.cjs.js.map +1 -0
- package/dist/cjs/six-details.cjs.entry.js +26 -20
- package/dist/cjs/six-details.cjs.entry.js.map +1 -1
- package/dist/cjs/six-details.entry.cjs.js.map +1 -0
- package/dist/cjs/six-dialog.cjs.entry.js +33 -44
- package/dist/cjs/six-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/six-dialog.entry.cjs.js.map +1 -0
- package/dist/cjs/six-drawer.cjs.entry.js +41 -46
- package/dist/cjs/six-drawer.cjs.entry.js.map +1 -1
- package/dist/cjs/six-drawer.entry.cjs.js.map +1 -0
- package/dist/cjs/six-dropdown.six-menu.entry.cjs.js.map +1 -0
- package/dist/cjs/six-dropdown_2.cjs.entry.js +114 -59
- package/dist/cjs/six-dropdown_2.cjs.entry.js.map +1 -1
- package/dist/cjs/six-error-page.cjs.entry.js +6 -8
- package/dist/cjs/six-error-page.cjs.entry.js.map +1 -1
- package/dist/cjs/six-error-page.entry.cjs.js.map +1 -0
- package/dist/cjs/six-error.cjs.entry.js +4 -5
- package/dist/cjs/six-error.cjs.entry.js.map +1 -1
- package/dist/cjs/six-error.entry.cjs.js.map +1 -0
- package/dist/cjs/six-file-list-item.cjs.entry.js +16 -13
- package/dist/cjs/six-file-list-item.cjs.entry.js.map +1 -1
- package/dist/cjs/six-file-list-item.entry.cjs.js.map +1 -0
- package/dist/cjs/six-file-list.cjs.entry.js +3 -4
- package/dist/cjs/six-file-list.cjs.entry.js.map +1 -1
- package/dist/cjs/six-file-list.entry.cjs.js.map +1 -0
- package/dist/cjs/six-file-upload.cjs.entry.js +44 -23
- package/dist/cjs/six-file-upload.cjs.entry.js.map +1 -1
- package/dist/cjs/six-file-upload.entry.cjs.js.map +1 -0
- package/dist/cjs/six-footer.cjs.entry.js +3 -4
- package/dist/cjs/six-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/six-footer.entry.cjs.js.map +1 -0
- package/dist/cjs/six-group-label.cjs.entry.js +14 -10
- package/dist/cjs/six-group-label.cjs.entry.js.map +1 -1
- package/dist/cjs/six-group-label.entry.cjs.js.map +1 -0
- package/dist/cjs/six-header-dropdown-item.cjs.entry.js +52 -0
- package/dist/cjs/six-header-dropdown-item.cjs.entry.js.map +1 -0
- package/dist/cjs/six-header-dropdown-item.entry.cjs.js.map +1 -0
- package/dist/cjs/six-header-item.cjs.entry.js +28 -0
- package/dist/cjs/six-header-item.cjs.entry.js.map +1 -0
- package/dist/cjs/six-header-item.entry.cjs.js.map +1 -0
- package/dist/cjs/six-header-menu-button.cjs.entry.js +30 -0
- package/dist/cjs/six-header-menu-button.cjs.entry.js.map +1 -0
- package/dist/cjs/six-header-menu-button.entry.cjs.js.map +1 -0
- package/dist/cjs/six-header.cjs.entry.js +18 -166
- package/dist/cjs/six-header.cjs.entry.js.map +1 -1
- package/dist/cjs/six-header.entry.cjs.js.map +1 -0
- package/dist/cjs/six-icon-button.cjs.entry.js +14 -13
- package/dist/cjs/six-icon-button.cjs.entry.js.map +1 -1
- package/dist/cjs/six-icon-button.entry.cjs.js.map +1 -0
- package/dist/cjs/six-icon.cjs.entry.js +6 -5
- package/dist/cjs/six-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/six-icon.entry.cjs.js.map +1 -0
- package/dist/cjs/six-input.cjs.entry.js +73 -51
- package/dist/cjs/six-input.cjs.entry.js.map +1 -1
- package/dist/cjs/six-input.entry.cjs.js.map +1 -0
- package/dist/cjs/six-item-picker.cjs.entry.js +35 -17
- package/dist/cjs/six-item-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/six-item-picker.entry.cjs.js.map +1 -0
- package/dist/cjs/six-language-switcher.cjs.entry.js +13 -10
- package/dist/cjs/six-language-switcher.cjs.entry.js.map +1 -1
- package/dist/cjs/six-language-switcher.entry.cjs.js.map +1 -0
- package/dist/cjs/six-layout-grid.cjs.entry.js +3 -5
- package/dist/cjs/six-layout-grid.cjs.entry.js.map +1 -1
- package/dist/cjs/six-layout-grid.entry.cjs.js.map +1 -0
- package/dist/cjs/six-logo.cjs.entry.js +28 -0
- package/dist/cjs/six-logo.cjs.entry.js.map +1 -0
- package/dist/cjs/six-logo.entry.cjs.js.map +1 -0
- package/dist/cjs/six-main-container.cjs.entry.js +5 -4
- package/dist/cjs/six-main-container.cjs.entry.js.map +1 -1
- package/dist/cjs/six-main-container.entry.cjs.js.map +1 -0
- package/dist/cjs/six-menu-divider.cjs.entry.js +3 -4
- package/dist/cjs/six-menu-divider.cjs.entry.js.map +1 -1
- package/dist/cjs/six-menu-divider.entry.cjs.js.map +1 -0
- package/dist/cjs/six-menu-label.cjs.entry.js +3 -4
- package/dist/cjs/six-menu-label.cjs.entry.js.map +1 -1
- package/dist/cjs/six-menu-label.entry.cjs.js.map +1 -0
- package/dist/cjs/six-picto.cjs.entry.js +27 -9
- package/dist/cjs/six-picto.cjs.entry.js.map +1 -1
- package/dist/cjs/six-picto.entry.cjs.js.map +1 -0
- package/dist/cjs/six-progress-bar.cjs.entry.js +7 -6
- package/dist/cjs/six-progress-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/six-progress-bar.entry.cjs.js.map +1 -0
- package/dist/cjs/six-progress-ring.cjs.entry.js +6 -4
- package/dist/cjs/six-progress-ring.cjs.entry.js.map +1 -1
- package/dist/cjs/six-progress-ring.entry.cjs.js.map +1 -0
- package/dist/cjs/six-radio.cjs.entry.js +19 -15
- package/dist/cjs/six-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/six-radio.entry.cjs.js.map +1 -0
- package/dist/cjs/six-range.cjs.entry.js +52 -31
- package/dist/cjs/six-range.cjs.entry.js.map +1 -1
- package/dist/cjs/six-range.entry.cjs.js.map +1 -0
- package/dist/cjs/six-root.cjs.entry.js +7 -4
- package/dist/cjs/six-root.cjs.entry.js.map +1 -1
- package/dist/cjs/six-root.entry.cjs.js.map +1 -0
- package/dist/cjs/six-search-field.cjs.entry.js +14 -12
- package/dist/cjs/six-search-field.cjs.entry.js.map +1 -1
- package/dist/cjs/six-search-field.entry.cjs.js.map +1 -0
- package/dist/cjs/six-select.cjs.entry.js +160 -91
- package/dist/cjs/six-select.cjs.entry.js.map +1 -1
- package/dist/cjs/six-select.entry.cjs.js.map +1 -0
- package/dist/cjs/six-sidebar-item-group.cjs.entry.js +15 -14
- package/dist/cjs/six-sidebar-item-group.cjs.entry.js.map +1 -1
- package/dist/cjs/six-sidebar-item-group.entry.cjs.js.map +1 -0
- package/dist/cjs/six-sidebar-item.cjs.entry.js +8 -7
- package/dist/cjs/six-sidebar-item.cjs.entry.js.map +1 -1
- package/dist/cjs/six-sidebar-item.entry.cjs.js.map +1 -0
- package/dist/cjs/six-sidebar.cjs.entry.js +19 -16
- package/dist/cjs/six-sidebar.cjs.entry.js.map +1 -1
- package/dist/cjs/six-sidebar.entry.cjs.js.map +1 -0
- package/dist/cjs/six-spinner.cjs.entry.js +38 -8
- package/dist/cjs/six-spinner.cjs.entry.js.map +1 -1
- package/dist/cjs/six-spinner.entry.cjs.js.map +1 -0
- package/dist/cjs/six-stage-indicator.cjs.entry.js +3 -3
- package/dist/cjs/six-stage-indicator.cjs.entry.js.map +1 -1
- package/dist/cjs/six-stage-indicator.entry.cjs.js.map +1 -0
- package/dist/cjs/six-switch.cjs.entry.js +28 -22
- package/dist/cjs/six-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/six-switch.entry.cjs.js.map +1 -0
- package/dist/cjs/six-tab-group.cjs.entry.js +40 -14
- package/dist/cjs/six-tab-group.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tab-group.entry.cjs.js.map +1 -0
- package/dist/cjs/six-tab-panel.cjs.entry.js +5 -4
- package/dist/cjs/six-tab-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tab-panel.entry.cjs.js.map +1 -0
- package/dist/cjs/six-tab.cjs.entry.js +9 -6
- package/dist/cjs/six-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tab.entry.cjs.js.map +1 -0
- package/dist/cjs/six-tag.cjs.entry.js +15 -12
- package/dist/cjs/six-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tag.entry.cjs.js.map +1 -0
- package/dist/cjs/six-textarea.cjs.entry.js +50 -39
- package/dist/cjs/six-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/six-textarea.entry.cjs.js.map +1 -0
- package/dist/cjs/six-tile.cjs.entry.js +27 -21
- package/dist/cjs/six-tile.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tile.entry.cjs.js.map +1 -0
- package/dist/cjs/six-timepicker.cjs.entry.js +100 -40
- package/dist/cjs/six-timepicker.cjs.entry.js.map +1 -1
- package/dist/cjs/six-timepicker.entry.cjs.js.map +1 -0
- package/dist/cjs/six-tooltip.cjs.entry.js +30 -17
- package/dist/cjs/six-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tooltip.entry.cjs.js.map +1 -0
- package/dist/cjs/slot-DBK7c7jH.js +52 -0
- package/dist/cjs/slot-DBK7c7jH.js.map +1 -0
- package/dist/cjs/types-7ZstPoJD.js +20 -0
- package/dist/cjs/types-7ZstPoJD.js.map +1 -0
- package/dist/cjs/ui-library.cjs.js +16 -13
- package/dist/cjs/ui-library.cjs.js.map +1 -1
- package/dist/collection/assets/TRADEMARKS.md +3 -3
- package/dist/collection/assets/pictograms/TPP.svg +1 -0
- package/dist/collection/assets/pictograms/agile.svg +1 -0
- package/dist/collection/assets/pictograms/ai.svg +1 -0
- package/dist/collection/assets/pictograms/airplane.svg +1 -0
- package/dist/collection/assets/pictograms/alert.svg +1 -0
- package/dist/collection/assets/pictograms/ambulance.svg +1 -0
- package/dist/collection/assets/pictograms/analyse.svg +1 -0
- package/dist/collection/assets/pictograms/anchor.svg +1 -0
- package/dist/collection/assets/pictograms/apple.svg +1 -0
- package/dist/collection/assets/pictograms/arrow-down.svg +1 -0
- package/dist/collection/assets/pictograms/arrow-right.svg +1 -0
- package/dist/collection/assets/pictograms/arrow-up.svg +1 -0
- package/dist/collection/assets/pictograms/astronaut-outline.svg +1 -0
- package/dist/collection/assets/pictograms/augmented-reality.svg +1 -0
- package/dist/collection/assets/pictograms/backoffice.svg +1 -0
- package/dist/collection/assets/pictograms/bank.svg +1 -0
- package/dist/collection/assets/pictograms/banknote.svg +1 -0
- package/dist/collection/assets/pictograms/barcode.svg +1 -0
- package/dist/collection/assets/pictograms/battery.svg +1 -0
- package/dist/collection/assets/pictograms/beacon.svg +1 -0
- package/dist/collection/assets/pictograms/beat.svg +1 -0
- package/dist/collection/assets/pictograms/bee.svg +1 -0
- package/dist/collection/assets/pictograms/bell.svg +1 -0
- package/dist/collection/assets/pictograms/berlin.svg +1 -0
- package/dist/collection/assets/pictograms/big-data.svg +1 -0
- package/dist/collection/assets/pictograms/bilateral.svg +1 -0
- package/dist/collection/assets/pictograms/bill.svg +1 -0
- package/dist/collection/assets/pictograms/binoculars.svg +1 -0
- package/dist/collection/assets/pictograms/block.svg +1 -0
- package/dist/collection/assets/pictograms/blockchain.svg +1 -0
- package/dist/collection/assets/pictograms/bluetooth.svg +1 -0
- package/dist/collection/assets/pictograms/bone.svg +1 -0
- package/dist/collection/assets/pictograms/book.svg +1 -0
- package/dist/collection/assets/pictograms/bottle.svg +1 -0
- package/dist/collection/assets/pictograms/buggy.svg +1 -0
- package/dist/collection/assets/pictograms/bull-bear.svg +1 -0
- package/dist/collection/assets/pictograms/business.svg +1 -0
- package/dist/collection/assets/pictograms/cake.svg +1 -0
- package/dist/collection/assets/pictograms/calculator.svg +1 -0
- package/dist/collection/assets/pictograms/calendar.svg +1 -0
- package/dist/collection/assets/pictograms/cam.svg +1 -0
- package/dist/collection/assets/pictograms/cap.svg +1 -0
- package/dist/collection/assets/pictograms/capsule.svg +1 -0
- package/dist/collection/assets/pictograms/car.svg +1 -0
- package/dist/collection/assets/pictograms/carabiner.svg +1 -0
- package/dist/collection/assets/pictograms/card.svg +1 -0
- package/dist/collection/assets/pictograms/cash-machine.svg +1 -0
- package/dist/collection/assets/pictograms/cash-register.svg +1 -0
- package/dist/collection/assets/pictograms/cash.svg +1 -0
- package/dist/collection/assets/pictograms/cashless.svg +1 -0
- package/dist/collection/assets/pictograms/check.svg +1 -0
- package/dist/collection/assets/pictograms/cheveron-right.svg +1 -0
- package/dist/collection/assets/pictograms/chf-eur.svg +1 -0
- package/dist/collection/assets/pictograms/cleaning.svg +1 -0
- package/dist/collection/assets/pictograms/click-collect.svg +1 -0
- package/dist/collection/assets/pictograms/click-return.svg +1 -0
- package/dist/collection/assets/pictograms/client-receipt.svg +1 -0
- package/dist/collection/assets/pictograms/clientesyusuarios.svg +1 -0
- package/dist/collection/assets/pictograms/clock.svg +1 -0
- package/dist/collection/assets/pictograms/cloud.svg +1 -0
- package/dist/collection/assets/pictograms/coffee.svg +1 -0
- package/dist/collection/assets/pictograms/coins.svg +1 -0
- package/dist/collection/assets/pictograms/configuracion-de-servicio.svg +1 -0
- package/dist/collection/assets/pictograms/connectivity.svg +1 -0
- package/dist/collection/assets/pictograms/contactless.svg +1 -0
- package/dist/collection/assets/pictograms/copy.svg +1 -0
- package/dist/collection/assets/pictograms/cornet.svg +1 -0
- package/dist/collection/assets/pictograms/cost-reduction.svg +1 -0
- package/dist/collection/assets/pictograms/coupon.svg +1 -0
- package/dist/collection/assets/pictograms/croissant.svg +1 -0
- package/dist/collection/assets/pictograms/crowdfunding.svg +1 -0
- package/dist/collection/assets/pictograms/crown.svg +1 -0
- package/dist/collection/assets/pictograms/cryptocurrency.svg +1 -0
- package/dist/collection/assets/pictograms/crystal-ball.svg +1 -0
- package/dist/collection/assets/pictograms/cup.svg +1 -0
- package/dist/collection/assets/pictograms/cupcake.svg +1 -0
- package/dist/collection/assets/pictograms/currency.svg +1 -0
- package/dist/collection/assets/pictograms/cyber-security.svg +1 -0
- package/dist/collection/assets/pictograms/data-mapping.svg +1 -0
- package/dist/collection/assets/pictograms/desktop.svg +1 -0
- package/dist/collection/assets/pictograms/diamond.svg +1 -0
- package/dist/collection/assets/pictograms/disc.svg +1 -0
- package/dist/collection/assets/pictograms/diversify.svg +1 -0
- package/dist/collection/assets/pictograms/dna.svg +1 -0
- package/dist/collection/assets/pictograms/dog.svg +1 -0
- package/dist/collection/assets/pictograms/download.svg +1 -0
- package/dist/collection/assets/pictograms/drop-zone.svg +1 -0
- package/dist/collection/assets/pictograms/drop.svg +1 -0
- package/dist/collection/assets/pictograms/dumbbell.svg +1 -0
- package/dist/collection/assets/pictograms/dws.svg +1 -0
- package/dist/collection/assets/pictograms/ear.svg +1 -0
- package/dist/collection/assets/pictograms/ecommerce.svg +1 -0
- package/dist/collection/assets/pictograms/ethernet.svg +1 -0
- package/dist/collection/assets/pictograms/eur-dollar.svg +1 -0
- package/dist/collection/assets/pictograms/exchange.svg +1 -0
- package/dist/collection/assets/pictograms/exclamation.svg +1 -0
- package/dist/collection/assets/pictograms/external-link.svg +1 -0
- package/dist/collection/assets/pictograms/extinguisher.svg +1 -0
- package/dist/collection/assets/pictograms/factory.svg +1 -0
- package/dist/collection/assets/pictograms/fax.svg +1 -0
- package/dist/collection/assets/pictograms/fence.svg +1 -0
- package/dist/collection/assets/pictograms/file-text.svg +1 -0
- package/dist/collection/assets/pictograms/file.svg +1 -0
- package/dist/collection/assets/pictograms/find-in-page.svg +1 -0
- package/dist/collection/assets/pictograms/fingerprint.svg +1 -0
- package/dist/collection/assets/pictograms/flag.svg +1 -0
- package/dist/collection/assets/pictograms/flash.svg +1 -0
- package/dist/collection/assets/pictograms/flexibility.svg +1 -0
- package/dist/collection/assets/pictograms/flipchart.svg +1 -0
- package/dist/collection/assets/pictograms/flower.svg +1 -0
- package/dist/collection/assets/pictograms/focus.svg +1 -0
- package/dist/collection/assets/pictograms/foreign-exchange.svg +1 -0
- package/dist/collection/assets/pictograms/fraud-free.svg +1 -0
- package/dist/collection/assets/pictograms/funnel.svg +1 -0
- package/dist/collection/assets/pictograms/gamepad.svg +1 -0
- package/dist/collection/assets/pictograms/gears.svg +1 -0
- package/dist/collection/assets/pictograms/generic.svg +1 -0
- package/dist/collection/assets/pictograms/genie.svg +1 -0
- package/dist/collection/assets/pictograms/gestion-de-fallidos.svg +1 -0
- package/dist/collection/assets/pictograms/gestion-de-instrucciones.svg +1 -0
- package/dist/collection/assets/pictograms/gestion-de-pago.svg +1 -0
- package/dist/collection/assets/pictograms/gift.svg +1 -0
- package/dist/collection/assets/pictograms/giftcard.svg +1 -0
- package/dist/collection/assets/pictograms/glass.svg +1 -0
- package/dist/collection/assets/pictograms/glasses.svg +1 -0
- package/dist/collection/assets/pictograms/global.svg +1 -0
- package/dist/collection/assets/pictograms/gprs-lan.svg +1 -0
- package/dist/collection/assets/pictograms/gprs.svg +1 -0
- package/dist/collection/assets/pictograms/guide.svg +1 -0
- package/dist/collection/assets/pictograms/hacker-security.svg +1 -0
- package/dist/collection/assets/pictograms/hand.svg +1 -0
- package/dist/collection/assets/pictograms/handshake.svg +1 -0
- package/dist/collection/assets/pictograms/happy.svg +1 -0
- package/dist/collection/assets/pictograms/hashtag.svg +1 -0
- package/dist/collection/assets/pictograms/headphones.svg +1 -0
- package/dist/collection/assets/pictograms/heart.svg +1 -0
- package/dist/collection/assets/pictograms/home.svg +1 -0
- package/dist/collection/assets/pictograms/identity-management.svg +1 -0
- package/dist/collection/assets/pictograms/info.svg +1 -0
- package/dist/collection/assets/pictograms/international-connectivity.svg +1 -0
- package/dist/collection/assets/pictograms/iot.svg +1 -0
- package/dist/collection/assets/pictograms/key.svg +1 -0
- package/dist/collection/assets/pictograms/lab.svg +1 -0
- package/dist/collection/assets/pictograms/labyrinth.svg +1 -0
- package/dist/collection/assets/pictograms/laptop-outline.svg +1 -0
- package/dist/collection/assets/pictograms/leaf.svg +1 -0
- package/dist/collection/assets/pictograms/lightbulb.svg +1 -0
- package/dist/collection/assets/pictograms/lighthouse.svg +1 -0
- package/dist/collection/assets/pictograms/like.svg +1 -0
- package/dist/collection/assets/pictograms/lines.svg +1 -0
- package/dist/collection/assets/pictograms/liquid.svg +1 -0
- package/dist/collection/assets/pictograms/lock.svg +1 -0
- package/dist/collection/assets/pictograms/london.svg +1 -0
- package/dist/collection/assets/pictograms/lounge.svg +1 -0
- package/dist/collection/assets/pictograms/lunch-learn.svg +1 -0
- package/dist/collection/assets/pictograms/machine-learning.svg +1 -0
- package/dist/collection/assets/pictograms/mail-copy.svg +1 -0
- package/dist/collection/assets/pictograms/mail.svg +1 -0
- package/dist/collection/assets/pictograms/map-marker.svg +1 -0
- package/dist/collection/assets/pictograms/map.svg +1 -0
- package/dist/collection/assets/pictograms/markets.svg +1 -0
- package/dist/collection/assets/pictograms/megaphone.svg +1 -0
- package/dist/collection/assets/pictograms/menu.svg +1 -0
- package/dist/collection/assets/pictograms/micro-payments.svg +1 -0
- package/dist/collection/assets/pictograms/microphone.svg +1 -0
- package/dist/collection/assets/pictograms/minus.svg +1 -0
- package/dist/collection/assets/pictograms/mobile-payment.svg +1 -0
- package/dist/collection/assets/pictograms/mobile-terminal.svg +1 -0
- package/dist/collection/assets/pictograms/monitoring.svg +1 -0
- package/dist/collection/assets/pictograms/more.svg +1 -0
- package/dist/collection/assets/pictograms/mountain.svg +1 -0
- package/dist/collection/assets/pictograms/movie-camera.svg +1 -0
- package/dist/collection/assets/pictograms/navigation.svg +1 -0
- package/dist/collection/assets/pictograms/no-smoking.svg +1 -0
- package/dist/collection/assets/pictograms/office.svg +1 -0
- package/dist/collection/assets/pictograms/outsorcing.svg +1 -0
- package/dist/collection/assets/pictograms/package.svg +1 -0
- package/dist/collection/assets/pictograms/paddle.svg +1 -0
- package/dist/collection/assets/pictograms/paninoteca.svg +1 -0
- package/dist/collection/assets/pictograms/paragraph.svg +1 -0
- package/dist/collection/assets/pictograms/paris.svg +1 -0
- package/dist/collection/assets/pictograms/parking.svg +1 -0
- package/dist/collection/assets/pictograms/pause.svg +1 -0
- package/dist/collection/assets/pictograms/pay-points.svg +1 -0
- package/dist/collection/assets/pictograms/pencil.svg +1 -0
- package/dist/collection/assets/pictograms/person-business.svg +1 -0
- package/dist/collection/assets/pictograms/person-callcenter.svg +1 -0
- package/dist/collection/assets/pictograms/person-client.svg +1 -0
- package/dist/collection/assets/pictograms/person-group.svg +1 -0
- package/dist/collection/assets/pictograms/person.svg +1 -0
- package/dist/collection/assets/pictograms/pet.svg +1 -0
- package/dist/collection/assets/pictograms/piechart.svg +1 -0
- package/dist/collection/assets/pictograms/pig.svg +1 -0
- package/dist/collection/assets/pictograms/piggy-bank.svg +1 -0
- package/dist/collection/assets/pictograms/planet.svg +1 -0
- package/dist/collection/assets/pictograms/play.svg +1 -0
- package/dist/collection/assets/pictograms/plus.svg +1 -0
- package/dist/collection/assets/pictograms/popsicle.svg +1 -0
- package/dist/collection/assets/pictograms/printer.svg +1 -0
- package/dist/collection/assets/pictograms/privacy.svg +1 -0
- package/dist/collection/assets/pictograms/process.svg +1 -0
- package/dist/collection/assets/pictograms/projector.svg +1 -0
- package/dist/collection/assets/pictograms/psp.svg +1 -0
- package/dist/collection/assets/pictograms/punch-card.svg +1 -0
- package/dist/collection/assets/pictograms/puzzle.svg +1 -0
- package/dist/collection/assets/pictograms/qr-scanner.svg +1 -0
- package/dist/collection/assets/pictograms/qr.svg +1 -0
- package/dist/collection/assets/pictograms/question.svg +1 -0
- package/dist/collection/assets/pictograms/rabbit.svg +1 -0
- package/dist/collection/assets/pictograms/rain.svg +1 -0
- package/dist/collection/assets/pictograms/realtime.svg +1 -0
- package/dist/collection/assets/pictograms/recurring-payments.svg +1 -0
- package/dist/collection/assets/pictograms/relaxing.svg +1 -0
- package/dist/collection/assets/pictograms/reporting.svg +1 -0
- package/dist/collection/assets/pictograms/responsive-design.svg +1 -0
- package/dist/collection/assets/pictograms/robo-advisor.svg +1 -0
- package/dist/collection/assets/pictograms/robotics.svg +1 -0
- package/dist/collection/assets/pictograms/rock.svg +1 -0
- package/dist/collection/assets/pictograms/rocket.svg +1 -0
- package/dist/collection/assets/pictograms/rss.svg +1 -0
- package/dist/collection/assets/pictograms/sad.svg +1 -0
- package/dist/collection/assets/pictograms/sailboat.svg +1 -0
- package/dist/collection/assets/pictograms/scales.svg +1 -0
- package/dist/collection/assets/pictograms/screen.svg +1 -0
- package/dist/collection/assets/pictograms/seal.svg +1 -0
- package/dist/collection/assets/pictograms/search.svg +1 -0
- package/dist/collection/assets/pictograms/sentiment-dissatisfied.svg +1 -0
- package/dist/collection/assets/pictograms/server.svg +1 -0
- package/dist/collection/assets/pictograms/service-center.svg +1 -0
- package/dist/collection/assets/pictograms/sextant.svg +1 -0
- package/dist/collection/assets/pictograms/share.svg +1 -0
- package/dist/collection/assets/pictograms/shield.svg +1 -0
- package/dist/collection/assets/pictograms/shop.svg +1 -0
- package/dist/collection/assets/pictograms/shopping-cart-chf.svg +1 -0
- package/dist/collection/assets/pictograms/shopping-cart-download.svg +1 -0
- package/dist/collection/assets/pictograms/shopping-cart.svg +1 -0
- package/dist/collection/assets/pictograms/signal.svg +1 -0
- package/dist/collection/assets/pictograms/simple-integration.svg +1 -0
- package/dist/collection/assets/pictograms/skull.svg +1 -0
- package/dist/collection/assets/pictograms/smoking.svg +1 -0
- package/dist/collection/assets/pictograms/snow.svg +1 -0
- package/dist/collection/assets/pictograms/snowflake.svg +1 -0
- package/dist/collection/assets/pictograms/snowman.svg +1 -0
- package/dist/collection/assets/pictograms/soc.svg +1 -0
- package/dist/collection/assets/pictograms/social-days.svg +1 -0
- package/dist/collection/assets/pictograms/social-trading.svg +1 -0
- package/dist/collection/assets/pictograms/softwarepackage.svg +1 -0
- package/dist/collection/assets/pictograms/sound.svg +1 -0
- package/dist/collection/assets/pictograms/speechbubble.svg +1 -0
- package/dist/collection/assets/pictograms/spirit.svg +1 -0
- package/dist/collection/assets/pictograms/split.svg +1 -0
- package/dist/collection/assets/pictograms/stability.svg +1 -0
- package/dist/collection/assets/pictograms/stairs.svg +1 -0
- package/dist/collection/assets/pictograms/star.svg +1 -0
- package/dist/collection/assets/pictograms/statistic.svg +1 -0
- package/dist/collection/assets/pictograms/stock.svg +1 -0
- package/dist/collection/assets/pictograms/stocks.svg +1 -0
- package/dist/collection/assets/pictograms/stop.svg +1 -0
- package/dist/collection/assets/pictograms/stopwatch.svg +1 -0
- package/dist/collection/assets/pictograms/storage.svg +1 -0
- package/dist/collection/assets/pictograms/success.svg +1 -0
- package/dist/collection/assets/pictograms/suitcase.svg +1 -0
- package/dist/collection/assets/pictograms/sun.svg +1 -0
- package/dist/collection/assets/pictograms/surveillance.svg +1 -0
- package/dist/collection/assets/pictograms/swiss.svg +1 -0
- package/dist/collection/assets/pictograms/tablet.svg +1 -0
- package/dist/collection/assets/pictograms/tachometer.svg +1 -0
- package/dist/collection/assets/pictograms/target.svg +1 -0
- package/dist/collection/assets/pictograms/telephone.svg +1 -0
- package/dist/collection/assets/pictograms/telescope.svg +1 -0
- package/dist/collection/assets/pictograms/temperature.svg +1 -0
- package/dist/collection/assets/pictograms/terminal.svg +1 -0
- package/dist/collection/assets/pictograms/ticket.svg +1 -0
- package/dist/collection/assets/pictograms/tin.svg +1 -0
- package/dist/collection/assets/pictograms/tokenization.svg +1 -0
- package/dist/collection/assets/pictograms/tool.svg +1 -0
- package/dist/collection/assets/pictograms/touch.svg +1 -0
- package/dist/collection/assets/pictograms/train.svg +1 -0
- package/dist/collection/assets/pictograms/trash.svg +1 -0
- package/dist/collection/assets/pictograms/umbrella.svg +1 -0
- package/dist/collection/assets/pictograms/unlock.svg +1 -0
- package/dist/collection/assets/pictograms/upload.svg +1 -0
- package/dist/collection/assets/pictograms/usb.svg +1 -0
- package/dist/collection/assets/pictograms/viena.svg +1 -0
- package/dist/collection/assets/pictograms/viking.svg +1 -0
- package/dist/collection/assets/pictograms/visibility.svg +1 -0
- package/dist/collection/assets/pictograms/wallet.svg +1 -0
- package/dist/collection/assets/pictograms/warning.svg +1 -0
- package/dist/collection/assets/pictograms/way-up.svg +1 -0
- package/dist/collection/assets/pictograms/wc-handicap.svg +1 -0
- package/dist/collection/assets/pictograms/wc-men.svg +1 -0
- package/dist/collection/assets/pictograms/wc-woman.svg +1 -0
- package/dist/collection/assets/pictograms/wearables.svg +1 -0
- package/dist/collection/assets/pictograms/webshop.svg +1 -0
- package/dist/collection/assets/pictograms/wlan-bluetooth.svg +1 -0
- package/dist/collection/assets/pictograms/wlan.svg +1 -0
- package/dist/collection/assets/pictograms/x.svg +1 -0
- package/dist/collection/assets/pictograms/zurich.svg +1 -0
- package/dist/collection/collection-manifest.json +8 -4
- package/dist/collection/components/six-alert/six-alert.js +23 -7
- package/dist/collection/components/six-alert/six-alert.js.map +1 -1
- package/dist/collection/components/six-avatar/six-avatar.js +17 -5
- package/dist/collection/components/six-avatar/six-avatar.js.map +1 -1
- package/dist/collection/components/six-badge/six-badge.js +11 -2
- package/dist/collection/components/six-badge/six-badge.js.map +1 -1
- package/dist/collection/components/six-button/six-button.css +20 -5
- package/dist/collection/components/six-button/six-button.js +76 -22
- package/dist/collection/components/six-button/six-button.js.map +1 -1
- package/dist/collection/components/six-card/six-card.js +1 -1
- package/dist/collection/components/six-card/six-card.js.map +1 -1
- package/dist/collection/components/six-checkbox/six-checkbox.css +2 -0
- package/dist/collection/components/six-checkbox/six-checkbox.js +49 -15
- package/dist/collection/components/six-checkbox/six-checkbox.js.map +1 -1
- package/dist/collection/components/six-datepicker/six-datepicker.js +145 -45
- package/dist/collection/components/six-datepicker/six-datepicker.js.map +1 -1
- package/dist/collection/components/six-details/six-details.js +35 -12
- package/dist/collection/components/six-details/six-details.js.map +1 -1
- package/dist/collection/components/six-dialog/six-dialog.js +28 -33
- package/dist/collection/components/six-dialog/six-dialog.js.map +1 -1
- package/dist/collection/components/six-drawer/six-drawer.js +40 -35
- package/dist/collection/components/six-drawer/six-drawer.js.map +1 -1
- package/dist/collection/components/six-dropdown/six-dropdown.js +93 -54
- package/dist/collection/components/six-dropdown/six-dropdown.js.map +1 -1
- package/dist/collection/components/six-error/six-error.css +1 -0
- package/dist/collection/components/six-error/six-error.js +1 -1
- package/dist/collection/components/six-error/six-error.js.map +1 -1
- package/dist/collection/components/six-error-page/six-error-page.js +15 -6
- package/dist/collection/components/six-error-page/six-error-page.js.map +1 -1
- package/dist/collection/components/six-file-list/six-file-list.js +1 -1
- package/dist/collection/components/six-file-list/six-file-list.js.map +1 -1
- package/dist/collection/components/six-file-list-item/six-file-list-item.js +24 -8
- package/dist/collection/components/six-file-list-item/six-file-list-item.js.map +1 -1
- package/dist/collection/components/six-file-upload/six-file-upload.css +11 -3
- package/dist/collection/components/six-file-upload/six-file-upload.js +114 -18
- package/dist/collection/components/six-file-upload/six-file-upload.js.map +1 -1
- package/dist/collection/components/six-footer/six-footer.js +1 -1
- package/dist/collection/components/six-footer/six-footer.js.map +1 -1
- package/dist/collection/components/six-group-label/six-group-label.js +20 -5
- package/dist/collection/components/six-group-label/six-group-label.js.map +1 -1
- package/dist/collection/components/six-header/six-header.css +2 -37
- package/dist/collection/components/six-header/six-header.js +19 -393
- package/dist/collection/components/six-header/six-header.js.map +1 -1
- package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.css +13 -0
- package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js +106 -0
- package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js.map +1 -0
- package/dist/collection/components/six-header-item/six-header-item.css +15 -0
- package/dist/collection/components/six-header-item/six-header-item.js +57 -0
- package/dist/collection/components/six-header-item/six-header-item.js.map +1 -0
- package/dist/collection/components/six-header-menu-button/six-header-menu-button.css +32 -0
- package/dist/collection/components/six-header-menu-button/six-header-menu-button.js +139 -0
- package/dist/collection/components/six-header-menu-button/six-header-menu-button.js.map +1 -0
- package/dist/collection/components/six-icon/six-icon.js +8 -2
- package/dist/collection/components/six-icon/six-icon.js.map +1 -1
- package/dist/collection/components/six-icon-button/six-icon-button.css +2 -1
- package/dist/collection/components/six-icon-button/six-icon-button.js +77 -8
- package/dist/collection/components/six-icon-button/six-icon-button.js.map +1 -1
- package/dist/collection/components/six-input/six-input.css +1 -0
- package/dist/collection/components/six-input/six-input.js +150 -40
- package/dist/collection/components/six-input/six-input.js.map +1 -1
- package/dist/collection/components/six-item-picker/six-item-picker.js +57 -10
- package/dist/collection/components/six-item-picker/six-item-picker.js.map +1 -1
- package/dist/collection/components/six-language-switcher/six-language-switcher.css +7 -2
- package/dist/collection/components/six-language-switcher/six-language-switcher.js +13 -5
- package/dist/collection/components/six-language-switcher/six-language-switcher.js.map +1 -1
- package/dist/collection/components/six-layout-grid/six-layout-grid.js +3 -4
- package/dist/collection/components/six-layout-grid/six-layout-grid.js.map +1 -1
- package/dist/collection/components/six-logo/six-logo.css +18 -0
- package/dist/collection/components/six-logo/six-logo.js +57 -0
- package/dist/collection/components/six-logo/six-logo.js.map +1 -0
- package/dist/collection/components/six-main-container/six-main-container.js +5 -1
- package/dist/collection/components/six-main-container/six-main-container.js.map +1 -1
- package/dist/collection/components/six-menu/six-menu.js +54 -11
- package/dist/collection/components/six-menu/six-menu.js.map +1 -1
- package/dist/collection/components/six-menu-divider/six-menu-divider.js +1 -1
- package/dist/collection/components/six-menu-divider/six-menu-divider.js.map +1 -1
- package/dist/collection/components/six-menu-item/six-menu-item.js +18 -5
- package/dist/collection/components/six-menu-item/six-menu-item.js.map +1 -1
- package/dist/collection/components/six-menu-label/six-menu-label.js +1 -1
- package/dist/collection/components/six-menu-label/six-menu-label.js.map +1 -1
- package/dist/collection/components/six-picto/six-picto.css +0 -1193
- package/dist/collection/components/six-picto/six-picto.js +31 -5
- package/dist/collection/components/six-picto/six-picto.js.map +1 -1
- package/dist/collection/components/six-progress-bar/six-progress-bar.js +9 -3
- package/dist/collection/components/six-progress-bar/six-progress-bar.js.map +1 -1
- package/dist/collection/components/six-progress-ring/six-progress-ring.js +10 -1
- package/dist/collection/components/six-progress-ring/six-progress-ring.js.map +1 -1
- package/dist/collection/components/six-radio/six-radio.js +23 -8
- package/dist/collection/components/six-radio/six-radio.js.map +1 -1
- package/dist/collection/components/six-range/six-range.css +1 -1
- package/dist/collection/components/six-range/six-range.js +71 -21
- package/dist/collection/components/six-range/six-range.js.map +1 -1
- package/dist/collection/components/six-root/six-root.js +11 -1
- package/dist/collection/components/six-root/six-root.js.map +1 -1
- package/dist/collection/components/six-search-field/six-search-field.js +19 -6
- package/dist/collection/components/six-search-field/six-search-field.js.map +1 -1
- package/dist/collection/components/six-select/six-select.js +170 -102
- package/dist/collection/components/six-select/six-select.js.map +1 -1
- package/dist/collection/components/six-select/util.js +24 -0
- package/dist/collection/components/six-select/util.js.map +1 -1
- package/dist/collection/components/six-sidebar/six-sidebar.js +19 -7
- package/dist/collection/components/six-sidebar/six-sidebar.js.map +1 -1
- package/dist/collection/components/six-sidebar-item/six-sidebar-item.css +7 -0
- package/dist/collection/components/six-sidebar-item/six-sidebar-item.js +13 -3
- package/dist/collection/components/six-sidebar-item/six-sidebar-item.js.map +1 -1
- package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.css +8 -0
- package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js +23 -9
- package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js.map +1 -1
- package/dist/collection/components/six-spinner/six-spinner.css +45 -0
- package/dist/collection/components/six-spinner/six-spinner.js +60 -11
- package/dist/collection/components/six-spinner/six-spinner.js.map +1 -1
- package/dist/collection/components/six-stage-indicator/six-stage-indicator.js +3 -0
- package/dist/collection/components/six-stage-indicator/six-stage-indicator.js.map +1 -1
- package/dist/collection/components/six-switch/six-switch.js +38 -13
- package/dist/collection/components/six-switch/six-switch.js.map +1 -1
- package/dist/collection/components/six-tab/six-tab.js +14 -2
- package/dist/collection/components/six-tab/six-tab.js.map +1 -1
- package/dist/collection/components/six-tab-group/six-tab-group.js +41 -9
- package/dist/collection/components/six-tab-group/six-tab-group.js.map +1 -1
- package/dist/collection/components/six-tab-panel/six-tab-panel.js +7 -1
- package/dist/collection/components/six-tab-panel/six-tab-panel.js.map +1 -1
- package/dist/collection/components/six-tag/six-tag.js +18 -6
- package/dist/collection/components/six-tag/six-tag.js.map +1 -1
- package/dist/collection/components/six-textarea/six-textarea.css +5 -0
- package/dist/collection/components/six-textarea/six-textarea.js +86 -30
- package/dist/collection/components/six-textarea/six-textarea.js.map +1 -1
- package/dist/collection/components/six-tile/six-tile.js +36 -15
- package/dist/collection/components/six-tile/six-tile.js.map +1 -1
- package/dist/collection/components/six-timepicker/six-timepicker.css +1 -2
- package/dist/collection/components/six-timepicker/six-timepicker.js +135 -28
- package/dist/collection/components/six-timepicker/six-timepicker.js.map +1 -1
- package/dist/collection/components/six-tooltip/six-tooltip.js +37 -9
- package/dist/collection/components/six-tooltip/six-tooltip.js.map +1 -1
- package/dist/collection/files/material-icons-latin-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-100-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-100-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-100-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-100-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-200-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-200-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-200-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-200-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-300-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-300-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-300-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-300-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-400-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-400-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-400-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-500-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-500-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-500-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-500-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-600-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-600-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-600-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-600-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-700-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-700-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-700-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-700-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-800-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-800-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-800-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-800-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-900-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-900-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-900-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-900-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-100-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-100-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-100-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-100-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-200-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-200-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-200-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-200-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-300-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-300-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-300-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-300-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-400-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-400-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-400-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-500-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-500-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-500-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-500-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-600-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-600-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-600-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-600-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-700-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-700-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-700-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-700-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-800-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-800-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-800-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-800-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-900-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-900-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-900-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-900-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-100-italic.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-100-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-100-normal.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-100-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-200-italic.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-200-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-200-normal.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-200-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-300-italic.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-300-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-300-normal.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-300-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-400-italic.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-400-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-400-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-500-italic.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-500-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-500-normal.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-500-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-600-italic.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-600-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-600-normal.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-600-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-700-italic.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-700-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-700-normal.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-700-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-800-italic.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-800-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-800-normal.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-800-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-900-italic.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-900-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-900-normal.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-900-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-100-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-100-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-100-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-100-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-200-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-200-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-200-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-200-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-300-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-300-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-300-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-300-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-400-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-400-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-400-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-500-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-500-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-500-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-500-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-600-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-600-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-600-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-600-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-700-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-700-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-700-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-700-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-800-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-800-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-800-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-800-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-900-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-900-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-900-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-900-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-100-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-100-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-100-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-100-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-200-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-200-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-200-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-200-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-300-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-300-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-300-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-300-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-400-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-400-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-400-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-500-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-500-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-500-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-500-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-600-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-600-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-600-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-600-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-700-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-700-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-700-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-700-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-800-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-800-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-800-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-800-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-900-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-900-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-900-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-900-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-100-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-100-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-100-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-100-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-200-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-200-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-200-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-200-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-300-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-300-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-300-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-300-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-400-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-400-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-400-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-500-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-500-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-500-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-500-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-600-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-600-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-600-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-600-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-700-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-700-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-700-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-700-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-800-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-800-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-800-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-800-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-900-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-900-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-900-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-900-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-100-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-100-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-100-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-100-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-200-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-200-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-200-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-200-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-300-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-300-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-300-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-300-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-400-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-400-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-400-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-500-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-500-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-500-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-500-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-600-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-600-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-600-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-600-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-700-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-700-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-700-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-700-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-800-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-800-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-800-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-800-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-900-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-900-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-900-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-900-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-100-italic.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-100-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-100-normal.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-100-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-200-italic.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-200-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-200-normal.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-200-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-300-italic.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-300-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-300-normal.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-300-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-400-italic.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-400-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-400-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-500-italic.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-500-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-500-normal.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-500-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-600-italic.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-600-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-600-normal.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-600-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-700-italic.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-700-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-700-normal.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-700-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-800-italic.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-800-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-800-normal.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-800-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-900-italic.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-900-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-900-normal.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-900-normal.woff2 +0 -0
- package/dist/collection/utils/alert.js.map +1 -1
- package/dist/collection/utils/date-util.js.map +1 -1
- package/dist/collection/utils/error-messages.js.map +1 -1
- package/dist/collection/utils/event-listeners.js.map +1 -1
- package/dist/collection/utils/focus-visible.js.map +1 -1
- package/dist/collection/utils/form.js.map +1 -1
- package/dist/collection/utils/modal.js.map +1 -1
- package/dist/collection/utils/popover.js.map +1 -1
- package/dist/collection/utils/popup.js.map +1 -1
- package/dist/collection/utils/scroll.js.map +1 -1
- package/dist/collection/utils/slot.js.map +1 -1
- package/dist/collection/utils/tabbable.js.map +1 -1
- package/dist/collection/utils/time.util.js.map +1 -1
- package/dist/components/index.js +10 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/p-B1bClJZ6.js +19 -0
- package/dist/components/p-B1bClJZ6.js.map +1 -0
- package/dist/components/p-BAe7gBEi.js +1666 -0
- package/dist/components/p-BAe7gBEi.js.map +1 -0
- package/dist/components/p-BY6hIEFX.js +65 -0
- package/dist/components/p-BY6hIEFX.js.map +1 -0
- package/dist/components/p-BmfA8xQl.js +62 -0
- package/dist/components/p-BmfA8xQl.js.map +1 -0
- package/dist/components/p-Bw28MhTp.js +627 -0
- package/dist/components/p-Bw28MhTp.js.map +1 -0
- package/dist/components/p-C4h4qpGl.js +60 -0
- package/dist/components/p-C4h4qpGl.js.map +1 -0
- package/dist/components/p-CCzcCSym.js +208 -0
- package/dist/components/p-CCzcCSym.js.map +1 -0
- package/dist/components/p-CH2t-tOb.js +614 -0
- package/dist/components/p-CH2t-tOb.js.map +1 -0
- package/dist/components/p-CKhg9ibv.js +44 -0
- package/dist/components/p-CKhg9ibv.js.map +1 -0
- package/dist/components/p-Cc_nfyAl.js +35 -0
- package/dist/components/p-Cc_nfyAl.js.map +1 -0
- package/dist/components/p-CfIoyvm-.js +34 -0
- package/dist/components/p-CfIoyvm-.js.map +1 -0
- package/dist/components/p-Cku9xxcT.js +33 -0
- package/dist/components/p-Cku9xxcT.js.map +1 -0
- package/dist/components/p-CmLb31Bn.js +117 -0
- package/dist/components/p-CmLb31Bn.js.map +1 -0
- package/dist/components/p-D3m7RdL_.js +173 -0
- package/dist/components/p-D3m7RdL_.js.map +1 -0
- package/dist/components/p-DfVxkvir.js +76 -0
- package/dist/components/p-DfVxkvir.js.map +1 -0
- package/dist/components/p-Dgi7xz4X.js +74 -0
- package/dist/components/p-Dgi7xz4X.js.map +1 -0
- package/dist/components/p-DhglcyBm.js +305 -0
- package/dist/components/p-DhglcyBm.js.map +1 -0
- package/dist/components/p-DowTL9Wf.js +187 -0
- package/dist/components/p-DowTL9Wf.js.map +1 -0
- package/dist/components/p-DyBhkgST.js +52 -0
- package/dist/components/p-DyBhkgST.js.map +1 -0
- package/dist/components/p-Gp_A69uJ.js +43 -0
- package/dist/components/p-Gp_A69uJ.js.map +1 -0
- package/dist/components/p-H_jOwrje.js +180 -0
- package/dist/components/p-H_jOwrje.js.map +1 -0
- package/dist/components/p-NB9EUAIJ.js +305 -0
- package/dist/components/p-NB9EUAIJ.js.map +1 -0
- package/dist/components/p-Vw_F19Fv.js +46 -0
- package/dist/components/p-Vw_F19Fv.js.map +1 -0
- package/dist/components/p-j3oIB5oT.js +48 -0
- package/dist/components/p-j3oIB5oT.js.map +1 -0
- package/dist/components/p-kHci8ddv.js +1919 -0
- package/dist/components/p-kHci8ddv.js.map +1 -0
- package/dist/components/p-lKTNzsQ7.js +507 -0
- package/dist/components/p-lKTNzsQ7.js.map +1 -0
- package/dist/components/six-alert.js +26 -17
- package/dist/components/six-alert.js.map +1 -1
- package/dist/components/six-avatar.js +13 -8
- package/dist/components/six-avatar.js.map +1 -1
- package/dist/components/six-badge.js +8 -4
- package/dist/components/six-badge.js.map +1 -1
- package/dist/components/six-button.js +2 -1
- package/dist/components/six-card.js +4 -3
- package/dist/components/six-card.js.map +1 -1
- package/dist/components/six-checkbox.js +2 -1
- package/dist/components/six-datepicker.js +102 -55
- package/dist/components/six-datepicker.js.map +1 -1
- package/dist/components/six-details.js +2 -1
- package/dist/components/six-dialog.js +36 -45
- package/dist/components/six-dialog.js.map +1 -1
- package/dist/components/six-drawer.js +44 -47
- package/dist/components/six-drawer.js.map +1 -1
- package/dist/components/six-dropdown.js +2 -1
- package/dist/components/six-error-page.js +8 -8
- package/dist/components/six-error-page.js.map +1 -1
- package/dist/components/six-error.js +2 -1
- package/dist/components/six-file-list-item.js +18 -13
- package/dist/components/six-file-list-item.js.map +1 -1
- package/dist/components/six-file-list.js +4 -3
- package/dist/components/six-file-list.js.map +1 -1
- package/dist/components/six-file-upload.js +65 -26
- package/dist/components/six-file-upload.js.map +1 -1
- package/dist/components/six-footer.js +4 -3
- package/dist/components/six-footer.js.map +1 -1
- package/dist/components/six-group-label.js +16 -10
- package/dist/components/six-group-label.js.map +1 -1
- package/dist/components/six-header-dropdown-item.d.ts +11 -0
- package/dist/components/six-header-dropdown-item.js +114 -0
- package/dist/components/six-header-dropdown-item.js.map +1 -0
- package/dist/components/six-header-item.d.ts +11 -0
- package/dist/components/six-header-item.js +46 -0
- package/dist/components/six-header-item.js.map +1 -0
- package/dist/components/six-header-menu-button.d.ts +11 -0
- package/dist/components/six-header-menu-button.js +64 -0
- package/dist/components/six-header-menu-button.js.map +1 -0
- package/dist/components/six-header.js +21 -222
- package/dist/components/six-header.js.map +1 -1
- package/dist/components/six-icon-button.js +2 -1
- package/dist/components/six-icon.js +2 -1
- package/dist/components/six-input.js +2 -1
- package/dist/components/six-item-picker.js +2 -1
- package/dist/components/six-language-switcher.js +14 -9
- package/dist/components/six-language-switcher.js.map +1 -1
- package/dist/components/six-layout-grid.js +4 -4
- package/dist/components/six-layout-grid.js.map +1 -1
- package/dist/components/six-logo.d.ts +11 -0
- package/dist/components/six-logo.js +46 -0
- package/dist/components/six-logo.js.map +1 -0
- package/dist/components/six-main-container.js +6 -3
- package/dist/components/six-main-container.js.map +1 -1
- package/dist/components/six-menu-divider.js +4 -3
- package/dist/components/six-menu-divider.js.map +1 -1
- package/dist/components/six-menu-item.js +2 -1
- package/dist/components/six-menu-label.js +4 -3
- package/dist/components/six-menu-label.js.map +1 -1
- package/dist/components/six-menu.js +2 -1
- package/dist/components/six-picto.js +2 -1
- package/dist/components/six-progress-bar.js +8 -5
- package/dist/components/six-progress-bar.js.map +1 -1
- package/dist/components/six-progress-ring.js +7 -3
- package/dist/components/six-progress-ring.js.map +1 -1
- package/dist/components/six-radio.js +20 -14
- package/dist/components/six-radio.js.map +1 -1
- package/dist/components/six-range.js +54 -31
- package/dist/components/six-range.js.map +1 -1
- package/dist/components/six-root.js +10 -5
- package/dist/components/six-root.js.map +1 -1
- package/dist/components/six-search-field.js +18 -14
- package/dist/components/six-search-field.js.map +1 -1
- package/dist/components/six-select.js +171 -101
- package/dist/components/six-select.js.map +1 -1
- package/dist/components/six-sidebar-item-group.js +18 -15
- package/dist/components/six-sidebar-item-group.js.map +1 -1
- package/dist/components/six-sidebar-item.js +9 -6
- package/dist/components/six-sidebar-item.js.map +1 -1
- package/dist/components/six-sidebar.js +20 -15
- package/dist/components/six-sidebar.js.map +1 -1
- package/dist/components/six-spinner.js +2 -1
- package/dist/components/six-stage-indicator.js +2 -1
- package/dist/components/six-switch.js +30 -22
- package/dist/components/six-switch.js.map +1 -1
- package/dist/components/six-tab-group.js +45 -16
- package/dist/components/six-tab-group.js.map +1 -1
- package/dist/components/six-tab-panel.js +6 -3
- package/dist/components/six-tab-panel.js.map +1 -1
- package/dist/components/six-tab.js +12 -7
- package/dist/components/six-tab.js.map +1 -1
- package/dist/components/six-tag.js +19 -14
- package/dist/components/six-tag.js.map +1 -1
- package/dist/components/six-textarea.js +52 -39
- package/dist/components/six-textarea.js.map +1 -1
- package/dist/components/six-tile.js +31 -23
- package/dist/components/six-tile.js.map +1 -1
- package/dist/components/six-timepicker.js +2 -1
- package/dist/components/six-tooltip.js +2 -1
- package/dist/components.d.ts +42 -0
- package/dist/components.json +1639 -692
- package/dist/esm/app-globals-DQuL1Twl.js +6 -0
- package/dist/esm/app-globals-DQuL1Twl.js.map +1 -0
- package/dist/esm/error-messages-HZugF7pW.js +116 -0
- package/dist/esm/error-messages-HZugF7pW.js.map +1 -0
- package/dist/esm/event-listeners-C4h4qpGl.js +60 -0
- package/dist/esm/event-listeners-C4h4qpGl.js.map +1 -0
- package/dist/esm/execution-control-CKhg9ibv.js +44 -0
- package/dist/esm/execution-control-CKhg9ibv.js.map +1 -0
- package/dist/esm/focus-visible-Vw_F19Fv.js +46 -0
- package/dist/esm/focus-visible-Vw_F19Fv.js.map +1 -0
- package/dist/esm/form-B1bClJZ6.js +19 -0
- package/dist/esm/form-B1bClJZ6.js.map +1 -0
- package/dist/esm/form-control-_dvMXnmg.js +35 -0
- package/dist/esm/form-control-_dvMXnmg.js.map +1 -0
- package/dist/esm/index-BF09Gr5y.js +2116 -0
- package/dist/esm/index-BF09Gr5y.js.map +1 -0
- package/dist/esm/index.js +2 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +7 -4
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/modal-CfIoyvm-.js +34 -0
- package/dist/esm/modal-CfIoyvm-.js.map +1 -0
- package/dist/esm/popover-kHci8ddv.js +1919 -0
- package/dist/esm/popover-kHci8ddv.js.map +1 -0
- package/dist/esm/popup-Dd6pdO8C.js +99 -0
- package/dist/esm/popup-Dd6pdO8C.js.map +1 -0
- package/dist/esm/scroll-BY6hIEFX.js +65 -0
- package/dist/esm/scroll-BY6hIEFX.js.map +1 -0
- package/dist/esm/six-alert.entry.js +22 -13
- package/dist/esm/six-alert.entry.js.map +1 -1
- package/dist/esm/six-avatar.entry.js +11 -6
- package/dist/esm/six-avatar.entry.js.map +1 -1
- package/dist/esm/six-badge.entry.js +7 -3
- package/dist/esm/six-badge.entry.js.map +1 -1
- package/dist/esm/six-button.entry.js +53 -26
- package/dist/esm/six-button.entry.js.map +1 -1
- package/dist/esm/six-card.entry.js +3 -2
- package/dist/esm/six-card.entry.js.map +1 -1
- package/dist/esm/six-checkbox.six-menu-item.entry.js.map +1 -0
- package/dist/esm/six-checkbox_2.entry.js +48 -28
- package/dist/esm/six-checkbox_2.entry.js.map +1 -1
- package/dist/esm/six-datepicker.entry.js +97 -50
- package/dist/esm/six-datepicker.entry.js.map +1 -1
- package/dist/esm/six-details.entry.js +26 -18
- package/dist/esm/six-details.entry.js.map +1 -1
- package/dist/esm/six-dialog.entry.js +33 -42
- package/dist/esm/six-dialog.entry.js.map +1 -1
- package/dist/esm/six-drawer.entry.js +41 -44
- package/dist/esm/six-drawer.entry.js.map +1 -1
- package/dist/esm/six-dropdown.six-menu.entry.js.map +1 -0
- package/dist/esm/six-dropdown_2.entry.js +114 -57
- package/dist/esm/six-dropdown_2.entry.js.map +1 -1
- package/dist/esm/six-error-page.entry.js +6 -6
- package/dist/esm/six-error-page.entry.js.map +1 -1
- package/dist/esm/six-error.entry.js +4 -3
- package/dist/esm/six-error.entry.js.map +1 -1
- package/dist/esm/six-file-list-item.entry.js +16 -11
- package/dist/esm/six-file-list-item.entry.js.map +1 -1
- package/dist/esm/six-file-list.entry.js +3 -2
- package/dist/esm/six-file-list.entry.js.map +1 -1
- package/dist/esm/six-file-upload.entry.js +44 -21
- package/dist/esm/six-file-upload.entry.js.map +1 -1
- package/dist/esm/six-footer.entry.js +3 -2
- package/dist/esm/six-footer.entry.js.map +1 -1
- package/dist/esm/six-group-label.entry.js +14 -8
- package/dist/esm/six-group-label.entry.js.map +1 -1
- package/dist/esm/six-header-dropdown-item.entry.js +50 -0
- package/dist/esm/six-header-dropdown-item.entry.js.map +1 -0
- package/dist/esm/six-header-item.entry.js +26 -0
- package/dist/esm/six-header-item.entry.js.map +1 -0
- package/dist/esm/six-header-menu-button.entry.js +28 -0
- package/dist/esm/six-header-menu-button.entry.js.map +1 -0
- package/dist/esm/six-header.entry.js +18 -164
- package/dist/esm/six-header.entry.js.map +1 -1
- package/dist/esm/six-icon-button.entry.js +14 -11
- package/dist/esm/six-icon-button.entry.js.map +1 -1
- package/dist/esm/six-icon.entry.js +6 -3
- package/dist/esm/six-icon.entry.js.map +1 -1
- package/dist/esm/six-input.entry.js +73 -49
- package/dist/esm/six-input.entry.js.map +1 -1
- package/dist/esm/six-item-picker.entry.js +35 -15
- package/dist/esm/six-item-picker.entry.js.map +1 -1
- package/dist/esm/six-language-switcher.entry.js +13 -8
- package/dist/esm/six-language-switcher.entry.js.map +1 -1
- package/dist/esm/six-layout-grid.entry.js +3 -3
- package/dist/esm/six-layout-grid.entry.js.map +1 -1
- package/dist/esm/six-logo.entry.js +26 -0
- package/dist/esm/six-logo.entry.js.map +1 -0
- package/dist/esm/six-main-container.entry.js +5 -2
- package/dist/esm/six-main-container.entry.js.map +1 -1
- package/dist/esm/six-menu-divider.entry.js +3 -2
- package/dist/esm/six-menu-divider.entry.js.map +1 -1
- package/dist/esm/six-menu-label.entry.js +3 -2
- package/dist/esm/six-menu-label.entry.js.map +1 -1
- package/dist/esm/six-picto.entry.js +27 -7
- package/dist/esm/six-picto.entry.js.map +1 -1
- package/dist/esm/six-progress-bar.entry.js +7 -4
- package/dist/esm/six-progress-bar.entry.js.map +1 -1
- package/dist/esm/six-progress-ring.entry.js +6 -2
- package/dist/esm/six-progress-ring.entry.js.map +1 -1
- package/dist/esm/six-radio.entry.js +19 -13
- package/dist/esm/six-radio.entry.js.map +1 -1
- package/dist/esm/six-range.entry.js +52 -29
- package/dist/esm/six-range.entry.js.map +1 -1
- package/dist/esm/six-root.entry.js +7 -2
- package/dist/esm/six-root.entry.js.map +1 -1
- package/dist/esm/six-search-field.entry.js +14 -10
- package/dist/esm/six-search-field.entry.js.map +1 -1
- package/dist/esm/six-select.entry.js +161 -90
- package/dist/esm/six-select.entry.js.map +1 -1
- package/dist/esm/six-sidebar-item-group.entry.js +15 -12
- package/dist/esm/six-sidebar-item-group.entry.js.map +1 -1
- package/dist/esm/six-sidebar-item.entry.js +8 -5
- package/dist/esm/six-sidebar-item.entry.js.map +1 -1
- package/dist/esm/six-sidebar.entry.js +19 -14
- package/dist/esm/six-sidebar.entry.js.map +1 -1
- package/dist/esm/six-spinner.entry.js +38 -6
- package/dist/esm/six-spinner.entry.js.map +1 -1
- package/dist/esm/six-stage-indicator.entry.js +3 -1
- package/dist/esm/six-stage-indicator.entry.js.map +1 -1
- package/dist/esm/six-switch.entry.js +28 -20
- package/dist/esm/six-switch.entry.js.map +1 -1
- package/dist/esm/six-tab-group.entry.js +40 -12
- package/dist/esm/six-tab-group.entry.js.map +1 -1
- package/dist/esm/six-tab-panel.entry.js +5 -2
- package/dist/esm/six-tab-panel.entry.js.map +1 -1
- package/dist/esm/six-tab.entry.js +9 -4
- package/dist/esm/six-tab.entry.js.map +1 -1
- package/dist/esm/six-tag.entry.js +15 -10
- package/dist/esm/six-tag.entry.js.map +1 -1
- package/dist/esm/six-textarea.entry.js +50 -37
- package/dist/esm/six-textarea.entry.js.map +1 -1
- package/dist/esm/six-tile.entry.js +27 -19
- package/dist/esm/six-tile.entry.js.map +1 -1
- package/dist/esm/six-timepicker.entry.js +100 -38
- package/dist/esm/six-timepicker.entry.js.map +1 -1
- package/dist/esm/six-tooltip.entry.js +30 -15
- package/dist/esm/six-tooltip.entry.js.map +1 -1
- package/dist/esm/slot-j3oIB5oT.js +48 -0
- package/dist/esm/slot-j3oIB5oT.js.map +1 -0
- package/dist/esm/types-WA6V9mN8.js +20 -0
- package/dist/esm/types-WA6V9mN8.js.map +1 -0
- package/dist/esm/ui-library.js +16 -12
- package/dist/esm/ui-library.js.map +1 -1
- package/dist/types/components/six-button/six-button.d.ts +2 -1
- package/dist/types/components/six-dropdown/six-dropdown.d.ts +0 -7
- package/dist/types/components/six-file-upload/six-file-upload.d.ts +11 -1
- package/dist/types/components/six-header/six-header.d.ts +5 -68
- package/dist/types/components/six-header-dropdown-item/six-header-dropdown-item.d.ts +22 -0
- package/dist/types/components/six-header-item/six-header-item.d.ts +15 -0
- package/dist/types/components/six-header-menu-button/six-header-menu-button.d.ts +17 -0
- package/dist/types/components/six-icon-button/six-icon-button.d.ts +6 -0
- package/dist/types/components/six-input/six-input.d.ts +9 -1
- package/dist/types/components/six-logo/six-logo.d.ts +9 -0
- package/dist/types/components/six-menu/six-menu.d.ts +1 -1
- package/dist/types/components/six-picto/six-picto.d.ts +2 -0
- package/dist/types/components/six-range/six-range.d.ts +2 -0
- package/dist/types/components/six-select/six-select.d.ts +0 -9
- package/dist/types/components/six-select/util.d.ts +2 -0
- package/dist/types/components/six-spinner/six-spinner.d.ts +24 -4
- package/dist/types/components/six-tab-group/six-tab-group.d.ts +4 -1
- package/dist/types/components.d.ts +255 -84
- package/dist/types/stencil-public-runtime.d.ts +10 -10
- package/dist/types/utils/type-check.d.ts +1 -1
- package/dist/ui-library/assets/TRADEMARKS.md +3 -3
- package/dist/ui-library/assets/pictograms/TPP.svg +1 -0
- package/dist/ui-library/assets/pictograms/agile.svg +1 -0
- package/dist/ui-library/assets/pictograms/ai.svg +1 -0
- package/dist/ui-library/assets/pictograms/airplane.svg +1 -0
- package/dist/ui-library/assets/pictograms/alert.svg +1 -0
- package/dist/ui-library/assets/pictograms/ambulance.svg +1 -0
- package/dist/ui-library/assets/pictograms/analyse.svg +1 -0
- package/dist/ui-library/assets/pictograms/anchor.svg +1 -0
- package/dist/ui-library/assets/pictograms/apple.svg +1 -0
- package/dist/ui-library/assets/pictograms/arrow-down.svg +1 -0
- package/dist/ui-library/assets/pictograms/arrow-right.svg +1 -0
- package/dist/ui-library/assets/pictograms/arrow-up.svg +1 -0
- package/dist/ui-library/assets/pictograms/astronaut-outline.svg +1 -0
- package/dist/ui-library/assets/pictograms/augmented-reality.svg +1 -0
- package/dist/ui-library/assets/pictograms/backoffice.svg +1 -0
- package/dist/ui-library/assets/pictograms/bank.svg +1 -0
- package/dist/ui-library/assets/pictograms/banknote.svg +1 -0
- package/dist/ui-library/assets/pictograms/barcode.svg +1 -0
- package/dist/ui-library/assets/pictograms/battery.svg +1 -0
- package/dist/ui-library/assets/pictograms/beacon.svg +1 -0
- package/dist/ui-library/assets/pictograms/beat.svg +1 -0
- package/dist/ui-library/assets/pictograms/bee.svg +1 -0
- package/dist/ui-library/assets/pictograms/bell.svg +1 -0
- package/dist/ui-library/assets/pictograms/berlin.svg +1 -0
- package/dist/ui-library/assets/pictograms/big-data.svg +1 -0
- package/dist/ui-library/assets/pictograms/bilateral.svg +1 -0
- package/dist/ui-library/assets/pictograms/bill.svg +1 -0
- package/dist/ui-library/assets/pictograms/binoculars.svg +1 -0
- package/dist/ui-library/assets/pictograms/block.svg +1 -0
- package/dist/ui-library/assets/pictograms/blockchain.svg +1 -0
- package/dist/ui-library/assets/pictograms/bluetooth.svg +1 -0
- package/dist/ui-library/assets/pictograms/bone.svg +1 -0
- package/dist/ui-library/assets/pictograms/book.svg +1 -0
- package/dist/ui-library/assets/pictograms/bottle.svg +1 -0
- package/dist/ui-library/assets/pictograms/buggy.svg +1 -0
- package/dist/ui-library/assets/pictograms/bull-bear.svg +1 -0
- package/dist/ui-library/assets/pictograms/business.svg +1 -0
- package/dist/ui-library/assets/pictograms/cake.svg +1 -0
- package/dist/ui-library/assets/pictograms/calculator.svg +1 -0
- package/dist/ui-library/assets/pictograms/calendar.svg +1 -0
- package/dist/ui-library/assets/pictograms/cam.svg +1 -0
- package/dist/ui-library/assets/pictograms/cap.svg +1 -0
- package/dist/ui-library/assets/pictograms/capsule.svg +1 -0
- package/dist/ui-library/assets/pictograms/car.svg +1 -0
- package/dist/ui-library/assets/pictograms/carabiner.svg +1 -0
- package/dist/ui-library/assets/pictograms/card.svg +1 -0
- package/dist/ui-library/assets/pictograms/cash-machine.svg +1 -0
- package/dist/ui-library/assets/pictograms/cash-register.svg +1 -0
- package/dist/ui-library/assets/pictograms/cash.svg +1 -0
- package/dist/ui-library/assets/pictograms/cashless.svg +1 -0
- package/dist/ui-library/assets/pictograms/check.svg +1 -0
- package/dist/ui-library/assets/pictograms/cheveron-right.svg +1 -0
- package/dist/ui-library/assets/pictograms/chf-eur.svg +1 -0
- package/dist/ui-library/assets/pictograms/cleaning.svg +1 -0
- package/dist/ui-library/assets/pictograms/click-collect.svg +1 -0
- package/dist/ui-library/assets/pictograms/click-return.svg +1 -0
- package/dist/ui-library/assets/pictograms/client-receipt.svg +1 -0
- package/dist/ui-library/assets/pictograms/clientesyusuarios.svg +1 -0
- package/dist/ui-library/assets/pictograms/clock.svg +1 -0
- package/dist/ui-library/assets/pictograms/cloud.svg +1 -0
- package/dist/ui-library/assets/pictograms/coffee.svg +1 -0
- package/dist/ui-library/assets/pictograms/coins.svg +1 -0
- package/dist/ui-library/assets/pictograms/configuracion-de-servicio.svg +1 -0
- package/dist/ui-library/assets/pictograms/connectivity.svg +1 -0
- package/dist/ui-library/assets/pictograms/contactless.svg +1 -0
- package/dist/ui-library/assets/pictograms/copy.svg +1 -0
- package/dist/ui-library/assets/pictograms/cornet.svg +1 -0
- package/dist/ui-library/assets/pictograms/cost-reduction.svg +1 -0
- package/dist/ui-library/assets/pictograms/coupon.svg +1 -0
- package/dist/ui-library/assets/pictograms/croissant.svg +1 -0
- package/dist/ui-library/assets/pictograms/crowdfunding.svg +1 -0
- package/dist/ui-library/assets/pictograms/crown.svg +1 -0
- package/dist/ui-library/assets/pictograms/cryptocurrency.svg +1 -0
- package/dist/ui-library/assets/pictograms/crystal-ball.svg +1 -0
- package/dist/ui-library/assets/pictograms/cup.svg +1 -0
- package/dist/ui-library/assets/pictograms/cupcake.svg +1 -0
- package/dist/ui-library/assets/pictograms/currency.svg +1 -0
- package/dist/ui-library/assets/pictograms/cyber-security.svg +1 -0
- package/dist/ui-library/assets/pictograms/data-mapping.svg +1 -0
- package/dist/ui-library/assets/pictograms/desktop.svg +1 -0
- package/dist/ui-library/assets/pictograms/diamond.svg +1 -0
- package/dist/ui-library/assets/pictograms/disc.svg +1 -0
- package/dist/ui-library/assets/pictograms/diversify.svg +1 -0
- package/dist/ui-library/assets/pictograms/dna.svg +1 -0
- package/dist/ui-library/assets/pictograms/dog.svg +1 -0
- package/dist/ui-library/assets/pictograms/download.svg +1 -0
- package/dist/ui-library/assets/pictograms/drop-zone.svg +1 -0
- package/dist/ui-library/assets/pictograms/drop.svg +1 -0
- package/dist/ui-library/assets/pictograms/dumbbell.svg +1 -0
- package/dist/ui-library/assets/pictograms/dws.svg +1 -0
- package/dist/ui-library/assets/pictograms/ear.svg +1 -0
- package/dist/ui-library/assets/pictograms/ecommerce.svg +1 -0
- package/dist/ui-library/assets/pictograms/ethernet.svg +1 -0
- package/dist/ui-library/assets/pictograms/eur-dollar.svg +1 -0
- package/dist/ui-library/assets/pictograms/exchange.svg +1 -0
- package/dist/ui-library/assets/pictograms/exclamation.svg +1 -0
- package/dist/ui-library/assets/pictograms/external-link.svg +1 -0
- package/dist/ui-library/assets/pictograms/extinguisher.svg +1 -0
- package/dist/ui-library/assets/pictograms/factory.svg +1 -0
- package/dist/ui-library/assets/pictograms/fax.svg +1 -0
- package/dist/ui-library/assets/pictograms/fence.svg +1 -0
- package/dist/ui-library/assets/pictograms/file-text.svg +1 -0
- package/dist/ui-library/assets/pictograms/file.svg +1 -0
- package/dist/ui-library/assets/pictograms/find-in-page.svg +1 -0
- package/dist/ui-library/assets/pictograms/fingerprint.svg +1 -0
- package/dist/ui-library/assets/pictograms/flag.svg +1 -0
- package/dist/ui-library/assets/pictograms/flash.svg +1 -0
- package/dist/ui-library/assets/pictograms/flexibility.svg +1 -0
- package/dist/ui-library/assets/pictograms/flipchart.svg +1 -0
- package/dist/ui-library/assets/pictograms/flower.svg +1 -0
- package/dist/ui-library/assets/pictograms/focus.svg +1 -0
- package/dist/ui-library/assets/pictograms/foreign-exchange.svg +1 -0
- package/dist/ui-library/assets/pictograms/fraud-free.svg +1 -0
- package/dist/ui-library/assets/pictograms/funnel.svg +1 -0
- package/dist/ui-library/assets/pictograms/gamepad.svg +1 -0
- package/dist/ui-library/assets/pictograms/gears.svg +1 -0
- package/dist/ui-library/assets/pictograms/generic.svg +1 -0
- package/dist/ui-library/assets/pictograms/genie.svg +1 -0
- package/dist/ui-library/assets/pictograms/gestion-de-fallidos.svg +1 -0
- package/dist/ui-library/assets/pictograms/gestion-de-instrucciones.svg +1 -0
- package/dist/ui-library/assets/pictograms/gestion-de-pago.svg +1 -0
- package/dist/ui-library/assets/pictograms/gift.svg +1 -0
- package/dist/ui-library/assets/pictograms/giftcard.svg +1 -0
- package/dist/ui-library/assets/pictograms/glass.svg +1 -0
- package/dist/ui-library/assets/pictograms/glasses.svg +1 -0
- package/dist/ui-library/assets/pictograms/global.svg +1 -0
- package/dist/ui-library/assets/pictograms/gprs-lan.svg +1 -0
- package/dist/ui-library/assets/pictograms/gprs.svg +1 -0
- package/dist/ui-library/assets/pictograms/guide.svg +1 -0
- package/dist/ui-library/assets/pictograms/hacker-security.svg +1 -0
- package/dist/ui-library/assets/pictograms/hand.svg +1 -0
- package/dist/ui-library/assets/pictograms/handshake.svg +1 -0
- package/dist/ui-library/assets/pictograms/happy.svg +1 -0
- package/dist/ui-library/assets/pictograms/hashtag.svg +1 -0
- package/dist/ui-library/assets/pictograms/headphones.svg +1 -0
- package/dist/ui-library/assets/pictograms/heart.svg +1 -0
- package/dist/ui-library/assets/pictograms/home.svg +1 -0
- package/dist/ui-library/assets/pictograms/identity-management.svg +1 -0
- package/dist/ui-library/assets/pictograms/info.svg +1 -0
- package/dist/ui-library/assets/pictograms/international-connectivity.svg +1 -0
- package/dist/ui-library/assets/pictograms/iot.svg +1 -0
- package/dist/ui-library/assets/pictograms/key.svg +1 -0
- package/dist/ui-library/assets/pictograms/lab.svg +1 -0
- package/dist/ui-library/assets/pictograms/labyrinth.svg +1 -0
- package/dist/ui-library/assets/pictograms/laptop-outline.svg +1 -0
- package/dist/ui-library/assets/pictograms/leaf.svg +1 -0
- package/dist/ui-library/assets/pictograms/lightbulb.svg +1 -0
- package/dist/ui-library/assets/pictograms/lighthouse.svg +1 -0
- package/dist/ui-library/assets/pictograms/like.svg +1 -0
- package/dist/ui-library/assets/pictograms/lines.svg +1 -0
- package/dist/ui-library/assets/pictograms/liquid.svg +1 -0
- package/dist/ui-library/assets/pictograms/lock.svg +1 -0
- package/dist/ui-library/assets/pictograms/london.svg +1 -0
- package/dist/ui-library/assets/pictograms/lounge.svg +1 -0
- package/dist/ui-library/assets/pictograms/lunch-learn.svg +1 -0
- package/dist/ui-library/assets/pictograms/machine-learning.svg +1 -0
- package/dist/ui-library/assets/pictograms/mail-copy.svg +1 -0
- package/dist/ui-library/assets/pictograms/mail.svg +1 -0
- package/dist/ui-library/assets/pictograms/map-marker.svg +1 -0
- package/dist/ui-library/assets/pictograms/map.svg +1 -0
- package/dist/ui-library/assets/pictograms/markets.svg +1 -0
- package/dist/ui-library/assets/pictograms/megaphone.svg +1 -0
- package/dist/ui-library/assets/pictograms/menu.svg +1 -0
- package/dist/ui-library/assets/pictograms/micro-payments.svg +1 -0
- package/dist/ui-library/assets/pictograms/microphone.svg +1 -0
- package/dist/ui-library/assets/pictograms/minus.svg +1 -0
- package/dist/ui-library/assets/pictograms/mobile-payment.svg +1 -0
- package/dist/ui-library/assets/pictograms/mobile-terminal.svg +1 -0
- package/dist/ui-library/assets/pictograms/monitoring.svg +1 -0
- package/dist/ui-library/assets/pictograms/more.svg +1 -0
- package/dist/ui-library/assets/pictograms/mountain.svg +1 -0
- package/dist/ui-library/assets/pictograms/movie-camera.svg +1 -0
- package/dist/ui-library/assets/pictograms/navigation.svg +1 -0
- package/dist/ui-library/assets/pictograms/no-smoking.svg +1 -0
- package/dist/ui-library/assets/pictograms/office.svg +1 -0
- package/dist/ui-library/assets/pictograms/outsorcing.svg +1 -0
- package/dist/ui-library/assets/pictograms/package.svg +1 -0
- package/dist/ui-library/assets/pictograms/paddle.svg +1 -0
- package/dist/ui-library/assets/pictograms/paninoteca.svg +1 -0
- package/dist/ui-library/assets/pictograms/paragraph.svg +1 -0
- package/dist/ui-library/assets/pictograms/paris.svg +1 -0
- package/dist/ui-library/assets/pictograms/parking.svg +1 -0
- package/dist/ui-library/assets/pictograms/pause.svg +1 -0
- package/dist/ui-library/assets/pictograms/pay-points.svg +1 -0
- package/dist/ui-library/assets/pictograms/pencil.svg +1 -0
- package/dist/ui-library/assets/pictograms/person-business.svg +1 -0
- package/dist/ui-library/assets/pictograms/person-callcenter.svg +1 -0
- package/dist/ui-library/assets/pictograms/person-client.svg +1 -0
- package/dist/ui-library/assets/pictograms/person-group.svg +1 -0
- package/dist/ui-library/assets/pictograms/person.svg +1 -0
- package/dist/ui-library/assets/pictograms/pet.svg +1 -0
- package/dist/ui-library/assets/pictograms/piechart.svg +1 -0
- package/dist/ui-library/assets/pictograms/pig.svg +1 -0
- package/dist/ui-library/assets/pictograms/piggy-bank.svg +1 -0
- package/dist/ui-library/assets/pictograms/planet.svg +1 -0
- package/dist/ui-library/assets/pictograms/play.svg +1 -0
- package/dist/ui-library/assets/pictograms/plus.svg +1 -0
- package/dist/ui-library/assets/pictograms/popsicle.svg +1 -0
- package/dist/ui-library/assets/pictograms/printer.svg +1 -0
- package/dist/ui-library/assets/pictograms/privacy.svg +1 -0
- package/dist/ui-library/assets/pictograms/process.svg +1 -0
- package/dist/ui-library/assets/pictograms/projector.svg +1 -0
- package/dist/ui-library/assets/pictograms/psp.svg +1 -0
- package/dist/ui-library/assets/pictograms/punch-card.svg +1 -0
- package/dist/ui-library/assets/pictograms/puzzle.svg +1 -0
- package/dist/ui-library/assets/pictograms/qr-scanner.svg +1 -0
- package/dist/ui-library/assets/pictograms/qr.svg +1 -0
- package/dist/ui-library/assets/pictograms/question.svg +1 -0
- package/dist/ui-library/assets/pictograms/rabbit.svg +1 -0
- package/dist/ui-library/assets/pictograms/rain.svg +1 -0
- package/dist/ui-library/assets/pictograms/realtime.svg +1 -0
- package/dist/ui-library/assets/pictograms/recurring-payments.svg +1 -0
- package/dist/ui-library/assets/pictograms/relaxing.svg +1 -0
- package/dist/ui-library/assets/pictograms/reporting.svg +1 -0
- package/dist/ui-library/assets/pictograms/responsive-design.svg +1 -0
- package/dist/ui-library/assets/pictograms/robo-advisor.svg +1 -0
- package/dist/ui-library/assets/pictograms/robotics.svg +1 -0
- package/dist/ui-library/assets/pictograms/rock.svg +1 -0
- package/dist/ui-library/assets/pictograms/rocket.svg +1 -0
- package/dist/ui-library/assets/pictograms/rss.svg +1 -0
- package/dist/ui-library/assets/pictograms/sad.svg +1 -0
- package/dist/ui-library/assets/pictograms/sailboat.svg +1 -0
- package/dist/ui-library/assets/pictograms/scales.svg +1 -0
- package/dist/ui-library/assets/pictograms/screen.svg +1 -0
- package/dist/ui-library/assets/pictograms/seal.svg +1 -0
- package/dist/ui-library/assets/pictograms/search.svg +1 -0
- package/dist/ui-library/assets/pictograms/sentiment-dissatisfied.svg +1 -0
- package/dist/ui-library/assets/pictograms/server.svg +1 -0
- package/dist/ui-library/assets/pictograms/service-center.svg +1 -0
- package/dist/ui-library/assets/pictograms/sextant.svg +1 -0
- package/dist/ui-library/assets/pictograms/share.svg +1 -0
- package/dist/ui-library/assets/pictograms/shield.svg +1 -0
- package/dist/ui-library/assets/pictograms/shop.svg +1 -0
- package/dist/ui-library/assets/pictograms/shopping-cart-chf.svg +1 -0
- package/dist/ui-library/assets/pictograms/shopping-cart-download.svg +1 -0
- package/dist/ui-library/assets/pictograms/shopping-cart.svg +1 -0
- package/dist/ui-library/assets/pictograms/signal.svg +1 -0
- package/dist/ui-library/assets/pictograms/simple-integration.svg +1 -0
- package/dist/ui-library/assets/pictograms/skull.svg +1 -0
- package/dist/ui-library/assets/pictograms/smoking.svg +1 -0
- package/dist/ui-library/assets/pictograms/snow.svg +1 -0
- package/dist/ui-library/assets/pictograms/snowflake.svg +1 -0
- package/dist/ui-library/assets/pictograms/snowman.svg +1 -0
- package/dist/ui-library/assets/pictograms/soc.svg +1 -0
- package/dist/ui-library/assets/pictograms/social-days.svg +1 -0
- package/dist/ui-library/assets/pictograms/social-trading.svg +1 -0
- package/dist/ui-library/assets/pictograms/softwarepackage.svg +1 -0
- package/dist/ui-library/assets/pictograms/sound.svg +1 -0
- package/dist/ui-library/assets/pictograms/speechbubble.svg +1 -0
- package/dist/ui-library/assets/pictograms/spirit.svg +1 -0
- package/dist/ui-library/assets/pictograms/split.svg +1 -0
- package/dist/ui-library/assets/pictograms/stability.svg +1 -0
- package/dist/ui-library/assets/pictograms/stairs.svg +1 -0
- package/dist/ui-library/assets/pictograms/star.svg +1 -0
- package/dist/ui-library/assets/pictograms/statistic.svg +1 -0
- package/dist/ui-library/assets/pictograms/stock.svg +1 -0
- package/dist/ui-library/assets/pictograms/stocks.svg +1 -0
- package/dist/ui-library/assets/pictograms/stop.svg +1 -0
- package/dist/ui-library/assets/pictograms/stopwatch.svg +1 -0
- package/dist/ui-library/assets/pictograms/storage.svg +1 -0
- package/dist/ui-library/assets/pictograms/success.svg +1 -0
- package/dist/ui-library/assets/pictograms/suitcase.svg +1 -0
- package/dist/ui-library/assets/pictograms/sun.svg +1 -0
- package/dist/ui-library/assets/pictograms/surveillance.svg +1 -0
- package/dist/ui-library/assets/pictograms/swiss.svg +1 -0
- package/dist/ui-library/assets/pictograms/tablet.svg +1 -0
- package/dist/ui-library/assets/pictograms/tachometer.svg +1 -0
- package/dist/ui-library/assets/pictograms/target.svg +1 -0
- package/dist/ui-library/assets/pictograms/telephone.svg +1 -0
- package/dist/ui-library/assets/pictograms/telescope.svg +1 -0
- package/dist/ui-library/assets/pictograms/temperature.svg +1 -0
- package/dist/ui-library/assets/pictograms/terminal.svg +1 -0
- package/dist/ui-library/assets/pictograms/ticket.svg +1 -0
- package/dist/ui-library/assets/pictograms/tin.svg +1 -0
- package/dist/ui-library/assets/pictograms/tokenization.svg +1 -0
- package/dist/ui-library/assets/pictograms/tool.svg +1 -0
- package/dist/ui-library/assets/pictograms/touch.svg +1 -0
- package/dist/ui-library/assets/pictograms/train.svg +1 -0
- package/dist/ui-library/assets/pictograms/trash.svg +1 -0
- package/dist/ui-library/assets/pictograms/umbrella.svg +1 -0
- package/dist/ui-library/assets/pictograms/unlock.svg +1 -0
- package/dist/ui-library/assets/pictograms/upload.svg +1 -0
- package/dist/ui-library/assets/pictograms/usb.svg +1 -0
- package/dist/ui-library/assets/pictograms/viena.svg +1 -0
- package/dist/ui-library/assets/pictograms/viking.svg +1 -0
- package/dist/ui-library/assets/pictograms/visibility.svg +1 -0
- package/dist/ui-library/assets/pictograms/wallet.svg +1 -0
- package/dist/ui-library/assets/pictograms/warning.svg +1 -0
- package/dist/ui-library/assets/pictograms/way-up.svg +1 -0
- package/dist/ui-library/assets/pictograms/wc-handicap.svg +1 -0
- package/dist/ui-library/assets/pictograms/wc-men.svg +1 -0
- package/dist/ui-library/assets/pictograms/wc-woman.svg +1 -0
- package/dist/ui-library/assets/pictograms/wearables.svg +1 -0
- package/dist/ui-library/assets/pictograms/webshop.svg +1 -0
- package/dist/ui-library/assets/pictograms/wlan-bluetooth.svg +1 -0
- package/dist/ui-library/assets/pictograms/wlan.svg +1 -0
- package/dist/ui-library/assets/pictograms/x.svg +1 -0
- package/dist/ui-library/assets/pictograms/zurich.svg +1 -0
- package/dist/ui-library/files/material-icons-latin-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-100-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-100-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-100-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-100-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-200-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-200-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-200-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-200-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-300-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-300-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-300-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-300-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-400-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-400-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-400-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-500-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-500-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-500-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-500-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-600-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-600-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-600-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-600-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-700-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-700-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-700-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-700-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-800-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-800-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-800-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-800-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-900-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-900-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-900-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-900-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-100-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-100-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-100-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-100-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-200-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-200-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-200-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-200-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-300-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-300-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-300-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-300-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-400-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-400-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-400-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-500-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-500-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-500-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-500-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-600-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-600-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-600-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-600-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-700-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-700-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-700-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-700-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-800-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-800-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-800-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-800-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-900-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-900-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-900-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-900-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-100-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-100-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-100-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-100-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-200-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-200-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-200-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-200-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-300-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-300-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-300-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-300-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-400-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-400-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-400-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-500-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-500-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-500-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-500-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-600-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-600-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-600-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-600-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-700-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-700-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-700-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-700-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-800-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-800-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-800-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-800-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-900-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-900-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-900-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-900-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-100-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-100-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-100-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-100-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-200-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-200-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-200-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-200-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-300-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-300-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-300-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-300-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-400-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-400-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-400-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-500-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-500-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-500-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-500-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-600-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-600-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-600-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-600-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-700-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-700-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-700-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-700-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-800-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-800-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-800-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-800-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-900-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-900-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-900-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-900-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-100-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-100-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-100-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-100-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-200-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-200-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-200-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-200-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-300-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-300-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-300-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-300-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-400-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-400-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-400-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-500-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-500-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-500-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-500-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-600-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-600-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-600-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-600-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-700-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-700-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-700-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-700-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-800-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-800-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-800-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-800-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-900-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-900-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-900-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-900-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-100-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-100-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-100-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-100-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-200-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-200-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-200-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-200-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-300-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-300-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-300-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-300-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-400-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-400-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-400-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-500-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-500-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-500-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-500-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-600-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-600-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-600-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-600-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-700-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-700-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-700-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-700-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-800-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-800-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-800-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-800-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-900-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-900-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-900-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-900-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-100-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-100-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-100-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-100-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-200-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-200-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-200-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-200-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-300-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-300-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-300-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-300-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-400-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-400-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-400-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-500-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-500-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-500-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-500-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-600-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-600-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-600-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-600-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-700-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-700-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-700-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-700-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-800-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-800-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-800-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-800-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-900-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-900-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-900-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-900-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-100-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-100-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-100-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-100-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-200-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-200-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-200-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-200-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-300-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-300-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-300-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-300-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-400-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-400-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-400-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-500-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-500-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-500-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-500-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-600-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-600-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-600-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-600-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-700-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-700-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-700-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-700-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-800-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-800-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-800-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-800-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-900-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-900-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-900-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-900-normal.woff2 +0 -0
- package/dist/ui-library/index.esm.js +1 -1
- package/dist/ui-library/index.esm.js.map +1 -1
- package/dist/ui-library/loader.esm.js.map +1 -0
- package/dist/ui-library/p-041c4b5d.entry.js +2 -0
- package/dist/ui-library/p-041c4b5d.entry.js.map +1 -0
- package/dist/ui-library/p-082f424a.entry.js +2 -0
- package/dist/ui-library/p-082f424a.entry.js.map +1 -0
- package/dist/ui-library/p-130ab00c.entry.js +2 -0
- package/dist/ui-library/p-130ab00c.entry.js.map +1 -0
- package/dist/ui-library/p-1590aa87.entry.js +2 -0
- package/dist/ui-library/p-1590aa87.entry.js.map +1 -0
- package/dist/ui-library/p-1b2be797.entry.js +2 -0
- package/dist/ui-library/p-1b2be797.entry.js.map +1 -0
- package/dist/ui-library/p-1ce4388f.entry.js +2 -0
- package/dist/ui-library/p-1ce4388f.entry.js.map +1 -0
- package/dist/ui-library/p-22fcb53c.entry.js +2 -0
- package/dist/ui-library/p-22fcb53c.entry.js.map +1 -0
- package/dist/ui-library/p-23c04b76.entry.js +2 -0
- package/dist/ui-library/p-23c04b76.entry.js.map +1 -0
- package/dist/ui-library/p-23eb4f90.entry.js +2 -0
- package/dist/ui-library/p-23eb4f90.entry.js.map +1 -0
- package/dist/ui-library/p-2b0da786.entry.js +2 -0
- package/dist/ui-library/p-2b0da786.entry.js.map +1 -0
- package/dist/ui-library/p-2c052f64.entry.js +2 -0
- package/dist/ui-library/p-2c052f64.entry.js.map +1 -0
- package/dist/ui-library/p-319a7e1f.entry.js +2 -0
- package/dist/ui-library/p-319a7e1f.entry.js.map +1 -0
- package/dist/ui-library/p-36682d81.entry.js +2 -0
- package/dist/ui-library/p-36682d81.entry.js.map +1 -0
- package/dist/ui-library/p-37ca5f73.entry.js +2 -0
- package/dist/ui-library/p-37ca5f73.entry.js.map +1 -0
- package/dist/ui-library/p-3c14d5b5.entry.js +2 -0
- package/dist/ui-library/p-3c14d5b5.entry.js.map +1 -0
- package/dist/ui-library/p-46050465.entry.js +2 -0
- package/dist/ui-library/p-46050465.entry.js.map +1 -0
- package/dist/ui-library/p-46144e5d.entry.js +2 -0
- package/dist/ui-library/p-46144e5d.entry.js.map +1 -0
- package/dist/ui-library/p-4b3c8d03.entry.js +2 -0
- package/dist/ui-library/p-4b3c8d03.entry.js.map +1 -0
- package/dist/ui-library/p-4b4f2b86.entry.js +2 -0
- package/dist/ui-library/p-4b4f2b86.entry.js.map +1 -0
- package/dist/ui-library/p-4cda1a6f.entry.js +2 -0
- package/dist/ui-library/p-4cda1a6f.entry.js.map +1 -0
- package/dist/ui-library/p-5003f61b.entry.js +2 -0
- package/dist/ui-library/p-5003f61b.entry.js.map +1 -0
- package/dist/ui-library/p-5105f6c2.entry.js +2 -0
- package/dist/ui-library/p-5105f6c2.entry.js.map +1 -0
- package/dist/ui-library/p-6033b456.entry.js +2 -0
- package/dist/ui-library/p-6033b456.entry.js.map +1 -0
- package/dist/ui-library/p-68012a13.entry.js +2 -0
- package/dist/ui-library/p-68012a13.entry.js.map +1 -0
- package/dist/ui-library/p-69dec35b.entry.js +2 -0
- package/dist/ui-library/p-69dec35b.entry.js.map +1 -0
- package/dist/ui-library/p-6bcec559.entry.js +2 -0
- package/dist/ui-library/p-6bcec559.entry.js.map +1 -0
- package/dist/ui-library/p-6d7acea2.entry.js +2 -0
- package/dist/ui-library/p-6d7acea2.entry.js.map +1 -0
- package/dist/ui-library/p-737a59fb.entry.js +2 -0
- package/dist/ui-library/p-737a59fb.entry.js.map +1 -0
- package/dist/ui-library/p-747e4864.entry.js +2 -0
- package/dist/ui-library/p-747e4864.entry.js.map +1 -0
- package/dist/ui-library/p-7890ad5a.entry.js +2 -0
- package/dist/ui-library/p-7890ad5a.entry.js.map +1 -0
- package/dist/ui-library/p-7c1c4067.entry.js +2 -0
- package/dist/ui-library/p-7c1c4067.entry.js.map +1 -0
- package/dist/ui-library/p-7d2b0a33.entry.js +2 -0
- package/dist/ui-library/p-7d2b0a33.entry.js.map +1 -0
- package/dist/ui-library/p-8aaff219.entry.js +2 -0
- package/dist/ui-library/p-8aaff219.entry.js.map +1 -0
- package/dist/ui-library/p-8d9b93fa.entry.js +2 -0
- package/dist/ui-library/p-8d9b93fa.entry.js.map +1 -0
- package/dist/ui-library/p-9c6887eb.entry.js +2 -0
- package/dist/ui-library/p-9c6887eb.entry.js.map +1 -0
- package/dist/ui-library/p-9ee2ecec.entry.js +2 -0
- package/dist/ui-library/p-9ee2ecec.entry.js.map +1 -0
- package/dist/ui-library/p-B1bClJZ6.js +2 -0
- package/dist/ui-library/p-B1bClJZ6.js.map +1 -0
- package/dist/ui-library/p-BF09Gr5y.js +3 -0
- package/dist/ui-library/p-BF09Gr5y.js.map +1 -0
- package/dist/ui-library/p-BY6hIEFX.js +2 -0
- package/dist/ui-library/p-BY6hIEFX.js.map +1 -0
- package/dist/ui-library/p-C4h4qpGl.js +2 -0
- package/dist/ui-library/p-C4h4qpGl.js.map +1 -0
- package/dist/ui-library/p-CKhg9ibv.js +2 -0
- package/dist/ui-library/p-CKhg9ibv.js.map +1 -0
- package/dist/ui-library/p-CfIoyvm-.js +2 -0
- package/dist/ui-library/p-CfIoyvm-.js.map +1 -0
- package/dist/ui-library/p-DQuL1Twl.js +2 -0
- package/dist/ui-library/p-DQuL1Twl.js.map +1 -0
- package/dist/ui-library/p-Dd6pdO8C.js +2 -0
- package/dist/ui-library/p-Dd6pdO8C.js.map +1 -0
- package/dist/ui-library/p-HZugF7pW.js +2 -0
- package/dist/ui-library/p-HZugF7pW.js.map +1 -0
- package/dist/ui-library/p-Vw_F19Fv.js +2 -0
- package/dist/ui-library/p-Vw_F19Fv.js.map +1 -0
- package/dist/ui-library/p-WA6V9mN8.js +2 -0
- package/dist/ui-library/p-WA6V9mN8.js.map +1 -0
- package/dist/ui-library/p-a8395142.entry.js +2 -0
- package/dist/ui-library/p-a8395142.entry.js.map +1 -0
- package/dist/ui-library/p-a8f371a3.entry.js +2 -0
- package/dist/ui-library/p-a8f371a3.entry.js.map +1 -0
- package/dist/ui-library/p-aaaff676.entry.js +2 -0
- package/dist/ui-library/p-aaaff676.entry.js.map +1 -0
- package/dist/ui-library/p-af364c42.entry.js +2 -0
- package/dist/ui-library/p-af364c42.entry.js.map +1 -0
- package/dist/ui-library/p-b472dffc.entry.js +2 -0
- package/dist/ui-library/p-b472dffc.entry.js.map +1 -0
- package/dist/ui-library/p-b9d27457.entry.js +2 -0
- package/dist/ui-library/p-b9d27457.entry.js.map +1 -0
- package/dist/ui-library/p-bf10bd79.entry.js +2 -0
- package/dist/ui-library/p-bf10bd79.entry.js.map +1 -0
- package/dist/ui-library/p-c68ca94f.entry.js +2 -0
- package/dist/ui-library/p-c68ca94f.entry.js.map +1 -0
- package/dist/ui-library/p-c88adbc6.entry.js +2 -0
- package/dist/ui-library/p-c88adbc6.entry.js.map +1 -0
- package/dist/ui-library/p-cf91fce4.entry.js +2 -0
- package/dist/ui-library/p-cf91fce4.entry.js.map +1 -0
- package/dist/ui-library/p-d009ae0d.entry.js +2 -0
- package/dist/ui-library/p-d009ae0d.entry.js.map +1 -0
- package/dist/ui-library/p-d2268924.entry.js +2 -0
- package/dist/ui-library/p-d2268924.entry.js.map +1 -0
- package/dist/ui-library/p-d5c27f1e.entry.js +2 -0
- package/dist/ui-library/p-d5c27f1e.entry.js.map +1 -0
- package/dist/ui-library/p-d6c71516.entry.js +2 -0
- package/dist/ui-library/p-d6c71516.entry.js.map +1 -0
- package/dist/ui-library/p-dabbeaa9.entry.js +2 -0
- package/dist/ui-library/p-dabbeaa9.entry.js.map +1 -0
- package/dist/ui-library/p-ef1969da.entry.js +2 -0
- package/dist/ui-library/p-ef1969da.entry.js.map +1 -0
- package/dist/ui-library/p-f1c98056.entry.js +2 -0
- package/dist/ui-library/p-f1c98056.entry.js.map +1 -0
- package/dist/ui-library/p-f2a91312.entry.js +2 -0
- package/dist/ui-library/p-f2a91312.entry.js.map +1 -0
- package/dist/ui-library/p-j3oIB5oT.js +2 -0
- package/dist/ui-library/p-j3oIB5oT.js.map +1 -0
- package/dist/ui-library/p-kHci8ddv.js +2 -0
- package/dist/ui-library/p-kHci8ddv.js.map +1 -0
- package/dist/ui-library/p-tWZJdnMN.js +2 -0
- package/dist/ui-library/p-tWZJdnMN.js.map +1 -0
- package/dist/ui-library/six-alert.entry.esm.js.map +1 -0
- package/dist/ui-library/six-avatar.entry.esm.js.map +1 -0
- package/dist/ui-library/six-badge.entry.esm.js.map +1 -0
- package/dist/ui-library/six-button.entry.esm.js.map +1 -0
- package/dist/ui-library/six-card.entry.esm.js.map +1 -0
- package/dist/ui-library/six-checkbox.six-menu-item.entry.esm.js.map +1 -0
- package/dist/ui-library/six-datepicker.entry.esm.js.map +1 -0
- package/dist/ui-library/six-details.entry.esm.js.map +1 -0
- package/dist/ui-library/six-dialog.entry.esm.js.map +1 -0
- package/dist/ui-library/six-drawer.entry.esm.js.map +1 -0
- package/dist/ui-library/six-dropdown.six-menu.entry.esm.js.map +1 -0
- package/dist/ui-library/six-error-page.entry.esm.js.map +1 -0
- package/dist/ui-library/six-error.entry.esm.js.map +1 -0
- package/dist/ui-library/six-file-list-item.entry.esm.js.map +1 -0
- package/dist/ui-library/six-file-list.entry.esm.js.map +1 -0
- package/dist/ui-library/six-file-upload.entry.esm.js.map +1 -0
- package/dist/ui-library/six-footer.entry.esm.js.map +1 -0
- package/dist/ui-library/six-group-label.entry.esm.js.map +1 -0
- package/dist/ui-library/six-header-dropdown-item.entry.esm.js.map +1 -0
- package/dist/ui-library/six-header-item.entry.esm.js.map +1 -0
- package/dist/ui-library/six-header-menu-button.entry.esm.js.map +1 -0
- package/dist/ui-library/six-header.entry.esm.js.map +1 -0
- package/dist/ui-library/six-icon-button.entry.esm.js.map +1 -0
- package/dist/ui-library/six-icon.entry.esm.js.map +1 -0
- package/dist/ui-library/six-input.entry.esm.js.map +1 -0
- package/dist/ui-library/six-item-picker.entry.esm.js.map +1 -0
- package/dist/ui-library/six-language-switcher.entry.esm.js.map +1 -0
- package/dist/ui-library/six-layout-grid.entry.esm.js.map +1 -0
- package/dist/ui-library/six-logo.entry.esm.js.map +1 -0
- package/dist/ui-library/six-main-container.entry.esm.js.map +1 -0
- package/dist/ui-library/six-menu-divider.entry.esm.js.map +1 -0
- package/dist/ui-library/six-menu-label.entry.esm.js.map +1 -0
- package/dist/ui-library/six-picto.entry.esm.js.map +1 -0
- package/dist/ui-library/six-progress-bar.entry.esm.js.map +1 -0
- package/dist/ui-library/six-progress-ring.entry.esm.js.map +1 -0
- package/dist/ui-library/six-radio.entry.esm.js.map +1 -0
- package/dist/ui-library/six-range.entry.esm.js.map +1 -0
- package/dist/ui-library/six-root.entry.esm.js.map +1 -0
- package/dist/ui-library/six-search-field.entry.esm.js.map +1 -0
- package/dist/ui-library/six-select.entry.esm.js.map +1 -0
- package/dist/ui-library/six-sidebar-item-group.entry.esm.js.map +1 -0
- package/dist/ui-library/six-sidebar-item.entry.esm.js.map +1 -0
- package/dist/ui-library/six-sidebar.entry.esm.js.map +1 -0
- package/dist/ui-library/six-spinner.entry.esm.js.map +1 -0
- package/dist/ui-library/six-stage-indicator.entry.esm.js.map +1 -0
- package/dist/ui-library/six-switch.entry.esm.js.map +1 -0
- package/dist/ui-library/six-tab-group.entry.esm.js.map +1 -0
- package/dist/ui-library/six-tab-panel.entry.esm.js.map +1 -0
- package/dist/ui-library/six-tab.entry.esm.js.map +1 -0
- package/dist/ui-library/six-tag.entry.esm.js.map +1 -0
- package/dist/ui-library/six-textarea.entry.esm.js.map +1 -0
- package/dist/ui-library/six-tile.entry.esm.js.map +1 -0
- package/dist/ui-library/six-timepicker.entry.esm.js.map +1 -0
- package/dist/ui-library/six-tooltip.entry.esm.js.map +1 -0
- package/dist/ui-library/ui-library.css +1 -1
- package/dist/ui-library/ui-library.esm.js +1 -1
- package/dist/ui-library/ui-library.esm.js.map +1 -1
- package/loader/cdn.js +1 -3
- package/loader/index.cjs.js +1 -3
- package/loader/index.d.ts +3 -0
- package/loader/index.es2017.js +1 -3
- package/loader/index.js +1 -3
- package/package.json +13 -24
- package/dist/cjs/error-messages-6e8049a4.js +0 -119
- package/dist/cjs/error-messages-6e8049a4.js.map +0 -1
- package/dist/cjs/event-listeners-9fb878f1.js +0 -61
- package/dist/cjs/event-listeners-9fb878f1.js.map +0 -1
- package/dist/cjs/execution-control-d728da70.js +0 -48
- package/dist/cjs/execution-control-d728da70.js.map +0 -1
- package/dist/cjs/focus-visible-e2c9255a.js +0 -47
- package/dist/cjs/focus-visible-e2c9255a.js.map +0 -1
- package/dist/cjs/form-9ebaae7c.js +0 -20
- package/dist/cjs/form-9ebaae7c.js.map +0 -1
- package/dist/cjs/form-control-8d64e974.js +0 -36
- package/dist/cjs/form-control-8d64e974.js.map +0 -1
- package/dist/cjs/index-d7748d51.js +0 -2230
- package/dist/cjs/index-d7748d51.js.map +0 -1
- package/dist/cjs/modal-3ce015be.js +0 -52
- package/dist/cjs/modal-3ce015be.js.map +0 -1
- package/dist/cjs/popover-1e7c09f1.js +0 -1907
- package/dist/cjs/popover-1e7c09f1.js.map +0 -1
- package/dist/cjs/popup-e854acda.js +0 -103
- package/dist/cjs/popup-e854acda.js.map +0 -1
- package/dist/cjs/scroll-68033901.js +0 -68
- package/dist/cjs/scroll-68033901.js.map +0 -1
- package/dist/cjs/slot-1b1232a1.js +0 -51
- package/dist/cjs/slot-1b1232a1.js.map +0 -1
- package/dist/cjs/types-d3da200b.js +0 -19
- package/dist/cjs/types-d3da200b.js.map +0 -1
- package/dist/collection/components/six-alert/test/six-alert.spec.js +0 -25
- package/dist/collection/components/six-alert/test/six-alert.spec.js.map +0 -1
- package/dist/collection/components/six-avatar/test/six-avatar.spec.js +0 -26
- package/dist/collection/components/six-avatar/test/six-avatar.spec.js.map +0 -1
- package/dist/collection/components/six-badge/test/six-badge.spec.js +0 -20
- package/dist/collection/components/six-badge/test/six-badge.spec.js.map +0 -1
- package/dist/collection/components/six-button/test/six-button.spec.js +0 -69
- package/dist/collection/components/six-button/test/six-button.spec.js.map +0 -1
- package/dist/collection/components/six-card/test/six-card.spec.js +0 -18
- package/dist/collection/components/six-card/test/six-card.spec.js.map +0 -1
- package/dist/collection/components/six-checkbox/test/six-checkbox.spec.js +0 -83
- package/dist/collection/components/six-checkbox/test/six-checkbox.spec.js.map +0 -1
- package/dist/collection/components/six-datepicker/test/six-datepicker.spec.js +0 -26
- package/dist/collection/components/six-datepicker/test/six-datepicker.spec.js.map +0 -1
- package/dist/collection/components/six-details/test/six-details.spec.js +0 -36
- package/dist/collection/components/six-details/test/six-details.spec.js.map +0 -1
- package/dist/collection/components/six-dialog/test/six-dialog.spec.js +0 -34
- package/dist/collection/components/six-dialog/test/six-dialog.spec.js.map +0 -1
- package/dist/collection/components/six-drawer/test/six-drawer.spec.js +0 -34
- package/dist/collection/components/six-drawer/test/six-drawer.spec.js.map +0 -1
- package/dist/collection/components/six-dropdown/test/six-dropdown.spec.js +0 -147
- package/dist/collection/components/six-dropdown/test/six-dropdown.spec.js.map +0 -1
- package/dist/collection/components/six-error-page/test/six-error-page.spec.js +0 -240
- package/dist/collection/components/six-error-page/test/six-error-page.spec.js.map +0 -1
- package/dist/collection/components/six-file-list/test/six-file-list.spec.js +0 -67
- package/dist/collection/components/six-file-list/test/six-file-list.spec.js.map +0 -1
- package/dist/collection/components/six-file-list-item/test/six-file-list-item.spec.js +0 -169
- package/dist/collection/components/six-file-list-item/test/six-file-list-item.spec.js.map +0 -1
- package/dist/collection/components/six-file-upload/test/six-file-upload.spec.js +0 -103
- package/dist/collection/components/six-file-upload/test/six-file-upload.spec.js.map +0 -1
- package/dist/collection/components/six-footer/test/six-footer.spec.js +0 -21
- package/dist/collection/components/six-footer/test/six-footer.spec.js.map +0 -1
- package/dist/collection/components/six-group-label/test/six-group-label.spec.js +0 -45
- package/dist/collection/components/six-group-label/test/six-group-label.spec.js.map +0 -1
- package/dist/collection/components/six-header/assets/six-logo.svg +0 -1
- package/dist/collection/components/six-header/test/six-header.spec.js +0 -177
- package/dist/collection/components/six-header/test/six-header.spec.js.map +0 -1
- package/dist/collection/components/six-icon/test/six-icon.spec.js +0 -20
- package/dist/collection/components/six-icon/test/six-icon.spec.js.map +0 -1
- package/dist/collection/components/six-icon-button/test/six-icon-button.spec.js +0 -23
- package/dist/collection/components/six-icon-button/test/six-icon-button.spec.js.map +0 -1
- package/dist/collection/components/six-input/test/six-input.spec.js +0 -39
- package/dist/collection/components/six-input/test/six-input.spec.js.map +0 -1
- package/dist/collection/components/six-item-picker/test/six-item-picker.spec.js +0 -90
- package/dist/collection/components/six-item-picker/test/six-item-picker.spec.js.map +0 -1
- package/dist/collection/components/six-language-switcher/test/six-language-switcher.spec.js +0 -196
- package/dist/collection/components/six-language-switcher/test/six-language-switcher.spec.js.map +0 -1
- package/dist/collection/components/six-layout-grid/test/six-layout-grid.spec.js +0 -18
- package/dist/collection/components/six-layout-grid/test/six-layout-grid.spec.js.map +0 -1
- package/dist/collection/components/six-main-container/test/six-main-container.spec.js +0 -22
- package/dist/collection/components/six-main-container/test/six-main-container.spec.js.map +0 -1
- package/dist/collection/components/six-menu/test/six-menu.spec.js +0 -93
- package/dist/collection/components/six-menu/test/six-menu.spec.js.map +0 -1
- package/dist/collection/components/six-menu-divider/test/six-menu-divider.spec.js +0 -18
- package/dist/collection/components/six-menu-divider/test/six-menu-divider.spec.js.map +0 -1
- package/dist/collection/components/six-menu-item/test/six-menu-item.spec.js +0 -33
- package/dist/collection/components/six-menu-item/test/six-menu-item.spec.js.map +0 -1
- package/dist/collection/components/six-menu-label/test/six-menu-label.spec.js +0 -20
- package/dist/collection/components/six-menu-label/test/six-menu-label.spec.js.map +0 -1
- package/dist/collection/components/six-picto/test/six-picto.spec.js +0 -33
- package/dist/collection/components/six-picto/test/six-picto.spec.js.map +0 -1
- package/dist/collection/components/six-progress-bar/test/six-progress-bar.spec.js +0 -24
- package/dist/collection/components/six-progress-bar/test/six-progress-bar.spec.js.map +0 -1
- package/dist/collection/components/six-progress-ring/test/six-progress-ring.spec.js +0 -26
- package/dist/collection/components/six-progress-ring/test/six-progress-ring.spec.js.map +0 -1
- package/dist/collection/components/six-radio/test/six-radio.spec.js +0 -63
- package/dist/collection/components/six-radio/test/six-radio.spec.js.map +0 -1
- package/dist/collection/components/six-range/test/six-range.spec.js +0 -34
- package/dist/collection/components/six-range/test/six-range.spec.js.map +0 -1
- package/dist/collection/components/six-root/test/six-root.spec.js +0 -36
- package/dist/collection/components/six-root/test/six-root.spec.js.map +0 -1
- package/dist/collection/components/six-search-field/test/six-search-field.spec.js +0 -22
- package/dist/collection/components/six-search-field/test/six-search-field.spec.js.map +0 -1
- package/dist/collection/components/six-select/test/six-select.spec.js +0 -102
- package/dist/collection/components/six-select/test/six-select.spec.js.map +0 -1
- package/dist/collection/components/six-select/test/util.spec.js +0 -81
- package/dist/collection/components/six-select/test/util.spec.js.map +0 -1
- package/dist/collection/components/six-sidebar/test/six-sidebar.spec.js +0 -22
- package/dist/collection/components/six-sidebar/test/six-sidebar.spec.js.map +0 -1
- package/dist/collection/components/six-sidebar-item/test/six-sidebar-item.spec.js +0 -50
- package/dist/collection/components/six-sidebar-item/test/six-sidebar-item.spec.js.map +0 -1
- package/dist/collection/components/six-sidebar-item-group/test/six-sidebar-item-group.spec.js +0 -53
- package/dist/collection/components/six-sidebar-item-group/test/six-sidebar-item-group.spec.js.map +0 -1
- package/dist/collection/components/six-spinner/test/six-spinner.spec.js +0 -37
- package/dist/collection/components/six-spinner/test/six-spinner.spec.js.map +0 -1
- package/dist/collection/components/six-stage-indicator/test/six-stage-indicator.spec.js +0 -117
- package/dist/collection/components/six-stage-indicator/test/six-stage-indicator.spec.js.map +0 -1
- package/dist/collection/components/six-switch/test/six-switch.spec.js +0 -73
- package/dist/collection/components/six-switch/test/six-switch.spec.js.map +0 -1
- package/dist/collection/components/six-tab-panel/test/six-tab-panel.spec.js +0 -20
- package/dist/collection/components/six-tab-panel/test/six-tab-panel.spec.js.map +0 -1
- package/dist/collection/components/six-tag/test/six-tag.spec.js +0 -54
- package/dist/collection/components/six-tag/test/six-tag.spec.js.map +0 -1
- package/dist/collection/components/six-textarea/test/six-textarea.spec.js +0 -119
- package/dist/collection/components/six-textarea/test/six-textarea.spec.js.map +0 -1
- package/dist/collection/components/six-tile/test/six-tile.spec.js +0 -69
- package/dist/collection/components/six-tile/test/six-tile.spec.js.map +0 -1
- package/dist/collection/components/six-timepicker/test/six-timepicker.spec.js +0 -496
- package/dist/collection/components/six-timepicker/test/six-timepicker.spec.js.map +0 -1
- package/dist/collection/components/six-tooltip/test/six-tooltip.spec.js +0 -28
- package/dist/collection/components/six-tooltip/test/six-tooltip.spec.js.map +0 -1
- package/dist/collection/files/file-list.json +0 -308
- package/dist/collection/files/noto-sans-all-100-italic.woff +0 -0
- package/dist/collection/files/noto-sans-all-100-normal.woff +0 -0
- package/dist/collection/files/noto-sans-all-200-italic.woff +0 -0
- package/dist/collection/files/noto-sans-all-200-normal.woff +0 -0
- package/dist/collection/files/noto-sans-all-300-italic.woff +0 -0
- package/dist/collection/files/noto-sans-all-300-normal.woff +0 -0
- package/dist/collection/files/noto-sans-all-400-italic.woff +0 -0
- package/dist/collection/files/noto-sans-all-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-all-500-italic.woff +0 -0
- package/dist/collection/files/noto-sans-all-500-normal.woff +0 -0
- package/dist/collection/files/noto-sans-all-600-italic.woff +0 -0
- package/dist/collection/files/noto-sans-all-600-normal.woff +0 -0
- package/dist/collection/files/noto-sans-all-700-italic.woff +0 -0
- package/dist/collection/files/noto-sans-all-700-normal.woff +0 -0
- package/dist/collection/files/noto-sans-all-800-italic.woff +0 -0
- package/dist/collection/files/noto-sans-all-800-normal.woff +0 -0
- package/dist/collection/files/noto-sans-all-900-italic.woff +0 -0
- package/dist/collection/files/noto-sans-all-900-normal.woff +0 -0
- package/dist/collection/material-icons-round.woff +0 -0
- package/dist/collection/material-icons-round.woff2 +0 -0
- package/dist/collection/material-icons-sharp.woff +0 -0
- package/dist/collection/material-icons-sharp.woff2 +0 -0
- package/dist/collection/material-icons-two-tone.woff +0 -0
- package/dist/collection/material-icons-two-tone.woff2 +0 -0
- package/dist/collection/material-icons.css +0 -124
- package/dist/collection/material-icons.scss +0 -5
- package/dist/collection/material-icons.woff +0 -0
- package/dist/collection/utils/date-util.spec.js +0 -995
- package/dist/collection/utils/date-util.spec.js.map +0 -1
- package/dist/collection/utils/scroll.spec.js +0 -122
- package/dist/collection/utils/scroll.spec.js.map +0 -1
- package/dist/collection/utils/support.js +0 -16
- package/dist/collection/utils/support.js.map +0 -1
- package/dist/collection/utils/time.util.spec.js +0 -368
- package/dist/collection/utils/time.util.spec.js.map +0 -1
- package/dist/components/event-listeners.js +0 -59
- package/dist/components/event-listeners.js.map +0 -1
- package/dist/components/execution-control.js +0 -43
- package/dist/components/execution-control.js.map +0 -1
- package/dist/components/focus-visible.js +0 -45
- package/dist/components/focus-visible.js.map +0 -1
- package/dist/components/form-control.js +0 -34
- package/dist/components/form-control.js.map +0 -1
- package/dist/components/form.js +0 -18
- package/dist/components/form.js.map +0 -1
- package/dist/components/modal.js +0 -49
- package/dist/components/modal.js.map +0 -1
- package/dist/components/popover.js +0 -1905
- package/dist/components/popover.js.map +0 -1
- package/dist/components/scroll.js +0 -64
- package/dist/components/scroll.js.map +0 -1
- package/dist/components/six-button2.js +0 -146
- package/dist/components/six-button2.js.map +0 -1
- package/dist/components/six-checkbox2.js +0 -165
- package/dist/components/six-checkbox2.js.map +0 -1
- package/dist/components/six-details2.js +0 -179
- package/dist/components/six-details2.js.map +0 -1
- package/dist/components/six-dropdown2.js +0 -600
- package/dist/components/six-dropdown2.js.map +0 -1
- package/dist/components/six-error2.js +0 -32
- package/dist/components/six-error2.js.map +0 -1
- package/dist/components/six-icon-button2.js +0 -70
- package/dist/components/six-icon-button2.js.map +0 -1
- package/dist/components/six-icon2.js +0 -49
- package/dist/components/six-icon2.js.map +0 -1
- package/dist/components/six-input2.js +0 -280
- package/dist/components/six-input2.js.map +0 -1
- package/dist/components/six-item-picker2.js +0 -487
- package/dist/components/six-item-picker2.js.map +0 -1
- package/dist/components/six-menu-item2.js +0 -111
- package/dist/components/six-menu-item2.js.map +0 -1
- package/dist/components/six-menu2.js +0 -275
- package/dist/components/six-menu2.js.map +0 -1
- package/dist/components/six-picto2.js +0 -41
- package/dist/components/six-picto2.js.map +0 -1
- package/dist/components/six-spinner2.js +0 -41
- package/dist/components/six-spinner2.js.map +0 -1
- package/dist/components/six-stage-indicator2.js +0 -41
- package/dist/components/six-stage-indicator2.js.map +0 -1
- package/dist/components/six-timepicker2.js +0 -552
- package/dist/components/six-timepicker2.js.map +0 -1
- package/dist/components/six-tooltip2.js +0 -193
- package/dist/components/six-tooltip2.js.map +0 -1
- package/dist/components/slot.js +0 -47
- package/dist/components/slot.js.map +0 -1
- package/dist/esm/error-messages-1eaaad23.js +0 -115
- package/dist/esm/error-messages-1eaaad23.js.map +0 -1
- package/dist/esm/event-listeners-706d4309.js +0 -59
- package/dist/esm/event-listeners-706d4309.js.map +0 -1
- package/dist/esm/execution-control-2ebaf4ef.js +0 -43
- package/dist/esm/execution-control-2ebaf4ef.js.map +0 -1
- package/dist/esm/focus-visible-d9dbfeef.js +0 -45
- package/dist/esm/focus-visible-d9dbfeef.js.map +0 -1
- package/dist/esm/form-4b145b7a.js +0 -18
- package/dist/esm/form-4b145b7a.js.map +0 -1
- package/dist/esm/form-control-d403a9cf.js +0 -34
- package/dist/esm/form-control-d403a9cf.js.map +0 -1
- package/dist/esm/index-79d4ef67.js +0 -2201
- package/dist/esm/index-79d4ef67.js.map +0 -1
- package/dist/esm/modal-96526245.js +0 -49
- package/dist/esm/modal-96526245.js.map +0 -1
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/popover-25996e62.js +0 -1905
- package/dist/esm/popover-25996e62.js.map +0 -1
- package/dist/esm/popup-7209e9d5.js +0 -98
- package/dist/esm/popup-7209e9d5.js.map +0 -1
- package/dist/esm/scroll-3e16851e.js +0 -64
- package/dist/esm/scroll-3e16851e.js.map +0 -1
- package/dist/esm/slot-56531341.js +0 -47
- package/dist/esm/slot-56531341.js.map +0 -1
- package/dist/esm/types-a07bb999.js +0 -19
- package/dist/esm/types-a07bb999.js.map +0 -1
- package/dist/types/utils/support.d.ts +0 -1
- package/dist/ui-library/assets/six-logo.svg +0 -1
- package/dist/ui-library/files/file-list.json +0 -308
- package/dist/ui-library/files/noto-sans-all-100-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-100-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-200-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-200-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-300-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-300-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-400-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-500-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-500-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-600-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-600-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-700-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-700-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-800-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-800-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-900-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-900-normal.woff +0 -0
- package/dist/ui-library/material-icons-round.woff +0 -0
- package/dist/ui-library/material-icons-round.woff2 +0 -0
- package/dist/ui-library/material-icons-sharp.woff +0 -0
- package/dist/ui-library/material-icons-sharp.woff2 +0 -0
- package/dist/ui-library/material-icons-two-tone.woff +0 -0
- package/dist/ui-library/material-icons-two-tone.woff2 +0 -0
- package/dist/ui-library/material-icons.css +0 -124
- package/dist/ui-library/material-icons.scss +0 -5
- package/dist/ui-library/material-icons.woff +0 -0
- package/dist/ui-library/p-0440335d.entry.js +0 -2
- package/dist/ui-library/p-0440335d.entry.js.map +0 -1
- package/dist/ui-library/p-04cc397c.entry.js +0 -2
- package/dist/ui-library/p-04cc397c.entry.js.map +0 -1
- package/dist/ui-library/p-06ba4450.js +0 -2
- package/dist/ui-library/p-06ba4450.js.map +0 -1
- package/dist/ui-library/p-0cebf1d2.js +0 -2
- package/dist/ui-library/p-0cebf1d2.js.map +0 -1
- package/dist/ui-library/p-0edd3091.entry.js +0 -2
- package/dist/ui-library/p-0edd3091.entry.js.map +0 -1
- package/dist/ui-library/p-150b7664.entry.js +0 -2
- package/dist/ui-library/p-150b7664.entry.js.map +0 -1
- package/dist/ui-library/p-1f5840b5.entry.js +0 -2
- package/dist/ui-library/p-1f5840b5.entry.js.map +0 -1
- package/dist/ui-library/p-28cc013e.entry.js +0 -2
- package/dist/ui-library/p-28cc013e.entry.js.map +0 -1
- package/dist/ui-library/p-3424bbc0.entry.js +0 -2
- package/dist/ui-library/p-3424bbc0.entry.js.map +0 -1
- package/dist/ui-library/p-348c68a8.entry.js +0 -2
- package/dist/ui-library/p-348c68a8.entry.js.map +0 -1
- package/dist/ui-library/p-3723ca06.entry.js +0 -2
- package/dist/ui-library/p-3723ca06.entry.js.map +0 -1
- package/dist/ui-library/p-37aeac5e.entry.js +0 -2
- package/dist/ui-library/p-37aeac5e.entry.js.map +0 -1
- package/dist/ui-library/p-3d7fb086.entry.js +0 -2
- package/dist/ui-library/p-3d7fb086.entry.js.map +0 -1
- package/dist/ui-library/p-457f7373.entry.js +0 -2
- package/dist/ui-library/p-457f7373.entry.js.map +0 -1
- package/dist/ui-library/p-4a667f31.entry.js +0 -2
- package/dist/ui-library/p-4a667f31.entry.js.map +0 -1
- package/dist/ui-library/p-50dae789.entry.js +0 -2
- package/dist/ui-library/p-50dae789.entry.js.map +0 -1
- package/dist/ui-library/p-546e33d9.entry.js +0 -2
- package/dist/ui-library/p-546e33d9.entry.js.map +0 -1
- package/dist/ui-library/p-5db3a705.entry.js +0 -2
- package/dist/ui-library/p-5db3a705.entry.js.map +0 -1
- package/dist/ui-library/p-61e66671.js +0 -2
- package/dist/ui-library/p-61e66671.js.map +0 -1
- package/dist/ui-library/p-6296779b.entry.js +0 -2
- package/dist/ui-library/p-6296779b.entry.js.map +0 -1
- package/dist/ui-library/p-64b4755d.entry.js +0 -2
- package/dist/ui-library/p-64b4755d.entry.js.map +0 -1
- package/dist/ui-library/p-6c1b046e.entry.js +0 -2
- package/dist/ui-library/p-6c1b046e.entry.js.map +0 -1
- package/dist/ui-library/p-7115316e.entry.js +0 -2
- package/dist/ui-library/p-7115316e.entry.js.map +0 -1
- package/dist/ui-library/p-73dd493f.entry.js +0 -2
- package/dist/ui-library/p-73dd493f.entry.js.map +0 -1
- package/dist/ui-library/p-7f856f00.js +0 -2
- package/dist/ui-library/p-7f856f00.js.map +0 -1
- package/dist/ui-library/p-8227aaed.js +0 -2
- package/dist/ui-library/p-8227aaed.js.map +0 -1
- package/dist/ui-library/p-842b492e.js +0 -2
- package/dist/ui-library/p-842b492e.js.map +0 -1
- package/dist/ui-library/p-862d474e.js +0 -2
- package/dist/ui-library/p-862d474e.js.map +0 -1
- package/dist/ui-library/p-870b988d.entry.js +0 -2
- package/dist/ui-library/p-870b988d.entry.js.map +0 -1
- package/dist/ui-library/p-884c5cf9.entry.js +0 -2
- package/dist/ui-library/p-884c5cf9.entry.js.map +0 -1
- package/dist/ui-library/p-8888a367.entry.js +0 -2
- package/dist/ui-library/p-8888a367.entry.js.map +0 -1
- package/dist/ui-library/p-8bfb4bfc.js +0 -2
- package/dist/ui-library/p-8bfb4bfc.js.map +0 -1
- package/dist/ui-library/p-8ced18d8.entry.js +0 -2
- package/dist/ui-library/p-8ced18d8.entry.js.map +0 -1
- package/dist/ui-library/p-935c78a7.entry.js +0 -2
- package/dist/ui-library/p-935c78a7.entry.js.map +0 -1
- package/dist/ui-library/p-961bd001.entry.js +0 -2
- package/dist/ui-library/p-961bd001.entry.js.map +0 -1
- package/dist/ui-library/p-998de05d.js +0 -2
- package/dist/ui-library/p-998de05d.js.map +0 -1
- package/dist/ui-library/p-9b08068d.entry.js +0 -2
- package/dist/ui-library/p-9b08068d.entry.js.map +0 -1
- package/dist/ui-library/p-9c79341d.entry.js +0 -2
- package/dist/ui-library/p-9c79341d.entry.js.map +0 -1
- package/dist/ui-library/p-a1502802.js +0 -2
- package/dist/ui-library/p-a1502802.js.map +0 -1
- package/dist/ui-library/p-a9c159f2.entry.js +0 -2
- package/dist/ui-library/p-a9c159f2.entry.js.map +0 -1
- package/dist/ui-library/p-ac57ba5c.entry.js +0 -2
- package/dist/ui-library/p-ac57ba5c.entry.js.map +0 -1
- package/dist/ui-library/p-af15381b.js +0 -3
- package/dist/ui-library/p-af15381b.js.map +0 -1
- package/dist/ui-library/p-b1a5f3cd.entry.js +0 -2
- package/dist/ui-library/p-b1a5f3cd.entry.js.map +0 -1
- package/dist/ui-library/p-b385a241.entry.js +0 -2
- package/dist/ui-library/p-b385a241.entry.js.map +0 -1
- package/dist/ui-library/p-b74c5d6b.entry.js +0 -2
- package/dist/ui-library/p-b74c5d6b.entry.js.map +0 -1
- package/dist/ui-library/p-bf2fb53f.entry.js +0 -2
- package/dist/ui-library/p-bf2fb53f.entry.js.map +0 -1
- package/dist/ui-library/p-c2c7370b.entry.js +0 -2
- package/dist/ui-library/p-c2c7370b.entry.js.map +0 -1
- package/dist/ui-library/p-caea1eb6.entry.js +0 -2
- package/dist/ui-library/p-caea1eb6.entry.js.map +0 -1
- package/dist/ui-library/p-d3f5b9a8.entry.js +0 -2
- package/dist/ui-library/p-d3f5b9a8.entry.js.map +0 -1
- package/dist/ui-library/p-d42b18eb.entry.js +0 -2
- package/dist/ui-library/p-d42b18eb.entry.js.map +0 -1
- package/dist/ui-library/p-d95e292e.entry.js +0 -2
- package/dist/ui-library/p-d95e292e.entry.js.map +0 -1
- package/dist/ui-library/p-da7f3dbd.entry.js +0 -2
- package/dist/ui-library/p-da7f3dbd.entry.js.map +0 -1
- package/dist/ui-library/p-dfb89b6a.entry.js +0 -2
- package/dist/ui-library/p-dfb89b6a.entry.js.map +0 -1
- package/dist/ui-library/p-e080d5b6.js +0 -2
- package/dist/ui-library/p-e080d5b6.js.map +0 -1
- package/dist/ui-library/p-e6032375.entry.js +0 -2
- package/dist/ui-library/p-e6032375.entry.js.map +0 -1
- package/dist/ui-library/p-e60d2324.entry.js +0 -2
- package/dist/ui-library/p-e60d2324.entry.js.map +0 -1
- package/dist/ui-library/p-e8298c6e.entry.js +0 -2
- package/dist/ui-library/p-e8298c6e.entry.js.map +0 -1
- package/dist/ui-library/p-ed279165.entry.js +0 -2
- package/dist/ui-library/p-ed279165.entry.js.map +0 -1
- package/dist/ui-library/p-ed61b75c.entry.js +0 -2
- package/dist/ui-library/p-ed61b75c.entry.js.map +0 -1
- package/dist/ui-library/p-f136a6b2.js +0 -2
- package/dist/ui-library/p-f136a6b2.js.map +0 -1
- package/dist/ui-library/p-f1ab3384.entry.js +0 -2
- package/dist/ui-library/p-f1ab3384.entry.js.map +0 -1
- package/dist/ui-library/p-f4ef481c.entry.js +0 -2
- package/dist/ui-library/p-f4ef481c.entry.js.map +0 -1
- package/dist/ui-library/p-f8cbb8da.entry.js +0 -2
- package/dist/ui-library/p-f8cbb8da.entry.js.map +0 -1
- package/loader/package.json +0 -11
- /package/dist/collection/{material-icons.woff2 → files/material-icons-latin-400-normal.woff2} +0 -0
- /package/dist/collection/{material-icons-outlined.woff → files/material-icons-outlined-latin-400-normal.woff} +0 -0
- /package/dist/collection/{material-icons-outlined.woff2 → files/material-icons-outlined-latin-400-normal.woff2} +0 -0
- /package/dist/ui-library/{material-icons.woff2 → files/material-icons-latin-400-normal.woff2} +0 -0
- /package/dist/ui-library/{material-icons-outlined.woff → files/material-icons-outlined-latin-400-normal.woff} +0 -0
- /package/dist/ui-library/{material-icons-outlined.woff2 → files/material-icons-outlined-latin-400-normal.woff2} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"six-switch.entry.cjs.js","mappings":";;;;;;;;;AAAA,MAAM,YAAY,GAAG,6mJAA6mJ;;ACMloJ,IAAI,EAAE,GAAG,CAAC,CAAC;MAsBE,SAAS;;;;;;QACZ,aAAQ,GAAG,UAAU,EAAE,EAAE,EAAE,CAAC;QAC5B,YAAO,GAAG,gBAAgB,EAAE,EAAE,CAAC;QAC/B,gBAAW,GAAG,oBAAoB,EAAE,EAAE,CAAC;QAGvC,mBAAc,GAAG,IAAIA,6BAAc,EAAE,CAAC;QAyEtC,qBAAgB,GAAG;YACzB,IAAI,CAAC,gBAAgB,GAAGC,YAAO,CAAC,IAAI,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;SAC1D,CAAC;QAcM,gBAAW,GAAG;YACpB,IAAI,IAAI,CAAC,YAAY,IAAI,IAAI,EAAE;gBAC7B,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC;gBACzC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;aACnC;SACF,CAAC;QAEM,eAAU,GAAG;YACnB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EventListeners","hasSlot","h","FormControl"],"sources":["src/components/six-switch/six-switch.scss?tag=six-switch&encapsulation=shadow","src/components/six-switch/six-switch.tsx"],"sourcesContent":["@import 'src/global/component';\n@import '../../functional-components/form-control/form-control';\n\n/**\n * @prop --width: The width of the switch.\n * @prop --height: The height of the switch.\n * @prop --thumb-size: The size of the thumb.\n */\n:host {\n --height: var(--six-selection-control-toggle-size);\n --thumb-size: calc(var(--six-selection-control-toggle-size) - 4px);\n --width: calc(var(--height) * 2);\n\n display: inline-block;\n}\n\n.switch {\n display: inline-flex;\n align-items: center;\n font-family: var(--six-font-family);\n font-size: var(--six-input-font-size-medium);\n font-weight: var(--six-input-font-weight);\n color: var(--six-input-color);\n vertical-align: middle;\n cursor: pointer;\n}\n\n.switch__control {\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: var(--width);\n height: var(--height);\n background-color: var(--six-selection-control-color-disabled);\n border-radius: var(--height);\n transition: var(--six-transition-fast) border-color, var(--six-transition-fast) background-color;\n\n .switch__thumb {\n width: var(--thumb-size);\n height: var(--thumb-size);\n background-color: var(--six-input-background-color);\n border-radius: 50%;\n transform: translateX(calc(var(--width) / -2 + var(--thumb-size) / 2 - (var(--thumb-size) - var(--height)) / 2));\n transition: var(--six-transition-fast) transform ease, var(--six-transition-fast) background-color,\n var(--six-transition-fast) border-color, var(--six-transition-fast) box-shadow;\n }\n\n input[type='checkbox'] {\n position: absolute;\n opacity: 0;\n padding: 0;\n margin: 0;\n pointer-events: none;\n }\n}\n\n// Hover\n.switch:not(.switch--checked):not(.switch--disabled) .switch__control:hover {\n background-color: var(--six-input-border-color-hover);\n}\n\n// Checked\n.switch--checked .switch__control {\n background-color: var(--six-selection-control-color);\n\n .switch__thumb {\n background-color: var(--six-color-white);\n transform: translateX(calc(var(--width) / 2 - var(--thumb-size) / 2 + (var(--thumb-size) - var(--height)) / 2));\n }\n}\n\n// Checked + hover\n.switch.switch--checked:not(.switch--disabled) .switch__control:hover {\n background-color: var(--six-input-border-color-focus);\n}\n\n// Disabled\n.switch--disabled {\n cursor: not-allowed;\n color: var(--six-selection-control-color-disabled);\n\n .switch__control {\n background-color: var(--six-selection-control-color-disabled);\n }\n\n &.switch--checked .switch__control {\n background-color: var(--six-selection-control-color-disabled);\n }\n}\n\n.switch__label {\n line-height: var(--height);\n margin-left: 0.5em;\n user-select: none;\n}\n","import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { EmptyPayload } from '../../utils/types';\nimport { EventListeners } from '../../utils/event-listeners';\nimport FormControl from '../../functional-components/form-control/form-control';\nimport { hasSlot } from '../../utils/slot';\n\nlet id = 0;\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot - The switch's label.\n * @slot error-text - Error text that is shown for validation errors. Alternatively, you can use the error-text prop.\n *\n * @part base - The component's base wrapper.\n * @part control - The switch control.\n * @part thumb - The switch position indicator.\n * @part label - The switch label.\n */\n\n@Component({\n tag: 'six-switch',\n styleUrl: 'six-switch.scss',\n shadow: true,\n})\nexport class SixSwitch {\n private switchId = `switch-${++id}`;\n private labelId = `switch-label-${id}`;\n private errorTextId = `input-error-text-${id}`;\n\n private inputElement?: HTMLInputElement;\n private eventListeners = new EventListeners();\n\n @Element() host!: HTMLSixSwitchElement;\n\n @State() hasFocus = false;\n @State() hasErrorTextSlot = false;\n\n /** The switch's name attribute. */\n @Prop() name = '';\n\n /** The switch's value attribute. */\n @Prop() value = 'on';\n\n /** Set to true to disable the switch. */\n @Prop() disabled = false;\n\n /** Set to true to show an asterisk beneath the label. */\n @Prop() required = false;\n\n /** Set to true to draw the switch in a checked state. */\n @Prop({ mutable: true, reflect: true }) checked = false;\n\n /** The label text. */\n @Prop() label = '';\n\n /** The error message shown, if `invalid` is set to true. */\n @Prop() errorText: string | string[] = '';\n\n /** The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1 */\n @Prop() errorTextCount?: number;\n\n /** If this property is set to true and an error message is provided by `errorText`, the error message is displayed. */\n @Prop({ reflect: true }) invalid = false;\n\n componentWillLoad() {\n this.handleSlotChange();\n }\n\n @Watch('checked')\n handleCheckedChange() {\n if (this.inputElement != null) {\n this.inputElement.checked = this.checked;\n this.checked = this.inputElement.checked;\n }\n }\n\n /** Emitted when the control loses focus. */\n @Event({ eventName: 'six-switch-blur' }) sixBlur!: EventEmitter<boolean>;\n\n /** Emitted when the control's checked state changes. */\n @Event({ eventName: 'six-switch-change' }) sixChange!: EventEmitter<boolean>;\n\n /** Emitted when the control gains focus. */\n @Event({ eventName: 'six-switch-focus' }) sixFocus!: EventEmitter<EmptyPayload>;\n\n connectedCallback() {\n this.host.shadowRoot?.addEventListener('slotchange', this.handleSlotChange);\n this.eventListeners.forward('six-switch-change', 'change', this.host);\n this.eventListeners.forward('six-switch-blur', 'blur', this.host);\n this.eventListeners.forward('six-switch-focus', 'focus', this.host);\n }\n\n disconnectedCallback() {\n this.host.shadowRoot?.removeEventListener('slotchange', this.handleSlotChange);\n this.eventListeners.removeAll();\n }\n\n @Watch('errorText')\n @Watch('label')\n handleLabelChange() {\n this.handleSlotChange();\n }\n\n private handleSlotChange = () => {\n this.hasErrorTextSlot = hasSlot(this.host, 'error-text');\n };\n\n /** Sets focus on the switch. */\n @Method()\n async setFocus(options?: FocusOptions) {\n this.inputElement?.focus(options);\n }\n\n /** Removes focus from the switch. */\n @Method()\n async removeFocus() {\n this.inputElement?.blur();\n }\n\n private handleClick = () => {\n if (this.inputElement != null) {\n this.checked = this.inputElement.checked;\n this.sixChange.emit(this.checked);\n }\n };\n\n private handleBlur = () => {\n this.hasFocus = false;\n this.sixBlur.emit(this.checked);\n };\n\n private handleFocus = () => {\n this.hasFocus = true;\n this.sixFocus.emit();\n };\n\n private handleKeyDown = (event: KeyboardEvent) => {\n if (event.key === 'ArrowLeft') {\n event.preventDefault();\n this.checked = false;\n this.sixChange.emit(this.checked);\n }\n\n if (event.key === 'ArrowRight') {\n event.preventDefault();\n this.checked = true;\n this.sixChange.emit(this.checked);\n }\n };\n\n private handleMouseDown = (event: MouseEvent) => {\n // Prevent clicks on the label from briefly blurring the input\n event.preventDefault();\n this.inputElement?.focus();\n };\n\n render() {\n return (\n <FormControl\n inputId={this.switchId}\n label={this.label}\n labelId={this.labelId}\n hasLabelSlot={false}\n errorTextId={this.errorTextId}\n errorText={this.errorText}\n errorTextCount={this.errorTextCount}\n hasErrorTextSlot={this.hasErrorTextSlot}\n size=\"medium\"\n disabled={this.disabled}\n required={this.required}\n displayError={this.invalid}\n >\n <label\n part=\"base\"\n htmlFor={this.switchId}\n class={{\n switch: true,\n 'switch--checked': this.checked,\n 'switch--disabled': this.disabled,\n 'switch--focused': this.hasFocus,\n }}\n onMouseDown={this.handleMouseDown}\n >\n <span part=\"control\" class=\"switch__control\">\n <span part=\"thumb\" class=\"switch__thumb\" />\n\n <input\n ref={(el) => (this.inputElement = el)}\n id={this.switchId}\n type=\"checkbox\"\n name={this.name}\n value={this.value}\n checked={this.checked}\n disabled={this.disabled}\n required={this.required}\n role=\"switch\"\n aria-checked={this.checked ? 'true' : 'false'}\n aria-labelledby={this.labelId}\n onClick={this.handleClick}\n onBlur={this.handleBlur}\n onFocus={this.handleFocus}\n onKeyDown={this.handleKeyDown}\n />\n </span>\n\n <span part=\"label\" id={this.labelId} class=\"switch__label\">\n <slot />\n </span>\n </label>\n </FormControl>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"six-switch.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,YAAY,GAAG,6mJAA6mJ;;ACMloJ,IAAI,EAAE,GAAG,CAAC;MAsBG,SAAS,GAAA,MAAA;AALtB,IAAA,WAAA,CAAA,OAAA,EAAA;;;;;AAMU,QAAA,IAAA,CAAA,QAAQ,GAAG,UAAU,EAAE,EAAE,EAAE;AAC3B,QAAA,IAAA,CAAA,OAAO,GAAG,CAAgB,aAAA,EAAA,EAAE,EAAE;AAC9B,QAAA,IAAA,CAAA,WAA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W,EACzB,MAAM,EAAE,IAAI,CAAC,UAAU,EACvB,OAAO,EAAE,IAAI,CAAC,WAAW,EACzB,SAAS,EAAE,IAAI,CAAC,aAAa,EAAA,CAC7B,CACG,EAEPA,OAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,OAAO,EAAC,EAAE,EAAE,IAAI,CAAC,OAAO,EAAE,KAAK,EAAC,eAAe,EAAA,EACxDA,OAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAQ,CACH,CACD,CACI;;;;;;;;;;;;;","names":["EventListeners","hasSlot","h","FormControl"],"sources":["src/components/six-switch/six-switch.scss?tag=six-switch&encapsulation=shadow","src/components/six-switch/six-switch.tsx"],"sourcesContent":["@import 'src/global/component';\n@import '../../functional-components/form-control/form-control';\n\n/**\n * @prop --width: The width of the switch.\n * @prop --height: The height of the switch.\n * @prop --thumb-size: The size of the thumb.\n */\n:host {\n --height: var(--six-selection-control-toggle-size);\n --thumb-size: calc(var(--six-selection-control-toggle-size) - 4px);\n --width: calc(var(--height) * 2);\n\n display: inline-block;\n}\n\n.switch {\n display: inline-flex;\n align-items: center;\n font-family: var(--six-font-family);\n font-size: var(--six-input-font-size-medium);\n font-weight: var(--six-input-font-weight);\n color: var(--six-input-color);\n vertical-align: middle;\n cursor: pointer;\n}\n\n.switch__control {\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: var(--width);\n height: var(--height);\n background-color: var(--six-selection-control-color-disabled);\n border-radius: var(--height);\n transition: var(--six-transition-fast) border-color, var(--six-transition-fast) background-color;\n\n .switch__thumb {\n width: var(--thumb-size);\n height: var(--thumb-size);\n background-color: var(--six-input-background-color);\n border-radius: 50%;\n transform: translateX(calc(var(--width) / -2 + var(--thumb-size) / 2 - (var(--thumb-size) - var(--height)) / 2));\n transition: var(--six-transition-fast) transform ease, var(--six-transition-fast) background-color,\n var(--six-transition-fast) border-color, var(--six-transition-fast) box-shadow;\n }\n\n input[type='checkbox'] {\n position: absolute;\n opacity: 0;\n padding: 0;\n margin: 0;\n pointer-events: none;\n }\n}\n\n// Hover\n.switch:not(.switch--checked):not(.switch--disabled) .switch__control:hover {\n background-color: var(--six-input-border-color-hover);\n}\n\n// Checked\n.switch--checked .switch__control {\n background-color: var(--six-selection-control-color);\n\n .switch__thumb {\n background-color: var(--six-color-white);\n transform: translateX(calc(var(--width) / 2 - var(--thumb-size) / 2 + (var(--thumb-size) - var(--height)) / 2));\n }\n}\n\n// Checked + hover\n.switch.switch--checked:not(.switch--disabled) .switch__control:hover {\n background-color: var(--six-input-border-color-focus);\n}\n\n// Disabled\n.switch--disabled {\n cursor: not-allowed;\n color: var(--six-selection-control-color-disabled);\n\n .switch__control {\n background-color: var(--six-selection-control-color-disabled);\n }\n\n &.switch--checked .switch__control {\n background-color: var(--six-selection-control-color-disabled);\n }\n}\n\n.switch__label {\n line-height: var(--height);\n margin-left: 0.5em;\n user-select: none;\n}\n","import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { EmptyPayload } from '../../utils/types';\nimport { EventListeners } from '../../utils/event-listeners';\nimport FormControl from '../../functional-components/form-control/form-control';\nimport { hasSlot } from '../../utils/slot';\n\nlet id = 0;\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot - The switch's label.\n * @slot error-text - Error text that is shown for validation errors. Alternatively, you can use the error-text prop.\n *\n * @part base - The component's base wrapper.\n * @part control - The switch control.\n * @part thumb - The switch position indicator.\n * @part label - The switch label.\n */\n\n@Component({\n tag: 'six-switch',\n styleUrl: 'six-switch.scss',\n shadow: true,\n})\nexport class SixSwitch {\n private switchId = `switch-${++id}`;\n private labelId = `switch-label-${id}`;\n private errorTextId = `input-error-text-${id}`;\n\n private inputElement?: HTMLInputElement;\n private eventListeners = new EventListeners();\n\n @Element() host!: HTMLSixSwitchElement;\n\n @State() hasFocus = false;\n @State() hasErrorTextSlot = false;\n\n /** The switch's name attribute. */\n @Prop() name = '';\n\n /** The switch's value attribute. */\n @Prop() value = 'on';\n\n /** Set to true to disable the switch. */\n @Prop() disabled = false;\n\n /** Set to true to show an asterisk beneath the label. */\n @Prop() required = false;\n\n /** Set to true to draw the switch in a checked state. */\n @Prop({ mutable: true, reflect: true }) checked = false;\n\n /** The label text. */\n @Prop() label = '';\n\n /** The error message shown, if `invalid` is set to true. */\n @Prop() errorText: string | string[] = '';\n\n /** The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1 */\n @Prop() errorTextCount?: number;\n\n /** If this property is set to true and an error message is provided by `errorText`, the error message is displayed. */\n @Prop({ reflect: true }) invalid = false;\n\n componentWillLoad() {\n this.handleSlotChange();\n }\n\n @Watch('checked')\n handleCheckedChange() {\n if (this.inputElement != null) {\n this.inputElement.checked = this.checked;\n this.checked = this.inputElement.checked;\n }\n }\n\n /** Emitted when the control loses focus. */\n @Event({ eventName: 'six-switch-blur' }) sixBlur!: EventEmitter<boolean>;\n\n /** Emitted when the control's checked state changes. */\n @Event({ eventName: 'six-switch-change' }) sixChange!: EventEmitter<boolean>;\n\n /** Emitted when the control gains focus. */\n @Event({ eventName: 'six-switch-focus' }) sixFocus!: EventEmitter<EmptyPayload>;\n\n connectedCallback() {\n this.host.shadowRoot?.addEventListener('slotchange', this.handleSlotChange);\n this.eventListeners.forward('six-switch-change', 'change', this.host);\n this.eventListeners.forward('six-switch-blur', 'blur', this.host);\n this.eventListeners.forward('six-switch-focus', 'focus', this.host);\n }\n\n disconnectedCallback() {\n this.host.shadowRoot?.removeEventListener('slotchange', this.handleSlotChange);\n this.eventListeners.removeAll();\n }\n\n @Watch('errorText')\n @Watch('label')\n handleLabelChange() {\n this.handleSlotChange();\n }\n\n private handleSlotChange = () => {\n this.hasErrorTextSlot = hasSlot(this.host, 'error-text');\n };\n\n /** Sets focus on the switch. */\n @Method()\n async setFocus(options?: FocusOptions) {\n this.inputElement?.focus(options);\n }\n\n /** Removes focus from the switch. */\n @Method()\n async removeFocus() {\n this.inputElement?.blur();\n }\n\n private handleClick = () => {\n if (this.inputElement != null) {\n this.checked = this.inputElement.checked;\n this.sixChange.emit(this.checked);\n }\n };\n\n private handleBlur = () => {\n this.hasFocus = false;\n this.sixBlur.emit(this.checked);\n };\n\n private handleFocus = () => {\n this.hasFocus = true;\n this.sixFocus.emit();\n };\n\n private handleKeyDown = (event: KeyboardEvent) => {\n if (event.key === 'ArrowLeft') {\n event.preventDefault();\n this.checked = false;\n this.sixChange.emit(this.checked);\n }\n\n if (event.key === 'ArrowRight') {\n event.preventDefault();\n this.checked = true;\n this.sixChange.emit(this.checked);\n }\n };\n\n private handleMouseDown = (event: MouseEvent) => {\n // Prevent clicks on the label from briefly blurring the input\n event.preventDefault();\n this.inputElement?.focus();\n };\n\n render() {\n return (\n <FormControl\n inputId={this.switchId}\n label={this.label}\n labelId={this.labelId}\n hasLabelSlot={false}\n errorTextId={this.errorTextId}\n errorText={this.errorText}\n errorTextCount={this.errorTextCount}\n hasErrorTextSlot={this.hasErrorTextSlot}\n size=\"medium\"\n disabled={this.disabled}\n required={this.required}\n displayError={this.invalid}\n >\n <label\n part=\"base\"\n htmlFor={this.switchId}\n class={{\n switch: true,\n 'switch--checked': this.checked,\n 'switch--disabled': this.disabled,\n 'switch--focused': this.hasFocus,\n }}\n onMouseDown={this.handleMouseDown}\n >\n <span part=\"control\" class=\"switch__control\">\n <span part=\"thumb\" class=\"switch__thumb\" />\n\n <input\n ref={(el) => (this.inputElement = el)}\n id={this.switchId}\n type=\"checkbox\"\n name={this.name}\n value={this.value}\n checked={this.checked}\n disabled={this.disabled}\n required={this.required}\n role=\"switch\"\n aria-checked={this.checked ? 'true' : 'false'}\n aria-labelledby={this.labelId}\n onClick={this.handleClick}\n onBlur={this.handleBlur}\n onFocus={this.handleFocus}\n onKeyDown={this.handleKeyDown}\n />\n </span>\n\n <span part=\"label\" id={this.labelId} class=\"switch__label\">\n <slot />\n </span>\n </label>\n </FormControl>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"six-switch.entry.cjs.js","sources":["src/components/six-switch/six-switch.scss?tag=six-switch&encapsulation=shadow","src/components/six-switch/six-switch.tsx"],"sourcesContent":["@import 'src/global/component';\n@import '../../functional-components/form-control/form-control';\n\n/**\n * @prop --width: The width of the switch.\n * @prop --height: The height of the switch.\n * @prop --thumb-size: The size of the thumb.\n */\n:host {\n --height: var(--six-selection-control-toggle-size);\n --thumb-size: calc(var(--six-selection-control-toggle-size) - 4px);\n --width: calc(var(--height) * 2);\n\n display: inline-block;\n}\n\n.switch {\n display: inline-flex;\n align-items: center;\n font-family: var(--six-font-family);\n font-size: var(--six-input-font-size-medium);\n font-weight: var(--six-input-font-weight);\n color: var(--six-input-color);\n vertical-align: middle;\n cursor: pointer;\n}\n\n.switch__control {\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: var(--width);\n height: var(--height);\n background-color: var(--six-selection-control-color-disabled);\n border-radius: var(--height);\n transition: var(--six-transition-fast) border-color, var(--six-transition-fast) background-color;\n\n .switch__thumb {\n width: var(--thumb-size);\n height: var(--thumb-size);\n background-color: var(--six-input-background-color);\n border-radius: 50%;\n transform: translateX(calc(var(--width) / -2 + var(--thumb-size) / 2 - (var(--thumb-size) - var(--height)) / 2));\n transition: var(--six-transition-fast) transform ease, var(--six-transition-fast) background-color,\n var(--six-transition-fast) border-color, var(--six-transition-fast) box-shadow;\n }\n\n input[type='checkbox'] {\n position: absolute;\n opacity: 0;\n padding: 0;\n margin: 0;\n pointer-events: none;\n }\n}\n\n// Hover\n.switch:not(.switch--checked):not(.switch--disabled) .switch__control:hover {\n background-color: var(--six-input-border-color-hover);\n}\n\n// Checked\n.switch--checked .switch__control {\n background-color: var(--six-selection-control-color);\n\n .switch__thumb {\n background-color: var(--six-color-white);\n transform: translateX(calc(var(--width) / 2 - var(--thumb-size) / 2 + (var(--thumb-size) - var(--height)) / 2));\n }\n}\n\n// Checked + hover\n.switch.switch--checked:not(.switch--disabled) .switch__control:hover {\n background-color: var(--six-input-border-color-focus);\n}\n\n// Disabled\n.switch--disabled {\n cursor: not-allowed;\n color: var(--six-selection-control-color-disabled);\n\n .switch__control {\n background-color: var(--six-selection-control-color-disabled);\n }\n\n &.switch--checked .switch__control {\n background-color: var(--six-selection-control-color-disabled);\n }\n}\n\n.switch__label {\n line-height: var(--height);\n margin-left: 0.5em;\n user-select: none;\n}\n","import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { EmptyPayload } from '../../utils/types';\nimport { EventListeners } from '../../utils/event-listeners';\nimport FormControl from '../../functional-components/form-control/form-control';\nimport { hasSlot } from '../../utils/slot';\n\nlet id = 0;\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot - The switch's label.\n * @slot error-text - Error text that is shown for validation errors. Alternatively, you can use the error-text prop.\n *\n * @part base - The component's base wrapper.\n * @part control - The switch control.\n * @part thumb - The switch position indicator.\n * @part label - The switch label.\n */\n\n@Component({\n tag: 'six-switch',\n styleUrl: 'six-switch.scss',\n shadow: true,\n})\nexport class SixSwitch {\n private switchId = `switch-${++id}`;\n private labelId = `switch-label-${id}`;\n private errorTextId = `input-error-text-${id}`;\n\n private inputElement?: HTMLInputElement;\n private eventListeners = new EventListeners();\n\n @Element() host!: HTMLSixSwitchElement;\n\n @State() hasFocus = false;\n @State() hasErrorTextSlot = false;\n\n /** The switch's name attribute. */\n @Prop() name = '';\n\n /** The switch's value attribute. */\n @Prop() value = 'on';\n\n /** Set to true to disable the switch. */\n @Prop() disabled = false;\n\n /** Set to true to show an asterisk beneath the label. */\n @Prop() required = false;\n\n /** Set to true to draw the switch in a checked state. */\n @Prop({ mutable: true, reflect: true }) checked = false;\n\n /** The label text. */\n @Prop() label = '';\n\n /** The error message shown, if `invalid` is set to true. */\n @Prop() errorText: string | string[] = '';\n\n /** The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1 */\n @Prop() errorTextCount?: number;\n\n /** If this property is set to true and an error message is provided by `errorText`, the error message is displayed. */\n @Prop({ reflect: true }) invalid = false;\n\n componentWillLoad() {\n this.handleSlotChange();\n }\n\n @Watch('checked')\n handleCheckedChange() {\n if (this.inputElement != null) {\n this.inputElement.checked = this.checked;\n this.checked = this.inputElement.checked;\n }\n }\n\n /** Emitted when the control loses focus. */\n @Event({ eventName: 'six-switch-blur' }) sixBlur!: EventEmitter<boolean>;\n\n /** Emitted when the control's checked state changes. */\n @Event({ eventName: 'six-switch-change' }) sixChange!: EventEmitter<boolean>;\n\n /** Emitted when the control gains focus. */\n @Event({ eventName: 'six-switch-focus' }) sixFocus!: EventEmitter<EmptyPayload>;\n\n connectedCallback() {\n this.host.shadowRoot?.addEventListener('slotchange', this.handleSlotChange);\n this.eventListeners.forward('six-switch-change', 'change', this.host);\n this.eventListeners.forward('six-switch-blur', 'blur', this.host);\n this.eventListeners.forward('six-switch-focus', 'focus', this.host);\n }\n\n disconnectedCallback() {\n this.host.shadowRoot?.removeEventListener('slotchange', this.handleSlotChange);\n this.eventListeners.removeAll();\n }\n\n @Watch('errorText')\n @Watch('label')\n handleLabelChange() {\n this.handleSlotChange();\n }\n\n private handleSlotChange = () => {\n this.hasErrorTextSlot = hasSlot(this.host, 'error-text');\n };\n\n /** Sets focus on the switch. */\n @Method()\n async setFocus(options?: FocusOptions) {\n this.inputElement?.focus(options);\n }\n\n /** Removes focus from the switch. */\n @Method()\n async removeFocus() {\n this.inputElement?.blur();\n }\n\n private handleClick = () => {\n if (this.inputElement != null) {\n this.checked = this.inputElement.checked;\n this.sixChange.emit(this.checked);\n }\n };\n\n private handleBlur = () => {\n this.hasFocus = false;\n this.sixBlur.emit(this.checked);\n };\n\n private handleFocus = () => {\n this.hasFocus = true;\n this.sixFocus.emit();\n };\n\n private handleKeyDown = (event: KeyboardEvent) => {\n if (event.key === 'ArrowLeft') {\n event.preventDefault();\n this.checked = false;\n this.sixChange.emit(this.checked);\n }\n\n if (event.key === 'ArrowRight') {\n event.preventDefault();\n this.checked = true;\n this.sixChange.emit(this.checked);\n }\n };\n\n private handleMouseDown = (event: MouseEvent) => {\n // Prevent clicks on the label from briefly blurring the input\n event.preventDefault();\n this.inputElement?.focus();\n };\n\n render() {\n return (\n <FormControl\n inputId={this.switchId}\n label={this.label}\n labelId={this.labelId}\n hasLabelSlot={false}\n errorTextId={this.errorTextId}\n errorText={this.errorText}\n errorTextCount={this.errorTextCount}\n hasErrorTextSlot={this.hasErrorTextSlot}\n size=\"medium\"\n disabled={this.disabled}\n required={this.required}\n displayError={this.invalid}\n >\n <label\n part=\"base\"\n htmlFor={this.switchId}\n class={{\n switch: true,\n 'switch--checked': this.checked,\n 'switch--disabled': this.disabled,\n 'switch--focused': this.hasFocus,\n }}\n onMouseDown={this.handleMouseDown}\n >\n <span part=\"control\" class=\"switch__control\">\n <span part=\"thumb\" class=\"switch__thumb\" />\n\n <input\n ref={(el) => (this.inputElement = el)}\n id={this.switchId}\n type=\"checkbox\"\n name={this.name}\n value={this.value}\n checked={this.checked}\n disabled={this.disabled}\n required={this.required}\n role=\"switch\"\n aria-checked={this.checked ? 'true' : 'false'}\n aria-labelledby={this.labelId}\n onClick={this.handleClick}\n onBlur={this.handleBlur}\n onFocus={this.handleFocus}\n onKeyDown={this.handleKeyDown}\n />\n </span>\n\n <span part=\"label\" id={this.labelId} class=\"switch__label\">\n <slot />\n </span>\n </label>\n </FormControl>\n );\n }\n}\n"],"names":["EventListeners","hasSlot","h","FormControl"],"mappings":";;;;;;;AAAA,MAAM,YAAY,GAAG,6mJAA6mJ;;ACMloJ,IAAI,EAAE,GAAG,CAAC;MAsBG,SAAS,GAAA,MAAA;AALtB,IAAA,WAAA,CAAA,OAAA,EAAA;;;;;AAMU,QAAA,IAAA,CAAA,QAAQ,GAAG,UAAU,EAAE,EAAE,EAAE;AAC3B,QAAA,IAAA,CAAA,OAAO,GA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AA,EAC5B,IAAI,CAAC,OAAO,EAC7B,OAAO,EAAE,IAAI,CAAC,WAAW,EACzB,MAAM,EAAE,IAAI,CAAC,UAAU,EACvB,OAAO,EAAE,IAAI,CAAC,WAAW,EACzB,SAAS,EAAE,IAAI,CAAC,aAAa,EAAA,CAC7B,CACG,EAEPA,OAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,OAAO,EAAC,EAAE,EAAE,IAAI,CAAC,OAAO,EAAE,KAAK,EAAC,eAAe,EAAA,EACxDA,OAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAQ,CACH,CACD,CACI;;;;;;;;;;;;;"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const index = require('./index-d7748d51.js');
|
|
6
|
-
const scroll = require('./scroll-68033901.js');
|
|
3
|
+
var index = require('./index-B_stPhJp.js');
|
|
4
|
+
var scroll = require('./scroll-BQR9FxnJ.js');
|
|
7
5
|
|
|
8
6
|
/**
|
|
9
7
|
* Animates a given `element` from the position and dimension of `fromElement` to
|
|
@@ -44,8 +42,14 @@ const sixTabGroupCss = ":host{position:relative;box-sizing:border-box}:host *,:h
|
|
|
44
42
|
const SixTabGroup = class {
|
|
45
43
|
constructor(hostRef) {
|
|
46
44
|
index.registerInstance(this, hostRef);
|
|
47
|
-
this.sixTabShow = index.createEvent(this, "six-tab-show"
|
|
48
|
-
this.sixTabHide = index.createEvent(this, "six-tab-hide"
|
|
45
|
+
this.sixTabShow = index.createEvent(this, "six-tab-show");
|
|
46
|
+
this.sixTabHide = index.createEvent(this, "six-tab-hide");
|
|
47
|
+
this.hasLeftControl = false;
|
|
48
|
+
this.hasRightControl = false;
|
|
49
|
+
/** The placement of the tabs. */
|
|
50
|
+
this.placement = 'top';
|
|
51
|
+
/** Disables the scroll arrows that appear when tabs overflow. */
|
|
52
|
+
this.noScrollControls = false;
|
|
49
53
|
this.handleClick = (event) => {
|
|
50
54
|
const target = event.target;
|
|
51
55
|
const tab = target.closest('six-tab');
|
|
@@ -111,9 +115,6 @@ const SixTabGroup = class {
|
|
|
111
115
|
behavior: 'smooth',
|
|
112
116
|
});
|
|
113
117
|
};
|
|
114
|
-
this.hasScrollControls = false;
|
|
115
|
-
this.placement = 'top';
|
|
116
|
-
this.noScrollControls = false;
|
|
117
118
|
}
|
|
118
119
|
handleNoScrollControlsChange() {
|
|
119
120
|
this.updateScrollControls();
|
|
@@ -133,6 +134,13 @@ const SixTabGroup = class {
|
|
|
133
134
|
this.resizeObserver = new ResizeObserver(() => this.updateScrollControls());
|
|
134
135
|
this.resizeObserver.observe(this.nav);
|
|
135
136
|
requestAnimationFrame(() => this.updateScrollControls());
|
|
137
|
+
this.nav.addEventListener('scroll', () => {
|
|
138
|
+
if (this.nav == null) {
|
|
139
|
+
return;
|
|
140
|
+
}
|
|
141
|
+
this.hasRightControl = this.calculateRightControlVisibility();
|
|
142
|
+
this.hasLeftControl = this.calculateLeftControlVisibility();
|
|
143
|
+
});
|
|
136
144
|
// Update aria labels if the DOM changes
|
|
137
145
|
this.mutationObserver = new MutationObserver((mutations) => {
|
|
138
146
|
if (mutations.some((mutation) => {
|
|
@@ -180,12 +188,29 @@ const SixTabGroup = class {
|
|
|
180
188
|
getActiveTab() {
|
|
181
189
|
return this.getAllTabs().find((el) => el.active);
|
|
182
190
|
}
|
|
191
|
+
calculateRightControlVisibility() {
|
|
192
|
+
var _a, _b, _c;
|
|
193
|
+
if (this.nav == null) {
|
|
194
|
+
return false;
|
|
195
|
+
}
|
|
196
|
+
return Math.abs((_a = this.nav) === null || _a === void 0 ? void 0 : _a.scrollLeft) + ((_b = this.nav) === null || _b === void 0 ? void 0 : _b.clientWidth) < ((_c = this.nav) === null || _c === void 0 ? void 0 : _c.scrollWidth) - 1;
|
|
197
|
+
}
|
|
198
|
+
calculateLeftControlVisibility() {
|
|
199
|
+
var _a;
|
|
200
|
+
if (this.nav == null) {
|
|
201
|
+
return false;
|
|
202
|
+
}
|
|
203
|
+
return Math.abs((_a = this.nav) === null || _a === void 0 ? void 0 : _a.scrollLeft) > 0;
|
|
204
|
+
}
|
|
183
205
|
updateScrollControls() {
|
|
184
206
|
if (this.nav == null)
|
|
185
207
|
return;
|
|
186
|
-
this.
|
|
208
|
+
this.hasRightControl = this.noScrollControls
|
|
209
|
+
? false
|
|
210
|
+
: ['top', 'bottom'].includes(this.placement) && this.calculateRightControlVisibility();
|
|
211
|
+
this.hasLeftControl = this.noScrollControls
|
|
187
212
|
? false
|
|
188
|
-
: ['top', 'bottom'].includes(this.placement) && this.
|
|
213
|
+
: ['top', 'bottom'].includes(this.placement) && this.calculateLeftControlVisibility();
|
|
189
214
|
}
|
|
190
215
|
setActiveTab(tab, emitEvents = true) {
|
|
191
216
|
var _a, _b, _c;
|
|
@@ -228,15 +253,15 @@ const SixTabGroup = class {
|
|
|
228
253
|
});
|
|
229
254
|
}
|
|
230
255
|
render() {
|
|
231
|
-
return (index.h("div", { part: "base", ref: (el) => (this.tabGroup = el), class: {
|
|
256
|
+
return (index.h("div", { key: '50cbef0781a3cb02c56dd3e912f82889b5da1937', part: "base", ref: (el) => (this.tabGroup = el), class: {
|
|
232
257
|
'tab-group': true,
|
|
233
258
|
// Placements
|
|
234
259
|
'tab-group--top': this.placement === 'top',
|
|
235
260
|
'tab-group--bottom': this.placement === 'bottom',
|
|
236
261
|
'tab-group--left': this.placement === 'left',
|
|
237
262
|
'tab-group--right': this.placement === 'right',
|
|
238
|
-
'tab-group--has-scroll-controls': this.
|
|
239
|
-
}, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, index.h("div", { class: "tab-group__nav-container" }, this.
|
|
263
|
+
'tab-group--has-scroll-controls': this.hasRightControl || this.hasLeftControl,
|
|
264
|
+
}, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, index.h("div", { key: '6262c15276def35075129c8f1431094dbecc7ecf', class: "tab-group__nav-container" }, this.hasLeftControl && (index.h("six-icon-button", { key: '9ca0654f604fd2c5c2a38fe3036d95746f7ec1e0', class: "tab-group__scroll-button tab-group__scroll-button--left", exportparts: "base:scroll-button", name: "chevron_left", onClick: this.handleScrollLeft })), index.h("div", { ref: (el) => (this.nav = el), key: "nav", part: "nav", class: "tab-group__nav" }, index.h("div", { key: '288b14b0bbc790f1ae54e2a26693e9b103002715', ref: (el) => (this.tabs = el), part: "tabs", class: "tab-group__tabs", role: "tablist" }, index.h("slot", { key: '249ef2f5d67dd3abf35b07028c9d2fe3798ef1ea', name: "nav" }))), this.hasRightControl && (index.h("six-icon-button", { key: '7cd9a161b9c5cfe8470c2c8311e1767b48ce61ed', class: "tab-group__scroll-button tab-group__scroll-button--right", exportparts: "base:scroll-button", name: "chevron_right", onClick: this.handleScrollRight }))), index.h("div", { key: 'f2f82d9a7730f577fe4ed4a77a98929487f88dec', ref: (el) => (this.body = el), part: "body", class: "tab-group__body" }, index.h("slot", { key: 'ca9dfe2b30a558eb1b95a20aee81978b00b9be2d' }))));
|
|
240
265
|
}
|
|
241
266
|
get host() { return index.getElement(this); }
|
|
242
267
|
static get watchers() { return {
|
|
@@ -246,5 +271,6 @@ const SixTabGroup = class {
|
|
|
246
271
|
SixTabGroup.style = sixTabGroupCss;
|
|
247
272
|
|
|
248
273
|
exports.six_tab_group = SixTabGroup;
|
|
274
|
+
//# sourceMappingURL=six-tab-group.entry.cjs.js.map
|
|
249
275
|
|
|
250
276
|
//# sourceMappingURL=six-tab-group.cjs.entry.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"six-tab-group.entry.cjs.js","mappings":";;;;;;;AAAA;;;;;;;;;;;SAWgB,WAAW,CACzB,OAAgB,EAChB,WAAoB,EACpB,UAAoC;IAClC,QAAQ,EAAE,GAAG;IACb,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,MAAM;CACb;IAED,MAAM,YAAY,GAAG,WAAW,CAAC,qBAAqB,EAAE,CAAC;IAC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iBAAiB,IACrEA,qBAAQ,CACJ,CACF,EACN;KACH;;;;;;;;;;","names":["scrollIntoView","h"],"sources":["src/utils/animation.ts","src/components/six-tab-group/six-tab-group.scss?tag=six-tab-group&encapsulation=shadow","src/components/six-tab-group/six-tab-group.tsx"],"sourcesContent":["/**\n * Animates a given `element` from the position and dimension of `fromElement` to\n * its current position and dimension. Can be useful to implement the FLIP animation technique.\n *\n * @see {@link https://css-tricks.com/animating-layouts-with-the-flip-technique/} for details on the FLIP technique.\n *\n * @param {Element} element - The element to animate.\n * @param {Element} fromElement - The element representing the initial position and dimensions.\n * @param {KeyframeAnimationOptions} [options={ duration: 150, easing: 'ease', fill: 'both' }] - Optional animation parameters.\n *\n */\nexport function flipAnimate(\n element: Element,\n fromElement: Element,\n options: KeyframeAnimationOptions = {\n duration: 150,\n easing: 'ease',\n fill: 'both',\n }\n) {\n const dimensionsTo = fromElement.getBoundingClientRect();\n const dimensionsFrom = element.getBoundingClientRect();\n\n const deltaX = dimensionsTo.left - dimensionsFrom.left;\n const deltaY = dimensionsTo.top - dimensionsFrom.top;\n const deltaW = dimensionsTo.width / dimensionsFrom.width;\n const deltaH = dimensionsTo.height / dimensionsFrom.height;\n\n element.animate(\n [\n {\n transformOrigin: 'top left',\n transform: `translate(${deltaX}px, ${deltaY}px) scale(${deltaW}, ${deltaH})`,\n },\n {\n transformOrigin: 'top left',\n transform: 'none',\n },\n ],\n options\n );\n}\n","@import 'src/global/component';\n@import 'src/global/mixins/hide-scrollbar';\n\n:host {\n display: block;\n}\n\n.tab-group {\n display: flex;\n border: solid 1px transparent;\n border-radius: 0;\n\n .tab-group__tabs {\n display: flex;\n position: relative;\n }\n}\n\n.tab-group--has-scroll-controls .tab-group__nav-container {\n position: relative;\n padding: 0 var(--six-spacing-x-large);\n}\n\n.tab-group__scroll-button {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n top: 0;\n bottom: 0;\n width: var(--six-spacing-x-large);\n}\n\n.tab-group__scroll-button--left {\n left: 0;\n}\n\n.tab-group__scroll-button--right {\n right: 0;\n}\n\n// TOP\n.tab-group--top {\n flex-direction: column;\n\n .tab-group__nav-container {\n order: 1;\n }\n\n .tab-group__nav {\n display: flex;\n overflow-x: auto;\n @include hide-scrollbar();\n }\n\n .tab-group__tabs {\n flex: 1 1 auto;\n position: relative;\n flex-direction: row;\n }\n\n .tab-group__body {\n order: 2;\n }\n}\n\n// Bottom\n.tab-group--bottom {\n flex-direction: column;\n\n .tab-group__nav-container {\n order: 2;\n }\n\n .tab-group__nav {\n display: flex;\n overflow-x: auto;\n @include hide-scrollbar();\n }\n\n .tab-group__tabs {\n flex: 1 1 auto;\n position: relative;\n flex-direction: row;\n }\n\n .tab-group__body {\n order: 1;\n }\n}\n\n// Left\n\n.tab-group--left {\n flex-direction: row;\n\n .tab-group__nav-container {\n order: 1;\n }\n\n .tab-group__tabs {\n flex: 0 0 auto;\n flex-direction: column;\n }\n\n .tab-group__body {\n flex: 1 1 auto;\n order: 2;\n }\n}\n\n// Right\n.tab-group--right {\n flex-direction: row;\n\n .tab-group__nav-container {\n order: 2;\n }\n\n .tab-group__tabs {\n flex: 0 0 auto;\n flex-direction: column;\n }\n\n .tab-group__body {\n flex: 1 1 auto;\n order: 1;\n }\n}\n","import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { scrollIntoView } from '../../utils/scroll';\nimport { flipAnimate } from '../../utils/animation';\n\nexport interface SixTabShowPayload {\n name: string;\n}\n\nexport interface SixTabHidePayload {\n name: string;\n}\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot nav - Used for grouping tabs in the tab group.\n * @slot - Used for grouping tab panels in the tab group.\n *\n * @part base - The component's base wrapper.\n * @part nav - The tab group navigation container.\n * @part tabs - The container that wraps the slotted tabs.\n * @part active-tab-indicator - An element that displays the currently selected tab. This is a child of the tab's container.\n * @part body - The tab group body where tab panels are slotted in.\n * @part scroll-button - The previous and next scroll buttons that appear when tabs are scrollable.\n */\n@Component({\n tag: 'six-tab-group',\n styleUrl: 'six-tab-group.scss',\n shadow: true,\n})\nexport class SixTabGroup {\n private activeTab?: HTMLSixTabElement;\n private body?: HTMLElement;\n private mutationObserver?: MutationObserver;\n private nav?: HTMLElement;\n private resizeObserver?: ResizeObserver;\n private tabGroup?: HTMLElement;\n private tabs?: HTMLElement;\n\n @Element() host!: HTMLSixTabGroupElement;\n\n @State() hasScrollControls = false;\n\n /** The placement of the tabs. */\n @Prop() placement: 'top' | 'bottom' | 'left' | 'right' = 'top';\n\n /** Disables the scroll arrows that appear when tabs overflow. */\n @Prop() noScrollControls = false;\n\n @Watch('noScrollControls')\n handleNoScrollControlsChange() {\n this.updateScrollControls();\n }\n\n /** Emitted when a tab is shown. */\n @Event({ eventName: 'six-tab-show' }) sixTabShow!: EventEmitter<SixTabShowPayload>;\n\n /** Emitted when a tab is hidden. */\n @Event({ eventName: 'six-tab-hide' }) sixTabHide!: EventEmitter<SixTabHidePayload>;\n\n componentDidLoad() {\n if (this.tabGroup == null || this.nav == null) return;\n\n // Set initial tab state when the tabs first become visible\n const observer = new IntersectionObserver((entries, observer) => {\n if (entries[0].intersectionRatio > 0) {\n this.setAriaLabels();\n this.setActiveTab(this.getActiveTab() || this.getAllTabs()[0], false);\n observer.unobserve(entries[0].target);\n }\n });\n observer.observe(this.host);\n this.resizeObserver = new ResizeObserver(() => this.updateScrollControls());\n this.resizeObserver.observe(this.nav);\n requestAnimationFrame(() => this.updateScrollControls());\n\n // Update aria labels if the DOM changes\n this.mutationObserver = new MutationObserver((mutations) => {\n if (\n mutations.some((mutation) => {\n return !['aria-labelledby', 'aria-controls'].includes(mutation.attributeName ?? '');\n })\n ) {\n setTimeout(() => this.setAriaLabels());\n }\n });\n this.mutationObserver.observe(this.host, { attributes: true, childList: true, subtree: true });\n }\n\n disconnectedCallback() {\n if (this.mutationObserver == null || this.tabGroup == null || this.nav == null || this.resizeObserver == null) {\n return;\n }\n this.mutationObserver.disconnect();\n this.resizeObserver.unobserve(this.nav);\n }\n\n /** Shows the specified tab panel. */\n @Method()\n async show(panel: string) {\n const tabs = this.getAllTabs();\n const tab = tabs.find((el) => el.panel === panel);\n\n if (tab != null) {\n this.setActiveTab(tab);\n }\n }\n\n private getAllTabs(includeDisabled = false): HTMLSixTabElement[] {\n const slot = this.tabs?.querySelector('slot');\n if (slot == null) return [];\n\n return [...slot.assignedElements()].filter((el: Element) => {\n return includeDisabled\n ? el.tagName.toLowerCase() === 'six-tab'\n : el.tagName.toLowerCase() === 'six-tab' && !(el as HTMLSixTabElement).disabled;\n }) as [HTMLSixTabElement];\n }\n\n private getAllPanels(): HTMLSixTabPanelElement[] {\n const slot = this.body?.querySelector('slot');\n if (slot == null) return [];\n return [...slot.assignedElements()].filter((el: Element) => el.tagName.toLowerCase() === 'six-tab-panel') as [\n HTMLSixTabPanelElement\n ];\n }\n\n private getActiveTab() {\n return this.getAllTabs().find((el) => el.active);\n }\n\n private handleClick = (event: MouseEvent) => {\n const target = event.target as HTMLElement;\n const tab = target.closest('six-tab');\n const tabGroup = tab?.closest('six-tab-group');\n\n // Ensure the target tab is in this tab group\n if (tabGroup !== this.host) {\n return false;\n }\n\n if (tab != null) {\n this.setActiveTab(tab);\n }\n };\n\n private handleKeyDown = (event: KeyboardEvent) => {\n if (this.nav == null) return;\n\n const target = event.target as HTMLElement;\n const tab = target.closest('six-tab');\n const tabGroup = tab?.closest('six-tab-group');\n\n // Ensure the target tab is in this tab group\n if (tabGroup !== this.host) {\n return false;\n }\n\n // Move focus left or right\n if (['ArrowLeft', 'ArrowRight', 'ArrowUp', 'ArrowDown', 'Home', 'End'].includes(event.key)) {\n const activeEl = document.activeElement as HTMLSixTabElement;\n\n if (activeEl && activeEl.tagName.toLowerCase() === 'six-tab') {\n const tabs = this.getAllTabs();\n let index = tabs.indexOf(activeEl);\n\n if (event.key === 'Home') {\n index = 0;\n } else if (event.key === 'End') {\n index = tabs.length - 1;\n } else if (event.key === 'ArrowLeft') {\n index = Math.max(0, index - 1);\n } else if (event.key === 'ArrowRight') {\n index = Math.min(tabs.length - 1, index + 1);\n }\n\n tabs[index].setFocus({ preventScroll: true });\n this.setActiveTab(tabs[index]);\n\n if (['top', 'bottom'].includes(this.placement)) {\n scrollIntoView(tabs[index], this.nav, 'horizontal');\n }\n\n event.preventDefault();\n }\n }\n };\n\n private handleScrollLeft = () => {\n if (this.nav == null) return;\n\n this.nav.scroll({\n left: this.nav.scrollLeft - this.nav.clientWidth,\n behavior: 'smooth',\n });\n };\n\n private handleScrollRight = () => {\n if (this.nav == null) return;\n\n this.nav.scroll({\n left: this.nav.scrollLeft + this.nav.clientWidth,\n behavior: 'smooth',\n });\n };\n\n private updateScrollControls() {\n if (this.nav == null) return;\n\n this.hasScrollControls = this.noScrollControls\n ? false\n : ['top', 'bottom'].includes(this.placement) && this.nav.scrollWidth > this.nav.clientWidth;\n }\n\n private setActiveTab(tab: HTMLSixTabElement, emitEvents = true) {\n if (this.nav == null) return;\n\n const newIndicator = tab?.shadowRoot?.querySelector('.tab__indicator');\n const oldIndicator = this.getActiveTab()?.shadowRoot?.querySelector('.tab__indicator');\n\n if (oldIndicator != null && newIndicator != null) {\n flipAnimate(newIndicator, oldIndicator);\n }\n\n if (tab !== this.activeTab && !tab.disabled) {\n const previousTab = this.activeTab;\n this.activeTab = tab;\n\n // Sync tabs and panels\n this.getAllTabs().map((el) => (el.active = el === this.activeTab));\n this.getAllPanels().map((el) => (el.active = el.name === this.activeTab?.panel));\n\n if (['top', 'bottom'].includes(this.placement)) {\n scrollIntoView(this.activeTab, this.nav, 'horizontal');\n }\n\n // Emit events\n if (emitEvents) {\n if (previousTab != null) {\n this.sixTabHide.emit({ name: previousTab.panel });\n }\n\n this.sixTabShow.emit({ name: this.activeTab.panel });\n }\n }\n }\n\n private setAriaLabels() {\n const tabs = this.getAllTabs();\n const panels = this.getAllPanels();\n\n // Link each tab with its corresponding panel\n tabs.map((tab) => {\n const panel = panels.find((el) => el.name === tab.panel);\n if (panel != null) {\n tab.setAttribute('aria-controls', panel.getAttribute('id') ?? '');\n panel.setAttribute('aria-labelledby', tab.getAttribute('id') ?? '');\n }\n });\n }\n\n render() {\n return (\n <div\n part=\"base\"\n ref={(el) => (this.tabGroup = el)}\n class={{\n 'tab-group': true,\n\n // Placements\n 'tab-group--top': this.placement === 'top',\n 'tab-group--bottom': this.placement === 'bottom',\n 'tab-group--left': this.placement === 'left',\n 'tab-group--right': this.placement === 'right',\n\n 'tab-group--has-scroll-controls': this.hasScrollControls,\n }}\n onClick={this.handleClick}\n onKeyDown={this.handleKeyDown}\n >\n <div class=\"tab-group__nav-container\">\n {this.hasScrollControls && (\n <six-icon-button\n class=\"tab-group__scroll-button tab-group__scroll-button--left\"\n exportparts=\"base:scroll-button\"\n name=\"chevron_left\"\n onClick={this.handleScrollLeft}\n />\n )}\n <div ref={(el) => (this.nav = el)} key=\"nav\" part=\"nav\" class=\"tab-group__nav\">\n <div ref={(el) => (this.tabs = el)} part=\"tabs\" class=\"tab-group__tabs\" role=\"tablist\">\n <slot name=\"nav\" />\n </div>\n </div>\n {this.hasScrollControls && (\n <six-icon-button\n class=\"tab-group__scroll-button tab-group__scroll-button--right\"\n exportparts=\"base:scroll-button\"\n name=\"chevron_right\"\n onClick={this.handleScrollRight}\n />\n )}\n </div>\n\n <div ref={(el) => (this.body = el)} part=\"body\" class=\"tab-group__body\">\n <slot />\n </div>\n </div>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"six-tab-group.entry.cjs.js","mappings":";;;;;AAAA;;;;;;;;;;AAUG;SACa,WAAW,CACzB,OAAgB,EAChB,WAAoB,EACpB,OAAoC,GAAA;AAClC,IAAA,QAAQ,EAAE,GAAG;AACb,IAAA,MAAM,EAAE,MAAM;AACd,IAAA,IAAI,EAAE,MAAM;AACb,CAAA,EAAA;AAED,IAAA,MAAM,YAAY,GAAG,WAAW,CAAC,qBAAqB,EAAE;AACxD,IAAA,M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EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC,EAAE,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,iBAAiB,EAAA,EACrEA,OAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACJ,CACF;;;;;;;;;;;","names":["scrollIntoView","h"],"sources":["src/utils/animation.ts","src/components/six-tab-group/six-tab-group.scss?tag=six-tab-group&encapsulation=shadow","src/components/six-tab-group/six-tab-group.tsx"],"sourcesContent":["/**\n * Animates a given `element` from the position and dimension of `fromElement` to\n * its current position and dimension. Can be useful to implement the FLIP animation technique.\n *\n * @see {@link https://css-tricks.com/animating-layouts-with-the-flip-technique/} for details on the FLIP technique.\n *\n * @param {Element} element - The element to animate.\n * @param {Element} fromElement - The element representing the initial position and dimensions.\n * @param {KeyframeAnimationOptions} [options={ duration: 150, easing: 'ease', fill: 'both' }] - Optional animation parameters.\n *\n */\nexport function flipAnimate(\n element: Element,\n fromElement: Element,\n options: KeyframeAnimationOptions = {\n duration: 150,\n easing: 'ease',\n fill: 'both',\n }\n) {\n const dimensionsTo = fromElement.getBoundingClientRect();\n const dimensionsFrom = element.getBoundingClientRect();\n\n const deltaX = dimensionsTo.left - dimensionsFrom.left;\n const deltaY = dimensionsTo.top - dimensionsFrom.top;\n const deltaW = dimensionsTo.width / dimensionsFrom.width;\n const deltaH = dimensionsTo.height / dimensionsFrom.height;\n\n element.animate(\n [\n {\n transformOrigin: 'top left',\n transform: `translate(${deltaX}px, ${deltaY}px) scale(${deltaW}, ${deltaH})`,\n },\n {\n transformOrigin: 'top left',\n transform: 'none',\n },\n ],\n options\n );\n}\n","@import 'src/global/component';\n@import 'src/global/mixins/hide-scrollbar';\n\n:host {\n display: block;\n}\n\n.tab-group {\n display: flex;\n border: solid 1px transparent;\n border-radius: 0;\n\n .tab-group__tabs {\n display: flex;\n position: relative;\n }\n}\n\n.tab-group--has-scroll-controls .tab-group__nav-container {\n position: relative;\n padding: 0 var(--six-spacing-x-large);\n}\n\n.tab-group__scroll-button {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n top: 0;\n bottom: 0;\n width: var(--six-spacing-x-large);\n}\n\n.tab-group__scroll-button--left {\n left: 0;\n}\n\n.tab-group__scroll-button--right {\n right: 0;\n}\n\n// TOP\n.tab-group--top {\n flex-direction: column;\n\n .tab-group__nav-container {\n order: 1;\n }\n\n .tab-group__nav {\n display: flex;\n overflow-x: auto;\n @include hide-scrollbar();\n }\n\n .tab-group__tabs {\n flex: 1 1 auto;\n position: relative;\n flex-direction: row;\n }\n\n .tab-group__body {\n order: 2;\n }\n}\n\n// Bottom\n.tab-group--bottom {\n flex-direction: column;\n\n .tab-group__nav-container {\n order: 2;\n }\n\n .tab-group__nav {\n display: flex;\n overflow-x: auto;\n @include hide-scrollbar();\n }\n\n .tab-group__tabs {\n flex: 1 1 auto;\n position: relative;\n flex-direction: row;\n }\n\n .tab-group__body {\n order: 1;\n }\n}\n\n// Left\n\n.tab-group--left {\n flex-direction: row;\n\n .tab-group__nav-container {\n order: 1;\n }\n\n .tab-group__tabs {\n flex: 0 0 auto;\n flex-direction: column;\n }\n\n .tab-group__body {\n flex: 1 1 auto;\n order: 2;\n }\n}\n\n// Right\n.tab-group--right {\n flex-direction: row;\n\n .tab-group__nav-container {\n order: 2;\n }\n\n .tab-group__tabs {\n flex: 0 0 auto;\n flex-direction: column;\n }\n\n .tab-group__body {\n flex: 1 1 auto;\n order: 1;\n }\n}\n","import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { scrollIntoView } from '../../utils/scroll';\nimport { flipAnimate } from '../../utils/animation';\n\nexport interface SixTabShowPayload {\n name: string;\n}\n\nexport interface SixTabHidePayload {\n name: string;\n}\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot nav - Used for grouping tabs in the tab group.\n * @slot - Used for grouping tab panels in the tab group.\n *\n * @part base - The component's base wrapper.\n * @part nav - The tab group navigation container.\n * @part tabs - The container that wraps the slotted tabs.\n * @part active-tab-indicator - An element that displays the currently selected tab. This is a child of the tab's container.\n * @part body - The tab group body where tab panels are slotted in.\n * @part scroll-button - The previous and next scroll buttons that appear when tabs are scrollable.\n */\n@Component({\n tag: 'six-tab-group',\n styleUrl: 'six-tab-group.scss',\n shadow: true,\n})\nexport class SixTabGroup {\n private activeTab?: HTMLSixTabElement;\n private body?: HTMLElement;\n private mutationObserver?: MutationObserver;\n private nav?: HTMLElement;\n private resizeObserver?: ResizeObserver;\n private tabGroup?: HTMLElement;\n private tabs?: HTMLElement;\n\n @Element() host!: HTMLSixTabGroupElement;\n\n @State() hasLeftControl = false;\n @State() hasRightControl = false;\n\n /** The placement of the tabs. */\n @Prop() placement: 'top' | 'bottom' | 'left' | 'right' = 'top';\n\n /** Disables the scroll arrows that appear when tabs overflow. */\n @Prop() noScrollControls = false;\n\n @Watch('noScrollControls')\n handleNoScrollControlsChange() {\n this.updateScrollControls();\n }\n\n /** Emitted when a tab is shown. */\n @Event({ eventName: 'six-tab-show' }) sixTabShow!: EventEmitter<SixTabShowPayload>;\n\n /** Emitted when a tab is hidden. */\n @Event({ eventName: 'six-tab-hide' }) sixTabHide!: EventEmitter<SixTabHidePayload>;\n\n componentDidLoad() {\n if (this.tabGroup == null || this.nav == null) return;\n\n // Set initial tab state when the tabs first become visible\n const observer = new IntersectionObserver((entries, observer) => {\n if (entries[0].intersectionRatio > 0) {\n this.setAriaLabels();\n this.setActiveTab(this.getActiveTab() || this.getAllTabs()[0], false);\n observer.unobserve(entries[0].target);\n }\n });\n observer.observe(this.host);\n this.resizeObserver = new ResizeObserver(() => this.updateScrollControls());\n this.resizeObserver.observe(this.nav);\n requestAnimationFrame(() => this.updateScrollControls());\n\n this.nav.addEventListener('scroll', () => {\n if (this.nav == null) {\n return;\n }\n this.hasRightControl = this.calculateRightControlVisibility();\n\n this.hasLeftControl = this.calculateLeftControlVisibility();\n });\n\n // Update aria labels if the DOM changes\n this.mutationObserver = new MutationObserver((mutations) => {\n if (\n mutations.some((mutation) => {\n return !['aria-labelledby', 'aria-controls'].includes(mutation.attributeName ?? '');\n })\n ) {\n setTimeout(() => this.setAriaLabels());\n }\n });\n this.mutationObserver.observe(this.host, { attributes: true, childList: true, subtree: true });\n }\n\n disconnectedCallback() {\n if (this.mutationObserver == null || this.tabGroup == null || this.nav == null || this.resizeObserver == null) {\n return;\n }\n this.mutationObserver.disconnect();\n this.resizeObserver.unobserve(this.nav);\n }\n\n /** Shows the specified tab panel. */\n @Method()\n async show(panel: string) {\n const tabs = this.getAllTabs();\n const tab = tabs.find((el) => el.panel === panel);\n\n if (tab != null) {\n this.setActiveTab(tab);\n }\n }\n\n private getAllTabs(includeDisabled = false): HTMLSixTabElement[] {\n const slot = this.tabs?.querySelector('slot');\n if (slot == null) return [];\n\n return [...slot.assignedElements()].filter((el: Element) => {\n return includeDisabled\n ? el.tagName.toLowerCase() === 'six-tab'\n : el.tagName.toLowerCase() === 'six-tab' && !(el as HTMLSixTabElement).disabled;\n }) as [HTMLSixTabElement];\n }\n\n private getAllPanels(): HTMLSixTabPanelElement[] {\n const slot = this.body?.querySelector('slot');\n if (slot == null) return [];\n return [...slot.assignedElements()].filter((el: Element) => el.tagName.toLowerCase() === 'six-tab-panel') as [\n HTMLSixTabPanelElement\n ];\n }\n\n private getActiveTab() {\n return this.getAllTabs().find((el) => el.active);\n }\n\n private handleClick = (event: MouseEvent) => {\n const target = event.target as HTMLElement;\n const tab = target.closest('six-tab');\n const tabGroup = tab?.closest('six-tab-group');\n\n // Ensure the target tab is in this tab group\n if (tabGroup !== this.host) {\n return false;\n }\n\n if (tab != null) {\n this.setActiveTab(tab);\n }\n };\n\n private handleKeyDown = (event: KeyboardEvent) => {\n if (this.nav == null) return;\n\n const target = event.target as HTMLElement;\n const tab = target.closest('six-tab');\n const tabGroup = tab?.closest('six-tab-group');\n\n // Ensure the target tab is in this tab group\n if (tabGroup !== this.host) {\n return false;\n }\n\n // Move focus left or right\n if (['ArrowLeft', 'ArrowRight', 'ArrowUp', 'ArrowDown', 'Home', 'End'].includes(event.key)) {\n const activeEl = document.activeElement as HTMLSixTabElement;\n\n if (activeEl && activeEl.tagName.toLowerCase() === 'six-tab') {\n const tabs = this.getAllTabs();\n let index = tabs.indexOf(activeEl);\n\n if (event.key === 'Home') {\n index = 0;\n } else if (event.key === 'End') {\n index = tabs.length - 1;\n } else if (event.key === 'ArrowLeft') {\n index = Math.max(0, index - 1);\n } else if (event.key === 'ArrowRight') {\n index = Math.min(tabs.length - 1, index + 1);\n }\n\n tabs[index].setFocus({ preventScroll: true });\n this.setActiveTab(tabs[index]);\n\n if (['top', 'bottom'].includes(this.placement)) {\n scrollIntoView(tabs[index], this.nav, 'horizontal');\n }\n\n event.preventDefault();\n }\n }\n };\n\n private handleScrollLeft = () => {\n if (this.nav == null) return;\n\n this.nav.scroll({\n left: this.nav.scrollLeft - this.nav.clientWidth,\n behavior: 'smooth',\n });\n };\n\n private handleScrollRight = () => {\n if (this.nav == null) return;\n\n this.nav.scroll({\n left: this.nav.scrollLeft + this.nav.clientWidth,\n behavior: 'smooth',\n });\n };\n\n private calculateRightControlVisibility() {\n if (this.nav == null) {\n return false;\n }\n return Math.abs(this.nav?.scrollLeft) + this.nav?.clientWidth < this.nav?.scrollWidth - 1;\n }\n\n private calculateLeftControlVisibility() {\n if (this.nav == null) {\n return false;\n }\n return Math.abs(this.nav?.scrollLeft) > 0;\n }\n\n private updateScrollControls() {\n if (this.nav == null) return;\n\n this.hasRightControl = this.noScrollControls\n ? false\n : ['top', 'bottom'].includes(this.placement) && this.calculateRightControlVisibility();\n\n this.hasLeftControl = this.noScrollControls\n ? false\n : ['top', 'bottom'].includes(this.placement) && this.calculateLeftControlVisibility();\n }\n\n private setActiveTab(tab: HTMLSixTabElement, emitEvents = true) {\n if (this.nav == null) return;\n\n const newIndicator = tab?.shadowRoot?.querySelector('.tab__indicator');\n const oldIndicator = this.getActiveTab()?.shadowRoot?.querySelector('.tab__indicator');\n\n if (oldIndicator != null && newIndicator != null) {\n flipAnimate(newIndicator, oldIndicator);\n }\n\n if (tab !== this.activeTab && !tab.disabled) {\n const previousTab = this.activeTab;\n this.activeTab = tab;\n\n // Sync tabs and panels\n this.getAllTabs().map((el) => (el.active = el === this.activeTab));\n this.getAllPanels().map((el) => (el.active = el.name === this.activeTab?.panel));\n\n if (['top', 'bottom'].includes(this.placement)) {\n scrollIntoView(this.activeTab, this.nav, 'horizontal');\n }\n\n // Emit events\n if (emitEvents) {\n if (previousTab != null) {\n this.sixTabHide.emit({ name: previousTab.panel });\n }\n\n this.sixTabShow.emit({ name: this.activeTab.panel });\n }\n }\n }\n\n private setAriaLabels() {\n const tabs = this.getAllTabs();\n const panels = this.getAllPanels();\n\n // Link each tab with its corresponding panel\n tabs.map((tab) => {\n const panel = panels.find((el) => el.name === tab.panel);\n if (panel != null) {\n tab.setAttribute('aria-controls', panel.getAttribute('id') ?? '');\n panel.setAttribute('aria-labelledby', tab.getAttribute('id') ?? '');\n }\n });\n }\n\n render() {\n return (\n <div\n part=\"base\"\n ref={(el) => (this.tabGroup = el)}\n class={{\n 'tab-group': true,\n\n // Placements\n 'tab-group--top': this.placement === 'top',\n 'tab-group--bottom': this.placement === 'bottom',\n 'tab-group--left': this.placement === 'left',\n 'tab-group--right': this.placement === 'right',\n\n 'tab-group--has-scroll-controls': this.hasRightControl || this.hasLeftControl,\n }}\n onClick={this.handleClick}\n onKeyDown={this.handleKeyDown}\n >\n <div class=\"tab-group__nav-container\">\n {this.hasLeftControl && (\n <six-icon-button\n class=\"tab-group__scroll-button tab-group__scroll-button--left\"\n exportparts=\"base:scroll-button\"\n name=\"chevron_left\"\n onClick={this.handleScrollLeft}\n />\n )}\n <div ref={(el) => (this.nav = el)} key=\"nav\" part=\"nav\" class=\"tab-group__nav\">\n <div ref={(el) => (this.tabs = el)} part=\"tabs\" class=\"tab-group__tabs\" role=\"tablist\">\n <slot name=\"nav\" />\n </div>\n </div>\n {this.hasRightControl && (\n <six-icon-button\n class=\"tab-group__scroll-button tab-group__scroll-button--right\"\n exportparts=\"base:scroll-button\"\n name=\"chevron_right\"\n onClick={this.handleScrollRight}\n />\n )}\n </div>\n\n <div ref={(el) => (this.body = el)} part=\"body\" class=\"tab-group__body\">\n <slot />\n </div>\n </div>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"six-tab-group.entry.cjs.js","sources":["src/utils/animation.ts","src/components/six-tab-group/six-tab-group.scss?tag=six-tab-group&encapsulation=shadow","src/components/six-tab-group/six-tab-group.tsx"],"sourcesContent":["/**\n * Animates a given `element` from the position and dimension of `fromElement` to\n * its current position and dimension. Can be useful to implement the FLIP animation technique.\n *\n * @see {@link https://css-tricks.com/animating-layouts-with-the-flip-technique/} for details on the FLIP technique.\n *\n * @param {Element} element - The element to animate.\n * @param {Element} fromElement - The element representing the initial position and dimensions.\n * @param {KeyframeAnimationOptions} [options={ duration: 150, easing: 'ease', fill: 'both' }] - Optional animation parameters.\n *\n */\nexport function flipAnimate(\n element: Element,\n fromElement: Element,\n options: KeyframeAnimationOptions = {\n duration: 150,\n easing: 'ease',\n fill: 'both',\n }\n) {\n const dimensionsTo = fromElement.getBoundingClientRect();\n const dimensionsFrom = element.getBoundingClientRect();\n\n const deltaX = dimensionsTo.left - dimensionsFrom.left;\n const deltaY = dimensionsTo.top - dimensionsFrom.top;\n const deltaW = dimensionsTo.width / dimensionsFrom.width;\n const deltaH = dimensionsTo.height / dimensionsFrom.height;\n\n element.animate(\n [\n {\n transformOrigin: 'top left',\n transform: `translate(${deltaX}px, ${deltaY}px) scale(${deltaW}, ${deltaH})`,\n },\n {\n transformOrigin: 'top left',\n transform: 'none',\n },\n ],\n options\n );\n}\n","@import 'src/global/component';\n@import 'src/global/mixins/hide-scrollbar';\n\n:host {\n display: block;\n}\n\n.tab-group {\n display: flex;\n border: solid 1px transparent;\n border-radius: 0;\n\n .tab-group__tabs {\n display: flex;\n position: relative;\n }\n}\n\n.tab-group--has-scroll-controls .tab-group__nav-container {\n position: relative;\n padding: 0 var(--six-spacing-x-large);\n}\n\n.tab-group__scroll-button {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n top: 0;\n bottom: 0;\n width: var(--six-spacing-x-large);\n}\n\n.tab-group__scroll-button--left {\n left: 0;\n}\n\n.tab-group__scroll-button--right {\n right: 0;\n}\n\n// TOP\n.tab-group--top {\n flex-direction: column;\n\n .tab-group__nav-container {\n order: 1;\n }\n\n .tab-group__nav {\n display: flex;\n overflow-x: auto;\n @include hide-scrollbar();\n }\n\n .tab-group__tabs {\n flex: 1 1 auto;\n position: relative;\n flex-direction: row;\n }\n\n .tab-group__body {\n order: 2;\n }\n}\n\n// Bottom\n.tab-group--bottom {\n flex-direction: column;\n\n .tab-group__nav-container {\n order: 2;\n }\n\n .tab-group__nav {\n display: flex;\n overflow-x: auto;\n @include hide-scrollbar();\n }\n\n .tab-group__tabs {\n flex: 1 1 auto;\n position: relative;\n flex-direction: row;\n }\n\n .tab-group__body {\n order: 1;\n }\n}\n\n// Left\n\n.tab-group--left {\n flex-direction: row;\n\n .tab-group__nav-container {\n order: 1;\n }\n\n .tab-group__tabs {\n flex: 0 0 auto;\n flex-direction: column;\n }\n\n .tab-group__body {\n flex: 1 1 auto;\n order: 2;\n }\n}\n\n// Right\n.tab-group--right {\n flex-direction: row;\n\n .tab-group__nav-container {\n order: 2;\n }\n\n .tab-group__tabs {\n flex: 0 0 auto;\n flex-direction: column;\n }\n\n .tab-group__body {\n flex: 1 1 auto;\n order: 1;\n }\n}\n","import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { scrollIntoView } from '../../utils/scroll';\nimport { flipAnimate } from '../../utils/animation';\n\nexport interface SixTabShowPayload {\n name: string;\n}\n\nexport interface SixTabHidePayload {\n name: string;\n}\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot nav - Used for grouping tabs in the tab group.\n * @slot - Used for grouping tab panels in the tab group.\n *\n * @part base - The component's base wrapper.\n * @part nav - The tab group navigation container.\n * @part tabs - The container that wraps the slotted tabs.\n * @part active-tab-indicator - An element that displays the currently selected tab. This is a child of the tab's container.\n * @part body - The tab group body where tab panels are slotted in.\n * @part scroll-button - The previous and next scroll buttons that appear when tabs are scrollable.\n */\n@Component({\n tag: 'six-tab-group',\n styleUrl: 'six-tab-group.scss',\n shadow: true,\n})\nexport class SixTabGroup {\n private activeTab?: HTMLSixTabElement;\n private body?: HTMLElement;\n private mutationObserver?: MutationObserver;\n private nav?: HTMLElement;\n private resizeObserver?: ResizeObserver;\n private tabGroup?: HTMLElement;\n private tabs?: HTMLElement;\n\n @Element() host!: HTMLSixTabGroupElement;\n\n @State() hasLeftControl = false;\n @State() hasRightControl = false;\n\n /** The placement of the tabs. */\n @Prop() placement: 'top' | 'bottom' | 'left' | 'right' = 'top';\n\n /** Disables the scroll arrows that appear when tabs overflow. */\n @Prop() noScrollControls = false;\n\n @Watch('noScrollControls')\n handleNoScrollControlsChange() {\n this.updateScrollControls();\n }\n\n /** Emitted when a tab is shown. */\n @Event({ eventName: 'six-tab-show' }) sixTabShow!: EventEmitter<SixTabShowPayload>;\n\n /** Emitted when a tab is hidden. */\n @Event({ eventName: 'six-tab-hide' }) sixTabHide!: EventEmitter<SixTabHidePayload>;\n\n componentDidLoad() {\n if (this.tabGroup == null || this.nav == null) return;\n\n // Set initial tab state when the tabs first become visible\n const observer = new IntersectionObserver((entries, observer) => {\n if (entries[0].intersectionRatio > 0) {\n this.setAriaLabels();\n this.setActiveTab(this.getActiveTab() || this.getAllTabs()[0], false);\n observer.unobserve(entries[0].target);\n }\n });\n observer.observe(this.host);\n this.resizeObserver = new ResizeObserver(() => this.updateScrollControls());\n this.resizeObserver.observe(this.nav);\n requestAnimationFrame(() => this.updateScrollControls());\n\n this.nav.addEventListener('scroll', () => {\n if (this.nav == null) {\n return;\n }\n this.hasRightControl = this.calculateRightControlVisibility();\n\n this.hasLeftControl = this.calculateLeftControlVisibility();\n });\n\n // Update aria labels if the DOM changes\n this.mutationObserver = new MutationObserver((mutations) => {\n if (\n mutations.some((mutation) => {\n return !['aria-labelledby', 'aria-controls'].includes(mutation.attributeName ?? '');\n })\n ) {\n setTimeout(() => this.setAriaLabels());\n }\n });\n this.mutationObserver.observe(this.host, { attributes: true, childList: true, subtree: true });\n }\n\n disconnectedCallback() {\n if (this.mutationObserver == null || this.tabGroup == null || this.nav == null || this.resizeObserver == null) {\n return;\n }\n this.mutationObserver.disconnect();\n this.resizeObserver.unobserve(this.nav);\n }\n\n /** Shows the specified tab panel. */\n @Method()\n async show(panel: string) {\n const tabs = this.getAllTabs();\n const tab = tabs.find((el) => el.panel === panel);\n\n if (tab != null) {\n this.setActiveTab(tab);\n }\n }\n\n private getAllTabs(includeDisabled = false): HTMLSixTabElement[] {\n const slot = this.tabs?.querySelector('slot');\n if (slot == null) return [];\n\n return [...slot.assignedElements()].filter((el: Element) => {\n return includeDisabled\n ? el.tagName.toLowerCase() === 'six-tab'\n : el.tagName.toLowerCase() === 'six-tab' && !(el as HTMLSixTabElement).disabled;\n }) as [HTMLSixTabElement];\n }\n\n private getAllPanels(): HTMLSixTabPanelElement[] {\n const slot = this.body?.querySelector('slot');\n if (slot == null) return [];\n return [...slot.assignedElements()].filter((el: Element) => el.tagName.toLowerCase() === 'six-tab-panel') as [\n HTMLSixTabPanelElement\n ];\n }\n\n private getActiveTab() {\n return this.getAllTabs().find((el) => el.active);\n }\n\n private handleClick = (event: MouseEvent) => {\n const target = event.target as HTMLElement;\n const tab = target.closest('six-tab');\n const tabGroup = tab?.closest('six-tab-group');\n\n // Ensure the target tab is in this tab group\n if (tabGroup !== this.host) {\n return false;\n }\n\n if (tab != null) {\n this.setActiveTab(tab);\n }\n };\n\n private handleKeyDown = (event: KeyboardEvent) => {\n if (this.nav == null) return;\n\n const target = event.target as HTMLElement;\n const tab = target.closest('six-tab');\n const tabGroup = tab?.closest('six-tab-group');\n\n // Ensure the target tab is in this tab group\n if (tabGroup !== this.host) {\n return false;\n }\n\n // Move focus left or right\n if (['ArrowLeft', 'ArrowRight', 'ArrowUp', 'ArrowDown', 'Home', 'End'].includes(event.key)) {\n const activeEl = document.activeElement as HTMLSixTabElement;\n\n if (activeEl && activeEl.tagName.toLowerCase() === 'six-tab') {\n const tabs = this.getAllTabs();\n let index = tabs.indexOf(activeEl);\n\n if (event.key === 'Home') {\n index = 0;\n } else if (event.key === 'End') {\n index = tabs.length - 1;\n } else if (event.key === 'ArrowLeft') {\n index = Math.max(0, index - 1);\n } else if (event.key === 'ArrowRight') {\n index = Math.min(tabs.length - 1, index + 1);\n }\n\n tabs[index].setFocus({ preventScroll: true });\n this.setActiveTab(tabs[index]);\n\n if (['top', 'bottom'].includes(this.placement)) {\n scrollIntoView(tabs[index], this.nav, 'horizontal');\n }\n\n event.preventDefault();\n }\n }\n };\n\n private handleScrollLeft = () => {\n if (this.nav == null) return;\n\n this.nav.scroll({\n left: this.nav.scrollLeft - this.nav.clientWidth,\n behavior: 'smooth',\n });\n };\n\n private handleScrollRight = () => {\n if (this.nav == null) return;\n\n this.nav.scroll({\n left: this.nav.scrollLeft + this.nav.clientWidth,\n behavior: 'smooth',\n });\n };\n\n private calculateRightControlVisibility() {\n if (this.nav == null) {\n return false;\n }\n return Math.abs(this.nav?.scrollLeft) + this.nav?.clientWidth < this.nav?.scrollWidth - 1;\n }\n\n private calculateLeftControlVisibility() {\n if (this.nav == null) {\n return false;\n }\n return Math.abs(this.nav?.scrollLeft) > 0;\n }\n\n private updateScrollControls() {\n if (this.nav == null) return;\n\n this.hasRightControl = this.noScrollControls\n ? false\n : ['top', 'bottom'].includes(this.placement) && this.calculateRightControlVisibility();\n\n this.hasLeftControl = this.noScrollControls\n ? false\n : ['top', 'bottom'].includes(this.placement) && this.calculateLeftControlVisibility();\n }\n\n private setActiveTab(tab: HTMLSixTabElement, emitEvents = true) {\n if (this.nav == null) return;\n\n const newIndicator = tab?.shadowRoot?.querySelector('.tab__indicator');\n const oldIndicator = this.getActiveTab()?.shadowRoot?.querySelector('.tab__indicator');\n\n if (oldIndicator != null && newIndicator != null) {\n flipAnimate(newIndicator, oldIndicator);\n }\n\n if (tab !== this.activeTab && !tab.disabled) {\n const previousTab = this.activeTab;\n this.activeTab = tab;\n\n // Sync tabs and panels\n this.getAllTabs().map((el) => (el.active = el === this.activeTab));\n this.getAllPanels().map((el) => (el.active = el.name === this.activeTab?.panel));\n\n if (['top', 'bottom'].includes(this.placement)) {\n scrollIntoView(this.activeTab, this.nav, 'horizontal');\n }\n\n // Emit events\n if (emitEvents) {\n if (previousTab != null) {\n this.sixTabHide.emit({ name: previousTab.panel });\n }\n\n this.sixTabShow.emit({ name: this.activeTab.panel });\n }\n }\n }\n\n private setAriaLabels() {\n const tabs = this.getAllTabs();\n const panels = this.getAllPanels();\n\n // Link each tab with its corresponding panel\n tabs.map((tab) => {\n const panel = panels.find((el) => el.name === tab.panel);\n if (panel != null) {\n tab.setAttribute('aria-controls', panel.getAttribute('id') ?? '');\n panel.setAttribute('aria-labelledby', tab.getAttribute('id') ?? '');\n }\n });\n }\n\n render() {\n return (\n <div\n part=\"base\"\n ref={(el) => (this.tabGroup = el)}\n class={{\n 'tab-group': true,\n\n // Placements\n 'tab-group--top': this.placement === 'top',\n 'tab-group--bottom': this.placement === 'bottom',\n 'tab-group--left': this.placement === 'left',\n 'tab-group--right': this.placement === 'right',\n\n 'tab-group--has-scroll-controls': this.hasRightControl || this.hasLeftControl,\n }}\n onClick={this.handleClick}\n onKeyDown={this.handleKeyDown}\n >\n <div class=\"tab-group__nav-container\">\n {this.hasLeftControl && (\n <six-icon-button\n class=\"tab-group__scroll-button tab-group__scroll-button--left\"\n exportparts=\"base:scroll-button\"\n name=\"chevron_left\"\n onClick={this.handleScrollLeft}\n />\n )}\n <div ref={(el) => (this.nav = el)} key=\"nav\" part=\"nav\" class=\"tab-group__nav\">\n <div ref={(el) => (this.tabs = el)} part=\"tabs\" class=\"tab-group__tabs\" role=\"tablist\">\n <slot name=\"nav\" />\n </div>\n </div>\n {this.hasRightControl && (\n <six-icon-button\n class=\"tab-group__scroll-button tab-group__scroll-button--right\"\n exportparts=\"base:scroll-button\"\n name=\"chevron_right\"\n onClick={this.handleScrollRight}\n />\n )}\n </div>\n\n <div ref={(el) => (this.body = el)} part=\"body\" class=\"tab-group__body\">\n <slot />\n </div>\n </div>\n );\n }\n}\n"],"names":["scrollIntoView","h"],"mappings":";;;;;AAAA;;;;;;;;;;AAUG;SACa,WAAW,CACzB,OAAgB,EAChB,WAAoB,EACpB,OAAoC,GAAA;AAClC,IAAA,QAAQ,EAAE,GAAG;AACb,IAAA,MAAM,EAAE,MAAM;AACd,IAAA,IAAI,EAAE,MAAM;AACb,CAAA,EAAA;AAED,IAAA,MAAM,YAAY,GAAG,WAAW,CAAC,qBAAqB,EAAE;AACxD,IAAA,MAAM,cAAc,GAAG,OAAO,CAAC,qBAAqB,EAAE;IAEtD,MAAM,MAAM,GAAG,YAAY,CAAC,IAAI,GAAG,cAAc,CAAC,IAAI;IACtD,MAAM,MAAM,GAAG,YAAY,CAAC,GAAG,GAAG,cAAc,CAAC,GAAG;IACpD,MAAM,MAAM,GAAG,YAAY,CAAC,KAAK,GAAG,cAAc,CAAC,KAAK;IACxD,MAAM,MAAM,GAAG,YAAY,CAAC,MAAM,GAAG,cAAc,CAAC,MAAM;IAE1D,OAAO,CAAC,OAAO,CACb;AACE,QAAA;AACE,YAAA,eAAe,EAAE,UAAU;YAC3B,SAAS,EAAE,aAAa,MAAM,CAAA,IAAA,EAAO,MAAM,CAAa,UAAA,EAAA,MAAM,CAAK,EAAA,EAAA,MAAM,CAAG,CAAA,CAAA;AAC7E,SAAA;AACD,QAAA;AACE,YAAA,eAAe,EAAE,UAAU;AAC3B,YAAA,SAAS,EAAE,MAAM;AAClB,SAAA;KACF,EACD,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,KAAK,EAAC,gBAAgB,EAAA,EAC5EA,OAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC,EAAE,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,iBAAiB,EAAC,IAAI,EAAC,SAAS,EAAA,EACpFA,OAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,KAAK,EAAA,CAAG,CACf,CACF,EACL,IAAI,CAAC,eAAe,KACnBA,OAAA,CAAA,iBAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAC,0DAA0D,EAChE,WAAW,EAAC,oBAAoB,EAChC,IAAI,EAAC,eAAe,EACpB,OAAO,EAAE,IAAI,CAAC,iBAAiB,EAC/B,CAAA,CACH,CACG,EAENA,OAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC,EAAE,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,iBAAiB,EAAA,EACrEA,OAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACJ,CACF;;;;;;;;;;;"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const index = require('./index-d7748d51.js');
|
|
3
|
+
var index = require('./index-B_stPhJp.js');
|
|
6
4
|
|
|
7
5
|
const sixTabPanelCss = ":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}:host{display:block;font-family:var(--six-font-family)}.tab-panel{border:solid 1px transparent;padding:20px 20px}";
|
|
8
6
|
|
|
@@ -11,18 +9,21 @@ const SixTabPanel = class {
|
|
|
11
9
|
constructor(hostRef) {
|
|
12
10
|
index.registerInstance(this, hostRef);
|
|
13
11
|
this.componentId = `tab-panel-${++id}`;
|
|
12
|
+
/** The tab panel's name. */
|
|
14
13
|
this.name = '';
|
|
14
|
+
/** When true, the tab panel will be shown. */
|
|
15
15
|
this.active = false;
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
18
|
return (
|
|
19
19
|
// If the user didn't provide an ID, we'll set one, so we can link tabs and tab panels with aria labels
|
|
20
|
-
index.h(index.Host, { id: this.host.id || this.componentId, style: { display: this.active ? 'block' : 'none' } }, index.h("div", { part: "base", class: "tab-panel", role: "tabpanel", "aria-selected": this.active ? 'true' : 'false', "aria-hidden": this.active ? 'false' : 'true' }, index.h("slot",
|
|
20
|
+
index.h(index.Host, { key: 'ff4e7fdca87a73712855e445caee1d203ab9f9c6', id: this.host.id || this.componentId, style: { display: this.active ? 'block' : 'none' } }, index.h("div", { key: '9e507234ff4b8adb8118ac0f337ed539fae4013b', part: "base", class: "tab-panel", role: "tabpanel", "aria-selected": this.active ? 'true' : 'false', "aria-hidden": this.active ? 'false' : 'true' }, index.h("slot", { key: '6f05062bdd32c2e1e7fa085a8d27326b1de7c1ff' }))));
|
|
21
21
|
}
|
|
22
22
|
get host() { return index.getElement(this); }
|
|
23
23
|
};
|
|
24
24
|
SixTabPanel.style = sixTabPanelCss;
|
|
25
25
|
|
|
26
26
|
exports.six_tab_panel = SixTabPanel;
|
|
27
|
+
//# sourceMappingURL=six-tab-panel.entry.cjs.js.map
|
|
27
28
|
|
|
28
29
|
//# sourceMappingURL=six-tab-panel.cjs.entry.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"six-tab-panel.entry.cjs.js","mappings":"
|
|
1
|
+
{"file":"six-tab-panel.entry.cjs.js","mappings":";;;;AAAA,MAAM,cAAc,GAAG,4NAA4N;;ACEnP,IAAI,EAAE,GAAG,CAAC;MAkBG,WAAW,GAAA,MAAA;AALxB,IAAA,WAAA,CAAA,OAAA,EAAA;;AAMU,QAAA,IAAA,CAAA,WAAW,GAAG,aAAa,EAAE,EAAE,EAAE;;AAKjC,QAAA,IAAI,CAAA,IAAA,GAAG,EAAE;;AAGQ,QAAA,IAAM,CAAA,MAAA,GAAG,KAAK;AAkBxC;IAhBC,MAAM,GAAA;QACJ;;QAEEA,OAAA,CAACC,UAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAC,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,IAAI,CAAC,WAAW,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,MAAM,GAAG,OAAO,GAAG,MAAM,EAAE,EAAA,EAC5FD,OAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,WAAW,EACjB,IAAI,EAAC,UAAU,EAAA,eAAA,EACA,IAAI,CAAC,MAAM,GAAG,MAAM,GAAG,OAAO,iBAChC,IAAI,CAAC,MAAM,GAAG,OAAO,GAAG,MAAM,EAAA,EAE3CA,OAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACJ,CACD;;;;;;;;","names":["h","Host"],"sources":["src/components/six-tab-panel/six-tab-panel.scss?tag=six-tab-panel&encapsulation=shadow","src/components/six-tab-panel/six-tab-panel.tsx"],"sourcesContent":["@import 'src/global/component';\n\n:host {\n display: block;\n font-family: var(--six-font-family);\n}\n\n.tab-panel {\n border: solid 1px transparent;\n padding: 20px 20px;\n}\n","import { Component, Element, h, Host, Prop } from '@stencil/core';\n\nlet id = 0;\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot - The tab panel's content.\n *\n * @part base - The component's base wrapper.\n */\n\n@Component({\n tag: 'six-tab-panel',\n styleUrl: 'six-tab-panel.scss',\n shadow: true,\n})\nexport class SixTabPanel {\n private componentId = `tab-panel-${++id}`;\n\n @Element() host!: HTMLSixTabPanelElement;\n\n /** The tab panel's name. */\n @Prop() name = '';\n\n /** When true, the tab panel will be shown. */\n @Prop({ reflect: true }) active = false;\n\n render() {\n return (\n // If the user didn't provide an ID, we'll set one, so we can link tabs and tab panels with aria labels\n <Host id={this.host.id || this.componentId} style={{ display: this.active ? 'block' : 'none' }}>\n <div\n part=\"base\"\n class=\"tab-panel\"\n role=\"tabpanel\"\n aria-selected={this.active ? 'true' : 'false'}\n aria-hidden={this.active ? 'false' : 'true'}\n >\n <slot />\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"six-tab-panel.entry.cjs.js","sources":["src/components/six-tab-panel/six-tab-panel.scss?tag=six-tab-panel&encapsulation=shadow","src/components/six-tab-panel/six-tab-panel.tsx"],"sourcesContent":["@import 'src/global/component';\n\n:host {\n display: block;\n font-family: var(--six-font-family);\n}\n\n.tab-panel {\n border: solid 1px transparent;\n padding: 20px 20px;\n}\n","import { Component, Element, h, Host, Prop } from '@stencil/core';\n\nlet id = 0;\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot - The tab panel's content.\n *\n * @part base - The component's base wrapper.\n */\n\n@Component({\n tag: 'six-tab-panel',\n styleUrl: 'six-tab-panel.scss',\n shadow: true,\n})\nexport class SixTabPanel {\n private componentId = `tab-panel-${++id}`;\n\n @Element() host!: HTMLSixTabPanelElement;\n\n /** The tab panel's name. */\n @Prop() name = '';\n\n /** When true, the tab panel will be shown. */\n @Prop({ reflect: true }) active = false;\n\n render() {\n return (\n // If the user didn't provide an ID, we'll set one, so we can link tabs and tab panels with aria labels\n <Host id={this.host.id || this.componentId} style={{ display: this.active ? 'block' : 'none' }}>\n <div\n part=\"base\"\n class=\"tab-panel\"\n role=\"tabpanel\"\n aria-selected={this.active ? 'true' : 'false'}\n aria-hidden={this.active ? 'false' : 'true'}\n >\n <slot />\n </div>\n </Host>\n );\n }\n}\n"],"names":["h","Host"],"mappings":";;;;AAAA,MAAM,cAAc,GAAG,4NAA4N;;ACEnP,IAAI,EAAE,GAAG,CAAC;MAkBG,WAAW,GAAA,MAAA;AALxB,IAAA,WAAA,CAAA,OAAA,EAAA;;AAMU,QAAA,IAAA,CAAA,WAAW,GAAG,aAAa,EAAE,EAAE,EAAE;;AAKjC,QAAA,IAAI,CAAA,IAAA,GAAG,EAAE;;AAGQ,QAAA,IAAM,CAAA,MAAA,GAAG,KAAK;AAkBxC;IAhBC,MAAM,GAAA;QACJ;;QAEEA,OAAA,CAACC,UAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAC,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,IAAI,CAAC,WAAW,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,MAAM,GAAG,OAAO,GAAG,MAAM,EAAE,EAAA,EAC5FD,OAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,WAAW,EACjB,IAAI,EAAC,UAAU,EAAA,eAAA,EACA,IAAI,CAAC,MAAM,GAAG,MAAM,GAAG,OAAO,iBAChC,IAAI,CAAC,MAAM,GAAG,OAAO,GAAG,MAAM,EAAA,EAE3CA,OAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACJ,CACD;;;;;;;;"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const index = require('./index-d7748d51.js');
|
|
3
|
+
var index = require('./index-B_stPhJp.js');
|
|
6
4
|
|
|
7
5
|
const sixTabCss = ":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}:host{display:flex}.tab{display:inline-flex;align-items:center;font-family:var(--six-font-family);font-size:var(--six-font-size-small);font-weight:var(--six-font-weight-semibold);color:var(--six-tab-color);padding:var(--six-spacing-medium) var(--six-spacing-large);white-space:nowrap;user-select:none;cursor:pointer;width:100%}.tab:focus{outline:none}.tab:focus-visible{outline:var(--six-focus-ring);outline-offset:calc(-1 * var(--six-focus-ring-width) - var(--six-focus-ring-offset))}.tab.tab--active:not(.tab--disabled){color:var(--six-tab-color-active);font-weight:var(--six-font-weight-bold)}.tab.tab--closable{padding-right:var(--six-spacing-small)}.tab.tab--disabled{color:var(--six-tab-color-disabled);cursor:not-allowed}.tab:hover:not(.tab--disabled){color:var(--six-tab-color-hover)}.tab__close-button{font-size:var(--six-font-size-large);margin-left:var(--six-spacing-xx-small)}.tab__close-button::part(base){padding:var(--six-spacing-xxx-small)}.tab__indicator{position:absolute}.tab__indicator.tab__indicator--active{background-color:var(--six-tab-border-color-active)}.tab--top{margin-bottom:var(--six-spacing-xxx-small)}.tab__indicator--top{width:100%;bottom:0;height:var(--six-tab-border-width)}.tab--bottom{margin-top:var(--six-spacing-xxx-small)}.tab__indicator--bottom{width:100%;top:0;height:var(--six-tab-border-width)}.tab--left{margin-right:var(--six-spacing-xxx-small)}.tab__indicator--left{height:100%;right:0;top:0;width:var(--six-tab-border-width)}.tab--right{margin-left:var(--six-spacing-xxx-small)}.tab__indicator--right{height:100%;left:0;top:0;width:var(--six-tab-border-width)}";
|
|
8
6
|
|
|
@@ -10,11 +8,15 @@ let id = 0;
|
|
|
10
8
|
const SixTab = class {
|
|
11
9
|
constructor(hostRef) {
|
|
12
10
|
index.registerInstance(this, hostRef);
|
|
13
|
-
this.sixClose = index.createEvent(this, "six-tab-close"
|
|
11
|
+
this.sixClose = index.createEvent(this, "six-tab-close");
|
|
14
12
|
this.componentId = `tab-${++id}`;
|
|
13
|
+
/** The name of the tab panel the tab will control. The panel must be located in the same tab group. */
|
|
15
14
|
this.panel = '';
|
|
15
|
+
/** Set to true to draw the tab in an active state. */
|
|
16
16
|
this.active = false;
|
|
17
|
+
/** When true, the tab will be rendered with a close icon. */
|
|
17
18
|
this.closable = false;
|
|
19
|
+
/** Set to true to draw the tab in a disabled state. */
|
|
18
20
|
this.disabled = false;
|
|
19
21
|
}
|
|
20
22
|
connectedCallback() {
|
|
@@ -39,7 +41,7 @@ const SixTab = class {
|
|
|
39
41
|
const placement = (_a = tabGroup === null || tabGroup === void 0 ? void 0 : tabGroup.placement) !== null && _a !== void 0 ? _a : 'top';
|
|
40
42
|
return (
|
|
41
43
|
// If the user didn't provide an ID, we'll set one, so we can link tabs and tab panels with aria labels
|
|
42
|
-
index.h(index.Host, { id: this.host.id || this.componentId }, index.h("div", { part: "base", ref: (el) => (this.tab = el), class: {
|
|
44
|
+
index.h(index.Host, { key: '1d5d5e515bd7491370ca506c0613dc5787692a54', id: this.host.id || this.componentId }, index.h("div", { key: 'e13f65d6a2d3d70f7b4463b8c685d857020f3597', part: "base", ref: (el) => (this.tab = el), class: {
|
|
43
45
|
tab: true,
|
|
44
46
|
// Placements
|
|
45
47
|
'tab--top': placement === 'top',
|
|
@@ -50,7 +52,7 @@ const SixTab = class {
|
|
|
50
52
|
'tab--active': this.active,
|
|
51
53
|
'tab--closable': this.closable,
|
|
52
54
|
'tab--disabled': this.disabled,
|
|
53
|
-
}, role: "tab", "aria-disabled": this.disabled ? 'true' : 'false', "aria-selected": this.active ? 'true' : 'false', tabindex: this.disabled || !this.active ? '-1' : '0' }, index.h("slot",
|
|
55
|
+
}, role: "tab", "aria-disabled": this.disabled ? 'true' : 'false', "aria-selected": this.active ? 'true' : 'false', tabindex: this.disabled || !this.active ? '-1' : '0' }, index.h("slot", { key: '6fde6d26cb76ba8bd62fd0bf6535b3b34b699c2c' }), this.closable && (index.h("six-icon-button", { key: 'be5edcec20b6f91ca0c6f3bd1ac96372bf579e7f', name: "close", size: "xSmall", exportparts: "base:close-button", class: "tab__close-button", onClick: this.handleCloseClick, tabIndex: -1, "aria-hidden": "true" }))), index.h("div", { key: 'c1fd8a1b882d7f43b36797156e5e2ef8682b1431', part: this.active ? 'active-tab-indicator' : '', class: {
|
|
54
56
|
tab__indicator: true,
|
|
55
57
|
'tab__indicator--active': this.active,
|
|
56
58
|
// Placements
|
|
@@ -65,5 +67,6 @@ const SixTab = class {
|
|
|
65
67
|
SixTab.style = sixTabCss;
|
|
66
68
|
|
|
67
69
|
exports.six_tab = SixTab;
|
|
70
|
+
//# sourceMappingURL=six-tab.entry.cjs.js.map
|
|
68
71
|
|
|
69
72
|
//# sourceMappingURL=six-tab.cjs.entry.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"six-tab.entry.cjs.js","mappings":"
|
|
1
|
+
{"file":"six-tab.entry.cjs.js","mappings":";;;;AAAA,MAAM,SAAS,GAAG,orDAAorD;;ACGtsD,IAAI,EAAE,GAAG,CAAC;MAmBG,MAAM,GAAA,MAAA;AALnB,IAAA,WAAA,CAAA,OAAA,EAAA;;;AAMU,QAAA,IAAA,CAAA,WAAW,GAAG,OAAO,EAAE,EAAE,EAAE;;AAMV,QAAA,IAAK,CAAA,KAAA,GAAG,EAAE;;AAGV,QAAA,IAAM,CAAA,MAAA,GAAG,KAAK;;AAG/B,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;;AAGC,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AAkF1C;IA7EC,iBAAiB,GAAA;QACf,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC;;;IAK1D,MAAM,QAAQ,CAAC,OAAsB,EAAA;;QACnC,CAAA,EAAA,GAAA,IAAI,CAAC,GAAG,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAE,KAAK,CAAC,OAAO,CAAC;;;AAK1B,IAAA,MAAM,WAAW,GAAA;;QACf,CAAA,EAAA,GAAA,IAAI,CAAC,GAAG,MAAE,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAA,IAAI,EAAE;;IAGV,gBAAgB,GAAA;AACtB,QAAA,IAAI,CAAC,QAA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CAAA,EAAA,CAAA,EACP,IAAI,CAAC,QAAQ,KACZA,8EACE,IAAI,EAAC,OAAO,EACZ,IAAI,EAAC,QAAQ,EACb,WAAW,EAAC,mBAAmB,EAC/B,KAAK,EAAC,mBAAmB,EACzB,OAAO,EAAE,IAAI,CAAC,gBAAgB,EAC9B,QAAQ,EAAE,EAAE,EAAA,aAAA,EACA,MAAM,EAAA,CAClB,CACH,CACG,EACNA,OAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,IAAI,EAAE,IAAI,CAAC,MAAM,GAAG,sBAAsB,GAAG,EAAE,EAC/C,KAAK,EAAE;AACL,gBAAA,cAAc,EAAE,IAAI;gBACpB,wBAAwB,EAAE,IAAI,CAAC,MAAM;;gBAGrC,qBAAqB,EAAE,SAAS,KAAK,KAAK;gBAC1C,wBAAwB,EAAE,SAAS,KAAK,QAAQ;gBAChD,sBAAsB,EAAE,SAAS,KAAK,MAAM;gBAC5C,uBAAuB,EAAE,SAAS,KAAK,OAAO;aAC/C,EACI,CAAA,CACF;;;;;;;;","names":["h","Host"],"sources":["src/components/six-tab/six-tab.scss?tag=six-tab&encapsulation=shadow","src/components/six-tab/six-tab.tsx"],"sourcesContent":["@import 'src/global/component';\n\n:host {\n display: flex;\n}\n\n.tab {\n display: inline-flex;\n align-items: center;\n font-family: var(--six-font-family);\n font-size: var(--six-font-size-small);\n font-weight: var(--six-font-weight-semibold);\n color: var(--six-tab-color);\n padding: var(--six-spacing-medium) var(--six-spacing-large);\n white-space: nowrap;\n user-select: none;\n cursor: pointer;\n width: 100%;\n\n &:focus {\n outline: none;\n }\n\n &:focus-visible {\n outline: var(--six-focus-ring);\n outline-offset: calc(-1 * var(--six-focus-ring-width) - var(--six-focus-ring-offset));\n }\n\n &.tab--active:not(.tab--disabled) {\n color: var(--six-tab-color-active);\n font-weight: var(--six-font-weight-bold);\n }\n\n &.tab--closable {\n padding-right: var(--six-spacing-small);\n }\n\n &.tab--disabled {\n color: var(--six-tab-color-disabled);\n cursor: not-allowed;\n }\n\n &:hover:not(.tab--disabled) {\n color: var(--six-tab-color-hover);\n }\n}\n\n.tab__close-button {\n font-size: var(--six-font-size-large);\n margin-left: var(--six-spacing-xx-small);\n\n &::part(base) {\n padding: var(--six-spacing-xxx-small);\n }\n}\n\n// TAB INDICATOR\n.tab__indicator {\n position: absolute;\n &.tab__indicator--active {\n background-color: var(--six-tab-border-color-active);\n }\n}\n\n// TOP\n.tab--top {\n margin-bottom: var(--six-spacing-xxx-small);\n}\n\n.tab__indicator--top {\n width: 100%;\n bottom: 0;\n height: var(--six-tab-border-width);\n}\n\n// BOTTOM\n.tab--bottom {\n margin-top: var(--six-spacing-xxx-small);\n}\n\n.tab__indicator--bottom {\n width: 100%;\n top: 0;\n height: var(--six-tab-border-width);\n}\n\n// LEFT\n.tab--left {\n margin-right: var(--six-spacing-xxx-small);\n}\n\n.tab__indicator--left {\n height: 100%;\n right: 0;\n top: 0;\n width: var(--six-tab-border-width);\n}\n\n// RIGHT\n.tab--right {\n margin-left: var(--six-spacing-xxx-small);\n}\n\n.tab__indicator--right {\n height: 100%;\n left: 0;\n top: 0;\n width: var(--six-tab-border-width);\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Method, Prop } from '@stencil/core';\nimport { EmptyPayload } from '../../utils/types';\n\nlet id = 0;\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot - The tab's label.\n *\n * @part base - The component's base wrapper.\n * @part close-button - The close button, which is the icon button's base wrapper.\n */\n\n@Component({\n tag: 'six-tab',\n styleUrl: 'six-tab.scss',\n shadow: true,\n})\nexport class SixTab {\n private componentId = `tab-${++id}`;\n private tab?: HTMLElement;\n\n @Element() host!: HTMLSixTabElement;\n\n /** The name of the tab panel the tab will control. The panel must be located in the same tab group. */\n @Prop({ reflect: true }) panel = '';\n\n /** Set to true to draw the tab in an active state. */\n @Prop({ reflect: true }) active = false;\n\n /** When true, the tab will be rendered with a close icon. */\n @Prop() closable = false;\n\n /** Set to true to draw the tab in a disabled state. */\n @Prop({ reflect: true }) disabled = false;\n\n /** Emitted when the tab is closable and the close button is activated. */\n @Event({ eventName: 'six-tab-close' }) sixClose!: EventEmitter<EmptyPayload>;\n\n connectedCallback() {\n this.handleCloseClick = this.handleCloseClick.bind(this);\n }\n\n /** Sets focus to the tab. */\n @Method()\n async setFocus(options?: FocusOptions) {\n this.tab?.focus(options);\n }\n\n /** Removes focus from the tab. */\n @Method()\n async removeFocus() {\n this.tab?.blur();\n }\n\n private handleCloseClick() {\n this.sixClose.emit();\n }\n\n render() {\n const tabGroup: HTMLSixTabGroupElement | null = this.host.closest('six-tab-group');\n const placement = tabGroup?.placement ?? 'top';\n return (\n // If the user didn't provide an ID, we'll set one, so we can link tabs and tab panels with aria labels\n <Host id={this.host.id || this.componentId}>\n <div\n part=\"base\"\n ref={(el) => (this.tab = el)}\n class={{\n tab: true,\n\n // Placements\n 'tab--top': placement === 'top',\n 'tab--bottom': placement === 'bottom',\n 'tab--left': placement === 'left',\n 'tab--right': placement === 'right',\n\n // States\n 'tab--active': this.active,\n 'tab--closable': this.closable,\n 'tab--disabled': this.disabled,\n }}\n role=\"tab\"\n aria-disabled={this.disabled ? 'true' : 'false'}\n aria-selected={this.active ? 'true' : 'false'}\n tabindex={this.disabled || !this.active ? '-1' : '0'}\n >\n <slot />\n {this.closable && (\n <six-icon-button\n name=\"close\"\n size=\"xSmall\"\n exportparts=\"base:close-button\"\n class=\"tab__close-button\"\n onClick={this.handleCloseClick}\n tabIndex={-1}\n aria-hidden=\"true\"\n />\n )}\n </div>\n <div\n part={this.active ? 'active-tab-indicator' : ''}\n class={{\n tab__indicator: true,\n 'tab__indicator--active': this.active,\n\n // Placements\n 'tab__indicator--top': placement === 'top',\n 'tab__indicator--bottom': placement === 'bottom',\n 'tab__indicator--left': placement === 'left',\n 'tab__indicator--right': placement === 'right',\n }}\n ></div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"six-tab.entry.cjs.js","sources":["src/components/six-tab/six-tab.scss?tag=six-tab&encapsulation=shadow","src/components/six-tab/six-tab.tsx"],"sourcesContent":["@import 'src/global/component';\n\n:host {\n display: flex;\n}\n\n.tab {\n display: inline-flex;\n align-items: center;\n font-family: var(--six-font-family);\n font-size: var(--six-font-size-small);\n font-weight: var(--six-font-weight-semibold);\n color: var(--six-tab-color);\n padding: var(--six-spacing-medium) var(--six-spacing-large);\n white-space: nowrap;\n user-select: none;\n cursor: pointer;\n width: 100%;\n\n &:focus {\n outline: none;\n }\n\n &:focus-visible {\n outline: var(--six-focus-ring);\n outline-offset: calc(-1 * var(--six-focus-ring-width) - var(--six-focus-ring-offset));\n }\n\n &.tab--active:not(.tab--disabled) {\n color: var(--six-tab-color-active);\n font-weight: var(--six-font-weight-bold);\n }\n\n &.tab--closable {\n padding-right: var(--six-spacing-small);\n }\n\n &.tab--disabled {\n color: var(--six-tab-color-disabled);\n cursor: not-allowed;\n }\n\n &:hover:not(.tab--disabled) {\n color: var(--six-tab-color-hover);\n }\n}\n\n.tab__close-button {\n font-size: var(--six-font-size-large);\n margin-left: var(--six-spacing-xx-small);\n\n &::part(base) {\n padding: var(--six-spacing-xxx-small);\n }\n}\n\n// TAB INDICATOR\n.tab__indicator {\n position: absolute;\n &.tab__indicator--active {\n background-color: var(--six-tab-border-color-active);\n }\n}\n\n// TOP\n.tab--top {\n margin-bottom: var(--six-spacing-xxx-small);\n}\n\n.tab__indicator--top {\n width: 100%;\n bottom: 0;\n height: var(--six-tab-border-width);\n}\n\n// BOTTOM\n.tab--bottom {\n margin-top: var(--six-spacing-xxx-small);\n}\n\n.tab__indicator--bottom {\n width: 100%;\n top: 0;\n height: var(--six-tab-border-width);\n}\n\n// LEFT\n.tab--left {\n margin-right: var(--six-spacing-xxx-small);\n}\n\n.tab__indicator--left {\n height: 100%;\n right: 0;\n top: 0;\n width: var(--six-tab-border-width);\n}\n\n// RIGHT\n.tab--right {\n margin-left: var(--six-spacing-xxx-small);\n}\n\n.tab__indicator--right {\n height: 100%;\n left: 0;\n top: 0;\n width: var(--six-tab-border-width);\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Method, Prop } from '@stencil/core';\nimport { EmptyPayload } from '../../utils/types';\n\nlet id = 0;\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot - The tab's label.\n *\n * @part base - The component's base wrapper.\n * @part close-button - The close button, which is the icon button's base wrapper.\n */\n\n@Component({\n tag: 'six-tab',\n styleUrl: 'six-tab.scss',\n shadow: true,\n})\nexport class SixTab {\n private componentId = `tab-${++id}`;\n private tab?: HTMLElement;\n\n @Element() host!: HTMLSixTabElement;\n\n /** The name of the tab panel the tab will control. The panel must be located in the same tab group. */\n @Prop({ reflect: true }) panel = '';\n\n /** Set to true to draw the tab in an active state. */\n @Prop({ reflect: true }) active = false;\n\n /** When true, the tab will be rendered with a close icon. */\n @Prop() closable = false;\n\n /** Set to true to draw the tab in a disabled state. */\n @Prop({ reflect: true }) disabled = false;\n\n /** Emitted when the tab is closable and the close button is activated. */\n @Event({ eventName: 'six-tab-close' }) sixClose!: EventEmitter<EmptyPayload>;\n\n connectedCallback() {\n this.handleCloseClick = this.handleCloseClick.bind(this);\n }\n\n /** Sets focus to the tab. */\n @Method()\n async setFocus(options?: FocusOptions) {\n this.tab?.focus(options);\n }\n\n /** Removes focus from the tab. */\n @Method()\n async removeFocus() {\n this.tab?.blur();\n }\n\n private handleCloseClick() {\n this.sixClose.emit();\n }\n\n render() {\n const tabGroup: HTMLSixTabGroupElement | null = this.host.closest('six-tab-group');\n const placement = tabGroup?.placement ?? 'top';\n return (\n // If the user didn't provide an ID, we'll set one, so we can link tabs and tab panels with aria labels\n <Host id={this.host.id || this.componentId}>\n <div\n part=\"base\"\n ref={(el) => (this.tab = el)}\n class={{\n tab: true,\n\n // Placements\n 'tab--top': placement === 'top',\n 'tab--bottom': placement === 'bottom',\n 'tab--left': placement === 'left',\n 'tab--right': placement === 'right',\n\n // States\n 'tab--active': this.active,\n 'tab--closable': this.closable,\n 'tab--disabled': this.disabled,\n }}\n role=\"tab\"\n aria-disabled={this.disabled ? 'true' : 'false'}\n aria-selected={this.active ? 'true' : 'false'}\n tabindex={this.disabled || !this.active ? '-1' : '0'}\n >\n <slot />\n {this.closable && (\n <six-icon-button\n name=\"close\"\n size=\"xSmall\"\n exportparts=\"base:close-button\"\n class=\"tab__close-button\"\n onClick={this.handleCloseClick}\n tabIndex={-1}\n aria-hidden=\"true\"\n />\n )}\n </div>\n <div\n part={this.active ? 'active-tab-indicator' : ''}\n class={{\n tab__indicator: true,\n 'tab__indicator--active': this.active,\n\n // Placements\n 'tab__indicator--top': placement === 'top',\n 'tab__indicator--bottom': placement === 'bottom',\n 'tab__indicator--left': placement === 'left',\n 'tab__indicator--right': placement === 'right',\n }}\n ></div>\n </Host>\n );\n }\n}\n"],"names":["h","Host"],"mappings":";;;;AAAA,MAAM,SAAS,GAAG,orDAAorD;;ACGtsD,IAAI,EAAE,GAAG,CAAC;MAmBG,MAAM,GAAA,MAAA;AALnB,IAAA,WAAA,CAAA,OAAA,EAAA;;;AAMU,QAAA,IAAA,CAAA,WAAW,GAAG,OAAO,EAAE,EAAE,EAAE;;AAMV,QAAA,IAAK,CAAA,KAAA,GAAG,EAAE;;AAGV,QAAA,IAAM,CAAA,MAAA,GAAG,KAAK;;AAG/B,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;;AAGC,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AAkF1C;IA7EC,iBAAiB,GAAA;QACf,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC;;;IAK1D,MAAM,QAAQ,CAAC,OAAsB,EAAA;;QACnC,CAAA,EAAA,GAAA,IAAI,CAAC,GAAG,MAAA,IAAA,IAAA,EAAA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