@progress/kendo-theme-fluent 9.1.0-dev.3 → 9.1.0-dev.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 (37) hide show
  1. package/dist/all.css +1 -1
  2. package/dist/fluent-main-dark.css +1 -1
  3. package/dist/fluent-main.css +1 -1
  4. package/dist/meta/sassdoc-data.json +1694 -608
  5. package/dist/meta/sassdoc-raw-data.json +793 -293
  6. package/dist/meta/variables.json +92 -12
  7. package/lib/swatches/all.json +1 -1
  8. package/lib/swatches/fluent-main-dark.json +1 -1
  9. package/lib/swatches/fluent-main.json +1 -1
  10. package/package.json +4 -4
  11. package/scss/core/module-system/_components.scss +1 -0
  12. package/scss/dataviz/_layout.scss +23 -0
  13. package/scss/dataviz/_theme.scss +8 -0
  14. package/scss/dataviz/_variables.scss +23 -0
  15. package/scss/dataviz/index.scss +2 -1
  16. package/scss/grid/_theme.scss +7 -8
  17. package/scss/index.scss +3 -0
  18. package/scss/list/_layout.scss +0 -18
  19. package/scss/list/_theme.scss +0 -6
  20. package/scss/list/_variables.scss +0 -4
  21. package/scss/list/index.scss +2 -1
  22. package/scss/no-data/_layout.scss +21 -0
  23. package/scss/no-data/_theme.scss +9 -0
  24. package/scss/no-data/_variables.scss +8 -0
  25. package/scss/no-data/index.scss +22 -0
  26. package/scss/orgchart/_variables.scss +1 -1
  27. package/scss/pdf-viewer/_layout.scss +165 -4
  28. package/scss/pdf-viewer/_theme.scss +17 -1
  29. package/scss/pdf-viewer/_variables.scss +23 -0
  30. package/scss/prompt/_layout.scss +6 -0
  31. package/scss/scheduler/index.scss +2 -1
  32. package/scss/spreadsheet/_layout.scss +2 -2
  33. package/scss/stepper/_layout.scss +2 -2
  34. package/scss/stepper/_variables.scss +3 -0
  35. package/scss/toolbar/_layout.scss +12 -10
  36. package/scss/toolbar/_theme.scss +30 -4
  37. package/scss/toolbar/_variables.scss +21 -5
@@ -49,7 +49,8 @@
49
49
  }
50
50
 
