@clayui/css 3.157.0-alpha.1 → 3.159.0

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/package.json CHANGED
@@ -43,6 +43,7 @@
43
43
  ],
44
44
  "homepage": "http://clayui.com",
45
45
  "license": "MIT",
46
+ "main": "index.js",
46
47
  "name": "@clayui/css",
47
48
  "repository": {
48
49
  "type": "git",
@@ -55,5 +56,5 @@
55
56
  "link": "npm link",
56
57
  "prepublish": "yarn compile"
57
58
  },
58
- "version": "3.157.0-alpha.1"
59
+ "version": "3.159.0"
59
60
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Clay 3.157.0-alpha.1
2
+ * Clay 3.159.0
3
3
  *
4
4
  * SPDX-FileCopyrightText: © 2020 Liferay, Inc. <https://liferay.com>
5
5
  * SPDX-FileCopyrightText: © 2020 Contributors to the project Clay <https://github.com/liferay/clay/graphs/contributors>
@@ -359,6 +359,16 @@ $cadmin-sticker-dark: map-deep-merge(
359
359
  $cadmin-sticker-dark
360
360
  );
361
361
 
362
+ $cadmin-sticker-outline: () !default;
363
+ $cadmin-sticker-outline: map-deep-merge(
364
+ (
365
+ background-color: $cadmin-blue-l5,
366
+ border: 1px solid $cadmin-blue-d2,
367
+ color: $cadmin-blue-d2,
368
+ ),
369
+ $cadmin-sticker-outline
370
+ );
371
+
362
372
  $cadmin-sticker-outline-0: () !default;
363
373
  $cadmin-sticker-outline-0: map-deep-merge(
364
374
  (
@@ -470,6 +480,7 @@ $cadmin-sticker-palette: map-deep-merge(
470
480
  danger: $cadmin-sticker-danger,
471
481
  light: $cadmin-sticker-light,
472
482
  dark: $cadmin-sticker-dark,
483
+ '.sticker-outline': $cadmin-sticker-outline,
473
484
  '.sticker-outline-0': $cadmin-sticker-outline-0,
474
485
  '.sticker-outline-1': $cadmin-sticker-outline-1,
475
486
  '.sticker-outline-2': $cadmin-sticker-outline-2,
@@ -192,9 +192,10 @@ label.custom-control-label {
192
192
  background-color: $custom-control-indicator-border-color;
193
193
  border-radius: $custom-switch-indicator-border-radius;
194
194
  height: $custom-switch-indicator-size;
195
- left: add(
196
- -($custom-switch-width + $custom-control-gutter),
197
- $custom-control-indicator-border-width * 2
195
+ left: calc(
196
+ #{$custom-control-indicator-border-width} *
197
+ 2 -
198
+ (#{$custom-switch-width} + #{$custom-control-gutter})
198
199
  );
199
200
 
200
201
  @include transition(
@@ -572,8 +572,10 @@ $custom-switch-indicator-border-radius: $custom-control-indicator-size * 0.5 !de
572
572
 
573
573
  /// @deprecated as of v3.x with no replacement
574
574
 
575
- $custom-switch-indicator-size: $custom-control-indicator-size -
576
- ($custom-control-indicator-border-width * 4) !default;
575
+ $custom-switch-indicator-size: calc(
576
+ #{$custom-control-indicator-size} - (#{$custom-control-indicator-border-width} *
577
+ 4)
578
+ ) !default;
577
579
 
578
580
  // Custom Select
579
581
 
@@ -461,13 +461,15 @@ $form-control-label-size: map-deep-merge(
461
461
 
462
462
  // Form Control Tag Group
463
463
 
464
- $form-control-tag-group-padding-y: (
465
- $input-height - $input-border-bottom-width - $input-border-top-width - map-get(
466
- $form-control-label-size,
467
- min-height
468
- ) - (map-get($form-control-label-size, margin-bottom)) -
469
- (map-get($form-control-label-size, margin-top))
470
- ) * 0.5 !default;
464
+ $form-control-tag-group-padding-y: calc(
465
+ (
466
+ #{$input-height} - #{$input-border-bottom-width} - #{$input-border-top-width} -
467
+ #{map-get($form-control-label-size, min-height)} - #{map-get(
468
+ $form-control-label-size,
469
+ margin-bottom
470
+ )} - #{map-get($form-control-label-size, margin-top)}
471
+ ) * 0.5
472
+ ) !default;
471
473
 
472
474
  $form-control-inset-min-height: 1.5rem !default;
473
475
  $form-control-inset-margin-y: 0.125rem !default;
@@ -423,6 +423,16 @@ $sticker-dark: map-deep-merge(
423
423
  $sticker-dark
424
424
  );
425
425
 
426
+ $sticker-outline: () !default;
427
+ $sticker-outline: map-deep-merge(
428
+ (
429
+ background-color: $blue-l5,
430
+ border: 1px solid $blue-d2,
431
+ color: $blue-d2,
432
+ ),
433
+ $sticker-outline
434
+ );
435
+
426
436
  $sticker-outline-0: () !default;
427
437
  $sticker-outline-0: map-deep-merge(
428
438
  (
@@ -534,6 +544,7 @@ $sticker-palette: map-deep-merge(
534
544
  danger: $sticker-danger,
535
545
  light: $sticker-light,
536
546
  dark: $sticker-dark,
547
+ '.sticker-outline': $sticker-outline,
537
548
  '.sticker-outline-0': $sticker-outline-0,
538
549
  '.sticker-outline-1': $sticker-outline-1,
539
550
  '.sticker-outline-2': $sticker-outline-2,