@progress/kendo-theme-fluent 11.3.3-dev.0 → 12.0.0-dev.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/all.css +1 -1
- package/dist/fluent-main-dark.css +1 -1
- package/dist/fluent-main.css +1 -1
- package/dist/meta/sassdoc-data.json +5939 -5123
- package/dist/meta/sassdoc-raw-data.json +3173 -2798
- package/dist/meta/variables.json +198 -142
- package/lib/swatches/all.json +1 -1
- package/lib/swatches/fluent-main-dark.json +1 -1
- package/lib/swatches/fluent-main.json +1 -1
- package/package.json +4 -4
- package/scss/bubble/_index.scss +16 -0
- package/scss/bubble/_layout.scss +9 -0
- package/scss/bubble/_theme.scss +16 -0
- package/scss/bubble/_variables.scss +92 -0
- package/scss/chat/_index.scss +18 -2
- package/scss/chat/_layout.scss +44 -34
- package/scss/chat/_theme.scss +10 -15
- package/scss/chat/_variables.scss +143 -154
- package/scss/index.scss +4 -0
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
@use "../core/_index.scss" as *;
|
|
2
|
+
|
|
3
|
+
/// The border radius of the Bubble.
|
|
4
|
+
/// @group bubble
|
|
5
|
+
$kendo-bubble-border-radius: k-border-radius(xl) !default;
|
|
6
|
+
/// The small border radius of the Bubble.
|
|
7
|
+
/// @group bubble
|
|
8
|
+
$kendo-bubble-border-radius-sm: k-border-radius(none) !default;
|
|
9
|
+
/// The vertical padding of the Bubble.
|
|
10
|
+
/// @group bubble
|
|
11
|
+
$kendo-bubble-padding-y: k-spacing(2) !default;
|
|
12
|
+
/// The horizontal padding of the Bubble.
|
|
13
|
+
/// @group bubble
|
|
14
|
+
$kendo-bubble-padding-x: k-spacing(3) !default;
|
|
15
|
+
/// The border width of the Bubble.
|
|
16
|
+
/// @group bubble
|
|
17
|
+
$kendo-bubble-border-width: 1px !default;
|
|
18
|
+
/// The border style of the Bubble.
|
|
19
|
+
/// @group bubble
|
|
20
|
+
$kendo-bubble-border-style: solid !default;
|
|
21
|
+
/// The line height of the Bubble.
|
|
22
|
+
/// @group bubble
|
|
23
|
+
$kendo-bubble-line-height: var( --kendo-line-height, normal ) !default;
|
|
24
|
+
|
|
25
|
+
/// The text color of the Bubble.
|
|
26
|
+
/// @group bubble
|
|
27
|
+
$kendo-bubble-text: k-color(base-on-subtle) !default;
|
|
28
|
+
/// The background color of the Bubble.
|
|
29
|
+
/// @group bubble
|
|
30
|
+
$kendo-bubble-bg: k-color(base-subtle) !default;
|
|
31
|
+
/// The border color of the Bubble.
|
|
32
|
+
/// @group bubble
|
|
33
|
+
$kendo-bubble-border: $kendo-bubble-bg !default;
|
|
34
|
+
/// The shadow of the Bubble.
|
|
35
|
+
/// @group bubble
|
|
36
|
+
$kendo-bubble-shadow: none !default;
|
|
37
|
+
|
|
38
|
+
/// The background color of the hover Bubble.
|
|
39
|
+
/// @group bubble
|
|
40
|
+
$kendo-bubble-hover-bg: k-color(base-subtle-hover) !default;
|
|
41
|
+
/// The border color of the active Bubble.
|
|
42
|
+
/// @group bubble
|
|
43
|
+
$kendo-bubble-hover-border: $kendo-bubble-hover-bg !default;
|
|
44
|
+
/// The background color of the active Bubble.
|
|
45
|
+
/// @group bubble
|
|
46
|
+
$kendo-bubble-active-bg: k-color(base-subtle-active) !default;
|
|
47
|
+
/// The border color of the active Bubble.
|
|
48
|
+
/// @group bubble
|
|
49
|
+
$kendo-bubble-active-border: $kendo-bubble-active-bg !default;
|
|
50
|
+
/// The background color of the focused Bubble.
|
|
51
|
+
/// @group bubble
|
|
52
|
+
$kendo-bubble-focus-bg: k-color(base-subtle) !default;
|
|
53
|
+
/// The border color of the focused Bubble.
|
|
54
|
+
/// @group bubble
|
|
55
|
+
$kendo-bubble-focus-border: $kendo-bubble-focus-bg !default;
|
|
56
|
+
/// The box shadow of the focused Bubble.
|
|
57
|
+
/// @group bubble
|
|
58
|
+
$kendo-bubble-focus-shadow: 0 0 0 2px color-mix(in srgb, k-color(on-app-surface) 8%, transparent) !default;
|
|
59
|
+
|
|
60
|
+
/// The spacing between content and icon in expandable Bubble.
|
|
61
|
+
/// @group bubble
|
|
62
|
+
$kendo-bubble-expandable-spacing: $kendo-bubble-padding-x !default;
|
|
63
|
+
/// The horizontal padding of the expandable Bubble icon.
|
|
64
|
+
/// @group bubble
|
|
65
|
+
$kendo-bubble-expandable-icon-padding-x: k-spacing(2.5) !default;
|
|
66
|
+
/// The vertical padding of the expandable Bubble icon.
|
|
67
|
+
/// @group bubble
|
|
68
|
+
$kendo-bubble-expandable-icon-padding-y: k-spacing(2.5) !default;
|
|
69
|
+
|
|
70
|
+
@forward "@progress/kendo-theme-core/scss/components/bubble/_variables.scss" with (
|
|
71
|
+
$kendo-bubble-border-radius: $kendo-bubble-border-radius,
|
|
72
|
+
$kendo-bubble-border-radius-sm: $kendo-bubble-border-radius-sm,
|
|
73
|
+
$kendo-bubble-padding-y: $kendo-bubble-padding-y,
|
|
74
|
+
$kendo-bubble-padding-x: $kendo-bubble-padding-x,
|
|
75
|
+
$kendo-bubble-border-width: $kendo-bubble-border-width,
|
|
76
|
+
$kendo-bubble-border-style: $kendo-bubble-border-style,
|
|
77
|
+
$kendo-bubble-line-height: $kendo-bubble-line-height,
|
|
78
|
+
$kendo-bubble-text: $kendo-bubble-text,
|
|
79
|
+
$kendo-bubble-bg: $kendo-bubble-bg,
|
|
80
|
+
$kendo-bubble-border: $kendo-bubble-border,
|
|
81
|
+
$kendo-bubble-shadow: $kendo-bubble-shadow,
|
|
82
|
+
$kendo-bubble-hover-bg: $kendo-bubble-hover-bg,
|
|
83
|
+
$kendo-bubble-hover-border: $kendo-bubble-hover-border,
|
|
84
|
+
$kendo-bubble-active-bg: $kendo-bubble-active-bg,
|
|
85
|
+
$kendo-bubble-active-border: $kendo-bubble-active-border,
|
|
86
|
+
$kendo-bubble-focus-bg: $kendo-bubble-focus-bg,
|
|
87
|
+
$kendo-bubble-focus-border: $kendo-bubble-focus-border,
|
|
88
|
+
$kendo-bubble-focus-shadow: $kendo-bubble-focus-shadow,
|
|
89
|
+
$kendo-bubble-expandable-spacing: $kendo-bubble-expandable-spacing,
|
|
90
|
+
$kendo-bubble-expandable-icon-padding-x: $kendo-bubble-expandable-icon-padding-x,
|
|
91
|
+
$kendo-bubble-expandable-icon-padding-y: $kendo-bubble-expandable-icon-padding-y
|
|
92
|
+
);
|
package/scss/chat/_index.scss
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
// Dependencies
|
|
2
2
|
@use "../core/_index.scss" as *;
|
|
3
3
|
@use "../icons/_index.scss" as *;
|
|
4
|
-
@use "../
|
|
4
|
+
@use "../textarea/_index.scss" as *;
|
|
5
5
|
@use "../card/_index.scss" as *;
|
|
6
|
+
@use "../appbar/_index.scss" as *;
|
|
6
7
|
@use "../toolbar/_index.scss" as *;
|
|
8
|
+
@use "../bubble/_index.scss" as *;
|
|
9
|
+
@use "../upload/_index.scss" as *;
|
|
10
|
+
@use "../dropzone/_index.scss" as *;
|
|
11
|
+
@use "../avatar/_index.scss" as *;
|
|
12
|
+
@use "../speech-to-text-button/_index.scss" as *;
|
|
13
|
+
@use "../suggestion/_index.scss" as *;
|
|
14
|
+
@use "../skeleton/_index.scss" as *;
|
|
7
15
|
|
|
8
16
|
// Component
|
|
9
17
|
@forward "./_variables.scss";
|
|
@@ -14,10 +22,18 @@
|
|
|
14
22
|
@mixin kendo-chat--styles() {
|
|
15
23
|
@include import-once( "chat" ) {
|
|
16
24
|
@include core-styles();
|
|
17
|
-
@include kendo-
|
|
25
|
+
@include kendo-textarea--styles();
|
|
18
26
|
@include kendo-card--styles();
|
|
19
27
|
@include kendo-icon--styles();
|
|
28
|
+
@include kendo-appbar--styles();
|
|
20
29
|
@include kendo-toolbar--styles();
|
|
30
|
+
@include kendo-bubble--styles();
|
|
31
|
+
@include kendo-suggestion--styles();
|
|
32
|
+
@include kendo-skeleton--styles();
|
|
33
|
+
@include kendo-upload--styles();
|
|
34
|
+
@include kendo-dropzone--styles();
|
|
35
|
+
@include kendo-avatar--styles();
|
|
36
|
+
@include kendo-speech-to-text-button--styles();
|
|
21
37
|
@include kendo-chat--layout();
|
|
22
38
|
@include kendo-chat--theme();
|
|
23
39
|
}
|
package/scss/chat/_layout.scss
CHANGED
|
@@ -1,56 +1,66 @@
|
|
|
1
1
|
@use "sass:math";
|
|
2
2
|
@use "../core/_index.scss" as *;
|
|
3
3
|
@use "./_variables.scss" as *;
|
|
4
|
+
@use "../bubble/_variables.scss" as *;
|
|
4
5
|
@use "@progress/kendo-theme-core/scss/components/chat/_layout.scss" as *;
|
|
5
6
|
|
|
6
7
|
@mixin kendo-chat--layout() {
|
|
7
8
|
@include kendo-chat--layout-base();
|
|
8
9
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
position: absolute;
|
|
17
|
-
border: medium none;
|
|
18
|
-
border-radius: var(--kendo-border-radius-full, 9999px);
|
|
19
|
-
inset: $kendo-chat-quick-reply-focus-offset;
|
|
20
|
-
outline-width: $kendo-chat-quick-reply-focus-outline-width;
|
|
21
|
-
outline-style: $kendo-chat-quick-reply-focus-outline-style;
|
|
22
|
-
z-index: 1;
|
|
23
|
-
}
|
|
10
|
+
// Message group
|
|
11
|
+
.k-chat-message-group {
|
|
12
|
+
|
|
13
|
+
.k-chat-file-wrapper {
|
|
14
|
+
min-width: 0;
|
|
15
|
+
max-width: 100%;
|
|
16
|
+
|
|
24
17
|
}
|
|
25
18
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.k-message-group-sender {
|
|
22
|
+
|
|
23
|
+
.k-chat-bubble {
|
|
24
|
+
|
|
25
|
+
&:focus,
|
|
26
|
+
&.k-focus {
|
|
27
|
+
outline-style: solid;
|
|
28
|
+
outline-width: calc( (#{$kendo-bubble-border-width} * 2 ));
|
|
29
|
+
outline-offset: calc( (#{$kendo-bubble-border-width} * 2 ) * -1);
|
|
30
|
+
}
|
|
30
31
|
}
|
|
32
|
+
|
|
31
33
|
}
|
|
32
34
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
+
|
|
36
|
+
// Bubble
|
|
37
|
+
.k-chat-bubble {
|
|
38
|
+
|
|
39
|
+
a {
|
|
40
|
+
font-weight: normal;
|
|
41
|
+
}
|
|
35
42
|
}
|
|
36
43
|
|
|
37
|
-
|
|
38
|
-
.k-
|
|
39
|
-
gap: $kendo-chat-toolbar-spacing;
|
|
44
|
+
// Message states
|
|
45
|
+
.k-message:has(.k-selected) {
|
|
40
46
|
|
|
41
|
-
.k-
|
|
42
|
-
|
|
43
|
-
|
|
47
|
+
.k-message-time,
|
|
48
|
+
.k-message-status {
|
|
49
|
+
gap: $kendo-chat-bubble-spacing;
|
|
44
50
|
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.k-chat .k-card-deck {
|
|
54
|
+
margin-inline: calc( #{$kendo-chat-message-list-padding-x} * -1 );
|
|
55
|
+
padding-block-start: $kendo-chat-message-list-padding-y;
|
|
56
|
+
padding-block-end: $kendo-chat-message-list-padding-y;
|
|
57
|
+
padding-inline: $kendo-chat-message-list-padding-x;
|
|
45
58
|
|
|
46
59
|
}
|
|
47
60
|
|
|
48
|
-
.k-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
.k-button {
|
|
52
|
-
transform: scaleX(-1);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
61
|
+
.k-chat .k-card-deck-scrollwrap {
|
|
62
|
+
margin-inline: calc( #{$kendo-chat-message-list-padding-x} * -1 );
|
|
63
|
+
padding-inline: $kendo-chat-message-list-padding-x;
|
|
55
64
|
}
|
|
65
|
+
|
|
56
66
|
}
|
package/scss/chat/_theme.scss
CHANGED
|
@@ -1,28 +1,23 @@
|
|
|
1
1
|
@use "../core/_index.scss" as *;
|
|
2
2
|
@use "./_variables.scss" as *;
|
|
3
|
+
@use "../bubble/_variables.scss" as *;
|
|
3
4
|
@use "@progress/kendo-theme-core/scss/components/chat/_theme.scss" as *;
|
|
4
5
|
|
|
5
6
|
@mixin kendo-chat--theme() {
|
|
6
7
|
@include kendo-chat--theme-base();
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
transition: $kendo-chat-transition;
|
|
9
|
+
// Bubbles
|
|
10
|
+
.k-message-group-sender .k-chat-bubble {
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
&:focus,
|
|
13
|
+
&.k-focus {
|
|
14
|
+
outline-color: $kendo-chat-alt-bubble-focus-border;
|
|
15
|
+
box-shadow: inset 0 0 0 calc( #{$kendo-bubble-border-width} * 2 ) k-color(app-surface);
|
|
14
16
|
}
|
|
15
17
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
box-shadow: none;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&:focus::after,
|
|
23
|
-
&.k-focus::after {
|
|
24
|
-
outline-color: $kendo-chat-quick-reply-focus-outline-color;
|
|
25
|
-
}
|
|
18
|
+
&:hover,
|
|
19
|
+
&.k-hover {
|
|
20
|
+
@include fill( $bg: $kendo-chat-alt-bubble-hover-bg, $border: $kendo-chat-alt-bubble-hover-border );
|
|
26
21
|
}
|
|
27
22
|
}
|
|
28
23
|
}
|