@sk-web-gui/core 3.7.0 → 3.8.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/components/ai/ai-service-module.js +52 -8
- package/dist/cjs/components/ai/ai-service-module.js.map +1 -1
- package/dist/cjs/components/ai/bubble.js +29 -4
- package/dist/cjs/components/ai/bubble.js.map +1 -1
- package/dist/cjs/components/callout.js +40 -0
- package/dist/cjs/components/callout.js.map +1 -0
- package/dist/cjs/components.js +3 -0
- package/dist/cjs/components.js.map +1 -1
- package/dist/esm/components/ai/ai-service-module.js +56 -8
- package/dist/esm/components/ai/ai-service-module.js.map +1 -1
- package/dist/esm/components/ai/bubble.js +43 -2
- package/dist/esm/components/ai/bubble.js.map +1 -1
- package/dist/esm/components/callout.js +36 -0
- package/dist/esm/components/callout.js.map +1 -0
- package/dist/esm/components.js +3 -0
- package/dist/esm/components.js.map +1 -1
- package/dist/types/components/ai/ai-service-module.d.ts +48 -7
- package/dist/types/components/ai/bubble.d.ts +31 -1
- package/dist/types/components/callout.d.ts +21 -0
- package/package.json +2 -2
- package/dist/cjs/components/ai/ai-module.js +0 -253
- package/dist/cjs/components/ai/ai-module.js.map +0 -1
- package/dist/cjs/components/alert-banner.js +0 -26
- package/dist/cjs/components/alert-banner.js.map +0 -1
- package/dist/cjs/components/alert.js +0 -57
- package/dist/cjs/components/alert.js.map +0 -1
- package/dist/cjs/components/comments.js +0 -32
- package/dist/cjs/components/comments.js.map +0 -1
- package/dist/cjs/components/context-menu.js +0 -41
- package/dist/cjs/components/context-menu.js.map +0 -1
- package/dist/cjs/components/dropdown-filter.js +0 -60
- package/dist/cjs/components/dropdown-filter.js.map +0 -1
- package/dist/cjs/components/notification.js +0 -51
- package/dist/cjs/components/notification.js.map +0 -1
- package/dist/cjs/components/rich-text-editor.js +0 -233
- package/dist/cjs/components/rich-text-editor.js.map +0 -1
- package/dist/cjs/components/side-menu.js +0 -221
- package/dist/cjs/components/side-menu.js.map +0 -1
- package/dist/cjs/components/tab-menu.js +0 -59
- package/dist/cjs/components/tab-menu.js.map +0 -1
- package/dist/cjs/components/table-autotable.js +0 -229
- package/dist/cjs/components/table-autotable.js.map +0 -1
- package/dist/cjs/components/zebratable.js +0 -141
- package/dist/cjs/components/zebratable.js.map +0 -1
- package/dist/esm/components/ai/ai-module.js +0 -248
- package/dist/esm/components/ai/ai-module.js.map +0 -1
- package/dist/esm/components/alert-banner.js +0 -24
- package/dist/esm/components/alert-banner.js.map +0 -1
- package/dist/esm/components/alert.js +0 -55
- package/dist/esm/components/alert.js.map +0 -1
- package/dist/esm/components/comments.js +0 -30
- package/dist/esm/components/comments.js.map +0 -1
- package/dist/esm/components/context-menu.js +0 -39
- package/dist/esm/components/context-menu.js.map +0 -1
- package/dist/esm/components/dropdown-filter.js +0 -58
- package/dist/esm/components/dropdown-filter.js.map +0 -1
- package/dist/esm/components/notification.js +0 -49
- package/dist/esm/components/notification.js.map +0 -1
- package/dist/esm/components/rich-text-editor.js +0 -227
- package/dist/esm/components/rich-text-editor.js.map +0 -1
- package/dist/esm/components/side-menu.js +0 -219
- package/dist/esm/components/side-menu.js.map +0 -1
- package/dist/esm/components/tab-menu.js +0 -57
- package/dist/esm/components/tab-menu.js.map +0 -1
- package/dist/esm/components/table-autotable.js +0 -223
- package/dist/esm/components/table-autotable.js.map +0 -1
- package/dist/esm/components/zebratable.js +0 -135
- package/dist/esm/components/zebratable.js.map +0 -1
- package/dist/types/accordion/src/accordion/accordion-item.d.ts +0 -8
- package/dist/types/accordion/src/accordion/accordion.d.ts +0 -25
- package/dist/types/accordion/src/accordion/index.d.ts +0 -10
- package/dist/types/accordion/src/disclosure/disclosure.d.ts +0 -53
- package/dist/types/accordion/src/disclosure/index.d.ts +0 -4
- package/dist/types/accordion/src/disclosure/styles.d.ts +0 -1
- package/dist/types/accordion/src/index.d.ts +0 -4
- package/dist/types/accordion/stories/accordion.stories.d.ts +0 -8
- package/dist/types/accordion/stories/disclosure.stories.d.ts +0 -9
- package/dist/types/avatar/index.d.ts +0 -2
- package/dist/types/avatar/src/avatar.d.ts +0 -17
- package/dist/types/avatar/src/index.d.ts +0 -8
- package/dist/types/avatar/stories/avatar.stories.d.ts +0 -8
- package/dist/types/badge/index.d.ts +0 -2
- package/dist/types/badge/src/badge.d.ts +0 -12
- package/dist/types/badge/src/index.d.ts +0 -8
- package/dist/types/badge/stories/badge.stories.d.ts +0 -8
- package/dist/types/breadcrumb/src/breadcrumb.d.ts +0 -41
- package/dist/types/breadcrumb/src/index.d.ts +0 -11
- package/dist/types/breadcrumb/stories/breadcrumb.stories.d.ts +0 -7
- package/dist/types/button/src/button-group.d.ts +0 -15
- package/dist/types/button/src/button.d.ts +0 -49
- package/dist/types/button/src/index.d.ts +0 -11
- package/dist/types/button/src/styles.d.ts +0 -1
- package/dist/types/button/stories/announcement.d.ts +0 -5
- package/dist/types/button/stories/button-group.stories.d.ts +0 -8
- package/dist/types/button/stories/button.stories.d.ts +0 -7
- package/dist/types/card/src/card.d.ts +0 -60
- package/dist/types/card/src/index.d.ts +0 -21
- package/dist/types/card/src/meta-card.d.ts +0 -42
- package/dist/types/card/stories/card.stories.d.ts +0 -4
- package/dist/types/card/stories/meta-card.stories.d.ts +0 -4
- package/dist/types/chip/index.d.ts +0 -2
- package/dist/types/chip/src/chip.d.ts +0 -7
- package/dist/types/chip/src/index.d.ts +0 -4
- package/dist/types/chip/stories/chip.stories.d.ts +0 -12
- package/dist/types/components/ai/ai-module.d.ts +0 -241
- package/dist/types/components/alert-banner.d.ts +0 -24
- package/dist/types/components/alert.d.ts +0 -21
- package/dist/types/components/comments.d.ts +0 -30
- package/dist/types/components/context-menu.d.ts +0 -39
- package/dist/types/components/dropdown-filter.d.ts +0 -58
- package/dist/types/components/notification.d.ts +0 -48
- package/dist/types/components/rich-text-editor.d.ts +0 -226
- package/dist/types/components/side-menu.d.ts +0 -219
- package/dist/types/components/tab-menu.d.ts +0 -57
- package/dist/types/components/table-autotable.d.ts +0 -222
- package/dist/types/components/zebratable.d.ts +0 -134
- package/dist/types/cookie-consent/src/cookie-consent.d.ts +0 -32
- package/dist/types/cookie-consent/src/index.d.ts +0 -15
- package/dist/types/cookie-consent/stories/cookie-consent.stories.d.ts +0 -7
- package/dist/types/core/src/aria-plugin.d.ts +0 -4
- package/dist/types/core/src/base.d.ts +0 -53
- package/dist/types/core/src/colors.d.ts +0 -643
- package/dist/types/core/src/components/accordion.d.ts +0 -174
- package/dist/types/core/src/components/alert.d.ts +0 -21
- package/dist/types/core/src/components/avatar.d.ts +0 -26
- package/dist/types/core/src/components/badge.d.ts +0 -21
- package/dist/types/core/src/components/breadcrumb.d.ts +0 -28
- package/dist/types/core/src/components/button-group.d.ts +0 -25
- package/dist/types/core/src/components/button.d.ts +0 -195
- package/dist/types/core/src/components/card.d.ts +0 -135
- package/dist/types/core/src/components/checkbox.d.ts +0 -108
- package/dist/types/core/src/components/chip.d.ts +0 -37
- package/dist/types/core/src/components/code.d.ts +0 -8
- package/dist/types/core/src/components/combobox.d.ts +0 -72
- package/dist/types/core/src/components/cookie-consent.d.ts +0 -35
- package/dist/types/core/src/components/dialog.d.ts +0 -5
- package/dist/types/core/src/components/divider.d.ts +0 -50
- package/dist/types/core/src/components/dot.d.ts +0 -43
- package/dist/types/core/src/components/filter.d.ts +0 -14
- package/dist/types/core/src/components/footer.d.ts +0 -27
- package/dist/types/core/src/components/forms.d.ts +0 -24
- package/dist/types/core/src/components/header.d.ts +0 -28
- package/dist/types/core/src/components/icon.d.ts +0 -38
- package/dist/types/core/src/components/input.d.ts +0 -214
- package/dist/types/core/src/components/kbd.d.ts +0 -7
- package/dist/types/core/src/components/label.d.ts +0 -27
- package/dist/types/core/src/components/link.d.ts +0 -43
- package/dist/types/core/src/components/list.d.ts +0 -52
- package/dist/types/core/src/components/logo.d.ts +0 -48
- package/dist/types/core/src/components/menu-vertical.d.ts +0 -198
- package/dist/types/core/src/components/menubar.d.ts +0 -35
- package/dist/types/core/src/components/modal.d.ts +0 -45
- package/dist/types/core/src/components/pagination.d.ts +0 -101
- package/dist/types/core/src/components/popup-menu.d.ts +0 -138
- package/dist/types/core/src/components/progress-bar.d.ts +0 -13
- package/dist/types/core/src/components/progress-stepper.d.ts +0 -60
- package/dist/types/core/src/components/radio.d.ts +0 -125
- package/dist/types/core/src/components/search-field.d.ts +0 -34
- package/dist/types/core/src/components/select.d.ts +0 -141
- package/dist/types/core/src/components/snackbar.d.ts +0 -30
- package/dist/types/core/src/components/spinner.d.ts +0 -13
- package/dist/types/core/src/components/switch.d.ts +0 -64
- package/dist/types/core/src/components/table-autotable.d.ts +0 -222
- package/dist/types/core/src/components/table.d.ts +0 -11
- package/dist/types/core/src/components/tabs.d.ts +0 -14
- package/dist/types/core/src/components/tooltip.d.ts +0 -53
- package/dist/types/core/src/components/user-menu.d.ts +0 -14
- package/dist/types/core/src/data-plugin.d.ts +0 -4
- package/dist/types/core/src/index.d.ts +0 -6
- package/dist/types/core/src/plugin.d.ts +0 -12
- package/dist/types/core/src/preset.d.ts +0 -18
- package/dist/types/core/src/theme.d.ts +0 -4
- package/dist/types/core/src/units.d.ts +0 -287
- package/dist/types/core/src/with-opacity.d.ts +0 -4
- package/dist/types/divider/index.d.ts +0 -2
- package/dist/types/divider/src/divider-section.d.ts +0 -12
- package/dist/types/divider/src/divider.d.ts +0 -8
- package/dist/types/divider/src/index.d.ts +0 -10
- package/dist/types/divider/src/styles.d.ts +0 -1
- package/dist/types/divider/stories/divider-section.stories.d.ts +0 -8
- package/dist/types/divider/stories/divider.stories.d.ts +0 -8
- package/dist/types/filter/src/filter-item.d.ts +0 -7
- package/dist/types/filter/src/filter-label.d.ts +0 -7
- package/dist/types/filter/src/filter.d.ts +0 -6
- package/dist/types/filter/src/index.d.ts +0 -12
- package/dist/types/filter/stories/filter.stories.d.ts +0 -7
- package/dist/types/forms/index.d.ts +0 -2
- package/dist/types/forms/src/checkbox/checkbox-group.d.ts +0 -46
- package/dist/types/forms/src/checkbox/checkbox.d.ts +0 -39
- package/dist/types/forms/src/checkbox/index.d.ts +0 -10
- package/dist/types/forms/src/checkbox/styles.d.ts +0 -2
- package/dist/types/forms/src/combobox/combobox-context.d.ts +0 -42
- package/dist/types/forms/src/combobox/combobox-input.d.ts +0 -44
- package/dist/types/forms/src/combobox/combobox-list.d.ts +0 -8
- package/dist/types/forms/src/combobox/combobox-option.d.ts +0 -11
- package/dist/types/forms/src/combobox/combobox.d.ts +0 -6
- package/dist/types/forms/src/combobox/index.d.ts +0 -15
- package/dist/types/forms/src/combobox/styles.d.ts +0 -1
- package/dist/types/forms/src/date-picker/date-picker.d.ts +0 -7
- package/dist/types/forms/src/date-picker/index.d.ts +0 -8
- package/dist/types/forms/src/form-control/index.d.ts +0 -40
- package/dist/types/forms/src/form-error-message/index.d.ts +0 -8
- package/dist/types/forms/src/form-helper-text/index.d.ts +0 -8
- package/dist/types/forms/src/form-label/index.d.ts +0 -20
- package/dist/types/forms/src/index.d.ts +0 -26
- package/dist/types/forms/src/input/index.d.ts +0 -13
- package/dist/types/forms/src/input/input.d.ts +0 -26
- package/dist/types/forms/src/input/styles.d.ts +0 -1
- package/dist/types/forms/src/input-addin/index.d.ts +0 -12
- package/dist/types/forms/src/input-group/index.d.ts +0 -11
- package/dist/types/forms/src/input-group/styles.d.ts +0 -1
- package/dist/types/forms/src/radio/index.d.ts +0 -10
- package/dist/types/forms/src/radio/radio-group.d.ts +0 -48
- package/dist/types/forms/src/radio/radio.d.ts +0 -32
- package/dist/types/forms/src/radio/styles.d.ts +0 -3
- package/dist/types/forms/src/select/index.d.ts +0 -18
- package/dist/types/forms/src/select/styles.d.ts +0 -1
- package/dist/types/forms/src/switch/index.d.ts +0 -8
- package/dist/types/forms/src/switch/switchcomponent.d.ts +0 -9
- package/dist/types/forms/src/text-field/index.d.ts +0 -8
- package/dist/types/forms/src/text-field/text-field.d.ts +0 -6
- package/dist/types/forms/src/textarea/index.d.ts +0 -12
- package/dist/types/forms/stories/check.d.ts +0 -5
- package/dist/types/forms/stories/checkbox-group.stories.d.ts +0 -11
- package/dist/types/forms/stories/checkbox.stories.d.ts +0 -8
- package/dist/types/forms/stories/combobox.stories.d.ts +0 -19
- package/dist/types/forms/stories/date-picker.stories.d.ts +0 -21
- package/dist/types/forms/stories/form-control.stories.d.ts +0 -10
- package/dist/types/forms/stories/input.stories.d.ts +0 -21
- package/dist/types/forms/stories/radio-group.stories.d.ts +0 -11
- package/dist/types/forms/stories/radio.stories.d.ts +0 -14
- package/dist/types/forms/stories/select.stories.d.ts +0 -10
- package/dist/types/forms/stories/switch.stories.d.ts +0 -8
- package/dist/types/forms/stories/text-field.stories.d.ts +0 -18
- package/dist/types/forms/stories/textarea.stories.d.ts +0 -42
- package/dist/types/icon/index.d.ts +0 -2
- package/dist/types/icon/src/icon-padded.d.ts +0 -4
- package/dist/types/icon/src/icon.d.ts +0 -20
- package/dist/types/icon/src/index.d.ts +0 -10
- package/dist/types/icon/stories/icon-padded.stories.d.ts +0 -8
- package/dist/types/icon/stories/icon.stories.d.ts +0 -8
- package/dist/types/image/index.d.ts +0 -2
- package/dist/types/image/src/image.d.ts +0 -28
- package/dist/types/image/src/index.d.ts +0 -4
- package/dist/types/image/src/use-image.d.ts +0 -52
- package/dist/types/image/stories/image.stories.d.ts +0 -8
- package/dist/types/label/index.d.ts +0 -2
- package/dist/types/label/src/index.d.ts +0 -8
- package/dist/types/label/src/label.d.ts +0 -8
- package/dist/types/label/stories/label.stories.d.ts +0 -8
- package/dist/types/layout/src/footer/footer-list-item.d.ts +0 -4
- package/dist/types/layout/src/footer/footer-list.d.ts +0 -4
- package/dist/types/layout/src/footer/footer.d.ts +0 -6
- package/dist/types/layout/src/footer/index.d.ts +0 -14
- package/dist/types/layout/src/header/header.d.ts +0 -17
- package/dist/types/layout/src/header/index.d.ts +0 -8
- package/dist/types/layout/src/index.d.ts +0 -4
- package/dist/types/layout/stories/footer.stories.d.ts +0 -7
- package/dist/types/layout/stories/header.stories.d.ts +0 -5
- package/dist/types/link/index.d.ts +0 -2
- package/dist/types/link/src/index.d.ts +0 -12
- package/dist/types/link/src/link.d.ts +0 -21
- package/dist/types/link/src/styles.d.ts +0 -1
- package/dist/types/link/stories/link.stories.d.ts +0 -12
- package/dist/types/list/src/index.d.ts +0 -12
- package/dist/types/list/src/list.d.ts +0 -28
- package/dist/types/list/stories/list.stories.d.ts +0 -7
- package/dist/types/logo/src/assets/index.d.ts +0 -2
- package/dist/types/logo/src/assets/logo-svg.d.ts +0 -2
- package/dist/types/logo/src/assets/symbol-svg.d.ts +0 -2
- package/dist/types/logo/src/index.d.ts +0 -4
- package/dist/types/logo/src/logo.d.ts +0 -38
- package/dist/types/logo/stories/logo.stories.d.ts +0 -8
- package/dist/types/menu-vertical/src/index.d.ts +0 -25
- package/dist/types/menu-vertical/src/menu-vertical-backbutton.d.ts +0 -9
- package/dist/types/menu-vertical/src/menu-vertical-context.d.ts +0 -62
- package/dist/types/menu-vertical/src/menu-vertical-header.d.ts +0 -9
- package/dist/types/menu-vertical/src/menu-vertical-item.d.ts +0 -26
- package/dist/types/menu-vertical/src/menu-vertical-label.d.ts +0 -7
- package/dist/types/menu-vertical/src/menu-vertical-nav.d.ts +0 -9
- package/dist/types/menu-vertical/src/menu-vertical-sidebar.d.ts +0 -9
- package/dist/types/menu-vertical/src/menu-vertical-submenu-button.d.ts +0 -25
- package/dist/types/menu-vertical/src/menu-vertical-tool-item.d.ts +0 -9
- package/dist/types/menu-vertical/src/menu-vertical.d.ts +0 -14
- package/dist/types/menu-vertical/stories/menu-vertical-sidebar.stories.d.ts +0 -8
- package/dist/types/menu-vertical/stories/menu-vertical.stories.d.ts +0 -8
- package/dist/types/menubar/index.d.ts +0 -2
- package/dist/types/menubar/src/index.d.ts +0 -11
- package/dist/types/menubar/src/menubar-item.d.ts +0 -15
- package/dist/types/menubar/src/menubar.d.ts +0 -18
- package/dist/types/menubar/stories/menubar.stories.d.ts +0 -7
- package/dist/types/modal/src/confirm/confirm.d.ts +0 -17
- package/dist/types/modal/src/confirm/index.d.ts +0 -1
- package/dist/types/modal/src/dialog/dialog-buttons.d.ts +0 -6
- package/dist/types/modal/src/dialog/dialog-content.d.ts +0 -6
- package/dist/types/modal/src/dialog/dialog.d.ts +0 -7
- package/dist/types/modal/src/dialog/index.d.ts +0 -12
- package/dist/types/modal/src/index.d.ts +0 -6
- package/dist/types/modal/src/modal/index.d.ts +0 -13
- package/dist/types/modal/src/modal/modal-content.d.ts +0 -5
- package/dist/types/modal/src/modal/modal-footer.d.ts +0 -5
- package/dist/types/modal/src/modal/modal.d.ts +0 -27
- package/dist/types/modal/stories/confirm.stories.d.ts +0 -10
- package/dist/types/modal/stories/dialog.stories.d.ts +0 -6
- package/dist/types/modal/stories/modal.stories.d.ts +0 -7
- package/dist/types/pagination/src/index.d.ts +0 -8
- package/dist/types/pagination/src/pagination.d.ts +0 -19
- package/dist/types/pagination/src/styles.d.ts +0 -1
- package/dist/types/pagination/stories/pagination.stories.d.ts +0 -8
- package/dist/types/popup-menu/src/index.d.ts +0 -18
- package/dist/types/popup-menu/src/popup-menu-button.d.ts +0 -2
- package/dist/types/popup-menu/src/popup-menu-group.d.ts +0 -5
- package/dist/types/popup-menu/src/popup-menu-item.d.ts +0 -11
- package/dist/types/popup-menu/src/popup-menu-items.d.ts +0 -20
- package/dist/types/popup-menu/src/popup-menu-panel.d.ts +0 -6
- package/dist/types/popup-menu/src/popup-menu.d.ts +0 -53
- package/dist/types/popup-menu/src/popupmenu-context.d.ts +0 -18
- package/dist/types/popup-menu/src/styles.d.ts +0 -1
- package/dist/types/popup-menu/stories/popup-menu.stories.d.ts +0 -9
- package/dist/types/progress-bar/index.d.ts +0 -2
- package/dist/types/progress-bar/src/index.d.ts +0 -8
- package/dist/types/progress-bar/src/progress-bar.d.ts +0 -18
- package/dist/types/progress-bar/src/styles.d.ts +0 -0
- package/dist/types/progress-bar/stories/progress-bar.stories.d.ts +0 -8
- package/dist/types/progress-stepper/src/index.d.ts +0 -8
- package/dist/types/progress-stepper/src/progress-step.d.ts +0 -13
- package/dist/types/progress-stepper/src/progress-stepper.d.ts +0 -12
- package/dist/types/progress-stepper/stories/progress-stepper.stories.d.ts +0 -8
- package/dist/types/react/src/index.d.ts +0 -70
- package/dist/types/searchfield/src/index.d.ts +0 -18
- package/dist/types/searchfield/src/searchfield-suggestions-input.d.ts +0 -9
- package/dist/types/searchfield/src/searchfield-suggestions-list.d.ts +0 -5
- package/dist/types/searchfield/src/searchfield-suggestions-option.d.ts +0 -5
- package/dist/types/searchfield/src/searchfield-suggestions.d.ts +0 -5
- package/dist/types/searchfield/src/searchfield.d.ts +0 -27
- package/dist/types/searchfield/stories/searchfield-suggestions.stories.d.ts +0 -8
- package/dist/types/searchfield/stories/searchfield.stories.d.ts +0 -6
- package/dist/types/snackbar/src/index.d.ts +0 -8
- package/dist/types/snackbar/src/snackbar.d.ts +0 -11
- package/dist/types/snackbar/stories/snackbar.stories.d.ts +0 -8
- package/dist/types/spinner/index.d.ts +0 -2
- package/dist/types/spinner/src/assets/spinner-square.d.ts +0 -265
- package/dist/types/spinner/src/index.d.ts +0 -4
- package/dist/types/spinner/src/spinner.d.ts +0 -14
- package/dist/types/spinner/stories/spinner.stories.d.ts +0 -8
- package/dist/types/table/src/auto-table.d.ts +0 -48
- package/dist/types/table/src/index.d.ts +0 -24
- package/dist/types/table/src/table-body.d.ts +0 -2
- package/dist/types/table/src/table-footer.d.ts +0 -2
- package/dist/types/table/src/table-header-column.d.ts +0 -6
- package/dist/types/table/src/table-header.d.ts +0 -6
- package/dist/types/table/src/table-row-column.d.ts +0 -6
- package/dist/types/table/src/table-row.d.ts +0 -2
- package/dist/types/table/src/table-sort-button.d.ts +0 -8
- package/dist/types/table/src/table.d.ts +0 -9
- package/dist/types/table/stories/autotable.stories.d.ts +0 -10
- package/dist/types/table/stories/table.stories.d.ts +0 -11
- package/dist/types/tabs/src/index.d.ts +0 -15
- package/dist/types/tabs/src/tabs-button.d.ts +0 -7
- package/dist/types/tabs/src/tabs-content.d.ts +0 -6
- package/dist/types/tabs/src/tabs-context.d.ts +0 -8
- package/dist/types/tabs/src/tabs-item.d.ts +0 -6
- package/dist/types/tabs/src/tabs.d.ts +0 -11
- package/dist/types/tabs/stories/tabs.stories.d.ts +0 -12
- package/dist/types/text/src/index.d.ts +0 -8
- package/dist/types/text/src/text.d.ts +0 -10
- package/dist/types/text/stories/text.stories.d.ts +0 -7
- package/dist/types/theme/index.d.ts +0 -2
- package/dist/types/theme/src/colors.d.ts +0 -1410
- package/dist/types/theme/src/create-memo-class.d.ts +0 -1
- package/dist/types/theme/src/create-theme-vars/calc.d.ts +0 -19
- package/dist/types/theme/src/create-theme-vars/create-theme-vars.d.ts +0 -9
- package/dist/types/theme/src/create-theme-vars/css-var.d.ts +0 -7
- package/dist/types/theme/src/create-theme-vars/index.d.ts +0 -4
- package/dist/types/theme/src/create-theme-vars/theme-tokens.d.ts +0 -8
- package/dist/types/theme/src/create-theme-vars/to-css-var.d.ts +0 -2
- package/dist/types/theme/src/default-theme.d.ts +0 -4
- package/dist/types/theme/src/gui-provider.d.ts +0 -48
- package/dist/types/theme/src/index.d.ts +0 -14
- package/dist/types/theme/src/types.d.ts +0 -54
- package/dist/types/theme/src/units.d.ts +0 -266
- package/dist/types/theme/src/use-safe-effect.d.ts +0 -2
- package/dist/types/theme/src/utils.d.ts +0 -1
- package/dist/types/toast/index.d.ts +0 -2
- package/dist/types/toast/src/index.d.ts +0 -7
- package/dist/types/toast/src/toast.d.ts +0 -62
- package/dist/types/toasted-notes/index.d.ts +0 -2
- package/dist/types/toasted-notes/src/Alert.d.ts +0 -8
- package/dist/types/toasted-notes/src/Message.d.ts +0 -26
- package/dist/types/toasted-notes/src/Positions.d.ts +0 -9
- package/dist/types/toasted-notes/src/Toast.d.ts +0 -13
- package/dist/types/toasted-notes/src/ToastManager.d.ts +0 -45
- package/dist/types/toasted-notes/src/index.d.ts +0 -4
- package/dist/types/toasted-notes/src/useTimeout.d.ts +0 -3
- package/dist/types/tooltip/index.d.ts +0 -2
- package/dist/types/tooltip/src/index.d.ts +0 -8
- package/dist/types/tooltip/src/tooltip.d.ts +0 -14
- package/dist/types/tooltip/stories/tooltip.stories.d.ts +0 -9
- package/dist/types/user-menu/src/index.d.ts +0 -8
- package/dist/types/user-menu/src/user-menu.d.ts +0 -32
- package/dist/types/user-menu/stories/user-menu.stories.d.ts +0 -8
- package/dist/types/utils/index.d.ts +0 -2
- package/dist/types/utils/src/assertion.d.ts +0 -6
- package/dist/types/utils/src/children.d.ts +0 -8
- package/dist/types/utils/src/color.d.ts +0 -10
- package/dist/types/utils/src/index.d.ts +0 -20
- package/dist/types/utils/src/object.d.ts +0 -6
- package/dist/types/utils/src/refs.d.ts +0 -5
- package/dist/types/utils/src/slug.d.ts +0 -1
- package/dist/types/utils/src/types.d.ts +0 -56
- package/dist/types/utils/src/use-on-element-outside.d.ts +0 -39
- package/dist/types/utils/src/walk-object.d.ts +0 -5
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
|
+
export var Callout = colors => ({
|
|
3
|
+
'.sk-callout': _extends({
|
|
4
|
+
'@apply inline-flex': {},
|
|
5
|
+
'@apply p-4': {}
|
|
6
|
+
}, colors.reduce((styles, color) => _extends({}, styles, {
|
|
7
|
+
["&[data-color=\"" + color + "\"]"]: {
|
|
8
|
+
'.sk-callout-content': {
|
|
9
|
+
["@apply bg-" + color + "-surface-primary text-" + color + "-text-secondary"]: {}
|
|
10
|
+
},
|
|
11
|
+
'&[data-inverted="true"]': {
|
|
12
|
+
'.sk-callout-content': {
|
|
13
|
+
'@apply text-inverted-light-primary': {},
|
|
14
|
+
["@apply bg-inverted-" + color + "-surface-primary text-inverted-" + color + "-text-secondary"]: {}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}), {}), {
|
|
19
|
+
"&[data-color='tertiary']": {
|
|
20
|
+
'.sk-callout-content': {
|
|
21
|
+
'@apply bg-primary-surface': {}
|
|
22
|
+
},
|
|
23
|
+
'&[data-inverted="true"]': {
|
|
24
|
+
'.sk-callout-content': {
|
|
25
|
+
'@apply text-inverted-light-primary': {},
|
|
26
|
+
'@apply bg-tertiary-surface dark:bg-inverted-primary-surface': {}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
'&-content': {
|
|
31
|
+
'@apply rounded-full': {},
|
|
32
|
+
'@apply h-8 w-8': {}
|
|
33
|
+
}
|
|
34
|
+
})
|
|
35
|
+
});
|
|
36
|
+
//# sourceMappingURL=callout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"callout.js","names":["Callout","colors","_extends","reduce","styles","color"],"sources":["../../../src/components/callout.ts"],"sourcesContent":["export const Callout = (colors: string[]) => ({\r\n '.sk-callout': {\r\n '@apply inline-flex': {},\r\n '@apply p-4': {},\r\n\r\n ...colors.reduce(\r\n (styles, color) => ({\r\n ...styles,\r\n [`&[data-color=\"${color}\"]`]: {\r\n '.sk-callout-content': {\r\n [`@apply bg-${color}-surface-primary text-${color}-text-secondary`]: {},\r\n },\r\n\r\n '&[data-inverted=\"true\"]': {\r\n '.sk-callout-content': {\r\n '@apply text-inverted-light-primary': {},\r\n [`@apply bg-inverted-${color}-surface-primary text-inverted-${color}-text-secondary`]: {},\r\n },\r\n },\r\n },\r\n }),\r\n {}\r\n ),\r\n\r\n \"&[data-color='tertiary']\": {\r\n '.sk-callout-content': {\r\n '@apply bg-primary-surface': {},\r\n },\r\n '&[data-inverted=\"true\"]': {\r\n '.sk-callout-content': {\r\n '@apply text-inverted-light-primary': {},\r\n '@apply bg-tertiary-surface dark:bg-inverted-primary-surface': {},\r\n },\r\n },\r\n },\r\n\r\n '&-content': {\r\n '@apply rounded-full': {},\r\n '@apply h-8 w-8': {},\r\n },\r\n },\r\n});\r\n"],"mappings":";AAAA,OAAO,IAAMA,OAAO,GAAIC,MAAgB,KAAM;EAC5C,aAAa,EAAAC,QAAA;IACX,oBAAoB,EAAE,CAAC,CAAC;IACxB,YAAY,EAAE,CAAC;EAAC,GAEbD,MAAM,CAACE,MAAM,CACd,CAACC,MAAM,EAAEC,KAAK,KAAAH,QAAA,KACTE,MAAM;IACT,qBAAkBC,KAAK,WAAO;MAC5B,qBAAqB,EAAE;QACrB,gBAAcA,KAAK,+BAA0BA,KAAK,uBAAoB,CAAC;MACzE,CAAC;MAED,yBAAyB,EAAE;QACzB,qBAAqB,EAAE;UACrB,oCAAoC,EAAE,CAAC,CAAC;UACxC,yBAAuBA,KAAK,uCAAkCA,KAAK,uBAAoB,CAAC;QAC1F;MACF;IACF;EAAC,EACD,EACF,CAAC,CACH,CAAC;IAED,0BAA0B,EAAE;MAC1B,qBAAqB,EAAE;QACrB,2BAA2B,EAAE,CAAC;MAChC,CAAC;MACD,yBAAyB,EAAE;QACzB,qBAAqB,EAAE;UACrB,oCAAoC,EAAE,CAAC,CAAC;UACxC,6DAA6D,EAAE,CAAC;QAClE;MACF;IACF,CAAC;IAED,WAAW,EAAE;MACX,qBAAqB,EAAE,CAAC,CAAC;MACzB,gBAAgB,EAAE,CAAC;IACrB;EAAC;AAEL,CAAC,CAAC","ignoreList":[]}
|
package/dist/esm/components.js
CHANGED
|
@@ -5,6 +5,7 @@ import { Badge } from './components/badge';
|
|
|
5
5
|
import { Breadcrumb } from './components/breadcrumb';
|
|
6
6
|
import { Button } from './components/button';
|
|
7
7
|
import { ButtonGroup } from './components/button-group';
|
|
8
|
+
import { Callout } from './components/callout';
|
|
8
9
|
import { Card } from './components/card';
|
|
9
10
|
import { Checkbox } from './components/checkbox';
|
|
10
11
|
import { Chip } from './components/chip';
|
|
@@ -68,6 +69,8 @@ export var components = [{
|
|
|
68
69
|
deps: [Link, Spinner, ButtonGroup]
|
|
69
70
|
}, {
|
|
70
71
|
comp: ButtonGroup
|
|
72
|
+
}, {
|
|
73
|
+
comp: Callout
|
|
71
74
|
}, {
|
|
72
75
|
comp: Card,
|
|
73
76
|
deps: [Button, Link]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.js","names":["Accordion","Avatar","Badge","Breadcrumb","Button","ButtonGroup","Card","Checkbox","Chip","ComboBox","CookieConsent","Dialog","Divider","Dot","Filter","Footer","Forms","Header","Icon","Input","Label","Link","List","Logo","MenuVertical","MenuBar","Modal","Pagination","PopupMenu","ProgressBar","ProgressStepper","Radio","SearchField","Select","Snackbar","Spinner","Switch","Table","Tabs","Tooltip","UserMenu","AIFeed","AICornerModule","AIServiceModule","AssistantPresentation","AssistantSwitch","Bubble","Feedback","InputSection","MarkdownRendered","NewSessionButton","TypingBubble","TypingSequence","components","comp","deps"],"sources":["../../src/components.ts"],"sourcesContent":["import { CSSRuleObject, PluginAPI } from 'tailwindcss/types/config';\r\n\r\n// components\r\nimport { Accordion } from './components/accordion';\r\nimport { Avatar } from './components/avatar';\r\nimport { Badge } from './components/badge';\r\nimport { Breadcrumb } from './components/breadcrumb';\r\nimport { Button } from './components/button';\r\nimport { ButtonGroup } from './components/button-group';\r\nimport { Card } from './components/card';\r\nimport { Checkbox } from './components/checkbox';\r\nimport { Chip } from './components/chip';\r\nimport { ComboBox } from './components/combobox';\r\nimport { CookieConsent } from './components/cookie-consent';\r\nimport { Dialog } from './components/dialog';\r\nimport { Divider } from './components/divider';\r\nimport { Dot } from './components/dot';\r\nimport { Filter } from './components/filter';\r\nimport { Footer } from './components/footer';\r\nimport { Forms } from './components/forms';\r\nimport { Header } from './components/header';\r\nimport { Icon } from './components/icon';\r\nimport { Input } from './components/input';\r\nimport { Label } from './components/label';\r\nimport { Link } from './components/link';\r\nimport { List } from './components/list';\r\nimport { Logo } from './components/logo';\r\nimport { MenuVertical } from './components/menu-vertical';\r\nimport { MenuBar } from './components/menubar';\r\nimport { Modal } from './components/modal';\r\nimport { Pagination } from './components/pagination';\r\nimport { PopupMenu } from './components/popup-menu';\r\nimport { ProgressBar } from './components/progress-bar';\r\nimport { ProgressStepper } from './components/progress-stepper';\r\nimport { Radio } from './components/radio';\r\nimport { SearchField } from './components/search-field';\r\nimport { Select } from './components/select';\r\nimport { Snackbar } from './components/snackbar';\r\nimport { Spinner } from './components/spinner';\r\nimport { Switch } from './components/switch';\r\nimport { Table } from './components/table';\r\nimport { Tabs } from './components/tabs';\r\nimport { Tooltip } from './components/tooltip';\r\nimport { UserMenu } from './components/user-menu';\r\n//AI COMPONENTS\r\nimport { AIFeed } from './components/ai/ai-feed';\r\nimport { AICornerModule } from './components/ai/ai-corner-module';\r\nimport { AIServiceModule } from './components/ai/ai-service-module';\r\nimport { AssistantPresentation } from './components/ai/assistant-presentation';\r\nimport { AssistantSwitch } from './components/ai/assistant-switch';\r\nimport { Bubble } from './components/ai/bubble';\r\nimport { Feedback } from './components/ai/feedback';\r\nimport { InputSection } from './components/ai/input-section';\r\nimport { MarkdownRendered } from './components/ai/markdown-rendered';\r\nimport { NewSessionButton } from './components/ai/new-session-button';\r\nimport { TypingBubble } from './components/ai/typing-bubble';\r\nimport { TypingSequence } from './components/ai/typing-sequence';\r\n\r\nexport type Component = (colors: string[], theme: PluginAPI['theme']) => CSSRuleObject;\r\ninterface ComponentWithDeps {\r\n comp: Component;\r\n deps?: Component[];\r\n}\r\n\r\nexport const components: ComponentWithDeps[] = [\r\n { comp: Accordion, deps: [Button, Divider, Icon, Label] },\r\n { comp: Avatar },\r\n { comp: Badge },\r\n { comp: Breadcrumb, deps: [Link] },\r\n { comp: Button, deps: [Link, Spinner, ButtonGroup] },\r\n { comp: ButtonGroup },\r\n { comp: Card, deps: [Button, Link] },\r\n { comp: Checkbox },\r\n { comp: Chip, deps: [Icon] },\r\n { comp: ComboBox },\r\n { comp: CookieConsent, deps: [Button, Forms] },\r\n { comp: Dialog, deps: [Modal] },\r\n { comp: Divider },\r\n { comp: Dot },\r\n { comp: Filter, deps: [Badge, Forms] },\r\n { comp: Footer, deps: [Divider, Link, Logo] },\r\n { comp: Forms, deps: [Icon, Checkbox, ComboBox, Select, Input, Radio, Switch, PopupMenu] },\r\n { comp: Header, deps: [Divider, Link, Logo] },\r\n { comp: Input },\r\n { comp: Label },\r\n { comp: Link, deps: [Icon] },\r\n { comp: List, deps: [Link] },\r\n { comp: Logo, deps: [Divider] },\r\n { comp: MenuBar, deps: [PopupMenu] },\r\n { comp: Icon },\r\n { comp: MenuVertical, deps: [Button, Divider, Icon, Logo] },\r\n { comp: Modal, deps: [Button, Icon] },\r\n { comp: Pagination, deps: [Button, Forms, Icon] },\r\n { comp: PopupMenu, deps: [Button, Link] },\r\n { comp: ProgressBar },\r\n { comp: ProgressStepper, deps: [Divider, Icon] },\r\n { comp: SearchField, deps: [Button, Forms, Icon] },\r\n { comp: Select },\r\n { comp: Snackbar, deps: [Button, Icon] },\r\n { comp: Spinner },\r\n { comp: Radio },\r\n { comp: Switch, deps: [Icon] },\r\n { comp: Table, deps: [Forms, Icon, Pagination] },\r\n { comp: Tabs, deps: [Button, MenuBar] },\r\n { comp: Tooltip },\r\n { comp: UserMenu, deps: [Avatar, Logo, PopupMenu] },\r\n\r\n //AI COMPONENTS\r\n\r\n { comp: AIFeed, deps: [Accordion, Button, Avatar, TypingBubble, Feedback, MarkdownRendered] },\r\n {\r\n comp: AICornerModule,\r\n deps: [AIFeed, AssistantPresentation, InputSection, Avatar, Bubble, Link, Button, Divider, Icon, Tooltip, MenuBar],\r\n },\r\n { comp: AIServiceModule, deps: [AIFeed, Bubble, InputSection, Forms, Link, Button, Icon] },\r\n { comp: AssistantPresentation, deps: [Avatar] },\r\n { comp: AssistantSwitch, deps: [Avatar, Icon] },\r\n { comp: Bubble, deps: [Icon] },\r\n { comp: Feedback, deps: [Button, Icon] },\r\n { comp: InputSection, deps: [Forms, Button, Icon] },\r\n { comp: MarkdownRendered, deps: [Link] },\r\n { comp: NewSessionButton, deps: [Button, Icon] },\r\n { com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AE,CAAClC,IAAI;AAAE,CAAC,EACxC;EAAEiC,IAAI,EAAEJ,gBAAgB;EAAEK,IAAI,EAAE,CAACnD,MAAM,EAAEc,IAAI;AAAE,CAAC,EAChD;EAAEoC,IAAI,EAAEH,YAAY;EAAEI,IAAI,EAAE,CAACH,cAAc;AAAE,CAAC,EAC9C;EAAEE,IAAI,EAAEF;AAAe,CAAC,CACzB","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"components.js","names":["Accordion","Avatar","Badge","Breadcrumb","Button","ButtonGroup","Callout","Card","Checkbox","Chip","ComboBox","CookieConsent","Dialog","Divider","Dot","Filter","Footer","Forms","Header","Icon","Input","Label","Link","List","Logo","MenuVertical","MenuBar","Modal","Pagination","PopupMenu","ProgressBar","ProgressStepper","Radio","SearchField","Select","Snackbar","Spinner","Switch","Table","Tabs","Tooltip","UserMenu","AIFeed","AICornerModule","AIServiceModule","AssistantPresentation","AssistantSwitch","Bubble","Feedback","InputSection","MarkdownRendered","NewSessionButton","TypingBubble","TypingSequence","components","comp","deps"],"sources":["../../src/components.ts"],"sourcesContent":["import { CSSRuleObject, PluginAPI } from 'tailwindcss/types/config';\r\n\r\n// components\r\nimport { Accordion } from './components/accordion';\r\nimport { Avatar } from './components/avatar';\r\nimport { Badge } from './components/badge';\r\nimport { Breadcrumb } from './components/breadcrumb';\r\nimport { Button } from './components/button';\r\nimport { ButtonGroup } from './components/button-group';\r\nimport { Callout } from './components/callout';\r\nimport { Card } from './components/card';\r\nimport { Checkbox } from './components/checkbox';\r\nimport { Chip } from './components/chip';\r\nimport { ComboBox } from './components/combobox';\r\nimport { CookieConsent } from './components/cookie-consent';\r\nimport { Dialog } from './components/dialog';\r\nimport { Divider } from './components/divider';\r\nimport { Dot } from './components/dot';\r\nimport { Filter } from './components/filter';\r\nimport { Footer } from './components/footer';\r\nimport { Forms } from './components/forms';\r\nimport { Header } from './components/header';\r\nimport { Icon } from './components/icon';\r\nimport { Input } from './components/input';\r\nimport { Label } from './components/label';\r\nimport { Link } from './components/link';\r\nimport { List } from './components/list';\r\nimport { Logo } from './components/logo';\r\nimport { MenuVertical } from './components/menu-vertical';\r\nimport { MenuBar } from './components/menubar';\r\nimport { Modal } from './components/modal';\r\nimport { Pagination } from './components/pagination';\r\nimport { PopupMenu } from './components/popup-menu';\r\nimport { ProgressBar } from './components/progress-bar';\r\nimport { ProgressStepper } from './components/progress-stepper';\r\nimport { Radio } from './components/radio';\r\nimport { SearchField } from './components/search-field';\r\nimport { Select } from './components/select';\r\nimport { Snackbar } from './components/snackbar';\r\nimport { Spinner } from './components/spinner';\r\nimport { Switch } from './components/switch';\r\nimport { Table } from './components/table';\r\nimport { Tabs } from './components/tabs';\r\nimport { Tooltip } from './components/tooltip';\r\nimport { UserMenu } from './components/user-menu';\r\n//AI COMPONENTS\r\nimport { AIFeed } from './components/ai/ai-feed';\r\nimport { AICornerModule } from './components/ai/ai-corner-module';\r\nimport { AIServiceModule } from './components/ai/ai-service-module';\r\nimport { AssistantPresentation } from './components/ai/assistant-presentation';\r\nimport { AssistantSwitch } from './components/ai/assistant-switch';\r\nimport { Bubble } from './components/ai/bubble';\r\nimport { Feedback } from './components/ai/feedback';\r\nimport { InputSection } from './components/ai/input-section';\r\nimport { MarkdownRendered } from './components/ai/markdown-rendered';\r\nimport { NewSessionButton } from './components/ai/new-session-button';\r\nimport { TypingBubble } from './components/ai/typing-bubble';\r\nimport { TypingSequence } from './components/ai/typing-sequence';\r\n\r\nexport type Component = (colors: string[], theme: PluginAPI['theme']) => CSSRuleObject;\r\ninterface ComponentWithDeps {\r\n comp: Component;\r\n deps?: Component[];\r\n}\r\n\r\nexport const components: ComponentWithDeps[] = [\r\n { comp: Accordion, deps: [Button, Divider, Icon, Label] },\r\n { comp: Avatar },\r\n { comp: Badge },\r\n { comp: Breadcrumb, deps: [Link] },\r\n { comp: Button, deps: [Link, Spinner, ButtonGroup] },\r\n { comp: ButtonGroup },\r\n { comp: Callout },\r\n { comp: Card, deps: [Button, Link] },\r\n { comp: Checkbox },\r\n { comp: Chip, deps: [Icon] },\r\n { comp: ComboBox },\r\n { comp: CookieConsent, deps: [Button, Forms] },\r\n { comp: Dialog, deps: [Modal] },\r\n { comp: Divider },\r\n { comp: Dot },\r\n { comp: Filter, deps: [Badge, Forms] },\r\n { comp: Footer, deps: [Divider, Link, Logo] },\r\n { comp: Forms, deps: [Icon, Checkbox, ComboBox, Select, Input, Radio, Switch, PopupMenu] },\r\n { comp: Header, deps: [Divider, Link, Logo] },\r\n { comp: Input },\r\n { comp: Label },\r\n { comp: Link, deps: [Icon] },\r\n { comp: List, deps: [Link] },\r\n { comp: Logo, deps: [Divider] },\r\n { comp: MenuBar, deps: [PopupMenu] },\r\n { comp: Icon },\r\n { comp: MenuVertical, deps: [Button, Divider, Icon, Logo] },\r\n { comp: Modal, deps: [Button, Icon] },\r\n { comp: Pagination, deps: [Button, Forms, Icon] },\r\n { comp: PopupMenu, deps: [Button, Link] },\r\n { comp: ProgressBar },\r\n { comp: ProgressStepper, deps: [Divider, Icon] },\r\n { comp: SearchField, deps: [Button, Forms, Icon] },\r\n { comp: Select },\r\n { comp: Snackbar, deps: [Button, Icon] },\r\n { comp: Spinner },\r\n { comp: Radio },\r\n { comp: Switch, deps: [Icon] },\r\n { comp: Table, deps: [Forms, Icon, Pagination] },\r\n { comp: Tabs, deps: [Button, MenuBar] },\r\n { comp: Tooltip },\r\n { comp: UserMenu, deps: [Avatar, Logo, PopupMenu] },\r\n\r\n //AI COMPONENTS\r\n\r\n { comp: AIFeed, deps: [Accordion, Button, Avatar, TypingBubble, Feedback, MarkdownRendered] },\r\n {\r\n comp: AICornerModule,\r\n deps: [AIFeed, AssistantPresentation, InputSection, Avatar, Bubble, Link, Button, Divider, Icon, Tooltip, MenuBar],\r\n },\r\n { comp: AIServiceModule, deps: [AIFeed, Bubble, InputSection, Forms, Link, Button, Icon] },\r\n { comp: AssistantPresentation, deps: [Avatar] },\r\n { comp: AssistantSwitch, deps: [Avatar, Icon] },\r\n { comp: Bubble, deps: [Icon] },\r\n { comp: Feedback, deps: [Button, Icon] },\r\n { comp: InputSection, deps: [Forms, Button, Icon] },\r\n { comp: MarkdownRendered, deps: [Link] },\r\n { comp: NewSessionButton, deps: [Button, Icon] },\r\n { comp: TypingBubble, deps: [TypingSequence] },\r\n { comp: TypingSequence },\r\n];\r\n"],"mappings":"AAEA;AACA,SAASA,SAAS,QAAQ,wBAAwB;AAClD,SAASC,MAAM,QAAQ,qBAAqB;AAC5C,SAASC,KAAK,QAAQ,oBAAoB;AAC1C,SAASC,UAAU,QAAQ,yBAAyB;AACpD,SAASC,MAAM,QAAQ,qBAAqB;AAC5C,SAASC,WAAW,QAAQ,2BAA2B;AACvD,SAASC,OAAO,QAAQ,sBAAsB;AAC9C,SAASC,IAAI,QAAQ,mBAAmB;AACxC,SAASC,QAAQ,QAAQ,uBAAuB;AAChD,SAASC,IAAI,QAAQ,mBAAmB;AACxC,SAASC,QAAQ,QAAQ,uBAAuB;AAChD,SAASC,aAAa,QAAQ,6BAA6B;AAC3D,SAASC,MAAM,QAAQ,qBAAqB;AAC5C,SAASC,OAAO,QAAQ,sBAAsB;AAC9C,SAASC,GAAG,QAAQ,kBAAkB;AACtC,SAASC,MAAM,QAAQ,qBAAqB;AAC5C,SAASC,MAAM,QAAQ,qBAAqB;AAC5C,SAASC,KAAK,QAAQ,oBAAoB;AAC1C,SAASC,MAAM,QAAQ,qBAAqB;AAC5C,SAASC,IAAI,QAAQ,mBAAmB;AACxC,SAASC,KAAK,QAAQ,oBAAoB;AAC1C,SAASC,KAAK,QAAQ,oBAAoB;AAC1C,SAASC,IAAI,QAAQ,mBAAmB;AACxC,SAASC,IAAI,QAAQ,mBAAmB;AACxC,SAASC,IAAI,QAAQ,mBAAmB;AACxC,SAASC,YAAY,QAAQ,4BAA4B;AACzD,SAASC,OAAO,QAAQ,sBAAsB;AAC9C,SAASC,KAAK,QAAQ,oBAAoB;AAC1C,SAASC,UAAU,QAAQ,yBAAyB;AACpD,SAASC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AAQ;EAAEQ,IAAI,EAAE,CAACpD,MAAM,EAAEe,IAAI;AAAE,CAAC,EACxC;EAAEoC,IAAI,EAAEN,YAAY;EAAEO,IAAI,EAAE,CAACvC,KAAK,EAAEb,MAAM,EAAEe,IAAI;AAAE,CAAC,EACnD;EAAEoC,IAAI,EAAEL,gBAAgB;EAAEM,IAAI,EAAE,CAAClC,IAAI;AAAE,CAAC,EACxC;EAAEiC,IAAI,EAAEJ,gBAAgB;EAAEK,IAAI,EAAE,CAACpD,MAAM,EAAEe,IAAI;AAAE,CAAC,EAChD;EAAEoC,IAAI,EAAEH,YAAY;EAAEI,IAAI,EAAE,CAACH,cAAc;AAAE,CAAC,EAC9C;EAAEE,IAAI,EAAEF;AAAe,CAAC,CACzB","ignoreList":[]}
|
|
@@ -3,26 +3,58 @@ export declare const AIServiceModule: (colors: string[]) => {
|
|
|
3
3
|
'@apply flex gap-0': {};
|
|
4
4
|
'@apply rounded-groups': {};
|
|
5
5
|
'@apply bg-background-content': {};
|
|
6
|
-
'@apply shadow-100': {};
|
|
7
6
|
'&[data-inverted="true"]': {
|
|
8
7
|
'@apply text-inverted-dark-primary': {};
|
|
9
8
|
'@apply bg-inverted-background-content': {};
|
|
10
9
|
};
|
|
10
|
+
'&[data-variant="secondary"]': {
|
|
11
|
+
'@apply border-1 border-divider': {};
|
|
12
|
+
'@apply bg-transparent': {};
|
|
13
|
+
'@apply flex-col': {};
|
|
14
|
+
};
|
|
15
|
+
'&[data-variant="primary"]': {
|
|
16
|
+
'@apply shadow-100': {};
|
|
17
|
+
};
|
|
11
18
|
'&-row': {
|
|
12
19
|
'@apply flex flex-col': {};
|
|
13
20
|
'@apply grow shrink': {};
|
|
14
|
-
'@apply p-16 md:p-32': {};
|
|
15
21
|
'@apply bg-transparent': {};
|
|
16
|
-
'
|
|
17
|
-
|
|
22
|
+
'&[data-variant="primary"]': {
|
|
23
|
+
'@apply p-16 md:p-32': {};
|
|
24
|
+
'@apply first:rounded-l-groups': {};
|
|
25
|
+
'@apply last:rounded-r-groups': {};
|
|
26
|
+
};
|
|
27
|
+
'&[data-variant="secondary"]': {
|
|
28
|
+
'@apply px-24 md:px-32 pb-20': {};
|
|
29
|
+
'@apply first:pt-24 first:md:pt-32': {};
|
|
30
|
+
'@apply last:pb-24 last:md:pb-32': {};
|
|
31
|
+
'@apply first:rounded-t-groups': {};
|
|
32
|
+
'@apply last:rounded-b-groups': {};
|
|
33
|
+
};
|
|
18
34
|
};
|
|
19
35
|
'&-content': {
|
|
20
36
|
'@apply flex flex-col gap-6 md:gap-24': {};
|
|
21
37
|
'@apply p-4 md:p-8': {};
|
|
22
38
|
'@apply w-full': {};
|
|
39
|
+
'&[data-variant="secondary"]': {
|
|
40
|
+
'@apply md:gap-16': {};
|
|
41
|
+
'@apply py-4 md:py-8 px-24 md:px-48': {};
|
|
42
|
+
};
|
|
23
43
|
};
|
|
24
|
-
'&-header
|
|
25
|
-
'@apply
|
|
44
|
+
'&-header': {
|
|
45
|
+
'@apply relative': {};
|
|
46
|
+
'&, > *': {
|
|
47
|
+
'@apply font-header text-display-3-sm md:text-display-3-md xl:text-display-3-lg': {};
|
|
48
|
+
};
|
|
49
|
+
'&[data-variant="secondary"], &[data-variant="secondary"] > *': {
|
|
50
|
+
'@apply font-header text-h2-sm md:text-h2-md': {};
|
|
51
|
+
};
|
|
52
|
+
'&-icon': {
|
|
53
|
+
'@apply absolute -left-52 -top-2': {};
|
|
54
|
+
'.sk-icon, svg': {
|
|
55
|
+
'@apply h-40 w-40': {};
|
|
56
|
+
};
|
|
57
|
+
};
|
|
26
58
|
};
|
|
27
59
|
'&-form': {
|
|
28
60
|
'@apply w-full': {};
|
|
@@ -92,7 +124,6 @@ export declare const AIServiceModule: (colors: string[]) => {
|
|
|
92
124
|
};
|
|
93
125
|
};
|
|
94
126
|
'&-questions': {
|
|
95
|
-
'@apply w-[22.5em] max-w-[22.5em] min-w-[22.5em]': {};
|
|
96
127
|
'@apply flex flex-col gap-12': {};
|
|
97
128
|
'@apply pb-8': {};
|
|
98
129
|
'@apply text-dark-primary': {};
|
|
@@ -105,6 +136,16 @@ export declare const AIServiceModule: (colors: string[]) => {
|
|
|
105
136
|
'&[data-inverted="true"]': {
|
|
106
137
|
'@apply text-inverted-dark-primary': {};
|
|
107
138
|
};
|
|
139
|
+
'&[data-variant="primary"]': {
|
|
140
|
+
'@apply w-[22.5em] max-w-[22.5em] min-w-[22.5em]': {};
|
|
141
|
+
};
|
|
142
|
+
'&[data-variant="secondary"]': {
|
|
143
|
+
'@apply w-full': {};
|
|
144
|
+
'@apply px-24 md:px-48': {};
|
|
145
|
+
'.sk-ai-service-module-questions-list': {
|
|
146
|
+
'@apply flex-row flex-wrap': {};
|
|
147
|
+
};
|
|
148
|
+
};
|
|
108
149
|
};
|
|
109
150
|
};
|
|
110
151
|
};
|
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
export declare const Bubble: (colors: string[]) => {
|
|
2
2
|
'.sk-ai-bubble': {
|
|
3
|
+
'&[data-color="primary"]': {
|
|
4
|
+
'@apply bg-inverted-primary-surface hover:bg-inverted-primary-surface-hover': {};
|
|
5
|
+
'.sk-ai-bubble-tail': {
|
|
6
|
+
"@apply shadow-inverted-primary-surface": {};
|
|
7
|
+
};
|
|
8
|
+
'&:hover': {
|
|
9
|
+
'.sk-ai-bubble-tail': {
|
|
10
|
+
"@apply shadow-inverted-primary-surface-hover": {};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
'&[data-inverted="true"]': {
|
|
14
|
+
'@apply bg-primary-surface hover:bg-primary-surface-hover': {};
|
|
15
|
+
'.sk-ai-bubble-tail': {
|
|
16
|
+
"@apply shadow-primary-surface": {};
|
|
17
|
+
};
|
|
18
|
+
'&:hover': {
|
|
19
|
+
'.sk-ai-bubble-tail': {
|
|
20
|
+
"@apply shadow-primary-surface-hover": {};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
3
25
|
'&-tail': {
|
|
4
26
|
'@apply text-base': {};
|
|
5
27
|
'@apply absolute left-0 bottom-[-1.25em]': {};
|
|
@@ -9,6 +31,12 @@ export declare const Bubble: (colors: string[]) => {
|
|
|
9
31
|
'@apply shadow-[0_-1em_0_0_var(--tw-shadow-color)]': {};
|
|
10
32
|
'@apply scale-y-[25%]': {};
|
|
11
33
|
'&:before': {
|
|
34
|
+
'&[data-shadow="true"]': {};
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
'&[data-shadow="true"]': {
|
|
38
|
+
'@apply shadow-[0_1px_0_0_rgba(0,0,0,0.2)]': {};
|
|
39
|
+
'.sk-ai-bubble-tail:before': {
|
|
12
40
|
'@apply content-[""]': {};
|
|
13
41
|
'@apply absolute left-0 bottom-[-0.15625em]': {};
|
|
14
42
|
'@apply w-32 h-32': {};
|
|
@@ -25,8 +53,10 @@ export declare const Bubble: (colors: string[]) => {
|
|
|
25
53
|
'@apply rounded-t-button rounded-br-button': {};
|
|
26
54
|
'@apply pt-10 pr-12 pb-10 pl-14': {};
|
|
27
55
|
'@apply gap-16': {};
|
|
28
|
-
'@apply shadow-[0_1px_0_0_rgba(0,0,0,0.2)]': {};
|
|
29
56
|
'@apply text-small': {};
|
|
30
57
|
'@apply text-dark-secondary': {};
|
|
58
|
+
'&[data-inverted="true"]': {
|
|
59
|
+
'@apply text-inverted-dark-secondary': {};
|
|
60
|
+
};
|
|
31
61
|
};
|
|
32
62
|
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare const Callout: (colors: string[]) => {
|
|
2
|
+
'.sk-callout': {
|
|
3
|
+
"&[data-color='tertiary']": {
|
|
4
|
+
'.sk-callout-content': {
|
|
5
|
+
'@apply bg-primary-surface': {};
|
|
6
|
+
};
|
|
7
|
+
'&[data-inverted="true"]': {
|
|
8
|
+
'.sk-callout-content': {
|
|
9
|
+
'@apply text-inverted-light-primary': {};
|
|
10
|
+
'@apply bg-tertiary-surface dark:bg-inverted-primary-surface': {};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
'&-content': {
|
|
15
|
+
'@apply rounded-full': {};
|
|
16
|
+
'@apply h-8 w-8': {};
|
|
17
|
+
};
|
|
18
|
+
'@apply inline-flex': {};
|
|
19
|
+
'@apply p-4': {};
|
|
20
|
+
};
|
|
21
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sk-web-gui/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.8.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"mini-svg-data-uri": "^1.4.4",
|
|
39
39
|
"tailwindcss": "^3.4.0"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "a99cc4d3017f384541e02a32dc07646ebd2cf8e9"
|
|
42
42
|
}
|
|
@@ -1,253 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
exports.__esModule = true;
|
|
4
|
-
exports.AIModule = void 0;
|
|
5
|
-
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
6
|
-
var AIModule = exports.AIModule = function AIModule(colors) {
|
|
7
|
-
return {
|
|
8
|
-
'.sk-ai-module': {
|
|
9
|
-
'@apply fixed': {},
|
|
10
|
-
'@apply max-w-full': {},
|
|
11
|
-
'@apply max-h-full': {},
|
|
12
|
-
'@apply z-50': {},
|
|
13
|
-
'@apply flex flex-col gap-0 items-center justify-start': {},
|
|
14
|
-
'@apply shadow-200': {},
|
|
15
|
-
'@apply transition-all': {},
|
|
16
|
-
'@apply duration-300': {},
|
|
17
|
-
'@apply bottom-0 right-0': {},
|
|
18
|
-
'@apply bg-background-content': {},
|
|
19
|
-
'&-content': {
|
|
20
|
-
'@apply flex w-full gap-0 h-full justify-between': {},
|
|
21
|
-
'@apply relative': {},
|
|
22
|
-
'&-row': {
|
|
23
|
-
'@apply flex flex-col': {}
|
|
24
|
-
},
|
|
25
|
-
'&-main': {
|
|
26
|
-
'@apply grow shrink max-h-full max-w-full items-center': {}
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
'&-sidebar': {
|
|
30
|
-
'@apply flex flex-col': {},
|
|
31
|
-
'@apply lg:w-[22em]': {},
|
|
32
|
-
'@apply h-full': {},
|
|
33
|
-
'@apply overflow-hidden': {},
|
|
34
|
-
'@apply border-r-1 border-r-divider': {},
|
|
35
|
-
'@apply pt-20 px-0 gap-16': {},
|
|
36
|
-
'&-sessions': {
|
|
37
|
-
'@apply flex flex-col': {},
|
|
38
|
-
'@apply grow w-full': {},
|
|
39
|
-
'@apply overflow-y-auto': {},
|
|
40
|
-
'@apply px-24 pb-20 gap-16': {}
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
'&-feed': {
|
|
44
|
-
'@apply flex flex-col grow': {},
|
|
45
|
-
'@apply px-16 pt-16 pb-24 gap-16': {},
|
|
46
|
-
'@apply w-full': {},
|
|
47
|
-
'@apply max-h-full overflow-y-auto': {},
|
|
48
|
-
'@apply max-w-full overflow-x-hidden': {},
|
|
49
|
-
'&-readmore': {
|
|
50
|
-
'@apply text-center': {},
|
|
51
|
-
'@apply max-w-[29em]': {},
|
|
52
|
-
'@apply px-24 pb-16 pt-0': {}
|
|
53
|
-
},
|
|
54
|
-
'&-questions': {
|
|
55
|
-
'@apply flex flex-col gap-8 w-full': {},
|
|
56
|
-
'&-title': {
|
|
57
|
-
'@apply text-label-medium text-dark-primary': {}
|
|
58
|
-
},
|
|
59
|
-
'&-wrapper': {
|
|
60
|
-
'@apply flex flex-col gap-16 w-full': {}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
'.sk-ai-inputsection': {
|
|
65
|
-
'@apply shrink-0': {}
|
|
66
|
-
},
|
|
67
|
-
'&[data-fullscreen="false"]': {
|
|
68
|
-
'@apply rounded-tl-groups': {},
|
|
69
|
-
'@apply max-w-[26em]': {},
|
|
70
|
-
'@apply w-[26em]': {},
|
|
71
|
-
'@apply max-h-[44em]': {},
|
|
72
|
-
'&[data-mobile="true"]': {
|
|
73
|
-
'@apply rounded-tl-none': {},
|
|
74
|
-
'@apply max-w-full': {},
|
|
75
|
-
'@apply w-full': {},
|
|
76
|
-
'@apply max-h-full': {}
|
|
77
|
-
},
|
|
78
|
-
'&[data-docked="false"]': {
|
|
79
|
-
'@apply h-[44em]': {},
|
|
80
|
-
'&[data-mobile="true"]': {
|
|
81
|
-
'@apply h-full': {}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
'&[data-mobile="true"]': {
|
|
86
|
-
'.sk-ai-module-feed': {
|
|
87
|
-
'&-readmore': {
|
|
88
|
-
'@apply max-w-full': {}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
'.sk-ai-feed': {
|
|
93
|
-
'@apply w-full': {}
|
|
94
|
-
},
|
|
95
|
-
'&[data-fullscreen="true"]': {
|
|
96
|
-
'@apply w-full': {},
|
|
97
|
-
'.sk-ai-module-feed': {
|
|
98
|
-
'@apply gap-40 grow w-full items-center': {},
|
|
99
|
-
'.sk-ai-feed': {
|
|
100
|
-
'@apply text-base max-w-[50em]': {}
|
|
101
|
-
},
|
|
102
|
-
'&-questions': {
|
|
103
|
-
'@apply flex-row gap-16': {},
|
|
104
|
-
'&-wrapper': {
|
|
105
|
-
'@apply text-base max-w-[50em]': {}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
'.sk-ai-inputsection': {
|
|
110
|
-
'@apply text-base max-w-[50em]': {},
|
|
111
|
-
'@apply pt-20 pb-32': {}
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
'&[data-docked="true"]': {
|
|
115
|
-
'@apply h-64 md:w-[19em]': {},
|
|
116
|
-
'&[data-mobile="true"]': {
|
|
117
|
-
'@apply w-full': {}
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
|
-
'&-header': _extends({
|
|
121
|
-
'@apply h-64': {},
|
|
122
|
-
'@apply flex items-center justify-between': {},
|
|
123
|
-
'@apply w-full': {},
|
|
124
|
-
'@apply shrink-0': {},
|
|
125
|
-
'@apply px-14 py-16': {},
|
|
126
|
-
'@apply transition-all': {},
|
|
127
|
-
'@apply bg-inverted-background-content': {},
|
|
128
|
-
'@apply text-inverted-dark-primary': {},
|
|
129
|
-
'@apply rounded-tl-groups': {},
|
|
130
|
-
'&[data-mobile="true"]': {
|
|
131
|
-
'@apply rounded-tl-none': {}
|
|
132
|
-
},
|
|
133
|
-
'&[data-docked="true"]': {
|
|
134
|
-
'@apply px-12 pt-10 pb-12': {},
|
|
135
|
-
'@apply cursor-pointer': {}
|
|
136
|
-
},
|
|
137
|
-
'&-title': {
|
|
138
|
-
'@apply flex justify-start items-center': {},
|
|
139
|
-
'@apply gap-12 pr-16': {}
|
|
140
|
-
},
|
|
141
|
-
'&-heading': {
|
|
142
|
-
'@apply flex flex-col gap-0': {},
|
|
143
|
-
'&-name': {
|
|
144
|
-
'@apply text-label-medium': {}
|
|
145
|
-
},
|
|
146
|
-
'&-subtitle': {
|
|
147
|
-
'@apply text-small text-inverted-dark-secondary': {}
|
|
148
|
-
}
|
|
149
|
-
},
|
|
150
|
-
'&-menu': {
|
|
151
|
-
'@apply flex justify-center items-center': {},
|
|
152
|
-
'@apply gap-12': {},
|
|
153
|
-
'&-item': {
|
|
154
|
-
'@apply relative flex justify-center': {},
|
|
155
|
-
'.sk-tooltip': {
|
|
156
|
-
'@apply absolute w-max': {},
|
|
157
|
-
'&[data-position="below"]': {
|
|
158
|
-
'@apply top-full': {},
|
|
159
|
-
'@apply mt-12': {}
|
|
160
|
-
},
|
|
161
|
-
'&[data-position="above"]': {
|
|
162
|
-
'@apply bottom-full': {},
|
|
163
|
-
'@apply mb-12': {}
|
|
164
|
-
},
|
|
165
|
-
'&[data-rightoutside="true"]': {
|
|
166
|
-
'@apply ml-[-100%]': {},
|
|
167
|
-
'@apply w-auto': {}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
},
|
|
172
|
-
'&[data-variant="alt"]': {
|
|
173
|
-
'@apply pt-0 px-24': {},
|
|
174
|
-
'@apply bg-transparent': {},
|
|
175
|
-
'.sk-avatar': {
|
|
176
|
-
'@apply w-40 h-40 lg:w-56 lg:h-56': {}
|
|
177
|
-
},
|
|
178
|
-
'.sk-ai-module-header-heading-name': {
|
|
179
|
-
'@apply text-label-large text-dark-primary': {}
|
|
180
|
-
},
|
|
181
|
-
'.sk-ai-module-header-heading-subtitle': {
|
|
182
|
-
'@apply text-small text-dark-secondary': {}
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
}, colors.reduce(function (styles, color) {
|
|
186
|
-
var _ref, _extends2;
|
|
187
|
-
return _extends({}, styles, (_extends2 = {}, _extends2["&[data-color=\"" + color + "\"]"] = (_ref = {}, _ref["@apply bg-" + color + "-surface-primary"] = {}, _ref), _extends2));
|
|
188
|
-
}, {}), {
|
|
189
|
-
'&[data-fullscreen="true"]': {
|
|
190
|
-
'@apply rounded-tl-none': {},
|
|
191
|
-
'@apply bg-background-content': {},
|
|
192
|
-
'@apply text-dark-primary': {},
|
|
193
|
-
'@apply px-20 pt-20 pb-12': {}
|
|
194
|
-
}
|
|
195
|
-
}),
|
|
196
|
-
'&-sessions': {
|
|
197
|
-
'@apply px-20': {},
|
|
198
|
-
'&-group': {
|
|
199
|
-
'@apply py-8 px-12': {}
|
|
200
|
-
},
|
|
201
|
-
'&-history': {
|
|
202
|
-
'@apply flex flex-col p-8 gap-16': {},
|
|
203
|
-
'&-list': {
|
|
204
|
-
'@apply flex flex-col p-0 gap-8': {},
|
|
205
|
-
'[role="menuitem"]': {
|
|
206
|
-
'@apply max-w-full': {},
|
|
207
|
-
'@apply max-h-none h-auto text-wrap text-left': {}
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
},
|
|
212
|
-
'.sk-avatar': {
|
|
213
|
-
'@apply transition-all duration-500': {}
|
|
214
|
-
},
|
|
215
|
-
'&-mobile-menu': {
|
|
216
|
-
'@apply rounded-0 py-16 absolute top-0 bottom-0 overflow-x-hidden': {},
|
|
217
|
-
'@apply px-0': {},
|
|
218
|
-
'@apply rounded-l-button': {},
|
|
219
|
-
'@apply bg-background-100': {},
|
|
220
|
-
'@apply shadow-100': {},
|
|
221
|
-
'@apply transition-all': {},
|
|
222
|
-
'&-top-bar': {
|
|
223
|
-
'@apply flex justify-between items-start': {},
|
|
224
|
-
'@apply pl-0 pr-16': {},
|
|
225
|
-
'.sk-ai-module-header': {
|
|
226
|
-
'@apply shrink': {}
|
|
227
|
-
}
|
|
228
|
-
},
|
|
229
|
-
'&-content': {
|
|
230
|
-
'@apply flex flex-col pt-8': {},
|
|
231
|
-
'[role="menuitem"]': {
|
|
232
|
-
'@apply w-full': {}
|
|
233
|
-
}
|
|
234
|
-
},
|
|
235
|
-
'&[data-show="true"]': {
|
|
236
|
-
'@apply left-16 right-0': {}
|
|
237
|
-
},
|
|
238
|
-
'&[data-show="false"]': {
|
|
239
|
-
'@apply w-0 h-0 left-full': {},
|
|
240
|
-
'.sk-ai-module-mobile-menu': {
|
|
241
|
-
'&-top-bar': {
|
|
242
|
-
'@apply hidden': {}
|
|
243
|
-
},
|
|
244
|
-
'&-content': {
|
|
245
|
-
'@apply hidden': {}
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
};
|
|
252
|
-
};
|
|
253
|
-
//# sourceMappingURL=ai-module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ai-module.js","names":["AIModule","exports","colors","_extends","reduce","styles","color","_ref","_extends2"],"sources":["../../../../src/components/ai/ai-module.ts"],"sourcesContent":["export const AIModule = (colors: string[]) => ({\r\n '.sk-ai-module': {\r\n '@apply fixed': {},\r\n '@apply max-w-full': {},\r\n '@apply max-h-full': {},\r\n '@apply z-50': {},\r\n '@apply flex flex-col gap-0 items-center justify-start': {},\r\n '@apply shadow-200': {},\r\n '@apply transition-all': {},\r\n '@apply duration-300': {},\r\n '@apply bottom-0 right-0': {},\r\n '@apply bg-background-content': {},\r\n\r\n '&-content': {\r\n '@apply flex w-full gap-0 h-full justify-between': {},\r\n '@apply relative': {},\r\n '&-row': {\r\n '@apply flex flex-col': {},\r\n },\r\n '&-main': {\r\n '@apply grow shrink max-h-full max-w-full items-center': {},\r\n },\r\n },\r\n\r\n '&-sidebar': {\r\n '@apply flex flex-col': {},\r\n '@apply lg:w-[22em]': {},\r\n '@apply h-full': {},\r\n '@apply overflow-hidden': {},\r\n '@apply border-r-1 border-r-divider': {},\r\n '@apply pt-20 px-0 gap-16': {},\r\n '&-sessions': {\r\n '@apply flex flex-col': {},\r\n '@apply grow w-full': {},\r\n '@apply overflow-y-auto': {},\r\n '@apply px-24 pb-20 gap-16': {},\r\n },\r\n },\r\n '&-feed': {\r\n '@apply flex flex-col grow': {},\r\n '@apply px-16 pt-16 pb-24 gap-16': {},\r\n '@apply w-full': {},\r\n '@apply max-h-full overflow-y-auto': {},\r\n '@apply max-w-full overflow-x-hidden': {},\r\n '&-readmore': {\r\n '@apply text-center': {},\r\n '@apply max-w-[29em]': {},\r\n '@apply px-24 pb-16 pt-0': {},\r\n },\r\n '&-questions': {\r\n '@apply flex flex-col gap-8 w-full': {},\r\n '&-title': {\r\n '@apply text-label-medium text-dark-primary': {},\r\n },\r\n '&-wrapper': {\r\n '@apply flex flex-col gap-16 w-full': {},\r\n },\r\n },\r\n },\r\n '.sk-ai-inputsection': {\r\n '@apply shrink-0': {},\r\n },\r\n '&[data-fullscreen=\"false\"]': {\r\n '@apply rounded-tl-groups': {},\r\n '@apply max-w-[26em]': {},\r\n '@apply w-[26em]': {},\r\n '@apply max-h-[44em]': {},\r\n '&[data-mobile=\"true\"]': {\r\n '@apply rounded-tl-none': {},\r\n '@apply max-w-full': {},\r\n '@apply w-full': {},\r\n '@apply max-h-full': {},\r\n },\r\n '&[data-docked=\"false\"]': {\r\n '@apply h-[44em]': {},\r\n '&[data-mobile=\"true\"]': {\r\n '@apply h-full': {},\r\n },\r\n },\r\n },\r\n\r\n '&[data-mobile=\"true\"]': {\r\n '.sk-ai-module-feed': {\r\n '&-readmore': {\r\n '@apply max-w-full': {},\r\n },\r\n },\r\n },\r\n '.sk-ai-feed': {\r\n '@apply w-full': {},\r\n },\r\n '&[data-fullscreen=\"true\"]': {\r\n '@apply w-full': {},\r\n '.sk-ai-module-feed': {\r\n '@apply gap-40 grow w-full items-center': {},\r\n '.sk-ai-feed': {\r\n '@apply text-base max-w-[50em]': {},\r\n },\r\n '&-questions': {\r\n '@apply flex-row gap-16': {},\r\n '&-wrapper': {\r\n '@apply text-base max-w-[50em]': {},\r\n },\r\n },\r\n },\r\n '.sk-ai-inputsection': {\r\n '@apply text-base max-w-[50em]': {},\r\n '@apply pt-20 pb-32': {},\r\n },\r\n },\r\n '&[data-docked=\"true\"]': {\r\n '@apply h-64 md:w-[19em]': {},\r\n '&[data-mobile=\"true\"]': {\r\n '@apply w-full': {},\r\n },\r\n },\r\n '&-header': {\r\n '@apply h-64': {},\r\n '@apply flex items-center justify-between': {},\r\n '@apply w-full': {},\r\n '@apply shrink-0': {},\r\n '@apply px-14 py-16': {},\r\n '@apply transition-all': {},\r\n '@apply bg-inverted-background-content': {},\r\n '@apply text-inverted-dark-primary': {},\r\n '@apply rounded-tl-groups': {},\r\n\r\n '&[data-mobile=\"true\"]': {\r\n '@apply rounded-tl-none': {},\r\n },\r\n '&[data-docked=\"true\"]': {\r\n '@apply px-12 pt-10 pb-12': {},\r\n '@apply cursor-pointer': {},\r\n },\r\n\r\n '&-title': {\r\n '@apply flex justify-start items-center': {},\r\n '@apply gap-12 pr-16': {},\r\n },\r\n '&-heading': {\r\n '@apply flex flex-col gap-0': {},\r\n '&-name': {\r\n '@apply text-label-medium': {},\r\n },\r\n '&-subtitle': {\r\n '@apply text-small text-inverted-dark-secondary': {},\r\n },\r\n },\r\n\r\n '&-menu': {\r\n '@apply flex justify-center items-center': {},\r\n '@apply gap-12': {},\r\n '&-item': {\r\n '@apply relative flex justify-center': {},\r\n '.sk-tooltip': {\r\n '@apply absolute w-max': {},\r\n '&[data-position=\"below\"]': {\r\n '@apply top-full': {},\r\n '@apply mt-12': {},\r\n },\r\n '&[data-position=\"above\"]': {\r\n '@apply bottom-full': {},\r\n '@apply mb-12': {},\r\n },\r\n '&[data-rightoutside=\"true\"]': {\r\n '@apply ml-[-100%]': {},\r\n '@apply w-auto': {},\r\n },\r\n },\r\n },\r\n },\r\n\r\n '&[data-variant=\"alt\"]': {\r\n '@apply pt-0 px-24': {},\r\n '@apply bg-transparent': {},\r\n '.sk-avatar': {\r\n '@apply w-40 h-40 lg:w-56 lg:h-56': {},\r\n },\r\n '.sk-ai-module-header-heading-name': {\r\n '@apply text-label-large text-dark-primary': {},\r\n },\r\n '.sk-ai-module-header-heading-subtitle': {\r\n '@apply text-small text-dark-secondary': {},\r\n },\r\n },\r\n\r\n ...colors.reduce(\r\n (styles, color) => ({\r\n ...styles,\r\n\r\n [`&[data-color=\"${color}\"]`]: {\r\n [`@apply bg-${color}-surface-primary`]: {},\r\n },\r\n }),\r\n {}\r\n ),\r\n '&[data-fullscreen=\"true\"]': {\r\n '@apply rounded-tl-none': {},\r\n '@apply bg-background-content': {},\r\n '@apply text-dark-primary': {},\r\n '@apply px-20 pt-20 pb-12': {},\r\n },\r\n },\r\n '&-sessions': {\r\n '@apply px-20': {},\r\n '&-group': {\r\n '@apply py-8 px-12': {},\r\n },\r\n '&-history': {\r\n '@apply flex flex-col p-8 gap-16': {},\r\n '&-list': {\r\n '@apply flex flex-col p-0 gap-8': {},\r\n '[role=\"menuitem\"]': {\r\n '@apply max-w-full': {},\r\n '@apply max-h-none h-auto text-wrap text-left': {},\r\n },\r\n },\r\n },\r\n },\r\n '.sk-avatar': {\r\n '@apply transition-all duration-500': {},\r\n },\r\n '&-mobile-menu': {\r\n '@apply rounded-0 py-16 absolute top-0 bottom-0 overflow-x-hidden': {},\r\n '@apply px-0': {},\r\n '@apply rounded-l-button': {},\r\n '@apply bg-background-100': {},\r\n '@apply shadow-100': {},\r\n '@apply transition-all': {},\r\n\r\n '&-top-bar': {\r\n '@apply flex justify-between items-start': {},\r\n '@apply pl-0 pr-16': {},\r\n '.sk-ai-module-header': {\r\n '@apply shrink': {},\r\n },\r\n },\r\n '&-content': {\r\n '@apply flex flex-col pt-8': {},\r\n '[role=\"menuitem\"]': {\r\n '@apply w-full': {},\r\n },\r\n },\r\n '&[data-show=\"true\"]': {\r\n '@apply left-16 right-0': {},\r\n },\r\n '&[data-show=\"false\"]': {\r\n '@apply w-0 h-0 left-full': {},\r\n '.sk-ai-module-mobile-menu': {\r\n '&-top-bar': {\r\n '@apply hidden': {},\r\n },\r\n '&-content': {\r\n '@apply hidden': {},\r\n },\r\n },\r\n },\r\n },\r\n },\r\n});\r\n"],"mappings":";;;;;AAAO,IAAMA,QAAQ,GAAAC,OAAA,CAAAD,QAAA,GAAG,SAAXA,QAAQA,CAAIE,MAAgB;EAAA,OAAM;IAC7C,eAAe,EAAE;MACf,cAAc,EAAE,CAAC,CAAC;MAClB,mBAAmB,EAAE,CAAC,CAAC;MACvB,mBAAmB,EAAE,CAAC,CAAC;MACvB,aAAa,EAAE,CAAC,CAAC;MACjB,uDAAuD,EAAE,CAAC,CAAC;MAC3D,mBAAmB,EAAE,CAAC,CAAC;MACvB,uBAAuB,EAAE,CAAC,CAAC;MAC3B,qBAAqB,EAAE,CAAC,CAAC;MACzB,yBAAyB,EAAE,CAAC,CAAC;MAC7B,8BAA8B,EAAE,CAAC,CAAC;MA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AAE,CAAC;QAC7B,CAAC;QACD,sBAAsB,EAAE;UACtB,0BAA0B,EAAE,CAAC,CAAC;UAC9B,2BAA2B,EAAE;YAC3B,WAAW,EAAE;cACX,eAAe,EAAE,CAAC;YACpB,CAAC;YACD,WAAW,EAAE;cACX,eAAe,EAAE,CAAC;YACpB;UACF;QACF;MACF;IACF;EACF,CAAC;AAAA,CAAC","ignoreList":[]}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
module.exports = Modal = function Modal() {
|
|
2
|
-
return {
|
|
3
|
-
'.alert-banner': {
|
|
4
|
-
'@apply p-md': {},
|
|
5
|
-
'&-content': {
|
|
6
|
-
'@apply w-full m-auto flex': {},
|
|
7
|
-
'&-wrapper': {
|
|
8
|
-
'@apply flex-grow flex': {}
|
|
9
|
-
}
|
|
10
|
-
},
|
|
11
|
-
'&-icon': {
|
|
12
|
-
'@apply mr-[10px]': {}
|
|
13
|
-
},
|
|
14
|
-
'&-children': {
|
|
15
|
-
'@apply w-full underline inline-block max-w-[800px] text-body text-base': {}
|
|
16
|
-
},
|
|
17
|
-
'&-close': {
|
|
18
|
-
'@apply p-4 -m-4 flex flex-col': {}
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
'.tab': {
|
|
22
|
-
'@apply mr-[10px] bg-white pt-4 pb-3 px-4 rounded-b-button shadow-[rgba(0,_0,_0,_0.24)_0px_1.5px_4px]': {}
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
//# sourceMappingURL=alert-banner.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"alert-banner.js","names":["module","exports","Modal"],"sources":["../../../src/components/alert-banner.js"],"sourcesContent":["module.exports = Modal = () => ({\r\n '.alert-banner': {\r\n '@apply p-md': {},\r\n\r\n '&-content': {\r\n '@apply w-full m-auto flex': {},\r\n\r\n '&-wrapper': {\r\n '@apply flex-grow flex': {},\r\n },\r\n },\r\n\r\n '&-icon': {\r\n '@apply mr-[10px]': {},\r\n },\r\n\r\n '&-children': {\r\n '@apply w-full underline inline-block max-w-[800px] text-body text-base': {},\r\n },\r\n\r\n '&-close': {\r\n '@apply p-4 -m-4 flex flex-col': {},\r\n },\r\n },\r\n\r\n '.tab': {\r\n '@apply mr-[10px] bg-white pt-4 pb-3 px-4 rounded-b-button shadow-[rgba(0,_0,_0,_0.24)_0px_1.5px_4px]': {},\r\n },\r\n});\r\n"],"mappings":"AAAAA,MAAM,CAACC,OAAO,GAAGC,KAAK,GAAG,SAAAA,MAAA;EAAA,OAAO;IAC9B,eAAe,EAAE;MACf,aAAa,EAAE,CAAC,CAAC;MAEjB,WAAW,EAAE;QACX,2BAA2B,EAAE,CAAC,CAAC;QAE/B,WAAW,EAAE;UACX,uBAAuB,EAAE,CAAC;QAC5B;MACF,CAAC;MAED,QAAQ,EAAE;QACR,kBAAkB,EAAE,CAAC;MACvB,CAAC;MAED,YAAY,EAAE;QACZ,wEAAwE,EAAE,CAAC;MAC7E,CAAC;MAED,SAAS,EAAE;QACT,+BAA+B,EAAE,CAAC;MACpC;IACF,CAAC;IAED,MAAM,EAAE;MACN,sGAAsG,EAAE,CAAC;IAC3G;EACF,CAAC;AAAA,CAAC"}
|