@orangesk/orange-design-system 2.0.0-beta.10 → 2.0.0-beta.12
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/index.js +5 -5
- package/build/components/index.js.map +1 -1
- package/build/components/tsconfig.tsbuildinfo +1 -1
- package/build/components/types/index.d.ts +8 -5
- package/build/components/types/src/components/Carousel/Carousel.static.d.ts +34 -1
- package/build/components/types/src/components/Cover/Cover.d.ts +3 -3
- package/build/components/types/src/components/Pill/Pill.d.ts +1 -1
- package/build/components/types/src/components/PromoBanner/PromoBanner.d.ts +1 -1
- package/build/components/types/src/components/Table/Table.d.ts +2 -0
- package/build/components/types/src/components/Table/docsData.d.ts +2 -0
- package/build/components/types/src/components/Table/types.d.ts +1 -0
- package/build/components/types/src/components/Tile/Tile.d.ts +2 -1
- package/build/lib/after-components.css +1 -1
- package/build/lib/after-components.css.map +1 -1
- package/build/lib/before-components.css +1 -1
- package/build/lib/before-components.css.map +1 -1
- package/build/lib/components.css +1 -1
- package/build/lib/components.css.map +1 -1
- package/build/lib/megamenu.css +1 -1
- package/build/lib/megamenu.css.map +1 -1
- package/build/lib/scripts.js +4 -4
- 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/package.json +13 -13
- package/src/components/Accordion/styles/mixins.scss +5 -1
- package/src/components/AnchorNavigation/AnchorNavigation.static.ts +3 -0
- package/src/components/AnchorNavigation/styles/mixins.scss +1 -1
- package/src/components/Button/styles/config.scss +5 -4
- package/src/components/Carousel/Carousel.static.ts +204 -1
- package/src/components/Carousel/tests/Carousel.static.test.js +403 -0
- package/src/components/Carousel/tests/Carousel.unit.test.js +68 -0
- package/src/components/Cover/Cover.tsx +22 -20
- package/src/components/Cover/styles/config.scss +23 -12
- package/src/components/Cover/styles/mixins.scss +6 -5
- package/src/components/Cover/tests/Cover.unit.test.js +52 -52
- package/src/components/Expander/styles/style.scss +3 -1
- package/src/components/Forms/Group/styles/mixins.scss +14 -0
- package/src/components/Pill/Pill.tsx +10 -2
- package/src/components/Pill/styles/config.scss +2 -21
- package/src/components/Pill/styles/style.scss +16 -6
- package/src/components/Pill/tests/Pill.conformance.test.js +8 -2
- package/src/components/Pill/tests/Pill.unit.test.js +69 -11
- package/src/components/PromoBanner/PromoBanner.tsx +19 -2
- package/src/components/PromoBanner/styles/mixins.scss +1 -1
- package/src/components/PromoBanner/tests/PromoBanner.conformance.test.js +32 -0
- package/src/components/PromoBanner/tests/PromoBanner.unit.test.js +52 -0
- package/src/components/Table/Row.tsx +9 -3
- package/src/components/Table/Table.tsx +11 -1
- package/src/components/Table/TableContext.ts +1 -0
- package/src/components/Table/docsData.ts +25 -0
- package/src/components/Table/styles/mixins.scss +40 -4
- package/src/components/Table/styles/style.scss +6 -0
- package/src/components/Table/types.ts +1 -0
- package/src/components/Tile/CHANGELOG.md +15 -1
- package/src/components/Tile/Tile.tsx +11 -3
- package/src/components/Tile/styles/config.scss +0 -11
- package/src/components/Tile/styles/style.scss +0 -4
- package/src/components/Tile/tests/Tile.unit.test.js +10 -3
- package/src/components/Tooltip/InfoTooltip.tsx +1 -5
- package/src/styles/base/globals.scss +7 -2
- package/src/styles/tokens/color.scss +1 -1
- package/src/styles/typography/mixins.scss +18 -0
- package/src/styles/typography/style.scss +6 -3
- package/src/styles/utilities/text.scss +1 -0
|
@@ -188,3 +188,21 @@
|
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
+
|
|
192
|
+
@mixin description-list() {
|
|
193
|
+
@include text-readable;
|
|
194
|
+
@include generate.responsive-css-map(config.$body-text);
|
|
195
|
+
padding-left: 0;
|
|
196
|
+
|
|
197
|
+
dt {
|
|
198
|
+
font-weight: 700;
|
|
199
|
+
}
|
|
200
|
+
dd {
|
|
201
|
+
margin-left: 0;
|
|
202
|
+
margin-bottom: convert.to-rem(20px);
|
|
203
|
+
|
|
204
|
+
&:last-child {
|
|
205
|
+
margin-bottom: 0;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}
|
|
@@ -16,11 +16,14 @@
|
|
|
16
16
|
@include readability();
|
|
17
17
|
|
|
18
18
|
ol,
|
|
19
|
-
ul
|
|
20
|
-
dl {
|
|
19
|
+
ul {
|
|
21
20
|
@include list-base();
|
|
22
21
|
}
|
|
23
22
|
|
|
23
|
+
dl {
|
|
24
|
+
@include description-list();
|
|
25
|
+
}
|
|
26
|
+
|
|
24
27
|
ul {
|
|
25
28
|
@include ul-list-base();
|
|
26
29
|
}
|
|
@@ -56,4 +59,4 @@ ul {
|
|
|
56
59
|
|
|
57
60
|
.list--marker-orange {
|
|
58
61
|
@include list-marker-orange();
|
|
59
|
-
}
|
|
62
|
+
}
|