@six-group/ui-library 4.2.6 → 4.3.0
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/{form-control-de259450.js → form-control-b39f1df5.js} +2 -2
- package/dist/cjs/{form-control-de259450.js.map → form-control-b39f1df5.js.map} +1 -1
- package/dist/cjs/index-417a06c8.js +1948 -0
- package/dist/cjs/index-417a06c8.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/six-alert.cjs.entry.js +2 -2
- package/dist/cjs/six-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/six-avatar.cjs.entry.js +3 -3
- package/dist/cjs/six-avatar.cjs.entry.js.map +1 -1
- package/dist/cjs/six-badge.cjs.entry.js +3 -3
- package/dist/cjs/six-button.cjs.entry.js +4 -4
- package/dist/cjs/six-button.cjs.entry.js.map +1 -1
- package/dist/cjs/six-card.cjs.entry.js +2 -2
- package/dist/cjs/{six-checkbox_2.cjs.entry.js → six-checkbox.cjs.entry.js} +5 -69
- package/dist/cjs/six-checkbox.cjs.entry.js.map +1 -0
- package/dist/cjs/six-datepicker.cjs.entry.js +4 -4
- package/dist/cjs/six-datepicker.cjs.entry.js.map +1 -1
- package/dist/cjs/six-details.cjs.entry.js +4 -4
- package/dist/cjs/six-details.cjs.entry.js.map +1 -1
- package/dist/cjs/six-dialog.cjs.entry.js +3 -3
- package/dist/cjs/six-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/six-drawer.cjs.entry.js +3 -3
- package/dist/cjs/six-drawer.cjs.entry.js.map +1 -1
- package/dist/cjs/{six-dropdown_2.cjs.entry.js → six-dropdown_3.cjs.entry.js} +73 -9
- package/dist/cjs/six-dropdown_3.cjs.entry.js.map +1 -0
- package/dist/cjs/six-error-page.cjs.entry.js +2 -2
- package/dist/cjs/six-error.cjs.entry.js +2 -2
- package/dist/cjs/six-file-list-item.cjs.entry.js +3 -3
- package/dist/cjs/six-file-list-item.cjs.entry.js.map +1 -1
- package/dist/cjs/six-file-list.cjs.entry.js +2 -2
- package/dist/cjs/six-file-upload.cjs.entry.js +6 -9
- package/dist/cjs/six-file-upload.cjs.entry.js.map +1 -1
- package/dist/cjs/six-footer.cjs.entry.js +2 -2
- package/dist/cjs/six-group-label.cjs.entry.js +3 -3
- package/dist/cjs/six-header-dropdown-item.cjs.entry.js +45 -0
- package/dist/cjs/six-header-dropdown-item.cjs.entry.js.map +1 -0
- package/dist/cjs/six-header-item_2.cjs.entry.js +47 -0
- package/dist/cjs/six-header-item_2.cjs.entry.js.map +1 -0
- package/dist/cjs/six-header-menu-button.cjs.entry.js +23 -0
- package/dist/cjs/six-header-menu-button.cjs.entry.js.map +1 -0
- package/dist/cjs/six-header.cjs.entry.js +40 -31
- package/dist/cjs/six-header.cjs.entry.js.map +1 -1
- package/dist/cjs/six-icon-button.cjs.entry.js +11 -5
- package/dist/cjs/six-icon-button.cjs.entry.js.map +1 -1
- package/dist/cjs/six-icon.cjs.entry.js +3 -3
- package/dist/cjs/six-input.cjs.entry.js +5 -5
- package/dist/cjs/six-input.cjs.entry.js.map +1 -1
- package/dist/cjs/six-item-picker.cjs.entry.js +4 -4
- package/dist/cjs/six-language-switcher.cjs.entry.js +2 -2
- package/dist/cjs/six-layout-grid.cjs.entry.js +2 -2
- package/dist/cjs/six-main-container.cjs.entry.js +2 -2
- package/dist/cjs/six-menu-divider.cjs.entry.js +2 -2
- package/dist/cjs/six-menu-label.cjs.entry.js +2 -2
- package/dist/cjs/six-picto.cjs.entry.js +2 -2
- package/dist/cjs/six-progress-bar.cjs.entry.js +4 -4
- package/dist/cjs/six-progress-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/six-progress-ring.cjs.entry.js +2 -2
- package/dist/cjs/six-radio.cjs.entry.js +3 -3
- package/dist/cjs/six-range.cjs.entry.js +4 -4
- package/dist/cjs/six-range.cjs.entry.js.map +1 -1
- package/dist/cjs/six-root.cjs.entry.js +2 -2
- package/dist/cjs/six-root.cjs.entry.js.map +1 -1
- package/dist/cjs/six-search-field.cjs.entry.js +2 -2
- package/dist/cjs/six-select.cjs.entry.js +8 -8
- package/dist/cjs/six-select.cjs.entry.js.map +1 -1
- package/dist/cjs/six-sidebar-item-group.cjs.entry.js +3 -3
- package/dist/cjs/six-sidebar-item-group.cjs.entry.js.map +1 -1
- package/dist/cjs/six-sidebar-item.cjs.entry.js +4 -4
- package/dist/cjs/six-sidebar-item.cjs.entry.js.map +1 -1
- package/dist/cjs/six-sidebar.cjs.entry.js +3 -3
- package/dist/cjs/six-spinner.cjs.entry.js +1 -1
- package/dist/cjs/six-stage-indicator.cjs.entry.js +1 -1
- package/dist/cjs/six-switch.cjs.entry.js +4 -4
- package/dist/cjs/six-tab-group.cjs.entry.js +3 -3
- package/dist/cjs/six-tab-group.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/six-tab.cjs.entry.js +3 -3
- package/dist/cjs/six-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tag.cjs.entry.js +3 -3
- package/dist/cjs/six-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/six-textarea.cjs.entry.js +4 -4
- package/dist/cjs/six-tile.cjs.entry.js +6 -6
- package/dist/cjs/six-tile.cjs.entry.js.map +1 -1
- package/dist/cjs/six-timepicker.cjs.entry.js +3 -3
- package/dist/cjs/six-timepicker.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/ui-library.cjs.js +10 -10
- package/dist/cjs/ui-library.cjs.js.map +1 -1
- package/dist/collection/collection-manifest.json +6 -2
- package/dist/collection/components/six-alert/six-alert.js +1 -1
- package/dist/collection/components/six-alert/six-alert.js.map +1 -1
- package/dist/collection/components/six-avatar/six-avatar.js +2 -2
- package/dist/collection/components/six-avatar/six-avatar.js.map +1 -1
- package/dist/collection/components/six-badge/six-badge.js +2 -2
- package/dist/collection/components/six-button/six-button.css +0 -4
- package/dist/collection/components/six-button/six-button.js +2 -2
- 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-checkbox/six-checkbox.js +2 -2
- package/dist/collection/components/six-checkbox/six-checkbox.js.map +1 -1
- package/dist/collection/components/six-datepicker/six-datepicker.js +3 -3
- package/dist/collection/components/six-datepicker/six-datepicker.js.map +1 -1
- package/dist/collection/components/six-details/six-details.js +3 -3
- package/dist/collection/components/six-details/six-details.js.map +1 -1
- package/dist/collection/components/six-dialog/six-dialog.js +2 -2
- package/dist/collection/components/six-dialog/six-dialog.js.map +1 -1
- package/dist/collection/components/six-drawer/six-drawer.js +2 -2
- package/dist/collection/components/six-drawer/six-drawer.js.map +1 -1
- package/dist/collection/components/six-dropdown/six-dropdown.js +5 -5
- package/dist/collection/components/six-dropdown/six-dropdown.js.map +1 -1
- package/dist/collection/components/six-error/six-error.js +1 -1
- package/dist/collection/components/six-error-page/six-error-page.js +1 -1
- package/dist/collection/components/six-file-list/six-file-list.js +1 -1
- package/dist/collection/components/six-file-list-item/six-file-list-item.js +2 -2
- 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.js +5 -8
- 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-group-label/six-group-label.js +1 -1
- package/dist/collection/components/six-header/six-header.css +5 -29
- package/dist/collection/components/six-header/six-header.js +115 -47
- 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 +15 -0
- package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js +53 -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 +51 -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 +27 -0
- package/dist/collection/components/six-header-menu-button/six-header-menu-button.js +48 -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 +2 -2
- package/dist/collection/components/six-icon-button/six-icon-button.css +2 -1
- package/dist/collection/components/six-icon-button/six-icon-button.js +60 -3
- package/dist/collection/components/six-icon-button/six-icon-button.js.map +1 -1
- package/dist/collection/components/six-input/six-input.js +4 -4
- package/dist/collection/components/six-input/six-input.js.map +1 -1
- package/dist/collection/components/six-item-picker/six-item-picker.js +3 -3
- package/dist/collection/components/six-language-switcher/six-language-switcher.js +1 -1
- package/dist/collection/components/six-layout-grid/six-layout-grid.js +1 -1
- package/dist/collection/components/six-logo/six-logo.css +18 -0
- package/dist/collection/components/six-logo/six-logo.js +54 -0
- package/dist/collection/components/six-logo/six-logo.js.map +1 -0
- package/dist/collection/components/six-main-container/six-main-container.js +1 -1
- package/dist/collection/components/six-menu/six-menu.js +2 -2
- 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-item/six-menu-item.js +2 -2
- 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-picto/six-picto.js +1 -1
- package/dist/collection/components/six-progress-bar/six-progress-bar.js +3 -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 +1 -1
- package/dist/collection/components/six-radio/six-radio.js +2 -2
- package/dist/collection/components/six-range/six-range.js +2 -2
- package/dist/collection/components/six-range/six-range.js.map +1 -1
- package/dist/collection/components/six-root/six-root.js +1 -1
- package/dist/collection/components/six-root/six-root.js.map +1 -1
- package/dist/collection/components/six-search-field/six-search-field.js +1 -1
- package/dist/collection/components/six-select/six-select.js +6 -6
- package/dist/collection/components/six-select/six-select.js.map +1 -1
- package/dist/collection/components/six-sidebar/six-sidebar.js +2 -2
- package/dist/collection/components/six-sidebar-item/six-sidebar-item.css +7 -0
- package/dist/collection/components/six-sidebar-item/six-sidebar-item.js +2 -2
- package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.css +7 -0
- package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js +1 -1
- package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js.map +1 -1
- package/dist/collection/components/six-switch/six-switch.js +2 -2
- package/dist/collection/components/six-tab/six-tab.js +2 -2
- package/dist/collection/components/six-tab/six-tab.js.map +1 -1
- package/dist/collection/components/six-tab-group/six-tab-group.js +2 -2
- 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 +1 -1
- package/dist/collection/components/six-tag/six-tag.js +2 -2
- package/dist/collection/components/six-tag/six-tag.js.map +1 -1
- package/dist/collection/components/six-textarea/six-textarea.js +4 -4
- package/dist/collection/components/six-tile/six-tile.js +5 -5
- package/dist/collection/components/six-tile/six-tile.js.map +1 -1
- package/dist/collection/components/six-timepicker/six-timepicker.js +2 -2
- package/dist/collection/components/six-timepicker/six-timepicker.js.map +1 -1
- package/dist/collection/components/six-tooltip/six-tooltip.js +2 -2
- 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/components/index.js +8 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/six-alert.js +1 -1
- package/dist/components/six-alert.js.map +1 -1
- package/dist/components/six-avatar.js +2 -2
- package/dist/components/six-avatar.js.map +1 -1
- package/dist/components/six-badge.js +2 -2
- package/dist/components/six-button2.js +3 -3
- package/dist/components/six-button2.js.map +1 -1
- package/dist/components/six-card.js +1 -1
- package/dist/components/six-checkbox2.js +2 -2
- package/dist/components/six-checkbox2.js.map +1 -1
- package/dist/components/six-datepicker.js +3 -3
- package/dist/components/six-datepicker.js.map +1 -1
- package/dist/components/six-details2.js +3 -3
- package/dist/components/six-details2.js.map +1 -1
- package/dist/components/six-dialog.js +2 -2
- package/dist/components/six-dialog.js.map +1 -1
- package/dist/components/six-drawer.js +2 -2
- package/dist/components/six-drawer.js.map +1 -1
- package/dist/components/six-dropdown2.js +5 -5
- package/dist/components/six-dropdown2.js.map +1 -1
- package/dist/components/six-error-page.js +1 -1
- package/dist/components/six-error2.js +1 -1
- package/dist/components/six-file-list-item.js +2 -2
- package/dist/components/six-file-list-item.js.map +1 -1
- package/dist/components/six-file-list.js +1 -1
- package/dist/components/six-file-upload.js +5 -8
- package/dist/components/six-file-upload.js.map +1 -1
- package/dist/components/six-footer.js +1 -1
- package/dist/components/six-group-label.js +1 -1
- package/dist/components/six-header-dropdown-item.d.ts +11 -0
- package/dist/components/six-header-dropdown-item.js +103 -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 +8 -0
- package/dist/components/six-header-item.js.map +1 -0
- package/dist/components/six-header-item2.js +39 -0
- package/dist/components/six-header-item2.js.map +1 -0
- package/dist/components/six-header-menu-button.d.ts +11 -0
- package/dist/components/six-header-menu-button.js +57 -0
- package/dist/components/six-header-menu-button.js.map +1 -0
- package/dist/components/six-header.js +64 -42
- package/dist/components/six-header.js.map +1 -1
- package/dist/components/six-icon-button2.js +14 -5
- package/dist/components/six-icon-button2.js.map +1 -1
- package/dist/components/six-icon2.js +2 -2
- package/dist/components/six-input2.js +3 -3
- package/dist/components/six-input2.js.map +1 -1
- package/dist/components/six-item-picker2.js +3 -3
- package/dist/components/six-language-switcher.js +1 -1
- package/dist/components/six-layout-grid.js +1 -1
- package/dist/components/six-logo.d.ts +11 -0
- package/dist/components/six-logo.js +8 -0
- package/dist/components/six-logo.js.map +1 -0
- package/dist/components/six-logo2.js +42 -0
- package/dist/components/six-logo2.js.map +1 -0
- package/dist/components/six-main-container.js +1 -1
- package/dist/components/six-menu-divider.js +1 -1
- package/dist/components/six-menu-item2.js +2 -2
- package/dist/components/six-menu-item2.js.map +1 -1
- package/dist/components/six-menu-label.js +1 -1
- package/dist/components/six-menu2.js +2 -2
- package/dist/components/six-menu2.js.map +1 -1
- package/dist/components/six-picto2.js +1 -1
- package/dist/components/six-progress-bar.js +3 -3
- package/dist/components/six-progress-bar.js.map +1 -1
- package/dist/components/six-progress-ring.js +1 -1
- package/dist/components/six-radio.js +2 -2
- package/dist/components/six-range.js +2 -2
- package/dist/components/six-range.js.map +1 -1
- package/dist/components/six-root.js +1 -1
- package/dist/components/six-root.js.map +1 -1
- package/dist/components/six-search-field.js +1 -1
- package/dist/components/six-select.js +6 -6
- package/dist/components/six-select.js.map +1 -1
- package/dist/components/six-sidebar-item-group.js +2 -2
- package/dist/components/six-sidebar-item-group.js.map +1 -1
- package/dist/components/six-sidebar-item.js +3 -3
- package/dist/components/six-sidebar-item.js.map +1 -1
- package/dist/components/six-sidebar.js +2 -2
- package/dist/components/six-switch.js +2 -2
- package/dist/components/six-tab-group.js +2 -2
- package/dist/components/six-tab-group.js.map +1 -1
- package/dist/components/six-tab-panel.js +1 -1
- package/dist/components/six-tab.js +2 -2
- package/dist/components/six-tab.js.map +1 -1
- package/dist/components/six-tag.js +2 -2
- package/dist/components/six-tag.js.map +1 -1
- package/dist/components/six-textarea.js +2 -2
- package/dist/components/six-tile.js +5 -5
- package/dist/components/six-tile.js.map +1 -1
- package/dist/components/six-timepicker2.js +2 -2
- package/dist/components/six-timepicker2.js.map +1 -1
- package/dist/components/six-tooltip2.js +2 -2
- package/dist/components.d.ts +34 -0
- package/dist/components.json +477 -32
- package/dist/esm/{form-control-30c5bd8b.js → form-control-ad1710bf.js} +2 -2
- package/dist/esm/{form-control-30c5bd8b.js.map → form-control-ad1710bf.js.map} +1 -1
- package/dist/esm/index-a7bee415.js +1919 -0
- package/dist/esm/index-a7bee415.js.map +1 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/six-alert.entry.js +2 -2
- package/dist/esm/six-alert.entry.js.map +1 -1
- package/dist/esm/six-avatar.entry.js +3 -3
- package/dist/esm/six-avatar.entry.js.map +1 -1
- package/dist/esm/six-badge.entry.js +3 -3
- package/dist/esm/six-button.entry.js +4 -4
- package/dist/esm/six-button.entry.js.map +1 -1
- package/dist/esm/six-card.entry.js +2 -2
- package/dist/esm/{six-checkbox_2.entry.js → six-checkbox.entry.js} +7 -70
- package/dist/esm/six-checkbox.entry.js.map +1 -0
- package/dist/esm/six-datepicker.entry.js +4 -4
- package/dist/esm/six-datepicker.entry.js.map +1 -1
- package/dist/esm/six-details.entry.js +4 -4
- package/dist/esm/six-details.entry.js.map +1 -1
- package/dist/esm/six-dialog.entry.js +3 -3
- package/dist/esm/six-dialog.entry.js.map +1 -1
- package/dist/esm/six-drawer.entry.js +3 -3
- package/dist/esm/six-drawer.entry.js.map +1 -1
- package/dist/esm/{six-dropdown_2.entry.js → six-dropdown_3.entry.js} +73 -10
- package/dist/esm/six-dropdown_3.entry.js.map +1 -0
- package/dist/esm/six-error-page.entry.js +2 -2
- package/dist/esm/six-error.entry.js +2 -2
- package/dist/esm/six-file-list-item.entry.js +3 -3
- package/dist/esm/six-file-list-item.entry.js.map +1 -1
- package/dist/esm/six-file-list.entry.js +2 -2
- package/dist/esm/six-file-upload.entry.js +6 -9
- package/dist/esm/six-file-upload.entry.js.map +1 -1
- package/dist/esm/six-footer.entry.js +2 -2
- package/dist/esm/six-group-label.entry.js +3 -3
- package/dist/esm/six-header-dropdown-item.entry.js +41 -0
- package/dist/esm/six-header-dropdown-item.entry.js.map +1 -0
- package/dist/esm/six-header-item_2.entry.js +42 -0
- package/dist/esm/six-header-item_2.entry.js.map +1 -0
- package/dist/esm/six-header-menu-button.entry.js +19 -0
- package/dist/esm/six-header-menu-button.entry.js.map +1 -0
- package/dist/esm/six-header.entry.js +40 -31
- package/dist/esm/six-header.entry.js.map +1 -1
- package/dist/esm/six-icon-button.entry.js +11 -5
- package/dist/esm/six-icon-button.entry.js.map +1 -1
- package/dist/esm/six-icon.entry.js +3 -3
- package/dist/esm/six-input.entry.js +5 -5
- package/dist/esm/six-input.entry.js.map +1 -1
- package/dist/esm/six-item-picker.entry.js +4 -4
- package/dist/esm/six-language-switcher.entry.js +2 -2
- package/dist/esm/six-layout-grid.entry.js +2 -2
- package/dist/esm/six-main-container.entry.js +2 -2
- package/dist/esm/six-menu-divider.entry.js +2 -2
- package/dist/esm/six-menu-label.entry.js +2 -2
- package/dist/esm/six-picto.entry.js +2 -2
- package/dist/esm/six-progress-bar.entry.js +4 -4
- package/dist/esm/six-progress-bar.entry.js.map +1 -1
- package/dist/esm/six-progress-ring.entry.js +2 -2
- package/dist/esm/six-radio.entry.js +3 -3
- package/dist/esm/six-range.entry.js +4 -4
- package/dist/esm/six-range.entry.js.map +1 -1
- package/dist/esm/six-root.entry.js +2 -2
- package/dist/esm/six-root.entry.js.map +1 -1
- package/dist/esm/six-search-field.entry.js +2 -2
- package/dist/esm/six-select.entry.js +8 -8
- package/dist/esm/six-select.entry.js.map +1 -1
- package/dist/esm/six-sidebar-item-group.entry.js +3 -3
- package/dist/esm/six-sidebar-item-group.entry.js.map +1 -1
- package/dist/esm/six-sidebar-item.entry.js +4 -4
- package/dist/esm/six-sidebar-item.entry.js.map +1 -1
- package/dist/esm/six-sidebar.entry.js +3 -3
- package/dist/esm/six-spinner.entry.js +1 -1
- package/dist/esm/six-stage-indicator.entry.js +1 -1
- package/dist/esm/six-switch.entry.js +4 -4
- package/dist/esm/six-tab-group.entry.js +3 -3
- package/dist/esm/six-tab-group.entry.js.map +1 -1
- package/dist/esm/six-tab-panel.entry.js +2 -2
- package/dist/esm/six-tab.entry.js +3 -3
- package/dist/esm/six-tab.entry.js.map +1 -1
- package/dist/esm/six-tag.entry.js +3 -3
- package/dist/esm/six-tag.entry.js.map +1 -1
- package/dist/esm/six-textarea.entry.js +4 -4
- package/dist/esm/six-tile.entry.js +6 -6
- package/dist/esm/six-tile.entry.js.map +1 -1
- package/dist/esm/six-timepicker.entry.js +3 -3
- package/dist/esm/six-timepicker.entry.js.map +1 -1
- package/dist/esm/six-tooltip.entry.js +3 -3
- package/dist/esm/ui-library.js +11 -11
- package/dist/esm/ui-library.js.map +1 -1
- package/dist/types/components/six-file-upload/six-file-upload.d.ts +1 -1
- package/dist/types/components/six-header/six-header.d.ts +79 -18
- package/dist/types/components/six-header-dropdown-item/six-header-dropdown-item.d.ts +13 -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 +11 -0
- package/dist/types/components/six-icon-button/six-icon-button.d.ts +6 -0
- package/dist/types/components/six-logo/six-logo.d.ts +9 -0
- package/dist/types/components.d.ts +197 -5
- package/dist/types/stencil-public-runtime.d.ts +3 -10
- package/dist/types/utils/type-check.d.ts +1 -1
- 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.map +1 -1
- package/dist/ui-library/{p-d42f1ea9.entry.js → p-03acec96.entry.js} +2 -2
- package/dist/ui-library/{p-d42f1ea9.entry.js.map → p-03acec96.entry.js.map} +1 -1
- package/dist/ui-library/p-06ba4450.js.map +1 -1
- package/dist/ui-library/{p-b7c68f74.entry.js → p-06d562b7.entry.js} +2 -2
- package/dist/ui-library/{p-b7c68f74.entry.js.map → p-06d562b7.entry.js.map} +1 -1
- package/dist/ui-library/p-07b6203f.entry.js +2 -0
- package/dist/ui-library/{p-7c18b8ca.entry.js.map → p-07b6203f.entry.js.map} +1 -1
- package/dist/ui-library/{p-2386627e.entry.js → p-0a6b6429.entry.js} +2 -2
- package/dist/ui-library/{p-2386627e.entry.js.map → p-0a6b6429.entry.js.map} +1 -1
- package/dist/ui-library/p-0cebf1d2.js.map +1 -1
- package/dist/ui-library/p-14d09601.entry.js +2 -0
- package/dist/ui-library/{p-11344bb8.entry.js.map → p-14d09601.entry.js.map} +1 -1
- package/dist/ui-library/{p-45b0748e.entry.js → p-171df3ad.entry.js} +2 -2
- package/dist/ui-library/{p-45b0748e.entry.js.map → p-171df3ad.entry.js.map} +1 -1
- package/dist/ui-library/p-1cc3b56d.entry.js +2 -0
- package/dist/ui-library/{p-36d5f98a.entry.js.map → p-1cc3b56d.entry.js.map} +1 -1
- package/dist/ui-library/{p-7bdd1116.entry.js → p-1cd09d9b.entry.js} +2 -2
- package/dist/ui-library/{p-7bdd1116.entry.js.map → p-1cd09d9b.entry.js.map} +1 -1
- package/dist/ui-library/{p-416b0439.entry.js → p-1f7a0cb5.entry.js} +2 -2
- package/dist/ui-library/{p-416b0439.entry.js.map → p-1f7a0cb5.entry.js.map} +1 -1
- package/dist/ui-library/p-2355c444.entry.js +2 -0
- package/dist/ui-library/{p-347e568f.entry.js.map → p-2355c444.entry.js.map} +1 -1
- package/dist/ui-library/p-281ffc35.entry.js +2 -0
- package/dist/ui-library/p-281ffc35.entry.js.map +1 -0
- package/dist/ui-library/{p-c62893e5.entry.js → p-2ad904a7.entry.js} +2 -2
- package/dist/ui-library/{p-c62893e5.entry.js.map → p-2ad904a7.entry.js.map} +1 -1
- package/dist/ui-library/{p-b5acf54d.entry.js → p-30000e86.entry.js} +2 -2
- package/dist/ui-library/{p-b5acf54d.entry.js.map → p-30000e86.entry.js.map} +1 -1
- package/dist/ui-library/{p-4d89932f.entry.js → p-42cd3588.entry.js} +2 -2
- package/dist/ui-library/{p-4d89932f.entry.js.map → p-42cd3588.entry.js.map} +1 -1
- package/dist/ui-library/p-48118ce8.js +3 -0
- package/dist/ui-library/p-48118ce8.js.map +1 -0
- package/dist/ui-library/{p-b335ed9c.entry.js → p-49019d6c.entry.js} +2 -2
- package/dist/ui-library/{p-b335ed9c.entry.js.map → p-49019d6c.entry.js.map} +1 -1
- package/dist/ui-library/{p-c6464bfe.entry.js → p-4d72b179.entry.js} +2 -2
- package/dist/ui-library/{p-c6464bfe.entry.js.map → p-4d72b179.entry.js.map} +1 -1
- package/dist/ui-library/{p-d9586999.entry.js → p-4de4ee7a.entry.js} +2 -2
- package/dist/ui-library/{p-d9586999.entry.js.map → p-4de4ee7a.entry.js.map} +1 -1
- package/dist/ui-library/p-4edde816.entry.js +2 -0
- package/dist/ui-library/p-4edde816.entry.js.map +1 -0
- package/dist/ui-library/p-4f129bb3.entry.js +2 -0
- package/dist/ui-library/p-4f129bb3.entry.js.map +1 -0
- package/dist/ui-library/{p-3b5a76ea.entry.js → p-53867d77.entry.js} +2 -2
- package/dist/ui-library/{p-3b5a76ea.entry.js.map → p-53867d77.entry.js.map} +1 -1
- package/dist/ui-library/p-57ea4cb7.entry.js +2 -0
- package/dist/ui-library/p-57ea4cb7.entry.js.map +1 -0
- package/dist/ui-library/{p-a398e3eb.entry.js → p-5ece7986.entry.js} +2 -2
- package/dist/ui-library/{p-a398e3eb.entry.js.map → p-5ece7986.entry.js.map} +1 -1
- package/dist/ui-library/p-5f491974.entry.js +2 -0
- package/dist/ui-library/p-5f491974.entry.js.map +1 -0
- package/dist/ui-library/{p-b60c20aa.entry.js → p-5fc9cd7b.entry.js} +2 -2
- package/dist/ui-library/{p-b60c20aa.entry.js.map → p-5fc9cd7b.entry.js.map} +1 -1
- package/dist/ui-library/{p-4bc7bbdb.entry.js → p-618bf750.entry.js} +2 -2
- package/dist/ui-library/{p-4bc7bbdb.entry.js.map → p-618bf750.entry.js.map} +1 -1
- package/dist/ui-library/{p-63acceb6.entry.js → p-62a1f514.entry.js} +2 -2
- package/dist/ui-library/{p-63acceb6.entry.js.map → p-62a1f514.entry.js.map} +1 -1
- package/dist/ui-library/p-651293e7.js.map +1 -1
- package/dist/ui-library/p-6513b8ce.entry.js +2 -0
- package/dist/ui-library/{p-189602e4.entry.js.map → p-6513b8ce.entry.js.map} +1 -1
- package/dist/ui-library/{p-47c84904.entry.js → p-6795e0a9.entry.js} +2 -2
- package/dist/ui-library/{p-47c84904.entry.js.map → p-6795e0a9.entry.js.map} +1 -1
- package/dist/ui-library/p-6ec126f7.entry.js +2 -0
- package/dist/ui-library/{p-9cb83369.entry.js.map → p-6ec126f7.entry.js.map} +1 -1
- package/dist/ui-library/p-705e3612.entry.js +2 -0
- package/dist/ui-library/p-705e3612.entry.js.map +1 -0
- package/dist/ui-library/{p-06ba653e.entry.js → p-70fac778.entry.js} +2 -2
- package/dist/ui-library/{p-06ba653e.entry.js.map → p-70fac778.entry.js.map} +1 -1
- package/dist/ui-library/{p-037afc74.entry.js → p-7afdff5c.entry.js} +2 -2
- package/dist/ui-library/p-7afdff5c.entry.js.map +1 -0
- package/dist/ui-library/{p-4963f03c.entry.js → p-7eb9ae75.entry.js} +2 -2
- package/dist/ui-library/{p-4963f03c.entry.js.map → p-7eb9ae75.entry.js.map} +1 -1
- package/dist/ui-library/p-7f856f00.js.map +1 -1
- package/dist/ui-library/p-8227aaed.js.map +1 -1
- package/dist/ui-library/p-842b492e.js.map +1 -1
- package/dist/ui-library/p-862d474e.js.map +1 -1
- package/dist/ui-library/{p-6f9153be.entry.js → p-870139dc.entry.js} +2 -2
- package/dist/ui-library/{p-6f9153be.entry.js.map → p-870139dc.entry.js.map} +1 -1
- package/dist/ui-library/p-8bfb4bfc.js.map +1 -1
- package/dist/ui-library/{p-605bdd81.js → p-a04460e3.js} +2 -2
- package/dist/ui-library/{p-605bdd81.js.map → p-a04460e3.js.map} +1 -1
- package/dist/ui-library/p-a1502802.js.map +1 -1
- package/dist/ui-library/{p-07c8de65.entry.js → p-a20a702a.entry.js} +2 -2
- package/dist/ui-library/{p-07c8de65.entry.js.map → p-a20a702a.entry.js.map} +1 -1
- package/dist/ui-library/p-adc65fc8.entry.js +2 -0
- package/dist/ui-library/p-adc65fc8.entry.js.map +1 -0
- package/dist/ui-library/{p-0c129b61.entry.js → p-afb15ea4.entry.js} +2 -2
- package/dist/ui-library/{p-0c129b61.entry.js.map → p-afb15ea4.entry.js.map} +1 -1
- package/dist/ui-library/p-b361d5da.entry.js +2 -0
- package/dist/ui-library/{p-32e421a3.entry.js.map → p-b361d5da.entry.js.map} +1 -1
- package/dist/ui-library/{p-99f6fe01.entry.js → p-bfb398c6.entry.js} +2 -2
- package/dist/ui-library/{p-99f6fe01.entry.js.map → p-bfb398c6.entry.js.map} +1 -1
- package/dist/ui-library/{p-d88b9c16.entry.js → p-cd65e3b2.entry.js} +2 -2
- package/dist/ui-library/{p-d88b9c16.entry.js.map → p-cd65e3b2.entry.js.map} +1 -1
- package/dist/ui-library/{p-a9e009af.entry.js → p-cd79700c.entry.js} +2 -2
- package/dist/ui-library/{p-a9e009af.entry.js.map → p-cd79700c.entry.js.map} +1 -1
- package/dist/ui-library/{p-419ed003.entry.js → p-cdc9224d.entry.js} +2 -2
- package/dist/ui-library/{p-419ed003.entry.js.map → p-cdc9224d.entry.js.map} +1 -1
- package/dist/ui-library/p-cdc94cd6.entry.js +2 -0
- package/dist/ui-library/p-cdc94cd6.entry.js.map +1 -0
- package/dist/ui-library/{p-8f1d3461.entry.js → p-d46acf21.entry.js} +2 -2
- package/dist/ui-library/{p-8f1d3461.entry.js.map → p-d46acf21.entry.js.map} +1 -1
- package/dist/ui-library/p-d67b8482.entry.js +2 -0
- package/dist/ui-library/{p-030fa1fa.entry.js.map → p-d67b8482.entry.js.map} +1 -1
- package/dist/ui-library/{p-1adc26f2.entry.js → p-db193a32.entry.js} +2 -2
- package/dist/ui-library/{p-1adc26f2.entry.js.map → p-db193a32.entry.js.map} +1 -1
- package/dist/ui-library/p-e080d5b6.js.map +1 -1
- package/dist/ui-library/p-e1255160.js.map +1 -1
- package/dist/ui-library/{p-fe89a7c4.entry.js → p-e1529ef6.entry.js} +2 -2
- package/dist/ui-library/{p-fe89a7c4.entry.js.map → p-e1529ef6.entry.js.map} +1 -1
- package/dist/ui-library/{p-e9b8ad98.entry.js → p-e181944f.entry.js} +2 -2
- package/dist/ui-library/{p-e9b8ad98.entry.js.map → p-e181944f.entry.js.map} +1 -1
- package/dist/ui-library/{p-d1a2f84b.entry.js → p-e6efc08a.entry.js} +2 -2
- package/dist/ui-library/{p-d1a2f84b.entry.js.map → p-e6efc08a.entry.js.map} +1 -1
- package/dist/ui-library/p-ea854ec5.entry.js +2 -0
- package/dist/ui-library/p-ea854ec5.entry.js.map +1 -0
- package/dist/ui-library/{p-63ee5e7e.entry.js → p-f12b22bc.entry.js} +2 -2
- package/dist/ui-library/{p-63ee5e7e.entry.js.map → p-f12b22bc.entry.js.map} +1 -1
- package/dist/ui-library/p-f136a6b2.js.map +1 -1
- package/dist/ui-library/p-f9a1f6ab.entry.js +2 -0
- package/dist/ui-library/p-f9a1f6ab.entry.js.map +1 -0
- package/dist/ui-library/{p-cf109cbf.entry.js → p-ffce31da.entry.js} +2 -2
- package/dist/ui-library/{p-cf109cbf.entry.js.map → p-ffce31da.entry.js.map} +1 -1
- 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 +6 -18
- package/dist/cjs/index-1f707a55.js +0 -2718
- package/dist/cjs/index-1f707a55.js.map +0 -1
- package/dist/cjs/six-checkbox_2.cjs.entry.js.map +0 -1
- package/dist/cjs/six-dropdown_2.cjs.entry.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 -266
- 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-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 -103
- 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/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/time.util.spec.js +0 -368
- package/dist/collection/utils/time.util.spec.js.map +0 -1
- package/dist/esm/index-5390c1d6.js +0 -2689
- package/dist/esm/index-5390c1d6.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/six-checkbox_2.entry.js.map +0 -1
- package/dist/esm/six-dropdown_2.entry.js.map +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/p-030fa1fa.entry.js +0 -2
- package/dist/ui-library/p-037afc74.entry.js.map +0 -1
- package/dist/ui-library/p-047d02ad.entry.js +0 -2
- package/dist/ui-library/p-047d02ad.entry.js.map +0 -1
- package/dist/ui-library/p-05eb1bab.js +0 -3
- package/dist/ui-library/p-05eb1bab.js.map +0 -1
- package/dist/ui-library/p-11344bb8.entry.js +0 -2
- package/dist/ui-library/p-14e5fccc.entry.js +0 -2
- package/dist/ui-library/p-14e5fccc.entry.js.map +0 -1
- package/dist/ui-library/p-189602e4.entry.js +0 -2
- package/dist/ui-library/p-32e421a3.entry.js +0 -2
- package/dist/ui-library/p-347e568f.entry.js +0 -2
- package/dist/ui-library/p-36d5f98a.entry.js +0 -2
- package/dist/ui-library/p-37433242.entry.js +0 -2
- package/dist/ui-library/p-37433242.entry.js.map +0 -1
- package/dist/ui-library/p-6b40c40c.entry.js +0 -2
- package/dist/ui-library/p-6b40c40c.entry.js.map +0 -1
- package/dist/ui-library/p-7c18b8ca.entry.js +0 -2
- package/dist/ui-library/p-96d441e9.entry.js +0 -2
- package/dist/ui-library/p-96d441e9.entry.js.map +0 -1
- package/dist/ui-library/p-9cb83369.entry.js +0 -2
- package/dist/ui-library/p-e14d78e9.entry.js +0 -2
- package/dist/ui-library/p-e14d78e9.entry.js.map +0 -1
- package/dist/ui-library/p-ebbe9bdc.entry.js +0 -2
- package/dist/ui-library/p-ebbe9bdc.entry.js.map +0 -1
|
@@ -1,995 +0,0 @@
|
|
|
1
|
-
import { createCalendarGrid, day, decreaseYear, formatDate, getFirstDayOfTheWeek, increaseYear, isAfter, isBefore, isInRange, isoString, isSameDay, isSameMonth, isSameWeek, isSameYear, isValidDateString, month, newDateString, pad, parseDate, rangeAround, toDate, year, } from "./date-util";
|
|
2
|
-
import { SixDateFormats } from "../components/six-datepicker/six-date-formats";
|
|
3
|
-
describe('date-util helpers', () => {
|
|
4
|
-
describe('rangeAround', () => {
|
|
5
|
-
it('returns range around 2023', () => {
|
|
6
|
-
expect(rangeAround(2023, 25)).toStrictEqual([
|
|
7
|
-
[2011, 2012, 2013, 2014, 2015],
|
|
8
|
-
[2016, 2017, 2018, 2019, 2020],
|
|
9
|
-
[2021, 2022, 2023, 2024, 2025],
|
|
10
|
-
[2026, 2027, 2028, 2029, 2030],
|
|
11
|
-
[2031, 2032, 2033, 2034, 2035],
|
|
12
|
-
]);
|
|
13
|
-
});
|
|
14
|
-
it('returns range around 0', () => {
|
|
15
|
-
expect(rangeAround(0, 6)).toStrictEqual([[-3, -2, -1, 0, 1], [2]]);
|
|
16
|
-
});
|
|
17
|
-
});
|
|
18
|
-
describe('pad', () => {
|
|
19
|
-
it('should properly pad a single digit', async () => {
|
|
20
|
-
// given
|
|
21
|
-
const input = 2;
|
|
22
|
-
// when
|
|
23
|
-
const padded = pad(input);
|
|
24
|
-
// then
|
|
25
|
-
expect(padded).toEqual('02');
|
|
26
|
-
});
|
|
27
|
-
});
|
|
28
|
-
});
|
|
29
|
-
describe('parseDate', () => {
|
|
30
|
-
describe('isoString', () => {
|
|
31
|
-
it('should correctly handle undefined', async () => {
|
|
32
|
-
// given
|
|
33
|
-
const date = undefined;
|
|
34
|
-
// when
|
|
35
|
-
const isoDateString = isoString(date);
|
|
36
|
-
// then
|
|
37
|
-
expect(isoDateString).toBe('');
|
|
38
|
-
});
|
|
39
|
-
it('should correctly handle beginning of year', async () => {
|
|
40
|
-
// given
|
|
41
|
-
const date = new Date(2022, 0, 1);
|
|
42
|
-
// when
|
|
43
|
-
const isoDateString = isoString(date);
|
|
44
|
-
// then
|
|
45
|
-
expect(isoDateString).toBe('2022-01-01');
|
|
46
|
-
});
|
|
47
|
-
it('should correctly handle end of year', async () => {
|
|
48
|
-
// given
|
|
49
|
-
const date = new Date(2022, 11, 31);
|
|
50
|
-
// when
|
|
51
|
-
const isoDateString = isoString(date);
|
|
52
|
-
// then
|
|
53
|
-
expect(isoDateString).toBe('2022-12-31');
|
|
54
|
-
});
|
|
55
|
-
});
|
|
56
|
-
describe('newDateString', () => {
|
|
57
|
-
it('should correctly handle date separated into parameters', async () => {
|
|
58
|
-
// given
|
|
59
|
-
const year = 2033;
|
|
60
|
-
const month = 3;
|
|
61
|
-
const day = 2;
|
|
62
|
-
// when
|
|
63
|
-
const datestring = newDateString(year, month, day);
|
|
64
|
-
// then
|
|
65
|
-
expect(datestring).toBe('2033-03-02');
|
|
66
|
-
});
|
|
67
|
-
it('should correctly handle date object', async () => {
|
|
68
|
-
// given
|
|
69
|
-
const date = new Date(2022, 1, 1);
|
|
70
|
-
// when
|
|
71
|
-
const dateString = newDateString(date);
|
|
72
|
-
// then
|
|
73
|
-
expect(dateString).toBe('2022-02-01');
|
|
74
|
-
});
|
|
75
|
-
});
|
|
76
|
-
describe('isValidDateString', () => {
|
|
77
|
-
it('should correctly handle valid date with dashes', () => {
|
|
78
|
-
// given
|
|
79
|
-
const datestring = '1900-01-01';
|
|
80
|
-
// when
|
|
81
|
-
const isValidDateStringOutput = isValidDateString(datestring, 'yyyy-mm-dd');
|
|
82
|
-
// then
|
|
83
|
-
expect(isValidDateStringOutput).toBe(true);
|
|
84
|
-
});
|
|
85
|
-
it('should correctly handle date with periods', () => {
|
|
86
|
-
// given
|
|
87
|
-
const datestring = '01.01.1900';
|
|
88
|
-
// when
|
|
89
|
-
const isValidDateStringOutput = isValidDateString(datestring, 'dd.mm.yyyy');
|
|
90
|
-
// then
|
|
91
|
-
expect(isValidDateStringOutput).toBe(true);
|
|
92
|
-
});
|
|
93
|
-
it('should correctly handle reversed date with periods', () => {
|
|
94
|
-
// given
|
|
95
|
-
const datestring = '1900.01.01';
|
|
96
|
-
// when
|
|
97
|
-
const isValidDateStringOutput = isValidDateString(datestring, 'yyyy.mm.dd');
|
|
98
|
-
// then
|
|
99
|
-
expect(isValidDateStringOutput).toBe(true);
|
|
100
|
-
});
|
|
101
|
-
it('should correctly handle very old date with dashes', () => {
|
|
102
|
-
// given
|
|
103
|
-
const datestring = '1899-02-07';
|
|
104
|
-
// when
|
|
105
|
-
const isValidDateStringOutput = isValidDateString(datestring, 'yyyy-mm-dd');
|
|
106
|
-
// then
|
|
107
|
-
expect(isValidDateStringOutput).toBe(true);
|
|
108
|
-
});
|
|
109
|
-
it('should correctly handle date with dashes where month and year switched', () => {
|
|
110
|
-
// given
|
|
111
|
-
const datestring = '1999-15-07';
|
|
112
|
-
// when
|
|
113
|
-
const isValidDateStringOutput = isValidDateString(datestring, 'yyyy-mm-dd');
|
|
114
|
-
// then
|
|
115
|
-
expect(isValidDateStringOutput).toBe(false);
|
|
116
|
-
});
|
|
117
|
-
it('should correctly handle invalid day and month', () => {
|
|
118
|
-
// given
|
|
119
|
-
const datestring = '1999-00-32';
|
|
120
|
-
// when
|
|
121
|
-
const isValidDateStringOutput = isValidDateString(datestring, 'yyyy-mm-dd');
|
|
122
|
-
// then
|
|
123
|
-
expect(isValidDateStringOutput).toBe(false);
|
|
124
|
-
});
|
|
125
|
-
it('should correctly handle zero day', () => {
|
|
126
|
-
// given
|
|
127
|
-
const datestring = '1999-01-00';
|
|
128
|
-
// when
|
|
129
|
-
const isValidDateStringOutput = isValidDateString(datestring, 'yyyy-mm-dd');
|
|
130
|
-
// then
|
|
131
|
-
expect(isValidDateStringOutput).toBe(false);
|
|
132
|
-
});
|
|
133
|
-
it('should correctly handle exceeding day', () => {
|
|
134
|
-
// given
|
|
135
|
-
const datestring = '1999-01-32';
|
|
136
|
-
// when
|
|
137
|
-
const isValidDateStringOutput = isValidDateString(datestring, 'yyyy-mm-dd');
|
|
138
|
-
// then
|
|
139
|
-
expect(isValidDateStringOutput).toBe(false);
|
|
140
|
-
});
|
|
141
|
-
it('should correctly handle empty string', () => {
|
|
142
|
-
// given
|
|
143
|
-
const datestring = '';
|
|
144
|
-
// when
|
|
145
|
-
const isValidDateStringOutput = isValidDateString(datestring, 'yyyy-mm-dd');
|
|
146
|
-
// then
|
|
147
|
-
expect(isValidDateStringOutput).toBe(false);
|
|
148
|
-
});
|
|
149
|
-
it('should correctly handle undefined', () => {
|
|
150
|
-
// given
|
|
151
|
-
const datestring = undefined;
|
|
152
|
-
// when
|
|
153
|
-
const isValidDateStringOutput = isValidDateString(datestring, 'yyyy-mm-dd');
|
|
154
|
-
// then
|
|
155
|
-
expect(isValidDateStringOutput).toBe(false);
|
|
156
|
-
});
|
|
157
|
-
it('should correctly handle undefined', () => {
|
|
158
|
-
// given
|
|
159
|
-
const datestring = '1800-01-01';
|
|
160
|
-
// when
|
|
161
|
-
const isValidDatestring = isValidDateString(datestring, 'yyyy-mm-dd');
|
|
162
|
-
// then
|
|
163
|
-
expect(isValidDatestring).toBe(true);
|
|
164
|
-
});
|
|
165
|
-
});
|
|
166
|
-
describe('isBefore', () => {
|
|
167
|
-
it('should correctly handle different date objects', () => {
|
|
168
|
-
// given
|
|
169
|
-
const date = new Date(2020, 0, 1);
|
|
170
|
-
const beforeDate = new Date(2020, 0, 2);
|
|
171
|
-
// when
|
|
172
|
-
const isBeforeOutput = isBefore(date, beforeDate);
|
|
173
|
-
// then
|
|
174
|
-
expect(isBeforeOutput).toBe(true);
|
|
175
|
-
});
|
|
176
|
-
it('should correctly handle same date objects', () => {
|
|
177
|
-
// given
|
|
178
|
-
const date = new Date(2020, 0, 1);
|
|
179
|
-
const beforeDate = new Date(2020, 0, 1);
|
|
180
|
-
// when
|
|
181
|
-
const isBeforeOutput = isBefore(date, beforeDate);
|
|
182
|
-
// then
|
|
183
|
-
expect(isBeforeOutput).toBe(false);
|
|
184
|
-
});
|
|
185
|
-
it('should correctly handle different date strings', () => {
|
|
186
|
-
// given
|
|
187
|
-
const date = '2000-01-01';
|
|
188
|
-
const beforeDate = '2000-01-02';
|
|
189
|
-
// when
|
|
190
|
-
const isBeforeOutput = isBefore(date, beforeDate);
|
|
191
|
-
// then
|
|
192
|
-
expect(isBeforeOutput).toBe(true);
|
|
193
|
-
});
|
|
194
|
-
it('should correctly handle same date string', () => {
|
|
195
|
-
// given
|
|
196
|
-
const date = '2000-01-01';
|
|
197
|
-
const beforeDate = '2000-01-01';
|
|
198
|
-
// when
|
|
199
|
-
const isBeforeOutput = isBefore(date, beforeDate);
|
|
200
|
-
// then
|
|
201
|
-
expect(isBeforeOutput).toBe(false);
|
|
202
|
-
});
|
|
203
|
-
});
|
|
204
|
-
describe('isAfter', () => {
|
|
205
|
-
it('should correctly handle different date objects', () => {
|
|
206
|
-
// given
|
|
207
|
-
const date = new Date(2020, 0, 2);
|
|
208
|
-
const afterDate = new Date(2020, 0, 1);
|
|
209
|
-
// when
|
|
210
|
-
const isAfterOutput = isAfter(date, afterDate);
|
|
211
|
-
// then
|
|
212
|
-
expect(isAfterOutput).toBe(true);
|
|
213
|
-
});
|
|
214
|
-
it('should correctly handle same objects', () => {
|
|
215
|
-
// given
|
|
216
|
-
const date = new Date(2020, 0, 1);
|
|
217
|
-
const afterDate = new Date(2020, 0, 1);
|
|
218
|
-
// when
|
|
219
|
-
const isAfterOutput = isAfter(date, afterDate);
|
|
220
|
-
// then
|
|
221
|
-
expect(isAfterOutput).toBe(false);
|
|
222
|
-
});
|
|
223
|
-
it('should correctly handle different datestrings', () => {
|
|
224
|
-
// given
|
|
225
|
-
const date = '2000-01-02';
|
|
226
|
-
const afterDate = '2000-01-01';
|
|
227
|
-
// when
|
|
228
|
-
const isAfterOutput = isAfter(date, afterDate);
|
|
229
|
-
// then
|
|
230
|
-
expect(isAfterOutput).toBe(true);
|
|
231
|
-
});
|
|
232
|
-
it('should correctly handle same datestrings', () => {
|
|
233
|
-
// given
|
|
234
|
-
const date = '2000-01-01';
|
|
235
|
-
const afterDate = '2000-01-01';
|
|
236
|
-
// when
|
|
237
|
-
const isAfterOutput = isAfter(date, afterDate);
|
|
238
|
-
// then
|
|
239
|
-
expect(isAfterOutput).toBe(false);
|
|
240
|
-
});
|
|
241
|
-
});
|
|
242
|
-
describe('year', () => {
|
|
243
|
-
it('should correctly handle date object', () => {
|
|
244
|
-
// given
|
|
245
|
-
const yearInput = new Date(2020, 0, 1);
|
|
246
|
-
// when
|
|
247
|
-
const yearOutput = year(yearInput);
|
|
248
|
-
// then
|
|
249
|
-
expect(yearOutput).toBe(2020);
|
|
250
|
-
});
|
|
251
|
-
it('should correctly handle undefined', () => {
|
|
252
|
-
// given
|
|
253
|
-
const yearInput = undefined;
|
|
254
|
-
// when
|
|
255
|
-
const yearOutput = () => year(yearInput);
|
|
256
|
-
// then
|
|
257
|
-
expect(yearOutput).toThrow(Error);
|
|
258
|
-
});
|
|
259
|
-
it('should correctly handle invalid date', () => {
|
|
260
|
-
// given
|
|
261
|
-
const yearInput = new Date('adsf');
|
|
262
|
-
// when
|
|
263
|
-
const yearOutput = () => year(yearInput);
|
|
264
|
-
// then
|
|
265
|
-
expect(yearOutput).toThrow(Error);
|
|
266
|
-
});
|
|
267
|
-
});
|
|
268
|
-
describe('month', () => {
|
|
269
|
-
it('should correctly handle date object', () => {
|
|
270
|
-
// given
|
|
271
|
-
const monthInput = new Date(2020, 0, 1);
|
|
272
|
-
// when
|
|
273
|
-
const monthOutput = month(monthInput);
|
|
274
|
-
// then
|
|
275
|
-
expect(monthOutput).toBe(0);
|
|
276
|
-
});
|
|
277
|
-
it('should correctly handle undefined', () => {
|
|
278
|
-
// given
|
|
279
|
-
const monthInput = undefined;
|
|
280
|
-
// when
|
|
281
|
-
const monthOutput = () => month(monthInput);
|
|
282
|
-
// then
|
|
283
|
-
expect(monthOutput).toThrow(Error);
|
|
284
|
-
});
|
|
285
|
-
it('should correctly handle invalid date', () => {
|
|
286
|
-
// given
|
|
287
|
-
const monthInput = new Date('adsf');
|
|
288
|
-
// when
|
|
289
|
-
const monthOutput = () => month(monthInput);
|
|
290
|
-
// then
|
|
291
|
-
expect(monthOutput).toThrow(Error);
|
|
292
|
-
});
|
|
293
|
-
});
|
|
294
|
-
describe('day', () => {
|
|
295
|
-
it('should correctly handle valid date object', () => {
|
|
296
|
-
// given
|
|
297
|
-
const dayInput = new Date(2020, 0, 1);
|
|
298
|
-
// when
|
|
299
|
-
const dayOutput = day(dayInput);
|
|
300
|
-
// then
|
|
301
|
-
expect(dayOutput).toBe(1);
|
|
302
|
-
});
|
|
303
|
-
it('should correctly handle undefined', () => {
|
|
304
|
-
// given
|
|
305
|
-
const dayInput = undefined;
|
|
306
|
-
// when
|
|
307
|
-
const dayOutput = () => day(dayInput);
|
|
308
|
-
// then
|
|
309
|
-
expect(dayOutput).toThrow(Error);
|
|
310
|
-
});
|
|
311
|
-
it('should correctly handle invalid date object', () => {
|
|
312
|
-
// given
|
|
313
|
-
const dayInput = new Date('adsf');
|
|
314
|
-
// when
|
|
315
|
-
const dayOutput = () => day(dayInput);
|
|
316
|
-
// then
|
|
317
|
-
expect(dayOutput).toThrow(Error);
|
|
318
|
-
});
|
|
319
|
-
});
|
|
320
|
-
describe('increase year', () => {
|
|
321
|
-
it('should properly increase year', async () => {
|
|
322
|
-
// given
|
|
323
|
-
const year = new Date(2020, 0, 1);
|
|
324
|
-
const increment = 1;
|
|
325
|
-
// when
|
|
326
|
-
const increasedYear = increaseYear(year, increment);
|
|
327
|
-
// then
|
|
328
|
-
expect(increasedYear).toBe(2021);
|
|
329
|
-
});
|
|
330
|
-
});
|
|
331
|
-
describe('decrease year', () => {
|
|
332
|
-
it('should properly decrease year', () => {
|
|
333
|
-
// given
|
|
334
|
-
const year = new Date(2020, 0, 1);
|
|
335
|
-
const decrement = 1;
|
|
336
|
-
// when
|
|
337
|
-
const decreasedYear = decreaseYear(year, decrement);
|
|
338
|
-
// then
|
|
339
|
-
expect(decreasedYear).toBe(2019);
|
|
340
|
-
});
|
|
341
|
-
});
|
|
342
|
-
describe('isInRange', () => {
|
|
343
|
-
it('should correctly handle lower than min range', () => {
|
|
344
|
-
// given
|
|
345
|
-
const date = new Date(2020, 0, 4);
|
|
346
|
-
const minDate = new Date(2020, 0, 5);
|
|
347
|
-
const maxDate = new Date(2020, 0, 10);
|
|
348
|
-
// when
|
|
349
|
-
const isInRangeOutput = isInRange(date, minDate, maxDate);
|
|
350
|
-
// then
|
|
351
|
-
expect(isInRangeOutput).toBe(false);
|
|
352
|
-
});
|
|
353
|
-
it('should correctly handle lower than min range when only min date defined', () => {
|
|
354
|
-
// given
|
|
355
|
-
const date = new Date(2020, 0, 4);
|
|
356
|
-
const minDate = new Date(2020, 0, 5);
|
|
357
|
-
const maxDate = undefined;
|
|
358
|
-
// when
|
|
359
|
-
const isInRangeOutput = isInRange(date, minDate, maxDate);
|
|
360
|
-
// then
|
|
361
|
-
expect(isInRangeOutput).toBe(false);
|
|
362
|
-
});
|
|
363
|
-
it('should correctly handle equal to min range', () => {
|
|
364
|
-
// given
|
|
365
|
-
const date = new Date(2020, 0, 5);
|
|
366
|
-
const minDate = new Date(2020, 0, 5);
|
|
367
|
-
const maxDate = new Date(2020, 0, 10);
|
|
368
|
-
// when
|
|
369
|
-
const isInRangeOutput = isInRange(date, minDate, maxDate);
|
|
370
|
-
// then
|
|
371
|
-
expect(isInRangeOutput).toBe(true);
|
|
372
|
-
});
|
|
373
|
-
it('should correctly handle equal to min range when only minDate defined', () => {
|
|
374
|
-
// given
|
|
375
|
-
const date = new Date(2020, 0, 5);
|
|
376
|
-
const minDate = new Date(2020, 0, 5);
|
|
377
|
-
const maxDate = undefined;
|
|
378
|
-
// when
|
|
379
|
-
const isInRangeOutput = isInRange(date, minDate, maxDate);
|
|
380
|
-
// then
|
|
381
|
-
expect(isInRangeOutput).toBe(true);
|
|
382
|
-
});
|
|
383
|
-
it('should correctly handle in range', () => {
|
|
384
|
-
// given
|
|
385
|
-
const date = new Date(2020, 0, 6);
|
|
386
|
-
const minDate = new Date(2020, 0, 5);
|
|
387
|
-
const maxDate = new Date(2020, 0, 10);
|
|
388
|
-
// when
|
|
389
|
-
const isInRangeOutput = isInRange(date, minDate, maxDate);
|
|
390
|
-
// then
|
|
391
|
-
expect(isInRangeOutput).toBe(true);
|
|
392
|
-
});
|
|
393
|
-
it('should correctly handle in range when only minDate defined', () => {
|
|
394
|
-
// given
|
|
395
|
-
const date = new Date(2020, 0, 6);
|
|
396
|
-
const minDate = new Date(2020, 0, 5);
|
|
397
|
-
const maxDate = undefined;
|
|
398
|
-
// when
|
|
399
|
-
const isInRangeOutput = isInRange(date, minDate, maxDate);
|
|
400
|
-
// then
|
|
401
|
-
expect(isInRangeOutput).toBe(true);
|
|
402
|
-
});
|
|
403
|
-
it('should correctly handle in range when only maxDate is defined', () => {
|
|
404
|
-
// given
|
|
405
|
-
const date = new Date(2020, 0, 6);
|
|
406
|
-
const maxDate = new Date(2020, 0, 10);
|
|
407
|
-
const minDate = undefined;
|
|
408
|
-
// when
|
|
409
|
-
const isInRangeOutput = isInRange(date, minDate, maxDate);
|
|
410
|
-
// then
|
|
411
|
-
expect(isInRangeOutput).toBe(true);
|
|
412
|
-
});
|
|
413
|
-
it('should correctly handle just below max range', () => {
|
|
414
|
-
// given
|
|
415
|
-
const date = new Date(2020, 0, 9);
|
|
416
|
-
const minDate = new Date(2020, 0, 5);
|
|
417
|
-
const maxDate = new Date(2020, 0, 10);
|
|
418
|
-
// when
|
|
419
|
-
const isInRangeOutput = isInRange(date, minDate, maxDate);
|
|
420
|
-
// then
|
|
421
|
-
expect(isInRangeOutput).toBe(true);
|
|
422
|
-
});
|
|
423
|
-
it('should correctly handle just below max range when only maxDate is defined', () => {
|
|
424
|
-
// given
|
|
425
|
-
const date = new Date(2020, 0, 9);
|
|
426
|
-
const maxDate = new Date(2020, 0, 10);
|
|
427
|
-
const minDate = undefined;
|
|
428
|
-
// when
|
|
429
|
-
const isInRangeOutput = isInRange(date, minDate, maxDate);
|
|
430
|
-
// then
|
|
431
|
-
expect(isInRangeOutput).toBe(true);
|
|
432
|
-
});
|
|
433
|
-
it('should correctly handle equal to max range', () => {
|
|
434
|
-
// given
|
|
435
|
-
const date = new Date(2020, 0, 10);
|
|
436
|
-
const minDate = new Date(2020, 0, 5);
|
|
437
|
-
const maxDate = new Date(2020, 0, 10);
|
|
438
|
-
// when
|
|
439
|
-
const isInRangeOutput = isInRange(date, minDate, maxDate);
|
|
440
|
-
// then
|
|
441
|
-
expect(isInRangeOutput).toBe(true);
|
|
442
|
-
});
|
|
443
|
-
it('should correctly handle equal to max range when only maxDate defined', () => {
|
|
444
|
-
// given
|
|
445
|
-
const date = new Date(2020, 0, 10);
|
|
446
|
-
const maxDate = new Date(2020, 0, 10);
|
|
447
|
-
const minDate = undefined;
|
|
448
|
-
// when
|
|
449
|
-
const isInRangeOutput = isInRange(date, minDate, maxDate);
|
|
450
|
-
// then
|
|
451
|
-
expect(isInRangeOutput).toBe(true);
|
|
452
|
-
});
|
|
453
|
-
it('should correctly handle higher than max range', () => {
|
|
454
|
-
// given
|
|
455
|
-
const date = new Date(2020, 0, 11);
|
|
456
|
-
const minDate = new Date(2020, 0, 5);
|
|
457
|
-
const maxDate = new Date(2020, 0, 10);
|
|
458
|
-
// when
|
|
459
|
-
const isInRangeOutput = isInRange(date, minDate, maxDate);
|
|
460
|
-
// then
|
|
461
|
-
expect(isInRangeOutput).toBe(false);
|
|
462
|
-
});
|
|
463
|
-
it('should correctly handle higher than max range when only maxDate defined', () => {
|
|
464
|
-
// given
|
|
465
|
-
const date = new Date(2020, 0, 11);
|
|
466
|
-
const maxDate = new Date(2020, 0, 10);
|
|
467
|
-
const minDate = undefined;
|
|
468
|
-
// when
|
|
469
|
-
const isInRangeOutput = isInRange(date, minDate, maxDate);
|
|
470
|
-
// then
|
|
471
|
-
expect(isInRangeOutput).toBe(false);
|
|
472
|
-
});
|
|
473
|
-
});
|
|
474
|
-
describe('getFirstDayOfTheWeek', () => {
|
|
475
|
-
it('should return correct day', () => {
|
|
476
|
-
// given
|
|
477
|
-
const date = new Date(2021, 1, 26);
|
|
478
|
-
// when
|
|
479
|
-
const firstDayOfTheWeek = getFirstDayOfTheWeek(date).getDay();
|
|
480
|
-
// then
|
|
481
|
-
expect(firstDayOfTheWeek).toBe(1);
|
|
482
|
-
});
|
|
483
|
-
it('should return correct date', () => {
|
|
484
|
-
// given
|
|
485
|
-
const date = new Date(2021, 1, 26);
|
|
486
|
-
// when
|
|
487
|
-
const firstDayOfTheWeek = getFirstDayOfTheWeek(date).getDate();
|
|
488
|
-
// then
|
|
489
|
-
expect(firstDayOfTheWeek).toBe(22);
|
|
490
|
-
});
|
|
491
|
-
});
|
|
492
|
-
describe('isSameYear', () => {
|
|
493
|
-
it('should correctly handle same year', () => {
|
|
494
|
-
// given
|
|
495
|
-
const year1 = new Date(2021, 1, 26);
|
|
496
|
-
const year2 = new Date(2021, 2, 2);
|
|
497
|
-
// when
|
|
498
|
-
const isSameYearOutput = isSameYear(year1, year2);
|
|
499
|
-
// then
|
|
500
|
-
expect(isSameYearOutput).toBe(true);
|
|
501
|
-
});
|
|
502
|
-
it('should correctly handle different year', () => {
|
|
503
|
-
// given
|
|
504
|
-
const year1 = new Date(2021, 1, 26);
|
|
505
|
-
const year2 = new Date(2022, 2, 2);
|
|
506
|
-
// when
|
|
507
|
-
const isSameYearOutput = isSameYear(year1, year2);
|
|
508
|
-
// then
|
|
509
|
-
expect(isSameYearOutput).toBe(false);
|
|
510
|
-
});
|
|
511
|
-
it('should handle null values', () => {
|
|
512
|
-
// given
|
|
513
|
-
const year1 = new Date(2021, 1, 26);
|
|
514
|
-
// when
|
|
515
|
-
const isSameYearOutput = isSameYear(year1, undefined);
|
|
516
|
-
// then
|
|
517
|
-
expect(isSameYearOutput).toBe(false);
|
|
518
|
-
});
|
|
519
|
-
});
|
|
520
|
-
describe('isSameMonth', () => {
|
|
521
|
-
it('should correctly handle same month', () => {
|
|
522
|
-
// given
|
|
523
|
-
const month1 = new Date(2021, 1, 26);
|
|
524
|
-
const month2 = new Date(2021, 1, 2);
|
|
525
|
-
// when
|
|
526
|
-
const isSameMonthOutput = isSameMonth(month1, month2);
|
|
527
|
-
// then
|
|
528
|
-
expect(isSameMonthOutput).toBe(true);
|
|
529
|
-
});
|
|
530
|
-
it('should correctly handle different month', () => {
|
|
531
|
-
// given
|
|
532
|
-
const month1 = new Date(2021, 1, 26);
|
|
533
|
-
const month2 = new Date(2021, 2, 2);
|
|
534
|
-
// when
|
|
535
|
-
const isSameMonthOutput = isSameMonth(month1, month2);
|
|
536
|
-
// then
|
|
537
|
-
expect(isSameMonthOutput).toBe(false);
|
|
538
|
-
});
|
|
539
|
-
it('should handle null values', () => {
|
|
540
|
-
// given
|
|
541
|
-
const month1 = new Date(2021, 1, 26);
|
|
542
|
-
// when
|
|
543
|
-
const isSameMonthOutput = isSameMonth(month1, undefined);
|
|
544
|
-
// then
|
|
545
|
-
expect(isSameMonthOutput).toBe(false);
|
|
546
|
-
});
|
|
547
|
-
});
|
|
548
|
-
describe('isSameWeek', () => {
|
|
549
|
-
it('should correctly handle', () => {
|
|
550
|
-
// given
|
|
551
|
-
const week1 = new Date(2021, 1, 26);
|
|
552
|
-
// when
|
|
553
|
-
const isSameWeekOutput = isSameWeek(week1, week1);
|
|
554
|
-
// then
|
|
555
|
-
expect(isSameWeekOutput).toBe(true);
|
|
556
|
-
});
|
|
557
|
-
it('should correctly handle', () => {
|
|
558
|
-
// given
|
|
559
|
-
const week1 = new Date(2021, 1, 26);
|
|
560
|
-
const week2 = new Date(2021, 1, 21);
|
|
561
|
-
// when
|
|
562
|
-
const isSameWeekOutput = isSameWeek(week1, week2);
|
|
563
|
-
// then
|
|
564
|
-
expect(isSameWeekOutput).toBe(false);
|
|
565
|
-
});
|
|
566
|
-
it('should correctly handle', () => {
|
|
567
|
-
// given
|
|
568
|
-
const week1 = new Date(2021, 1, 26);
|
|
569
|
-
const week2 = new Date(2021, 1, 22);
|
|
570
|
-
// when
|
|
571
|
-
const isSameWeekOutput = isSameWeek(week1, week2);
|
|
572
|
-
// then
|
|
573
|
-
expect(isSameWeekOutput).toBe(true);
|
|
574
|
-
});
|
|
575
|
-
it('should correctly handle', () => {
|
|
576
|
-
// given
|
|
577
|
-
const week1 = new Date(2021, 1, 26);
|
|
578
|
-
const week2 = new Date(2021, 1, 28);
|
|
579
|
-
// when
|
|
580
|
-
const isSameWeekOutput = isSameWeek(week1, week2);
|
|
581
|
-
// then
|
|
582
|
-
expect(isSameWeekOutput).toBe(true);
|
|
583
|
-
});
|
|
584
|
-
it('should correctly handle', () => {
|
|
585
|
-
// given
|
|
586
|
-
const week1 = new Date(2021, 1, 26);
|
|
587
|
-
const week2 = new Date(2021, 2, 1);
|
|
588
|
-
// when
|
|
589
|
-
const isSameWeekOutput = isSameWeek(week1, week2);
|
|
590
|
-
// then
|
|
591
|
-
expect(isSameWeekOutput).toBe(false);
|
|
592
|
-
});
|
|
593
|
-
});
|
|
594
|
-
describe('isSameDay', () => {
|
|
595
|
-
it('should correctly handle same day', () => {
|
|
596
|
-
// given
|
|
597
|
-
const day1 = new Date(2021, 1, 26);
|
|
598
|
-
const day2 = new Date(2021, 1, 26);
|
|
599
|
-
// when
|
|
600
|
-
const isSameDayOutput = isSameDay(day1, day2);
|
|
601
|
-
// then
|
|
602
|
-
expect(isSameDayOutput).toBe(true);
|
|
603
|
-
});
|
|
604
|
-
it('should correctly handle different days', () => {
|
|
605
|
-
// given
|
|
606
|
-
const day1 = new Date(2021, 1, 26);
|
|
607
|
-
const day2 = new Date(2021, 1, 25);
|
|
608
|
-
// when
|
|
609
|
-
const isSameDayOutput = isSameDay(day1, day2);
|
|
610
|
-
// then
|
|
611
|
-
expect(isSameDayOutput).toBe(false);
|
|
612
|
-
});
|
|
613
|
-
it('should correctly handle same day in different years', () => {
|
|
614
|
-
// given
|
|
615
|
-
const day1 = new Date(2021, 1, 25);
|
|
616
|
-
const day2 = new Date(2022, 1, 25);
|
|
617
|
-
// when
|
|
618
|
-
const isSameDayOutput = isSameDay(day1, day2);
|
|
619
|
-
// then
|
|
620
|
-
expect(isSameDayOutput).toBe(false);
|
|
621
|
-
});
|
|
622
|
-
it('should handle null values', () => {
|
|
623
|
-
// given
|
|
624
|
-
const day1 = new Date(2021, 1, 25);
|
|
625
|
-
// when
|
|
626
|
-
const isSameDayOutput = isSameDay(day1, undefined);
|
|
627
|
-
// then
|
|
628
|
-
expect(isSameDayOutput).toBe(false);
|
|
629
|
-
});
|
|
630
|
-
});
|
|
631
|
-
describe('formatDate', () => {
|
|
632
|
-
it('should handle undefined date', async () => {
|
|
633
|
-
// given
|
|
634
|
-
const date = undefined;
|
|
635
|
-
const format = 'dd/mm/yyyy';
|
|
636
|
-
// when
|
|
637
|
-
const formattedDate = formatDate(date, format);
|
|
638
|
-
// then
|
|
639
|
-
expect(formattedDate).toEqual('');
|
|
640
|
-
});
|
|
641
|
-
it('should correctly format dd/mm/yyyy', async () => {
|
|
642
|
-
// given
|
|
643
|
-
const date = new Date(2021, 1, 26);
|
|
644
|
-
const format = 'dd/mm/yyyy';
|
|
645
|
-
// when
|
|
646
|
-
const formattedDate = formatDate(date, format);
|
|
647
|
-
// then
|
|
648
|
-
expect(formattedDate).toEqual('26/02/2021');
|
|
649
|
-
});
|
|
650
|
-
it('should correctly format d/m/yyyy', async () => {
|
|
651
|
-
// given
|
|
652
|
-
const date = new Date(2021, 1, 5);
|
|
653
|
-
const format = 'd/m/yyyy';
|
|
654
|
-
// when
|
|
655
|
-
const formattedDate = formatDate(date, format);
|
|
656
|
-
// then
|
|
657
|
-
expect(formattedDate).toEqual('5/2/2021');
|
|
658
|
-
});
|
|
659
|
-
it('should correctly format yyyy/mm/dd', async () => {
|
|
660
|
-
// given
|
|
661
|
-
const date = new Date(2021, 1, 5);
|
|
662
|
-
const format = 'yyyy/mm/dd';
|
|
663
|
-
// when
|
|
664
|
-
const formattedDate = formatDate(date, format);
|
|
665
|
-
// then
|
|
666
|
-
expect(formattedDate).toEqual('2021/02/05');
|
|
667
|
-
});
|
|
668
|
-
it('should correctly format dd.mm.yyyy', async () => {
|
|
669
|
-
// given
|
|
670
|
-
const date = new Date(2021, 1, 5);
|
|
671
|
-
const format = 'dd.mm.yyyy';
|
|
672
|
-
// when
|
|
673
|
-
const formattedDate = formatDate(date, format);
|
|
674
|
-
// then
|
|
675
|
-
expect(formattedDate).toEqual('05.02.2021');
|
|
676
|
-
});
|
|
677
|
-
it('should correctly format dd-mm-yyyy', async () => {
|
|
678
|
-
// given
|
|
679
|
-
const date = new Date(2021, 1, 5);
|
|
680
|
-
const format = 'dd-mm-yyyy';
|
|
681
|
-
// when
|
|
682
|
-
const formattedDate = formatDate(date, format);
|
|
683
|
-
// then
|
|
684
|
-
expect(formattedDate).toEqual('05-02-2021');
|
|
685
|
-
});
|
|
686
|
-
});
|
|
687
|
-
describe('parseDate', () => {
|
|
688
|
-
it('should properly parse yyyy-mm-dd', async () => {
|
|
689
|
-
// given
|
|
690
|
-
const datestring = '2021-05-22';
|
|
691
|
-
const format = 'yyyy-mm-dd';
|
|
692
|
-
const locale = 'en';
|
|
693
|
-
// when
|
|
694
|
-
const parsedDate = parseDate(datestring, format, locale);
|
|
695
|
-
// then
|
|
696
|
-
expect(parsedDate).toEqual(new Date(2021, 4, 22));
|
|
697
|
-
});
|
|
698
|
-
it('should properly parse dd-mm-yyyy', async () => {
|
|
699
|
-
// given
|
|
700
|
-
const datestring = '22-05-2021';
|
|
701
|
-
const format = 'dd-mm-yyyy';
|
|
702
|
-
const locale = 'en';
|
|
703
|
-
// when
|
|
704
|
-
const parsedDate = parseDate(datestring, format, locale);
|
|
705
|
-
// then
|
|
706
|
-
expect(parsedDate).toEqual(new Date(2021, 4, 22));
|
|
707
|
-
});
|
|
708
|
-
it('should properly parse dd/mm/yyyy', async () => {
|
|
709
|
-
// given
|
|
710
|
-
const datestring = '22/05/2021';
|
|
711
|
-
const format = 'dd/mm/yyyy';
|
|
712
|
-
const locale = 'en';
|
|
713
|
-
// when
|
|
714
|
-
const parsedDate = parseDate(datestring, format, locale);
|
|
715
|
-
// then
|
|
716
|
-
expect(parsedDate).toEqual(new Date(2021, 4, 22));
|
|
717
|
-
});
|
|
718
|
-
});
|
|
719
|
-
describe('toDate', () => {
|
|
720
|
-
const getRandomInt = (upperBound, lowerBound = 0) => Math.floor(Math.random() * upperBound) + 1 + lowerBound;
|
|
721
|
-
const addMissingZero = (numb) => String(numb).padStart(2, '0');
|
|
722
|
-
const addMissingZeroRandomly = (numb) => {
|
|
723
|
-
// add a leading zero in 50% of the cases
|
|
724
|
-
if (Math.round(Math.random()) !== 0) {
|
|
725
|
-
return String(numb);
|
|
726
|
-
}
|
|
727
|
-
else {
|
|
728
|
-
return addMissingZero(numb);
|
|
729
|
-
}
|
|
730
|
-
};
|
|
731
|
-
const getRandomYYYY = () => getRandomInt(1000, 1000);
|
|
732
|
-
const getRandomYY = () => addMissingZero(getRandomInt(30));
|
|
733
|
-
const getRandomMonth = () => addMissingZeroRandomly(getRandomInt(12));
|
|
734
|
-
const getRandomDay = () => addMissingZeroRandomly(getRandomInt(31));
|
|
735
|
-
it('should properly parse yyyy-mm-dd', async () => {
|
|
736
|
-
// given
|
|
737
|
-
const year = getRandomYYYY();
|
|
738
|
-
const month = getRandomMonth();
|
|
739
|
-
const day = getRandomDay();
|
|
740
|
-
const dateString = `${year}-${month}-${day}`;
|
|
741
|
-
const format = 'yyyy-mm-dd';
|
|
742
|
-
// when
|
|
743
|
-
const date = toDate(dateString, format);
|
|
744
|
-
// then
|
|
745
|
-
expect(date).toEqual(new Date(year, Number(month) - 1, Number(day)));
|
|
746
|
-
});
|
|
747
|
-
it('should properly parse yy-mm-dd', async () => {
|
|
748
|
-
// given
|
|
749
|
-
const year = getRandomYY();
|
|
750
|
-
const month = getRandomMonth();
|
|
751
|
-
const day = getRandomDay();
|
|
752
|
-
const dateString = `${year}-${month}-${day}`;
|
|
753
|
-
const format = 'yy-mm-dd';
|
|
754
|
-
// when
|
|
755
|
-
const date = toDate(dateString, format);
|
|
756
|
-
// then
|
|
757
|
-
expect(date).toEqual(new Date(Number(`20${year}`), Number(month) - 1, Number(day)));
|
|
758
|
-
});
|
|
759
|
-
it('should properly parse dd.mm.yyyy', async () => {
|
|
760
|
-
// given
|
|
761
|
-
const year = getRandomYYYY();
|
|
762
|
-
const day = getRandomDay();
|
|
763
|
-
const month = getRandomMonth();
|
|
764
|
-
const dateString = `${day}.${month}.${year}`;
|
|
765
|
-
const format = 'dd.mm.yyyy';
|
|
766
|
-
// when
|
|
767
|
-
const date = toDate(dateString, format);
|
|
768
|
-
// then
|
|
769
|
-
expect(date).toEqual(new Date(year, Number(month) - 1, Number(day)));
|
|
770
|
-
});
|
|
771
|
-
it('should properly parse dd.mm.yyyy with no leading zero', async () => {
|
|
772
|
-
// given
|
|
773
|
-
const dateString = '2.5.1990';
|
|
774
|
-
const format = 'dd.mm.yyyy';
|
|
775
|
-
// when
|
|
776
|
-
const date = toDate(dateString, format);
|
|
777
|
-
// then
|
|
778
|
-
expect(date).toEqual(new Date(1990, 4, 2));
|
|
779
|
-
});
|
|
780
|
-
it('should properly parse dd.mm.yy', async () => {
|
|
781
|
-
// given
|
|
782
|
-
const day = getRandomDay();
|
|
783
|
-
const month = getRandomMonth();
|
|
784
|
-
const year = getRandomYY();
|
|
785
|
-
const dateString = `${day}.${month}.${year}`;
|
|
786
|
-
const format = 'dd.mm.yy';
|
|
787
|
-
// when
|
|
788
|
-
const date = toDate(dateString, format);
|
|
789
|
-
// then
|
|
790
|
-
expect(date).toEqual(new Date(Number(`20${year}`), Number(month) - 1, Number(day)));
|
|
791
|
-
});
|
|
792
|
-
it('should properly parse dd-mm-yyyy', async () => {
|
|
793
|
-
// given
|
|
794
|
-
const year = getRandomYYYY();
|
|
795
|
-
const month = getRandomMonth();
|
|
796
|
-
const day = getRandomDay();
|
|
797
|
-
const dateString = `${day}-${month}-${year}`;
|
|
798
|
-
const format = 'dd-mm-yyyy';
|
|
799
|
-
// when
|
|
800
|
-
const date = toDate(dateString, format);
|
|
801
|
-
// then
|
|
802
|
-
expect(date).toEqual(new Date(year, Number(month) - 1, Number(day)));
|
|
803
|
-
});
|
|
804
|
-
it('should properly parse dd-mm-yy', async () => {
|
|
805
|
-
// given
|
|
806
|
-
const month = getRandomMonth();
|
|
807
|
-
const day = getRandomDay();
|
|
808
|
-
const year = getRandomYY();
|
|
809
|
-
const dateString = `${day}-${month}-${year}`;
|
|
810
|
-
const format = 'dd-mm-yy';
|
|
811
|
-
// when
|
|
812
|
-
const date = toDate(dateString, format);
|
|
813
|
-
// then
|
|
814
|
-
expect(date).toEqual(new Date(Number(`20${year}`), Number(month) - 1, Number(day)));
|
|
815
|
-
});
|
|
816
|
-
it('should properly parse dd/mm/yyyy', async () => {
|
|
817
|
-
// given
|
|
818
|
-
const year = getRandomYYYY();
|
|
819
|
-
const month = getRandomMonth();
|
|
820
|
-
const day = getRandomDay();
|
|
821
|
-
const dateString = `${day}/${month}/${year}`;
|
|
822
|
-
const format = 'dd/mm/yyyy';
|
|
823
|
-
// when
|
|
824
|
-
const date = toDate(dateString, format);
|
|
825
|
-
// then
|
|
826
|
-
expect(date).toEqual(new Date(year, Number(month) - 1, Number(day)));
|
|
827
|
-
});
|
|
828
|
-
it('should properly parse dd/mm/yy', async () => {
|
|
829
|
-
// given
|
|
830
|
-
const day = getRandomDay();
|
|
831
|
-
const month = getRandomMonth();
|
|
832
|
-
const year = getRandomYY();
|
|
833
|
-
const dateString = `${day}/${month}/${year}`;
|
|
834
|
-
const format = 'dd/mm/yy';
|
|
835
|
-
// when
|
|
836
|
-
const date = toDate(dateString, format);
|
|
837
|
-
// then
|
|
838
|
-
expect(date).toEqual(new Date(Number(`20${year}`), Number(month) - 1, Number(day)));
|
|
839
|
-
});
|
|
840
|
-
it('should properly parse yyyy/mm/dd', async () => {
|
|
841
|
-
// given
|
|
842
|
-
const year = getRandomYYYY();
|
|
843
|
-
const month = getRandomMonth();
|
|
844
|
-
const day = getRandomDay();
|
|
845
|
-
const dateString = `${year}/${month}/${day}`;
|
|
846
|
-
const format = 'yyyy/mm/dd';
|
|
847
|
-
// when
|
|
848
|
-
const date = toDate(dateString, format);
|
|
849
|
-
// then
|
|
850
|
-
expect(date).toEqual(new Date(year, Number(month) - 1, Number(day)));
|
|
851
|
-
});
|
|
852
|
-
it('should properly parse yy/mm/dd', async () => {
|
|
853
|
-
// given
|
|
854
|
-
const year = getRandomYY();
|
|
855
|
-
const month = getRandomMonth();
|
|
856
|
-
const day = getRandomDay();
|
|
857
|
-
const dateString = `${year}/${month}/${day}`;
|
|
858
|
-
const format = 'yy/mm/dd';
|
|
859
|
-
// when
|
|
860
|
-
const date = toDate(dateString, format);
|
|
861
|
-
// then
|
|
862
|
-
expect(date).toEqual(new Date(Number(`20${year}`), Number(month) - 1, Number(day)));
|
|
863
|
-
});
|
|
864
|
-
});
|
|
865
|
-
});
|
|
866
|
-
describe('createCalendarGrid', () => {
|
|
867
|
-
const mapGridToProperty = (grid, property) => grid.map((row) => row.map((cell) => cell[property]));
|
|
868
|
-
const stringifyGrid = (grid) => mapGridToProperty(grid, 'label');
|
|
869
|
-
const extractDisabledMapFromGrid = (grid) => mapGridToProperty(grid, 'isDisabled');
|
|
870
|
-
const extractOutdatedMapFromGrid = (grid) => mapGridToProperty(grid, 'isOutdated');
|
|
871
|
-
it('should correctly show some specific date', async () => {
|
|
872
|
-
// given
|
|
873
|
-
const args = {
|
|
874
|
-
allowedDates: () => true,
|
|
875
|
-
firstDateOfBox: new Date(2022, 1, 28),
|
|
876
|
-
dateFormat: SixDateFormats.DDMMYY_DOT,
|
|
877
|
-
locale: 'en',
|
|
878
|
-
selectedDate: undefined,
|
|
879
|
-
minDate: undefined,
|
|
880
|
-
maxDate: undefined,
|
|
881
|
-
pointerDate: {
|
|
882
|
-
year: 2022,
|
|
883
|
-
month: 2,
|
|
884
|
-
day: 31,
|
|
885
|
-
},
|
|
886
|
-
};
|
|
887
|
-
// when
|
|
888
|
-
const calendarGrid = createCalendarGrid(args);
|
|
889
|
-
// then
|
|
890
|
-
expect(stringifyGrid(calendarGrid)).toEqual([
|
|
891
|
-
['28', '1', '2', '3', '4', '5', '6'],
|
|
892
|
-
['7', '8', '9', '10', '11', '12', '13'],
|
|
893
|
-
['14', '15', '16', '17', '18', '19', '20'],
|
|
894
|
-
['21', '22', '23', '24', '25', '26', '27'],
|
|
895
|
-
['28', '29', '30', '31', '1', '2', '3'],
|
|
896
|
-
]);
|
|
897
|
-
expect(extractDisabledMapFromGrid(calendarGrid)).toEqual([
|
|
898
|
-
[false, false, false, false, false, false, false],
|
|
899
|
-
[false, false, false, false, false, false, false],
|
|
900
|
-
[false, false, false, false, false, false, false],
|
|
901
|
-
[false, false, false, false, false, false, false],
|
|
902
|
-
[false, false, false, false, false, false, false],
|
|
903
|
-
]);
|
|
904
|
-
expect(extractOutdatedMapFromGrid(calendarGrid)).toEqual([
|
|
905
|
-
[true, false, false, false, false, false, false],
|
|
906
|
-
[false, false, false, false, false, false, false],
|
|
907
|
-
[false, false, false, false, false, false, false],
|
|
908
|
-
[false, false, false, false, false, false, false],
|
|
909
|
-
[false, false, false, false, true, true, true],
|
|
910
|
-
]);
|
|
911
|
-
});
|
|
912
|
-
it('should correctly show some box when today is first day of the month', async () => {
|
|
913
|
-
// given
|
|
914
|
-
const args = {
|
|
915
|
-
allowedDates: () => true,
|
|
916
|
-
firstDateOfBox: new Date(2022, 1, 28),
|
|
917
|
-
dateFormat: SixDateFormats.DDMMYY_DOT,
|
|
918
|
-
locale: 'en',
|
|
919
|
-
selectedDate: undefined,
|
|
920
|
-
minDate: undefined,
|
|
921
|
-
maxDate: undefined,
|
|
922
|
-
pointerDate: {
|
|
923
|
-
year: 2022,
|
|
924
|
-
month: 2,
|
|
925
|
-
day: 1,
|
|
926
|
-
},
|
|
927
|
-
};
|
|
928
|
-
// when
|
|
929
|
-
const calendarGrid = createCalendarGrid(args);
|
|
930
|
-
// then
|
|
931
|
-
expect(stringifyGrid(calendarGrid)).toEqual([
|
|
932
|
-
['28', '1', '2', '3', '4', '5', '6'],
|
|
933
|
-
['7', '8', '9', '10', '11', '12', '13'],
|
|
934
|
-
['14', '15', '16', '17', '18', '19', '20'],
|
|
935
|
-
['21', '22', '23', '24', '25', '26', '27'],
|
|
936
|
-
['28', '29', '30', '31', '1', '2', '3'],
|
|
937
|
-
]);
|
|
938
|
-
expect(extractDisabledMapFromGrid(calendarGrid)).toEqual([
|
|
939
|
-
[false, false, false, false, false, false, false],
|
|
940
|
-
[false, false, false, false, false, false, false],
|
|
941
|
-
[false, false, false, false, false, false, false],
|
|
942
|
-
[false, false, false, false, false, false, false],
|
|
943
|
-
[false, false, false, false, false, false, false],
|
|
944
|
-
]);
|
|
945
|
-
expect(extractOutdatedMapFromGrid(calendarGrid)).toEqual([
|
|
946
|
-
[true, false, false, false, false, false, false],
|
|
947
|
-
[false, false, false, false, false, false, false],
|
|
948
|
-
[false, false, false, false, false, false, false],
|
|
949
|
-
[false, false, false, false, false, false, false],
|
|
950
|
-
[false, false, false, false, true, true, true],
|
|
951
|
-
]);
|
|
952
|
-
});
|
|
953
|
-
it('should correclty create calendargrid with non allowed dates', async () => {
|
|
954
|
-
// given
|
|
955
|
-
const args = {
|
|
956
|
-
allowedDates: (date) => date.getDate() % 2 === 0,
|
|
957
|
-
firstDateOfBox: new Date(2022, 1, 28),
|
|
958
|
-
dateFormat: SixDateFormats.DDMMYY_DOT,
|
|
959
|
-
locale: 'en',
|
|
960
|
-
selectedDate: undefined,
|
|
961
|
-
minDate: undefined,
|
|
962
|
-
maxDate: undefined,
|
|
963
|
-
pointerDate: {
|
|
964
|
-
year: 2022,
|
|
965
|
-
month: 2,
|
|
966
|
-
day: 31,
|
|
967
|
-
},
|
|
968
|
-
};
|
|
969
|
-
// when
|
|
970
|
-
const calendarGrid = createCalendarGrid(args);
|
|
971
|
-
// then
|
|
972
|
-
expect(stringifyGrid(calendarGrid)).toEqual([
|
|
973
|
-
['28', '1', '2', '3', '4', '5', '6'],
|
|
974
|
-
['7', '8', '9', '10', '11', '12', '13'],
|
|
975
|
-
['14', '15', '16', '17', '18', '19', '20'],
|
|
976
|
-
['21', '22', '23', '24', '25', '26', '27'],
|
|
977
|
-
['28', '29', '30', '31', '1', '2', '3'],
|
|
978
|
-
]);
|
|
979
|
-
expect(extractDisabledMapFromGrid(calendarGrid)).toEqual([
|
|
980
|
-
[false, true, false, true, false, true, false],
|
|
981
|
-
[true, false, true, false, true, false, true],
|
|
982
|
-
[false, true, false, true, false, true, false],
|
|
983
|
-
[true, false, true, false, true, false, true],
|
|
984
|
-
[false, true, false, true, true, false, true],
|
|
985
|
-
]);
|
|
986
|
-
expect(extractOutdatedMapFromGrid(calendarGrid)).toEqual([
|
|
987
|
-
[true, false, false, false, false, false, false],
|
|
988
|
-
[false, false, false, false, false, false, false],
|
|
989
|
-
[false, false, false, false, false, false, false],
|
|
990
|
-
[false, false, false, false, false, false, false],
|
|
991
|
-
[false, false, false, false, true, true, true],
|
|
992
|
-
]);
|
|
993
|
-
});
|
|
994
|
-
});
|
|
995
|
-
//# sourceMappingURL=date-util.spec.js.map
|