@progress/kendo-theme-meridian 14.6.1 → 14.7.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.
@@ -4256,6 +4256,34 @@
4256
4256
  "type": "String",
4257
4257
  "value": "var(--kendo-color-error-on-surface)"
4258
4258
  },
4259
+ "kendo-label-font-size": {
4260
+ "type": "String",
4261
+ "value": "var(--kendo-font-size-sm, inherit)"
4262
+ },
4263
+ "kendo-label-font-weight": {
4264
+ "type": "String",
4265
+ "value": "var(--kendo-font-weight-medium, normal)"
4266
+ },
4267
+ "kendo-label-line-height": {
4268
+ "type": "String",
4269
+ "value": "var(--kendo-line-height-sm, normal)"
4270
+ },
4271
+ "kendo-label-optional-margin-x": {
4272
+ "type": "String",
4273
+ "value": "var(--kendo-spacing-1\\.5)"
4274
+ },
4275
+ "kendo-label-optional-font-size": {
4276
+ "type": "String",
4277
+ "value": "var(--kendo-font-size-sm, inherit)"
4278
+ },
4279
+ "kendo-label-optional-font-style": {
4280
+ "type": "String",
4281
+ "value": "italic"
4282
+ },
4283
+ "kendo-label-optional-font-weight": {
4284
+ "type": "String",
4285
+ "value": "var(--kendo-font-weight-normal, normal)"
4286
+ },
4259
4287
  "kendo-floating-label-scale": {
4260
4288
  "type": "Number",
4261
4289
  "value": "1"
@@ -6429,18 +6457,6 @@
6429
6457
  "type": "String",
6430
6458
  "value": "var(--kendo-spacing-1)"
6431
6459
  },
6432
- "kendo-label-font-size": {
6433
- "type": "String",
6434
- "value": "var(--kendo-font-size-sm, inherit)"
6435
- },
6436
- "kendo-label-font-weight": {
6437
- "type": "String",
6438
- "value": "var(--kendo-font-weight-medium, normal)"
6439
- },
6440
- "kendo-label-line-height": {
6441
- "type": "String",
6442
- "value": "var(--kendo-line-height-sm, normal)"
6443
- },
6444
6460
  "kendo-form-hint-font-size": {
6445
6461
  "type": "String",
6446
6462
  "value": "var(--kendo-font-size-sm, inherit)"
@@ -6505,22 +6521,6 @@
6505
6521
  "type": "Calculation",
6506
6522
  "value": "calc(var(--kendo-spacing-1) + 1px)"
6507
6523
  },
