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