@castlabs/ui 7.6.1 → 7.6.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/dist/castlabs-ui-editor.common.js.map +1 -1
- package/dist/castlabs-ui-editor.css +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 +2 -2
- package/dist/castlabs-ui.common.js.map +1 -1
- package/dist/castlabs-ui.core.js +3 -3
- package/dist/castlabs-ui.css +1 -1
- package/dist/castlabs-ui.module.js +3 -3
- package/dist/castlabs-ui.umd.js +3 -3
- package/dist/castlabs-ui.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ClAlert/style.scss +1 -0
- package/src/components/ClBadge/style.scss +1 -0
- package/src/components/ClBadge/style.variables.scss +6 -11
- package/src/components/ClFooter/style.scss +1 -0
- package/src/components/ClPagination/style.scss +1 -1
- package/src/components/text/ClCopy/style.scss +2 -0
- package/src/components/text/ClLinkExternal/style.scss +1 -1
- package/src/styles/abstracts/color.scss +35 -1
- package/src/styles/abstracts/typography.scss +2 -1
- package/src/styles/layout/color.scss +1 -0
- package/src/styles/layout/grid.scss +1 -1
- package/src/styles/layout/helper.scss +4 -0
- package/types/index.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
@use '../../styles/global' as *;
|
|
2
2
|
|
|
3
|
-
// $badge-color-fg: $color-ci-white;
|
|
4
|
-
// $badge-color-bg: $color-dark;
|
|
5
3
|
$badge-padding: px(4) px(8);
|
|
6
4
|
$badge-min-height: 1.642857143em; // 23px @ 14pt
|
|
7
5
|
|
|
@@ -12,9 +10,14 @@ $badge-min-height: 1.642857143em; // 23px @ 14pt
|
|
|
12
10
|
}
|
|
13
11
|
|
|
14
12
|
%cl-badge {
|
|
15
|
-
@include cl-colors-
|
|
13
|
+
@include cl-colors-ci;
|
|
14
|
+
@include cl-colors-admin;
|
|
16
15
|
@extend %cl-p-tag;
|
|
17
16
|
|
|
17
|
+
#{'--cl-color-background'}: $color-ci-steel;
|
|
18
|
+
#{'--cl-color-border'}: $color-ci-steel;
|
|
19
|
+
#{'--cl-color-text'}: $color-ci-eggshell;
|
|
20
|
+
#{'--cl-color-accent'}: $color-ci-eggshell;
|
|
18
21
|
background-color: var(--cl-color-background);
|
|
19
22
|
border: $brand-line-width solid var(--cl-color-border);
|
|
20
23
|
border-radius: $brand-border-radius;
|
|
@@ -26,14 +29,6 @@ $badge-min-height: 1.642857143em; // 23px @ 14pt
|
|
|
26
29
|
text-transform: uppercase;
|
|
27
30
|
white-space: nowrap;
|
|
28
31
|
|
|
29
|
-
&:not([class*='cl-color-']) {
|
|
30
|
-
// default color
|
|
31
|
-
#{'--cl-color-background'}: $color-ci-steel;
|
|
32
|
-
#{'--cl-color-border'}: $color-ci-steel;
|
|
33
|
-
#{'--cl-color-text'}: $color-ci-eggshell;
|
|
34
|
-
#{'--cl-color-accent'}: $color-ci-eggshell;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
32
|
&.cl-badge-sm {
|
|
38
33
|
@include cl-badge-small;
|
|
39
34
|
}
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
.cl-pagination-autosize {
|
|
96
|
-
// for use by simple code that can
|
|
96
|
+
// for use by simple code that can’t hide bubbles by itself
|
|
97
97
|
// will hide all but the first, last and +/-5 bubbles around the .active one
|
|
98
98
|
.page-item {
|
|
99
99
|
display: none;
|
|
@@ -144,7 +144,41 @@ $color-opacity-active: 0.8;
|
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
@mixin cl-colors-
|
|
147
|
+
@mixin cl-colors-ci {
|
|
148
|
+
&.cl-color-night {
|
|
149
|
+
@extend %cl-color-night;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
&.cl-color-eggshell {
|
|
153
|
+
@extend %cl-color-eggshell;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
&.cl-color-red {
|
|
157
|
+
@extend %cl-color-red;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
&.cl-color-sky {
|
|
161
|
+
@extend %cl-color-sky;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
&.cl-color-berry {
|
|
165
|
+
@extend %cl-color-berry;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
&.cl-color-petrol {
|
|
169
|
+
@extend %cl-color-petrol;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
&.cl-color-ash {
|
|
173
|
+
@extend %cl-color-ash;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
&.cl-color-clay {
|
|
177
|
+
@extend %cl-color-clay;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
@mixin cl-colors-admin {
|
|
148
182
|
&.cl-color-brick {
|
|
149
183
|
@extend %cl-color-brick;
|
|
150
184
|
}
|
|
@@ -83,6 +83,7 @@ $typography-monospace-line-height: 1.375;
|
|
|
83
83
|
color: $color;
|
|
84
84
|
display: inline;
|
|
85
85
|
text-decoration: underline $color-underline;
|
|
86
|
+
text-decoration-thickness: px(1);
|
|
86
87
|
|
|
87
88
|
&:hover {
|
|
88
89
|
color: $color-hover;
|
|
@@ -162,7 +163,7 @@ $typography-monospace-line-height: 1.375;
|
|
|
162
163
|
}
|
|
163
164
|
|
|
164
165
|
%cl-a-btn {
|
|
165
|
-
// a link that
|
|
166
|
+
// a link that’s more an embedded button
|
|
166
167
|
@include typography-link;
|
|
167
168
|
|
|
168
169
|
background-color: transparent;
|
package/types/index.d.ts
CHANGED
|
@@ -136,6 +136,7 @@ export function clMatch (string: string, expression?: string, caseSensitive?: bo
|
|
|
136
136
|
|
|
137
137
|
// --- utils/vitest ------------------------------------------------------------
|
|
138
138
|
|
|
139
|
+
export const FLECTIONS: RegExp[]
|
|
139
140
|
export function clGetAllComponents(): object
|
|
140
141
|
export function clGetAllPlugins(): [{ install: (app: any) => void }]
|
|
141
142
|
export function clPatch (source: any, patches: any): object
|