@sk-web-gui/core 2.2.2 → 2.4.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/aria-plugin.js +47 -0
- package/dist/cjs/aria-plugin.js.map +1 -0
- package/dist/cjs/components/accordion.js +0 -5
- package/dist/cjs/components/accordion.js.map +1 -1
- package/dist/cjs/components/chip.js.map +1 -1
- package/dist/cjs/components/combobox.js.map +1 -1
- package/dist/cjs/components/forms.js.map +1 -1
- package/dist/cjs/components/input.js.map +1 -1
- package/dist/cjs/components/label.js.map +1 -1
- package/dist/cjs/components/list.js.map +1 -1
- package/dist/cjs/components/logo.js.map +1 -1
- package/dist/cjs/components/menu-vertical.js.map +1 -1
- package/dist/cjs/components/menubar.js.map +1 -1
- package/dist/cjs/components/popup-menu.js.map +1 -1
- package/dist/cjs/components/progress-bar.js.map +1 -1
- package/dist/cjs/components/progress-stepper.js +11 -1
- package/dist/cjs/components/progress-stepper.js.map +1 -1
- package/dist/cjs/components/search-field.js.map +1 -1
- package/dist/cjs/components/select.js.map +1 -1
- package/dist/cjs/components/spinner.js.map +1 -1
- package/dist/cjs/components/table-autotable.js.map +1 -1
- package/dist/cjs/components/tabs.js.map +1 -1
- package/dist/cjs/components/tooltip.js.map +1 -1
- package/dist/cjs/data-plugin.js +30 -0
- package/dist/cjs/data-plugin.js.map +1 -0
- package/dist/cjs/index.js +4 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/plugin.js.map +1 -1
- package/dist/cjs/preset.js +5 -1
- package/dist/cjs/preset.js.map +1 -1
- package/dist/cjs/theme.js.map +1 -1
- package/dist/cjs/units.js.map +1 -1
- package/dist/esm/aria-plugin.js +42 -0
- package/dist/esm/aria-plugin.js.map +1 -0
- package/dist/esm/components/accordion.js +0 -5
- package/dist/esm/components/accordion.js.map +1 -1
- package/dist/esm/components/chip.js.map +1 -1
- package/dist/esm/components/combobox.js.map +1 -1
- package/dist/esm/components/forms.js.map +1 -1
- package/dist/esm/components/input.js.map +1 -1
- package/dist/esm/components/label.js.map +1 -1
- package/dist/esm/components/list.js.map +1 -1
- package/dist/esm/components/logo.js.map +1 -1
- package/dist/esm/components/menu-vertical.js.map +1 -1
- package/dist/esm/components/menubar.js.map +1 -1
- package/dist/esm/components/popup-menu.js.map +1 -1
- package/dist/esm/components/progress-bar.js.map +1 -1
- package/dist/esm/components/progress-stepper.js +11 -1
- package/dist/esm/components/progress-stepper.js.map +1 -1
- package/dist/esm/components/search-field.js.map +1 -1
- package/dist/esm/components/select.js.map +1 -1
- package/dist/esm/components/spinner.js.map +1 -1
- package/dist/esm/components/table-autotable.js.map +1 -1
- package/dist/esm/components/tabs.js.map +1 -1
- package/dist/esm/components/tooltip.js.map +1 -1
- package/dist/esm/data-plugin.js +27 -0
- package/dist/esm/data-plugin.js.map +1 -0
- package/dist/esm/index.js +3 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/plugin.js.map +1 -1
- package/dist/esm/preset.js +5 -1
- package/dist/esm/preset.js.map +1 -1
- package/dist/esm/theme.js.map +1 -1
- package/dist/esm/units.js.map +1 -1
- package/dist/types/accordion/index.d.ts +2 -0
- package/dist/types/accordion/src/accordion/accordion-item.d.ts +8 -0
- package/dist/types/accordion/src/accordion/accordion.d.ts +25 -0
- package/dist/types/accordion/src/accordion/index.d.ts +10 -0
- package/dist/types/accordion/src/disclosure/disclosure.d.ts +53 -0
- package/dist/types/accordion/src/disclosure/index.d.ts +4 -0
- package/dist/types/accordion/src/disclosure/styles.d.ts +1 -0
- package/dist/types/accordion/src/index.d.ts +4 -0
- package/dist/types/accordion/stories/accordion.stories.d.ts +8 -0
- package/dist/types/accordion/stories/disclosure.stories.d.ts +9 -0
- package/dist/types/aria-plugin.d.ts +4 -0
- package/dist/types/avatar/index.d.ts +2 -0
- package/dist/types/avatar/src/avatar.d.ts +17 -0
- package/dist/types/avatar/src/index.d.ts +8 -0
- package/dist/types/avatar/stories/avatar.stories.d.ts +8 -0
- package/dist/types/badge/index.d.ts +2 -0
- package/dist/types/badge/src/badge.d.ts +12 -0
- package/dist/types/badge/src/index.d.ts +8 -0
- package/dist/types/badge/stories/badge.stories.d.ts +8 -0
- package/dist/types/breadcrumb/index.d.ts +2 -0
- package/dist/types/breadcrumb/src/breadcrumb.d.ts +41 -0
- package/dist/types/breadcrumb/src/index.d.ts +11 -0
- package/dist/types/breadcrumb/stories/breadcrumb.stories.d.ts +7 -0
- package/dist/types/button/index.d.ts +2 -0
- package/dist/types/button/src/button-group.d.ts +15 -0
- package/dist/types/button/src/button.d.ts +49 -0
- package/dist/types/button/src/index.d.ts +11 -0
- package/dist/types/button/src/styles.d.ts +1 -0
- package/dist/types/button/stories/announcement.d.ts +5 -0
- package/dist/types/button/stories/button-group.stories.d.ts +8 -0
- package/dist/types/button/stories/button.stories.d.ts +7 -0
- package/dist/types/card/index.d.ts +2 -0
- package/dist/types/card/src/card.d.ts +60 -0
- package/dist/types/card/src/index.d.ts +21 -0
- package/dist/types/card/src/meta-card.d.ts +42 -0
- package/dist/types/card/stories/card.stories.d.ts +4 -0
- package/dist/types/card/stories/meta-card.stories.d.ts +4 -0
- package/dist/types/chip/index.d.ts +2 -0
- package/dist/types/chip/src/chip.d.ts +7 -0
- package/dist/types/chip/src/index.d.ts +4 -0
- package/dist/types/chip/stories/chip.stories.d.ts +12 -0
- package/dist/types/components/accordion.d.ts +0 -5
- package/dist/types/components/progress-stepper.d.ts +10 -0
- package/dist/types/cookie-consent/index.d.ts +2 -0
- package/dist/types/cookie-consent/src/cookie-consent.d.ts +32 -0
- package/dist/types/cookie-consent/src/index.d.ts +15 -0
- package/dist/types/cookie-consent/stories/cookie-consent.stories.d.ts +7 -0
- package/dist/types/core/src/aria-plugin.d.ts +4 -0
- package/dist/types/core/src/base.d.ts +53 -0
- package/dist/types/core/src/colors.d.ts +643 -0
- package/dist/types/core/src/components/accordion.d.ts +164 -0
- package/dist/types/core/src/components/alert.d.ts +21 -0
- package/dist/types/core/src/components/avatar.d.ts +26 -0
- package/dist/types/core/src/components/badge.d.ts +21 -0
- package/dist/types/core/src/components/breadcrumb.d.ts +28 -0
- package/dist/types/core/src/components/button-group.d.ts +25 -0
- package/dist/types/core/src/components/button.d.ts +201 -0
- package/dist/types/core/src/components/card.d.ts +135 -0
- package/dist/types/core/src/components/checkbox.d.ts +108 -0
- package/dist/types/core/src/components/chip.d.ts +34 -0
- package/dist/types/core/src/components/code.d.ts +8 -0
- package/dist/types/core/src/components/combobox.d.ts +72 -0
- package/dist/types/core/src/components/cookie-consent.d.ts +35 -0
- package/dist/types/core/src/components/dialog.d.ts +5 -0
- package/dist/types/core/src/components/divider.d.ts +50 -0
- package/dist/types/core/src/components/dot.d.ts +43 -0
- package/dist/types/core/src/components/filter.d.ts +14 -0
- package/dist/types/core/src/components/footer.d.ts +27 -0
- package/dist/types/core/src/components/forms.d.ts +24 -0
- package/dist/types/core/src/components/header.d.ts +28 -0
- package/dist/types/core/src/components/icon.d.ts +38 -0
- package/dist/types/core/src/components/input.d.ts +214 -0
- package/dist/types/core/src/components/kbd.d.ts +7 -0
- package/dist/types/core/src/components/label.d.ts +27 -0
- package/dist/types/core/src/components/link.d.ts +43 -0
- package/dist/types/core/src/components/list.d.ts +52 -0
- package/dist/types/core/src/components/logo.d.ts +48 -0
- package/dist/types/core/src/components/menu-vertical.d.ts +215 -0
- package/dist/types/core/src/components/menubar.d.ts +35 -0
- package/dist/types/core/src/components/modal.d.ts +45 -0
- package/dist/types/core/src/components/pagination.d.ts +101 -0
- package/dist/types/core/src/components/popup-menu.d.ts +138 -0
- package/dist/types/core/src/components/progress-bar.d.ts +13 -0
- package/dist/types/core/src/components/progress-stepper.d.ts +60 -0
- package/dist/types/core/src/components/radio.d.ts +125 -0
- package/dist/types/core/src/components/search-field.d.ts +34 -0
- package/dist/types/core/src/components/select.d.ts +141 -0
- package/dist/types/core/src/components/snackbar.d.ts +30 -0
- package/dist/types/core/src/components/spinner.d.ts +10 -0
- package/dist/types/core/src/components/switch.d.ts +64 -0
- package/dist/types/core/src/components/table-autotable.d.ts +221 -0
- package/dist/types/core/src/components/table.d.ts +11 -0
- package/dist/types/core/src/components/tabs.d.ts +14 -0
- package/dist/types/core/src/components/tooltip.d.ts +53 -0
- package/dist/types/core/src/components/user-menu.d.ts +14 -0
- package/dist/types/core/src/data-plugin.d.ts +4 -0
- package/dist/types/core/src/index.d.ts +6 -0
- package/dist/types/core/src/plugin.d.ts +12 -0
- package/dist/types/core/src/preset.d.ts +18 -0
- package/dist/types/core/src/theme.d.ts +4 -0
- package/dist/types/core/src/units.d.ts +251 -0
- package/dist/types/core/src/with-opacity.d.ts +4 -0
- package/dist/types/data-plugin.d.ts +4 -0
- package/dist/types/divider/index.d.ts +2 -0
- package/dist/types/divider/src/divider-section.d.ts +12 -0
- package/dist/types/divider/src/divider.d.ts +8 -0
- package/dist/types/divider/src/index.d.ts +10 -0
- package/dist/types/divider/src/styles.d.ts +1 -0
- package/dist/types/divider/stories/divider-section.stories.d.ts +8 -0
- package/dist/types/divider/stories/divider.stories.d.ts +8 -0
- package/dist/types/filter/index.d.ts +2 -0
- package/dist/types/filter/src/filter-item.d.ts +7 -0
- package/dist/types/filter/src/filter-label.d.ts +7 -0
- package/dist/types/filter/src/filter.d.ts +6 -0
- package/dist/types/filter/src/index.d.ts +12 -0
- package/dist/types/filter/stories/filter.stories.d.ts +7 -0
- package/dist/types/forms/index.d.ts +2 -0
- package/dist/types/forms/src/checkbox/checkbox-group.d.ts +46 -0
- package/dist/types/forms/src/checkbox/checkbox.d.ts +39 -0
- package/dist/types/forms/src/checkbox/index.d.ts +10 -0
- package/dist/types/forms/src/checkbox/styles.d.ts +2 -0
- package/dist/types/forms/src/combobox/combobox-context.d.ts +42 -0
- package/dist/types/forms/src/combobox/combobox-input.d.ts +44 -0
- package/dist/types/forms/src/combobox/combobox-list.d.ts +8 -0
- package/dist/types/forms/src/combobox/combobox-option.d.ts +11 -0
- package/dist/types/forms/src/combobox/combobox.d.ts +6 -0
- package/dist/types/forms/src/combobox/index.d.ts +15 -0
- package/dist/types/forms/src/combobox/styles.d.ts +1 -0
- package/dist/types/forms/src/date-picker/date-picker.d.ts +7 -0
- package/dist/types/forms/src/date-picker/index.d.ts +8 -0
- package/dist/types/forms/src/form-control/index.d.ts +40 -0
- package/dist/types/forms/src/form-error-message/index.d.ts +8 -0
- package/dist/types/forms/src/form-helper-text/index.d.ts +8 -0
- package/dist/types/forms/src/form-label/index.d.ts +20 -0
- package/dist/types/forms/src/index.d.ts +26 -0
- package/dist/types/forms/src/input/index.d.ts +13 -0
- package/dist/types/forms/src/input/input.d.ts +26 -0
- package/dist/types/forms/src/input/styles.d.ts +1 -0
- package/dist/types/forms/src/input-addin/index.d.ts +12 -0
- package/dist/types/forms/src/input-group/index.d.ts +11 -0
- package/dist/types/forms/src/input-group/styles.d.ts +1 -0
- package/dist/types/forms/src/radio/index.d.ts +10 -0
- package/dist/types/forms/src/radio/radio-group.d.ts +48 -0
- package/dist/types/forms/src/radio/radio.d.ts +32 -0
- package/dist/types/forms/src/radio/styles.d.ts +3 -0
- package/dist/types/forms/src/select/index.d.ts +18 -0
- package/dist/types/forms/src/select/styles.d.ts +1 -0
- package/dist/types/forms/src/switch/index.d.ts +8 -0
- package/dist/types/forms/src/switch/switchcomponent.d.ts +9 -0
- package/dist/types/forms/src/text-field/index.d.ts +8 -0
- package/dist/types/forms/src/text-field/text-field.d.ts +6 -0
- package/dist/types/forms/src/textarea/index.d.ts +12 -0
- package/dist/types/forms/stories/check.d.ts +5 -0
- package/dist/types/forms/stories/checkbox-group.stories.d.ts +11 -0
- package/dist/types/forms/stories/checkbox.stories.d.ts +8 -0
- package/dist/types/forms/stories/combobox.stories.d.ts +19 -0
- package/dist/types/forms/stories/date-picker.stories.d.ts +21 -0
- package/dist/types/forms/stories/form-control.stories.d.ts +10 -0
- package/dist/types/forms/stories/input.stories.d.ts +21 -0
- package/dist/types/forms/stories/radio-group.stories.d.ts +11 -0
- package/dist/types/forms/stories/radio.stories.d.ts +14 -0
- package/dist/types/forms/stories/select.stories.d.ts +10 -0
- package/dist/types/forms/stories/switch.stories.d.ts +8 -0
- package/dist/types/forms/stories/text-field.stories.d.ts +18 -0
- package/dist/types/forms/stories/textarea.stories.d.ts +42 -0
- package/dist/types/icon/index.d.ts +2 -0
- package/dist/types/icon/src/icon-padded.d.ts +4 -0
- package/dist/types/icon/src/icon.d.ts +20 -0
- package/dist/types/icon/src/index.d.ts +10 -0
- package/dist/types/icon/stories/icon-padded.stories.d.ts +8 -0
- package/dist/types/icon/stories/icon.stories.d.ts +8 -0
- package/dist/types/image/index.d.ts +2 -0
- package/dist/types/image/src/image.d.ts +28 -0
- package/dist/types/image/src/index.d.ts +4 -0
- package/dist/types/image/src/use-image.d.ts +52 -0
- package/dist/types/image/stories/image.stories.d.ts +8 -0
- package/dist/types/index.d.ts +3 -1
- package/dist/types/label/index.d.ts +2 -0
- package/dist/types/label/src/index.d.ts +8 -0
- package/dist/types/label/src/label.d.ts +8 -0
- package/dist/types/label/stories/label.stories.d.ts +8 -0
- package/dist/types/layout/index.d.ts +2 -0
- package/dist/types/layout/src/footer/footer-list-item.d.ts +4 -0
- package/dist/types/layout/src/footer/footer-list.d.ts +4 -0
- package/dist/types/layout/src/footer/footer.d.ts +6 -0
- package/dist/types/layout/src/footer/index.d.ts +14 -0
- package/dist/types/layout/src/header/header.d.ts +17 -0
- package/dist/types/layout/src/header/index.d.ts +8 -0
- package/dist/types/layout/src/index.d.ts +4 -0
- package/dist/types/layout/stories/footer.stories.d.ts +7 -0
- package/dist/types/layout/stories/header.stories.d.ts +5 -0
- package/dist/types/link/index.d.ts +2 -0
- package/dist/types/link/src/index.d.ts +12 -0
- package/dist/types/link/src/link.d.ts +21 -0
- package/dist/types/link/src/styles.d.ts +1 -0
- package/dist/types/link/stories/link.stories.d.ts +12 -0
- package/dist/types/list/index.d.ts +2 -0
- package/dist/types/list/src/index.d.ts +12 -0
- package/dist/types/list/src/list.d.ts +28 -0
- package/dist/types/list/stories/list.stories.d.ts +7 -0
- package/dist/types/logo/index.d.ts +2 -0
- package/dist/types/logo/src/assets/index.d.ts +2 -0
- package/dist/types/logo/src/assets/logo-svg.d.ts +2 -0
- package/dist/types/logo/src/assets/symbol-svg.d.ts +2 -0
- package/dist/types/logo/src/index.d.ts +4 -0
- package/dist/types/logo/src/logo.d.ts +38 -0
- package/dist/types/logo/stories/logo.stories.d.ts +8 -0
- package/dist/types/menu-vertical/index.d.ts +2 -0
- package/dist/types/menu-vertical/src/index.d.ts +25 -0
- package/dist/types/menu-vertical/src/menu-vertical-backbutton.d.ts +9 -0
- package/dist/types/menu-vertical/src/menu-vertical-context.d.ts +62 -0
- package/dist/types/menu-vertical/src/menu-vertical-header.d.ts +9 -0
- package/dist/types/menu-vertical/src/menu-vertical-item.d.ts +26 -0
- package/dist/types/menu-vertical/src/menu-vertical-label.d.ts +7 -0
- package/dist/types/menu-vertical/src/menu-vertical-nav.d.ts +9 -0
- package/dist/types/menu-vertical/src/menu-vertical-sidebar.d.ts +9 -0
- package/dist/types/menu-vertical/src/menu-vertical-submenu-button.d.ts +25 -0
- package/dist/types/menu-vertical/src/menu-vertical-tool-item.d.ts +9 -0
- package/dist/types/menu-vertical/src/menu-vertical.d.ts +14 -0
- package/dist/types/menu-vertical/stories/menu-vertical-sidebar.stories.d.ts +8 -0
- package/dist/types/menu-vertical/stories/menu-vertical.stories.d.ts +8 -0
- package/dist/types/menubar/index.d.ts +2 -0
- package/dist/types/menubar/src/index.d.ts +11 -0
- package/dist/types/menubar/src/menubar-item.d.ts +15 -0
- package/dist/types/menubar/src/menubar.d.ts +18 -0
- package/dist/types/menubar/stories/menubar.stories.d.ts +7 -0
- package/dist/types/modal/index.d.ts +2 -0
- package/dist/types/modal/src/confirm/confirm.d.ts +17 -0
- package/dist/types/modal/src/confirm/index.d.ts +1 -0
- package/dist/types/modal/src/dialog/dialog-buttons.d.ts +6 -0
- package/dist/types/modal/src/dialog/dialog-content.d.ts +6 -0
- package/dist/types/modal/src/dialog/dialog.d.ts +7 -0
- package/dist/types/modal/src/dialog/index.d.ts +12 -0
- package/dist/types/modal/src/index.d.ts +6 -0
- package/dist/types/modal/src/modal/index.d.ts +13 -0
- package/dist/types/modal/src/modal/modal-content.d.ts +5 -0
- package/dist/types/modal/src/modal/modal-footer.d.ts +5 -0
- package/dist/types/modal/src/modal/modal.d.ts +27 -0
- package/dist/types/modal/stories/confirm.stories.d.ts +10 -0
- package/dist/types/modal/stories/dialog.stories.d.ts +6 -0
- package/dist/types/modal/stories/modal.stories.d.ts +7 -0
- package/dist/types/pagination/index.d.ts +2 -0
- package/dist/types/pagination/src/index.d.ts +8 -0
- package/dist/types/pagination/src/pagination.d.ts +19 -0
- package/dist/types/pagination/src/styles.d.ts +1 -0
- package/dist/types/pagination/stories/pagination.stories.d.ts +8 -0
- package/dist/types/popup-menu/index.d.ts +2 -0
- package/dist/types/popup-menu/src/index.d.ts +18 -0
- package/dist/types/popup-menu/src/popup-menu-button.d.ts +2 -0
- package/dist/types/popup-menu/src/popup-menu-group.d.ts +5 -0
- package/dist/types/popup-menu/src/popup-menu-item.d.ts +11 -0
- package/dist/types/popup-menu/src/popup-menu-items.d.ts +20 -0
- package/dist/types/popup-menu/src/popup-menu-panel.d.ts +6 -0
- package/dist/types/popup-menu/src/popup-menu.d.ts +53 -0
- package/dist/types/popup-menu/src/popupmenu-context.d.ts +18 -0
- package/dist/types/popup-menu/src/styles.d.ts +1 -0
- package/dist/types/popup-menu/stories/popup-menu.stories.d.ts +9 -0
- package/dist/types/preset.d.ts +2 -0
- package/dist/types/progress-bar/index.d.ts +2 -0
- package/dist/types/progress-bar/src/index.d.ts +8 -0
- package/dist/types/progress-bar/src/progress-bar.d.ts +18 -0
- package/dist/types/progress-bar/src/styles.d.ts +0 -0
- package/dist/types/progress-bar/stories/progress-bar.stories.d.ts +8 -0
- package/dist/types/progress-stepper/index.d.ts +2 -0
- package/dist/types/progress-stepper/src/index.d.ts +8 -0
- package/dist/types/progress-stepper/src/progress-step.d.ts +13 -0
- package/dist/types/progress-stepper/src/progress-stepper.d.ts +12 -0
- package/dist/types/progress-stepper/stories/progress-stepper.stories.d.ts +8 -0
- package/dist/types/react/index.d.ts +2 -0
- package/dist/types/react/src/index.d.ts +70 -0
- package/dist/types/searchfield/index.d.ts +2 -0
- package/dist/types/searchfield/src/index.d.ts +18 -0
- package/dist/types/searchfield/src/searchfield-suggestions-input.d.ts +9 -0
- package/dist/types/searchfield/src/searchfield-suggestions-list.d.ts +5 -0
- package/dist/types/searchfield/src/searchfield-suggestions-option.d.ts +5 -0
- package/dist/types/searchfield/src/searchfield-suggestions.d.ts +5 -0
- package/dist/types/searchfield/src/searchfield.d.ts +27 -0
- package/dist/types/searchfield/stories/searchfield-suggestions.stories.d.ts +8 -0
- package/dist/types/searchfield/stories/searchfield.stories.d.ts +6 -0
- package/dist/types/snackbar/index.d.ts +2 -0
- package/dist/types/snackbar/src/index.d.ts +8 -0
- package/dist/types/snackbar/src/snackbar.d.ts +11 -0
- package/dist/types/snackbar/stories/snackbar.stories.d.ts +8 -0
- package/dist/types/spinner/index.d.ts +2 -0
- package/dist/types/spinner/src/assets/spinner-square.d.ts +265 -0
- package/dist/types/spinner/src/index.d.ts +4 -0
- package/dist/types/spinner/src/spinner.d.ts +14 -0
- package/dist/types/spinner/stories/spinner.stories.d.ts +8 -0
- package/dist/types/table/index.d.ts +2 -0
- package/dist/types/table/src/auto-table.d.ts +48 -0
- package/dist/types/table/src/index.d.ts +24 -0
- package/dist/types/table/src/table-body.d.ts +2 -0
- package/dist/types/table/src/table-footer.d.ts +2 -0
- package/dist/types/table/src/table-header-column.d.ts +6 -0
- package/dist/types/table/src/table-header.d.ts +6 -0
- package/dist/types/table/src/table-row-column.d.ts +6 -0
- package/dist/types/table/src/table-row.d.ts +2 -0
- package/dist/types/table/src/table-sort-button.d.ts +8 -0
- package/dist/types/table/src/table.d.ts +9 -0
- package/dist/types/table/stories/autotable.stories.d.ts +10 -0
- package/dist/types/table/stories/table.stories.d.ts +11 -0
- package/dist/types/tabs/index.d.ts +2 -0
- package/dist/types/tabs/src/index.d.ts +15 -0
- package/dist/types/tabs/src/tabs-button.d.ts +7 -0
- package/dist/types/tabs/src/tabs-content.d.ts +6 -0
- package/dist/types/tabs/src/tabs-context.d.ts +8 -0
- package/dist/types/tabs/src/tabs-item.d.ts +6 -0
- package/dist/types/tabs/src/tabs.d.ts +11 -0
- package/dist/types/tabs/stories/tabs.stories.d.ts +12 -0
- package/dist/types/text/index.d.ts +2 -0
- package/dist/types/text/src/index.d.ts +8 -0
- package/dist/types/text/src/text.d.ts +10 -0
- package/dist/types/text/stories/text.stories.d.ts +7 -0
- package/dist/types/theme/index.d.ts +2 -0
- package/dist/types/theme/src/colors.d.ts +1410 -0
- package/dist/types/theme/src/create-memo-class.d.ts +1 -0
- package/dist/types/theme/src/create-theme-vars/calc.d.ts +19 -0
- package/dist/types/theme/src/create-theme-vars/create-theme-vars.d.ts +9 -0
- package/dist/types/theme/src/create-theme-vars/css-var.d.ts +7 -0
- package/dist/types/theme/src/create-theme-vars/index.d.ts +4 -0
- package/dist/types/theme/src/create-theme-vars/theme-tokens.d.ts +8 -0
- package/dist/types/theme/src/create-theme-vars/to-css-var.d.ts +2 -0
- package/dist/types/theme/src/default-theme.d.ts +4 -0
- package/dist/types/theme/src/gui-provider.d.ts +34 -0
- package/dist/types/theme/src/index.d.ts +14 -0
- package/dist/types/theme/src/types.d.ts +54 -0
- package/dist/types/theme/src/units.d.ts +226 -0
- package/dist/types/theme/src/use-safe-effect.d.ts +2 -0
- package/dist/types/theme/src/utils.d.ts +1 -0
- package/dist/types/toast/index.d.ts +2 -0
- package/dist/types/toast/src/index.d.ts +7 -0
- package/dist/types/toast/src/toast.d.ts +62 -0
- package/dist/types/toasted-notes/index.d.ts +2 -0
- package/dist/types/toasted-notes/src/Alert.d.ts +8 -0
- package/dist/types/toasted-notes/src/Message.d.ts +26 -0
- package/dist/types/toasted-notes/src/Positions.d.ts +9 -0
- package/dist/types/toasted-notes/src/Toast.d.ts +13 -0
- package/dist/types/toasted-notes/src/ToastManager.d.ts +45 -0
- package/dist/types/toasted-notes/src/index.d.ts +4 -0
- package/dist/types/toasted-notes/src/useTimeout.d.ts +3 -0
- package/dist/types/tooltip/index.d.ts +2 -0
- package/dist/types/tooltip/src/index.d.ts +8 -0
- package/dist/types/tooltip/src/tooltip.d.ts +14 -0
- package/dist/types/tooltip/stories/tooltip.stories.d.ts +9 -0
- package/dist/types/user-menu/index.d.ts +2 -0
- package/dist/types/user-menu/src/index.d.ts +8 -0
- package/dist/types/user-menu/src/user-menu.d.ts +32 -0
- package/dist/types/user-menu/stories/user-menu.stories.d.ts +8 -0
- package/dist/types/utils/index.d.ts +2 -0
- package/dist/types/utils/src/assertion.d.ts +5 -0
- package/dist/types/utils/src/children.d.ts +8 -0
- package/dist/types/utils/src/color.d.ts +10 -0
- package/dist/types/utils/src/index.d.ts +20 -0
- package/dist/types/utils/src/object.d.ts +6 -0
- package/dist/types/utils/src/refs.d.ts +5 -0
- package/dist/types/utils/src/slug.d.ts +1 -0
- package/dist/types/utils/src/types.d.ts +56 -0
- package/dist/types/utils/src/use-on-element-outside.d.ts +39 -0
- package/dist/types/utils/src/walk-object.d.ts +5 -0
- package/package.json +2 -2
- package/dist/cjs/components/alert-banner.js +0 -26
- package/dist/cjs/components/alert-banner.js.map +0 -1
- package/dist/cjs/components/calendar.js +0 -67
- package/dist/cjs/components/calendar.js.map +0 -1
- package/dist/cjs/components/comments.js +0 -32
- package/dist/cjs/components/comments.js.map +0 -1
- package/dist/cjs/components/context-menu.js +0 -13
- package/dist/cjs/components/context-menu.js.map +0 -1
- package/dist/cjs/components/dropdown-filter.js +0 -60
- package/dist/cjs/components/dropdown-filter.js.map +0 -1
- package/dist/cjs/components/message.js +0 -52
- package/dist/cjs/components/message.js.map +0 -1
- package/dist/cjs/components/notification.js +0 -51
- package/dist/cjs/components/notification.js.map +0 -1
- package/dist/cjs/components/profile-picture.js +0 -15
- package/dist/cjs/components/profile-picture.js.map +0 -1
- package/dist/cjs/components/profile.js +0 -34
- package/dist/cjs/components/profile.js.map +0 -1
- package/dist/cjs/components/search-bar.js +0 -8
- package/dist/cjs/components/search-bar.js.map +0 -1
- package/dist/cjs/components/side-menu.js +0 -221
- package/dist/cjs/components/side-menu.js.map +0 -1
- package/dist/cjs/components/tab-menu.js +0 -59
- package/dist/cjs/components/tab-menu.js.map +0 -1
- package/dist/cjs/components/tag.js +0 -72
- package/dist/cjs/components/tag.js.map +0 -1
- package/dist/cjs/components/zebratable.js +0 -158
- package/dist/cjs/components/zebratable.js.map +0 -1
- package/dist/esm/components/alert-banner.js +0 -24
- package/dist/esm/components/alert-banner.js.map +0 -1
- package/dist/esm/components/calendar.js +0 -65
- package/dist/esm/components/calendar.js.map +0 -1
- package/dist/esm/components/comments.js +0 -30
- package/dist/esm/components/comments.js.map +0 -1
- package/dist/esm/components/context-menu.js +0 -11
- package/dist/esm/components/context-menu.js.map +0 -1
- package/dist/esm/components/dropdown-filter.js +0 -58
- package/dist/esm/components/dropdown-filter.js.map +0 -1
- package/dist/esm/components/message.js +0 -50
- package/dist/esm/components/message.js.map +0 -1
- package/dist/esm/components/notification.js +0 -49
- package/dist/esm/components/notification.js.map +0 -1
- package/dist/esm/components/profile-picture.js +0 -13
- package/dist/esm/components/profile-picture.js.map +0 -1
- package/dist/esm/components/profile.js +0 -32
- package/dist/esm/components/profile.js.map +0 -1
- package/dist/esm/components/search-bar.js +0 -6
- package/dist/esm/components/search-bar.js.map +0 -1
- package/dist/esm/components/side-menu.js +0 -219
- package/dist/esm/components/side-menu.js.map +0 -1
- package/dist/esm/components/tab-menu.js +0 -57
- package/dist/esm/components/tab-menu.js.map +0 -1
- package/dist/esm/components/tag.js +0 -79
- package/dist/esm/components/tag.js.map +0 -1
- package/dist/esm/components/zebratable.js +0 -152
- package/dist/esm/components/zebratable.js.map +0 -1
- package/dist/types/components/zebratable.d.ts +0 -151
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Avatar } from '@sk-web-gui/avatar';
|
|
2
|
+
import { DefaultProps } from '@sk-web-gui/utils';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
export interface MenuItemGroup {
|
|
5
|
+
label: string;
|
|
6
|
+
elements: {
|
|
7
|
+
label: string;
|
|
8
|
+
element: () => JSX.Element;
|
|
9
|
+
}[];
|
|
10
|
+
}
|
|
11
|
+
export interface UserMenuProps extends DefaultProps, React.ComponentPropsWithRef<'div'> {
|
|
12
|
+
menuTitle?: string;
|
|
13
|
+
menuSubTitle?: string;
|
|
14
|
+
initials?: string;
|
|
15
|
+
image?: string;
|
|
16
|
+
imageAlt?: string;
|
|
17
|
+
placeholderImage?: string;
|
|
18
|
+
imageElem?: React.ReactElement;
|
|
19
|
+
menuGroups: MenuItemGroup[];
|
|
20
|
+
/**
|
|
21
|
+
* Size of avatar button
|
|
22
|
+
* @default lg
|
|
23
|
+
*/
|
|
24
|
+
buttonSize?: React.ComponentProps<typeof Avatar>['size'];
|
|
25
|
+
/**
|
|
26
|
+
* If avatar button should be rounded
|
|
27
|
+
* @default true
|
|
28
|
+
*/
|
|
29
|
+
buttonRounded?: React.ComponentProps<typeof Avatar>['rounded'];
|
|
30
|
+
}
|
|
31
|
+
export declare const UserMenu: React.ForwardRefExoticComponent<Omit<UserMenuProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
32
|
+
export default UserMenu;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { UserMenuProps } from '@sk-web-gui/react';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, Omit<UserMenuProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Template: {
|
|
6
|
+
(args: UserMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
storyName: string;
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Gets only the valid children of a component,
|
|
4
|
+
* and ignores any nullish or falsy child.
|
|
5
|
+
*
|
|
6
|
+
* @param children the children
|
|
7
|
+
*/
|
|
8
|
+
export declare function getValidChildren(children: React.ReactNode): React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Color } from 'color-string';
|
|
2
|
+
export declare function hsl2rgb(h: number, s: number, l: number): [number, number, number];
|
|
3
|
+
export declare function hwb2rgb(h: number, w: number, b: number): [number, number, number];
|
|
4
|
+
export declare function toRGBA(color: string): Color | undefined;
|
|
5
|
+
export declare function toRGB(color: string): number[] | undefined;
|
|
6
|
+
export declare function toColor(colorStr: string): {
|
|
7
|
+
color: string;
|
|
8
|
+
opacity: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const rgbStringToHex: (rgbString: string) => string;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import cx from 'clsx';
|
|
2
|
+
export * from './types';
|
|
3
|
+
export type * from './types';
|
|
4
|
+
export * from './color';
|
|
5
|
+
export type * from './color';
|
|
6
|
+
export * from './assertion';
|
|
7
|
+
export type * from './assertion';
|
|
8
|
+
export * from './walk-object';
|
|
9
|
+
export type * from './walk-object';
|
|
10
|
+
export * from './object';
|
|
11
|
+
export type * from './object';
|
|
12
|
+
export * from './children';
|
|
13
|
+
export type * from './children';
|
|
14
|
+
export * from './refs';
|
|
15
|
+
export type * from './refs';
|
|
16
|
+
export * from './slug';
|
|
17
|
+
export type * from './slug';
|
|
18
|
+
export * from './use-on-element-outside';
|
|
19
|
+
export type * from './use-on-element-outside';
|
|
20
|
+
export { cx };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Dict } from './types';
|
|
2
|
+
export declare function omit<T extends Dict, K extends keyof T>(object: T, keys: K[]): Omit<T, K>;
|
|
3
|
+
export declare function pick<T extends Dict, K extends keyof T>(object: T, keys: K[]): { [P in K]: T[P]; };
|
|
4
|
+
export declare function deepmerge<T1, T2>(target: Partial<T1> & any, source: Partial<T2> & any, options?: {
|
|
5
|
+
clone: boolean;
|
|
6
|
+
}): any;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type ReactRef<T> = React.Ref<T> | React.RefObject<T> | React.MutableRefObject<T>;
|
|
3
|
+
export declare function setRef<T = any>(ref: ReactRef<T> | undefined, value: T): void;
|
|
4
|
+
export declare function useForkRef<T = any>(refA: ReactRef<T> | undefined, refB: ReactRef<T> | undefined): ((refValue: T) => void) | null;
|
|
5
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const toSlug: (str: string) => string;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export type Dict<T = any> = Record<string, T>;
|
|
3
|
+
export type CSSMap = Dict<{
|
|
4
|
+
value: string;
|
|
5
|
+
var: string;
|
|
6
|
+
varRef: string;
|
|
7
|
+
}>;
|
|
8
|
+
export type WithCSSVar<T> = T & {
|
|
9
|
+
__cssVars: Dict;
|
|
10
|
+
__cssMap: CSSMap;
|
|
11
|
+
};
|
|
12
|
+
export type DeepPartial<T> = {
|
|
13
|
+
[P in keyof T]?: DeepPartial<T[P]>;
|
|
14
|
+
};
|
|
15
|
+
export interface DefaultProps {
|
|
16
|
+
className?: string;
|
|
17
|
+
}
|
|
18
|
+
export type PropsOf<C extends keyof JSX.IntrinsicElements | React.JSXElementConstructor<any>> = JSX.LibraryManagedAttributes<C, React.ComponentPropsWithoutRef<C>>;
|
|
19
|
+
type AsProp<C extends React.ElementType> = {
|
|
20
|
+
/**
|
|
21
|
+
* An override of the default HTML tag.
|
|
22
|
+
* Can also be another React component.
|
|
23
|
+
*/
|
|
24
|
+
as?: C;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Allows for extending a set of props (`ExtendedProps`) by an overriding set of props
|
|
28
|
+
* (`OverrideProps`), ensuring that any duplicates are overridden by the overriding
|
|
29
|
+
* set of props.
|
|
30
|
+
*/
|
|
31
|
+
export type ExtendableProps<ExtendedProps = object, OverrideProps = object> = OverrideProps & Omit<ExtendedProps, keyof OverrideProps>;
|
|
32
|
+
/**
|
|
33
|
+
* Allows for inheriting the props from the specified element type so that
|
|
34
|
+
* props like children, className & style work, as well as element-specific
|
|
35
|
+
* attributes like aria roles. The component (`C`) must be passed in.
|
|
36
|
+
*/
|
|
37
|
+
export type InheritableElementProps<C extends React.ElementType, Props = object> = ExtendableProps<PropsOf<C>, Props>;
|
|
38
|
+
/**
|
|
39
|
+
* A more sophisticated version of `InheritableElementProps` where
|
|
40
|
+
* the passed in `as` prop will determine which props can be included
|
|
41
|
+
*/
|
|
42
|
+
export type PolymorphicComponentProps<C extends React.ElementType, Props = object> = InheritableElementProps<C, Props & AsProp<C>>;
|
|
43
|
+
/** * Utility type to extract the `ref` prop from a polymorphic component */
|
|
44
|
+
export type PolymorphicRef<C extends React.ElementType> = React.ComponentPropsWithRef<C>['ref'];
|
|
45
|
+
/** * A wrapper of `PolymorphicComponentProps` that also includes the `ref` * prop for the polymorphic component */
|
|
46
|
+
export type PolymorphicComponentPropsWithRef<C extends React.ElementType, Props = object> = PolymorphicComponentProps<C, Props> & {
|
|
47
|
+
ref?: PolymorphicRef<C>;
|
|
48
|
+
};
|
|
49
|
+
/** Custom onChange event, used to return a simulated change from component to e.g. react-hook-form */
|
|
50
|
+
export interface CustomOnChangeEvent<TValue = string | string[], TElement = HTMLInputElement> extends Omit<React.ChangeEvent<TElement>, 'target'> {
|
|
51
|
+
target: {
|
|
52
|
+
value: TValue;
|
|
53
|
+
name: string;
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
export {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface UseOnElementOutsideOptions {
|
|
3
|
+
/**
|
|
4
|
+
* Extra space added to width and height of the reference element.
|
|
5
|
+
* If added, the callback will return true this amount of pixles
|
|
6
|
+
* before it is actually outside of the window.
|
|
7
|
+
* @default 0
|
|
8
|
+
*/
|
|
9
|
+
padding?: number;
|
|
10
|
+
/**
|
|
11
|
+
* Adds an eventlistener to the window that checks the values on scroll.
|
|
12
|
+
* @default true
|
|
13
|
+
*/
|
|
14
|
+
updateOnScroll?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Adds an eventlistener to the window that checks the values on resize.
|
|
17
|
+
* @default true
|
|
18
|
+
*/
|
|
19
|
+
updateOnResize?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Time to delay scroll and resize values in ms.
|
|
22
|
+
* @default 50
|
|
23
|
+
*/
|
|
24
|
+
delay?: number;
|
|
25
|
+
}
|
|
26
|
+
type Callback = (callbackProperties: {
|
|
27
|
+
/** Returns true if any part of the element is outside any part of the window */
|
|
28
|
+
isOutside: boolean;
|
|
29
|
+
/** Returns true if any part of the element is outside the top of the window */
|
|
30
|
+
isOutsideTop: boolean;
|
|
31
|
+
/** Returns true if any part of the element is outside the bottom of the window */
|
|
32
|
+
isOutsideBottom: boolean;
|
|
33
|
+
/** Returns true if any part of the element is outside the left of the window */
|
|
34
|
+
isOutsideLeft: boolean;
|
|
35
|
+
/** Returns true if any part of the element is outside the right of the window */
|
|
36
|
+
isOutsideRight: boolean;
|
|
37
|
+
}) => void;
|
|
38
|
+
export declare const useOnElementOutside: (ref: React.RefObject<HTMLElement>, callback: Callback, dependencies: React.DependencyList, options?: UseOnElementOutsideOptions) => void;
|
|
39
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type WalkObjectPredicate<Leaf = unknown> = (value: unknown, path: string[]) => Leaf;
|
|
2
|
+
export type MappedLeavesObject<Obj, LeafType> = {
|
|
3
|
+
[Prop in keyof Obj]: Obj[Prop] extends Array<any> ? MappedLeavesObject<Obj[Prop][number], LeafType>[] : Obj[Prop] extends object ? MappedLeavesObject<Obj[Prop], LeafType> : LeafType;
|
|
4
|
+
};
|
|
5
|
+
export declare function walkObject<Target, LeafType>(target: Target, predicate: WalkObjectPredicate<LeafType>): MappedLeavesObject<Target, ReturnType<WalkObjectPredicate<LeafType>>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sk-web-gui/core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"@sk-web-gui/theme": "1.1.0",
|
|
49
49
|
"mini-svg-data-uri": "^1.4.4"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "d59ecf53c535ad7b3b251357360a33c75930f6c8"
|
|
52
52
|
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
module.exports = Modal = function Modal() {
|
|
2
|
-
return {
|
|
3
|
-
'.alert-banner': {
|
|
4
|
-
'@apply p-md': {},
|
|
5
|
-
'&-content': {
|
|
6
|
-
'@apply w-full m-auto flex': {},
|
|
7
|
-
'&-wrapper': {
|
|
8
|
-
'@apply flex-grow flex': {}
|
|
9
|
-
}
|
|
10
|
-
},
|
|
11
|
-
'&-icon': {
|
|
12
|
-
'@apply mr-[10px]': {}
|
|
13
|
-
},
|
|
14
|
-
'&-children': {
|
|
15
|
-
'@apply w-full underline inline-block max-w-[800px] text-body text-base': {}
|
|
16
|
-
},
|
|
17
|
-
'&-close': {
|
|
18
|
-
'@apply p-4 -m-4 flex flex-col': {}
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
'.tab': {
|
|
22
|
-
'@apply mr-[10px] bg-white pt-4 pb-3 px-4 rounded-b-3xl shadow-[rgba(0,_0,_0,_0.24)_0px_1.5px_4px]': {}
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
//# sourceMappingURL=alert-banner.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"alert-banner.js","names":["module","exports","Modal"],"sources":["../../../src/components/alert-banner.js"],"sourcesContent":["module.exports = Modal = () => ({\r\n '.alert-banner': {\r\n '@apply p-md': {},\r\n\r\n '&-content': {\r\n '@apply w-full m-auto flex': {},\r\n\r\n '&-wrapper': {\r\n '@apply flex-grow flex': {},\r\n },\r\n },\r\n\r\n '&-icon': {\r\n '@apply mr-[10px]': {},\r\n },\r\n\r\n '&-children': {\r\n '@apply w-full underline inline-block max-w-[800px] text-body text-base': {},\r\n },\r\n\r\n '&-close': {\r\n '@apply p-4 -m-4 flex flex-col': {},\r\n },\r\n },\r\n\r\n '.tab': {\r\n '@apply mr-[10px] bg-white pt-4 pb-3 px-4 rounded-b-3xl shadow-[rgba(0,_0,_0,_0.24)_0px_1.5px_4px]': {},\r\n },\r\n \r\n});\r\n"],"mappings":"AAAAA,MAAM,CAACC,OAAO,GAAGC,KAAK,GAAG,SAAAA,MAAA;EAAA,OAAO;IAC9B,eAAe,EAAE;MACf,aAAa,EAAE,CAAC,CAAC;MAEjB,WAAW,EAAE;QACX,2BAA2B,EAAE,CAAC,CAAC;QAE/B,WAAW,EAAE;UACX,uBAAuB,EAAE,CAAC;QAC5B;MACF,CAAC;MAED,QAAQ,EAAE;QACR,kBAAkB,EAAE,CAAC;MACvB,CAAC;MAED,YAAY,EAAE;QACZ,wEAAwE,EAAE,CAAC;MAC7E,CAAC;MAED,SAAS,EAAE;QACT,+BAA+B,EAAE,CAAC;MACpC;IACF,CAAC;IAED,MAAM,EAAE;MACN,mGAAmG,EAAE,CAAC;IACxG;EAEF,CAAC;AAAA,CAAC"}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
module.exports = Calendar = function Calendar() {
|
|
2
|
-
return {
|
|
3
|
-
// Month row
|
|
4
|
-
'.MuiCalendarPicker-root > div:first-of-type': {
|
|
5
|
-
'@apply ml-2 -mr-2 px-10': {}
|
|
6
|
-
},
|
|
7
|
-
// Month
|
|
8
|
-
'.MuiCalendarPicker-root > div:first-of-type > div': {
|
|
9
|
-
'@apply font-bold text-base text-body': {}
|
|
10
|
-
},
|
|
11
|
-
// Arrow switchers
|
|
12
|
-
'.MuiCalendarPicker-root > div:first-of-type .MuiButtonBase-root .MuiSvgIcon-root': {
|
|
13
|
-
'@apply text-body text-lg': {}
|
|
14
|
-
},
|
|
15
|
-
'.MuiCalendarPicker-root > div:first-of-type .MuiButtonBase-root': {
|
|
16
|
-
'@apply border-solid border border-transparent focus:text-transparent hover:text-transparent focus:bg-transparent hover:bg-transparent focus:border-primary hover:border-primary': {}
|
|
17
|
-
},
|
|
18
|
-
// Arrow spacer
|
|
19
|
-
'.MuiCalendarPicker-root .MuiPickersArrowSwitcher-spacer': {
|
|
20
|
-
'@apply w-11': {}
|
|
21
|
-
},
|
|
22
|
-
// Disabled arrow
|
|
23
|
-
'.MuiCalendarPicker-root > div:first-of-type .MuiButtonBase-root[disabled] .MuiSvgIcon-root': {
|
|
24
|
-
'@apply text-gray-stroke': {}
|
|
25
|
-
},
|
|
26
|
-
// Weekdays
|
|
27
|
-
'.MuiCalendarPicker-root div > div:first-of-type > .MuiTypography-root': {
|
|
28
|
-
'@apply font-bold text-body text-base': {}
|
|
29
|
-
},
|
|
30
|
-
// Days-Grid
|
|
31
|
-
'.MuiCalendarPicker-root > div:last-of-type > div:last-of-type': {
|
|
32
|
-
'@apply min-h-min pb-6': {}
|
|
33
|
-
},
|
|
34
|
-
// Day picking
|
|
35
|
-
'.MuiCalendarPicker-root .MuiPickersDay-root': {
|
|
36
|
-
'@apply text-base': {}
|
|
37
|
-
},
|
|
38
|
-
'.MuiCalendarPicker-root .Mui-disabled': {
|
|
39
|
-
'@apply text-gray-stroke': {}
|
|
40
|
-
},
|
|
41
|
-
// Day picked
|
|
42
|
-
'.MuiCalendarPicker-root .MuiButtonBase-root.MuiPickersDay-root.Mui-selected': {
|
|
43
|
-
'@apply bg-background-one text-body focus-visible:bg-background-one hover:bg-background-one focus:bg-background-one': {}
|
|
44
|
-
},
|
|
45
|
-
// Day hovered
|
|
46
|
-
'.MuiCalendarPicker-root .MuiPickersDay-root, .MuiCalendarPicker-root .MuiPickersDay-root.MuiPickersDay-today': {
|
|
47
|
-
'@apply border-primary border-solid focus-visible:border hover:bg-transparent focus:bg-transparent hover:border': {}
|
|
48
|
-
},
|
|
49
|
-
// today
|
|
50
|
-
'.MuiCalendarPicker-root .MuiPickersDay-root.MuiPickersDay-today': {
|
|
51
|
-
'@apply border-0 hover:border': {}
|
|
52
|
-
},
|
|
53
|
-
'.calendar': {
|
|
54
|
-
// Input field
|
|
55
|
-
'.datepicker-input': {
|
|
56
|
-
'@apply relative': {}
|
|
57
|
-
},
|
|
58
|
-
'.datepicker-input input': {
|
|
59
|
-
'@apply pl-20 cursor-pointer': {}
|
|
60
|
-
},
|
|
61
|
-
'.datepicker-input-icon': {
|
|
62
|
-
'@apply pointer-events-none absolute my-auto top-0 bottom-0 left-md mr-md text-xl fill-body': {}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
//# sourceMappingURL=calendar.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"calendar.js","names":["module","exports","Calendar"],"sources":["../../../src/components/calendar.js"],"sourcesContent":["module.exports = Calendar = () => ({\r\n // Month row\r\n '.MuiCalendarPicker-root > div:first-of-type': {\r\n '@apply ml-2 -mr-2 px-10': {},\r\n },\r\n\r\n // Month\r\n '.MuiCalendarPicker-root > div:first-of-type > div': {\r\n '@apply font-bold text-base text-body': {},\r\n },\r\n\r\n // Arrow switchers\r\n '.MuiCalendarPicker-root > div:first-of-type .MuiButtonBase-root .MuiSvgIcon-root': {\r\n '@apply text-body text-lg': {},\r\n },\r\n '.MuiCalendarPicker-root > div:first-of-type .MuiButtonBase-root': {\r\n '@apply border-solid border border-transparent focus:text-transparent hover:text-transparent focus:bg-transparent hover:bg-transparent focus:border-primary hover:border-primary':\r\n {},\r\n },\r\n // Arrow spacer\r\n '.MuiCalendarPicker-root .MuiPickersArrowSwitcher-spacer': {\r\n '@apply w-11': {},\r\n },\r\n // Disabled arrow\r\n '.MuiCalendarPicker-root > div:first-of-type .MuiButtonBase-root[disabled] .MuiSvgIcon-root': {\r\n '@apply text-gray-stroke': {},\r\n },\r\n\r\n // Weekdays\r\n '.MuiCalendarPicker-root div > div:first-of-type > .MuiTypography-root': {\r\n '@apply font-bold text-body text-base': {},\r\n },\r\n\r\n // Days-Grid\r\n '.MuiCalendarPicker-root > div:last-of-type > div:last-of-type': {\r\n '@apply min-h-min pb-6': {},\r\n },\r\n\r\n // Day picking\r\n '.MuiCalendarPicker-root .MuiPickersDay-root': {\r\n '@apply text-base': {},\r\n },\r\n '.MuiCalendarPicker-root .Mui-disabled': {\r\n '@apply text-gray-stroke': {},\r\n },\r\n\r\n // Day picked\r\n '.MuiCalendarPicker-root .MuiButtonBase-root.MuiPickersDay-root.Mui-selected': {\r\n '@apply bg-background-one text-body focus-visible:bg-background-one hover:bg-background-one focus:bg-background-one':\r\n {},\r\n },\r\n\r\n // Day hovered\r\n '.MuiCalendarPicker-root .MuiPickersDay-root, .MuiCalendarPicker-root .MuiPickersDay-root.MuiPickersDay-today': {\r\n '@apply border-primary border-solid focus-visible:border hover:bg-transparent focus:bg-transparent hover:border':\r\n {},\r\n },\r\n\r\n // today\r\n '.MuiCalendarPicker-root .MuiPickersDay-root.MuiPickersDay-today': {\r\n '@apply border-0 hover:border': {},\r\n },\r\n\r\n '.calendar': {\r\n // Input field\r\n '.datepicker-input': {\r\n '@apply relative': {},\r\n },\r\n\r\n '.datepicker-input input': {\r\n '@apply pl-20 cursor-pointer': {},\r\n },\r\n\r\n '.datepicker-input-icon': {\r\n '@apply pointer-events-none absolute my-auto top-0 bottom-0 left-md mr-md text-xl fill-body': {},\r\n },\r\n },\r\n});\r\n"],"mappings":"AAAAA,MAAM,CAACC,OAAO,GAAGC,QAAQ,GAAG,SAAAA,SAAA;EAAA,OAAO;IACjC;IACA,6CAA6C,EAAE;MAC7C,yBAAyB,EAAE,CAAC;IAC9B,CAAC;IAED;IACA,mDAAmD,EAAE;MACnD,sCAAsC,EAAE,CAAC;IAC3C,CAAC;IAED;IACA,kFAAkF,EAAE;MAClF,0BAA0B,EAAE,CAAC;IAC/B,CAAC;IACD,iEAAiE,EAAE;MACjE,iLAAiL,EAC/K,CAAC;IACL,CAAC;IACD;IACA,yDAAyD,EAAE;MACzD,aAAa,EAAE,CAAC;IAClB,CAAC;IACD;IACA,4FAA4F,EAAE;MAC5F,yBAAyB,EAAE,CAAC;IAC9B,CAAC;IAED;IACA,uEAAuE,EAAE;MACvE,sCAAsC,EAAE,CAAC;IAC3C,CAAC;IAED;IACA,+DAA+D,EAAE;MAC/D,uBAAuB,EAAE,CAAC;IAC5B,CAAC;IAED;IACA,6CAA6C,EAAE;MAC7C,kBAAkB,EAAE,CAAC;IACvB,CAAC;IACD,uCAAuC,EAAE;MACvC,yBAAyB,EAAE,CAAC;IAC9B,CAAC;IAED;IACA,6EAA6E,EAAE;MAC7E,oHAAoH,EAClH,CAAC;IACL,CAAC;IAED;IACA,8GAA8G,EAAE;MAC9G,gHAAgH,EAC9G,CAAC;IACL,CAAC;IAED;IACA,iEAAiE,EAAE;MACjE,8BAA8B,EAAE,CAAC;IACnC,CAAC;IAED,WAAW,EAAE;MACX;MACA,mBAAmB,EAAE;QACnB,iBAAiB,EAAE,CAAC;MACtB,CAAC;MAED,yBAAyB,EAAE;QACzB,6BAA6B,EAAE,CAAC;MAClC,CAAC;MAED,wBAAwB,EAAE;QACxB,4FAA4F,EAAE,CAAC;MACjG;IACF;EACF,CAAC;AAAA,CAAC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
module.exports = Comments = function Comments() {
|
|
2
|
-
return {
|
|
3
|
-
'.comment-header': {
|
|
4
|
-
'@apply w-full flex items-center gap-8 p-16 border-b-4 border-gray-200': {}
|
|
5
|
-
},
|
|
6
|
-
'.comment-item': {
|
|
7
|
-
'@apply w-full': {},
|
|
8
|
-
'&-container': {
|
|
9
|
-
'@apply flex justify-between relative': {},
|
|
10
|
-
'&-textpic': {
|
|
11
|
-
'@apply flex gap-2': {}
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
'&-text': {
|
|
15
|
-
'@apply text-base font-bold mx-0 mb-0 mt-4': {}
|
|
16
|
-
},
|
|
17
|
-
'&-commentorpublished': {
|
|
18
|
-
'@apply float-right text-neutral-600 m-0': {}
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
'.comment-input': {
|
|
22
|
-
'@apply w-full flex gap-4 px-10 pt-8 pb-10': {},
|
|
23
|
-
'&-inactive': {
|
|
24
|
-
'@apply text-neutral-300 !text-3xl': {}
|
|
25
|
-
},
|
|
26
|
-
'&-active': {
|
|
27
|
-
'@apply text-primary !text-3xl': {}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
//# sourceMappingURL=comments.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"comments.js","names":["module","exports","Comments"],"sources":["../../../src/components/comments.js"],"sourcesContent":["module.exports = Comments = () => ({ \r\n\r\n '.comment-header': {\r\n '@apply w-full flex items-center gap-8 p-16 border-b-4 border-gray-200': {},\r\n },\r\n\r\n '.comment-item':{\r\n '@apply w-full': {},\r\n\r\n '&-container': {\r\n '@apply flex justify-between relative': {},\r\n\r\n '&-textpic': {\r\n '@apply flex gap-2': {},\r\n },\r\n },\r\n '&-text': {\r\n '@apply text-base font-bold mx-0 mb-0 mt-4': {},\r\n },\r\n '&-commentorpublished': {\r\n '@apply float-right text-neutral-600 m-0': {},\r\n },\r\n },\r\n '.comment-input':{\r\n '@apply w-full flex gap-4 px-10 pt-8 pb-10': {},\r\n\r\n '&-inactive': {\r\n '@apply text-neutral-300 !text-3xl': {},\r\n },\r\n\r\n '&-active': {\r\n '@apply text-primary !text-3xl': {},\r\n }\r\n\r\n },\r\n\r\n \r\n});"],"mappings":"AAAAA,MAAM,CAACC,OAAO,GAAGC,QAAQ,GAAG,SAAAA,SAAA;EAAA,OAAO;IAE/B,iBAAiB,EAAE;MACf,uEAAuE,EAAE,CAAC;IAC9E,CAAC;IAED,eAAe,EAAC;MACZ,eAAe,EAAE,CAAC,CAAC;MAEnB,aAAa,EAAE;QACX,sCAAsC,EAAE,CAAC,CAAC;QAE1C,WAAW,EAAE;UACT,mBAAmB,EAAE,CAAC;QAC1B;MACJ,CAAC;MACD,QAAQ,EAAE;QACN,2CAA2C,EAAE,CAAC;MAClD,CAAC;MACD,sBAAsB,EAAE;QACpB,yCAAyC,EAAE,CAAC;MAChD;IACJ,CAAC;IACD,gBAAgB,EAAC;MACb,2CAA2C,EAAE,CAAC,CAAC;MAE/C,YAAY,EAAE;QACV,mCAAmC,EAAE,CAAC;MAC1C,CAAC;MAED,UAAU,EAAE;QACR,+BAA+B,EAAE,CAAC;MACtC;IAEJ;EAGJ,CAAC;AAAA,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
module.exports = ContextMenu = function ContextMenu() {
|
|
2
|
-
return {
|
|
3
|
-
'.context-menu-wrapper': {
|
|
4
|
-
'.context-menu-items': {
|
|
5
|
-
'@apply absolute bg-white border border-body z-10 drop-shadow-md mt-sm flex flex-col space-y-4 justify-start items-start p-sm': {},
|
|
6
|
-
'.context-menu-item': {
|
|
7
|
-
'@apply px-sm': {}
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=context-menu.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"context-menu.js","names":["module","exports","ContextMenu"],"sources":["../../../src/components/context-menu.js"],"sourcesContent":["module.exports = ContextMenu = () => ({\r\n '.context-menu-wrapper': {\r\n '.context-menu-items': {\r\n '@apply absolute bg-white border border-body z-10 drop-shadow-md mt-sm flex flex-col space-y-4 justify-start items-start p-sm':\r\n {},\r\n '.context-menu-item': {\r\n '@apply px-sm': {},\r\n },\r\n },\r\n },\r\n});\r\n"],"mappings":"AAAAA,MAAM,CAACC,OAAO,GAAGC,WAAW,GAAG,SAAAA,YAAA;EAAA,OAAO;IACpC,uBAAuB,EAAE;MACvB,qBAAqB,EAAE;QACrB,8HAA8H,EAC5H,CAAC,CAAC;QACJ,oBAAoB,EAAE;UACpB,cAAc,EAAE,CAAC;QACnB;MACF;IACF;EACF,CAAC;AAAA,CAAC"}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
module.exports = DropdownFilter = function DropdownFilter() {
|
|
2
|
-
return {
|
|
3
|
-
'.dropdown-filter': {
|
|
4
|
-
position: 'relative',
|
|
5
|
-
height: 50,
|
|
6
|
-
border: '1px solid #939393',
|
|
7
|
-
display: 'flex',
|
|
8
|
-
background: '#fff',
|
|
9
|
-
borderRadius: 2,
|
|
10
|
-
'.dropdown-button': {
|
|
11
|
-
'@apply flex justify-between items-center grow': {},
|
|
12
|
-
'.dropdown-button-icon': {
|
|
13
|
-
'@apply justify-self-end grow-0': {}
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
'.filter-container': {
|
|
17
|
-
position: 'absolute',
|
|
18
|
-
top: '100%',
|
|
19
|
-
left: '-1px',
|
|
20
|
-
zIndex: 10,
|
|
21
|
-
width: 'calc(100% + 2px)',
|
|
22
|
-
background: '#fff',
|
|
23
|
-
border: '1px solid #939393',
|
|
24
|
-
borderRadius: 2,
|
|
25
|
-
'.filter-controls': {
|
|
26
|
-
display: 'flex',
|
|
27
|
-
justifyContent: 'flex-end',
|
|
28
|
-
button: {
|
|
29
|
-
marginLeft: '1rem',
|
|
30
|
-
textDecoration: 'underline'
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
'.filter-item': {
|
|
34
|
-
'@apply px-md': {},
|
|
35
|
-
height: 48,
|
|
36
|
-
display: 'flex',
|
|
37
|
-
justifyContent: 'space-between',
|
|
38
|
-
alignItems: 'center',
|
|
39
|
-
borderBottom: '1px solid #939393',
|
|
40
|
-
'> label': {
|
|
41
|
-
'@apply w-full': {},
|
|
42
|
-
'> .form-checkbox-label': {
|
|
43
|
-
'@apply flex-grow': {}
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
'&.disabled': {
|
|
47
|
-
color: '#939393'
|
|
48
|
-
},
|
|
49
|
-
'&:first-of-type': {
|
|
50
|
-
borderTop: '1px solid #939393'
|
|
51
|
-
},
|
|
52
|
-
'&:last-child': {
|
|
53
|
-
borderBottom: 'none'
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
//# sourceMappingURL=dropdown-filter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-filter.js","names":["module","exports","DropdownFilter","position","height","border","display","background","borderRadius","top","left","zIndex","width","justifyContent","button","marginLeft","textDecoration","alignItems","borderBottom","color","borderTop"],"sources":["../../../src/components/dropdown-filter.js"],"sourcesContent":["module.exports = DropdownFilter = () => ({\r\n '.dropdown-filter': {\r\n position: 'relative',\r\n height: 50,\r\n border: '1px solid #939393',\r\n display: 'flex',\r\n background: '#fff',\r\n borderRadius: 2,\r\n\r\n '.dropdown-button': {\r\n '@apply flex justify-between items-center grow': {},\r\n '.dropdown-button-icon': {\r\n '@apply justify-self-end grow-0': {},\r\n },\r\n },\r\n\r\n '.filter-container': {\r\n position: 'absolute',\r\n top: '100%',\r\n left: '-1px',\r\n zIndex: 10,\r\n width: 'calc(100% + 2px)',\r\n background: '#fff',\r\n border: '1px solid #939393',\r\n borderRadius: 2,\r\n\r\n '.filter-controls': {\r\n display: 'flex',\r\n justifyContent: 'flex-end',\r\n button: {\r\n marginLeft: '1rem',\r\n textDecoration: 'underline',\r\n },\r\n },\r\n\r\n '.filter-item': {\r\n '@apply px-md': {},\r\n height: 48,\r\n display: 'flex',\r\n justifyContent: 'space-between',\r\n alignItems: 'center',\r\n borderBottom: '1px solid #939393',\r\n\r\n '> label': {\r\n '@apply w-full': {},\r\n\r\n '> .form-checkbox-label': {\r\n '@apply flex-grow': {},\r\n },\r\n },\r\n\r\n '&.disabled': {\r\n color: '#939393',\r\n },\r\n\r\n '&:first-of-type': {\r\n borderTop: '1px solid #939393',\r\n },\r\n\r\n '&:last-child': {\r\n borderBottom: 'none',\r\n },\r\n },\r\n },\r\n },\r\n});\r\n"],"mappings":"AAAAA,MAAM,CAACC,OAAO,GAAGC,cAAc,GAAG,SAAAA,eAAA;EAAA,OAAO;IACvC,kBAAkB,EAAE;MAClBC,QAAQ,EAAE,UAAU;MACpBC,MAAM,EAAE,EAAE;MACVC,MAAM,EAAE,mBAAmB;MAC3BC,OAAO,EAAE,MAAM;MACfC,UAAU,EAAE,MAAM;MAClBC,YAAY,EAAE,CAAC;MAEf,kBAAkB,EAAE;QAClB,gDAAgD,EAAE,CAAC,CAAC;QACpD,uBAAuB,EAAE;UACvB,gCAAgC,EAAE,CAAC;QACrC;MACF,CAAC;MAED,mBAAmB,EAAE;QACnBL,QAAQ,EAAE,UAAU;QACpBM,GAAG,EAAE,MAAM;QACXC,IAAI,EAAE,MAAM;QACZC,MAAM,EAAE,EAAE;QACVC,KAAK,EAAE,kBAAkB;QACzBL,UAAU,EAAE,MAAM;QAClBF,MAAM,EAAE,mBAAmB;QAC3BG,YAAY,EAAE,CAAC;QAEf,kBAAkB,EAAE;UAClBF,OAAO,EAAE,MAAM;UACfO,cAAc,EAAE,UAAU;UAC1BC,MAAM,EAAE;YACNC,UAAU,EAAE,MAAM;YAClBC,cAAc,EAAE;UAClB;QACF,CAAC;QAED,cAAc,EAAE;UACd,cAAc,EAAE,CAAC,CAAC;UAClBZ,MAAM,EAAE,EAAE;UACVE,OAAO,EAAE,MAAM;UACfO,cAAc,EAAE,eAAe;UAC/BI,UAAU,EAAE,QAAQ;UACpBC,YAAY,EAAE,mBAAmB;UAEjC,SAAS,EAAE;YACT,eAAe,EAAE,CAAC,CAAC;YAEnB,wBAAwB,EAAE;cACxB,kBAAkB,EAAE,CAAC;YACvB;UACF,CAAC;UAED,YAAY,EAAE;YACZC,KAAK,EAAE;UACT,CAAC;UAED,iBAAiB,EAAE;YACjBC,SAAS,EAAE;UACb,CAAC;UAED,cAAc,EAAE;YACdF,YAAY,EAAE;UAChB;QACF;MACF;IACF;EACF,CAAC;AAAA,CAAC"}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
module.exports = Message = function Message() {
|
|
2
|
-
return {
|
|
3
|
-
'.message': {
|
|
4
|
-
'@apply max-w-2xl flex items-center font-bold text-sm sm:text-base px-6 py-6 m-2 shadow-lg w-max break-words': {},
|
|
5
|
-
'@apply text-body bg-white border-l-4': {},
|
|
6
|
-
// dark
|
|
7
|
-
'@apply dark:text-neutral-100 dark:bg-neutral-700 dark:border-neutral-600': {},
|
|
8
|
-
'&-text': {
|
|
9
|
-
'@apply text-left flex-grow': {}
|
|
10
|
-
},
|
|
11
|
-
'&-info': {
|
|
12
|
-
'@apply border-info': {},
|
|
13
|
-
'.message-icon': {
|
|
14
|
-
'@apply text-info': {}
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
'&-success': {
|
|
18
|
-
'@apply border-success': {},
|
|
19
|
-
'.message-icon': {
|
|
20
|
-
'@apply text-success': {}
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
'&-error': {
|
|
24
|
-
'@apply border-error': {},
|
|
25
|
-
'.message-icon': {
|
|
26
|
-
'@apply text-error': {}
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
'&-warning': {
|
|
30
|
-
'@apply border-warning': {},
|
|
31
|
-
'.message-icon': {
|
|
32
|
-
'@apply text-warning': {}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
'.message-icon': {
|
|
37
|
-
'@apply mr-4 flex-shrink-0 w-10 h-10': {}
|
|
38
|
-
},
|
|
39
|
-
'.message-close-button': {
|
|
40
|
-
'@apply text-body border-transparent flex items-center justify-center transition-all duration-150 rounded-full outline-none cursor-base': {},
|
|
41
|
-
marginLeft: '0.25em',
|
|
42
|
-
marginRight: '-0.55em',
|
|
43
|
-
'&-icon': {
|
|
44
|
-
'@apply !text-xl': {}
|
|
45
|
-
},
|
|
46
|
-
'&-disabled': {
|
|
47
|
-
'@apply disabled:opacity-40 disabled:cursor-not-allowed disabled:shadow-none': {}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
//# sourceMappingURL=message.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"message.js","names":["module","exports","Message","marginLeft","marginRight"],"sources":["../../../src/components/message.js"],"sourcesContent":["module.exports = Message = () => ({\r\n '.message': {\r\n '@apply max-w-2xl flex items-center font-bold text-sm sm:text-base px-6 py-6 m-2 shadow-lg w-max break-words': {},\r\n '@apply text-body bg-white border-l-4': {},\r\n // dark\r\n '@apply dark:text-neutral-100 dark:bg-neutral-700 dark:border-neutral-600': {},\r\n\r\n '&-text': {\r\n '@apply text-left flex-grow': {},\r\n },\r\n\r\n '&-info': {\r\n '@apply border-info': {},\r\n\r\n '.message-icon': {\r\n '@apply text-info': {},\r\n },\r\n },\r\n '&-success': {\r\n '@apply border-success': {},\r\n\r\n '.message-icon': {\r\n '@apply text-success': {},\r\n },\r\n },\r\n '&-error': {\r\n '@apply border-error': {},\r\n\r\n '.message-icon': {\r\n '@apply text-error': {},\r\n },\r\n },\r\n '&-warning': {\r\n '@apply border-warning': {},\r\n\r\n '.message-icon': {\r\n '@apply text-warning': {},\r\n },\r\n },\r\n },\r\n\r\n '.message-icon': {\r\n '@apply mr-4 flex-shrink-0 w-10 h-10': {},\r\n },\r\n\r\n '.message-close-button': {\r\n '@apply text-body border-transparent flex items-center justify-center transition-all duration-150 rounded-full outline-none cursor-base':\r\n {},\r\n marginLeft: '0.25em',\r\n marginRight: '-0.55em',\r\n\r\n '&-icon': {\r\n '@apply !text-xl': {},\r\n },\r\n\r\n '&-disabled': {\r\n '@apply disabled:opacity-40 disabled:cursor-not-allowed disabled:shadow-none': {},\r\n },\r\n },\r\n});\r\n"],"mappings":"AAAAA,MAAM,CAACC,OAAO,GAAGC,OAAO,GAAG,SAAAA,QAAA;EAAA,OAAO;IAChC,UAAU,EAAE;MACV,6GAA6G,EAAE,CAAC,CAAC;MACjH,sCAAsC,EAAE,CAAC,CAAC;MAC1C;MACA,0EAA0E,EAAE,CAAC,CAAC;MAE9E,QAAQ,EAAE;QACR,4BAA4B,EAAE,CAAC;MACjC,CAAC;MAED,QAAQ,EAAE;QACR,oBAAoB,EAAE,CAAC,CAAC;QAExB,eAAe,EAAE;UACf,kBAAkB,EAAE,CAAC;QACvB;MACF,CAAC;MACD,WAAW,EAAE;QACX,uBAAuB,EAAE,CAAC,CAAC;QAE3B,eAAe,EAAE;UACf,qBAAqB,EAAE,CAAC;QAC1B;MACF,CAAC;MACD,SAAS,EAAE;QACT,qBAAqB,EAAE,CAAC,CAAC;QAEzB,eAAe,EAAE;UACf,mBAAmB,EAAE,CAAC;QACxB;MACF,CAAC;MACD,WAAW,EAAE;QACX,uBAAuB,EAAE,CAAC,CAAC;QAE3B,eAAe,EAAE;UACf,qBAAqB,EAAE,CAAC;QAC1B;MACF;IACF,CAAC;IAED,eAAe,EAAE;MACf,qCAAqC,EAAE,CAAC;IAC1C,CAAC;IAED,uBAAuB,EAAE;MACvB,wIAAwI,EACtI,CAAC,CAAC;MACJC,UAAU,EAAE,QAAQ;MACpBC,WAAW,EAAE,SAAS;MAEtB,QAAQ,EAAE;QACR,iBAAiB,EAAE,CAAC;MACtB,CAAC;MAED,YAAY,EAAE;QACZ,6EAA6E,EAAE,CAAC;MAClF;IACF;EACF,CAAC;AAAA,CAAC"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
module.exports = Notification = function Notification() {
|
|
2
|
-
return {
|
|
3
|
-
'.notification': {
|
|
4
|
-
'@apply relative flex p-4 text-sm w-96 m-2 max-w-full rounded-base shadow-sm sm:max-w-md': {},
|
|
5
|
-
'@apply text-body bg-white border border-neutral-200': {},
|
|
6
|
-
// dark
|
|
7
|
-
'@apply dark:text-neutral-100 dark:bg-neutral-700 dark:border-neutral-600': {}
|
|
8
|
-
},
|
|
9
|
-
'.notification-icon': {
|
|
10
|
-
'@apply flex-shrink-0 w-5 h-5 mr-3': {},
|
|
11
|
-
'&-info': {
|
|
12
|
-
'--tw-text-opacity': '1',
|
|
13
|
-
color: 'rgba(59, 130, 246, var(--tw-text-opacity))'
|
|
14
|
-
},
|
|
15
|
-
'&-success': {
|
|
16
|
-
'--tw-text-opacity': '1',
|
|
17
|
-
color: 'rgba(34, 197, 94, var(--tw-text-opacity))'
|
|
18
|
-
},
|
|
19
|
-
'&-error': {
|
|
20
|
-
'--tw-text-opacity': '1',
|
|
21
|
-
color: 'rgba(239, 68, 68, var(--tw-text-opacity))'
|
|
22
|
-
},
|
|
23
|
-
'&-warning': {
|
|
24
|
-
'--tw-text-opacity': '1',
|
|
25
|
-
color: 'rgba(234, 179, 8, var(--tw-text-opacity))'
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
'.notification-content': {
|
|
29
|
-
'@apply flex flex-col items-start flex-1 mr-2 -mt-px text-left': {},
|
|
30
|
-
'&-title': {
|
|
31
|
-
'@apply font-semibold': {}
|
|
32
|
-
},
|
|
33
|
-
'&-description': {
|
|
34
|
-
'@apply text-neutral-500 dark:text-neutral-400': {}
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
'.notification-action': {
|
|
38
|
-
'@apply absolute space-x-2': {},
|
|
39
|
-
right: 16,
|
|
40
|
-
top: 16,
|
|
41
|
-
'&-undo': {
|
|
42
|
-
'@apply h-auto p-0 text-sm': {}
|
|
43
|
-
},
|
|
44
|
-
'&-close-button': {
|
|
45
|
-
'@apply cursor-base text-neutral-700 hover:text-body': {},
|
|
46
|
-
'@apply dark:text-neutral-400 dark:hover:text-neutral-100': {}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
//# sourceMappingURL=notification.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notification.js","names":["module","exports","Notification","color","right","top"],"sources":["../../../src/components/notification.js"],"sourcesContent":["module.exports = Notification = () => ({\r\n '.notification': {\r\n '@apply relative flex p-4 text-sm w-96 m-2 max-w-full rounded-base shadow-sm sm:max-w-md': {},\r\n '@apply text-body bg-white border border-neutral-200': {},\r\n // dark\r\n '@apply dark:text-neutral-100 dark:bg-neutral-700 dark:border-neutral-600': {},\r\n },\r\n\r\n '.notification-icon': {\r\n '@apply flex-shrink-0 w-5 h-5 mr-3': {},\r\n\r\n '&-info': {\r\n '--tw-text-opacity': '1',\r\n color: 'rgba(59, 130, 246, var(--tw-text-opacity))',\r\n },\r\n '&-success': {\r\n '--tw-text-opacity': '1',\r\n color: 'rgba(34, 197, 94, var(--tw-text-opacity))',\r\n },\r\n '&-error': {\r\n '--tw-text-opacity': '1',\r\n color: 'rgba(239, 68, 68, var(--tw-text-opacity))',\r\n },\r\n '&-warning': {\r\n '--tw-text-opacity': '1',\r\n color: 'rgba(234, 179, 8, var(--tw-text-opacity))',\r\n },\r\n },\r\n\r\n '.notification-content': {\r\n '@apply flex flex-col items-start flex-1 mr-2 -mt-px text-left': {},\r\n\r\n '&-title': {\r\n '@apply font-semibold': {},\r\n },\r\n\r\n '&-description': {\r\n '@apply text-neutral-500 dark:text-neutral-400': {},\r\n },\r\n },\r\n\r\n '.notification-action': {\r\n '@apply absolute space-x-2': {},\r\n right: 16,\r\n top: 16,\r\n\r\n '&-undo': {\r\n '@apply h-auto p-0 text-sm': {},\r\n },\r\n\r\n '&-close-button': {\r\n '@apply cursor-base text-neutral-700 hover:text-body': {},\r\n '@apply dark:text-neutral-400 dark:hover:text-neutral-100': {},\r\n },\r\n },\r\n});\r\n"],"mappings":"AAAAA,MAAM,CAACC,OAAO,GAAGC,YAAY,GAAG,SAAAA,aAAA;EAAA,OAAO;IACrC,eAAe,EAAE;MACf,yFAAyF,EAAE,CAAC,CAAC;MAC7F,qDAAqD,EAAE,CAAC,CAAC;MACzD;MACA,0EAA0E,EAAE,CAAC;IAC/E,CAAC;IAED,oBAAoB,EAAE;MACpB,mCAAmC,EAAE,CAAC,CAAC;MAEvC,QAAQ,EAAE;QACR,mBAAmB,EAAE,GAAG;QACxBC,KAAK,EAAE;MACT,CAAC;MACD,WAAW,EAAE;QACX,mBAAmB,EAAE,GAAG;QACxBA,KAAK,EAAE;MACT,CAAC;MACD,SAAS,EAAE;QACT,mBAAmB,EAAE,GAAG;QACxBA,KAAK,EAAE;MACT,CAAC;MACD,WAAW,EAAE;QACX,mBAAmB,EAAE,GAAG;QACxBA,KAAK,EAAE;MACT;IACF,CAAC;IAED,uBAAuB,EAAE;MACvB,+DAA+D,EAAE,CAAC,CAAC;MAEnE,SAAS,EAAE;QACT,sBAAsB,EAAE,CAAC;MAC3B,CAAC;MAED,eAAe,EAAE;QACf,+CAA+C,EAAE,CAAC;MACpD;IACF,CAAC;IAED,sBAAsB,EAAE;MACtB,2BAA2B,EAAE,CAAC,CAAC;MAC/BC,KAAK,EAAE,EAAE;MACTC,GAAG,EAAE,EAAE;MAEP,QAAQ,EAAE;QACR,2BAA2B,EAAE,CAAC;MAChC,CAAC;MAED,gBAAgB,EAAE;QAChB,qDAAqD,EAAE,CAAC,CAAC;QACzD,0DAA0D,EAAE,CAAC;MAC/D;IACF;EACF,CAAC;AAAA,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
module.exports = ProfilePicture = function ProfilePicture() {
|
|
2
|
-
return {
|
|
3
|
-
'.profile-picture': {
|
|
4
|
-
'@apply relative overflow-hidden flex-shrink-0 text-xs leading-none flex items-center justify-center text-center w-[48px] h-[48px] mr-sm rounded-full border-2 border-primary': {},
|
|
5
|
-
'.profile-picture-img': {
|
|
6
|
-
'@apply bg-cover absolute inset-0 bg-center text-xs leading-none': {}
|
|
7
|
-
},
|
|
8
|
-
'.icon': {
|
|
9
|
-
width: '3.8rem!important',
|
|
10
|
-
height: '3.8rem!important'
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=profile-picture.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"profile-picture.js","names":["module","exports","ProfilePicture","width","height"],"sources":["../../../src/components/profile-picture.js"],"sourcesContent":["module.exports = ProfilePicture = () => ({\r\n '.profile-picture': {\r\n '@apply relative overflow-hidden flex-shrink-0 text-xs leading-none flex items-center justify-center text-center w-[48px] h-[48px] mr-sm rounded-full border-2 border-primary':\r\n {},\r\n\r\n '.profile-picture-img': {\r\n '@apply bg-cover absolute inset-0 bg-center text-xs leading-none': {},\r\n },\r\n '.icon': {\r\n width: '3.8rem!important',\r\n height: '3.8rem!important',\r\n },\r\n },\r\n});\r\n"],"mappings":"AAAAA,MAAM,CAACC,OAAO,GAAGC,cAAc,GAAG,SAAAA,eAAA;EAAA,OAAO;IACvC,kBAAkB,EAAE;MAClB,8KAA8K,EAC5K,CAAC,CAAC;MAEJ,sBAAsB,EAAE;QACtB,iEAAiE,EAAE,CAAC;MACtE,CAAC;MACD,OAAO,EAAE;QACPC,KAAK,EAAE,kBAAkB;QACzBC,MAAM,EAAE;MACV;IACF;EACF,CAAC;AAAA,CAAC"}
|