@castlabs/ui 5.0.0 → 5.1.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/dist/castlabs-ui-editor.common.js +1 -1
- package/dist/castlabs-ui-editor.common.js.map +1 -1
- package/dist/castlabs-ui-editor.umd.js +1 -1
- package/dist/castlabs-ui-editor.umd.js.map +1 -1
- package/dist/castlabs-ui.common.js +4 -4
- package/dist/castlabs-ui.common.js.map +1 -1
- package/dist/castlabs-ui.core.js +11 -3
- package/dist/castlabs-ui.css +1 -1
- package/dist/castlabs-ui.module.js +11 -3
- package/dist/castlabs-ui.umd.js +6 -6
- package/dist/castlabs-ui.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ClDropdown/style.scss +10 -2
- package/src/components/ClHighlight/style.scss +21 -0
- package/src/styles/components/button.variables.scss +1 -1
- package/src/styles/components/form.variables.scss +1 -1
- package/src/styles/ui.scss +1 -0
package/package.json
CHANGED
|
@@ -38,7 +38,6 @@ $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;
|
|
42
41
|
}
|
|
43
42
|
|
|
44
43
|
&::after {
|
|
@@ -59,6 +58,11 @@ $dropdown-line-height: 1.25em;
|
|
|
59
58
|
}
|
|
60
59
|
}
|
|
61
60
|
|
|
61
|
+
> span,
|
|
62
|
+
> div {
|
|
63
|
+
white-space: preserve-breaks;
|
|
64
|
+
}
|
|
65
|
+
|
|
62
66
|
> [class^='cl-badge'] {
|
|
63
67
|
position: absolute;
|
|
64
68
|
right: $spacing-small;
|
|
@@ -188,7 +192,6 @@ div.cl-dropdown summary {
|
|
|
188
192
|
margin-right: 0;
|
|
189
193
|
padding: $spacing-tiny + $spacing-micro $spacing-small;
|
|
190
194
|
position: relative;
|
|
191
|
-
white-space: preserve;
|
|
192
195
|
width: 100%;
|
|
193
196
|
}
|
|
194
197
|
|
|
@@ -204,6 +207,11 @@ div.cl-dropdown summary {
|
|
|
204
207
|
opacity: $color-hover-opacity;
|
|
205
208
|
}
|
|
206
209
|
|
|
210
|
+
> span,
|
|
211
|
+
> div {
|
|
212
|
+
white-space: preserve-breaks;
|
|
213
|
+
}
|
|
214
|
+
|
|
207
215
|
> [class^='cl-badge'] {
|
|
208
216
|
position: absolute;
|
|
209
217
|
right: $spacing-small;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
////
|
|
2
|
+
/// @group components
|
|
3
|
+
/// @access public
|
|
4
|
+
////
|
|
5
|
+
|
|
6
|
+
// This file defines .cl-highlight modifiers for various components
|
|
7
|
+
|
|
8
|
+
$highlight-background: $color-ci-sand;
|
|
9
|
+
|
|
10
|
+
.cl-highlight {
|
|
11
|
+
background-color: $highlight-background;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.card-body,
|
|
15
|
+
.card-footer,
|
|
16
|
+
td,
|
|
17
|
+
tr {
|
|
18
|
+
&.cl-highlight {
|
|
19
|
+
background-color: $highlight-background !important; // sass-lint:disable-line no-important
|
|
20
|
+
}
|
|
21
|
+
}
|
package/src/styles/ui.scss
CHANGED
|
@@ -29,6 +29,7 @@ $castlabs-ui-asset-prefix: '..' !default;
|
|
|
29
29
|
@import '../components/ClDropdown/style';
|
|
30
30
|
@import '../components/ClDropzone/style';
|
|
31
31
|
@import '../components/ClFooter/style';
|
|
32
|
+
@import '../components/ClHighlight/style';
|
|
32
33
|
@import '../components/ClIcon/style';
|
|
33
34
|
@import '../components/ClIconotron/style';
|
|
34
35
|
@import '../components/ClList/style';
|