@castlabs/ui 7.0.5 → 7.0.7
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.css +1 -1
- package/dist/castlabs-ui-editor.umd.js +1 -1
- package/dist/castlabs-ui.common.js +2 -2
- package/dist/castlabs-ui.common.js.map +1 -1
- package/dist/castlabs-ui.css +1 -1
- package/dist/castlabs-ui.umd.js +4 -4
- package/dist/castlabs-ui.umd.js.map +1 -1
- package/dist/fonts/DM_Mono_300.46aa9818.woff2 +0 -0
- package/dist/fonts/DM_Mono_300italic.d4b24176.woff2 +0 -0
- package/dist/fonts/DM_Mono_400.b9b6ac6a.woff2 +0 -0
- package/dist/fonts/DM_Mono_400italic.edc76b76.woff2 +0 -0
- package/dist/fonts/DM_Mono_500.3f958442.woff2 +0 -0
- package/dist/fonts/DM_Mono_500italic.3c62d36e.woff2 +0 -0
- package/dist/fonts/NonNaturalGroteskInktrap-Bold.229d19af.woff2 +0 -0
- package/dist/fonts/NonNaturalGroteskInktrap-Medium.ae23d3bb.woff2 +0 -0
- package/dist/fonts/NonNaturalGroteskInktrap-Regular.1db788b6.woff2 +0 -0
- package/package.json +1 -1
- package/src/components/ClTooltip/style.scss +1 -1
- package/src/components/navigation/ClNavSide/ClNavSideMenu/style.scss +0 -1
- package/src/fonts/DMMono/DMMono.scss +43 -38
- package/src/fonts/NonNaturalGroteskInktrap/NonNaturalGroteskInktrap.scss +22 -20
- package/src/styles/abstracts/color.scss +3 -4
- package/src/styles/layout/typography.scss +9 -3
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
.tooltip-inner {
|
|
19
19
|
// Bootstrap class
|
|
20
|
-
border-radius: $brand-border-radius;
|
|
20
|
+
border-radius: $brand-border-radius * 0.5;
|
|
21
21
|
color: var(--cl-color-text);
|
|
22
22
|
max-width: none !important; // sass-lint:disable-line no-important
|
|
23
23
|
padding-left: $spacing-tiny;
|
|
@@ -1,39 +1,44 @@
|
|
|
1
|
-
@
|
|
2
|
-
font-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
font-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
font-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
font-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
font-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
1
|
+
@mixin DMMono {
|
|
2
|
+
@font-face {
|
|
3
|
+
font-family: 'DM Mono';
|
|
4
|
+
font-style: normal;
|
|
5
|
+
font-weight: 300;
|
|
6
|
+
src: url('#{$castlabs-ui-asset-prefix}/fonts/DMMono/DM_Mono_300.woff2?no-inline')
|
|
7
|
+
format('woff2');
|
|
8
|
+
}
|
|
9
|
+
@font-face {
|
|
10
|
+
font-family: 'DM Mono';
|
|
11
|
+
font-style: italic;
|
|
12
|
+
font-weight: 300;
|
|
13
|
+
src: url('#{$castlabs-ui-asset-prefix}/fonts/DMMono/DM_Mono_300italic.woff2?no-inline')
|
|
14
|
+
format('woff2');
|
|
15
|
+
}
|
|
16
|
+
@font-face {
|
|
17
|
+
font-family: 'DM Mono';
|
|
18
|
+
font-style: normal;
|
|
19
|
+
font-weight: 400;
|
|
20
|
+
src: url('#{$castlabs-ui-asset-prefix}/fonts/DMMono/DM_Mono_400.woff2?no-inline')
|
|
21
|
+
format('woff2');
|
|
22
|
+
}
|
|
23
|
+
@font-face {
|
|
24
|
+
font-family: 'DM Mono';
|
|
25
|
+
font-style: italic;
|
|
26
|
+
font-weight: 400;
|
|
27
|
+
src: url('#{$castlabs-ui-asset-prefix}/fonts/DMMono/DM_Mono_400italic.woff2?no-inline')
|
|
28
|
+
format('woff2');
|
|
29
|
+
}
|
|
30
|
+
@font-face {
|
|
31
|
+
font-family: 'DM Mono';
|
|
32
|
+
font-style: normal;
|
|
33
|
+
font-weight: 500;
|
|
34
|
+
src: url('#{$castlabs-ui-asset-prefix}/fonts/DMMono/DM_Mono_500.woff2?no-inline')
|
|
35
|
+
format('woff2');
|
|
36
|
+
}
|
|
37
|
+
@font-face {
|
|
38
|
+
font-family: 'DM Mono';
|
|
39
|
+
font-style: italic;
|
|
40
|
+
font-weight: 500;
|
|
41
|
+
src: url('#{$castlabs-ui-asset-prefix}/fonts/DMMono/DM_Mono_500italic.woff2?no-inline')
|
|
42
|
+
format('woff2');
|
|
43
|
+
}
|
|
39
44
|
}
|
|
@@ -1,21 +1,23 @@
|
|
|
1
|
-
@
|
|
2
|
-
font-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
font-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
font-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
@mixin NonNaturalGroteskInktrap {
|
|
2
|
+
@font-face {
|
|
3
|
+
font-family: NonNaturalGroteskInktrap;
|
|
4
|
+
font-style: normal;
|
|
5
|
+
font-weight: 400;
|
|
6
|
+
src: url('#{$castlabs-ui-asset-prefix}/fonts/NonNaturalGroteskInktrap/NonNaturalGroteskInktrap-Regular.woff2?no-inline')
|
|
7
|
+
format('woff2');
|
|
8
|
+
}
|
|
9
|
+
@font-face {
|
|
10
|
+
font-family: NonNaturalGroteskInktrap;
|
|
11
|
+
font-style: normal;
|
|
12
|
+
font-weight: 500;
|
|
13
|
+
src: url('#{$castlabs-ui-asset-prefix}/fonts/NonNaturalGroteskInktrap/NonNaturalGroteskInktrap-Medium.woff2?no-inline')
|
|
14
|
+
format('woff2');
|
|
15
|
+
}
|
|
16
|
+
@font-face {
|
|
17
|
+
font-family: NonNaturalGroteskInktrap;
|
|
18
|
+
font-style: normal;
|
|
19
|
+
font-weight: 700;
|
|
20
|
+
src: url('#{$castlabs-ui-asset-prefix}/fonts/NonNaturalGroteskInktrap/NonNaturalGroteskInktrap-Bold.woff2?no-inline')
|
|
21
|
+
format('woff2');
|
|
22
|
+
}
|
|
21
23
|
}
|
|
@@ -34,10 +34,9 @@ $color-ci-smoke: $color-ci-clay;
|
|
|
34
34
|
$color-ci-haze: $color-ci-eggshell;
|
|
35
35
|
$color-dark: $color-ci-ash;
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
$color-ci-
|
|
39
|
-
|
|
40
|
-
// $color-ci-violet: #805d93; // not used
|
|
37
|
+
// additional non-official colors
|
|
38
|
+
$color-ci-green: #338450;
|
|
39
|
+
$color-ci-orange: #eca72c; // fec671; //f18f01;
|
|
41
40
|
|
|
42
41
|
$color-hover-opacity: 0.75;
|
|
43
42
|
|
|
@@ -5,11 +5,17 @@
|
|
|
5
5
|
|
|
6
6
|
// This file defines our basic typography rules.
|
|
7
7
|
|
|
8
|
-
// @import '../../fonts/DMMono/DMMono';
|
|
9
|
-
// @import '../../fonts/NonNaturalGroteskInktrap/NonNaturalGroteskInktrap';
|
|
10
|
-
|
|
11
8
|
@import 'typography.variables';
|
|
12
9
|
|
|
10
|
+
// conditionally import fonts so themes can omit them
|
|
11
|
+
@import '../../fonts/DMMono/DMMono';
|
|
12
|
+
@import '../../fonts/NonNaturalGroteskInktrap/NonNaturalGroteskInktrap';
|
|
13
|
+
$castlabs-ui-fonts: true !default;
|
|
14
|
+
@if $castlabs-ui-fonts {
|
|
15
|
+
@include NonNaturalGroteskInktrap;
|
|
16
|
+
@include DMMono;
|
|
17
|
+
}
|
|
18
|
+
|
|
13
19
|
// --- text --------------------------------------------------------------------
|
|
14
20
|
|
|
15
21
|
.cl-font-sans {
|