@castlabs/ui 4.24.0 → 4.24.2

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@castlabs/ui",
3
- "version": "4.24.0",
3
+ "version": "4.24.2",
4
4
  "repository": "https://github.com/castlabs/ui-styleguide",
5
5
  "private": false,
6
6
  "description": "A vanilla HTML/CS/JS & Vue.js component library for castLabs.",
@@ -38,6 +38,7 @@ $dropdown-line-height: 1.25em;
38
38
  padding: $spacing-small - $dropdown-border $spacing-small - $dropdown-border;
39
39
  padding-right: $spacing-small * 3; // for chevron
40
40
  position: relative;
41
+ white-space: preserve;
41
42
  }
42
43
 
43
44
  &::after {
@@ -187,6 +188,7 @@ div.cl-dropdown summary {
187
188
  margin-right: 0;
188
189
  padding: $spacing-tiny + $spacing-micro $spacing-small;
189
190
  position: relative;
191
+ white-space: preserve;
190
192
  width: 100%;
191
193
  }
192
194
 
@@ -41,26 +41,10 @@
41
41
  color: $color-text;
42
42
  }
43
43
 
44
- [type='checkbox'] {
45
- border-color: $color-ci-dim !important;
46
-
47
- &:checked {
48
- background-color: $color-ci-dim;
49
- }
50
-
51
- &:indeterminate {
52
- box-shadow:
53
- 0 0 0 0.15em $color-white-100 inset,
54
- 0 0 0 1em $color-ci-dim inset !important;
55
- }
56
- }
57
-
44
+ [type='checkbox'],
58
45
  [type='radio'] {
59
- border-color: $color-ci-dim !important;
60
-
61
- &:checked {
62
- background-color: $color-ci-dim;
63
- border-color: $color-ci-dim;
46
+ + label {
47
+ opacity: 0.5 !important;
64
48
  }
65
49
  }
66
50
  }
@@ -439,19 +439,23 @@ $sidenav-color-background: $color-ci-haze;
439
439
  }
440
440
  }
441
441
 
442
+ .cl-nav-item-lock,
442
443
  .cl-nav-item-locked {
443
- &:hover {
444
- cursor: not-allowed;
445
- }
446
-
447
- span::after {
444
+ span:first-of-type::after {
448
445
  @include cl-fontawesome('\f023');
449
446
 
450
447
  & {
451
448
  margin-left: $spacing-tiny;
452
449
  opacity: 0.5;
453
- pointer-events: none;
454
450
  top: inherit;
455
451
  }
456
452
  }
457
453
  }
454
+
455
+ .cl-nav-item-locked {
456
+ opacity: 0.5;
457
+
458
+ &:hover {
459
+ cursor: not-allowed;
460
+ }
461
+ }