6508
- "kendo-label-optional-margin-x": {
6509
- "type": "String",
6510
- "value": "var(--kendo-spacing-1\\.5)"
6511
- },
6512
- "kendo-label-optional-font-size": {
6513
- "type": "String",
6514
- "value": "var(--kendo-font-size-sm, inherit)"
6515
- },
6516
- "kendo-label-optional-font-style": {
6517
- "type": "String",
6518
- "value": "italic"
6519
- },
6520
- "kendo-label-optional-font-weight": {
6521
- "type": "String",
6522
- "value": "var(--kendo-font-weight-normal, normal)"
6523
- },
6524
6524
  "kendo-fieldset-margin": {
6525
6525
  "type": "String",
6526
6526
  "value": "var(--kendo-spacing-7\\.5)"
@@ -3,7 +3,7 @@
3
3
  "name": "Meridian Main Dark",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-meridian",
6
- "version": "14.6.1",
6
+ "version": "14.7.0-dev.1",
7
7
  "previewColors": [
8
8
  "oklch(13.85% 0.0249 273.24deg)",
9
9
  "oklch(23.28% 0.0218 272.75deg)",
@@ -3,7 +3,7 @@
3
3
  "name": "Meridian Main",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-meridian",
6
- "version": "14.6.1",
6
+ "version": "14.7.0-dev.1",
7
7
  "previewColors": [
8
8
  "oklch(100% 0 0deg)",
9
9
  "oklch(98.46% 0.0017 247.84deg)",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-theme-meridian",
3
3
  "description": "Meridian theme for Kendo UI",
4
- "version": "14.6.1",
4
+ "version": "14.7.0-dev.1",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
@@ -52,8 +52,8 @@
52
52
  },
53
53
  "dependencies": {
54
54
  "@progress/kendo-svg-icons": "^5.5.0",
55
- "@progress/kendo-theme-core": "14.6.1",
56
- "@progress/kendo-theme-utils": "14.6.1"
55
+ "@progress/kendo-theme-core": "14.7.0-dev.1",
56
+ "@progress/kendo-theme-utils": "14.7.0-dev.1"
57
57
  },
58
58
  "directories": {
59
59
  "doc": "docs",
@@ -1,5 +1,6 @@
1
1
  // Dependencies // TODO: extract variables
2
2
  @use "../core/_index.scss" as *;
3
+ @use "../label/_index.scss" as *;
3
4
  @use "../utils/_index.scss" as *;
4
5
  @use "../toolbar/_index.scss" as *;
5
6
  @use "../action-buttons/_index.scss" as *;
@@ -15,6 +16,7 @@
15
16
  @include core-styles();
16
17
  @include kendo-toolbar--styles();
17
18
  @include kendo-action-buttons--styles();
19
+ @include kendo-label--styles();
18
20
  @include kendo-form--layout();
19
21
  @include kendo-form--theme();
20
22
  @include kendo-utils--layout--display();
@@ -3,8 +3,6 @@
3
3
  @use "../typography/_variables.scss" as *;
4
4
  @use "../core/_index.scss" as *;
5
5
 
6
-
7
-
8
6
  // Forms
9
7
 
10
8
  /// The default size of the Form.
@@ -62,16 +60,6 @@ $kendo-form-legend-text-transform: none !default;
62
60
  /// @group form
63
61
  $kendo-form-label-margin-bottom: k-spacing(1) !default;
64
62
 
65
- /// The font size of the Form label.
66
- /// @group form
67
- $kendo-label-font-size: var( --kendo-font-size-sm, inherit ) !default;
68
- /// The font weight of the Form label.
69
- /// @group form
70
- $kendo-label-font-weight: var( --kendo-font-weight-medium, normal ) !default;
71
- /// The line height of the Form label.
72
- /// @group form
73
- $kendo-label-line-height: var( --kendo-line-height-sm, normal ) !default;
74
-
75
63
  /// The font size of the Form hint.
76
64
  /// @group form
77
65
  $kendo-form-hint-font-size: var( --kendo-font-size-sm, inherit ) !default;
@@ -128,20 +116,6 @@ $kendo-inline-form-field-padding-x: 0 k-spacing(3) !default;
128
116
  /// @group form
129
117
  $kendo-inline-form-field-padding-y: calc( #{k-spacing(1)} + #{$kendo-input-border-width} ) !default;
130
118
 
131
- /// The horizontal margin of the optional label in the Form.
132
- /// @group form
133
- $kendo-label-optional-margin-x: k-spacing(1.5) !default;
134
- /// The font size of the optional label in the Form.
135
- /// @group form
136
- $kendo-label-optional-font-size: var( --kendo-font-size-sm, inherit ) !default;
137
- /// The font style of the optional label in the Form.
138
- /// @group form
139
- $kendo-label-optional-font-style: italic !default;
140
- /// The font weight of the optional label in the Form.
141
- /// @group form
142
- $kendo-label-optional-font-weight: var( --kendo-font-weight-normal, normal ) !default;
143
-
144
-
145
119
  /// The margin of the Form fieldset.
146
120
  /// @group form
147
121
  $kendo-fieldset-margin: k-spacing(7.5) !default;
@@ -165,7 +139,6 @@ $kendo-form-field-info-margin: k-spacing(2) !default;
165
139
  /// @group form
166
140
  $kendo-fieldset-legend-text: k-color(on-app-surface) !default;
167
141
 
168
-
169
142
  @forward "@progress/kendo-theme-core/scss/components/forms/_variables.scss" with (
170
143
  $kendo-form-default-size: $kendo-form-default-size,
171
144
  $kendo-form-spacer: $kendo-form-spacer,
@@ -183,9 +156,6 @@ $kendo-fieldset-legend-text: k-color(on-app-surface) !default;
183
156
  $kendo-form-legend-font-weight: $kendo-form-legend-font-weight,
184
157
  $kendo-form-legend-text-transform: $kendo-form-legend-text-transform,
185
158
  $kendo-form-label-margin-bottom: $kendo-form-label-margin-bottom,
186
- $kendo-label-font-size: $kendo-label-font-size,
187
- $kendo-label-font-weight: $kendo-label-font-weight,
188
- $kendo-label-line-height: $kendo-label-line-height,
189
159
  $kendo-form-hint-font-size: $kendo-form-hint-font-size,
190
160
  $kendo-form-hint-font-style: $kendo-form-hint-font-style,
191
161
  $kendo-form-hint-margin-top: $kendo-form-hint-margin-top,
@@ -202,10 +172,6 @@ $kendo-fieldset-legend-text: k-color(on-app-surface) !default;
202
172
  $kendo-inline-form-element-width: $kendo-inline-form-element-width,
203
173
  $kendo-inline-form-field-padding-x: $kendo-inline-form-field-padding-x,
204
174
  $kendo-inline-form-field-padding-y: $kendo-inline-form-field-padding-y,
205
- $kendo-label-optional-margin-x: $kendo-label-optional-margin-x,
206
- $kendo-label-optional-font-size: $kendo-label-optional-font-size,
207
- $kendo-label-optional-font-style: $kendo-label-optional-font-style,
208
- $kendo-label-optional-font-weight: $kendo-label-optional-font-weight,
209
175
  $kendo-fieldset-margin: $kendo-fieldset-margin,
210
176
  $kendo-fieldset-legend-padding: $kendo-fieldset-legend-padding,
211
177
  $kendo-fieldset-legend-margin: $kendo-fieldset-legend-margin,
package/scss/index.scss CHANGED
@@ -27,6 +27,7 @@
27
27
  @forward "./button/_index.scss";
28
28
  @forward "./speech-to-text-button/_index.scss";
29
29
  @forward "./input/_index.scss";
30
+ @forward "./label/_index.scss";
30
31
  @forward "./floating-label/_index.scss";
31
32
  @forward "./textbox/_index.scss";
32
33
  @forward "./textarea/_index.scss";
@@ -188,6 +189,7 @@
188
189
  @use "./forms/_index.scss" as *;
189
190
  @use "./validator/_index.scss" as *;
190
191
  @use "./floating-label/_index.scss" as *;
192
+ @use "./label/_index.scss" as *;
191
193
 
192
194
  // Form requirements
193
195
  @use "./calendar/_index.scss" as *;
@@ -356,6 +358,7 @@
356
358
 
357
359
 
358
360
  // Form helpers
361
+ @include kendo-label--styles();
359
362
  @include kendo-form--styles();
360
363
  @include kendo-validator--styles();
361
364
  @include kendo-floating-label--styles();
@@ -0,0 +1,15 @@
1
+ @use "../core/_index.scss" as *;
2
+
3
+ // Component
4
+ @forward "./_variables.scss";
5
+ @use "./_layout.scss" as *;
6
+ @use "./_theme.scss" as *;
7
+
8
+ // Expose
9
+ @mixin kendo-label--styles() {
10
+ @include import-once( "label" ) {
11
+ @include core-styles();
12
+ @include kendo-label--layout();
13
+ @include kendo-label--theme();
14
+ }
15
+ }
@@ -0,0 +1,5 @@
1
+ @use "@progress/kendo-theme-core/scss/components/label/_layout.scss" as *;
2
+
3
+ @mixin kendo-label--layout() {
4
+ @include kendo-label--layout-base();
5
+ }
@@ -0,0 +1,5 @@
1
+ @use "@progress/kendo-theme-core/scss/components/label/_theme.scss" as *;
2
+
3
+ @mixin kendo-label--theme() {
4
+ @include kendo-label--theme-base();
5
+ }
@@ -0,0 +1,36 @@
1
+ @use "../core/_index.scss" as *;
2
+
3
+ // Label
4
+
5
+ /// The font size of the Label.
6
+ /// @group label
7
+ $kendo-label-font-size: var( --kendo-font-size-sm, inherit ) !default;
8
+ /// The font weight of the Label.
9
+ /// @group label
10
+ $kendo-label-font-weight: var( --kendo-font-weight-medium, normal ) !default;
11
+ /// The line height of the Label.
12
+ /// @group label
13
+ $kendo-label-line-height: var( --kendo-line-height-sm, normal ) !default;
14
+
15
+ /// The horizontal margin of the optional Label.
16
+ /// @group label
17
+ $kendo-label-optional-margin-x: k-spacing(1.5) !default;
18
+ /// The font size of the optional Label.
19
+ /// @group label
20
+ $kendo-label-optional-font-size: var( --kendo-font-size-sm, inherit ) !default;
21
+ /// The font style of the optional Label.
22
+ /// @group label
23
+ $kendo-label-optional-font-style: italic !default;
24
+ /// The font weight of the optional Label.
25
+ /// @group label
26
+ $kendo-label-optional-font-weight: var( --kendo-font-weight-normal, normal ) !default;
27
+
28
+ @forward "@progress/kendo-theme-core/scss/components/label/_variables.scss" with (
29
+ $kendo-label-font-size: $kendo-label-font-size,
30
+ $kendo-label-font-weight: $kendo-label-font-weight,
31
+ $kendo-label-line-height: $kendo-label-line-height,
32
+ $kendo-label-optional-margin-x: $kendo-label-optional-margin-x,
33
+ $kendo-label-optional-font-size: $kendo-label-optional-font-size,
34
+ $kendo-label-optional-font-style: $kendo-label-optional-font-style,
35
+ $kendo-label-optional-font-weight: $kendo-label-optional-font-weight
36
+ );