@sk-web-gui/core 3.4.0 → 3.4.2
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.map +1 -1
- package/dist/cjs/components/ai/ai-feed.js.map +1 -1
- package/dist/cjs/components/ai/ai-module.js +56 -16
- package/dist/cjs/components/ai/ai-module.js.map +1 -1
- package/dist/cjs/components/ai/assistant-presentation.js +4 -1
- package/dist/cjs/components/ai/assistant-presentation.js.map +1 -1
- package/dist/cjs/components/ai/bubble.js.map +1 -1
- package/dist/cjs/components/ai/feedback.js.map +1 -1
- package/dist/cjs/components/ai/input-section.js.map +1 -1
- package/dist/cjs/components/ai/markdown-rendered.js.map +1 -1
- package/dist/cjs/components/ai/typing-bubble.js.map +1 -1
- package/dist/cjs/components/ai/typing-sequence.js.map +1 -1
- package/dist/cjs/components/alert-banner.js +26 -0
- package/dist/cjs/components/alert-banner.js.map +1 -0
- package/dist/cjs/components/chip.js.map +1 -1
- package/dist/cjs/components/combobox.js.map +1 -1
- package/dist/cjs/components/comments.js +32 -0
- package/dist/cjs/components/comments.js.map +1 -0
- package/dist/cjs/components/context-menu.js +41 -0
- package/dist/cjs/components/context-menu.js.map +1 -0
- package/dist/cjs/components/dropdown-filter.js +60 -0
- package/dist/cjs/components/dropdown-filter.js.map +1 -0
- package/dist/cjs/components/footer.js +4 -4
- package/dist/cjs/components/footer.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/notification.js +51 -0
- package/dist/cjs/components/notification.js.map +1 -0
- 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.map +1 -1
- package/dist/cjs/components/rich-text-editor.js +233 -0
- package/dist/cjs/components/rich-text-editor.js.map +1 -0
- package/dist/cjs/components/search-field.js.map +1 -1
- package/dist/cjs/components/select.js.map +1 -1
- package/dist/cjs/components/side-menu.js +221 -0
- package/dist/cjs/components/side-menu.js.map +1 -0
- package/dist/cjs/components/spinner.js.map +1 -1
- package/dist/cjs/components/tab-menu.js +59 -0
- package/dist/cjs/components/tab-menu.js.map +1 -0
- 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/components/zebratable.js +141 -0
- package/dist/cjs/components/zebratable.js.map +1 -0
- package/dist/cjs/data-plugin.js.map +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/plugin.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.map +1 -1
- package/dist/esm/components/ai/ai-feed.js.map +1 -1
- package/dist/esm/components/ai/ai-module.js +56 -16
- package/dist/esm/components/ai/ai-module.js.map +1 -1
- package/dist/esm/components/ai/assistant-presentation.js +4 -1
- package/dist/esm/components/ai/assistant-presentation.js.map +1 -1
- package/dist/esm/components/ai/bubble.js.map +1 -1
- package/dist/esm/components/ai/feedback.js.map +1 -1
- package/dist/esm/components/ai/input-section.js.map +1 -1
- package/dist/esm/components/ai/markdown-rendered.js.map +1 -1
- package/dist/esm/components/ai/typing-bubble.js.map +1 -1
- package/dist/esm/components/ai/typing-sequence.js.map +1 -1
- package/dist/esm/components/alert-banner.js +24 -0
- package/dist/esm/components/alert-banner.js.map +1 -0
- package/dist/esm/components/chip.js.map +1 -1
- package/dist/esm/components/combobox.js.map +1 -1
- package/dist/esm/components/comments.js +30 -0
- package/dist/esm/components/comments.js.map +1 -0
- package/dist/esm/components/context-menu.js +39 -0
- package/dist/esm/components/context-menu.js.map +1 -0
- package/dist/esm/components/dropdown-filter.js +58 -0
- package/dist/esm/components/dropdown-filter.js.map +1 -0
- package/dist/esm/components/footer.js +4 -4
- package/dist/esm/components/footer.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/notification.js +49 -0
- package/dist/esm/components/notification.js.map +1 -0
- 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.map +1 -1
- package/dist/esm/components/rich-text-editor.js +227 -0
- package/dist/esm/components/rich-text-editor.js.map +1 -0
- package/dist/esm/components/search-field.js.map +1 -1
- package/dist/esm/components/select.js.map +1 -1
- package/dist/esm/components/side-menu.js +219 -0
- package/dist/esm/components/side-menu.js.map +1 -0
- package/dist/esm/components/spinner.js.map +1 -1
- package/dist/esm/components/tab-menu.js +57 -0
- package/dist/esm/components/tab-menu.js.map +1 -0
- 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/components/zebratable.js +135 -0
- package/dist/esm/components/zebratable.js.map +1 -0
- package/dist/esm/data-plugin.js.map +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/plugin.js.map +1 -1
- package/dist/esm/theme.js.map +1 -1
- package/dist/esm/units.js.map +1 -1
- 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/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/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/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/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/ai/ai-module.d.ts +54 -14
- package/dist/types/components/ai/assistant-presentation.d.ts +4 -1
- package/dist/types/components/alert-banner.d.ts +24 -0
- package/dist/types/components/comments.d.ts +30 -0
- package/dist/types/components/context-menu.d.ts +39 -0
- package/dist/types/components/dropdown-filter.d.ts +58 -0
- package/dist/types/components/footer.d.ts +4 -4
- package/dist/types/components/notification.d.ts +48 -0
- package/dist/types/components/rich-text-editor.d.ts +226 -0
- package/dist/types/components/side-menu.d.ts +219 -0
- package/dist/types/components/tab-menu.d.ts +57 -0
- package/dist/types/components/zebratable.d.ts +134 -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 +174 -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 +195 -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 +37 -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 +198 -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 +13 -0
- package/dist/types/core/src/components/switch.d.ts +64 -0
- package/dist/types/core/src/components/table-autotable.d.ts +222 -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 +287 -0
- package/dist/types/core/src/with-opacity.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/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/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/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/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/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/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/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/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/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/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/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/src/index.d.ts +70 -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/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/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/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/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 +48 -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 +266 -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/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 +6 -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
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
export declare const Accordion: () => {
|
|
2
|
+
'.sk-disclosure': {
|
|
3
|
+
'&-header': {
|
|
4
|
+
'@apply mt-6 mb-8': {};
|
|
5
|
+
'@apply flex flex-col text-left': {};
|
|
6
|
+
'@apply cursor-pointer': {};
|
|
7
|
+
'*': {
|
|
8
|
+
'@apply cursor-pointer': {};
|
|
9
|
+
};
|
|
10
|
+
'&:focus-visible': {
|
|
11
|
+
'@apply outline-0': {};
|
|
12
|
+
};
|
|
13
|
+
'&-icon': {
|
|
14
|
+
'@apply ml-auto': {};
|
|
15
|
+
'@apply text-dark-secondary': {};
|
|
16
|
+
svg: {
|
|
17
|
+
'@apply w-20 h-20': {};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
'&[data-disabled="true"]': {
|
|
21
|
+
'@apply text-dark-disabled': {};
|
|
22
|
+
'.sk-disclosure-title': {
|
|
23
|
+
'@apply text-dark-disabled': {};
|
|
24
|
+
};
|
|
25
|
+
'@apply cursor-default': {};
|
|
26
|
+
'*': {
|
|
27
|
+
'@apply cursor-default': {};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
'&-label': {
|
|
32
|
+
'@apply shrink-0': {};
|
|
33
|
+
};
|
|
34
|
+
'&-toggle': {
|
|
35
|
+
'@apply flex items-center justify-between': {};
|
|
36
|
+
'@apply gap-16': {};
|
|
37
|
+
'.sk-icon': {
|
|
38
|
+
'@apply w-32 h-32': {};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
'&-title': {
|
|
42
|
+
'@apply text-dark-primary': {};
|
|
43
|
+
'&-wrapper': {
|
|
44
|
+
'@apply w-full': {};
|
|
45
|
+
'@apply flex flex-row': {};
|
|
46
|
+
'@apply items-center': {};
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
'&-sm': {
|
|
50
|
+
'.sk-disclosure-title': {
|
|
51
|
+
'@apply text-h4-sm font-bold': {};
|
|
52
|
+
'&-wrapper': {
|
|
53
|
+
'@apply gap-12': {};
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
'.sk-disclosure-toggle': {
|
|
57
|
+
'@apply gap-12': {};
|
|
58
|
+
'.sk-icon': {
|
|
59
|
+
'@apply w-20 h-20': {};
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
'.sk-disclosure-support': {
|
|
63
|
+
'@apply text-small': {};
|
|
64
|
+
};
|
|
65
|
+
'&[data-variant="default"]': {
|
|
66
|
+
'.sk-disclosure-toggle': {
|
|
67
|
+
'@apply py-4': {};
|
|
68
|
+
'@apply h-40': {};
|
|
69
|
+
};
|
|
70
|
+
'.sk-disclosure-header-icon': {
|
|
71
|
+
'@apply w-32 h-32': {};
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
'&[data-variant="alt"]': {};
|
|
75
|
+
};
|
|
76
|
+
'&-md': {
|
|
77
|
+
'.sk-disclosure-title': {
|
|
78
|
+
'@apply text-h4-md font-bold': {};
|
|
79
|
+
'&-wrapper': {
|
|
80
|
+
'@apply gap-12': {};
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
'.sk-disclosure-toggle': {
|
|
84
|
+
'@apply gap-12': {};
|
|
85
|
+
'.sk-icon': {
|
|
86
|
+
'@apply w-24 h-24': {};
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
'.sk-disclosure-support': {
|
|
90
|
+
'@apply text-body': {};
|
|
91
|
+
};
|
|
92
|
+
'&[data-variant="default"]': {
|
|
93
|
+
'.sk-disclosure-toggle': {
|
|
94
|
+
'@apply py-8': {};
|
|
95
|
+
'@apply h-56': {};
|
|
96
|
+
};
|
|
97
|
+
'.sk-disclosure-header-icon': {
|
|
98
|
+
'@apply w-40 h-40': {};
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
'&-lg': {
|
|
103
|
+
'&[data-variant="alt"]': {
|
|
104
|
+
'.sk-disclosure-support': {
|
|
105
|
+
'@apply text-large': {};
|
|
106
|
+
};
|
|
107
|
+
'.sk-disclosure-title': {
|
|
108
|
+
'@apply text-h3-md font-bold': {};
|
|
109
|
+
'&-wrapper': {
|
|
110
|
+
'@apply gap-16': {};
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
'&-body': {
|
|
116
|
+
'@apply text-base': {};
|
|
117
|
+
'@apply flex flex-col': {};
|
|
118
|
+
'@apply mb-32': {};
|
|
119
|
+
'@apply mr-32': {};
|
|
120
|
+
'@apply gap-8': {};
|
|
121
|
+
'@apply py-0': {};
|
|
122
|
+
'@apply h-0 overflow-hidden': {};
|
|
123
|
+
transitionProperty: string;
|
|
124
|
+
transitionTimingFunction: string;
|
|
125
|
+
transitionDuration: string;
|
|
126
|
+
'&[aria-hidden="true"], &[data-hidden="true"]': {
|
|
127
|
+
'@apply my-0 invisible h-0': {};
|
|
128
|
+
};
|
|
129
|
+
'&[aria-hidden="false"], &[data-hidden="false"]': {
|
|
130
|
+
'@apply block h-max visible': {};
|
|
131
|
+
};
|
|
132
|
+
'&[data-variant="alt"]': {
|
|
133
|
+
'@apply mt-24': {};
|
|
134
|
+
'&[data-size="sm"]': {
|
|
135
|
+
'@apply pr-12': {};
|
|
136
|
+
};
|
|
137
|
+
'&[data-size="md"]': {
|
|
138
|
+
'@apply pr-12': {};
|
|
139
|
+
};
|
|
140
|
+
'&[data-size="lg"]': {
|
|
141
|
+
'@apply pr-16': {};
|
|
142
|
+
};
|
|
143
|
+
'&[data-has-icon="true"]': {
|
|
144
|
+
'&[data-size="sm"]': {
|
|
145
|
+
'@apply ml-32': {};
|
|
146
|
+
};
|
|
147
|
+
'&[data-size="md"]': {
|
|
148
|
+
'@apply ml-36': {};
|
|
149
|
+
};
|
|
150
|
+
'&[data-size="lg"]': {
|
|
151
|
+
'@apply ml-48': {};
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
'&-is-open': {
|
|
157
|
+
'.sk-disclosure-body': {
|
|
158
|
+
'@apply overflow-visible animate-reset-overflow': {};
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
'.sk-accordion': {
|
|
163
|
+
'&-item': {
|
|
164
|
+
'.sk-disclosure': {
|
|
165
|
+
transitionProperty: string;
|
|
166
|
+
transitionDuration: string;
|
|
167
|
+
'@apply border-b-1 border-divider': {};
|
|
168
|
+
};
|
|
169
|
+
'&:last-child .sk-disclosure': {
|
|
170
|
+
'@apply border-b-transparent': {};
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare const Alert: (colors: string[]) => {
|
|
2
|
+
'.alert-close-button': {
|
|
3
|
+
'@apply absolute right-4 cursor-base focus-visible:outline-none': {};
|
|
4
|
+
'@apply text-neutral-600 hover:text-neutral-700': {};
|
|
5
|
+
};
|
|
6
|
+
'.alert-left-accent': {
|
|
7
|
+
'@apply border-l-2 rounded-none': {};
|
|
8
|
+
'@apply text-body': {};
|
|
9
|
+
};
|
|
10
|
+
'.alert-solid': {
|
|
11
|
+
'@apply border rounded-base': {};
|
|
12
|
+
'@apply text-white': {};
|
|
13
|
+
};
|
|
14
|
+
'.alert-subtle': {
|
|
15
|
+
'@apply border rounded-base': {};
|
|
16
|
+
'@apply text-body': {};
|
|
17
|
+
};
|
|
18
|
+
'.alert': {
|
|
19
|
+
'@apply w-full flex items-center px-4 py-3 relative overflow-hidden text-small': {};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const Avatar: (colors: string[]) => {
|
|
2
|
+
'.sk-avatar': {
|
|
3
|
+
'&-img': {
|
|
4
|
+
'@apply min-w-full min-h-full object-cover': {};
|
|
5
|
+
};
|
|
6
|
+
'@apply inline-flex': {};
|
|
7
|
+
'@apply justify-center items-center': {};
|
|
8
|
+
'@apply rounded-button-sm md:rounded-button-md xl:rounded-button-lg': {};
|
|
9
|
+
'@apply overflow-hidden': {};
|
|
10
|
+
'&[data-rounded="true"]': {
|
|
11
|
+
'@apply rounded-circular': {};
|
|
12
|
+
};
|
|
13
|
+
'&&-sm': {
|
|
14
|
+
'@apply h-32 w-32 min-h-24 max-h-32 min-w-24 max-w-32': {};
|
|
15
|
+
'@apply text-label-small': {};
|
|
16
|
+
};
|
|
17
|
+
'&&-md': {
|
|
18
|
+
'@apply h-40 w-40 min-h-32 max-h-40 min-w-32 max-w-40': {};
|
|
19
|
+
'@apply text-label-medium': {};
|
|
20
|
+
};
|
|
21
|
+
'&&-lg': {
|
|
22
|
+
'@apply h-64 w-64 min-h-40 max-h-64 min-w-40 max-w-64': {};
|
|
23
|
+
'@apply text-label-large': {};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare const Badge: (colors: string[]) => {
|
|
2
|
+
'.sk-badge': {
|
|
3
|
+
"&[data-color='tertiary']": {
|
|
4
|
+
'@apply bg-primary-surface': {};
|
|
5
|
+
'&[data-inverted="true"]': {
|
|
6
|
+
'@apply text-inverted-light-primary': {};
|
|
7
|
+
'@apply bg-tertiary-surface dark:bg-inverted-primary-surface': {};
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
'@apply inline-flex': {};
|
|
11
|
+
'@apply justify-center items-center': {};
|
|
12
|
+
'@apply text-light-primary': {};
|
|
13
|
+
'@apply rounded-utility': {};
|
|
14
|
+
'@apply overflow-hidden': {};
|
|
15
|
+
'@apply h-24 w-24': {};
|
|
16
|
+
'@apply text-label-small': {};
|
|
17
|
+
'&[data-rounded="true"]': {
|
|
18
|
+
'@apply rounded-circular': {};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare const Breadcrumb: () => {
|
|
2
|
+
'.sk-breadcrumb': {
|
|
3
|
+
'@apply text-body text-base relative': {};
|
|
4
|
+
'&-item': {
|
|
5
|
+
'@apply inline-flex items-center whitespace-nowrap': {};
|
|
6
|
+
};
|
|
7
|
+
'&-separator': {
|
|
8
|
+
'@apply mx-6': {};
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
'.sk-breadcrumb-item': {
|
|
12
|
+
span: {
|
|
13
|
+
'&[aria-current="page"]': {
|
|
14
|
+
'@apply font-bold': {};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
"&[data-color=\"primary\"]": {
|
|
18
|
+
'a.sk-link': {
|
|
19
|
+
"@apply text-secondary": {};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
"&[data-color=\"vattjom\"]": {
|
|
23
|
+
'a.sk-link': {
|
|
24
|
+
"@apply text-vattjom-text-primary": {};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare const ButtonGroup: () => {
|
|
2
|
+
'.sk-btn-group': {
|
|
3
|
+
'@apply inline-flex items-center': {};
|
|
4
|
+
'&.sk-btn-group-attached': {
|
|
5
|
+
'@apply rounded-groups': {};
|
|
6
|
+
'@apply bg-tertiary-surface': {};
|
|
7
|
+
'@apply py-6 px-12': {};
|
|
8
|
+
'> *': {
|
|
9
|
+
'@apply bg-transparent': {};
|
|
10
|
+
};
|
|
11
|
+
'.sk-btn[data-icon="true"] .sk-icon': {
|
|
12
|
+
'@apply bg-transparent text-dark-secondary': {};
|
|
13
|
+
};
|
|
14
|
+
'.sk-icon': {
|
|
15
|
+
'@apply p-0 w-fit h-fit': {};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
'&-divider': {
|
|
19
|
+
'@apply grow bg-tertiary-surface px-6': {};
|
|
20
|
+
hr: {
|
|
21
|
+
'@apply h-20': {};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
export declare const Button: (colors: string[]) => {
|
|
2
|
+
'.sk-btn': {
|
|
3
|
+
'&[data-background="false"]:not(:hover)': {
|
|
4
|
+
'@apply bg-transparent': {};
|
|
5
|
+
};
|
|
6
|
+
'.btn-has-icon': {
|
|
7
|
+
'&-left': {
|
|
8
|
+
'@apply h-full flex items-center justify-center -ml-2': {};
|
|
9
|
+
'.sk-icon': {
|
|
10
|
+
'@apply bg-transparent': {};
|
|
11
|
+
color: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
'&-right': {
|
|
15
|
+
'@apply h-full flex items-center justify-center -mr-2': {};
|
|
16
|
+
'.sk-icon': {
|
|
17
|
+
'@apply bg-transparent': {};
|
|
18
|
+
color: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
'&-lg .btn-has-icon-left': {
|
|
23
|
+
'@apply -ml-4': {};
|
|
24
|
+
};
|
|
25
|
+
'&-lg .btn-has-icon-right': {
|
|
26
|
+
'@apply -mr-4': {};
|
|
27
|
+
};
|
|
28
|
+
'&[data-icon=true]': {
|
|
29
|
+
'@apply p-0': {};
|
|
30
|
+
'.sk-icon': {
|
|
31
|
+
'@apply bg-transparent': {};
|
|
32
|
+
color: string;
|
|
33
|
+
};
|
|
34
|
+
"&[data-rounded='true']": {
|
|
35
|
+
'@apply rounded-full': {};
|
|
36
|
+
};
|
|
37
|
+
'&.sk-btn-sm': {
|
|
38
|
+
'@apply w-32 min-w-32 max-w-32': {};
|
|
39
|
+
'svg, .sk-icon': {
|
|
40
|
+
'@apply h-20 w-20': {};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
'&.sk-btn-md': {
|
|
44
|
+
'@apply w-40 min-w-40 max-w-40': {};
|
|
45
|
+
'svg, .sk-icon': {
|
|
46
|
+
'@apply h-20 w-20': {};
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
'&.sk-btn-lg': {
|
|
50
|
+
'@apply w-48 min-w-48 max-w-48': {};
|
|
51
|
+
'svg, .sk-icon': {
|
|
52
|
+
'@apply h-24 w-24': {};
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
'.btn-has-icon': {
|
|
56
|
+
'&-left': {
|
|
57
|
+
'@apply m-0': {};
|
|
58
|
+
};
|
|
59
|
+
'&-right': {
|
|
60
|
+
'@apply m-0': {};
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
'&-link': {
|
|
65
|
+
'@apply h-auto p-0 leading-normal text-neutral-600 hover:underline active:text-neutral-700': {};
|
|
66
|
+
'&.active': {
|
|
67
|
+
'@apply underline': {};
|
|
68
|
+
};
|
|
69
|
+
'@apply dark:text-neutral-200': {};
|
|
70
|
+
'@apply dark:active:text-neutral-500': {};
|
|
71
|
+
};
|
|
72
|
+
'&-ghost': {
|
|
73
|
+
'@apply text-dark-secondary': {};
|
|
74
|
+
'@apply bg-transparent': {};
|
|
75
|
+
'@apply border-transparent': {};
|
|
76
|
+
'@apply hover:bg-transparent': {};
|
|
77
|
+
'@apply hover:border-transparent': {};
|
|
78
|
+
'&.sk-btn-disabled, &[aria-disabled="true"]': {
|
|
79
|
+
'@apply disabled:bg-transparent bg-transparent disabled:border-transparent border-transparent !important': {};
|
|
80
|
+
};
|
|
81
|
+
'&[data-inverted="true"]': {
|
|
82
|
+
'@apply text-inverted-dark-secondary': {};
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
'&-tertiary': {
|
|
86
|
+
'@apply text-dark-secondary': {};
|
|
87
|
+
'@apply bg-tertiary-surface': {};
|
|
88
|
+
'@apply hover:bg-tertiary-surface-hover': {};
|
|
89
|
+
'&.sk-btn-disabled, &[aria-disabled="true"]': {
|
|
90
|
+
'@apply disabled:bg-tertiary-surface-disabled bg-tertiary-surface-disabled disabled:border-transparent border-transparent !important': {};
|
|
91
|
+
};
|
|
92
|
+
'&[data-inverted="true"]': {
|
|
93
|
+
'@apply text-inverted-dark-secondary': {};
|
|
94
|
+
'@apply bg-inverted-tertiary-surface': {};
|
|
95
|
+
'@apply hover:bg-inverted-tertiary-surface-hover': {};
|
|
96
|
+
'&.sk-btn-disabled, &[aria-disabled="true"]': {
|
|
97
|
+
'@apply disabled:bg-inverted-tertiary-surface-disabled bg-inverted-tertiary-surface-disabled disabled:border-transparent border-transparent !important': {};
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
'&-secondary': {
|
|
102
|
+
'@apply border-secondary-outline': {};
|
|
103
|
+
'@apply text-dark-secondary': {};
|
|
104
|
+
'@apply bg-secondary-surface': {};
|
|
105
|
+
'@apply hover:border-secondary-outline-hover': {};
|
|
106
|
+
'@apply hover:bg-secondary-surface-hover': {};
|
|
107
|
+
'@apply focus-visible:border-background-content': {};
|
|
108
|
+
'&.sk-btn-disabled, &[aria-disabled="true"]': {
|
|
109
|
+
'@apply disabled:bg-secondary-surface-disabled bg-secondary-surface-disabled disabled:border-transparent border-transparent !important': {};
|
|
110
|
+
};
|
|
111
|
+
'&[data-inverted="true"]': {
|
|
112
|
+
'@apply border-inverted-secondary-outline': {};
|
|
113
|
+
'@apply text-inverted-dark-secondary': {};
|
|
114
|
+
'@apply bg-inverted-secondary-surface': {};
|
|
115
|
+
'@apply hover:border-inverted-secondary-outline-hover': {};
|
|
116
|
+
'@apply hover:bg-inverted-secondary-surface-hover': {};
|
|
117
|
+
'@apply focus-visible:border-inverted-background-content': {};
|
|
118
|
+
'&.sk-btn-disabled, &[aria-disabled="true"]': {
|
|
119
|
+
'@apply disabled:bg-inverted-secondary-surface-disabled bg-inverted-secondary-surface-disabled disabled:border-transparent border-transparent !important': {};
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
'&-primary': {
|
|
124
|
+
"&[data-color='primary']": {
|
|
125
|
+
'@apply bg-primary-surface': {};
|
|
126
|
+
'@apply hover:bg-primary-surface-hover': {};
|
|
127
|
+
'&.active': {
|
|
128
|
+
'@apply bg-primary-surface-hover': {};
|
|
129
|
+
};
|
|
130
|
+
"@apply active:bg-primary-surface-hover": {};
|
|
131
|
+
'&[data-inverted="true"]': {
|
|
132
|
+
'@apply text-inverted-light-primary': {};
|
|
133
|
+
'@apply bg-inverted-primary-surface': {};
|
|
134
|
+
'@apply hover:bg-inverted-primary-surface-hover': {};
|
|
135
|
+
'&.active': {
|
|
136
|
+
'@apply bg-inverted-primary-surface-hover': {};
|
|
137
|
+
};
|
|
138
|
+
"@apply active:bg-inverted-primary-surface-hover": {};
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
'@apply text-light-primary': {};
|
|
142
|
+
'@apply hover:bg-primary-surface-hover': {};
|
|
143
|
+
};
|
|
144
|
+
'@apply box-border': {};
|
|
145
|
+
'@apply border-2 border-transparent': {};
|
|
146
|
+
'@apply cursor-pointer': {};
|
|
147
|
+
'@apply relative': {};
|
|
148
|
+
'@apply m-0': {};
|
|
149
|
+
'@apply px-24 py-8 gap-8': {};
|
|
150
|
+
'@apply inline-flex items-center justify-center flex-shrink-0 align-middle': {};
|
|
151
|
+
'@apply rounded-button': {};
|
|
152
|
+
transitionProperty: string;
|
|
153
|
+
'@apply\tduration-75 ease-out': {};
|
|
154
|
+
'@apply outline-none appearance-none select-none whitespace-nowrap': {};
|
|
155
|
+
'@apply focus-visible:outline-none': {};
|
|
156
|
+
'@apply focus-visible:ring': {};
|
|
157
|
+
"&[data-rounded='true']": {
|
|
158
|
+
'@apply rounded-circular': {};
|
|
159
|
+
};
|
|
160
|
+
'&-sm': {
|
|
161
|
+
'@apply text-label-small': {};
|
|
162
|
+
'@apply px-14 py-8 gap-6': {};
|
|
163
|
+
'@apply max-h-32 h-32': {};
|
|
164
|
+
'@apply rounded-button-sm': {};
|
|
165
|
+
'svg, .sk-icon': {
|
|
166
|
+
'@apply h-16 w-16': {};
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
'&-md': {
|
|
170
|
+
'@apply text-label-medium': {};
|
|
171
|
+
'@apply px-18 py-8 gap-8': {};
|
|
172
|
+
'@apply max-h-40 h-40': {};
|
|
173
|
+
'@apply rounded-button-md': {};
|
|
174
|
+
'svg, .sk-icon': {
|
|
175
|
+
'@apply h-18 w-18': {};
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
'&-lg': {
|
|
179
|
+
'@apply text-label-large': {};
|
|
180
|
+
'@apply px-24 py-8 gap-8': {};
|
|
181
|
+
'@apply max-h-48 h-48': {};
|
|
182
|
+
'@apply rounded-button-lg': {};
|
|
183
|
+
'svg, .sk-icon': {
|
|
184
|
+
'@apply h-20 w-20': {};
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
'&-disabled, &[aria-disabled="true"]': {
|
|
188
|
+
'@apply shadow-none disabled:shadow-none disabled:cursor-default cursor-default': {};
|
|
189
|
+
'@apply disabled:text-dark-disabled text-dark-disabled disabled:bg-primary-surface-disabled bg-primary-surface-disabled disabled:border-transparent border-transparent !important': {};
|
|
190
|
+
'&[data-inverted="true"]': {
|
|
191
|
+
'@apply disabled:text-inverted-dark-disabled text-inverted-dark-disabled disabled:bg-inverted-primary-surface-disabled bg-inverted-primary-surface-disabled disabled:border-transparent border-transparent !important': {};
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
};
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
export declare const Card: (colors: string[]) => {
|
|
2
|
+
'.sk-card': {
|
|
3
|
+
'&.sk-card-use-hover-effect': {
|
|
4
|
+
'.sk-card-body-icon': {
|
|
5
|
+
'@apply inline-flex': {};
|
|
6
|
+
'@apply mt-auto mb-auto mr-24': {};
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
"&[data-layout=\"horizontal\"]": {
|
|
10
|
+
'@apply flex-row h-full': {};
|
|
11
|
+
'.sk-card': {
|
|
12
|
+
'&-image': {
|
|
13
|
+
'@apply h-full w-[8em]': {};
|
|
14
|
+
'@apply float-left': {};
|
|
15
|
+
'@apply rounded-none rounded-l-cards grow-0': {};
|
|
16
|
+
};
|
|
17
|
+
'&-body': {
|
|
18
|
+
'@apply w-full': {};
|
|
19
|
+
'@apply border-none': {};
|
|
20
|
+
'&-wrapper': {
|
|
21
|
+
'@apply w-full': {};
|
|
22
|
+
};
|
|
23
|
+
'&-content': {
|
|
24
|
+
'p, a': {
|
|
25
|
+
'@apply text-small': {};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
'&-meta': {
|
|
29
|
+
'@apply hidden': {};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
'@apply text-base': {};
|
|
35
|
+
'@apply bg-white relative rounded-b-cards rounded-cards': {};
|
|
36
|
+
'@apply flex flex-col': {};
|
|
37
|
+
'@apply no-underline hover:no-underline': {};
|
|
38
|
+
'@apply h-full': {};
|
|
39
|
+
'&-wrapper': {
|
|
40
|
+
'@apply grid': {};
|
|
41
|
+
};
|
|
42
|
+
'&-image': {
|
|
43
|
+
'@apply object-cover grow': {};
|
|
44
|
+
'@apply rounded-t-cards': {};
|
|
45
|
+
};
|
|
46
|
+
'&-body': {
|
|
47
|
+
'@apply px-24 pb-24 pt-16 rounded-b-cards': {};
|
|
48
|
+
'@apply shrink': {};
|
|
49
|
+
'&-wrapper': {
|
|
50
|
+
'@apply flex': {};
|
|
51
|
+
};
|
|
52
|
+
'&-meta': {
|
|
53
|
+
'@apply flex space-x-12 mt-16 text-base': {};
|
|
54
|
+
span: {
|
|
55
|
+
'@apply flex space-x-4 items-center': {};
|
|
56
|
+
time: {
|
|
57
|
+
'@apply h-24': {};
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
'&.sk-card-image': {
|
|
61
|
+
'@apply min-h-[12.5em] max-h-[20em]': {};
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
'&-header': {
|
|
65
|
+
'h1, h2, h3, h4, h5, h6, h7, a': {
|
|
66
|
+
'@apply line-clamp-1 text-h3-md text-dark-primary mt-16': {};
|
|
67
|
+
};
|
|
68
|
+
span: {
|
|
69
|
+
'@apply pl-12': {};
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
'&-content': {
|
|
73
|
+
'@apply w-full': {};
|
|
74
|
+
'p, a': {
|
|
75
|
+
'@apply line-clamp-3 m-0 pt-8 text-base': {};
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
'&-icon': {
|
|
79
|
+
'@apply hidden': {};
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
'.sk-card-link': {
|
|
84
|
+
'@apply hover:cursor-pointer': {};
|
|
85
|
+
'&::after': {
|
|
86
|
+
content: string;
|
|
87
|
+
position: string;
|
|
88
|
+
left: string;
|
|
89
|
+
top: string;
|
|
90
|
+
right: string;
|
|
91
|
+
bottom: string;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* Meta card
|
|
96
|
+
*/
|
|
97
|
+
'.sk-meta-card': {
|
|
98
|
+
'@apply no-underline hover:no-underline': {};
|
|
99
|
+
'@apply flex bg-vattjom-surface-accent': {};
|
|
100
|
+
'@apply p-14 rounded-groups': {};
|
|
101
|
+
'&[data-color="mono"]': {
|
|
102
|
+
'@apply bg-primitives-overlay-darken-1 dark:bg-primitives-overlay-lighten-1': {};
|
|
103
|
+
};
|
|
104
|
+
'&[data-color="vattjom"]': {
|
|
105
|
+
'@apply bg-vattjom-background-200': {};
|
|
106
|
+
};
|
|
107
|
+
'&-text-icon': {
|
|
108
|
+
'@apply mr-12 rounded-12 p-8': {};
|
|
109
|
+
'@apply bg-primitives-gray-lightest dark:bg-primitives-gray-800': {};
|
|
110
|
+
'@apply text-dark': {};
|
|
111
|
+
svg: {
|
|
112
|
+
height: string;
|
|
113
|
+
width: string;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
'&-body': {
|
|
117
|
+
'&-header': {
|
|
118
|
+
'h1, h2, h3, h4, h5, h6, h7, a, p': {
|
|
119
|
+
'@apply mt-6 text-base line-clamp-1': {};
|
|
120
|
+
'@apply text-dark-primary': {};
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
'&-content': {
|
|
124
|
+
'p, a': {
|
|
125
|
+
'@apply text-primitives-gray-700 dark:text-primitives-gray-200 text-small': {};
|
|
126
|
+
'@apply text-dark-secondary line-clamp-1': {};
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
'&-external-link-icon': {
|
|
131
|
+
'@apply ml-auto h-32 w-32': {};
|
|
132
|
+
'@apply p-6 text-dark': {};
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
};
|