yc-agent-ui 1.2.3 → 1.2.5

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.
Files changed (156) hide show
  1. package/es/components/descriptions/index.d.ts +3 -3
  2. package/es/components/descriptions/src/index.vue.d.ts +1 -1
  3. package/es/components/dialog/index.d.ts +6 -6
  4. package/es/components/dialog/src/index.vue.d.ts +2 -2
  5. package/es/components/dialog-form/index.d.ts +4 -4
  6. package/es/components/dialog-form/src/index.vue.d.ts +4 -4
  7. package/es/components/display-item/index.d.ts +15 -15
  8. package/es/components/display-item/src/index.vue.d.ts +13 -13
  9. package/es/components/drawer-form/index.d.ts +22 -22
  10. package/es/components/drawer-form/src/index.vue.d.ts +10 -10
  11. package/es/components/form/index.d.ts +43 -43
  12. package/es/components/form/src/form-content.vue.d.ts +15 -15
  13. package/es/components/form/src/index.vue.d.ts +21 -21
  14. package/es/components/form-item/index.d.ts +61 -61
  15. package/es/components/form-item/src/index.vue.d.ts +24 -24
  16. package/es/components/index.d.ts +1 -0
  17. package/es/components/page/index.d.ts +936 -936
  18. package/es/components/page/src/index.vue.d.ts +316 -316
  19. package/es/components/popover/index.d.ts +9 -9
  20. package/es/components/popover/src/index.vue.d.ts +3 -3
  21. package/es/components/search/index.d.ts +282 -282
  22. package/es/components/search/src/index.vue.d.ts +98 -98
  23. package/es/components/table/index.d.ts +9 -9
  24. package/es/components/table/src/index.vue.d.ts +1 -1
  25. package/es/components/table/src/table-column.vue.d.ts +34 -34
  26. package/es/components/utils/index.d.ts +1 -1
  27. package/es/components/yc-ai-chat/index.d.ts +2 -1
  28. package/es/components/yc-ai-chat/src/question-card.vue.d.ts +17 -0
  29. package/es/components/yc-ai-chat/src/question-validation.d.ts +5 -0
  30. package/es/components/yc-ai-chat/src/type.d.ts +51 -0
  31. package/es/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
  32. package/es/components/yc-display-cards/capability.d.ts +4 -0
  33. package/es/components/yc-display-cards/index.d.ts +24 -0
  34. package/es/components/yc-display-cards/src/detail-card.vue.d.ts +10 -0
  35. package/es/components/yc-display-cards/src/metrics-card.vue.d.ts +8 -0
  36. package/es/components/yc-display-cards/src/table-card.vue.d.ts +12 -0
  37. package/es/components/yc-display-cards/src/types.d.ts +47 -0
  38. package/es/components/yc-input/src/input.vue.d.ts +1 -1
  39. package/es/components/yc-input/src/money-input.vue.d.ts +1 -1
  40. package/es/components/yc-plus-page/src/index.vue.d.ts +946 -946
  41. package/es/components/yc-plus-tree/src/index.vue.d.ts +1 -1
  42. package/es/components/yc-questionnaire/src/index.vue.d.ts +1 -1
  43. package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  44. package/es/hooks/usePlusFormReset.d.ts +132 -132
  45. package/es/index.css +11 -8
  46. package/es/index.mjs +2 -0
  47. package/es/packages/components/index.mjs +2 -0
  48. package/es/packages/components/yc-ai-chat/index.mjs +1 -0
  49. package/es/packages/components/yc-ai-chat/src/question-card.vue.mjs +5 -0
  50. package/es/packages/components/yc-ai-chat/src/question-card2.vue.mjs +613 -0
  51. package/es/packages/components/yc-ai-chat/src/question-validation.mjs +77 -0
  52. package/es/packages/components/yc-display-cards/capability.mjs +75 -0
  53. package/es/packages/components/yc-display-cards/index.mjs +10 -0
  54. package/es/packages/components/yc-display-cards/src/detail-card.vue.mjs +6 -0
  55. package/es/packages/components/yc-display-cards/src/detail-card2.vue.mjs +118 -0
  56. package/es/packages/components/yc-display-cards/src/metrics-card.vue.mjs +6 -0
  57. package/es/packages/components/yc-display-cards/src/metrics-card2.vue.mjs +132 -0
  58. package/es/packages/components/yc-display-cards/src/table-card.vue.mjs +6 -0
  59. package/es/packages/components/yc-display-cards/src/table-card2.vue.mjs +199 -0
  60. package/es/packages/components/yc-display-cards/src/types.mjs +1 -0
  61. package/es/packages/registry/load.mjs +9 -8
  62. package/es/version.d.ts +1 -1
  63. package/es/version.mjs +1 -1
  64. package/index.css +4 -1
  65. package/index.js +2546 -1335
  66. package/index.min.css +3 -0
  67. package/index.min.js +23 -23
  68. package/index.min.mjs +23 -23
  69. package/index.mjs +2535 -1328
  70. package/lib/components/descriptions/index.d.ts +3 -3
  71. package/lib/components/descriptions/src/index.vue.d.ts +1 -1
  72. package/lib/components/dialog/index.d.ts +6 -6
  73. package/lib/components/dialog/src/index.vue.d.ts +2 -2
  74. package/lib/components/dialog-form/index.d.ts +4 -4
  75. package/lib/components/dialog-form/src/index.vue.d.ts +4 -4
  76. package/lib/components/display-item/index.d.ts +15 -15
  77. package/lib/components/display-item/src/index.vue.d.ts +13 -13
  78. package/lib/components/drawer-form/index.d.ts +22 -22
  79. package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
  80. package/lib/components/form/index.d.ts +43 -43
  81. package/lib/components/form/src/form-content.vue.d.ts +15 -15
  82. package/lib/components/form/src/index.vue.d.ts +21 -21
  83. package/lib/components/form-item/index.d.ts +61 -61
  84. package/lib/components/form-item/src/index.vue.d.ts +24 -24
  85. package/lib/components/index.d.ts +1 -0
  86. package/lib/components/page/index.d.ts +936 -936
  87. package/lib/components/page/src/index.vue.d.ts +316 -316
  88. package/lib/components/popover/index.d.ts +9 -9
  89. package/lib/components/popover/src/index.vue.d.ts +3 -3
  90. package/lib/components/search/index.d.ts +282 -282
  91. package/lib/components/search/src/index.vue.d.ts +98 -98
  92. package/lib/components/table/index.d.ts +9 -9
  93. package/lib/components/table/src/index.vue.d.ts +1 -1
  94. package/lib/components/table/src/table-column.vue.d.ts +34 -34
  95. package/lib/components/utils/index.d.ts +1 -1
  96. package/lib/components/yc-ai-chat/index.d.ts +2 -1
  97. package/lib/components/yc-ai-chat/src/question-card.vue.d.ts +17 -0
  98. package/lib/components/yc-ai-chat/src/question-validation.d.ts +5 -0
  99. package/lib/components/yc-ai-chat/src/type.d.ts +51 -0
  100. package/lib/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
  101. package/lib/components/yc-display-cards/capability.d.ts +4 -0
  102. package/lib/components/yc-display-cards/index.d.ts +24 -0
  103. package/lib/components/yc-display-cards/src/detail-card.vue.d.ts +10 -0
  104. package/lib/components/yc-display-cards/src/metrics-card.vue.d.ts +8 -0
  105. package/lib/components/yc-display-cards/src/table-card.vue.d.ts +12 -0
  106. package/lib/components/yc-display-cards/src/types.d.ts +47 -0
  107. package/lib/components/yc-input/src/input.vue.d.ts +1 -1
  108. package/lib/components/yc-input/src/money-input.vue.d.ts +1 -1
  109. package/lib/components/yc-plus-page/src/index.vue.d.ts +946 -946
  110. package/lib/components/yc-plus-tree/src/index.vue.d.ts +1 -1
  111. package/lib/components/yc-questionnaire/src/index.vue.d.ts +1 -1
  112. package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  113. package/lib/hooks/usePlusFormReset.d.ts +132 -132
  114. package/lib/index.css +11 -8
  115. package/lib/index.js +12 -6
  116. package/lib/packages/components/index.js +12 -6
  117. package/lib/packages/components/yc-ai-chat/index.js +2 -0
  118. package/lib/packages/components/yc-ai-chat/src/question-card.vue.js +9 -0
  119. package/lib/packages/components/yc-ai-chat/src/question-card2.vue.js +617 -0
  120. package/lib/packages/components/yc-ai-chat/src/question-validation.js +81 -0
  121. package/lib/packages/components/yc-display-cards/capability.js +79 -0
  122. package/lib/packages/components/yc-display-cards/index.js +14 -0
  123. package/lib/packages/components/yc-display-cards/src/detail-card.vue.js +10 -0
  124. package/lib/packages/components/yc-display-cards/src/detail-card2.vue.js +122 -0
  125. package/lib/packages/components/yc-display-cards/src/metrics-card.vue.js +10 -0
  126. package/lib/packages/components/yc-display-cards/src/metrics-card2.vue.js +136 -0
  127. package/lib/packages/components/yc-display-cards/src/table-card.vue.js +10 -0
  128. package/lib/packages/components/yc-display-cards/src/table-card2.vue.js +203 -0
  129. package/lib/packages/components/yc-display-cards/src/types.js +2 -0
  130. package/lib/packages/registry/load.js +9 -8
  131. package/lib/version.d.ts +1 -1
  132. package/lib/version.js +1 -1
  133. package/locale/en.js +1 -1
  134. package/locale/en.min.js +1 -1
  135. package/locale/en.min.mjs +1 -1
  136. package/locale/en.mjs +1 -1
  137. package/locale/ja.js +1 -1
  138. package/locale/ja.min.js +1 -1
  139. package/locale/ja.min.mjs +1 -1
  140. package/locale/ja.mjs +1 -1
  141. package/locale/ko.js +1 -1
  142. package/locale/ko.min.js +1 -1
  143. package/locale/ko.min.mjs +1 -1
  144. package/locale/ko.mjs +1 -1
  145. package/locale/zh-cn.js +1 -1
  146. package/locale/zh-cn.min.js +1 -1
  147. package/locale/zh-cn.min.mjs +1 -1
  148. package/locale/zh-cn.mjs +1 -1
  149. package/locale/zh-tw.js +1 -1
  150. package/locale/zh-tw.min.js +1 -1
  151. package/locale/zh-tw.min.mjs +1 -1
  152. package/locale/zh-tw.mjs +1 -1
  153. package/package.json +1 -1
  154. package/theme-chalk/index.css +4 -1
  155. package/theme-chalk/plus-yc-ai-chat.css +1 -1
  156. package/theme-chalk/src/yc-ai-chat.scss +498 -0
