@sk-web-gui/core 3.0.1 → 3.2.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.map +1 -1
- package/dist/cjs/base.js +1 -4
- package/dist/cjs/base.js.map +1 -1
- package/dist/cjs/components/ai/ai-feed.js +63 -0
- package/dist/cjs/components/ai/ai-feed.js.map +1 -0
- package/dist/cjs/components/ai/ai-module.js +151 -0
- package/dist/cjs/components/ai/ai-module.js.map +1 -0
- package/dist/cjs/components/ai/assistant-presentation.js +56 -0
- package/dist/cjs/components/ai/assistant-presentation.js.map +1 -0
- package/dist/cjs/components/ai/bubble.js +45 -0
- package/dist/cjs/components/ai/bubble.js.map +1 -0
- package/dist/cjs/components/ai/feedback.js +27 -0
- package/dist/cjs/components/ai/feedback.js.map +1 -0
- package/dist/cjs/components/ai/input-section.js +23 -0
- package/dist/cjs/components/ai/input-section.js.map +1 -0
- package/dist/cjs/components/ai/markdown-rendered.js +27 -0
- package/dist/cjs/components/ai/markdown-rendered.js.map +1 -0
- package/dist/cjs/components/ai/typing-bubble.js +22 -0
- package/dist/cjs/components/ai/typing-bubble.js.map +1 -0
- package/dist/cjs/components/ai/typing-sequence.js +33 -0
- package/dist/cjs/components/ai/typing-sequence.js.map +1 -0
- package/dist/cjs/components/alert-banner.js +26 -0
- package/dist/cjs/components/alert-banner.js.map +1 -0
- package/dist/cjs/components/avatar.js +3 -0
- package/dist/cjs/components/avatar.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/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/divider.js +3 -3
- package/dist/cjs/components/divider.js.map +1 -1
- package/dist/cjs/components/dropdown-filter.js +60 -0
- package/dist/cjs/components/dropdown-filter.js.map +1 -0
- 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 +0 -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 +14 -1
- package/dist/cjs/plugin.js.map +1 -1
- package/dist/cjs/theme.js +18 -4
- package/dist/cjs/theme.js.map +1 -1
- package/dist/cjs/units.js +1 -0
- package/dist/cjs/units.js.map +1 -1
- package/dist/esm/aria-plugin.js.map +1 -1
- package/dist/esm/base.js +1 -4
- package/dist/esm/base.js.map +1 -1
- package/dist/esm/components/ai/ai-feed.js +57 -0
- package/dist/esm/components/ai/ai-feed.js.map +1 -0
- package/dist/esm/components/ai/ai-module.js +146 -0
- package/dist/esm/components/ai/ai-module.js.map +1 -0
- package/dist/esm/components/ai/assistant-presentation.js +50 -0
- package/dist/esm/components/ai/assistant-presentation.js.map +1 -0
- package/dist/esm/components/ai/bubble.js +46 -0
- package/dist/esm/components/ai/bubble.js.map +1 -0
- package/dist/esm/components/ai/feedback.js +21 -0
- package/dist/esm/components/ai/feedback.js.map +1 -0
- package/dist/esm/components/ai/input-section.js +17 -0
- package/dist/esm/components/ai/input-section.js.map +1 -0
- package/dist/esm/components/ai/markdown-rendered.js +21 -0
- package/dist/esm/components/ai/markdown-rendered.js.map +1 -0
- package/dist/esm/components/ai/typing-bubble.js +16 -0
- package/dist/esm/components/ai/typing-bubble.js.map +1 -0
- package/dist/esm/components/ai/typing-sequence.js +28 -0
- package/dist/esm/components/ai/typing-sequence.js.map +1 -0
- package/dist/esm/components/alert-banner.js +24 -0
- package/dist/esm/components/alert-banner.js.map +1 -0
- package/dist/esm/components/avatar.js +3 -0
- package/dist/esm/components/avatar.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/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/divider.js +3 -3
- package/dist/esm/components/divider.js.map +1 -1
- package/dist/esm/components/dropdown-filter.js +58 -0
- package/dist/esm/components/dropdown-filter.js.map +1 -0
- 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 +0 -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 +13 -1
- package/dist/esm/plugin.js.map +1 -1
- package/dist/esm/theme.js +18 -4
- package/dist/esm/theme.js.map +1 -1
- package/dist/esm/units.js +1 -0
- 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/base.d.ts +1 -4
- 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-feed.d.ts +56 -0
- package/dist/types/components/ai/ai-module.d.ts +139 -0
- package/dist/types/components/ai/assistant-presentation.d.ts +49 -0
- package/dist/types/components/ai/bubble.d.ts +31 -0
- package/dist/types/components/ai/feedback.d.ts +20 -0
- package/dist/types/components/ai/input-section.d.ts +16 -0
- package/dist/types/components/ai/markdown-rendered.d.ts +20 -0
- package/dist/types/components/ai/typing-bubble.d.ts +15 -0
- package/dist/types/components/ai/typing-sequence.d.ts +22 -0
- package/dist/types/components/alert-banner.d.ts +24 -0
- package/dist/types/components/avatar.d.ts +3 -0
- package/dist/types/components/comments.d.ts +30 -0
- package/dist/types/components/context-menu.d.ts +39 -0
- package/dist/types/components/divider.d.ts +3 -3
- package/dist/types/components/dropdown-filter.d.ts +58 -0
- package/dist/types/components/menubar.d.ts +0 -1
- 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/units.d.ts +1 -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 +3 -3
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { DefaultProps, PolymorphicComponentPropsWithRef } from '@sk-web-gui/utils';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface ButtonProps extends DefaultProps, React.ComponentPropsWithRef<'button'> {
|
|
4
|
+
loading?: boolean;
|
|
5
|
+
/** Makes button disabled */
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
/** Makes button active */
|
|
8
|
+
active?: boolean;
|
|
9
|
+
/** The label to show in the button when loading is true */
|
|
10
|
+
loadingText?: string;
|
|
11
|
+
/** Set the original html type of button */
|
|
12
|
+
/** Adds icon before button label */
|
|
13
|
+
leftIcon?: React.ReactElement;
|
|
14
|
+
/** Adds icon after button label */
|
|
15
|
+
rightIcon?: React.ReactElement;
|
|
16
|
+
/** Set the button color */
|
|
17
|
+
color?: 'info' | 'success' | 'primary' | 'warning' | 'error' | 'vattjom' | 'gronsta' | 'bjornstigen' | 'juniskar';
|
|
18
|
+
/** Size of the button */
|
|
19
|
+
size?: 'sm' | 'md' | 'lg';
|
|
20
|
+
/** Controls button appearance */
|
|
21
|
+
variant?: 'link' | 'primary' | 'secondary' | 'tertiary' | 'ghost';
|
|
22
|
+
/** React node */
|
|
23
|
+
children?: React.ReactNode;
|
|
24
|
+
/** Sets the button to the rounded variant */
|
|
25
|
+
rounded?: boolean;
|
|
26
|
+
/** Sets if inverted look */
|
|
27
|
+
inverted?: boolean;
|
|
28
|
+
/** Sets if this is an icon button */
|
|
29
|
+
iconButton?: boolean;
|
|
30
|
+
/** Make sure to use aria-describedby or such for accessibility */
|
|
31
|
+
'aria-disabled'?: React.ButtonHTMLAttributes<HTMLButtonElement>['aria-disabled'];
|
|
32
|
+
/**
|
|
33
|
+
* If the background of the button should be shown
|
|
34
|
+
* @default true
|
|
35
|
+
*/
|
|
36
|
+
showBackground?: boolean;
|
|
37
|
+
}
|
|
38
|
+
export interface ButtonContentProps {
|
|
39
|
+
loading?: ButtonProps['loading'];
|
|
40
|
+
loadingText?: ButtonProps['loadingText'];
|
|
41
|
+
leftIcon?: ButtonProps['leftIcon'];
|
|
42
|
+
rightIcon?: ButtonProps['rightIcon'];
|
|
43
|
+
children?: ButtonProps['children'];
|
|
44
|
+
size?: ButtonProps['size'];
|
|
45
|
+
}
|
|
46
|
+
export declare const ButtonContent: React.FC<ButtonContentProps>;
|
|
47
|
+
export type IButtonProps<C extends React.ElementType> = PolymorphicComponentPropsWithRef<C, ButtonProps>;
|
|
48
|
+
export declare const Button: React.ForwardRefExoticComponent<Omit<IButtonProps<React.ElementType<any, keyof React.JSX.IntrinsicElements>>, "ref"> & React.RefAttributes<unknown>>;
|
|
49
|
+
export default Button;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ButtonContent, Button as InternalButton, ButtonProps as InternalButtonProps } from './button';
|
|
3
|
+
import { ButtonGroup } from './button-group';
|
|
4
|
+
interface ButtonProps extends React.ForwardRefExoticComponent<InternalButtonProps> {
|
|
5
|
+
Component: typeof InternalButton;
|
|
6
|
+
Group: typeof ButtonGroup;
|
|
7
|
+
Content: typeof ButtonContent;
|
|
8
|
+
}
|
|
9
|
+
export declare const Button: ButtonProps;
|
|
10
|
+
export type { ButtonProps };
|
|
11
|
+
export default Button;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useButtonClass: (args?: any) => string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ButtonProps } from '../src';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, import("../src/button-group").ButtonGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Template: {
|
|
6
|
+
({ ...args }: ButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
storyName: string;
|
|
8
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ButtonProps } from '../src';
|
|
2
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, import("../src/button").ButtonProps>;
|
|
3
|
+
export default _default;
|
|
4
|
+
export declare const Template: {
|
|
5
|
+
({ children, ...args }: React.ComponentPropsWithRef<ButtonProps>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
storyName: string;
|
|
7
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { DefaultProps } from '@sk-web-gui/utils';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface CardProps extends DefaultProps, Omit<React.ComponentPropsWithRef<'div'>, 'color'> {
|
|
4
|
+
/** React node */
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
/** Set background color to card
|
|
7
|
+
* @default mono
|
|
8
|
+
*/
|
|
9
|
+
color?: 'mono' | 'tertiary' | 'vattjom' | 'gronsta' | 'bjornstigen' | 'juniskar';
|
|
10
|
+
/** Make the card inverted
|
|
11
|
+
* @default false
|
|
12
|
+
*/
|
|
13
|
+
invert?: boolean;
|
|
14
|
+
/** Change layout of card
|
|
15
|
+
* @default vertical
|
|
16
|
+
*/
|
|
17
|
+
layout?: 'vertical' | 'horizontal';
|
|
18
|
+
/** If the card should be clickable, will apply hover style
|
|
19
|
+
* @default false;
|
|
20
|
+
*/
|
|
21
|
+
useHoverEffect?: boolean;
|
|
22
|
+
/** Make the card linkable
|
|
23
|
+
*/
|
|
24
|
+
href?: string;
|
|
25
|
+
}
|
|
26
|
+
export declare const Card: React.ForwardRefExoticComponent<Omit<CardProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
27
|
+
export interface CardImageProps extends DefaultProps, React.ComponentPropsWithRef<'img'> {
|
|
28
|
+
/** React node */
|
|
29
|
+
children?: React.ReactNode;
|
|
30
|
+
/** The image `src` attribute */
|
|
31
|
+
src?: string;
|
|
32
|
+
/** The alt text for the image */
|
|
33
|
+
alt?: string;
|
|
34
|
+
/** Make the card inverted */
|
|
35
|
+
inverted?: string;
|
|
36
|
+
}
|
|
37
|
+
export declare const CardImage: React.ForwardRefExoticComponent<Omit<CardImageProps, "ref"> & React.RefAttributes<HTMLImageElement>>;
|
|
38
|
+
export interface CardBodyProps extends DefaultProps, Omit<React.ComponentPropsWithRef<'div'>, 'color'>, Pick<CardProps, 'color'> {
|
|
39
|
+
/** React node */
|
|
40
|
+
children?: React.ReactNode;
|
|
41
|
+
/** Make the card inverted */
|
|
42
|
+
inverted?: string;
|
|
43
|
+
}
|
|
44
|
+
export declare const CardBody: React.ForwardRefExoticComponent<Omit<CardBodyProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
45
|
+
export interface CardMetaProps extends DefaultProps, React.ComponentPropsWithRef<'div'> {
|
|
46
|
+
/** Insert date object and it will apply date and time to the card */
|
|
47
|
+
datetime?: Date;
|
|
48
|
+
}
|
|
49
|
+
export declare const CardMeta: React.ForwardRefExoticComponent<Omit<CardMetaProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
50
|
+
export interface CardHeaderProps extends DefaultProps, React.ComponentPropsWithRef<'div'> {
|
|
51
|
+
/** React node */
|
|
52
|
+
children?: React.ReactNode;
|
|
53
|
+
}
|
|
54
|
+
export declare const CardHeader: React.ForwardRefExoticComponent<Omit<CardHeaderProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
55
|
+
export interface CardTextProps extends DefaultProps, React.ComponentPropsWithRef<'div'> {
|
|
56
|
+
/** React node */
|
|
57
|
+
children?: React.ReactNode;
|
|
58
|
+
}
|
|
59
|
+
export declare const CardText: React.ForwardRefExoticComponent<Omit<CardTextProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
60
|
+
export default Card;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Card as InternalCard, CardProps as InternalCardProps, CardImage, CardBody, CardHeader, CardText, CardMeta } from './card';
|
|
3
|
+
import { MetaCard as InternalMetaCard, MetaCardProps as InternalMetaCardProps, MetaCardBody, MetaCardHeader, MetaCardText } from './meta-card';
|
|
4
|
+
interface CardProps extends React.ForwardRefExoticComponent<InternalCardProps> {
|
|
5
|
+
Component: typeof InternalCard;
|
|
6
|
+
Image: typeof CardImage;
|
|
7
|
+
Body: typeof CardBody;
|
|
8
|
+
Header: typeof CardHeader;
|
|
9
|
+
Text: typeof CardText;
|
|
10
|
+
Meta: typeof CardMeta;
|
|
11
|
+
}
|
|
12
|
+
interface MetaCardProps extends React.ForwardRefExoticComponent<InternalMetaCardProps> {
|
|
13
|
+
Component: typeof InternalMetaCard;
|
|
14
|
+
Body: typeof MetaCardBody;
|
|
15
|
+
Header: typeof MetaCardHeader;
|
|
16
|
+
Text: typeof MetaCardText;
|
|
17
|
+
}
|
|
18
|
+
export declare const Card: CardProps;
|
|
19
|
+
export declare const MetaCard: MetaCardProps;
|
|
20
|
+
export type { CardProps, MetaCardProps };
|
|
21
|
+
export default Card;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { DefaultProps } from '@sk-web-gui/utils';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
interface IMetaCardProps extends DefaultProps {
|
|
4
|
+
/** React node */
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
/** Set background color to card
|
|
7
|
+
* @default vattjom
|
|
8
|
+
*/
|
|
9
|
+
color?: 'mono' | 'vattjom';
|
|
10
|
+
/** If the card should be clickable, will apply hover style
|
|
11
|
+
* @default false;
|
|
12
|
+
*/
|
|
13
|
+
useHoverEffect?: boolean;
|
|
14
|
+
/** Make the card linkable
|
|
15
|
+
*/
|
|
16
|
+
href?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface MetaCardProps extends Omit<React.ComponentPropsWithRef<'div'>, 'color'>, IMetaCardProps {
|
|
19
|
+
}
|
|
20
|
+
export declare const MetaCard: React.ForwardRefExoticComponent<Omit<MetaCardProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
+
interface IMetaCardBodyProps extends DefaultProps {
|
|
22
|
+
/** React node */
|
|
23
|
+
children?: React.ReactNode;
|
|
24
|
+
}
|
|
25
|
+
export interface MetaCardBodyProps extends React.ComponentPropsWithRef<'div'>, IMetaCardBodyProps {
|
|
26
|
+
}
|
|
27
|
+
export declare const MetaCardBody: React.ForwardRefExoticComponent<Omit<MetaCardBodyProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
28
|
+
interface IMetaCardHeaderProps extends DefaultProps {
|
|
29
|
+
/** React node */
|
|
30
|
+
children?: React.ReactNode;
|
|
31
|
+
}
|
|
32
|
+
export interface MetaCardHeaderProps extends React.ComponentPropsWithRef<'div'>, IMetaCardHeaderProps {
|
|
33
|
+
}
|
|
34
|
+
export declare const MetaCardHeader: React.ForwardRefExoticComponent<Omit<MetaCardHeaderProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
35
|
+
interface IMetaCardTextProps extends DefaultProps {
|
|
36
|
+
/** React node */
|
|
37
|
+
children?: React.ReactNode;
|
|
38
|
+
}
|
|
39
|
+
export interface MetaCardTextProps extends React.ComponentPropsWithRef<'div'>, IMetaCardTextProps {
|
|
40
|
+
}
|
|
41
|
+
export declare const MetaCardText: React.ForwardRefExoticComponent<Omit<MetaCardTextProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
42
|
+
export default MetaCard;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { CardProps } from '../src';
|
|
2
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, import("../src/card").CardProps>;
|
|
3
|
+
export default _default;
|
|
4
|
+
export declare const Template: (args: CardProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { MetaCardProps } from '../src';
|
|
2
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, import("../src/meta-card").MetaCardProps>;
|
|
3
|
+
export default _default;
|
|
4
|
+
export declare const Template: (args: MetaCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface ChipProps extends React.ComponentPropsWithRef<'button'> {
|
|
3
|
+
strong?: boolean;
|
|
4
|
+
inverted?: boolean;
|
|
5
|
+
rounded?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const Chip: React.ForwardRefExoticComponent<Omit<ChipProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ChipProps } from '../src';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, Omit<ChipProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Template: {
|
|
6
|
+
(args: ChipProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
storyName: string;
|
|
8
|
+
};
|
|
9
|
+
export declare const AddAndRemove: {
|
|
10
|
+
(): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
storyName: string;
|
|
12
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
export declare const AIFeed: () => {
|
|
2
|
+
'.sk-ai-feed': {
|
|
3
|
+
'@apply h-auto max-h-full flex flex-col gap-32': {};
|
|
4
|
+
'&-entry': {
|
|
5
|
+
'@apply flex items-start gap-12': {};
|
|
6
|
+
'@apply w-full': {};
|
|
7
|
+
'&-avatar': {
|
|
8
|
+
'@apply grow-0 shrink-0 w-fit': {};
|
|
9
|
+
};
|
|
10
|
+
'&-container': {
|
|
11
|
+
'@apply flex flex-col pb-20 gap-20': {};
|
|
12
|
+
'@apply w-full': {};
|
|
13
|
+
};
|
|
14
|
+
'&-content': {
|
|
15
|
+
'@apply break-words max-w-full flex flex-col grow gap-4': {};
|
|
16
|
+
};
|
|
17
|
+
'&-heading': {
|
|
18
|
+
'@apply text-large font-bold': {};
|
|
19
|
+
'&[data-showtitle="false"]': {
|
|
20
|
+
'@apply w-0 h-0 opacity-0': {};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
'&-references': {
|
|
24
|
+
'@apply bg-background-200 rounded-button py-0 pl-20 pr-12 gap-8 text-dark-primary': {};
|
|
25
|
+
'&-header': {
|
|
26
|
+
'@apply text-dark-primary': {};
|
|
27
|
+
};
|
|
28
|
+
'&-list': {
|
|
29
|
+
'&-item': {
|
|
30
|
+
'@apply max-w-full w-full my-8 rounded-6 whitespace-normal text-base': {};
|
|
31
|
+
'.sk-link': {
|
|
32
|
+
'@apply dark:text-dark-primary': {};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
'&-live-wrapper': {
|
|
39
|
+
'@apply absolute w-1 h-1 -m-1 overflow-hidden whitespace-nowrap p-0 opacity-0': {};
|
|
40
|
+
};
|
|
41
|
+
'&[data-size="lg"]': {
|
|
42
|
+
'.sk-ai-feed-avatar, .sk-avatar': {
|
|
43
|
+
'@apply w-40 h-40': {};
|
|
44
|
+
};
|
|
45
|
+
'.sk-ai-feed-container': {
|
|
46
|
+
'@apply pb-32 gap-32': {};
|
|
47
|
+
'@apply w-full': {};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
'&[data-size="sm"]': {
|
|
51
|
+
'.sk-ai-feed-avatar, .sk-avatar': {
|
|
52
|
+
'@apply w-32 h-32': {};
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
};
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
export declare const AIModule: (colors: string[]) => {
|
|
2
|
+
'.sk-ai-module': {
|
|
3
|
+
'@apply fixed': {};
|
|
4
|
+
'@apply overflow-hidden': {};
|
|
5
|
+
'@apply flex flex-col gap-0 items-center justify-start': {};
|
|
6
|
+
'@apply shadow-200': {};
|
|
7
|
+
'@apply transition-all': {};
|
|
8
|
+
'@apply bottom-0 right-0': {};
|
|
9
|
+
'&-content': {
|
|
10
|
+
'@apply flex w-full gap-0 h-full justify-between': {};
|
|
11
|
+
'@apply overflow-hidden': {};
|
|
12
|
+
'&-row': {
|
|
13
|
+
'@apply flex flex-col': {};
|
|
14
|
+
};
|
|
15
|
+
'&-main': {
|
|
16
|
+
'@apply grow shrink max-h-full items-center': {};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
'&-sidebar': {
|
|
20
|
+
'@apply flex flex-col': {};
|
|
21
|
+
'@apply min-w-[22em]': {};
|
|
22
|
+
'@apply h-full': {};
|
|
23
|
+
'@apply overflow-hidden': {};
|
|
24
|
+
'@apply border-r-1 border-r-divider': {};
|
|
25
|
+
'@apply pt-20 px-0 gap-16': {};
|
|
26
|
+
'&-sessions': {
|
|
27
|
+
'@apply flex flex-col': {};
|
|
28
|
+
'@apply grow w-full': {};
|
|
29
|
+
'@apply overflow-y-auto': {};
|
|
30
|
+
'@apply px-24 pb-20 gap-16': {};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
'&-feed': {
|
|
34
|
+
'@apply flex flex-col grow': {};
|
|
35
|
+
'@apply px-16 pt-16 pb-24 gap-16': {};
|
|
36
|
+
'@apply w-full': {};
|
|
37
|
+
'@apply max-h-full overflow-y-auto': {};
|
|
38
|
+
'&-questions': {
|
|
39
|
+
'@apply flex flex-col gap-8 w-full': {};
|
|
40
|
+
'&-title': {
|
|
41
|
+
'@apply text-label-medium text-dark-primary': {};
|
|
42
|
+
};
|
|
43
|
+
'&-wrapper': {
|
|
44
|
+
'@apply flex flex-col gap-16 w-full': {};
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
'.sk-ai-inputsection': {
|
|
49
|
+
'@apply shrink-0': {};
|
|
50
|
+
};
|
|
51
|
+
'&[data-fullscreen="false"]': {
|
|
52
|
+
'@apply rounded-tl-groups': {};
|
|
53
|
+
'@apply max-w-[26em]': {};
|
|
54
|
+
'@apply w-[26em]': {};
|
|
55
|
+
'@apply max-h-[44em]': {};
|
|
56
|
+
'&[data-docked="false"]': {
|
|
57
|
+
'@apply h-full': {};
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
'.sk-ai-feed': {
|
|
61
|
+
'@apply w-full': {};
|
|
62
|
+
};
|
|
63
|
+
'&[data-fullscreen="true"]': {
|
|
64
|
+
'@apply w-full': {};
|
|
65
|
+
'.sk-ai-module-feed': {
|
|
66
|
+
'@apply gap-40 grow w-full items-center': {};
|
|
67
|
+
'.sk-ai-feed': {
|
|
68
|
+
'@apply text-base max-w-[50em]': {};
|
|
69
|
+
};
|
|
70
|
+
'&-questions': {
|
|
71
|
+
'@apply flex-row gap-16': {};
|
|
72
|
+
'&-wrapper': {
|
|
73
|
+
'@apply text-base max-w-[50em]': {};
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
'.sk-ai-inputsection': {
|
|
78
|
+
'@apply text-base max-w-[50em]': {};
|
|
79
|
+
'@apply pt-20 pb-32': {};
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
'&-header': {
|
|
83
|
+
'&[data-fullscreen="true"]': {
|
|
84
|
+
'@apply bg-background-content': {};
|
|
85
|
+
'@apply text-dark-primary': {};
|
|
86
|
+
'@apply px-20 pt-20 pb-12': {};
|
|
87
|
+
};
|
|
88
|
+
'@apply flex items-center justify-between': {};
|
|
89
|
+
'@apply w-full': {};
|
|
90
|
+
'@apply shrink-0': {};
|
|
91
|
+
'@apply px-14 py-16': {};
|
|
92
|
+
'@apply transition-all': {};
|
|
93
|
+
'@apply bg-inverted-background-content': {};
|
|
94
|
+
'@apply text-inverted-dark-primary': {};
|
|
95
|
+
'&[data-docked="true"]': {
|
|
96
|
+
'@apply px-12 pt-10 pb-12': {};
|
|
97
|
+
};
|
|
98
|
+
'&-title': {
|
|
99
|
+
'@apply flex justify-start items-center': {};
|
|
100
|
+
'@apply gap-12 pr-16': {};
|
|
101
|
+
};
|
|
102
|
+
'&-heading': {
|
|
103
|
+
'@apply flex flex-col gap-0': {};
|
|
104
|
+
'&-name': {
|
|
105
|
+
'@apply text-label-medium': {};
|
|
106
|
+
};
|
|
107
|
+
'&-subtitle': {
|
|
108
|
+
'@apply text-small text-inverted-dark-secondary': {};
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
'&-menu': {
|
|
112
|
+
'@apply flex justify-center items-center': {};
|
|
113
|
+
'@apply gap-12': {};
|
|
114
|
+
};
|
|
115
|
+
'&[data-variant="alt"]': {
|
|
116
|
+
'@apply pt-0 px-24': {};
|
|
117
|
+
'@apply bg-transparent': {};
|
|
118
|
+
'.sk-avatar': {
|
|
119
|
+
'@apply w-56 h-56': {};
|
|
120
|
+
};
|
|
121
|
+
'.sk-ai-module-header-heading-name': {
|
|
122
|
+
'@apply text-label-large text-dark-primary': {};
|
|
123
|
+
};
|
|
124
|
+
'.sk-ai-module-header-heading-subtitle': {
|
|
125
|
+
'@apply text-small text-dark-secondary': {};
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
'&-sessions': {
|
|
130
|
+
'@apply px-20': {};
|
|
131
|
+
'&-history': {
|
|
132
|
+
'@apply flex flex-col p-8 gap-16': {};
|
|
133
|
+
'&-list': {
|
|
134
|
+
'@apply flex flex-col p-0 gap-8': {};
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export declare const AssistantPresentation: () => {
|
|
2
|
+
'.sk-ai-assistant-presentation': {
|
|
3
|
+
'@apply flex flex-col gap-16 items-center justify-center': {};
|
|
4
|
+
'@apply text-base': {};
|
|
5
|
+
'@apply h-full grow': {};
|
|
6
|
+
'&-header': {
|
|
7
|
+
'@apply flex flex-col items-center justify-start': {};
|
|
8
|
+
'&-title': {
|
|
9
|
+
'@apply text-dark-primary text-center w-full': {};
|
|
10
|
+
};
|
|
11
|
+
'&-description': {
|
|
12
|
+
'@apply text-dark-secondary text-center w-full': {};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
'&[data-size="lg"]': {
|
|
16
|
+
'@apply min-h-[25.5em]': {};
|
|
17
|
+
'@apply p-24': {};
|
|
18
|
+
'@apply max-w-[27em]': {};
|
|
19
|
+
'.sk-avatar': {
|
|
20
|
+
'@apply w-90-1 h-90-1': {};
|
|
21
|
+
'@apply max-w-90-1 max-h-90-1': {};
|
|
22
|
+
};
|
|
23
|
+
'.sk-ai-assistant-presentation-header': {
|
|
24
|
+
'@apply gap-6 pb-24': {};
|
|
25
|
+
'&-title': {
|
|
26
|
+
'@apply text-h3-lg': {};
|
|
27
|
+
};
|
|
28
|
+
'&-description': {
|
|
29
|
+
'@apply text-lead': {};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
'&[data-size="sm"]': {
|
|
34
|
+
'.sk-avatar': {
|
|
35
|
+
'@apply w-72 h-72': {};
|
|
36
|
+
'@apply max-w-72 max-h-72': {};
|
|
37
|
+
};
|
|
38
|
+
'.sk-ai-assistant-presentation-header': {
|
|
39
|
+
'@apply gap-4 pb-16': {};
|
|
40
|
+
'&-title': {
|
|
41
|
+
'@apply text-h3-md': {};
|
|
42
|
+
};
|
|
43
|
+
'&-description': {
|
|
44
|
+
'@apply text-small': {};
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const Bubble: (colors: string[]) => {
|
|
2
|
+
'.sk-ai-bubble': {
|
|
3
|
+
'&-tail': {
|
|
4
|
+
'@apply text-base': {};
|
|
5
|
+
'@apply absolute left-0 bottom-[-1.25em]': {};
|
|
6
|
+
'@apply w-32 h-32': {};
|
|
7
|
+
'@apply rounded-tl-16 rounded-bl-0': {};
|
|
8
|
+
'@apply bg-transparent': {};
|
|
9
|
+
'@apply shadow-[0_-1em_0_0_var(--tw-shadow-color)]': {};
|
|
10
|
+
'@apply scale-y-[25%]': {};
|
|
11
|
+
'&:before': {
|
|
12
|
+
'@apply content-[""]': {};
|
|
13
|
+
'@apply absolute left-0 bottom-[-0.15625em]': {};
|
|
14
|
+
'@apply w-32 h-32': {};
|
|
15
|
+
'@apply rounded-tl-16 rounded-bl-0': {};
|
|
16
|
+
'@apply bg-transparent': {};
|
|
17
|
+
'@apply shadow-[0_-0.15625em_0_0_rgb(0,0,0,0.2)]': {};
|
|
18
|
+
'clip-path': string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
'@apply inline-flex text-left items-center justify-start': {};
|
|
22
|
+
'@apply w-fit': {};
|
|
23
|
+
'@apply relative': {};
|
|
24
|
+
'@apply rounded-t-button rounded-br-button': {};
|
|
25
|
+
'@apply pt-10 pr-12 pb-10 pl-14': {};
|
|
26
|
+
'@apply gap-16': {};
|
|
27
|
+
'@apply shadow-[0_1px_0_0_rgba(0,0,0,0.2)]': {};
|
|
28
|
+
'@apply text-small': {};
|
|
29
|
+
'@apply text-dark-secondary': {};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare const Feedback: () => {
|
|
2
|
+
'.sk-ai-feedback': {
|
|
3
|
+
'@apply ml-24 flex gap-24 justify-start mb-16': {};
|
|
4
|
+
'@apply max-w-full': {};
|
|
5
|
+
'&-button': {
|
|
6
|
+
'&[data-current="true"]': {
|
|
7
|
+
'@apply bg-tertiary-surface-hover': {};
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
'&-more': {
|
|
11
|
+
'@apply flex flex-col gap-8 px-14 pt-8 pb-12 bg-background-color-mixin-1 text-dark-primary rounded-button': {};
|
|
12
|
+
'&-header': {
|
|
13
|
+
'@apply flex flex-row items-center justify-between text-label-small': {};
|
|
14
|
+
};
|
|
15
|
+
'&-reason': {
|
|
16
|
+
'@apply flex flex-row items-center gap-8 justify-start flex-wrap': {};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const InputSection: () => {
|
|
2
|
+
'.sk-ai-inputsection': {
|
|
3
|
+
'@apply w-full': {};
|
|
4
|
+
'&-input': {
|
|
5
|
+
'@apply w-full': {};
|
|
6
|
+
};
|
|
7
|
+
'&-wrapper': {
|
|
8
|
+
'@apply bg-background-content': {};
|
|
9
|
+
'@apply flex items-center justify-center w-full': {};
|
|
10
|
+
'@apply px-16 py-12 gap-12': {};
|
|
11
|
+
'&[data-shadow="true"]': {
|
|
12
|
+
'@apply shadow-100': {};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare const MarkdownRendered: () => {
|
|
2
|
+
'.sk-ai-markdown': {
|
|
3
|
+
'@apply flex flex-col gap-32': {};
|
|
4
|
+
'&-p': {
|
|
5
|
+
'@apply mb-0 my-0': {};
|
|
6
|
+
};
|
|
7
|
+
'&-a': {
|
|
8
|
+
'@apply my-8': {};
|
|
9
|
+
};
|
|
10
|
+
'&-ol': {
|
|
11
|
+
'@apply list-decimal ml-24 my-0': {};
|
|
12
|
+
};
|
|
13
|
+
'&-ul': {
|
|
14
|
+
'@apply list-disc ml-24 my-0': {};
|
|
15
|
+
};
|
|
16
|
+
'&-li': {
|
|
17
|
+
'@apply my-16': {};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const TypingBubble: () => {
|
|
2
|
+
'.sk-ai-typing-bubble': {
|
|
3
|
+
'@apply inline-flex items-center justify-center': {};
|
|
4
|
+
'@apply p-12 gap-8 w-min': {};
|
|
5
|
+
'@apply bg-tertiary-surface': {};
|
|
6
|
+
'@apply text-dark-secondary': {};
|
|
7
|
+
'@apply rounded-button': {};
|
|
8
|
+
'&[data-position="left"]': {
|
|
9
|
+
'@apply rounded-br-0': {};
|
|
10
|
+
};
|
|
11
|
+
'&[data-position="right"]': {
|
|
12
|
+
'@apply rounded-bl-0': {};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const TypingSequence: (colors: string[]) => {
|
|
2
|
+
'.sk-ai-typing-sequence': {
|
|
3
|
+
'@apply bg-transparent': {};
|
|
4
|
+
'@apply inline-flex': {};
|
|
5
|
+
'@apply h-[0.5rem] w-fit gap-6': {};
|
|
6
|
+
'&-dot': {
|
|
7
|
+
'@apply rounded-full': {};
|
|
8
|
+
'@apply block': {};
|
|
9
|
+
'@apply w-[0.5rem] h-[0.5rem]': {};
|
|
10
|
+
'@apply bg-dark-secondary': {};
|
|
11
|
+
'&[data-order="1"]': {
|
|
12
|
+
'@apply animate-typing-bounce-1': {};
|
|
13
|
+
};
|
|
14
|
+
'&[data-order="2"]': {
|
|
15
|
+
'@apply animate-typing-bounce-2': {};
|
|
16
|
+
};
|
|
17
|
+
'&[data-order="3"]': {
|
|
18
|
+
'@apply animate-typing-bounce-3': {};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|