51
51
  &.k-enable-panning {
52
- cursor: grab;
52
+ cursor: grab !important; // stylelint-disable-line declaration-no-important
53
+
53
54
 
54
55
  span::selection {
55
56
  background-color: transparent;
@@ -66,9 +67,34 @@
66
67
  position: relative;
67
68
  margin-block: var( --kendo-pdf-viewer-page-spacing, #{$kendo-pdf-viewer-page-spacing} );
68
69
  margin-inline: auto;
70
+ z-index: 1;
71
+
72
+ // Canvas
73
+ .k-canvas-wrapper {
74
+ overflow: hidden;
75
+ width: 100%;
76
+ height: 100%;
77
+
78
+ canvas {
79
+ direction: ltr;
80
+ }
81
+
82
+ svg {
83
+ transform: none;
84
+ }
69
85
 
70
- canvas {
71
- direction: ltr;
86
+ .k-highlight {
87
+ position: absolute;
88
+ mix-blend-mode: multiply;
89
+ fill-opacity: 1;
90
+
91
+ }
92
+ .k-highlight-outline {
93
+ position: absolute;
94
+ fill: none;
95
+ stroke-width: 2px;
96
+ stroke-dasharray: 2;
97
+ }
72
98
  }
73
99
 
74
100
  .k-text-layer {
@@ -78,16 +104,131 @@
78
104
  opacity: .2;
79
105
  overflow: hidden;
80
106
 
81
- > span {
107
+ .k-marked-content > span,
108
+ > span, br {
82
109
  position: absolute;
83
110
  line-height: var( --kendo-pdf-viewer-selection-line-height, #{$kendo-pdf-viewer-selection-line-height} );
84
111
  transform-origin: 0% 0%;
85
112
  color: transparent;
113
+ white-space: pre;
114
+ cursor: text;
115
+ }
116
+
117
+ .k-marked-content {
118
+ top: 0;
119
+ height: 0;
120
+ }
121
+
122
+ .k-end-of-content {
123
+ display: block;
124
+ position: absolute;
125
+ inset: 100% 0 0;
126
+ z-index: 0;
127
+ cursor: default;
128
+ user-select: none;
86
129
  }
87
130
 
88
131
  .k-search-highlight-mark {
89
132
  color: transparent;
90
133
  }
134
+
135
+ .k-highlighting {
136
+ touch-action: none;
137
+ }
138
+ }
139
+
140
+ .k-annotation-layer {
141
+ position: absolute;
142
+ top: 0;
143
+ left: 0;
144
+ transform-origin: 0 0;
145
+ pointer-events: none;
146
+
147
+ section {
148
+ position: absolute;
149
+ }
150
+
151
+ .k-annotation-text-content {
152
+ position: absolute;
153
+ width: 100%;
154
+ height: 100%;
155
+ opacity: 0;
156
+ color: transparent;
157
+ user-select: none;
158
+ pointer-events: none;
159
+ }
160
+ }
161
+
162
+ .k-annotation-editor-layer {
163
+ background: transparent;
164
+ position: absolute;
165
+ inset: 0;
166
+ transform-origin: 0 0;
167
+ cursor: auto;
168
+
169
+ .k-selected {
170
+ z-index: 100000 !important; // stylelint-disable-line declaration-no-important
171
+ }
172
+
173
+ .k-highlight-editor {
174
+ position: absolute;
175
+ background: transparent;
176
+ z-index: 1;
177
+ cursor: auto;
178
+ max-width: 100%;
179
+ max-height: 100%;
180
+ border: none;
181
+ outline: none;
182
+ pointer-events: none;
183
+ transform-origin: 0 0;
184
+
185
+ .k-internal {
186
+ position: absolute;
187
+ top: 0;
188
+ left: 0;
189
+ width: 100%;
190
+ height: 100%;
191
+ pointer-events: auto;
192
+ }
193
+ }
194
+
195
+ .k-free-text-editor {
196
+ position: absolute;
197
+ background: transparent;
198
+ z-index: 1;
199
+ transform-origin: 0 0;
200
+ cursor: text;
201
+ caret-color: var( --kendo-pdf-viewer-free-text-annotation-text, #{$kendo-pdf-viewer-free-text-annotation-text} );
202
+ max-width: 100%;
203
+ max-height: 100%;
204
+ border: solid 2px transparent;
205
+
206
+ &.k-selected.k-draggable {
207
+ cursor: move;;
208
+ }
209
+
210
+ &.k-selected .k-internal {
211
+ border-radius: 0px;
212
+ outline: 2px dashed var( --kendo-pdf-viewer-free-text-annotation-border, #{$kendo-pdf-viewer-free-text-annotation-border} );
213
+ }
214
+
215
+ .k-internal {
216
+ background: transparent;
217
+ border: none;
218
+ inset: 0;
219
+ overflow: visible;
220
+ white-space: nowrap;
221
+ user-select: none;
222
+ }
223
+
224
+ .k-internal:empty::before {
225
+ content: attr(default-content);
226
+ }
227
+ }
228
+ }
229
+
230
+ .k-annotation-editor-layer-disabled {
231
+ pointer-events: none;
91
232
  }
92
233
  }
93
234
 
@@ -149,4 +290,24 @@
149
290
  }
150
291
  }
151
292
 
293
+ // Annotation Toolbar
294
+ .k-pdf-viewer-annotation-editor-toolbar > .k-toolbar {
295
+ width: min-content;
296
+ border-bottom-width: 0;
297
+ }
298
+
299
+
300
+ // Annotation Editor
301
+ .k-pdf-viewer-annotation-editor {
302
+ padding-block: var(--kendo-pdf-viewer-popup-padding-y, #{$kendo-pdf-viewer-popup-padding-y} );
303
+ padding-inline: var(--kendo-pdf-viewer-popup-padding-x, #{$kendo-pdf-viewer-popup-padding-x} );
304
+
305
+ .k-column-menu-group-header {
306
+ padding-inline: 0;
307
+ }
308
+
309
+ .k-form-field {
310
+ margin-top: 0;
311
+ }
312
+ }
152
313
  }
@@ -12,7 +12,7 @@
12
12
 
13
13
 
14
14
  // Canvas
15
- .k-canvas {
15
+ .k-pdf-viewer-canvas {
16
16
  @include fill(
17
17
  var( --kendo-pdf-viewer-canvas-text, #{$kendo-pdf-viewer-canvas-text} ),
18
18
  var( --kendo-pdf-viewer-canvas-bg, #{$kendo-pdf-viewer-canvas-bg} ),
@@ -39,6 +39,16 @@
39
39
  );
40
40
  }
41
41
 
42
+ .k-canvas-wrapper .k-highlight-outline {
43
+ &.k-hover,
44
+ &:hover {
45
+ stroke: var( --kendo-pdf-viewer-highlight-annotation-hover-border, #{$kendo-pdf-viewer-highlight-annotation-hover-border} );
46
+ }
47
+
48
+ &.k-selected {
49
+ stroke: var( --kendo-pdf-viewer-highlight-annotation-border, #{$kendo-pdf-viewer-highlight-annotation-border} );
50
+ }
51
+ }
42
52
 
43
53
  // Search
44
54
  .k-search-highlight {
@@ -52,7 +62,13 @@
52
62
  $bg: var( --kendo-pdf-viewer-search-highlight-mark-bg, #{$kendo-pdf-viewer-search-highlight-mark-bg} )
53
63
  );
54
64
  }
65
+ .k-annotation-editor-layer .k-free-text-editor .k-internal {
66
+ color: var( --kendo-pdf-viewer-free-text-annotation-text, #{$kendo-pdf-viewer-free-text-annotation-text} );
55
67
 
68
+ &:empty::before {
69
+ color: var( --kendo-pdf-viewer-free-text-annotation-placeholder-text, #{$kendo-pdf-viewer-free-text-annotation-placeholder-text} );
70
+ }
71
+ }
56
72
  }
57
73
 
58
74
  .k-pdf-viewer-canvas > .k-search-panel {
@@ -99,3 +99,26 @@ $kendo-pdf-viewer-search-highlight-mark-bg: yellow !default;
99
99
  /// The text color of the PDFViewer icon.
100
100
  /// @group pdf-viewer
101
101
  $kendo-pdf-viewer-icon-text: $kendo-dropzone-icon-text !default;
102
+
103
+ /// The vertical padding of the PDFViewer popup.
104
+ /// @group pdf-viewer
105
+ $kendo-pdf-viewer-popup-padding-x: k-spacing(2) !default;
106
+ /// The horizontal padding of the PDFViewer popup.
107
+ /// @group pdf-viewer
108
+ $kendo-pdf-viewer-popup-padding-y: $kendo-pdf-viewer-popup-padding-x !default;
109
+
110
+ /// The border color of the PDFViewer selected highlight annotation.
111
+ /// @group pdf-viewer
112
+ $kendo-pdf-viewer-highlight-annotation-border: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
113
+ /// The background color of the PDFViewer hover highlight annotation.
114
+ /// @group pdf-viewer
115
+ $kendo-pdf-viewer-highlight-annotation-hover-border: if($kendo-enable-color-system, k-color( primary-hover ), k-get-theme-color-var( primary-110 )) !default;
116
+ /// The border color of the PDFViewer selected free text annotation.
117
+ /// @group pdf-viewer
118
+ $kendo-pdf-viewer-free-text-annotation-border: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
119
+ /// The placeholder text color of the PDFViewer free text annotation.
120
+ /// @group pdf-viewer
121
+ $kendo-pdf-viewer-free-text-annotation-placeholder-text: rgba(124, 22, 27, 0.5) !default;
122
+ /// The text color of the PDFViewer free text annotation.
123
+ /// @group pdf-viewer
124
+ $kendo-pdf-viewer-free-text-annotation-text: rgba(124, 22, 27, 0.7) !default;
@@ -9,6 +9,12 @@
9
9
  flex-direction: column;
10
10
  position: relative;
11
11
  overflow: hidden;
12
+
13
+ // Toolbar
14
+ .k-toolbar {
15
+ border-top-width: 0;
16
+ border-inline-width: 0;
17
+ }
12
18
  }
13
19
 
14
20
  // Content
@@ -21,7 +21,8 @@ $_kendo-module-meta: (
21
21
  "toolbar",
22
22
  "tooltip",
23
23
  "time-marker",
24
- "window"
24
+ "window",
25
+ "no-data"
25
26
  )
26
27
  );
27
28
 
@@ -54,10 +54,10 @@
54
54
 
55
55
  // Toolbar
56
56
  .k-spreadsheet-toolbar {
57
- border-width: 0;
57
+ border-top-width: 0;
58
+ border-inline-width: 0;
58
59
  }
59
60
 
60
-
61
61
  // Action bar
62
62
  .k-spreadsheet-action-bar {
63
63
  border-width: 0 0 var( --kendo-spreadsheet-action-bar-border-width, #{$kendo-spreadsheet-action-bar-border-width} );
@@ -128,7 +128,7 @@
128
128
  z-index: 1;
129
129
  }
130
130
  .k-step-label:only-child {
131
- @include border-radius( calc( (var( --kendo-stepper-indicator-height, #{$kendo-stepper-indicator-height} ) + 2 * var( --kendo-stepper-indicator-border-width, #{$kendo-stepper-indicator-border-width} )) / 2) );
131
+ @include border-radius( var( --kendo-stepper-label-border-radius, #{$kendo-stepper-label-border-radius} ) );
132
132
  padding-inline: var( --kendo-stepper-label-padding-x, #{$kendo-stepper-label-padding-x} );
133
133
  padding-block: var( --kendo-stepper-label-padding-y, #{$kendo-stepper-label-padding-y} );
134
134
  border-width: 0;
@@ -211,7 +211,7 @@
211
211
  text-align: center;
212
212
  }
213
213
  .k-step-indicator + .k-step-label {
214
- margin-top: if($kendo-stepper-indicator-focus-offset > 0, calc( 8px - #{$kendo-stepper-indicator-focus-offset}), 8px);
214
+ margin-top: if($kendo-stepper-indicator-focus-offset > 0, k-spacing(1), 8px);
215
215
  }
216
216
 
217
217
  // Progressbar
@@ -33,6 +33,9 @@ $kendo-stepper-label-padding-x: k-spacing(3) !default;
33
33
  /// The vertical padding the Stepper label.
34
34
  /// @group stepper
35
35
  $kendo-stepper-label-padding-y: k-spacing(1.5) !default;
36
+ /// The border radius of the Stepper label.
37
+ /// @group stepper
38
+ $kendo-stepper-label-border-radius: k-border-radius(xxl) !default;
36
39
 
37
40
  /// The horizontal padding of the Stepper content.
38
41
  /// @group stepper
@@ -87,7 +87,19 @@
87
87
  outline-width: var( --kendo-toolbar-item-focus-outline-width, #{$kendo-toolbar-item-focus-outline-width} );
88
88
  outline-style: var( --kendo-toolbar-item-focus-outline-style, #{$kendo-toolbar-item-focus-outline-style} );
89
89
  }
90
+ }
91
+
92
+ // Outline Toolbar
93
+ .k-toolbar-outline {
94
+ border-width: var( --kendo-toolbar-outline-border-width, #{$kendo-toolbar-outline-border-width} );
95
+ background: none;
96
+ }
90
97
 
98
+ // Flat Toolbar
99
+ .k-toolbar-flat {
100
+ border-top-color: transparent !important; // stylelint-disable-line declaration-no-important
101
+ border-inline-color: transparent !important; // stylelint-disable-line declaration-no-important
102
+ background: none !important; // stylelint-disable-line declaration-no-important
91
103
  }
92
104
 
93
105
  // Toolbar group
@@ -223,14 +235,4 @@
223
235
  }
224
236
  }
225
237
 
226
- // Flat Toolbar
227
- .k-toolbar.k-toolbar-flat {
228
- border-width: $kendo-toolbar-flat-border-width 0;
229
- border-top-color: transparent !important; // stylelint-disable-line declaration-no-important
230
- border-bottom-color: inherit;
231
- color: inherit;
232
- background: none !important; // stylelint-disable-line declaration-no-important
233
- box-shadow: none;
234
- }
235
-
236
238
  }
@@ -1,13 +1,10 @@
1
+ @use "../core/_index.scss" as *;
1
2
  @use "./_variables.scss" as *;
2
3
 
3
4
  @mixin kendo-toolbar--theme() {
4
5
 
5
6
  // Theme
6
7
  .k-toolbar {
7
- color: var( --kendo-toolbar-text, #{$kendo-toolbar-text} );
8
- background-color: var( --kendo-toolbar-bg, #{$kendo-toolbar-bg} );
9
- border-color: var( --kendo-toolbar-border, #{$kendo-toolbar-border} );
10
-
11
8
  // Separator
12
9
  .k-separator,
13
10
  .k-toolbar-separator {
@@ -22,6 +19,35 @@
22
19
 
23
20
  }
24
21
 
22
+ // Solid Toolbar
23
+ .k-toolbar-solid {
24
+ @include fill (
25
+ var( --kendo-toolbar-text, #{$kendo-toolbar-text} ),
26
+ var( --kendo-toolbar-bg, #{$kendo-toolbar-bg} ),
27
+ var( --kendo-toolbar-border, #{$kendo-toolbar-border} )
28
+ );
29
+ }
30
+
31
+ // Outline Toolbar
32
+ .k-toolbar-outline {
33
+ @include fill (
34
+ $color: var( --kendo-toolbar-outline-text, #{$kendo-toolbar-outline-text} ),
35
+ $border: var( --kendo-toolbar-outline-border, #{$kendo-toolbar-outline-border} )
36
+ );
37
+ }
38
+
39
+ // Flat Toolbar
40
+ .k-toolbar-flat {
41
+ @include fill (
42
+ $color: var( --kendo-toolbar-flat-text, #{$kendo-toolbar-flat-text} ),
43
+ $border: var( --kendo-toolbar-flat-border, #{$kendo-toolbar-flat-border} )
44
+ );
45
+
46
+ > .k-separator {
47
+ border-inline-color: var( --kendo-toolbar-flat-border, #{$kendo-toolbar-flat-border} );
48
+ }
49
+ }
50
+
25
51
  // stylelint-disable selector-class-pattern
26
52
  .k-floating-toolbar,
27
53
  .editorToolbarWindow.k-window-content {
@@ -55,9 +55,29 @@ $kendo-toolbar-text: var( --kendo-component-text, inherit ) !default;
55
55
  /// @group toolbar
56
56
  $kendo-toolbar-border: var( --kendo-component-border, initial ) !default;
57
57
 
58
+ /// The text color of the outline Toolbar.
59
+ /// @group toolbar
60
+ $kendo-toolbar-outline-text: null !default;
61
+ /// The color of the border around the outline Toolbar.
62
+ /// @group toolbar
63
+ $kendo-toolbar-outline-border: k-color(border) !default;
64
+ /// The width of the border around the outline Toolbar.
65
+ /// @group toolbar
66
+ $kendo-toolbar-outline-border-width: $kendo-toolbar-border-width !default;
67
+
68
+ /// The text color of the flat Toolbar.
69
+ /// @group toolbar
70
+ $kendo-toolbar-flat-text: null !default;
71
+ /// The color of the border around the flat Toolbar.
72
+ /// @group toolbar
73
+ $kendo-toolbar-flat-border: $kendo-toolbar-border !default;
74
+ /// Border width of the flat Toolbar.
75
+ /// @group toolbar
76
+ $kendo-toolbar-flat-border-width: 1px !default;
77
+
58
78
  /// The color of the separator border of the Toolbar.
59
79
  /// @group toolbar
60
- $kendo-toolbar-separator-border: if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 28%, transparent), k-get-theme-color-var( neutral-60 )) !default;
80
+ $kendo-toolbar-separator-border: inherit !default;
61
81
 
62
82
  /// The width of the input in the Toolbar.
63
83
  /// @group toolbar
@@ -73,10 +93,6 @@ $kendo-toolbar-item-focus-outline-style: solid !default;
73
93
  /// @group toolbar
74
94
  $kendo-toolbar-item-focus-outline-color: if($kendo-enable-color-system, k-color( base-emphasis ), k-get-theme-color-var( neutral-130 )) !default;
75
95
 
76
- /// Border width of the flat Toolbar.
77
- /// @group toolbar
78
- $kendo-toolbar-flat-border-width: 1px !default;
79
-
80
96
  /// The sizes map for the Toolbar.
81
97
  /// @group toolbar
82
98
  $kendo-toolbar-sizes: (