@@ -2859,3 +2859,501 @@
2859
2859
  }
2860
2860
  }
2861
2861
  }
2862
+
2863
+ /* Gemini 官方 Material 3 交互问答卡 */
2864
+ .yc-chat-question-card {
2865
+ display: flex;
2866
+ flex-direction: column;
2867
+ gap: 14px;
2868
+ width: 100%;
2869
+ padding: 18px 20px 16px;
2870
+ border-radius: 20px;
2871
+ background: #f8fafd;
2872
+ border: 1px solid #e3e9f2;
2873
+ color: #1f1f1f;
2874
+ box-sizing: border-box;
2875
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
2876
+
2877
+ &__header {
2878
+ display: flex;
2879
+ align-items: center;
2880
+ justify-content: space-between;
2881
+ gap: 12px;
2882
+ }
2883
+
2884
+ &__title-wrap {
2885
+ display: inline-flex;
2886
+ align-items: center;
2887
+ gap: 9px;
2888
+ min-width: 0;
2889
+ }
2890
+
2891
+ &__badge-icon {
2892
+ display: inline-flex;
2893
+ align-items: center;
2894
+ justify-content: center;
2895
+ width: 26px;
2896
+ height: 26px;
2897
+ border-radius: 999px;
2898
+ background: #e8f0fe;
2899
+ color: #1a73e8;
2900
+ flex-shrink: 0;
2901
+
2902
+ &.is-answered {
2903
+ background: #e6f4ea;
2904
+ color: #137333;
2905
+ }
2906
+
2907
+ svg {
2908
+ width: 15px;
2909
+ height: 15px;
2910
+ }
2911
+ }
2912
+
2913
+ &__header-meta {
2914
+ display: inline-flex;
2915
+ align-items: center;
2916
+ gap: 8px;
2917
+ flex-shrink: 0;
2918
+ }
2919
+
2920
+ &__toggle-btn {
2921
+ display: inline-flex;
2922
+ align-items: center;
2923
+ height: 24px;
2924
+ padding: 0 8px;
2925
+ border: 0;
2926
+ border-radius: 999px;
2927
+ background: transparent;
2928
+ color: #444746;
2929
+ font-size: 12px;
2930
+ font-weight: 500;
2931
+ cursor: pointer;
2932
+ transition: background-color 0.15s ease, color 0.15s ease;
2933
+
2934
+ &:hover {
2935
+ background: #eaf0f8;
2936
+ color: #1f1f1f;
2937
+ }
2938
+ }
2939
+
2940
+ &__title {
2941
+ font-size: 14.5px;
2942
+ font-weight: 600;
2943
+ letter-spacing: -0.01em;
2944
+ color: #1f1f1f;
2945
+ }
2946
+
2947
+ &__status {
2948
+ display: inline-flex;
2949
+ align-items: center;
2950
+ height: 24px;
2951
+ padding: 0 10px;
2952
+ border-radius: 999px;
2953
+ font-size: 11.5px;
2954
+ font-weight: 500;
2955
+ background: #eef2f7;
2956
+ color: #5f6368;
2957
+ flex-shrink: 0;
2958
+
2959
+ &.is-pending {
2960
+ background: #e8f0fe;
2961
+ color: #0b57d0;
2962
+ }
2963
+
2964
+ &.is-answered {
2965
+ background: #e6f4ea;
2966
+ color: #137333;
2967
+ }
2968
+
2969
+ &.is-expired,
2970
+ &.is-invalidated,
2971
+ &.is-superseded {
2972
+ background: #fef7e0;
2973
+ color: #b06000;
2974
+ }
2975
+ }
2976
+
2977
+ &.is-summary {
2978
+ gap: 10px;
2979
+ padding: 14px 18px;
2980
+ border-radius: 16px;
2981
+ background: #f8fafd;
2982
+ }
2983
+
2984
+ &__summary {
2985
+ display: flex;
2986
+ flex-direction: column;
2987
+ gap: 10px;
2988
+ }
2989
+
2990
+ &__summary-item {
2991
+ display: flex;
2992
+ flex-direction: column;
2993
+ gap: 6px;
2994
+ }
2995
+
2996
+ &__summary-question {
2997
+ margin: 0;
2998
+ font-size: 13px;
2999
+ line-height: 1.5;
3000
+ color: #5f6368;
3001
+ }
3002
+
3003
+ &__answer-chips {
3004
+ display: flex;
3005
+ flex-wrap: wrap;
3006
+ gap: 6px;
3007
+ }
3008
+
3009
+ &__answer-chip {
3010
+ display: inline-flex;
3011
+ align-items: center;
3012
+ max-width: 100%;
3013
+ padding: 5px 12px;
3014
+ border-radius: 999px;
3015
+ background: #eef4fd;
3016
+ border: 1px solid #d2e2fb;
3017
+ color: #0b57d0;
3018
+ font-size: 13px;
3019
+ font-weight: 500;
3020
+ line-height: 1.4;
3021
+ word-break: break-word;
3022
+
3023
+ &.is-other {
3024
+ background: #ffffff;
3025
+ border-color: #d7dfe9;
3026
+ color: #1f1f1f;
3027
+ }
3028
+ }
3029
+
3030
+ &__summary-empty {
3031
+ font-size: 12.5px;
3032
+ color: #747775;
3033
+ }
3034
+
3035
+ &__questions {
3036
+ display: flex;
3037
+ flex-direction: column;
3038
+ gap: 16px;
3039
+ }
3040
+
3041
+ &__question {
3042
+ display: flex;
3043
+ flex-direction: column;
3044
+ gap: 10px;
3045
+ min-width: 0;
3046
+ margin: 0;
3047
+ padding: 0;
3048
+ border: 0;
3049
+ }
3050
+
3051
+ &__legend {
3052
+ display: flex;
3053
+ align-items: baseline;
3054
+ flex-wrap: wrap;
3055
+ gap: 8px;
3056
+ padding: 0;
3057
+ margin-bottom: 2px;
3058
+ font-size: 14px;
3059
+ font-weight: 500;
3060
+ line-height: 1.55;
3061
+ color: #1f1f1f;
3062
+ }
3063
+
3064
+ &__mode-tag {
3065
+ display: inline-flex;
3066
+ align-items: center;
3067
+ height: 20px;
3068
+ padding: 0 8px;
3069
+ border-radius: 999px;
3070
+ background: #edf2f8;
3071
+ color: #5f6368;
3072
+ font-size: 11px;
3073
+ font-weight: 500;
3074
+ }
3075
+
3076
+ &__options {
3077
+ display: flex;
3078
+ flex-direction: column;
3079
+ gap: 8px;
3080
+ }
3081
+
3082
+ &__option {
3083
+ position: relative;
3084
+ display: flex;
3085
+ align-items: flex-start;
3086
+ gap: 12px;
3087
+ padding: 12px 14px;
3088
+ border-radius: 14px;
3089
+ background: #ffffff;
3090
+ border: 1px solid #e4eaf2;
3091
+ cursor: pointer;
3092
+ box-sizing: border-box;
3093
+ transition:
3094
+ background-color 0.16s ease,
3095
+ border-color 0.16s ease,
3096
+ box-shadow 0.16s ease;
3097
+
3098
+ &:hover:not(.is-disabled):not(.is-selected) {
3099
+ background: #f3f7fe;
3100
+ border-color: #c2d4ee;
3101
+ }
3102
+
3103
+ &.is-selected {
3104
+ background: #edf3fe;
3105
+ border-color: #1b6ef3;
3106
+ box-shadow: 0 0 0 1px rgba(27, 110, 243, 0.14);
3107
+
3108
+ .yc-chat-question-card__option-label {
3109
+ color: #041e49;
3110
+ }
3111
+ }
3112
+
3113
+ &.is-disabled {
3114
+ cursor: default;
3115
+ opacity: 0.78;
3116
+ }
3117
+ }
3118
+
3119
+ &__native-input {
3120
+ position: absolute;
3121
+ opacity: 0;
3122
+ width: 1px;
3123
+ height: 1px;
3124
+ margin: 0;
3125
+ pointer-events: none;
3126
+ }
3127
+
3128
+ &__control {
3129
+ position: relative;
3130
+ display: inline-flex;
3131
+ align-items: center;
3132
+ justify-content: center;
3133
+ width: 18px;
3134
+ height: 18px;
3135
+ margin-top: 2px;
3136
+ flex-shrink: 0;
3137
+ border: 1.75px solid #747775;
3138
+ background: #ffffff;
3139
+ color: #ffffff;
3140
+ box-sizing: border-box;
3141
+ transition:
3142
+ border-color 0.15s ease,
3143
+ background-color 0.15s ease,
3144
+ box-shadow 0.15s ease;
3145
+
3146
+ &.is-single {
3147
+ border-radius: 999px;
3148
+
3149
+ &::after {
3150
+ content: "";
3151
+ width: 8px;
3152
+ height: 8px;
3153
+ border-radius: 999px;
3154
+ background: #1b6ef3;
3155
+ transform: scale(0);
3156
+ transition: transform 0.14s cubic-bezier(0.2, 0, 0, 1);
3157
+ }
3158
+
3159
+ &.is-checked {
3160
+ border-color: #1b6ef3;
3161
+ background: #ffffff;
3162
+
3163
+ &::after {
3164
+ transform: scale(1);
3165
+ }
3166
+ }
3167
+ }
3168
+
3169
+ &.is-multiple {
3170
+ border-radius: 5px;
3171
+
3172
+ svg {
3173
+ width: 11px;
3174
+ height: 11px;
3175
+ }
3176
+
3177
+ &.is-checked {
3178
+ border-color: #1b6ef3;
3179
+ background: #1b6ef3;
3180
+ }
3181
+ }
3182
+ }
3183
+
3184
+ &__option:focus-within &__control {
3185
+ box-shadow: 0 0 0 3px rgba(27, 110, 243, 0.16);
3186
+ }
3187
+
3188
+ &__option-body {
3189
+ display: flex;
3190
+ flex-direction: column;
3191
+ gap: 3px;
3192
+ flex: 1;
3193
+ min-width: 0;
3194
+ }
3195
+
3196
+ &__option-label {
3197
+ font-size: 13.5px;
3198
+ font-weight: 500;
3199
+ line-height: 1.45;
3200
+ color: #1f1f1f;
3201
+ word-break: break-word;
3202
+ }
3203
+
3204
+ &__option-desc {
3205
+ font-size: 12.5px;
3206
+ line-height: 1.5;
3207
+ color: #5f6368;
3208
+ word-break: break-word;
3209
+ }
3210
+
3211
+ &__event {
3212
+ display: flex;
3213
+ flex-wrap: wrap;
3214
+ align-items: center;
3215
+ gap: 6px;
3216
+ margin-top: 4px;
3217
+ font-size: 11.5px;
3218
+ color: #5f6368;
3219
+
3220
+ code {
3221
+ padding: 1px 6px;
3222
+ border-radius: 6px;
3223
+ background: #eef2f7;
3224
+ color: #444746;
3225
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
3226
+ font-size: 11px;
3227
+ }
3228
+
3229
+ em {
3230
+ font-style: normal;
3231
+ color: #b06000;
3232
+ }
3233
+ }
3234
+
3235
+ &__other-wrap {
3236
+ display: flex;
3237
+ flex-direction: column;
3238
+ gap: 8px;
3239
+ }
3240
+
3241
+ &__textarea-box {
3242
+ padding: 0 2px;
3243
+ }
3244
+
3245
+ &__textarea {
3246
+ box-sizing: border-box;
3247
+ width: 100%;
3248
+ padding: 10px 14px;
3249
+ border-radius: 14px;
3250
+ border: 1px solid #c2d4ee;
3251
+ background: #ffffff;
3252
+ color: #1f1f1f;
3253
+ font-family: inherit;
3254
+ font-size: 13.5px;
3255
+ line-height: 1.55;
3256
+ resize: vertical;
3257
+ outline: none;
3258
+ transition: border-color 0.16s ease, box-shadow 0.16s ease;
3259
+
3260
+ &::placeholder {
3261
+ color: #747775;
3262
+ }
3263
+
3264
+ &:focus {
3265
+ border-color: #1b6ef3;
3266
+ box-shadow: 0 0 0 3px rgba(27, 110, 243, 0.12);
3267
+ }
3268
+
3269
+ &:disabled {
3270
+ background: #f0f4f9;
3271
+ color: #5f6368;
3272
+ }
3273
+ }
3274
+
3275
+ &__notice {
3276
+ margin: 0;
3277
+ padding: 8px 12px;
3278
+ border-radius: 10px;
3279
+ background: #fef7e0;
3280
+ color: #9a5b00;
3281
+ font-size: 12px;
3282
+ line-height: 1.5;
3283
+ }
3284
+
3285
+ &__actions {
3286
+ display: flex;
3287
+ align-items: center;
3288
+ justify-content: flex-end;
3289
+ gap: 8px;
3290
+ margin-top: 2px;
3291
+ }
3292
+
3293
+ &__btn {
3294
+ display: inline-flex;
3295
+ align-items: center;
3296
+ justify-content: center;
3297
+ height: 36px;
3298
+ padding: 0 18px;
3299
+ border: 1px solid transparent;
3300
+ border-radius: 999px;
3301
+ font-size: 13.5px;
3302
+ font-weight: 500;
3303
+ cursor: pointer;
3304
+ transition:
3305
+ background-color 0.16s ease,
3306
+ color 0.16s ease,
3307
+ box-shadow 0.16s ease,
3308
+ opacity 0.16s ease;
3309
+
3310
+ &--cancel {
3311
+ background: transparent;
3312
+ color: #444746;
3313
+
3314
+ &:hover:not(:disabled) {
3315
+ background: #e8edf5;
3316
+ color: #1f1f1f;
3317
+ }
3318
+ }
3319
+
3320
+ &--submit {
3321
+ padding: 0 22px;
3322
+ background: #0b57d0;
3323
+ color: #ffffff;
3324
+
3325
+ &:hover:not(:disabled) {
3326
+ background: #1b6ef3;
3327
+ box-shadow: 0 2px 8px rgba(27, 110, 243, 0.24);
3328
+ }
3329
+
3330
+ &:disabled {
3331
+ background: #e3e8ef;
3332
+ color: #8e918f;
3333
+ box-shadow: none;
3334
+ }
3335
+ }
3336
+
3337
+ &:disabled {
3338
+ cursor: not-allowed;
3339
+ }
3340
+ }
3341
+
3342
+ &.is-compact {
3343
+ gap: 12px;
3344
+ padding: 14px 14px 12px;
3345
+ border-radius: 16px;
3346
+
3347
+ .yc-chat-question-card__option {
3348
+ padding: 10px 12px;
3349
+ border-radius: 12px;
3350
+ gap: 10px;
3351
+ }
3352
+
3353
+ .yc-chat-question-card__btn {
3354
+ height: 34px;
3355
+ padding: 0 16px;
3356
+ font-size: 13px;
3357
+ }
3358
+ }
3359
+ }