@orangesk/orange-design-system 2.0.0-beta.29 → 2.0.0-beta.30
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/build/components/CarouselPromotions/style.css +1 -1
- package/build/components/CarouselPromotions/style.css.map +1 -1
- package/build/components/Expander/style.css +1 -1
- package/build/components/Expander/style.css.map +1 -1
- package/build/components/Grid/style.css +1 -1
- package/build/components/Grid/style.css.map +1 -1
- package/build/components/Progress/style.css +1 -1
- package/build/components/Progress/style.css.map +1 -1
- package/build/components/Tag/style.css +1 -1
- package/build/components/Tag/style.css.map +1 -1
- package/build/components/Tile/style.css +1 -1
- package/build/components/Tile/style.css.map +1 -1
- package/build/components/index.js +1 -1
- package/build/components/index.js.map +1 -1
- package/build/components/tsconfig.tsbuildinfo +1 -1
- package/build/components/types/index.d.ts +2 -2
- package/build/components/types/src/components/Carousel/Carousel.static.d.ts +2 -2
- package/build/components/types/src/components/Grid/Grid.d.ts +2 -2
- package/build/lib/base.css +1 -1
- package/build/lib/base.css.map +1 -1
- package/build/lib/components.css +1 -1
- package/build/lib/components.css.map +1 -1
- package/build/lib/scripts.js +1 -1
- package/build/lib/scripts.js.map +1 -1
- package/build/lib/style.css +1 -1
- package/build/lib/style.css.map +1 -1
- package/build/lib/tsconfig.tsbuildinfo +1 -1
- package/build/lib/utilities.css +1 -1
- package/build/lib/utilities.css.map +1 -1
- package/build/search-index.json +5 -1
- package/package.json +6 -6
- package/src/components/Carousel/Carousel.static.ts +15 -8
- package/src/components/Expander/Expander.static.ts +0 -41
- package/src/components/Expander/Expander.tsx +4 -9
- package/src/components/Expander/styles/style.scss +1 -0
- package/src/components/Grid/Grid.tsx +9 -3
- package/src/components/Grid/styles/config.scss +3 -2
- package/src/components/Grid/styles/mixins.scss +20 -34
- package/src/components/Grid/styles/style.scss +15 -5
- package/src/components/Grid/tests/Grid.unit.test.js +3 -3
- package/src/components/Tag/styles/style.scss +5 -0
- package/src/components/Tile/styles/mixins.scss +1 -0
- package/src/styles/base/globals.scss +4 -0
- package/src/styles/typography/config.scss +21 -1
- package/src/styles/typography/style.scss +13 -0
|
@@ -51,6 +51,11 @@
|
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
+
|
|
55
|
+
// TODO: This is a temporary solution to make transparent tags work on gray backgrounds, we need to find a better way to handle this in the future.
|
|
56
|
+
&--transparent {
|
|
57
|
+
background-color: var(--color-surface-primary);
|
|
58
|
+
}
|
|
54
59
|
}
|
|
55
60
|
|
|
56
61
|
// Transparent class is a special variant of color, it's not possible to make transparent variant for each color at the moment.
|
|
@@ -6,7 +6,7 @@ $body-text: (
|
|
|
6
6
|
small: (
|
|
7
7
|
default: (
|
|
8
8
|
font-size: convert.to-rem(14px),
|
|
9
|
-
line-height: convert.to-rem(
|
|
9
|
+
line-height: convert.to-rem(20px),
|
|
10
10
|
font-weight: 400,
|
|
11
11
|
letter-spacing: convert.to-rem(0px),
|
|
12
12
|
),
|
|
@@ -237,3 +237,23 @@ $list-spacing: (
|
|
|
237
237
|
"default": space.get("small"),
|
|
238
238
|
"condensed": space.get("xsmall"),
|
|
239
239
|
);
|
|
240
|
+
|
|
241
|
+
$caption: (
|
|
242
|
+
small: (
|
|
243
|
+
font-size: convert.to-rem(14px),
|
|
244
|
+
line-height: convert.to-rem(16px),
|
|
245
|
+
font-weight: 400,
|
|
246
|
+
),
|
|
247
|
+
default: (
|
|
248
|
+
font-size: convert.to-rem(16px),
|
|
249
|
+
line-height: convert.to-rem(18px),
|
|
250
|
+
font-weight: 400,
|
|
251
|
+
letter-spacing: convert.to-rem(-0.1px),
|
|
252
|
+
),
|
|
253
|
+
large: (
|
|
254
|
+
font-size: convert.to-rem(18px),
|
|
255
|
+
line-height: convert.to-rem(20px),
|
|
256
|
+
font-weight: 400,
|
|
257
|
+
letter-spacing: convert.to-rem(-0.2px),
|
|
258
|
+
),
|
|
259
|
+
);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@use "../tools/generate";
|
|
2
2
|
@use "config" as *;
|
|
3
3
|
@use "mixins" as *;
|
|
4
|
+
@use "sass:map" as sass-map;
|
|
4
5
|
|
|
5
6
|
// Headings pre elementy h1, h2, h3 atď.
|
|
6
7
|
@include headings-base($headings, "h$", $heading-base);
|
|
@@ -15,6 +16,18 @@
|
|
|
15
16
|
@include body-text($body-text);
|
|
16
17
|
@include readability();
|
|
17
18
|
|
|
19
|
+
.caption {
|
|
20
|
+
@include generate.css-map(sass-map.get($caption, "default"));
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.caption--small {
|
|
24
|
+
@include generate.css-map(sass-map.get($caption, "small"));
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.caption--large {
|
|
28
|
+
@include generate.css-map(sass-map.get($caption, "large"));
|
|
29
|
+
}
|
|
30
|
+
|
|
18
31
|
ol,
|
|
19
32
|
ul {
|
|
20
33
|
@include list-base();
|