@sdata/web-vue 3.18.0 → 3.20.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/sd.css +489 -0
- package/dist/sd.min.css +2 -2
- package/es/_components/icon-hover.vue.d.ts +1 -1
- package/es/_components/input-label/input-label.d.ts +13 -1
- package/es/_components/input-label/input-label.js +35 -5
- package/es/_components/input-label/style/index.css +6 -0
- package/es/_components/input-label/style/input-label.scss +8 -0
- package/es/_components/picker/input-range.vue.d.ts +24 -1
- package/es/_components/picker/input-range.vue_vue_type_script_setup_true_lang.js +42 -6
- package/es/_components/picker/input.vue.d.ts +24 -1
- package/es/_components/picker/input.vue_vue_type_script_setup_true_lang.js +31 -4
- package/es/_components/picker/style/index.scss +8 -0
- package/es/_components/select-view/select-view.d.ts +15 -3
- package/es/_components/select-view/select-view.js +10 -1
- package/es/_components/select-view/style/index.css +12 -0
- package/es/_components/virtual-list/virtual-list.vue.d.ts +6 -6
- package/es/_hooks/use-fit-width.d.ts +22 -0
- package/es/_hooks/use-fit-width.js +76 -0
- package/es/_hooks/use-form-item.d.ts +1 -1
- package/es/_hooks/use-size.d.ts +1 -1
- package/es/anchor/anchor.vue.d.ts +1 -1
- package/es/anchor/index.d.ts +3 -3
- package/es/auto-complete/auto-complete.d.ts +20 -2
- package/es/auto-complete/auto-complete.js +18 -0
- package/es/auto-complete/index.d.ts +36 -6
- package/es/basic-crud-table/basic-crud-table.vue.d.ts +2 -2
- package/es/basic-crud-table/basic-crud-table.vue_vue_type_script_setup_true_lang.js +6 -4
- package/es/basic-crud-table/index.d.ts +5 -5
- package/es/basic-crud-table/types.d.ts +2 -0
- package/es/button/button.vue.d.ts +2 -2
- package/es/button/index.d.ts +6 -6
- package/es/card/card.d.ts +25 -3
- package/es/card/card.js +11 -2
- package/es/card/index.d.ts +45 -6
- package/es/carousel/carousel-indicator.vue.d.ts +1 -1
- package/es/cascader/base-cascader-panel.d.ts +4 -1
- package/es/cascader/base-cascader-panel.js +2 -1
- package/es/cascader/cascader-option.d.ts +1 -1
- package/es/cascader/cascader-panel.vue.d.ts +1 -1
- package/es/cascader/cascader-search-panel.d.ts +4 -1
- package/es/cascader/cascader-search-panel.js +2 -1
- package/es/cascader/cascader.vue.d.ts +7 -5
- package/es/cascader/cascader.vue_vue_type_script_setup_true_lang.js +22 -2
- package/es/cascader/types.d.ts +4 -1
- package/es/checkbox/checkbox.d.ts +3 -3
- package/es/checkbox/index.d.ts +6 -6
- package/es/collapse/collapse-item.d.ts +3 -3
- package/es/collapse/index.d.ts +3 -3
- package/es/color-picker/color-picker.d.ts +2 -2
- package/es/color-picker/index.d.ts +6 -6
- package/es/components.d.ts +4 -0
- package/es/config-provider/config-provider.vue.d.ts +68 -1
- package/es/config-provider/config-provider.vue_vue_type_script_setup_true_lang.js +67 -1
- package/es/config-provider/context.d.ts +12 -0
- package/es/config-provider/index.d.ts +102 -3
- package/es/date-picker/index.d.ts +87 -23
- package/es/date-picker/interface.d.ts +2 -1
- package/es/date-picker/picker-panel.vue.d.ts +1 -1
- package/es/date-picker/picker.vue.d.ts +39 -17
- package/es/date-picker/picker.vue_vue_type_script_setup_true_lang.js +30 -1
- package/es/date-picker/pickers/date-picker.d.ts +18 -0
- package/es/date-picker/pickers/date-picker.js +16 -0
- package/es/date-picker/range-picker-panel.vue.d.ts +1 -1
- package/es/date-picker/range-picker.vue.d.ts +39 -17
- package/es/date-picker/range-picker.vue_vue_type_script_setup_true_lang.js +27 -1
- package/es/date-picker/style/index.css +6 -0
- package/es/descriptions/descriptions.d.ts +3 -3
- package/es/descriptions/index.d.ts +9 -9
- package/es/divider/divider.d.ts +1 -1
- package/es/divider/index.d.ts +3 -3
- package/es/drawer/drawer.vue.d.ts +4 -4
- package/es/drawer/drawer.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/drawer/index.d.ts +11 -11
- package/es/dropdown/dropdown-button.vue.d.ts +2 -2
- package/es/dropdown/dropdown-option.vue.d.ts +1 -1
- package/es/dropdown/dropdown-submenu.vue.d.ts +2 -2
- package/es/dropdown/dropdown.vue.d.ts +1 -1
- package/es/dropdown/index.d.ts +21 -21
- package/es/ellipsis/ellipsis.vue.d.ts +1 -1
- package/es/ellipsis/index.d.ts +6 -6
- package/es/ellipsis/performant-ellipsis.vue.d.ts +1 -1
- package/es/form/form-item.vue.d.ts +1 -1
- package/es/form/form.vue.d.ts +1 -1
- package/es/form/index.d.ts +9 -9
- package/es/grid/grid-row.vue.d.ts +3 -3
- package/es/grid/index.d.ts +9 -9
- package/es/icon/icon-arrow-up/icon-arrow-up.js +5 -0
- package/es/icon/icon-arrow-up/icon-arrow-up.vue_vue_type_script_setup_true_lang.js +52 -0
- package/es/icon/icon-arrow-up/index.js +9 -0
- package/es/icon/icon-mute/icon-mute.js +5 -0
- package/es/icon/icon-mute/icon-mute.vue_vue_type_script_setup_true_lang.js +52 -0
- package/es/icon/icon-mute/index.js +9 -0
- package/es/icon/icon-voice/icon-voice.js +5 -0
- package/es/icon/icon-voice/icon-voice.vue_vue_type_script_setup_true_lang.js +52 -0
- package/es/icon/icon-voice/index.js +9 -0
- package/es/image/preview-action.d.ts +6 -6
- package/es/image/preview-group.vue.d.ts +1 -1
- package/es/index.css +489 -0
- package/es/index.d.ts +6 -1
- package/es/index.js +5 -1
- package/es/index.scss +2 -0
- package/es/input/index.d.ts +99 -6
- package/es/input/input-password.vue.d.ts +18 -0
- package/es/input/input-password.vue_vue_type_script_setup_true_lang.js +24 -2
- package/es/input/input-search.d.ts +18 -0
- package/es/input/input-search.js +20 -2
- package/es/input/input.d.ts +29 -2
- package/es/input/input.js +45 -3
- package/es/input/style/index.css +16 -0
- package/es/input/style/index.scss +21 -0
- package/es/input-number/index.d.ts +36 -6
- package/es/input-number/input-number.d.ts +20 -2
- package/es/input-number/input-number.js +19 -0
- package/es/input-tag/index.d.ts +36 -6
- package/es/input-tag/input-tag.d.ts +20 -2
- package/es/input-tag/input-tag.js +35 -4
- package/es/input-tag/style/index.css +6 -0
- package/es/input-tag/style/input-tag.scss +8 -0
- package/es/kv-list/index.d.ts +72 -32
- package/es/link/index.d.ts +6 -6
- package/es/link/link.vue.d.ts +2 -2
- package/es/list/index.d.ts +9 -0
- package/es/list/list.d.ts +7 -0
- package/es/list/list.js +8 -2
- package/es/locale/interface.d.ts +22 -0
- package/es/locale/lang/ar-eg.js +21 -1
- package/es/locale/lang/de-de.js +21 -1
- package/es/locale/lang/en-us.js +21 -1
- package/es/locale/lang/es-es.js +21 -1
- package/es/locale/lang/fr-fr.js +21 -1
- package/es/locale/lang/id-id.js +21 -1
- package/es/locale/lang/it-it.js +21 -1
- package/es/locale/lang/ja-jp.js +21 -1
- package/es/locale/lang/km-kh.js +21 -1
- package/es/locale/lang/ko-kr.js +21 -1
- package/es/locale/lang/ms-my.js +21 -1
- package/es/locale/lang/nl-nl.js +21 -1
- package/es/locale/lang/pt-pt.js +21 -1
- package/es/locale/lang/ru-ru.js +21 -1
- package/es/locale/lang/th-th.js +21 -1
- package/es/locale/lang/vi-vn.js +21 -1
- package/es/locale/lang/zh-cn.js +21 -1
- package/es/locale/lang/zh-tw.js +21 -1
- package/es/mention/index.d.ts +39 -9
- package/es/mention/mention.d.ts +21 -3
- package/es/mention/mention.js +24 -1
- package/es/mention/style/index.css +6 -0
- package/es/mention/style/index.scss +8 -0
- package/es/menu/item.d.ts +1 -1
- package/es/message/message-list.d.ts +1 -1
- package/es/modal/index.d.ts +9 -9
- package/es/modal/modal.vue.d.ts +3 -3
- package/es/modal/modal.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/popconfirm/index.d.ts +3 -3
- package/es/popconfirm/popconfirm.vue.d.ts +1 -1
- package/es/popover/index.d.ts +6 -6
- package/es/popover/popover.vue.d.ts +2 -2
- package/es/progress/circle.vue.d.ts +1 -1
- package/es/progress/line.vue.d.ts +1 -1
- package/es/qr-code/index.d.ts +27 -21
- package/es/qr-code/qr-code.vue.d.ts +8 -6
- package/es/qr-code/qr-code.vue_vue_type_script_setup_true_lang.js +5 -2
- package/es/radio/index.d.ts +6 -6
- package/es/radio/radio.d.ts +3 -3
- package/es/rate/index.d.ts +3 -3
- package/es/rate/rate.d.ts +1 -1
- package/es/resize-box/index.d.ts +5 -5
- package/es/resize-box/resize-box.vue.d.ts +3 -3
- package/es/rich-text-editor/built-in-components.d.ts +5 -0
- package/es/rich-text-editor/built-in-components.js +6 -0
- package/es/rich-text-editor/index.d.ts +195 -0
- package/es/rich-text-editor/index.js +12 -0
- package/es/rich-text-editor/nodes/inline-component-node.d.ts +30 -0
- package/es/rich-text-editor/nodes/inline-component-node.js +86 -0
- package/es/rich-text-editor/rich-text-editor.js +5 -0
- package/es/rich-text-editor/rich-text-editor.vue.d.ts +76 -0
- package/es/rich-text-editor/rich-text-editor.vue_vue_type_script_setup_true_lang.js +630 -0
- package/es/rich-text-editor/rich-text-node-renderer.js +5 -0
- package/es/rich-text-editor/rich-text-node-renderer.vue.d.ts +28 -0
- package/es/rich-text-editor/rich-text-node-renderer.vue_vue_type_script_setup_true_lang.js +133 -0
- package/es/rich-text-editor/style/css.js +2 -0
- package/es/rich-text-editor/style/index.css +164 -0
- package/es/rich-text-editor/style/index.d.ts +2 -0
- package/es/rich-text-editor/style/index.js +2 -0
- package/es/rich-text-editor/style/index.scss +193 -0
- package/es/rich-text-editor/style/token.scss +36 -0
- package/es/rich-text-editor/types.d.ts +148 -0
- package/es/sd-vue.js +6 -0
- package/es/select/index.d.ts +117 -54
- package/es/select/interface.d.ts +2 -1
- package/es/select/select-dropdown.vue.d.ts +3 -0
- package/es/select/select-dropdown.vue_vue_type_script_setup_true_lang.js +2 -4
- package/es/select/select.d.ts +62 -25
- package/es/select/select.js +28 -1
- package/es/sender/context.d.ts +8 -0
- package/es/sender/context.js +4 -0
- package/es/sender/index.d.ts +119 -0
- package/es/sender/index.js +20 -0
- package/es/sender/sender-header.js +5 -0
- package/es/sender/sender-header.vue.d.ts +28 -0
- package/es/sender/sender-header.vue_vue_type_script_setup_true_lang.js +127 -0
- package/es/sender/sender-switch.js +5 -0
- package/es/sender/sender-switch.vue.d.ts +32 -0
- package/es/sender/sender-switch.vue_vue_type_script_setup_true_lang.js +95 -0
- package/es/sender/sender.js +5 -0
- package/es/sender/sender.vue_vue_type_script_setup_true_lang.js +895 -0
- package/es/sender/style/css.js +3 -0
- package/es/sender/style/index.css +301 -0
- package/es/sender/style/index.d.ts +3 -0
- package/es/sender/style/index.js +3 -0
- package/es/sender/style/index.scss +359 -0
- package/es/sender/style/token.scss +43 -0
- package/es/sender/types.d.ts +228 -0
- package/es/sender/use-speech.d.ts +19 -0
- package/es/sender/use-speech.js +338 -0
- package/es/slider/index.d.ts +3 -3
- package/es/slider/slider-input.vue.d.ts +1 -1
- package/es/slider/slider.vue.d.ts +1 -1
- package/es/space/index.d.ts +9 -9
- package/es/space/space.d.ts +2 -2
- package/es/spin/index.d.ts +18 -3
- package/es/spin/spin.d.ts +10 -1
- package/es/spin/spin.js +72 -10
- package/es/statistic/index.d.ts +3 -3
- package/es/statistic/statistic.vue.d.ts +1 -1
- package/es/steps/index.d.ts +5 -5
- package/es/steps/step.vue.d.ts +2 -2
- package/es/steps/steps.vue.d.ts +1 -1
- package/es/table/index.d.ts +68 -23
- package/es/table/interface.d.ts +3 -0
- package/es/table/table-column.d.ts +1 -1
- package/es/table/table-operation-td.d.ts +12 -12
- package/es/table/table-td.d.ts +2 -2
- package/es/table/table.d.ts +27 -8
- package/es/table/table.js +7 -2
- package/es/tabs/index.d.ts +12 -12
- package/es/tabs/tabs-nav.d.ts +1 -1
- package/es/tabs/tabs.d.ts +4 -4
- package/es/tag/index.d.ts +6 -6
- package/es/tag/tag.vue.d.ts +2 -2
- package/es/textarea/index.d.ts +38 -8
- package/es/textarea/style/index.css +6 -0
- package/es/textarea/style/index.scss +8 -0
- package/es/textarea/textarea.vue.d.ts +21 -3
- package/es/textarea/textarea.vue_vue_type_script_setup_true_lang.js +36 -3
- package/es/time-picker/index.d.ts +36 -6
- package/es/time-picker/interface.d.ts +2 -1
- package/es/time-picker/range-panel.js +58 -0
- package/es/time-picker/time-picker.vue.d.ts +20 -2
- package/es/time-picker/time-picker.vue_vue_type_script_setup_true_lang.js +30 -1
- package/es/timeline/index.d.ts +45 -6
- package/es/timeline/timeline.d.ts +25 -3
- package/es/timeline/timeline.js +11 -2
- package/es/toolbar/toolbar.vue_vue_type_script_setup_true_lang.js +9 -5
- package/es/toolbar/types.d.ts +2 -0
- package/es/tooltip/index.d.ts +6 -6
- package/es/tooltip/tooltip.vue.d.ts +2 -2
- package/es/tour/index.d.ts +3 -3
- package/es/tour/tour.vue.d.ts +1 -1
- package/es/transfer/index.d.ts +3 -3
- package/es/transfer/transfer.vue.d.ts +1 -1
- package/es/tree/tree.vue.d.ts +4 -4
- package/es/tree-select/interface.d.ts +2 -1
- package/es/tree-select/tree-select.vue.d.ts +32 -7
- package/es/tree-select/tree-select.vue_vue_type_script_setup_true_lang.js +27 -1
- package/es/trigger/index.d.ts +12 -12
- package/es/trigger/trigger.d.ts +4 -4
- package/es/typography/base.d.ts +4 -4
- package/es/typography/edit-content.vue.d.ts +2 -2
- package/es/upload/index.d.ts +6 -6
- package/es/upload/upload-button.d.ts +1 -1
- package/es/upload/upload.d.ts +2 -2
- package/es/verification-code/index.d.ts +3 -3
- package/es/verification-code/verification-code.d.ts +1 -1
- package/es/watermark/index.d.ts +3 -3
- package/es/watermark/watermark.d.ts +1 -1
- package/json/vetur-attributes.json +295 -2
- package/json/vetur-tags.json +103 -3
- package/json/web-types.json +746 -53
- package/package.json +10 -1
package/dist/sd.css
CHANGED
|
@@ -2538,6 +2538,12 @@ body {
|
|
|
2538
2538
|
.sd-select-view-single {
|
|
2539
2539
|
cursor: pointer;
|
|
2540
2540
|
}
|
|
2541
|
+
.sd-select-view-single.sd-select-view-fit-width {
|
|
2542
|
+
width: fit-content;
|
|
2543
|
+
}
|
|
2544
|
+
.sd-select-view-single.sd-select-view-max-w-full {
|
|
2545
|
+
max-width: 100%;
|
|
2546
|
+
}
|
|
2541
2547
|
.sd-select-view-single .sd-select-view-input {
|
|
2542
2548
|
width: 100%;
|
|
2543
2549
|
padding-right: 0;
|
|
@@ -2738,6 +2744,12 @@ body {
|
|
|
2738
2744
|
max-width: 100%;
|
|
2739
2745
|
overflow: hidden;
|
|
2740
2746
|
}
|
|
2747
|
+
.sd-select-view-multiple.sd-select-view-fit-width {
|
|
2748
|
+
width: fit-content;
|
|
2749
|
+
}
|
|
2750
|
+
.sd-select-view-multiple.sd-select-view-max-w-full {
|
|
2751
|
+
max-width: 100%;
|
|
2752
|
+
}
|
|
2741
2753
|
.sd-select-view-multiple.sd-select-view-has-tag {
|
|
2742
2754
|
padding-right: 4px;
|
|
2743
2755
|
padding-left: 4px;
|
|
@@ -3000,6 +3012,12 @@ body {
|
|
|
3000
3012
|
border-radius: var(--sd-border-radius-small);
|
|
3001
3013
|
transition: color 0.1s cubic-bezier(0.34, 0.69, 0.1, 1), background-color 0.1s cubic-bezier(0.34, 0.69, 0.1, 1), border-color 0.1s cubic-bezier(0.34, 0.69, 0.1, 1), box-shadow 0.1s cubic-bezier(0.34, 0.69, 0.1, 1);
|
|
3002
3014
|
}
|
|
3015
|
+
.sd-picker.sd-picker-fit-width {
|
|
3016
|
+
width: fit-content;
|
|
3017
|
+
}
|
|
3018
|
+
.sd-picker.sd-picker-max-w-full {
|
|
3019
|
+
max-width: 100%;
|
|
3020
|
+
}
|
|
3003
3021
|
.sd-picker-input {
|
|
3004
3022
|
display: inline-flex;
|
|
3005
3023
|
flex: 1;
|
|
@@ -3263,6 +3281,12 @@ body {
|
|
|
3263
3281
|
.sd-input-label {
|
|
3264
3282
|
cursor: pointer;
|
|
3265
3283
|
}
|
|
3284
|
+
.sd-input-label.sd-input-label-fit-width {
|
|
3285
|
+
width: fit-content;
|
|
3286
|
+
}
|
|
3287
|
+
.sd-input-label.sd-input-label-max-w-full {
|
|
3288
|
+
max-width: 100%;
|
|
3289
|
+
}
|
|
3266
3290
|
.sd-input-label .sd-input-label-input {
|
|
3267
3291
|
width: 100%;
|
|
3268
3292
|
padding-right: 0;
|
|
@@ -5257,6 +5281,12 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
5257
5281
|
padding-left: 0;
|
|
5258
5282
|
overflow: hidden;
|
|
5259
5283
|
}
|
|
5284
|
+
.sd-textarea-wrapper.sd-textarea-fit-width {
|
|
5285
|
+
width: fit-content;
|
|
5286
|
+
}
|
|
5287
|
+
.sd-textarea-wrapper.sd-textarea-max-w-full {
|
|
5288
|
+
max-width: 100%;
|
|
5289
|
+
}
|
|
5260
5290
|
.sd-textarea-wrapper .sd-textarea-word-limit {
|
|
5261
5291
|
position: absolute;
|
|
5262
5292
|
right: 10px;
|
|
@@ -8545,6 +8575,290 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
8545
8575
|
border-top: 1px solid var(--sd-color-fill-3);
|
|
8546
8576
|
}
|
|
8547
8577
|
|
|
8578
|
+
.sd-sender {
|
|
8579
|
+
box-sizing: border-box;
|
|
8580
|
+
}
|
|
8581
|
+
.sd-sender-main {
|
|
8582
|
+
position: relative;
|
|
8583
|
+
width: 100%;
|
|
8584
|
+
overflow: hidden;
|
|
8585
|
+
background: #fff;
|
|
8586
|
+
border: 1px solid color-mix(in srgb, var(--sd-color-neutral-3) 10%, transparent);
|
|
8587
|
+
border-radius: calc(var(--sd-border-radius-medium) * 2);
|
|
8588
|
+
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.03), 0 1px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px 0 rgba(0, 0, 0, 0.02);
|
|
8589
|
+
}
|
|
8590
|
+
.sd-sender-disabled {
|
|
8591
|
+
background: var(--sd-color-neutral-2);
|
|
8592
|
+
border-color: transparent;
|
|
8593
|
+
}
|
|
8594
|
+
.sd-sender-content {
|
|
8595
|
+
display: flex;
|
|
8596
|
+
gap: 8px;
|
|
8597
|
+
align-items: flex-end;
|
|
8598
|
+
box-sizing: border-box;
|
|
8599
|
+
width: 100%;
|
|
8600
|
+
padding-block: 12px;
|
|
8601
|
+
padding-inline: 12px;
|
|
8602
|
+
}
|
|
8603
|
+
.sd-sender-prefix, .sd-sender-actions-list {
|
|
8604
|
+
flex: none;
|
|
8605
|
+
}
|
|
8606
|
+
.sd-sender-input {
|
|
8607
|
+
flex: auto;
|
|
8608
|
+
align-self: center;
|
|
8609
|
+
min-width: 0;
|
|
8610
|
+
padding: 0;
|
|
8611
|
+
color: var(--sd-color-neutral-10);
|
|
8612
|
+
font-size: 14px;
|
|
8613
|
+
caret-color: rgb(var(--sd-primary-6));
|
|
8614
|
+
background: transparent;
|
|
8615
|
+
border: 0;
|
|
8616
|
+
border-radius: 0;
|
|
8617
|
+
outline: none;
|
|
8618
|
+
}
|
|
8619
|
+
.sd-sender-input.sd-sender-input.sd-textarea-wrapper {
|
|
8620
|
+
overflow: visible;
|
|
8621
|
+
background: transparent;
|
|
8622
|
+
border: 0;
|
|
8623
|
+
box-shadow: none;
|
|
8624
|
+
}
|
|
8625
|
+
.sd-sender-input.sd-sender-input.sd-textarea-wrapper .sd-textarea {
|
|
8626
|
+
min-height: 32px;
|
|
8627
|
+
padding: 5px 0;
|
|
8628
|
+
background: transparent;
|
|
8629
|
+
border: 0;
|
|
8630
|
+
box-shadow: none;
|
|
8631
|
+
}
|
|
8632
|
+
.sd-sender-input.sd-sender-input.sd-textarea-wrapper .sd-textarea:focus, .sd-sender-input.sd-sender-input.sd-textarea-wrapper .sd-textarea:focus-visible {
|
|
8633
|
+
border: 0;
|
|
8634
|
+
outline: 0;
|
|
8635
|
+
box-shadow: none;
|
|
8636
|
+
}
|
|
8637
|
+
.sd-sender-actions-list {
|
|
8638
|
+
display: flex;
|
|
8639
|
+
}
|
|
8640
|
+
.sd-sender-actions-list-presets {
|
|
8641
|
+
display: flex;
|
|
8642
|
+
gap: 8px;
|
|
8643
|
+
}
|
|
8644
|
+
.sd-sender-actions-btn.sd-button-text {
|
|
8645
|
+
color: rgb(var(--sd-primary-6));
|
|
8646
|
+
}
|
|
8647
|
+
.sd-sender-actions-btn-disabled.sd-button-text {
|
|
8648
|
+
color: color-mix(in srgb, rgb(var(--sd-primary-6)) 45%, transparent);
|
|
8649
|
+
border-color: transparent;
|
|
8650
|
+
}
|
|
8651
|
+
.sd-sender-actions-btn-disabled:not(.sd-button-text) {
|
|
8652
|
+
color: #fff;
|
|
8653
|
+
background: color-mix(in srgb, rgb(var(--sd-primary-6)) 45%, transparent);
|
|
8654
|
+
border-color: transparent;
|
|
8655
|
+
}
|
|
8656
|
+
.sd-sender-actions-btn-loading-button {
|
|
8657
|
+
padding: 0;
|
|
8658
|
+
border: 0;
|
|
8659
|
+
}
|
|
8660
|
+
.sd-sender-actions-btn-loading-icon {
|
|
8661
|
+
width: 32px;
|
|
8662
|
+
height: 32px;
|
|
8663
|
+
vertical-align: top;
|
|
8664
|
+
}
|
|
8665
|
+
.sd-sender-actions-btn-recording-icon {
|
|
8666
|
+
width: 1.2em;
|
|
8667
|
+
height: 1.2em;
|
|
8668
|
+
vertical-align: top;
|
|
8669
|
+
}
|
|
8670
|
+
.sd-sender-loading-spinner {
|
|
8671
|
+
transform-origin: center;
|
|
8672
|
+
animation: sender-loading-rotate 1s linear infinite;
|
|
8673
|
+
}
|
|
8674
|
+
.sd-sender-recording-bar {
|
|
8675
|
+
transform-box: fill-box;
|
|
8676
|
+
transform-origin: center;
|
|
8677
|
+
animation: sender-recording-bar 0.8s ease-in-out infinite;
|
|
8678
|
+
}
|
|
8679
|
+
.sd-sender-footer {
|
|
8680
|
+
display: flex;
|
|
8681
|
+
gap: 8px;
|
|
8682
|
+
align-items: center;
|
|
8683
|
+
box-sizing: border-box;
|
|
8684
|
+
padding-block: 4px 12px;
|
|
8685
|
+
padding-inline: 12px;
|
|
8686
|
+
}
|
|
8687
|
+
.sd-sender-footer-content {
|
|
8688
|
+
flex: auto;
|
|
8689
|
+
min-width: 0;
|
|
8690
|
+
}
|
|
8691
|
+
.sd-sender-footer-suffix {
|
|
8692
|
+
flex: none;
|
|
8693
|
+
margin-inline-start: auto;
|
|
8694
|
+
}
|
|
8695
|
+
.sd-sender-header {
|
|
8696
|
+
overflow: hidden;
|
|
8697
|
+
border-bottom: 1px solid color-mix(in srgb, var(--sd-color-neutral-3) 10%, transparent);
|
|
8698
|
+
}
|
|
8699
|
+
.sd-sender-header-header {
|
|
8700
|
+
display: flex;
|
|
8701
|
+
align-items: center;
|
|
8702
|
+
padding-block: 10px;
|
|
8703
|
+
padding-inline: 16px 8px;
|
|
8704
|
+
font-size: 14px;
|
|
8705
|
+
line-height: 1.5715;
|
|
8706
|
+
background: var(--sd-color-neutral-2);
|
|
8707
|
+
border-radius: calc(var(--sd-border-radius-medium) * 2) calc(var(--sd-border-radius-medium) * 2) 0 0;
|
|
8708
|
+
}
|
|
8709
|
+
.sd-sender-header-title {
|
|
8710
|
+
flex: auto;
|
|
8711
|
+
}
|
|
8712
|
+
.sd-sender-header-close {
|
|
8713
|
+
flex: none;
|
|
8714
|
+
}
|
|
8715
|
+
.sd-sender-header-content {
|
|
8716
|
+
padding: 16px;
|
|
8717
|
+
}
|
|
8718
|
+
.sd-sender-header-motion-enter-active, .sd-sender-header-motion-leave-active {
|
|
8719
|
+
overflow: hidden;
|
|
8720
|
+
transition: height 0.3s cubic-bezier(0.34, 0.69, 0.1, 1), border-color 0.3s cubic-bezier(0.34, 0.69, 0.1, 1);
|
|
8721
|
+
}
|
|
8722
|
+
.sd-sender-input-slot.sd-rich-text-editor {
|
|
8723
|
+
display: block;
|
|
8724
|
+
align-self: center;
|
|
8725
|
+
width: 100%;
|
|
8726
|
+
min-width: 0;
|
|
8727
|
+
padding: 0;
|
|
8728
|
+
background: transparent;
|
|
8729
|
+
border: 0;
|
|
8730
|
+
border-radius: 0;
|
|
8731
|
+
box-shadow: none;
|
|
8732
|
+
}
|
|
8733
|
+
.sd-sender-input-slot.sd-rich-text-editor:hover, .sd-sender-input-slot.sd-rich-text-editor:focus-within {
|
|
8734
|
+
border: 0;
|
|
8735
|
+
box-shadow: none;
|
|
8736
|
+
}
|
|
8737
|
+
.sd-sender-input-slot .sd-rich-text-editor-content {
|
|
8738
|
+
box-sizing: border-box;
|
|
8739
|
+
padding: 0;
|
|
8740
|
+
color: inherit;
|
|
8741
|
+
font: inherit;
|
|
8742
|
+
line-height: inherit;
|
|
8743
|
+
caret-color: rgb(var(--sd-primary-6));
|
|
8744
|
+
outline: none;
|
|
8745
|
+
}
|
|
8746
|
+
.sd-sender-input-slot .sd-rich-text-editor-placeholder {
|
|
8747
|
+
inset-block-start: 0;
|
|
8748
|
+
inset-inline-start: 0;
|
|
8749
|
+
color: var(--sd-color-neutral-4);
|
|
8750
|
+
}
|
|
8751
|
+
.sd-sender-input-slot .sd-rich-text-editor-component {
|
|
8752
|
+
margin-inline: 4px;
|
|
8753
|
+
}
|
|
8754
|
+
.sd-sender-input-slot .sd-rich-text-editor-component-control {
|
|
8755
|
+
min-height: calc(14px * 1.5715 + 2px);
|
|
8756
|
+
font-size: inherit;
|
|
8757
|
+
line-height: inherit;
|
|
8758
|
+
}
|
|
8759
|
+
.sd-sender-input-slot-content {
|
|
8760
|
+
width: 100%;
|
|
8761
|
+
min-height: 32px;
|
|
8762
|
+
white-space: pre-wrap;
|
|
8763
|
+
overflow-wrap: anywhere;
|
|
8764
|
+
cursor: text;
|
|
8765
|
+
}
|
|
8766
|
+
.sd-sender-slot {
|
|
8767
|
+
display: inline-flex;
|
|
8768
|
+
align-items: center;
|
|
8769
|
+
}
|
|
8770
|
+
.sd-sender-skill {
|
|
8771
|
+
display: inline-block;
|
|
8772
|
+
height: calc(14px * 1.5715 + 2px);
|
|
8773
|
+
margin-block: 1px;
|
|
8774
|
+
margin-inline-start: -1px;
|
|
8775
|
+
vertical-align: baseline;
|
|
8776
|
+
word-break: break-all;
|
|
8777
|
+
}
|
|
8778
|
+
.sd-sender-skill-empty::after {
|
|
8779
|
+
display: inline-block;
|
|
8780
|
+
height: inherit;
|
|
8781
|
+
color: var(--sd-color-neutral-4);
|
|
8782
|
+
content: attr(data-placeholder);
|
|
8783
|
+
pointer-events: none;
|
|
8784
|
+
}
|
|
8785
|
+
.sd-sender-skill-wrapper {
|
|
8786
|
+
display: inline-flex;
|
|
8787
|
+
height: 100%;
|
|
8788
|
+
}
|
|
8789
|
+
.sd-sender-skill-tag {
|
|
8790
|
+
display: inline-flex;
|
|
8791
|
+
gap: 4px;
|
|
8792
|
+
align-items: center;
|
|
8793
|
+
height: 100%;
|
|
8794
|
+
color: rgb(var(--sd-primary-6));
|
|
8795
|
+
font-weight: 500;
|
|
8796
|
+
background: color-mix(in srgb, rgb(var(--sd-primary-6)) 8%, transparent);
|
|
8797
|
+
border-radius: var(--sd-border-radius-medium);
|
|
8798
|
+
cursor: pointer;
|
|
8799
|
+
transition: background-color 0.2s cubic-bezier(0.34, 0.69, 0.1, 1);
|
|
8800
|
+
padding-inline: 8px;
|
|
8801
|
+
}
|
|
8802
|
+
.sd-sender-skill-tag:hover {
|
|
8803
|
+
background: color-mix(in srgb, rgb(var(--sd-primary-6)) 15%, transparent);
|
|
8804
|
+
}
|
|
8805
|
+
.sd-sender-skill-tag-close {
|
|
8806
|
+
display: inline-flex;
|
|
8807
|
+
color: rgb(var(--sd-primary-6));
|
|
8808
|
+
font-size: 12px;
|
|
8809
|
+
transition: color 0.2s cubic-bezier(0.34, 0.69, 0.1, 1);
|
|
8810
|
+
}
|
|
8811
|
+
.sd-sender-skill-tag-close:not(.sd-sender-skill-tag-close-disabled):hover {
|
|
8812
|
+
color: rgb(var(--sd-primary-5));
|
|
8813
|
+
}
|
|
8814
|
+
.sd-sender-skill-tag-close-disabled {
|
|
8815
|
+
color: var(--sd-color-neutral-4);
|
|
8816
|
+
cursor: not-allowed;
|
|
8817
|
+
}
|
|
8818
|
+
.sd-sender-skill-holder {
|
|
8819
|
+
width: 10px;
|
|
8820
|
+
height: 100%;
|
|
8821
|
+
}
|
|
8822
|
+
.sd-sender-switch {
|
|
8823
|
+
display: inline-block;
|
|
8824
|
+
}
|
|
8825
|
+
.sd-sender-switch .sd-sender-switch-content:not(:disabled):hover {
|
|
8826
|
+
color: var(--sd-color-neutral-10);
|
|
8827
|
+
background: color-mix(in srgb, var(--sd-color-neutral-3) 4%, transparent);
|
|
8828
|
+
border-color: var(--sd-color-neutral-3);
|
|
8829
|
+
}
|
|
8830
|
+
.sd-sender-switch-checked .sd-sender-switch-content {
|
|
8831
|
+
color: rgb(var(--sd-primary-6));
|
|
8832
|
+
background: color-mix(in srgb, rgb(var(--sd-primary-6)) 8%, transparent);
|
|
8833
|
+
border-color: rgb(var(--sd-primary-6));
|
|
8834
|
+
}
|
|
8835
|
+
.sd-sender-switch-checked .sd-sender-switch-content:not(:disabled):hover {
|
|
8836
|
+
color: rgb(var(--sd-primary-6));
|
|
8837
|
+
background: color-mix(in srgb, rgb(var(--sd-primary-6)) 10%, transparent);
|
|
8838
|
+
border-color: rgb(var(--sd-primary-6));
|
|
8839
|
+
}
|
|
8840
|
+
|
|
8841
|
+
@keyframes sender-loading-rotate {
|
|
8842
|
+
to {
|
|
8843
|
+
transform: rotate(360deg);
|
|
8844
|
+
}
|
|
8845
|
+
}
|
|
8846
|
+
@keyframes sender-recording-bar {
|
|
8847
|
+
0%, 100% {
|
|
8848
|
+
transform: scaleY(1);
|
|
8849
|
+
}
|
|
8850
|
+
50% {
|
|
8851
|
+
transform: scaleY(2);
|
|
8852
|
+
}
|
|
8853
|
+
}
|
|
8854
|
+
@media (prefers-reduced-motion: reduce) {
|
|
8855
|
+
.sd-sender-loading-spinner, .sd-sender-recording-bar {
|
|
8856
|
+
animation: none;
|
|
8857
|
+
}
|
|
8858
|
+
.sd-sender-header-motion-enter-active, .sd-sender-header-motion-leave-active {
|
|
8859
|
+
transition-duration: 0.01ms;
|
|
8860
|
+
}
|
|
8861
|
+
}
|
|
8548
8862
|
.sd-secret {
|
|
8549
8863
|
display: inline-flex;
|
|
8550
8864
|
gap: 6px;
|
|
@@ -8745,6 +9059,153 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
8745
9059
|
margin-top: 20px;
|
|
8746
9060
|
}
|
|
8747
9061
|
|
|
9062
|
+
.sd-rich-text-editor {
|
|
9063
|
+
position: relative;
|
|
9064
|
+
box-sizing: border-box;
|
|
9065
|
+
width: 100%;
|
|
9066
|
+
color: var(--sd-color-neutral-10);
|
|
9067
|
+
font-size: 14px;
|
|
9068
|
+
line-height: 1.5715;
|
|
9069
|
+
background: #fff;
|
|
9070
|
+
border: 1px solid var(--sd-color-neutral-3);
|
|
9071
|
+
border-radius: var(--sd-border-radius-medium);
|
|
9072
|
+
transition: border-color 0.2s cubic-bezier(0.34, 0.69, 0.1, 1), box-shadow 0.2s cubic-bezier(0.34, 0.69, 0.1, 1);
|
|
9073
|
+
}
|
|
9074
|
+
.sd-rich-text-editor-focusable:hover {
|
|
9075
|
+
border-color: rgb(var(--sd-primary-5));
|
|
9076
|
+
}
|
|
9077
|
+
.sd-rich-text-editor:focus-within {
|
|
9078
|
+
border-color: rgb(var(--sd-primary-6));
|
|
9079
|
+
box-shadow: 0 0 0 2px color-mix(in srgb, rgb(var(--sd-primary-6)) 15%, transparent);
|
|
9080
|
+
}
|
|
9081
|
+
.sd-rich-text-editor-content {
|
|
9082
|
+
box-sizing: border-box;
|
|
9083
|
+
width: 100%;
|
|
9084
|
+
min-height: calc(14px * 1.5715 + 24px);
|
|
9085
|
+
padding-block: 12px;
|
|
9086
|
+
padding-inline: 16px;
|
|
9087
|
+
white-space: pre-wrap;
|
|
9088
|
+
overflow-wrap: anywhere;
|
|
9089
|
+
outline: none;
|
|
9090
|
+
caret-color: rgb(var(--sd-primary-6));
|
|
9091
|
+
}
|
|
9092
|
+
.sd-rich-text-editor-placeholder {
|
|
9093
|
+
position: absolute;
|
|
9094
|
+
inset-block-start: 12px;
|
|
9095
|
+
inset-inline-start: 16px;
|
|
9096
|
+
overflow: hidden;
|
|
9097
|
+
color: var(--sd-color-neutral-4);
|
|
9098
|
+
white-space: nowrap;
|
|
9099
|
+
text-overflow: ellipsis;
|
|
9100
|
+
pointer-events: none;
|
|
9101
|
+
}
|
|
9102
|
+
.sd-rich-text-editor-disabled {
|
|
9103
|
+
color: var(--sd-color-neutral-4);
|
|
9104
|
+
background: var(--sd-color-neutral-2);
|
|
9105
|
+
cursor: not-allowed;
|
|
9106
|
+
}
|
|
9107
|
+
.sd-rich-text-editor-readonly {
|
|
9108
|
+
cursor: default;
|
|
9109
|
+
}
|
|
9110
|
+
.sd-rich-text-editor-paragraph {
|
|
9111
|
+
margin: 0;
|
|
9112
|
+
}
|
|
9113
|
+
.sd-rich-text-editor-heading-h1, .sd-rich-text-editor-heading-h2, .sd-rich-text-editor-heading-h3, .sd-rich-text-editor-heading-h4, .sd-rich-text-editor-heading-h5, .sd-rich-text-editor-heading-h6 {
|
|
9114
|
+
margin-block: 0 12px;
|
|
9115
|
+
}
|
|
9116
|
+
.sd-rich-text-editor-quote {
|
|
9117
|
+
margin-block: 12px;
|
|
9118
|
+
margin-inline: 0;
|
|
9119
|
+
padding-inline-start: 16px;
|
|
9120
|
+
border-inline-start: 3px solid var(--sd-color-neutral-4);
|
|
9121
|
+
}
|
|
9122
|
+
.sd-rich-text-editor-list-ordered, .sd-rich-text-editor-list-unordered {
|
|
9123
|
+
margin-block: 12px;
|
|
9124
|
+
padding-inline-start: 32px;
|
|
9125
|
+
}
|
|
9126
|
+
.sd-rich-text-editor-list-item-nested {
|
|
9127
|
+
list-style: none;
|
|
9128
|
+
}
|
|
9129
|
+
.sd-rich-text-editor-link {
|
|
9130
|
+
color: rgb(var(--sd-link-6));
|
|
9131
|
+
text-decoration: underline;
|
|
9132
|
+
}
|
|
9133
|
+
.sd-rich-text-editor-code {
|
|
9134
|
+
display: block;
|
|
9135
|
+
padding: 16px;
|
|
9136
|
+
overflow-x: auto;
|
|
9137
|
+
font-family: consolas, menlo;
|
|
9138
|
+
white-space: pre;
|
|
9139
|
+
background: var(--sd-color-neutral-2);
|
|
9140
|
+
border-radius: var(--sd-border-radius-medium);
|
|
9141
|
+
}
|
|
9142
|
+
.sd-rich-text-editor-text-bold {
|
|
9143
|
+
font-weight: 600;
|
|
9144
|
+
}
|
|
9145
|
+
.sd-rich-text-editor-text-italic {
|
|
9146
|
+
font-style: italic;
|
|
9147
|
+
}
|
|
9148
|
+
.sd-rich-text-editor-text-underline {
|
|
9149
|
+
text-decoration: underline;
|
|
9150
|
+
}
|
|
9151
|
+
.sd-rich-text-editor-text-strikethrough {
|
|
9152
|
+
text-decoration: line-through;
|
|
9153
|
+
}
|
|
9154
|
+
.sd-rich-text-editor-text-code {
|
|
9155
|
+
padding-inline: 4px;
|
|
9156
|
+
font-family: consolas, menlo;
|
|
9157
|
+
background: var(--sd-color-neutral-2);
|
|
9158
|
+
border-radius: var(--sd-border-radius-medium);
|
|
9159
|
+
}
|
|
9160
|
+
.sd-rich-text-editor-component {
|
|
9161
|
+
display: inline-flex;
|
|
9162
|
+
gap: 4px;
|
|
9163
|
+
align-items: center;
|
|
9164
|
+
margin-inline: 4px;
|
|
9165
|
+
vertical-align: middle;
|
|
9166
|
+
}
|
|
9167
|
+
.sd-rich-text-editor-component-selected {
|
|
9168
|
+
border-radius: var(--sd-border-radius-medium);
|
|
9169
|
+
outline: 2px solid rgb(var(--sd-primary-6));
|
|
9170
|
+
outline-offset: 1px;
|
|
9171
|
+
}
|
|
9172
|
+
.sd-rich-text-editor-component-input > .sd-input-wrapper, .sd-rich-text-editor-component-select > .sd-select-view {
|
|
9173
|
+
display: inline-flex;
|
|
9174
|
+
background: color-mix(in srgb, rgb(var(--sd-primary-6)) 6%, transparent);
|
|
9175
|
+
}
|
|
9176
|
+
.sd-rich-text-editor-component-control {
|
|
9177
|
+
max-width: 100%;
|
|
9178
|
+
vertical-align: middle;
|
|
9179
|
+
}
|
|
9180
|
+
.sd-rich-text-editor-component-stretch {
|
|
9181
|
+
display: inline-flex;
|
|
9182
|
+
width: 12em;
|
|
9183
|
+
max-width: none;
|
|
9184
|
+
}
|
|
9185
|
+
.sd-rich-text-editor-component-stretch > * {
|
|
9186
|
+
box-sizing: border-box;
|
|
9187
|
+
width: 100%;
|
|
9188
|
+
}
|
|
9189
|
+
.sd-rich-text-editor-component-rangePicker {
|
|
9190
|
+
width: 22em;
|
|
9191
|
+
}
|
|
9192
|
+
.sd-rich-text-editor-component-tag {
|
|
9193
|
+
margin: 0;
|
|
9194
|
+
}
|
|
9195
|
+
.sd-rich-text-editor-component-fallback {
|
|
9196
|
+
display: inline-flex;
|
|
9197
|
+
align-items: center;
|
|
9198
|
+
min-height: 1.5em;
|
|
9199
|
+
padding-inline: 4px;
|
|
9200
|
+
background: color-mix(in srgb, rgb(var(--sd-primary-6)) 6%, transparent);
|
|
9201
|
+
border-radius: var(--sd-border-radius-medium);
|
|
9202
|
+
}
|
|
9203
|
+
|
|
9204
|
+
@media (prefers-reduced-motion: reduce) {
|
|
9205
|
+
.sd-rich-text-editor {
|
|
9206
|
+
transition-duration: 0.01ms;
|
|
9207
|
+
}
|
|
9208
|
+
}
|
|
8748
9209
|
.sd-resizebox {
|
|
8749
9210
|
position: relative;
|
|
8750
9211
|
width: 100%;
|
|
@@ -11183,6 +11644,12 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
11183
11644
|
box-sizing: border-box;
|
|
11184
11645
|
width: 100%;
|
|
11185
11646
|
}
|
|
11647
|
+
.sd-mention.sd-mention-fit-width {
|
|
11648
|
+
width: fit-content;
|
|
11649
|
+
}
|
|
11650
|
+
.sd-mention.sd-mention-max-w-full {
|
|
11651
|
+
max-width: 100%;
|
|
11652
|
+
}
|
|
11186
11653
|
.sd-mention-measure {
|
|
11187
11654
|
position: absolute;
|
|
11188
11655
|
inset: 0;
|
|
@@ -11741,6 +12208,12 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
11741
12208
|
max-width: 100%;
|
|
11742
12209
|
overflow: hidden;
|
|
11743
12210
|
}
|
|
12211
|
+
.sd-input-tag.sd-input-tag-fit-width {
|
|
12212
|
+
width: fit-content;
|
|
12213
|
+
}
|
|
12214
|
+
.sd-input-tag.sd-input-tag-max-w-full {
|
|
12215
|
+
max-width: 100%;
|
|
12216
|
+
}
|
|
11744
12217
|
.sd-input-tag.sd-input-tag-has-tag {
|
|
11745
12218
|
padding-right: 4px;
|
|
11746
12219
|
padding-left: 4px;
|
|
@@ -12228,6 +12701,12 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
12228
12701
|
.sd-input-wrapper:not(.sd-input-focus) .sd-input-icon-hover:hover::before {
|
|
12229
12702
|
background-color: var(--sd-color-fill-4);
|
|
12230
12703
|
}
|
|
12704
|
+
.sd-input-wrapper.sd-input-fit-width {
|
|
12705
|
+
width: fit-content;
|
|
12706
|
+
}
|
|
12707
|
+
.sd-input-wrapper.sd-input-max-w-full {
|
|
12708
|
+
max-width: 100%;
|
|
12709
|
+
}
|
|
12231
12710
|
.sd-input-wrapper .sd-input {
|
|
12232
12711
|
width: 100%;
|
|
12233
12712
|
padding-right: 0;
|
|
@@ -12292,6 +12771,16 @@ body.sd-tour-active .sd-tour-popover * {
|
|
|
12292
12771
|
display: inline-flex;
|
|
12293
12772
|
width: 100%;
|
|
12294
12773
|
}
|
|
12774
|
+
.sd-input-outer.sd-input-fit-width {
|
|
12775
|
+
width: fit-content;
|
|
12776
|
+
}
|
|
12777
|
+
.sd-input-outer.sd-input-fit-width > .sd-input-wrapper {
|
|
12778
|
+
flex: 0 1 auto;
|
|
12779
|
+
width: auto;
|
|
12780
|
+
}
|
|
12781
|
+
.sd-input-outer.sd-input-max-w-full {
|
|
12782
|
+
max-width: 100%;
|
|
12783
|
+
}
|
|
12295
12784
|
.sd-input-outer > .sd-input-wrapper {
|
|
12296
12785
|
border-radius: 0;
|
|
12297
12786
|
}
|