@orangesk/orange-design-system 2.0.0-beta.19 → 2.0.0-beta.20
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/README.md +346 -19
- package/build/components/Accordion/style.css +1 -1
- package/build/components/Accordion/style.css.map +1 -1
- package/build/components/Alert/style.css +1 -1
- package/build/components/Alert/style.css.map +1 -1
- package/build/components/AnchorNavigation/style.css +1 -1
- package/build/components/AnchorNavigation/style.css.map +1 -1
- package/build/components/BlockAction/style.css +1 -1
- package/build/components/BlockAction/style.css.map +1 -1
- package/build/components/CarouselPromotions/style.css +1 -1
- package/build/components/CarouselPromotions/style.css.map +1 -1
- package/build/components/FeatureAccordion/style.css +1 -1
- package/build/components/FeatureAccordion/style.css.map +1 -1
- package/build/components/Footer/style.css +1 -1
- package/build/components/Footer/style.css.map +1 -1
- package/build/components/Hero/style.css +1 -1
- package/build/components/Hero/style.css.map +1 -1
- package/build/components/Megamenu/style.css +1 -1
- package/build/components/Megamenu/style.css.map +1 -1
- package/build/components/Modal/style.css +1 -1
- package/build/components/Modal/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/PromoBanner/style.css +1 -1
- package/build/components/PromoBanner/style.css.map +1 -1
- package/build/components/PromotionCard/style.css +1 -1
- package/build/components/PromotionCard/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 +5 -40
- package/build/components/types/src/components/Alert/Alert.d.ts +0 -2
- package/build/components/types/src/components/AnchorNavigation/AnchorNavigation.d.ts +1 -2
- package/build/components/types/src/components/BlockAction/BlockAction.d.ts +2 -0
- package/build/components/types/src/components/BlockAction/Context.d.ts +2 -0
- package/build/components/types/src/components/Breadcrumbs/Breadcrumbs.d.ts +0 -2
- package/build/components/types/src/components/Button/Button.d.ts +0 -1
- package/build/components/types/src/components/Card/index.d.ts +1 -0
- package/build/components/types/src/components/Carousel/Carousel.d.ts +0 -2
- package/build/components/types/src/components/CarouselHero/CarouselHero.d.ts +0 -1
- package/build/components/types/src/components/CarouselPromotions/CarouselPromotions.d.ts +0 -1
- package/build/components/types/src/components/Controls/Controls.d.ts +0 -1
- package/build/components/types/src/components/Expander/Expander.d.ts +0 -3
- package/build/components/types/src/components/FeatureAccordion/FeatureAccordion.d.ts +0 -2
- package/build/components/types/src/components/Forms/InputStepper/InputStepper.d.ts +0 -1
- package/build/components/types/src/components/Hero/Hero.d.ts +0 -3
- package/build/components/types/src/components/Icon/iconSearchTags.d.ts +167 -166
- package/build/components/types/src/components/Link/Link.d.ts +0 -2
- package/build/components/types/src/components/Megamenu/static.d.ts +2 -3
- package/build/components/types/src/components/Modal/Modal.d.ts +0 -2
- package/build/components/types/src/components/Pagination/Pagination.d.ts +0 -2
- package/build/components/types/src/components/Pill/Pill.d.ts +0 -1
- package/build/components/types/src/components/Progress/Progress.d.ts +0 -1
- package/build/components/types/src/components/PromoBanner/PromoBanner.d.ts +1 -2
- package/build/components/types/src/components/PromotionCard/PromotionCard.d.ts +2 -2
- package/build/components/types/src/components/Stepbar/Stepbar.d.ts +0 -2
- package/build/components/types/src/components/Table/Table.d.ts +0 -2
- package/build/components/types/src/components/Tabs/Tabs.d.ts +0 -2
- package/build/components/types/src/components/Tooltip/Tooltip.d.ts +0 -1
- package/build/components/types/src/scripts/index.d.ts +2 -3
- package/build/components/types/src/styles/export/color.d.ts +102 -20
- 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/footer.css +1 -1
- package/build/lib/footer.css.map +1 -1
- package/build/lib/megamenu.css +1 -1
- package/build/lib/megamenu.css.map +1 -1
- package/build/lib/megamenu.js +1 -1
- package/build/lib/megamenu.js.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/sprite.svg +1 -1
- package/package.json +13 -13
- package/src/assets/icons/quote.svg +4 -0
- package/src/components/Accordion/styles/mixins.scss +2 -0
- package/src/components/Alert/Alert.tsx +0 -6
- package/src/components/Alert/styles/mixins.scss +3 -1
- package/src/components/Alert/tests/Alert.test.js +0 -14
- package/src/components/AnchorNavigation/AnchorNavigation.tsx +1 -10
- package/src/components/AnchorNavigation/tests/AnchorNavigation.conformance.test.js +0 -9
- package/src/components/BlockAction/BlockAction.tsx +10 -3
- package/src/components/BlockAction/Context.tsx +4 -0
- package/src/components/BlockAction/styles/mixins.scss +6 -0
- package/src/components/BlockAction/styles/style.scss +5 -0
- package/src/components/Breadcrumbs/BreadcrumbItem.tsx +16 -7
- package/src/components/Breadcrumbs/Breadcrumbs.tsx +4 -12
- package/src/components/Breadcrumbs/tests/BreadcrumbItem.unit.test.js +14 -8
- package/src/components/Breadcrumbs/tests/Breadcrumbs.integration.test.js +14 -37
- package/src/components/Breadcrumbs/tests/Breadcrumbs.unit.test.js +19 -23
- package/src/components/Button/Button.tsx +0 -4
- package/src/components/Button/tests/Button.test.js +0 -10
- package/src/components/Card/index.ts +1 -0
- package/src/components/Carousel/Carousel.static.ts +5 -0
- package/src/components/Carousel/Carousel.tsx +0 -5
- package/src/components/Carousel/tests/Carousel.unit.test.js +0 -21
- package/src/components/CarouselHero/CarouselHero.tsx +1 -9
- package/src/components/CarouselHero/tests/CarouselHero.conformance.test.js +0 -1
- package/src/components/CarouselHero/tests/CarouselHero.unit.test.js +0 -14
- package/src/components/CarouselPromotions/CarouselPromotions.tsx +1 -6
- package/src/components/CarouselPromotions/styles/mixins.scss +6 -3
- package/src/components/CarouselPromotions/tests/CarouselPromotions.unit.test.js +0 -17
- package/src/components/Controls/Controls.tsx +2 -7
- package/src/components/Controls/tests/Controls.test.js +0 -23
- package/src/components/Expander/Expander.tsx +0 -6
- package/src/components/Expander/tests/Expander.conformance.test.js +8 -12
- package/src/components/Expander/tests/Expander.unit.test.js +37 -47
- package/src/components/FeatureAccordion/FeatureAccordion.tsx +2 -12
- package/src/components/FeatureAccordion/styles/mixins.scss +6 -14
- package/src/components/FeatureAccordion/styles/style.scss +2 -4
- package/src/components/FeatureAccordion/tests/FeatureAccordion.unit.test.js +0 -5
- package/src/components/Footer/styles/mixins.scss +1 -0
- package/src/components/Forms/InputStepper/InputStepper.tsx +0 -4
- package/src/components/Forms/Label/styles/config.scss +3 -0
- package/src/components/Hero/Hero.tsx +2 -16
- package/src/components/Hero/styles/style.scss +0 -14
- package/src/components/Hero/tests/Hero.unit.test.js +109 -119
- package/src/components/Icon/iconSearchTags.ts +167 -166
- package/src/components/Link/Link.tsx +0 -5
- package/src/components/Link/tests/Link.conformance.test.js +1 -7
- package/src/components/Link/tests/Link.unit.test.js +0 -20
- package/src/components/Megamenu/static.ts +5 -2
- package/src/components/Modal/Modal.tsx +0 -5
- package/src/components/Modal/styles/mixins.scss +7 -0
- package/src/components/Modal/styles/style.scss +1 -0
- package/src/components/Modal/tests/Modal.unit.test.js +0 -22
- package/src/components/Pagination/Pagination.tsx +1 -11
- package/src/components/Pill/Pill.tsx +0 -4
- package/src/components/Pill/tests/Pill.conformance.test.js +0 -4
- package/src/components/Pill/tests/Pill.unit.test.js +0 -18
- package/src/components/Progress/Progress.tsx +1 -13
- package/src/components/Progress/styles/mixins.scss +9 -7
- package/src/components/PromoBanner/PromoBanner.tsx +1 -10
- package/src/components/PromoBanner/styles/mixins.scss +0 -3
- package/src/components/PromoBanner/tests/PromoBanner.conformance.test.js +0 -30
- package/src/components/PromoBanner/tests/PromoBanner.unit.test.js +1 -33
- package/src/components/PromotionCard/PromotionCard.tsx +4 -6
- package/src/components/PromotionCard/styles/mixins.scss +1 -0
- package/src/components/PromotionCard/tests/PromotionCard.conformance.test.js +18 -19
- package/src/components/PromotionCard/tests/PromotionCard.unit.test.js +12 -74
- package/src/components/Stepbar/Stepbar.tsx +0 -5
- package/src/components/Table/Table.tsx +0 -5
- package/src/components/Table/tests/Table.unit.test.js +0 -31
- package/src/components/Tabs/Tabs.tsx +0 -5
- package/src/components/Tabs/tests/Tabs.unit.test.js +0 -8
- package/src/components/Tag/styles/config.scss +1 -1
- package/src/components/Tag/styles/style.scss +10 -9
- package/src/components/Tile/styles/mixins.scss +1 -0
- package/src/components/Tooltip/Tooltip.tsx +1 -10
- package/src/components/Tooltip/tests/Tooltip.unit.test.js +0 -29
- package/src/styles/base/globals.scss +9 -0
- package/src/styles/base/styleguide.scss +6 -2
- package/src/styles/export/color.js +102 -20
- package/src/styles/export/color.scss +10 -20
- package/src/styles/typography/config.scss +83 -37
- package/src/styles/typography/mixins.scss +3 -3
- package/src/styles/utilities/text.scss +26 -2
- package/src/components/Pagination/tests/utils.js +0 -12
|
@@ -4,35 +4,75 @@
|
|
|
4
4
|
|
|
5
5
|
$body-text: (
|
|
6
6
|
small: (
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
default: (
|
|
8
|
+
font-size: convert.to-rem(14px),
|
|
9
|
+
line-height: convert.to-rem(14px),
|
|
10
|
+
font-weight: 400,
|
|
11
|
+
letter-spacing: convert.to-rem(0px),
|
|
12
|
+
),
|
|
13
|
+
md: (
|
|
14
|
+
font-size: convert.to-rem(16px),
|
|
15
|
+
line-height: convert.to-rem(24px),
|
|
16
|
+
font-weight: 400,
|
|
17
|
+
letter-spacing: convert.to-rem(-0.1px),
|
|
18
|
+
),
|
|
19
|
+
lg: (
|
|
20
|
+
font-size: convert.to-rem(16px),
|
|
21
|
+
line-height: convert.to-rem(24px),
|
|
22
|
+
font-weight: 400,
|
|
23
|
+
letter-spacing: convert.to-rem(-0.1px),
|
|
24
|
+
),
|
|
11
25
|
),
|
|
12
26
|
default: (
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
27
|
+
default: (
|
|
28
|
+
font-size: convert.to-rem(16px),
|
|
29
|
+
line-height: convert.to-rem(24px),
|
|
30
|
+
font-weight: 400,
|
|
31
|
+
letter-spacing: convert.to-rem(-0.1px),
|
|
32
|
+
),
|
|
33
|
+
md: (
|
|
34
|
+
font-size: convert.to-rem(18px),
|
|
35
|
+
line-height: convert.to-rem(26px),
|
|
36
|
+
font-weight: 400,
|
|
37
|
+
letter-spacing: convert.to-rem(-0.2px),
|
|
38
|
+
),
|
|
39
|
+
lg: (
|
|
40
|
+
font-size: convert.to-rem(18px),
|
|
41
|
+
line-height: convert.to-rem(26px),
|
|
42
|
+
font-weight: 400,
|
|
43
|
+
letter-spacing: convert.to-rem(-0.2px),
|
|
44
|
+
),
|
|
17
45
|
),
|
|
18
46
|
large: (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
47
|
+
default: (
|
|
48
|
+
font-size: convert.to-rem(18px),
|
|
49
|
+
line-height: convert.to-rem(26px),
|
|
50
|
+
font-weight: 400,
|
|
51
|
+
letter-spacing: convert.to-rem(-0.2px),
|
|
52
|
+
),
|
|
53
|
+
md: (
|
|
54
|
+
font-size: convert.to-rem(20px),
|
|
55
|
+
line-height: convert.to-rem(30px),
|
|
56
|
+
font-weight: 400,
|
|
57
|
+
letter-spacing: convert.to-rem(-0.2px),
|
|
58
|
+
),
|
|
59
|
+
lg: (
|
|
60
|
+
font-size: convert.to-rem(20px),
|
|
61
|
+
line-height: convert.to-rem(30px),
|
|
62
|
+
font-weight: 400,
|
|
63
|
+
letter-spacing: convert.to-rem(-0.2px),
|
|
64
|
+
),
|
|
23
65
|
),
|
|
24
66
|
);
|
|
25
67
|
|
|
26
68
|
$heading-base: (
|
|
27
69
|
margin-top: 0,
|
|
28
|
-
margin-bottom: space.get("large"),
|
|
29
|
-
font-weight: bold,
|
|
70
|
+
margin-bottom: space.get("large"), // font-weight: bold,
|
|
30
71
|
);
|
|
31
72
|
|
|
32
73
|
$display-base: (
|
|
33
74
|
margin-top: 0,
|
|
34
|
-
margin-bottom: space.get("large"),
|
|
35
|
-
font-weight: bold,
|
|
75
|
+
margin-bottom: space.get("large"), // font-weight: bold,
|
|
36
76
|
);
|
|
37
77
|
|
|
38
78
|
$headings: (
|
|
@@ -40,19 +80,19 @@ $headings: (
|
|
|
40
80
|
default: (
|
|
41
81
|
font-size: convert.to-rem(34px),
|
|
42
82
|
line-height: convert.to-rem(40px),
|
|
43
|
-
font-weight:
|
|
83
|
+
font-weight: 300,
|
|
44
84
|
letter-spacing: convert.to-rem(-0.4px),
|
|
45
85
|
),
|
|
46
86
|
md: (
|
|
47
87
|
font-size: convert.to-rem(40px),
|
|
48
88
|
line-height: convert.to-rem(46px),
|
|
49
|
-
font-weight:
|
|
89
|
+
font-weight: 300,
|
|
50
90
|
letter-spacing: convert.to-rem(-0.6px),
|
|
51
91
|
),
|
|
52
92
|
xl: (
|
|
53
93
|
font-size: convert.to-rem(50px),
|
|
54
94
|
line-height: convert.to-rem(56px),
|
|
55
|
-
font-weight:
|
|
95
|
+
font-weight: 300,
|
|
56
96
|
letter-spacing: convert.to-rem(-0.6px),
|
|
57
97
|
),
|
|
58
98
|
),
|
|
@@ -60,19 +100,19 @@ $headings: (
|
|
|
60
100
|
default: (
|
|
61
101
|
font-size: convert.to-rem(28px),
|
|
62
102
|
line-height: convert.to-rem(32px),
|
|
63
|
-
font-weight:
|
|
103
|
+
font-weight: 300,
|
|
64
104
|
letter-spacing: convert.to-rem(-0.2px),
|
|
65
105
|
),
|
|
66
106
|
md: (
|
|
67
107
|
font-size: convert.to-rem(34px),
|
|
68
108
|
line-height: convert.to-rem(40px),
|
|
69
|
-
font-weight:
|
|
109
|
+
font-weight: 300,
|
|
70
110
|
letter-spacing: convert.to-rem(-0.4px),
|
|
71
111
|
),
|
|
72
112
|
xl: (
|
|
73
113
|
font-size: convert.to-rem(40px),
|
|
74
114
|
line-height: convert.to-rem(46px),
|
|
75
|
-
font-weight:
|
|
115
|
+
font-weight: 300,
|
|
76
116
|
letter-spacing: convert.to-rem(-0.6px),
|
|
77
117
|
),
|
|
78
118
|
),
|
|
@@ -80,27 +120,27 @@ $headings: (
|
|
|
80
120
|
default: (
|
|
81
121
|
font-size: convert.to-rem(24px),
|
|
82
122
|
line-height: convert.to-rem(28px),
|
|
83
|
-
font-weight:
|
|
123
|
+
font-weight: 300,
|
|
84
124
|
letter-spacing: convert.to-rem(-0.6px),
|
|
85
125
|
),
|
|
86
126
|
md: (
|
|
87
127
|
font-size: convert.to-rem(28px),
|
|
88
128
|
line-height: convert.to-rem(32px),
|
|
89
|
-
font-weight:
|
|
129
|
+
font-weight: 300,
|
|
90
130
|
letter-spacing: convert.to-rem(-0.6px),
|
|
91
131
|
),
|
|
92
132
|
),
|
|
93
133
|
4: (
|
|
94
134
|
default: (
|
|
95
|
-
font-size: convert.to-rem(
|
|
96
|
-
line-height: convert.to-rem(
|
|
97
|
-
font-weight:
|
|
135
|
+
font-size: convert.to-rem(18px),
|
|
136
|
+
line-height: convert.to-rem(22px),
|
|
137
|
+
font-weight: 300,
|
|
98
138
|
letter-spacing: convert.to-rem(-0.1px),
|
|
99
139
|
),
|
|
100
140
|
md: (
|
|
101
141
|
font-size: convert.to-rem(24px),
|
|
102
142
|
line-height: convert.to-rem(28px),
|
|
103
|
-
font-weight:
|
|
143
|
+
font-weight: 300,
|
|
104
144
|
letter-spacing: convert.to-rem(-0.4px),
|
|
105
145
|
),
|
|
106
146
|
),
|
|
@@ -108,18 +148,24 @@ $headings: (
|
|
|
108
148
|
default: (
|
|
109
149
|
font-size: convert.to-rem(16px),
|
|
110
150
|
line-height: convert.to-rem(20px),
|
|
111
|
-
font-weight:
|
|
151
|
+
font-weight: 300,
|
|
112
152
|
letter-spacing: convert.to-rem(-0.1px),
|
|
113
153
|
),
|
|
114
154
|
md: (
|
|
115
155
|
font-size: convert.to-rem(18px),
|
|
116
156
|
line-height: convert.to-rem(22px),
|
|
117
|
-
font-weight:
|
|
157
|
+
font-weight: 300,
|
|
118
158
|
letter-spacing: convert.to-rem(-0.2px),
|
|
119
159
|
),
|
|
120
160
|
),
|
|
121
161
|
6: (
|
|
122
162
|
default: (
|
|
163
|
+
font-size: convert.to-rem(16px),
|
|
164
|
+
line-height: convert.to-rem(24px),
|
|
165
|
+
font-weight: 400,
|
|
166
|
+
letter-spacing: convert.to-rem(-0.1px),
|
|
167
|
+
),
|
|
168
|
+
md: (
|
|
123
169
|
font-size: convert.to-rem(18px),
|
|
124
170
|
line-height: convert.to-rem(26px),
|
|
125
171
|
font-weight: 400,
|
|
@@ -133,13 +179,13 @@ $displays: (
|
|
|
133
179
|
default: (
|
|
134
180
|
font-size: convert.to-rem(40px),
|
|
135
181
|
line-height: convert.to-rem(46px),
|
|
136
|
-
font-weight:
|
|
182
|
+
font-weight: 300,
|
|
137
183
|
letter-spacing: convert.to-rem(-0.6px),
|
|
138
184
|
),
|
|
139
185
|
xl: (
|
|
140
186
|
font-size: convert.to-rem(140px),
|
|
141
187
|
line-height: convert.to-rem(158px),
|
|
142
|
-
font-weight:
|
|
188
|
+
font-weight: 300,
|
|
143
189
|
letter-spacing: convert.to-rem(-2.6px),
|
|
144
190
|
),
|
|
145
191
|
),
|
|
@@ -147,13 +193,13 @@ $displays: (
|
|
|
147
193
|
default: (
|
|
148
194
|
font-size: convert.to-rem(40px),
|
|
149
195
|
line-height: convert.to-rem(46px),
|
|
150
|
-
font-weight:
|
|
196
|
+
font-weight: 300,
|
|
151
197
|
letter-spacing: convert.to-rem(-0.6px),
|
|
152
198
|
),
|
|
153
199
|
md: (
|
|
154
200
|
font-size: convert.to-rem(80px),
|
|
155
201
|
line-height: convert.to-rem(92px),
|
|
156
|
-
font-weight:
|
|
202
|
+
font-weight: 300,
|
|
157
203
|
letter-spacing: convert.to-rem(-1.4px),
|
|
158
204
|
),
|
|
159
205
|
),
|
|
@@ -161,21 +207,21 @@ $displays: (
|
|
|
161
207
|
default: (
|
|
162
208
|
font-size: convert.to-rem(40px),
|
|
163
209
|
line-height: convert.to-rem(46px),
|
|
164
|
-
font-weight:
|
|
210
|
+
font-weight: 300,
|
|
165
211
|
letter-spacing: convert.to-rem(-0.6px),
|
|
166
212
|
),
|
|
167
213
|
|
|
168
214
|
md: (
|
|
169
215
|
font-size: convert.to-rem(50px),
|
|
170
216
|
line-height: convert.to-rem(56px),
|
|
171
|
-
font-weight:
|
|
217
|
+
font-weight: 300,
|
|
172
218
|
letter-spacing: convert.to-rem(-0.6px),
|
|
173
219
|
),
|
|
174
220
|
|
|
175
221
|
xl: (
|
|
176
222
|
font-size: convert.to-rem(60px),
|
|
177
223
|
line-height: convert.to-rem(68px),
|
|
178
|
-
font-weight:
|
|
224
|
+
font-weight: 300,
|
|
179
225
|
letter-spacing: convert.to-rem(-1px),
|
|
180
226
|
),
|
|
181
227
|
),
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
margin-top: 0;
|
|
49
49
|
margin-bottom: space.get("large");
|
|
50
50
|
// Default štýly pre všetky p elementy
|
|
51
|
-
@include generate.responsive-css-map($config);
|
|
51
|
+
@include generate.responsive-css-map(map.get($config, "default"));
|
|
52
52
|
|
|
53
53
|
a {
|
|
54
54
|
text-decoration: underline !important;
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
padding-left: space.get("large");
|
|
117
117
|
@include text-readable;
|
|
118
118
|
// Apply the same font styles as paragraphs
|
|
119
|
-
@include generate.responsive-css-map(config.$body-text);
|
|
119
|
+
@include generate.responsive-css-map(map.get(config.$body-text, "default"));
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
@mixin list-spacing($space, $config: config.$list-spacing) {
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
|
|
186
186
|
@mixin description-list() {
|
|
187
187
|
@include text-readable;
|
|
188
|
-
@include generate.responsive-css-map(config.$body-text);
|
|
188
|
+
@include generate.responsive-css-map(map.get(config.$body-text, "default"));
|
|
189
189
|
padding-left: 0;
|
|
190
190
|
|
|
191
191
|
dt {
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
@use "../tokens/color";
|
|
7
7
|
@use "../tokens/base";
|
|
8
8
|
@use "../tokens/breakpoint";
|
|
9
|
+
@use "sass:map";
|
|
9
10
|
|
|
10
11
|
@layer utilities {
|
|
11
12
|
strong,
|
|
@@ -50,11 +51,15 @@
|
|
|
50
51
|
|
|
51
52
|
small,
|
|
52
53
|
.small {
|
|
53
|
-
@include generate.css-map(
|
|
54
|
+
@include generate.responsive-css-map(
|
|
55
|
+
map.get(typographyConfig.$body-text, "small")
|
|
56
|
+
);
|
|
54
57
|
}
|
|
55
58
|
|
|
56
59
|
.large {
|
|
57
|
-
@include generate.css-map(
|
|
60
|
+
@include generate.responsive-css-map(
|
|
61
|
+
map.get(typographyConfig.$body-text, "large")
|
|
62
|
+
);
|
|
58
63
|
}
|
|
59
64
|
|
|
60
65
|
.text-nowrap {
|
|
@@ -112,6 +117,25 @@
|
|
|
112
117
|
vertical-align: baseline !important;
|
|
113
118
|
}
|
|
114
119
|
|
|
120
|
+
@each $name, $width in breakpoint.$map {
|
|
121
|
+
@if $name != "xs" {
|
|
122
|
+
@include breakpoint.get($name) {
|
|
123
|
+
.align-middle--#{$name} {
|
|
124
|
+
vertical-align: middle !important;
|
|
125
|
+
}
|
|
126
|
+
.align-top--#{$name} {
|
|
127
|
+
vertical-align: top !important;
|
|
128
|
+
}
|
|
129
|
+
.align-bottom--#{$name} {
|
|
130
|
+
vertical-align: bottom !important;
|
|
131
|
+
}
|
|
132
|
+
.align-baseline--#{$name} {
|
|
133
|
+
vertical-align: baseline !important;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
115
139
|
.reset-font-weight {
|
|
116
140
|
font-weight: normal !important;
|
|
117
141
|
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export const getItems = (count = 10, current = 0) =>
|
|
2
|
-
[
|
|
3
|
-
...Array(count)
|
|
4
|
-
.fill('')
|
|
5
|
-
.map((_, i) => i + 1),
|
|
6
|
-
].map(n => ({
|
|
7
|
-
label: `${n}`,
|
|
8
|
-
ariaLabel: `Strana ${n}`,
|
|
9
|
-
href: `/?page=${n}`,
|
|
10
|
-
key: n.toString(),
|
|
11
|
-
...(current === n ? { isActive: true } : {}),
|
|
12
|
-
}));
|