@nuraly/lumenui 0.1.0 → 0.2.1
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/nuralyui.bundle.js +23024 -17355
- package/dist/nuralyui.bundle.js.gz +0 -0
- package/dist/src/components/alert/alert.component.d.ts +8 -5
- package/dist/src/components/alert/alert.component.js +24 -20
- package/dist/src/components/alert/alert.style.d.ts +0 -7
- package/dist/src/components/alert/alert.style.js +48 -90
- package/dist/src/components/alert/bundle.js +82 -108
- package/dist/src/components/alert/bundle.js.gz +0 -0
- package/dist/src/components/badge/badge.component.d.ts +9 -8
- package/dist/src/components/badge/badge.component.js +17 -14
- package/dist/src/components/badge/badge.style.d.ts +0 -7
- package/dist/src/components/badge/badge.style.js +49 -107
- package/dist/src/components/badge/bundle.js +81 -119
- package/dist/src/components/badge/bundle.js.gz +0 -0
- package/dist/src/components/breadcrumb/breadcrumb.component.d.ts +8 -10
- package/dist/src/components/breadcrumb/breadcrumb.component.js +16 -15
- package/dist/src/components/breadcrumb/breadcrumb.style.d.ts +0 -7
- package/dist/src/components/breadcrumb/breadcrumb.style.js +42 -60
- package/dist/src/components/breadcrumb/bundle.js +96 -93
- package/dist/src/components/breadcrumb/bundle.js.gz +0 -0
- package/dist/src/components/button/bundle.js +221 -470
- package/dist/src/components/button/bundle.js.gz +0 -0
- package/dist/src/components/button/button.component.d.ts +2 -1
- package/dist/src/components/button/button.component.js +6 -6
- package/dist/src/components/button/button.style.d.ts +0 -7
- package/dist/src/components/button/button.style.js +167 -433
- package/dist/src/components/canvas/base-canvas.component.d.ts +2 -1
- package/dist/src/components/canvas/base-canvas.component.js +1 -0
- package/dist/src/components/canvas/bundle.js +16919 -9595
- package/dist/src/components/canvas/bundle.js.gz +0 -0
- package/dist/src/components/canvas/canvas.constants.d.ts +1 -1
- package/dist/src/components/canvas/canvas.constants.js +1 -1
- package/dist/src/components/canvas/chatbot-panel.style.js +31 -31
- package/dist/src/components/canvas/index.d.ts +2 -0
- package/dist/src/components/canvas/index.js +3 -0
- package/dist/src/components/canvas/whiteboard-canvas.component.d.ts +3 -1
- package/dist/src/components/canvas/whiteboard-canvas.component.js +19 -1
- package/dist/src/components/canvas/whiteboard-canvas.style.js +159 -138
- package/dist/src/components/canvas/whiteboard-node.component.d.ts +2 -1
- package/dist/src/components/canvas/whiteboard-node.component.js +2 -1
- package/dist/src/components/canvas/whiteboard-node.style.js +44 -44
- package/dist/src/components/canvas/workflow-canvas-only.d.ts +4 -0
- package/dist/src/components/canvas/workflow-canvas-only.js +5 -0
- package/dist/src/components/canvas/workflow-canvas.component.d.ts +3 -1
- package/dist/src/components/canvas/workflow-canvas.component.js +24 -2
- package/dist/src/components/canvas/workflow-canvas.style.js +776 -648
- package/dist/src/components/canvas/workflow-canvas.types.d.ts +113 -4
- package/dist/src/components/canvas/workflow-canvas.types.js +646 -3
- package/dist/src/components/canvas/workflow-node.component.d.ts +3 -2
- package/dist/src/components/canvas/workflow-node.component.js +5 -5
- package/dist/src/components/canvas/workflow-node.style.js +183 -181
- package/dist/src/components/card/bundle.js +43 -35
- package/dist/src/components/card/bundle.js.gz +0 -0
- package/dist/src/components/card/card.component.d.ts +6 -1
- package/dist/src/components/card/card.component.js +8 -2
- package/dist/src/components/card/card.style.js +26 -30
- package/dist/src/components/carousel/bundle.js +8 -8
- package/dist/src/components/carousel/bundle.js.gz +0 -0
- package/dist/src/components/carousel/carousel.component.d.ts +12 -0
- package/dist/src/components/carousel/carousel.component.js +16 -4
- package/dist/src/components/chatbot/bundle.js +422 -406
- package/dist/src/components/chatbot/bundle.js.gz +0 -0
- package/dist/src/components/chatbot/chatbot.component.d.ts +2 -1
- package/dist/src/components/chatbot/chatbot.component.js +1 -0
- package/dist/src/components/chatbot/chatbot.style.js +277 -277
- package/dist/src/components/checkbox/bundle.js +86 -245
- package/dist/src/components/checkbox/bundle.js.gz +0 -0
- package/dist/src/components/checkbox/checkbox.component.d.ts +5 -2
- package/dist/src/components/checkbox/checkbox.component.js +11 -13
- package/dist/src/components/checkbox/checkbox.style.js +56 -231
- package/dist/src/components/code-editor/bundle.js +151 -25
- package/dist/src/components/code-editor/bundle.js.gz +0 -0
- package/dist/src/components/code-editor/code-editor.component.d.ts +18 -56
- package/dist/src/components/code-editor/code-editor.component.js +141 -394
- package/dist/src/components/code-editor/code-editor.style.js +139 -15
- package/dist/src/components/collapse/bundle.js +97 -84
- package/dist/src/components/collapse/bundle.js.gz +0 -0
- package/dist/src/components/collapse/collapse.component.d.ts +7 -1
- package/dist/src/components/collapse/collapse.component.js +11 -2
- package/dist/src/components/collapse/collapse.style.js +60 -60
- package/dist/src/components/colorpicker/bundle.js +85 -48
- package/dist/src/components/colorpicker/bundle.js.gz +0 -0
- package/dist/src/components/colorpicker/color-holder.component.d.ts +2 -4
- package/dist/src/components/colorpicker/color-holder.component.js +5 -6
- package/dist/src/components/colorpicker/color-holder.style.js +11 -11
- package/dist/src/components/colorpicker/color-picker.component.d.ts +2 -1
- package/dist/src/components/colorpicker/color-picker.component.js +1 -0
- package/dist/src/components/colorpicker/color-picker.style.js +12 -12
- package/dist/src/components/colorpicker/default-color-sets.component.d.ts +2 -2
- package/dist/src/components/colorpicker/default-color-sets.component.js +4 -3
- package/dist/src/components/colorpicker/default-color-sets.style.js +5 -5
- package/dist/src/components/container/bundle.js +24 -14
- package/dist/src/components/container/bundle.js.gz +0 -0
- package/dist/src/components/container/container.component.d.ts +4 -1
- package/dist/src/components/container/container.component.js +7 -5
- package/dist/src/components/container/container.style.js +9 -9
- package/dist/src/components/datepicker/bundle.js +193 -177
- package/dist/src/components/datepicker/bundle.js.gz +0 -0
- package/dist/src/components/datepicker/datepicker.component.d.ts +2 -1
- package/dist/src/components/datepicker/datepicker.component.js +1 -0
- package/dist/src/components/datepicker/datepicker.style.js +65 -65
- package/dist/src/components/datepicker/datepicker.style.variables.js +91 -91
- package/dist/src/components/db-connection-select/bundle.js +7 -6
- package/dist/src/components/db-connection-select/bundle.js.gz +0 -0
- package/dist/src/components/db-connection-select/db-connection-select.component.d.ts +3 -0
- package/dist/src/components/db-connection-select/db-connection-select.component.js +4 -0
- package/dist/src/components/divider/bundle.js +61 -35
- package/dist/src/components/divider/bundle.js.gz +0 -0
- package/dist/src/components/divider/divider.component.d.ts +4 -6
- package/dist/src/components/divider/divider.component.js +10 -14
- package/dist/src/components/divider/divider.style.js +41 -31
- package/dist/src/components/document/bundle.js +50 -48
- package/dist/src/components/document/bundle.js.gz +0 -0
- package/dist/src/components/document/document.component.d.ts +12 -1
- package/dist/src/components/document/document.component.js +18 -6
- package/dist/src/components/document/document.style.js +21 -36
- package/dist/src/components/dropdown/bundle.js +117 -101
- package/dist/src/components/dropdown/bundle.js.gz +0 -0
- package/dist/src/components/dropdown/dropdown.component.d.ts +2 -1
- package/dist/src/components/dropdown/dropdown.component.js +1 -0
- package/dist/src/components/dropdown/dropdown.style.js +68 -68
- package/dist/src/components/file-upload/bundle.js +82 -76
- package/dist/src/components/file-upload/bundle.js.gz +0 -0
- package/dist/src/components/file-upload/file-upload.component.d.ts +2 -1
- package/dist/src/components/file-upload/file-upload.component.js +1 -0
- package/dist/src/components/file-upload/styles.js +59 -59
- package/dist/src/components/flex/bundle.js +18 -8
- package/dist/src/components/flex/bundle.js.gz +0 -0
- package/dist/src/components/flex/flex.component.d.ts +4 -1
- package/dist/src/components/flex/flex.component.js +7 -4
- package/dist/src/components/flex/flex.style.js +2 -2
- package/dist/src/components/form/bundle.js +22 -10
- package/dist/src/components/form/bundle.js.gz +0 -0
- package/dist/src/components/form/form.component.d.ts +4 -1
- package/dist/src/components/form/form.component.js +5 -1
- package/dist/src/components/form/form.style.js +2 -2
- package/dist/src/components/grid/bundle.js +26 -14
- package/dist/src/components/grid/bundle.js.gz +0 -0
- package/dist/src/components/grid/col.component.d.ts +4 -1
- package/dist/src/components/grid/col.component.js +4 -1
- package/dist/src/components/grid/col.style.js +2 -2
- package/dist/src/components/grid/row.component.d.ts +4 -1
- package/dist/src/components/grid/row.component.js +4 -1
- package/dist/src/components/grid/row.style.js +2 -2
- package/dist/src/components/icon/bundle.js +78 -252
- package/dist/src/components/icon/bundle.js.gz +0 -0
- package/dist/src/components/icon/icon-paths.d.ts +2 -0
- package/dist/src/components/icon/icon-paths.js +141 -0
- package/dist/src/components/icon/icon.component.d.ts +10 -12
- package/dist/src/components/icon/icon.component.js +42 -93
- package/dist/src/components/icon/icon.style.js +42 -130
- package/dist/src/components/icon/icon.variables.js +9 -9
- package/dist/src/components/iconpicker/bundle.js +859 -1511
- package/dist/src/components/iconpicker/bundle.js.gz +0 -0
- package/dist/src/components/iconpicker/icon-picker.component.d.ts +2 -1
- package/dist/src/components/iconpicker/icon-picker.component.js +1 -0
- package/dist/src/components/iconpicker/icon-picker.style.js +13 -13
- package/dist/src/components/image/bundle.js +43 -33
- package/dist/src/components/image/bundle.js.gz +0 -0
- package/dist/src/components/image/image.component.d.ts +10 -1
- package/dist/src/components/image/image.component.js +13 -3
- package/dist/src/components/image/image.style.js +19 -26
- package/dist/src/components/input/bundle.js +420 -644
- package/dist/src/components/input/bundle.js.gz +0 -0
- package/dist/src/components/input/input.component.d.ts +16 -3
- package/dist/src/components/input/input.component.js +43 -27
- package/dist/src/components/input/input.style.d.ts +1 -1
- package/dist/src/components/input/input.style.js +331 -634
- package/dist/src/components/kv-secret-select/bundle.js +2 -1
- package/dist/src/components/kv-secret-select/bundle.js.gz +0 -0
- package/dist/src/components/kv-secret-select/kv-secret-select.component.d.ts +3 -0
- package/dist/src/components/kv-secret-select/kv-secret-select.component.js +4 -0
- package/dist/src/components/label/bundle.js +37 -60
- package/dist/src/components/label/bundle.js.gz +0 -0
- package/dist/src/components/label/label.component.d.ts +8 -4
- package/dist/src/components/label/label.component.js +9 -14
- package/dist/src/components/label/label.style.js +17 -25
- package/dist/src/components/label/label.style.variables.js +18 -18
- package/dist/src/components/layout/bundle.js +86 -70
- package/dist/src/components/layout/bundle.js.gz +0 -0
- package/dist/src/components/layout/content.component.d.ts +2 -1
- package/dist/src/components/layout/content.component.js +2 -1
- package/dist/src/components/layout/content.style.js +3 -3
- package/dist/src/components/layout/footer.component.d.ts +2 -1
- package/dist/src/components/layout/footer.component.js +3 -2
- package/dist/src/components/layout/footer.style.js +7 -7
- package/dist/src/components/layout/header.component.d.ts +2 -1
- package/dist/src/components/layout/header.component.js +3 -2
- package/dist/src/components/layout/header.style.js +7 -7
- package/dist/src/components/layout/layout.component.d.ts +4 -7
- package/dist/src/components/layout/layout.component.js +9 -22
- package/dist/src/components/layout/layout.style.js +1 -1
- package/dist/src/components/layout/sider.component.d.ts +3 -1
- package/dist/src/components/layout/sider.component.js +3 -1
- package/dist/src/components/layout/sider.style.js +29 -29
- package/dist/src/components/menu/bundle.js +135 -125
- package/dist/src/components/menu/bundle.js.gz +0 -0
- package/dist/src/components/menu/menu.component.d.ts +2 -1
- package/dist/src/components/menu/menu.component.js +1 -0
- package/dist/src/components/menu/menu.style.js +87 -87
- package/dist/src/components/modal/bundle.js +105 -96
- package/dist/src/components/modal/bundle.js.gz +0 -0
- package/dist/src/components/modal/modal.component.d.ts +2 -1
- package/dist/src/components/modal/modal.component.js +1 -0
- package/dist/src/components/modal/modal.style.js +69 -71
- package/dist/src/components/panel/bundle.js +190 -391
- package/dist/src/components/panel/bundle.js.gz +0 -0
- package/dist/src/components/panel/panel.component.d.ts +2 -1
- package/dist/src/components/panel/panel.component.js +1 -0
- package/dist/src/components/panel/panel.style.js +65 -65
- package/dist/src/components/popconfirm/bundle.js +107 -93
- package/dist/src/components/popconfirm/bundle.js.gz +0 -0
- package/dist/src/components/popconfirm/popconfirm-manager.component.d.ts +2 -1
- package/dist/src/components/popconfirm/popconfirm-manager.component.js +1 -0
- package/dist/src/components/popconfirm/popconfirm-manager.style.js +16 -16
- package/dist/src/components/popconfirm/popconfirm.component.d.ts +2 -1
- package/dist/src/components/popconfirm/popconfirm.component.js +9 -5
- package/dist/src/components/popconfirm/popconfirm.style.js +43 -43
- package/dist/src/components/radio/bundle.js +56 -86
- package/dist/src/components/radio/bundle.js.gz +0 -0
- package/dist/src/components/radio/radio.component.d.ts +8 -2
- package/dist/src/components/radio/radio.component.js +17 -9
- package/dist/src/components/radio/radio.style.js +30 -77
- package/dist/src/components/radio-group/bundle.js +125 -89
- package/dist/src/components/radio-group/bundle.js.gz +0 -0
- package/dist/src/components/radio-group/radio-group.component.d.ts +5 -1
- package/dist/src/components/radio-group/radio-group.component.js +18 -10
- package/dist/src/components/radio-group/radio-group.style.js +44 -44
- package/dist/src/components/select/bundle.js +260 -367
- package/dist/src/components/select/bundle.js.gz +0 -0
- package/dist/src/components/select/select.component.d.ts +12 -17
- package/dist/src/components/select/select.component.js +35 -35
- package/dist/src/components/select/select.style.js +184 -324
- package/dist/src/components/skeleton/bundle.js +82 -162
- package/dist/src/components/skeleton/bundle.js.gz +0 -0
- package/dist/src/components/skeleton/skeleton.component.d.ts +10 -5
- package/dist/src/components/skeleton/skeleton.component.js +20 -7
- package/dist/src/components/skeleton/skeleton.style.js +34 -133
- package/dist/src/components/slider-input/bundle.js +89 -88
- package/dist/src/components/slider-input/bundle.js.gz +0 -0
- package/dist/src/components/slider-input/slider-input.component.d.ts +11 -0
- package/dist/src/components/slider-input/slider-input.component.js +20 -8
- package/dist/src/components/slider-input/slider-input.style.js +47 -47
- package/dist/src/components/slider-input/slider-input.style.variables.js +32 -32
- package/dist/src/components/table/bundle.js +149 -128
- package/dist/src/components/table/bundle.js.gz +0 -0
- package/dist/src/components/table/table.component.d.ts +2 -1
- package/dist/src/components/table/table.component.js +1 -0
- package/dist/src/components/table/table.style.js +79 -79
- package/dist/src/components/tabs/bundle.js +462 -663
- package/dist/src/components/tabs/bundle.js.gz +0 -0
- package/dist/src/components/tabs/tabs.component.d.ts +6 -1
- package/dist/src/components/tabs/tabs.component.js +8 -1
- package/dist/src/components/tabs/tabs.style.js +200 -201
- package/dist/src/components/tag/bundle.js +44 -36
- package/dist/src/components/tag/bundle.js.gz +0 -0
- package/dist/src/components/tag/tag.component.d.ts +7 -6
- package/dist/src/components/tag/tag.component.js +10 -19
- package/dist/src/components/tag/tag.style.js +20 -24
- package/dist/src/components/textarea/bundle.js +131 -94
- package/dist/src/components/textarea/bundle.js.gz +0 -0
- package/dist/src/components/textarea/textarea.component.d.ts +7 -1
- package/dist/src/components/textarea/textarea.component.js +10 -3
- package/dist/src/components/textarea/textarea.style.d.ts +1 -13
- package/dist/src/components/textarea/textarea.style.js +79 -91
- package/dist/src/components/timeline/bundle.js +71 -134
- package/dist/src/components/timeline/bundle.js.gz +0 -0
- package/dist/src/components/timeline/timeline.component.d.ts +9 -6
- package/dist/src/components/timeline/timeline.component.js +16 -13
- package/dist/src/components/timeline/timeline.style.d.ts +0 -7
- package/dist/src/components/timeline/timeline.style.js +41 -122
- package/dist/src/components/timepicker/bundle.js +196 -166
- package/dist/src/components/timepicker/bundle.js.gz +0 -0
- package/dist/src/components/timepicker/timepicker.component.d.ts +2 -1
- package/dist/src/components/timepicker/timepicker.component.js +1 -0
- package/dist/src/components/timepicker/timepicker.style.js +42 -42
- package/dist/src/components/timepicker/timepicker.style.variables.js +91 -91
- package/dist/src/components/toast/bundle.js +97 -81
- package/dist/src/components/toast/bundle.js.gz +0 -0
- package/dist/src/components/toast/toast.component.d.ts +2 -1
- package/dist/src/components/toast/toast.component.js +1 -0
- package/dist/src/components/toast/toast.style.js +62 -62
- package/dist/src/components/tooltips/bundle.js +10 -10
- package/dist/src/components/tooltips/bundle.js.gz +0 -0
- package/dist/src/components/tooltips/tooltips.component.d.ts +8 -0
- package/dist/src/components/tooltips/tooltips.component.js +9 -1
- package/dist/src/components/tooltips/tooltips.style.js +6 -6
- package/dist/src/components/video/bundle.js +47 -36
- package/dist/src/components/video/bundle.js.gz +0 -0
- package/dist/src/components/video/video.component.d.ts +12 -1
- package/dist/src/components/video/video.component.js +18 -6
- package/dist/src/components/video/video.style.js +18 -24
- package/package.json +25 -12
- package/packages/common/dist/VERSIONS.md +2 -2
- package/packages/common/dist/shared/base-mixin.d.ts +21 -19
- package/packages/common/dist/shared/base-mixin.d.ts.map +1 -1
- package/packages/common/dist/shared/base-mixin.js +102 -18
- package/packages/common/dist/shared/base-mixin.js.map +1 -1
- package/packages/common/dist/shared/index.d.ts +1 -0
- package/packages/common/dist/shared/index.d.ts.map +1 -1
- package/packages/common/dist/shared/index.js +2 -0
- package/packages/common/dist/shared/index.js.map +1 -1
- package/packages/common/dist/shared/style-injector.d.ts +11 -0
- package/packages/common/dist/shared/style-injector.d.ts.map +1 -0
- package/packages/common/dist/shared/style-injector.js +53 -0
- package/packages/common/dist/shared/style-injector.js.map +1 -0
- package/packages/common/dist/shared/theme-mixin.d.ts +2 -24
- package/packages/common/dist/shared/theme-mixin.d.ts.map +1 -1
- package/packages/common/dist/shared/theme-mixin.js +5 -38
- package/packages/common/dist/shared/theme-mixin.js.map +1 -1
- package/packages/themes/dist/default.css +0 -10
- package/packages/themes/dist/package.json +1 -1
|
@@ -4,7 +4,7 @@ export default css `
|
|
|
4
4
|
display: block;
|
|
5
5
|
width: 100%;
|
|
6
6
|
height: 100%;
|
|
7
|
-
min-width:
|
|
7
|
+
min-width: 320px;
|
|
8
8
|
box-sizing: border-box;
|
|
9
9
|
overflow: visible;
|
|
10
10
|
|
|
@@ -19,10 +19,10 @@ export default css `
|
|
|
19
19
|
display: flex;
|
|
20
20
|
width: 100%;
|
|
21
21
|
height: 100%;
|
|
22
|
-
background-color:
|
|
23
|
-
border-radius:
|
|
22
|
+
background-color: #ffffff;
|
|
23
|
+
border-radius: 8px;
|
|
24
24
|
position: relative;
|
|
25
|
-
border:
|
|
25
|
+
border: 1px solid #e0e0e0;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.chatbot-container {
|
|
@@ -30,7 +30,7 @@ export default css `
|
|
|
30
30
|
flex-direction: column;
|
|
31
31
|
flex: 1;
|
|
32
32
|
min-height: 0;
|
|
33
|
-
min-width:
|
|
33
|
+
min-width: 300px;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.chatbot-container--with-sidebar,
|
|
@@ -52,7 +52,7 @@ export default css `
|
|
|
52
52
|
justify-content: space-between;
|
|
53
53
|
gap: 0.5rem;
|
|
54
54
|
padding: 0.5rem;
|
|
55
|
-
border-bottom: 1px solid
|
|
55
|
+
border-bottom: 1px solid #e0e0e0;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
.chatbot-content {
|
|
@@ -64,7 +64,7 @@ export default css `
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
:host([boxed]) .chat-container {
|
|
67
|
-
background-color:
|
|
67
|
+
background-color: #ffffff;
|
|
68
68
|
border: none;
|
|
69
69
|
border-radius: 0;
|
|
70
70
|
}
|
|
@@ -75,9 +75,9 @@ export default css `
|
|
|
75
75
|
|
|
76
76
|
:host([boxed]) .chatbot-main {
|
|
77
77
|
width: 100%;
|
|
78
|
-
max-width:
|
|
78
|
+
max-width: 768px;
|
|
79
79
|
margin: 0 auto;
|
|
80
|
-
background-color:
|
|
80
|
+
background-color: #ffffff;
|
|
81
81
|
border: none;
|
|
82
82
|
border-radius: 0;
|
|
83
83
|
box-shadow: none;
|
|
@@ -86,23 +86,23 @@ export default css `
|
|
|
86
86
|
|
|
87
87
|
/* Boxed layout with threads: background comes from theme variable with white fallback */
|
|
88
88
|
:host([boxed]) .chat-container--boxed.chat-container--with-threads {
|
|
89
|
-
background-color:
|
|
89
|
+
background-color: #ffffff;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
.chat-container--boxed.chat-container--with-threads .chatbot-main {
|
|
93
|
-
background-color:
|
|
93
|
+
background-color: #ffffff;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
.chat-container--boxed.chat-container--with-threads .chat-box {
|
|
97
|
-
background-color:
|
|
97
|
+
background-color: #ffffff;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
.chat-container--boxed.chat-container--with-threads .messages {
|
|
101
|
-
background-color:
|
|
101
|
+
background-color: #ffffff;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
.chat-container--boxed.chat-container--with-threads .input-container {
|
|
105
|
-
background-color:
|
|
105
|
+
background-color: #ffffff;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
:host([boxed]) .chatbot-header {
|
|
@@ -134,13 +134,13 @@ export default css `
|
|
|
134
134
|
left: 50%;
|
|
135
135
|
transform: translate(-50%, calc(-50% - 80px));
|
|
136
136
|
width: 100%;
|
|
137
|
-
max-width:
|
|
137
|
+
max-width: 768px;
|
|
138
138
|
height: auto;
|
|
139
139
|
padding: 0;
|
|
140
140
|
display: flex;
|
|
141
141
|
flex-direction: column;
|
|
142
142
|
align-items: center;
|
|
143
|
-
gap:
|
|
143
|
+
gap: 1.5rem;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
:host([boxed]) .empty-state__content {
|
|
@@ -154,7 +154,7 @@ export default css `
|
|
|
154
154
|
left: 50%;
|
|
155
155
|
transform: translate(-50%, calc(-50% + 40px));
|
|
156
156
|
width: 100%;
|
|
157
|
-
max-width:
|
|
157
|
+
max-width: 768px;
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
:host([boxed]) .suggestion-container {
|
|
@@ -164,38 +164,38 @@ export default css `
|
|
|
164
164
|
:host([boxed]) .messages {
|
|
165
165
|
box-shadow: none;
|
|
166
166
|
margin-bottom: 0;
|
|
167
|
-
background-color:
|
|
167
|
+
background-color: #ffffff;
|
|
168
168
|
align-items: stretch;
|
|
169
169
|
width: 98%;
|
|
170
|
-
padding:
|
|
170
|
+
padding: 8px 1.5rem;
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
:host([boxed]) .input-container {
|
|
174
174
|
box-shadow: none;
|
|
175
175
|
margin: 0;
|
|
176
|
-
background-color:
|
|
176
|
+
background-color: #ffffff;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
179
|
.chat-container--with-threads {
|
|
180
|
-
grid-template-columns:
|
|
180
|
+
grid-template-columns: 240px 1fr;
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
.chat-container--disabled {
|
|
184
|
-
opacity:
|
|
184
|
+
opacity: 0.5;
|
|
185
185
|
pointer-events: none;
|
|
186
186
|
}
|
|
187
187
|
|
|
188
188
|
.chat-container--drag-over {
|
|
189
|
-
background-color:
|
|
190
|
-
border:
|
|
191
|
-
border-radius:
|
|
189
|
+
background-color: #f4f4f4;
|
|
190
|
+
border: 0.25rem dashed #7c3aed;
|
|
191
|
+
border-radius: 8px;
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
.thread-sidebar {
|
|
195
|
-
width:
|
|
195
|
+
width: 260px;
|
|
196
196
|
flex-shrink: 0;
|
|
197
|
-
background-color:
|
|
198
|
-
border-right:
|
|
197
|
+
background-color: #f4f4f4;
|
|
198
|
+
border-right: 1px solid #e0e0e0;
|
|
199
199
|
display: flex;
|
|
200
200
|
flex-direction: column;
|
|
201
201
|
overflow: hidden;
|
|
@@ -207,25 +207,25 @@ export default css `
|
|
|
207
207
|
display: flex;
|
|
208
208
|
align-items: center;
|
|
209
209
|
justify-content: space-between;
|
|
210
|
-
padding:
|
|
211
|
-
border-bottom:
|
|
210
|
+
padding: 0.75rem;
|
|
211
|
+
border-bottom: 1px solid #e0e0e0;
|
|
212
212
|
}
|
|
213
213
|
|
|
214
214
|
.thread-sidebar__header h3 {
|
|
215
215
|
margin: 0;
|
|
216
|
-
font-size:
|
|
217
|
-
font-weight:
|
|
218
|
-
color:
|
|
216
|
+
font-size: 1rem;
|
|
217
|
+
font-weight: 600;
|
|
218
|
+
color: #161616;
|
|
219
219
|
}
|
|
220
220
|
|
|
221
221
|
.thread-list {
|
|
222
222
|
flex: 1;
|
|
223
223
|
overflow-y: auto;
|
|
224
|
-
padding:
|
|
224
|
+
padding: 0.75rem;
|
|
225
225
|
}
|
|
226
226
|
|
|
227
227
|
.thread-section {
|
|
228
|
-
margin-bottom:
|
|
228
|
+
margin-bottom: 8px;
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
.thread-section__label {
|
|
@@ -241,31 +241,31 @@ export default css `
|
|
|
241
241
|
}
|
|
242
242
|
|
|
243
243
|
.thread-section__label svg {
|
|
244
|
-
color:
|
|
244
|
+
color: #f59e0b;
|
|
245
245
|
}
|
|
246
246
|
|
|
247
247
|
.thread-item {
|
|
248
|
-
padding:
|
|
249
|
-
border-radius:
|
|
248
|
+
padding: 0.75rem;
|
|
249
|
+
border-radius: 8px;
|
|
250
250
|
cursor: pointer;
|
|
251
|
-
margin-bottom:
|
|
252
|
-
transition: background-color
|
|
253
|
-
border:
|
|
251
|
+
margin-bottom: 0.5rem;
|
|
252
|
+
transition: background-color 0.15s;
|
|
253
|
+
border: 1px solid transparent;
|
|
254
254
|
line-height: 1.6;
|
|
255
255
|
}
|
|
256
256
|
|
|
257
257
|
.thread-item:hover {
|
|
258
|
-
background-color:
|
|
258
|
+
background-color: #f4f4f4;
|
|
259
259
|
}
|
|
260
260
|
|
|
261
261
|
.thread-item--active {
|
|
262
|
-
background-color:
|
|
263
|
-
color:
|
|
264
|
-
border-color:
|
|
262
|
+
background-color: #f4f0fd;
|
|
263
|
+
color: #7c3aed;
|
|
264
|
+
border-color: #7c3aed;
|
|
265
265
|
}
|
|
266
266
|
|
|
267
267
|
.thread-item--active:hover {
|
|
268
|
-
background-color:
|
|
268
|
+
background-color: #f4f0fd;
|
|
269
269
|
opacity: 0.95;
|
|
270
270
|
}
|
|
271
271
|
|
|
@@ -273,12 +273,12 @@ export default css `
|
|
|
273
273
|
display: flex;
|
|
274
274
|
align-items: center;
|
|
275
275
|
gap: 4px;
|
|
276
|
-
margin-bottom:
|
|
276
|
+
margin-bottom: 0.5rem;
|
|
277
277
|
}
|
|
278
278
|
|
|
279
279
|
.thread-item__title {
|
|
280
|
-
font-weight:
|
|
281
|
-
font-size:
|
|
280
|
+
font-weight: 500;
|
|
281
|
+
font-size: 14px;
|
|
282
282
|
white-space: nowrap;
|
|
283
283
|
overflow: hidden;
|
|
284
284
|
text-overflow: ellipsis;
|
|
@@ -306,12 +306,12 @@ export default css `
|
|
|
306
306
|
margin: 0;
|
|
307
307
|
background: none;
|
|
308
308
|
border: none;
|
|
309
|
-
border-radius:
|
|
309
|
+
border-radius: 4px;
|
|
310
310
|
color: rgba(128, 128, 128, 0.6);
|
|
311
311
|
cursor: pointer;
|
|
312
312
|
flex-shrink: 0;
|
|
313
313
|
line-height: 0;
|
|
314
|
-
transition: color
|
|
314
|
+
transition: color 0.15s, background-color 0.15s;
|
|
315
315
|
}
|
|
316
316
|
|
|
317
317
|
.thread-item__action-btn svg {
|
|
@@ -319,7 +319,7 @@ export default css `
|
|
|
319
319
|
}
|
|
320
320
|
|
|
321
321
|
.thread-item__action-btn:hover {
|
|
322
|
-
color:
|
|
322
|
+
color: #3b82f6;
|
|
323
323
|
background-color: rgba(59, 130, 246, 0.1);
|
|
324
324
|
}
|
|
325
325
|
|
|
@@ -328,7 +328,7 @@ export default css `
|
|
|
328
328
|
}
|
|
329
329
|
|
|
330
330
|
.thread-item__delete:hover {
|
|
331
|
-
color:
|
|
331
|
+
color: #ef4444;
|
|
332
332
|
background-color: rgba(239, 68, 68, 0.1);
|
|
333
333
|
}
|
|
334
334
|
|
|
@@ -337,40 +337,40 @@ export default css `
|
|
|
337
337
|
}
|
|
338
338
|
|
|
339
339
|
.thread-item--active .thread-item__action-btn:hover {
|
|
340
|
-
color:
|
|
340
|
+
color: #3b82f6;
|
|
341
341
|
background-color: rgba(59, 130, 246, 0.15);
|
|
342
342
|
}
|
|
343
343
|
|
|
344
344
|
.thread-item--active .thread-item__delete:hover {
|
|
345
|
-
color:
|
|
345
|
+
color: #ef4444;
|
|
346
346
|
background-color: rgba(239, 68, 68, 0.15);
|
|
347
347
|
}
|
|
348
348
|
|
|
349
349
|
.thread-item__bookmark--active {
|
|
350
|
-
color:
|
|
350
|
+
color: #f59e0b !important;
|
|
351
351
|
display: flex !important;
|
|
352
352
|
}
|
|
353
353
|
|
|
354
354
|
.thread-item__bookmark--active:hover {
|
|
355
|
-
color:
|
|
355
|
+
color: #d97706 !important;
|
|
356
356
|
background-color: rgba(245, 158, 11, 0.1);
|
|
357
357
|
}
|
|
358
358
|
|
|
359
359
|
.thread-item--active .thread-item__bookmark--active {
|
|
360
|
-
color:
|
|
360
|
+
color: #f59e0b !important;
|
|
361
361
|
}
|
|
362
362
|
|
|
363
363
|
.thread-item__rename-input {
|
|
364
364
|
flex: 1;
|
|
365
365
|
min-width: 0;
|
|
366
366
|
padding: 2px 6px;
|
|
367
|
-
font-size:
|
|
368
|
-
font-weight:
|
|
367
|
+
font-size: 14px;
|
|
368
|
+
font-weight: 500;
|
|
369
369
|
font-family: inherit;
|
|
370
370
|
color: inherit;
|
|
371
371
|
background: rgba(0, 0, 0, 0.2);
|
|
372
|
-
border: 1px solid
|
|
373
|
-
border-radius:
|
|
372
|
+
border: 1px solid #3b82f6;
|
|
373
|
+
border-radius: 4px;
|
|
374
374
|
outline: none;
|
|
375
375
|
line-height: 1.4;
|
|
376
376
|
}
|
|
@@ -380,12 +380,12 @@ export default css `
|
|
|
380
380
|
}
|
|
381
381
|
|
|
382
382
|
.thread-item__preview {
|
|
383
|
-
font-size:
|
|
383
|
+
font-size: 13px;
|
|
384
384
|
color: rgba(128, 128, 128, 0.7);
|
|
385
385
|
white-space: nowrap;
|
|
386
386
|
overflow: hidden;
|
|
387
387
|
text-overflow: ellipsis;
|
|
388
|
-
margin-bottom:
|
|
388
|
+
margin-bottom: 0.5rem;
|
|
389
389
|
line-height: 1.5;
|
|
390
390
|
}
|
|
391
391
|
|
|
@@ -394,7 +394,7 @@ export default css `
|
|
|
394
394
|
}
|
|
395
395
|
|
|
396
396
|
.thread-item__timestamp {
|
|
397
|
-
font-size:
|
|
397
|
+
font-size: 0.75rem;
|
|
398
398
|
color: rgba(128, 128, 128, 0.6);
|
|
399
399
|
line-height: 1.4;
|
|
400
400
|
}
|
|
@@ -418,8 +418,8 @@ export default css `
|
|
|
418
418
|
display: flex;
|
|
419
419
|
flex-direction: column;
|
|
420
420
|
gap: 0;
|
|
421
|
-
background-color:
|
|
422
|
-
padding:
|
|
421
|
+
background-color: #ffffff;
|
|
422
|
+
padding: 8px 12px;
|
|
423
423
|
justify-content: flex-start; /* Always align messages to top */
|
|
424
424
|
}
|
|
425
425
|
|
|
@@ -430,24 +430,24 @@ export default css `
|
|
|
430
430
|
justify-content: center;
|
|
431
431
|
flex: 1; /* Take full height when empty */
|
|
432
432
|
text-align: center;
|
|
433
|
-
padding:
|
|
433
|
+
padding: 3rem 1.5rem;
|
|
434
434
|
}
|
|
435
435
|
|
|
436
436
|
.empty-state__content {
|
|
437
|
-
color:
|
|
438
|
-
font-size:
|
|
439
|
-
font-weight:
|
|
440
|
-
margin-bottom:
|
|
437
|
+
color: #161616;
|
|
438
|
+
font-size: 2rem;
|
|
439
|
+
font-weight: 600;
|
|
440
|
+
margin-bottom: 3rem;
|
|
441
441
|
letter-spacing: -0.02em;
|
|
442
442
|
}
|
|
443
443
|
|
|
444
444
|
.message {
|
|
445
445
|
display: flex;
|
|
446
446
|
flex-direction: column;
|
|
447
|
-
max-width:
|
|
447
|
+
max-width: 75%;
|
|
448
448
|
word-wrap: break-word;
|
|
449
449
|
word-break: break-word;
|
|
450
|
-
margin-bottom:
|
|
450
|
+
margin-bottom: 0.5rem;
|
|
451
451
|
position: relative;
|
|
452
452
|
min-width: 0;
|
|
453
453
|
flex-shrink: 0;
|
|
@@ -464,27 +464,27 @@ export default css `
|
|
|
464
464
|
}
|
|
465
465
|
|
|
466
466
|
.message__content {
|
|
467
|
-
padding:
|
|
468
|
-
border-radius:
|
|
469
|
-
font-size:
|
|
470
|
-
line-height:
|
|
467
|
+
padding: 8px 12px;
|
|
468
|
+
border-radius: 0;
|
|
469
|
+
font-size: 0.875rem;
|
|
470
|
+
line-height: 1.5;
|
|
471
471
|
position: relative;
|
|
472
|
-
font-weight:
|
|
473
|
-
box-shadow:
|
|
472
|
+
font-weight: 400;
|
|
473
|
+
box-shadow: none;
|
|
474
474
|
box-sizing: border-box;
|
|
475
475
|
overflow-wrap: break-word;
|
|
476
476
|
white-space: normal;
|
|
477
|
-
background-color:
|
|
478
|
-
color:
|
|
479
|
-
border:
|
|
477
|
+
background-color: transparent;
|
|
478
|
+
color: inherit;
|
|
479
|
+
border: 0 solid transparent;
|
|
480
480
|
}
|
|
481
481
|
|
|
482
482
|
/* Message attachments (file tags) */
|
|
483
483
|
.message__attachments {
|
|
484
484
|
display: flex;
|
|
485
485
|
flex-wrap: wrap;
|
|
486
|
-
gap:
|
|
487
|
-
margin-top:
|
|
486
|
+
gap: 0.25rem;
|
|
487
|
+
margin-top: 0.25rem;
|
|
488
488
|
position: relative;
|
|
489
489
|
z-index: 1;
|
|
490
490
|
}
|
|
@@ -500,7 +500,7 @@ export default css `
|
|
|
500
500
|
}
|
|
501
501
|
|
|
502
502
|
.message__attachment-tag {
|
|
503
|
-
--nuraly-tag-font-size:
|
|
503
|
+
--nuraly-tag-font-size: 0.75rem;
|
|
504
504
|
--nuraly-tag-padding-x: 4px;
|
|
505
505
|
--nuraly-tag-padding-y: 0px;
|
|
506
506
|
cursor: help;
|
|
@@ -511,8 +511,8 @@ export default css `
|
|
|
511
511
|
display: flex;
|
|
512
512
|
flex-direction: column;
|
|
513
513
|
align-items: center;
|
|
514
|
-
gap:
|
|
515
|
-
padding:
|
|
514
|
+
gap: 0.5rem;
|
|
515
|
+
padding: 0.75rem;
|
|
516
516
|
min-width: 200px;
|
|
517
517
|
max-width: 300px;
|
|
518
518
|
}
|
|
@@ -520,12 +520,12 @@ export default css `
|
|
|
520
520
|
.message-file-preview-image {
|
|
521
521
|
max-width: 100%;
|
|
522
522
|
max-height: 200px;
|
|
523
|
-
border-radius:
|
|
523
|
+
border-radius: 8px;
|
|
524
524
|
object-fit: contain;
|
|
525
525
|
}
|
|
526
526
|
|
|
527
527
|
.message-file-preview-icon {
|
|
528
|
-
color:
|
|
528
|
+
color: #6c757d;
|
|
529
529
|
opacity: 0.6;
|
|
530
530
|
}
|
|
531
531
|
|
|
@@ -535,42 +535,42 @@ export default css `
|
|
|
535
535
|
}
|
|
536
536
|
|
|
537
537
|
.message-file-preview-name {
|
|
538
|
-
font-size:
|
|
538
|
+
font-size: 0.875rem;
|
|
539
539
|
font-weight: 500;
|
|
540
|
-
color:
|
|
540
|
+
color: #1f2937;
|
|
541
541
|
white-space: nowrap;
|
|
542
542
|
overflow: hidden;
|
|
543
543
|
text-overflow: ellipsis;
|
|
544
|
-
margin-bottom:
|
|
544
|
+
margin-bottom: 0.25rem;
|
|
545
545
|
}
|
|
546
546
|
|
|
547
547
|
.message-file-preview-details {
|
|
548
|
-
font-size:
|
|
549
|
-
color:
|
|
548
|
+
font-size: 0.75rem;
|
|
549
|
+
color: #6c757d;
|
|
550
550
|
}
|
|
551
551
|
|
|
552
552
|
.message.user .message__content {
|
|
553
|
-
background-color:
|
|
554
|
-
color:
|
|
555
|
-
border-radius: var(--
|
|
556
|
-
border:
|
|
557
|
-
box-shadow:
|
|
553
|
+
background-color: #7c3aed;
|
|
554
|
+
color: #ffffff;
|
|
555
|
+
border-radius: var(--chatbot-radius, 8px);
|
|
556
|
+
border: 0 solid transparent;
|
|
557
|
+
box-shadow: none;
|
|
558
558
|
}
|
|
559
559
|
|
|
560
560
|
.message.bot .message__content {
|
|
561
|
-
background-color:
|
|
562
|
-
color:
|
|
563
|
-
border-radius:
|
|
564
|
-
border:
|
|
565
|
-
box-shadow:
|
|
561
|
+
background-color: transparent;
|
|
562
|
+
color: inherit;
|
|
563
|
+
border-radius: 0;
|
|
564
|
+
border: 0 solid transparent;
|
|
565
|
+
box-shadow: none;
|
|
566
566
|
}
|
|
567
567
|
|
|
568
568
|
.message.error .message__content {
|
|
569
|
-
background-color:
|
|
570
|
-
color:
|
|
571
|
-
border-radius:
|
|
572
|
-
border:
|
|
573
|
-
box-shadow:
|
|
569
|
+
background-color: transparent;
|
|
570
|
+
color: inherit;
|
|
571
|
+
border-radius: 0;
|
|
572
|
+
border: 0 solid transparent;
|
|
573
|
+
box-shadow: none;
|
|
574
574
|
}
|
|
575
575
|
|
|
576
576
|
/* Styled error message container */
|
|
@@ -578,19 +578,19 @@ export default css `
|
|
|
578
578
|
display: flex;
|
|
579
579
|
flex-direction: column;
|
|
580
580
|
gap: 0.5rem;
|
|
581
|
-
border-radius:
|
|
581
|
+
border-radius: 0.75rem;
|
|
582
582
|
}
|
|
583
583
|
|
|
584
584
|
.message__error-title {
|
|
585
585
|
font-weight: 600;
|
|
586
586
|
font-size: 0.875rem;
|
|
587
|
-
color:
|
|
587
|
+
color: #c00;
|
|
588
588
|
margin: 0;
|
|
589
589
|
}
|
|
590
590
|
|
|
591
591
|
.message__error-description {
|
|
592
592
|
font-size: 0.875rem;
|
|
593
|
-
color:
|
|
593
|
+
color: #666;
|
|
594
594
|
margin: 0;
|
|
595
595
|
line-height: 1.5;
|
|
596
596
|
}
|
|
@@ -600,7 +600,7 @@ export default css `
|
|
|
600
600
|
display: flex;
|
|
601
601
|
align-items: center;
|
|
602
602
|
gap: 0.5rem;
|
|
603
|
-
margin-top:
|
|
603
|
+
margin-top: 0.25rem;
|
|
604
604
|
}
|
|
605
605
|
|
|
606
606
|
.message.user .message__footer {
|
|
@@ -612,12 +612,12 @@ export default css `
|
|
|
612
612
|
}
|
|
613
613
|
|
|
614
614
|
.message__timestamp {
|
|
615
|
-
font-size:
|
|
616
|
-
color:
|
|
617
|
-
font-weight:
|
|
615
|
+
font-size: 0.75rem;
|
|
616
|
+
color: #a8a8a8;
|
|
617
|
+
font-weight: 400;
|
|
618
618
|
opacity: 0;
|
|
619
619
|
visibility: hidden;
|
|
620
|
-
transition: opacity
|
|
620
|
+
transition: opacity 0.15s ease, visibility 0.15s ease;
|
|
621
621
|
}
|
|
622
622
|
|
|
623
623
|
.message__copy {
|
|
@@ -629,8 +629,8 @@ export default css `
|
|
|
629
629
|
pointer-events: auto !important;
|
|
630
630
|
opacity: 0;
|
|
631
631
|
visibility: hidden;
|
|
632
|
-
transition: opacity
|
|
633
|
-
color:
|
|
632
|
+
transition: opacity 0.15s ease, visibility 0.15s ease;
|
|
633
|
+
color: #a8a8a8;
|
|
634
634
|
}
|
|
635
635
|
|
|
636
636
|
.message:hover .message__copy {
|
|
@@ -639,7 +639,7 @@ export default css `
|
|
|
639
639
|
}
|
|
640
640
|
|
|
641
641
|
.message:hover .message__timestamp {
|
|
642
|
-
opacity:
|
|
642
|
+
opacity: 1;
|
|
643
643
|
visibility: visible;
|
|
644
644
|
}
|
|
645
645
|
|
|
@@ -648,12 +648,12 @@ export default css `
|
|
|
648
648
|
}
|
|
649
649
|
|
|
650
650
|
.message__copy:focus {
|
|
651
|
-
outline: 2px solid
|
|
651
|
+
outline: 2px solid #0066cc;
|
|
652
652
|
outline-offset: 2px;
|
|
653
653
|
}
|
|
654
654
|
|
|
655
655
|
.message__retry {
|
|
656
|
-
margin-top:
|
|
656
|
+
margin-top: 0.5rem;
|
|
657
657
|
align-self: flex-start;
|
|
658
658
|
}
|
|
659
659
|
|
|
@@ -661,19 +661,19 @@ export default css `
|
|
|
661
661
|
display: flex;
|
|
662
662
|
align-items: center;
|
|
663
663
|
gap: var(--chatbot-spacing-sm);
|
|
664
|
-
background-color:
|
|
664
|
+
background-color: transparent;
|
|
665
665
|
/* Set indicator color (affects spinner currentColor) */
|
|
666
|
-
color: var(--chatbot-loading-indicator-color, var(--
|
|
666
|
+
color: var(--chatbot-loading-indicator-color, var(--chatbot-text-secondary));
|
|
667
667
|
}
|
|
668
668
|
|
|
669
669
|
.dots {
|
|
670
670
|
display: flex;
|
|
671
|
-
gap:
|
|
671
|
+
gap: 0.125rem;
|
|
672
672
|
}
|
|
673
673
|
|
|
674
674
|
.dots span {
|
|
675
|
-
width:
|
|
676
|
-
height:
|
|
675
|
+
width: 0.5rem;
|
|
676
|
+
height: 0.5rem;
|
|
677
677
|
background-color: currentColor;
|
|
678
678
|
border-radius: 50%;
|
|
679
679
|
animation: typing-dots 1.4s infinite;
|
|
@@ -745,13 +745,13 @@ export default css `
|
|
|
745
745
|
.suggestion-container {
|
|
746
746
|
display: flex;
|
|
747
747
|
flex-wrap: wrap;
|
|
748
|
-
gap:
|
|
749
|
-
margin-top:
|
|
748
|
+
gap: 0.5rem;
|
|
749
|
+
margin-top: 0.5rem;
|
|
750
750
|
max-width: 100%;
|
|
751
751
|
margin-left: auto;
|
|
752
752
|
margin-right: auto;
|
|
753
753
|
justify-content: center;
|
|
754
|
-
padding: 0
|
|
754
|
+
padding: 0 1rem;
|
|
755
755
|
overflow: hidden;
|
|
756
756
|
box-sizing: border-box;
|
|
757
757
|
}
|
|
@@ -760,16 +760,16 @@ export default css `
|
|
|
760
760
|
display: inline-flex;
|
|
761
761
|
align-items: center;
|
|
762
762
|
justify-content: center;
|
|
763
|
-
padding:
|
|
764
|
-
background-color:
|
|
765
|
-
color:
|
|
766
|
-
border:
|
|
767
|
-
border-radius:
|
|
768
|
-
font-size:
|
|
769
|
-
font-weight:
|
|
770
|
-
line-height:
|
|
763
|
+
padding: 6px 12px;
|
|
764
|
+
background-color: #ffffff;
|
|
765
|
+
color: #161616;
|
|
766
|
+
border: 1px solid #e0e0e0;
|
|
767
|
+
border-radius: 16px;
|
|
768
|
+
font-size: 13px;
|
|
769
|
+
font-weight: 500;
|
|
770
|
+
line-height: 1.3;
|
|
771
771
|
cursor: pointer;
|
|
772
|
-
transition: all
|
|
772
|
+
transition: all 0.2s ease;
|
|
773
773
|
user-select: none;
|
|
774
774
|
white-space: normal;
|
|
775
775
|
word-break: break-word;
|
|
@@ -780,10 +780,10 @@ export default css `
|
|
|
780
780
|
}
|
|
781
781
|
|
|
782
782
|
.suggestion:hover {
|
|
783
|
-
background-color:
|
|
784
|
-
border-color:
|
|
783
|
+
background-color: #f4f4f4;
|
|
784
|
+
border-color: #c6c6c6;
|
|
785
785
|
transform: translateY(-1px);
|
|
786
|
-
box-shadow:
|
|
786
|
+
box-shadow: 0 2px 8px rgba(0,0,0,0.15);
|
|
787
787
|
}
|
|
788
788
|
|
|
789
789
|
.suggestion:focus {
|
|
@@ -792,7 +792,7 @@ export default css `
|
|
|
792
792
|
|
|
793
793
|
.suggestion:active {
|
|
794
794
|
transform: translateY(0);
|
|
795
|
-
background-color:
|
|
795
|
+
background-color: #f4f0fd;
|
|
796
796
|
}
|
|
797
797
|
|
|
798
798
|
.suggestion--disabled {
|
|
@@ -817,7 +817,7 @@ export default css `
|
|
|
817
817
|
|
|
818
818
|
.input-only-suggestions {
|
|
819
819
|
position: absolute;
|
|
820
|
-
bottom: calc(100% +
|
|
820
|
+
bottom: calc(100% + 0.5rem);
|
|
821
821
|
left: 0;
|
|
822
822
|
right: 0;
|
|
823
823
|
display: flex;
|
|
@@ -831,7 +831,7 @@ export default css `
|
|
|
831
831
|
flex-direction: row;
|
|
832
832
|
flex-wrap: wrap;
|
|
833
833
|
justify-content: center;
|
|
834
|
-
gap:
|
|
834
|
+
gap: 0.25rem;
|
|
835
835
|
margin: 0;
|
|
836
836
|
padding: 0;
|
|
837
837
|
pointer-events: auto;
|
|
@@ -845,7 +845,7 @@ export default css `
|
|
|
845
845
|
right: 0;
|
|
846
846
|
bottom: 0;
|
|
847
847
|
background-color: rgba(255, 255, 255, 0.95);
|
|
848
|
-
border:
|
|
848
|
+
border: 0.25rem dashed var(--chatbot-user-message-bg);
|
|
849
849
|
border-radius: var(--chatbot-radius);
|
|
850
850
|
z-index: 10;
|
|
851
851
|
}
|
|
@@ -873,7 +873,7 @@ export default css `
|
|
|
873
873
|
}
|
|
874
874
|
|
|
875
875
|
.file-upload-area__help {
|
|
876
|
-
font-size:
|
|
876
|
+
font-size: 0.75rem;
|
|
877
877
|
color: var(--chatbot-text-secondary);
|
|
878
878
|
margin: var(--chatbot-spacing-xs) 0;
|
|
879
879
|
}
|
|
@@ -892,14 +892,14 @@ export default css `
|
|
|
892
892
|
gap: var(--chatbot-spacing-sm);
|
|
893
893
|
padding: var(--chatbot-spacing-sm);
|
|
894
894
|
background-color: var(--chatbot-background);
|
|
895
|
-
border:
|
|
895
|
+
border: 1px solid var(--chatbot-border);
|
|
896
896
|
border-radius: var(--chatbot-radius);
|
|
897
|
-
max-width:
|
|
897
|
+
max-width: 200px;
|
|
898
898
|
}
|
|
899
899
|
|
|
900
900
|
.uploaded-file__preview {
|
|
901
|
-
width:
|
|
902
|
-
height:
|
|
901
|
+
width: 32px;
|
|
902
|
+
height: 32px;
|
|
903
903
|
object-fit: cover;
|
|
904
904
|
border-radius: var(--chatbot-spacing-xs);
|
|
905
905
|
}
|
|
@@ -914,7 +914,7 @@ export default css `
|
|
|
914
914
|
}
|
|
915
915
|
|
|
916
916
|
.uploaded-file__name {
|
|
917
|
-
font-size:
|
|
917
|
+
font-size: 0.75rem;
|
|
918
918
|
font-weight: 500;
|
|
919
919
|
color: var(--chatbot-text-primary);
|
|
920
920
|
white-space: nowrap;
|
|
@@ -923,14 +923,14 @@ export default css `
|
|
|
923
923
|
}
|
|
924
924
|
|
|
925
925
|
.uploaded-file__size {
|
|
926
|
-
font-size:
|
|
926
|
+
font-size: 11px;
|
|
927
927
|
color: var(--chatbot-text-secondary);
|
|
928
928
|
}
|
|
929
929
|
|
|
930
930
|
.uploaded-file__progress {
|
|
931
|
-
height:
|
|
931
|
+
height: 0.125rem;
|
|
932
932
|
background-color: var(--chatbot-border);
|
|
933
|
-
border-radius:
|
|
933
|
+
border-radius: 0.125rem;
|
|
934
934
|
overflow: hidden;
|
|
935
935
|
margin-top: var(--chatbot-spacing-xs);
|
|
936
936
|
}
|
|
@@ -942,7 +942,7 @@ export default css `
|
|
|
942
942
|
}
|
|
943
943
|
|
|
944
944
|
.uploaded-file__error {
|
|
945
|
-
font-size:
|
|
945
|
+
font-size: 11px;
|
|
946
946
|
color: var(--chatbot-error-text);
|
|
947
947
|
margin-top: var(--chatbot-spacing-xs);
|
|
948
948
|
}
|
|
@@ -954,21 +954,21 @@ export default css `
|
|
|
954
954
|
|
|
955
955
|
|
|
956
956
|
.input-container {
|
|
957
|
-
background-color:
|
|
958
|
-
border:
|
|
959
|
-
border-radius:
|
|
960
|
-
transition:
|
|
961
|
-
box-shadow:
|
|
957
|
+
background-color: #ffffff;
|
|
958
|
+
border: 1px solid #e0e0e0;
|
|
959
|
+
border-radius: 8px;
|
|
960
|
+
transition: all 0.2s ease;
|
|
961
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
962
962
|
overflow: visible;
|
|
963
963
|
position: relative;
|
|
964
|
-
min-width:
|
|
964
|
+
min-width: 280px;
|
|
965
965
|
}
|
|
966
966
|
|
|
967
967
|
.context-tags-row {
|
|
968
968
|
display: flex;
|
|
969
969
|
flex-wrap: wrap;
|
|
970
|
-
gap:
|
|
971
|
-
padding:
|
|
970
|
+
gap: 0.5rem;
|
|
971
|
+
padding: 0.75rem 1rem 0 1rem;
|
|
972
972
|
position: relative;
|
|
973
973
|
z-index: 2;
|
|
974
974
|
}
|
|
@@ -980,8 +980,8 @@ export default css `
|
|
|
980
980
|
|
|
981
981
|
|
|
982
982
|
.context-tag {
|
|
983
|
-
--nuraly-tag-font-size:
|
|
984
|
-
--nuraly-tag-padding-x:
|
|
983
|
+
--nuraly-tag-font-size: 0.75rem;
|
|
984
|
+
--nuraly-tag-padding-x: 0.5rem;
|
|
985
985
|
--nuraly-tag-padding-y: 0;
|
|
986
986
|
cursor: help;
|
|
987
987
|
}
|
|
@@ -991,8 +991,8 @@ export default css `
|
|
|
991
991
|
display: flex;
|
|
992
992
|
flex-direction: column;
|
|
993
993
|
align-items: center;
|
|
994
|
-
gap:
|
|
995
|
-
padding:
|
|
994
|
+
gap: 0.5rem;
|
|
995
|
+
padding: 0.75rem;
|
|
996
996
|
min-width: 200px;
|
|
997
997
|
max-width: 300px;
|
|
998
998
|
}
|
|
@@ -1000,12 +1000,12 @@ export default css `
|
|
|
1000
1000
|
.file-preview-image {
|
|
1001
1001
|
max-width: 100%;
|
|
1002
1002
|
max-height: 200px;
|
|
1003
|
-
border-radius:
|
|
1003
|
+
border-radius: 8px;
|
|
1004
1004
|
object-fit: contain;
|
|
1005
1005
|
}
|
|
1006
1006
|
|
|
1007
1007
|
.file-preview-icon {
|
|
1008
|
-
color:
|
|
1008
|
+
color: #6c757d;
|
|
1009
1009
|
opacity: 0.6;
|
|
1010
1010
|
}
|
|
1011
1011
|
|
|
@@ -1015,69 +1015,69 @@ export default css `
|
|
|
1015
1015
|
}
|
|
1016
1016
|
|
|
1017
1017
|
.file-preview-name {
|
|
1018
|
-
font-size:
|
|
1018
|
+
font-size: 0.875rem;
|
|
1019
1019
|
font-weight: 500;
|
|
1020
|
-
color:
|
|
1020
|
+
color: #1f2937;
|
|
1021
1021
|
white-space: nowrap;
|
|
1022
1022
|
overflow: hidden;
|
|
1023
1023
|
text-overflow: ellipsis;
|
|
1024
|
-
margin-bottom:
|
|
1024
|
+
margin-bottom: 0.25rem;
|
|
1025
1025
|
}
|
|
1026
1026
|
|
|
1027
1027
|
.file-preview-details {
|
|
1028
|
-
font-size:
|
|
1029
|
-
color:
|
|
1028
|
+
font-size: 0.75rem;
|
|
1029
|
+
color: #6c757d;
|
|
1030
1030
|
}
|
|
1031
1031
|
|
|
1032
1032
|
.input-container:focus-within {
|
|
1033
|
-
border-color:
|
|
1033
|
+
border-color: #7c3aed;
|
|
1034
1034
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
1035
1035
|
}
|
|
1036
1036
|
|
|
1037
1037
|
.input-row {
|
|
1038
1038
|
display: flex;
|
|
1039
1039
|
align-items: flex-start;
|
|
1040
|
-
padding:
|
|
1041
|
-
min-height:
|
|
1040
|
+
padding: 1rem 1rem 0.5rem 1rem;
|
|
1041
|
+
min-height: 1.5rem;
|
|
1042
1042
|
}
|
|
1043
1043
|
|
|
1044
1044
|
.chat-container--boxed .input-box {
|
|
1045
1045
|
background-color: transparent;
|
|
1046
|
-
padding:
|
|
1046
|
+
padding: 1rem 0;
|
|
1047
1047
|
width: 100%;
|
|
1048
1048
|
box-sizing: border-box;
|
|
1049
1049
|
}
|
|
1050
1050
|
|
|
1051
1051
|
.chat-container--boxed .input-container {
|
|
1052
1052
|
width: 100%;
|
|
1053
|
-
max-width:
|
|
1053
|
+
max-width: 768px;
|
|
1054
1054
|
margin-left: auto;
|
|
1055
1055
|
margin-right: auto;
|
|
1056
1056
|
box-sizing: border-box;
|
|
1057
|
-
padding-left:
|
|
1058
|
-
padding-right:
|
|
1057
|
+
padding-left: 1rem;
|
|
1058
|
+
padding-right: 1rem;
|
|
1059
1059
|
}
|
|
1060
1060
|
|
|
1061
1061
|
.chat-container--boxed .messages {
|
|
1062
|
-
max-width:
|
|
1062
|
+
max-width: 768px;
|
|
1063
1063
|
margin-left: auto;
|
|
1064
1064
|
margin-right: auto;
|
|
1065
1065
|
}
|
|
1066
1066
|
|
|
1067
1067
|
:host(:not([boxed])) .input-container {
|
|
1068
|
-
border-radius:
|
|
1069
|
-
margin:
|
|
1068
|
+
border-radius: 12px;
|
|
1069
|
+
margin: 1rem;
|
|
1070
1070
|
box-sizing: border-box;
|
|
1071
|
-
width: calc(100% - 2 *
|
|
1071
|
+
width: calc(100% - 2 * 1rem);
|
|
1072
1072
|
}
|
|
1073
1073
|
|
|
1074
1074
|
:host(:not([boxed])) .action-buttons-row {
|
|
1075
|
-
border-bottom-left-radius:
|
|
1076
|
-
border-bottom-right-radius:
|
|
1075
|
+
border-bottom-left-radius: 12px;
|
|
1076
|
+
border-bottom-right-radius: 12px;
|
|
1077
1077
|
}
|
|
1078
1078
|
|
|
1079
1079
|
:host(:not([boxed])) .messages {
|
|
1080
|
-
padding:
|
|
1080
|
+
padding: 1rem !important;
|
|
1081
1081
|
width: 100%;
|
|
1082
1082
|
box-sizing: border-box;
|
|
1083
1083
|
}
|
|
@@ -1086,25 +1086,25 @@ export default css `
|
|
|
1086
1086
|
display: flex;
|
|
1087
1087
|
align-items: center;
|
|
1088
1088
|
justify-content: space-between;
|
|
1089
|
-
gap:
|
|
1090
|
-
padding:
|
|
1089
|
+
gap: 0.75rem;
|
|
1090
|
+
padding: 0.5rem 1rem 1rem 1rem;
|
|
1091
1091
|
background-color: transparent;
|
|
1092
|
-
border-bottom-left-radius:
|
|
1093
|
-
border-bottom-right-radius:
|
|
1094
|
-
min-width:
|
|
1092
|
+
border-bottom-left-radius: 8px;
|
|
1093
|
+
border-bottom-right-radius: 8px;
|
|
1094
|
+
min-width: 240px;
|
|
1095
1095
|
}
|
|
1096
1096
|
|
|
1097
1097
|
.action-buttons-left {
|
|
1098
1098
|
display: flex;
|
|
1099
1099
|
align-items: center;
|
|
1100
|
-
gap:
|
|
1100
|
+
gap: 0.5rem;
|
|
1101
1101
|
}
|
|
1102
1102
|
|
|
1103
1103
|
.action-buttons-right {
|
|
1104
1104
|
display: flex;
|
|
1105
1105
|
align-items: center;
|
|
1106
|
-
gap:
|
|
1107
|
-
min-width: calc(
|
|
1106
|
+
gap: 0.5rem;
|
|
1107
|
+
min-width: calc(40px + 0.5rem);
|
|
1108
1108
|
justify-content: flex-end;
|
|
1109
1109
|
}
|
|
1110
1110
|
|
|
@@ -1116,7 +1116,7 @@ export default css `
|
|
|
1116
1116
|
|
|
1117
1117
|
/* Module select styling */
|
|
1118
1118
|
.module-select {
|
|
1119
|
-
max-width:
|
|
1119
|
+
max-width: 300px;
|
|
1120
1120
|
}
|
|
1121
1121
|
|
|
1122
1122
|
/* Ensure buttons in action row match select height */
|
|
@@ -1125,58 +1125,58 @@ export default css `
|
|
|
1125
1125
|
}
|
|
1126
1126
|
|
|
1127
1127
|
.module-display-placeholder {
|
|
1128
|
-
color:
|
|
1129
|
-
font-size:
|
|
1128
|
+
color: #6f6f6f;
|
|
1129
|
+
font-size: 0.875rem; /* 14px */
|
|
1130
1130
|
}
|
|
1131
1131
|
|
|
1132
1132
|
.module-display-single,
|
|
1133
1133
|
.module-display-multiple {
|
|
1134
1134
|
display: flex;
|
|
1135
1135
|
align-items: center;
|
|
1136
|
-
gap:
|
|
1137
|
-
font-size:
|
|
1138
|
-
color:
|
|
1136
|
+
gap: 0.5rem; /* 6px */
|
|
1137
|
+
font-size: 0.875rem; /* 14px */
|
|
1138
|
+
color: inherit;
|
|
1139
1139
|
}
|
|
1140
1140
|
|
|
1141
1141
|
.module-display-single nr-icon {
|
|
1142
|
-
font-size:
|
|
1142
|
+
font-size: 1rem; /* 16px */
|
|
1143
1143
|
}
|
|
1144
1144
|
|
|
1145
1145
|
.module-display-multiple {
|
|
1146
1146
|
font-weight: 500;
|
|
1147
|
-
color:
|
|
1147
|
+
color: #7c3aed;
|
|
1148
1148
|
}
|
|
1149
1149
|
|
|
1150
1150
|
/* Dropdown styling inside chatbot */
|
|
1151
1151
|
.input-box__upload-dropdown {
|
|
1152
1152
|
position: relative;
|
|
1153
|
-
z-index:
|
|
1153
|
+
z-index: 100;
|
|
1154
1154
|
}
|
|
1155
1155
|
|
|
1156
1156
|
.input-box__upload-dropdown ::part(panel) {
|
|
1157
|
-
background-color:
|
|
1158
|
-
border:
|
|
1159
|
-
border-radius:
|
|
1160
|
-
box-shadow:
|
|
1161
|
-
min-width:
|
|
1157
|
+
background-color: #ffffff;
|
|
1158
|
+
border: 1px solid #e0e0e0;
|
|
1159
|
+
border-radius: 8px;
|
|
1160
|
+
box-shadow: 0 2px 8px rgba(0,0,0,0.15);
|
|
1161
|
+
min-width: 200px;
|
|
1162
1162
|
position: fixed !important; /* Use fixed positioning to break out of containers */
|
|
1163
|
-
z-index:
|
|
1163
|
+
z-index: 100;
|
|
1164
1164
|
transform: none !important;
|
|
1165
1165
|
}
|
|
1166
1166
|
|
|
1167
1167
|
.input-box__input {
|
|
1168
1168
|
flex: 1;
|
|
1169
1169
|
width: 100%;
|
|
1170
|
-
min-height:
|
|
1171
|
-
max-height:
|
|
1170
|
+
min-height: 1.5rem; /* 24px */
|
|
1171
|
+
max-height: 120px;
|
|
1172
1172
|
overflow-y: auto;
|
|
1173
1173
|
padding: 0;
|
|
1174
1174
|
border: none;
|
|
1175
1175
|
outline: none;
|
|
1176
1176
|
background: transparent;
|
|
1177
|
-
color:
|
|
1178
|
-
font-family:
|
|
1179
|
-
font-size:
|
|
1177
|
+
color: #161616;
|
|
1178
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
1179
|
+
font-size: 0.875rem;
|
|
1180
1180
|
line-height: 1.4;
|
|
1181
1181
|
resize: none;
|
|
1182
1182
|
white-space: pre-wrap;
|
|
@@ -1185,7 +1185,7 @@ export default css `
|
|
|
1185
1185
|
|
|
1186
1186
|
.input-box__input:empty::before {
|
|
1187
1187
|
content: attr(data-placeholder);
|
|
1188
|
-
color:
|
|
1188
|
+
color: #a8a8a8;
|
|
1189
1189
|
pointer-events: none;
|
|
1190
1190
|
}
|
|
1191
1191
|
|
|
@@ -1204,54 +1204,54 @@ export default css `
|
|
|
1204
1204
|
.input-box__file-button button,
|
|
1205
1205
|
.input-box__send-button button {
|
|
1206
1206
|
background: transparent !important;
|
|
1207
|
-
border:
|
|
1208
|
-
color:
|
|
1209
|
-
padding:
|
|
1210
|
-
border-radius:
|
|
1211
|
-
font-size:
|
|
1207
|
+
border: 1px solid #e0e0e0 !important;
|
|
1208
|
+
color: #161616 !important;
|
|
1209
|
+
padding: 0.5rem 0.75rem !important; /* 8px 12px */
|
|
1210
|
+
border-radius: 6px !important;
|
|
1211
|
+
font-size: 0.875rem !important; /* 14px */
|
|
1212
1212
|
font-weight: 500 !important;
|
|
1213
1213
|
min-width: auto !important;
|
|
1214
1214
|
height: auto !important;
|
|
1215
|
-
gap:
|
|
1216
|
-
transition:
|
|
1215
|
+
gap: 0.5rem !important; /* 8px */
|
|
1216
|
+
transition: all 0.2s ease !important;
|
|
1217
1217
|
white-space: nowrap !important;
|
|
1218
1218
|
}
|
|
1219
1219
|
|
|
1220
1220
|
/* Send button specific styling for more rounded appearance */
|
|
1221
1221
|
.input-box__send-button button {
|
|
1222
|
-
border-radius:
|
|
1223
|
-
background-color:
|
|
1224
|
-
color:
|
|
1225
|
-
border-color:
|
|
1226
|
-
width:
|
|
1227
|
-
height:
|
|
1228
|
-
min-width:
|
|
1222
|
+
border-radius: 6px !important;
|
|
1223
|
+
background-color: #7c3aed !important;
|
|
1224
|
+
color: #ffffff !important;
|
|
1225
|
+
border-color: #7c3aed !important;
|
|
1226
|
+
width: 40px !important; /* Match other button widths */
|
|
1227
|
+
height: 40px !important; /* Match other button heights */
|
|
1228
|
+
min-width: 40px !important; /* Prevent shrinking */
|
|
1229
1229
|
}
|
|
1230
1230
|
|
|
1231
1231
|
.input-box__file-button:hover button,
|
|
1232
1232
|
.input-box__send-button:hover button {
|
|
1233
|
-
background-color:
|
|
1234
|
-
border-color:
|
|
1233
|
+
background-color: #f4f4f4 !important;
|
|
1234
|
+
border-color: #c6c6c6 !important;
|
|
1235
1235
|
transform: scale(1.05);
|
|
1236
1236
|
}
|
|
1237
1237
|
|
|
1238
1238
|
/* Send button hover specific styling */
|
|
1239
1239
|
.input-box__send-button:hover button {
|
|
1240
|
-
background-color:
|
|
1241
|
-
border-color:
|
|
1240
|
+
background-color: #6d28d9 !important;
|
|
1241
|
+
border-color: #6d28d9 !important;
|
|
1242
1242
|
}
|
|
1243
1243
|
|
|
1244
1244
|
.input-box__file-button:focus-within,
|
|
1245
1245
|
.input-box__send-button:focus-within {
|
|
1246
|
-
outline:
|
|
1247
|
-
outline-offset:
|
|
1246
|
+
outline: 0.25rem solid #7c3aed; /* 2px */
|
|
1247
|
+
outline-offset: 0.25rem; /* 2px */
|
|
1248
1248
|
}
|
|
1249
1249
|
|
|
1250
1250
|
.input-box__send-button[disabled] button,
|
|
1251
1251
|
.input-box__file-button[disabled] button {
|
|
1252
|
-
background-color:
|
|
1253
|
-
color:
|
|
1254
|
-
border-color:
|
|
1252
|
+
background-color: #f4f4f4 !important;
|
|
1253
|
+
color: #c6c6c6 !important;
|
|
1254
|
+
border-color: #e0e0e0 !important;
|
|
1255
1255
|
opacity: 0.6 !important;
|
|
1256
1256
|
cursor: not-allowed !important;
|
|
1257
1257
|
}
|
|
@@ -1269,7 +1269,7 @@ export default css `
|
|
|
1269
1269
|
|
|
1270
1270
|
:host([dir='rtl']) .thread-sidebar {
|
|
1271
1271
|
border-right: none;
|
|
1272
|
-
border-left:
|
|
1272
|
+
border-left: 1px solid var(--chatbot-border);
|
|
1273
1273
|
}
|
|
1274
1274
|
|
|
1275
1275
|
:host([dir='rtl']) .message.user {
|
|
@@ -1281,11 +1281,11 @@ export default css `
|
|
|
1281
1281
|
}
|
|
1282
1282
|
|
|
1283
1283
|
:host([dir='rtl']) .message.user .message__content {
|
|
1284
|
-
border-radius:
|
|
1284
|
+
border-radius: 0;
|
|
1285
1285
|
}
|
|
1286
1286
|
|
|
1287
1287
|
:host([dir='rtl']) .message.bot .message__content {
|
|
1288
|
-
border-radius:
|
|
1288
|
+
border-radius: 0;
|
|
1289
1289
|
}
|
|
1290
1290
|
|
|
1291
1291
|
:host([dir='rtl']) .message.user .message__timestamp {
|
|
@@ -1302,13 +1302,13 @@ export default css `
|
|
|
1302
1302
|
|
|
1303
1303
|
/* Size variants */
|
|
1304
1304
|
:host([data-size='small']) {
|
|
1305
|
-
--chatbot-spacing-md:
|
|
1306
|
-
font-size:
|
|
1305
|
+
--chatbot-spacing-md: 0.75rem; /* 12px */
|
|
1306
|
+
font-size: 13px;
|
|
1307
1307
|
}
|
|
1308
1308
|
|
|
1309
1309
|
:host([data-size='large']) {
|
|
1310
|
-
--chatbot-spacing-md:
|
|
1311
|
-
font-size:
|
|
1310
|
+
--chatbot-spacing-md: 20px;
|
|
1311
|
+
font-size: 15px;
|
|
1312
1312
|
}
|
|
1313
1313
|
|
|
1314
1314
|
/* Variant styles */
|
|
@@ -1322,7 +1322,7 @@ export default css `
|
|
|
1322
1322
|
|
|
1323
1323
|
/* Mode-specific styles */
|
|
1324
1324
|
:host([data-mode='assistant']) .message.bot .message__content {
|
|
1325
|
-
background: linear-gradient(135deg,
|
|
1325
|
+
background: linear-gradient(135deg, transparent, #f1f1f1);
|
|
1326
1326
|
}
|
|
1327
1327
|
|
|
1328
1328
|
:host([data-mode='assistant']) .suggestion {
|
|
@@ -1337,12 +1337,12 @@ export default css `
|
|
|
1337
1337
|
|
|
1338
1338
|
/* Artifact panel */
|
|
1339
1339
|
.artifact-panel {
|
|
1340
|
-
width:
|
|
1341
|
-
min-width:
|
|
1340
|
+
width: 400px;
|
|
1341
|
+
min-width: 300px;
|
|
1342
1342
|
flex-shrink: 0;
|
|
1343
1343
|
display: flex;
|
|
1344
1344
|
flex-direction: row;
|
|
1345
|
-
background-color:
|
|
1345
|
+
background-color: #ffffff;
|
|
1346
1346
|
overflow: hidden;
|
|
1347
1347
|
position: relative;
|
|
1348
1348
|
}
|
|
@@ -1354,24 +1354,24 @@ export default css `
|
|
|
1354
1354
|
display: flex;
|
|
1355
1355
|
align-items: center;
|
|
1356
1356
|
justify-content: center;
|
|
1357
|
-
background:
|
|
1357
|
+
background: #e0e0e0;
|
|
1358
1358
|
transition: background 0.15s;
|
|
1359
1359
|
z-index: 1;
|
|
1360
1360
|
}
|
|
1361
1361
|
.artifact-panel__resize-handle:hover,
|
|
1362
1362
|
.artifact-panel__resize-handle--active {
|
|
1363
|
-
background:
|
|
1363
|
+
background: #9ca3af;
|
|
1364
1364
|
}
|
|
1365
1365
|
.artifact-panel__resize-bar {
|
|
1366
1366
|
width: 2px;
|
|
1367
1367
|
height: 24px;
|
|
1368
1368
|
border-radius: 1px;
|
|
1369
|
-
background:
|
|
1369
|
+
background: #9ca3af;
|
|
1370
1370
|
transition: background 0.15s;
|
|
1371
1371
|
}
|
|
1372
1372
|
.artifact-panel__resize-handle:hover .artifact-panel__resize-bar,
|
|
1373
1373
|
.artifact-panel__resize-handle--active .artifact-panel__resize-bar {
|
|
1374
|
-
background:
|
|
1374
|
+
background: #1f2937;
|
|
1375
1375
|
}
|
|
1376
1376
|
|
|
1377
1377
|
.artifact-panel__body {
|
|
@@ -1379,7 +1379,7 @@ export default css `
|
|
|
1379
1379
|
display: flex;
|
|
1380
1380
|
flex-direction: column;
|
|
1381
1381
|
min-width: 0;
|
|
1382
|
-
border-left: 1px solid
|
|
1382
|
+
border-left: 1px solid #e0e0e0;
|
|
1383
1383
|
overflow: hidden;
|
|
1384
1384
|
}
|
|
1385
1385
|
|
|
@@ -1388,7 +1388,7 @@ export default css `
|
|
|
1388
1388
|
align-items: center;
|
|
1389
1389
|
justify-content: space-between;
|
|
1390
1390
|
padding: 12px 16px;
|
|
1391
|
-
border-bottom: 1px solid
|
|
1391
|
+
border-bottom: 1px solid #e0e0e0;
|
|
1392
1392
|
flex-shrink: 0;
|
|
1393
1393
|
}
|
|
1394
1394
|
|
|
@@ -1410,7 +1410,7 @@ export default css `
|
|
|
1410
1410
|
.artifact-panel__title {
|
|
1411
1411
|
font-size: 13px;
|
|
1412
1412
|
font-weight: 500;
|
|
1413
|
-
color:
|
|
1413
|
+
color: #1f2937;
|
|
1414
1414
|
white-space: nowrap;
|
|
1415
1415
|
overflow: hidden;
|
|
1416
1416
|
text-overflow: ellipsis;
|
|
@@ -1432,7 +1432,7 @@ export default css `
|
|
|
1432
1432
|
.artifact-panel__code {
|
|
1433
1433
|
margin: 0;
|
|
1434
1434
|
padding: 16px;
|
|
1435
|
-
background:
|
|
1435
|
+
background: #f6f8fa;
|
|
1436
1436
|
border-radius: 8px;
|
|
1437
1437
|
font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
|
|
1438
1438
|
font-size: 13px;
|
|
@@ -1440,7 +1440,7 @@ export default css `
|
|
|
1440
1440
|
overflow: auto;
|
|
1441
1441
|
white-space: pre-wrap;
|
|
1442
1442
|
word-wrap: break-word;
|
|
1443
|
-
color:
|
|
1443
|
+
color: #1f2937;
|
|
1444
1444
|
tab-size: 2;
|
|
1445
1445
|
}
|
|
1446
1446
|
|
|
@@ -1452,7 +1452,7 @@ export default css `
|
|
|
1452
1452
|
.artifact-panel__rendered-md {
|
|
1453
1453
|
font-size: 14px;
|
|
1454
1454
|
line-height: 1.6;
|
|
1455
|
-
color:
|
|
1455
|
+
color: #1f2937;
|
|
1456
1456
|
}
|
|
1457
1457
|
|
|
1458
1458
|
.artifact-panel__rendered-md h1,
|
|
@@ -1467,7 +1467,7 @@ export default css `
|
|
|
1467
1467
|
}
|
|
1468
1468
|
|
|
1469
1469
|
.artifact-panel__rendered-md pre {
|
|
1470
|
-
background:
|
|
1470
|
+
background: #f6f8fa;
|
|
1471
1471
|
padding: 12px;
|
|
1472
1472
|
border-radius: 6px;
|
|
1473
1473
|
overflow: auto;
|
|
@@ -1476,13 +1476,13 @@ export default css `
|
|
|
1476
1476
|
.artifact-panel__rendered-html {
|
|
1477
1477
|
font-size: 14px;
|
|
1478
1478
|
line-height: 1.6;
|
|
1479
|
-
color:
|
|
1479
|
+
color: #1f2937;
|
|
1480
1480
|
}
|
|
1481
1481
|
|
|
1482
1482
|
.artifact-panel__rendered-text {
|
|
1483
1483
|
font-size: 14px;
|
|
1484
1484
|
line-height: 1.6;
|
|
1485
|
-
color:
|
|
1485
|
+
color: #1f2937;
|
|
1486
1486
|
white-space: pre-wrap;
|
|
1487
1487
|
word-wrap: break-word;
|
|
1488
1488
|
font-family: system-ui, -apple-system, sans-serif;
|
|
@@ -1544,22 +1544,22 @@ export default css `
|
|
|
1544
1544
|
|
|
1545
1545
|
:host([boxed]) .messages {
|
|
1546
1546
|
width: 100%;
|
|
1547
|
-
padding:
|
|
1547
|
+
padding: 8px 0.75rem;
|
|
1548
1548
|
}
|
|
1549
1549
|
|
|
1550
1550
|
.chat-container--boxed .input-container {
|
|
1551
1551
|
width: 100%;
|
|
1552
|
-
padding-left:
|
|
1553
|
-
padding-right:
|
|
1552
|
+
padding-left: 0.75rem;
|
|
1553
|
+
padding-right: 0.75rem;
|
|
1554
1554
|
}
|
|
1555
1555
|
|
|
1556
1556
|
.chat-container--boxed .input-box {
|
|
1557
|
-
padding:
|
|
1557
|
+
padding: 0.75rem 0;
|
|
1558
1558
|
}
|
|
1559
1559
|
|
|
1560
1560
|
:host([boxed]) .chatbot-content:has(.empty-state) + .input-box {
|
|
1561
1561
|
max-width: 100%;
|
|
1562
|
-
padding: 0
|
|
1562
|
+
padding: 0 0.75rem;
|
|
1563
1563
|
}
|
|
1564
1564
|
}
|
|
1565
1565
|
|
|
@@ -1593,24 +1593,24 @@ export default css `
|
|
|
1593
1593
|
|
|
1594
1594
|
/* Boxed mode mobile fixes */
|
|
1595
1595
|
:host([boxed]) .messages {
|
|
1596
|
-
padding:
|
|
1596
|
+
padding: 8px 0.5rem;
|
|
1597
1597
|
}
|
|
1598
1598
|
|
|
1599
1599
|
.chat-container--boxed .input-container {
|
|
1600
|
-
padding-left:
|
|
1601
|
-
padding-right:
|
|
1600
|
+
padding-left: 0.5rem;
|
|
1601
|
+
padding-right: 0.5rem;
|
|
1602
1602
|
}
|
|
1603
1603
|
|
|
1604
1604
|
.chat-container--boxed .input-box {
|
|
1605
|
-
padding:
|
|
1605
|
+
padding: 0.5rem 0;
|
|
1606
1606
|
}
|
|
1607
1607
|
|
|
1608
1608
|
:host([boxed]) .chatbot-content:has(.empty-state) + .input-box {
|
|
1609
|
-
padding: 0
|
|
1609
|
+
padding: 0 0.5rem;
|
|
1610
1610
|
}
|
|
1611
1611
|
|
|
1612
1612
|
.input-row {
|
|
1613
|
-
padding:
|
|
1613
|
+
padding: 0.75rem;
|
|
1614
1614
|
}
|
|
1615
1615
|
}
|
|
1616
1616
|
|