@orangesk/orange-design-system 2.1.0 → 3.0.0
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/Accordion/style.css +1 -1
- package/build/components/Accordion/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/Card/style.css +1 -1
- package/build/components/Card/style.css.map +1 -1
- package/build/components/Carousel/style.css +1 -1
- package/build/components/Carousel/style.css.map +1 -1
- package/build/components/CarouselHero/style.css +1 -1
- package/build/components/CarouselHero/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/Cover/style.css +1 -1
- package/build/components/Cover/style.css.map +1 -1
- package/build/components/Dropdown/style.css +1 -1
- package/build/components/Dropdown/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/Icon/style.css +1 -1
- package/build/components/Icon/style.css.map +1 -1
- package/build/components/IconList/style.css +1 -1
- package/build/components/IconList/style.css.map +1 -1
- package/build/components/Link/style.css +1 -1
- package/build/components/Link/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/PromoBanner/style.css +1 -1
- package/build/components/PromoBanner/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/Timeline/style.css +2 -0
- package/build/components/Timeline/style.css.map +1 -0
- package/build/components/Tooltip/style.css +1 -1
- package/build/components/Tooltip/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 +30 -2
- package/build/components/types/src/components/FeatureAccordion/FeatureAccordion.d.ts +3 -0
- package/build/components/types/src/components/FeatureAccordion/FeatureAccordion.static.d.ts +0 -3
- package/build/components/types/src/components/FeatureAccordion/FeatureAccordionItem.d.ts +2 -1
- package/build/components/types/src/components/Timeline/Timeline.d.ts +13 -0
- package/build/components/types/src/components/Timeline/index.d.ts +2 -0
- package/build/components/types/src/components/index.d.ts +2 -1
- package/build/images/card-device-example.png +0 -0
- 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/footer.js +1 -1
- package/build/lib/footer.js.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/search-index.json +10 -6
- package/build/sprite.svg +1 -1
- package/package.json +21 -21
- package/src/assets/icons/pictogram-communication--dark.svg +4 -0
- package/src/assets/icons/pictogram-communication.svg +4 -0
- package/src/assets/icons/pictogram-coverage--dark.svg +5 -0
- package/src/assets/icons/pictogram-coverage.svg +5 -0
- package/src/assets/icons/pictogram-credit--dark.svg +7 -0
- package/src/assets/icons/pictogram-credit.svg +6 -0
- package/src/assets/icons/pictogram-disney--dark.svg +5 -14
- package/src/assets/icons/pictogram-disney.svg +5 -9
- package/src/assets/icons/pictogram-modem--dark.svg +9 -0
- package/src/assets/icons/pictogram-modem.svg +9 -0
- package/src/assets/icons/pictogram-speed--dark.svg +7 -0
- package/src/assets/icons/pictogram-speed.svg +7 -0
- package/src/assets/icons/pictogram-sunset--dark.svg +10 -0
- package/src/assets/icons/pictogram-sunset.svg +10 -0
- package/src/assets/icons/pictogram-tariffs--dark.svg +4 -8
- package/src/assets/icons/pictogram-tariffs.svg +4 -8
- package/src/assets/icons/pictogram-wallet--dark.svg +6 -0
- package/src/assets/icons/pictogram-wallet.svg +6 -0
- package/src/components/Accordion/styles/mixins.scss +2 -4
- package/src/components/BlockAction/styles/mixins.scss +1 -1
- package/src/components/BlockAction/styles/style.scss +1 -1
- package/src/components/BlockAction/tests/BlockAction.styles.unit.test.jsx +18 -0
- package/src/components/Card/styles/mixins.scss +4 -0
- package/src/components/Card/styles/style.scss +1 -0
- package/src/components/Carousel/Carousel.tsx +6 -3
- package/src/components/CarouselHero/styles/mixins.scss +1 -3
- package/src/components/CarouselPromotions/styles/mixins.scss +2 -2
- package/src/components/Cover/styles/mixins.scss +2 -0
- package/src/components/FeatureAccordion/FeatureAccordion.static.ts +3 -71
- package/src/components/FeatureAccordion/FeatureAccordion.tsx +23 -59
- package/src/components/FeatureAccordion/FeatureAccordionItem.tsx +9 -14
- package/src/components/FeatureAccordion/styles/mixins.scss +67 -23
- package/src/components/FeatureAccordion/tests/FeatureAccordion.unit.test.jsx +9 -0
- package/src/components/Forms/File/styles/style.scss +1 -1
- package/src/components/Forms/styles/mixins.scss +1 -1
- package/src/components/Icon/styles/mixins.scss +4 -4
- package/src/components/IconList/styles/mixins.scss +2 -1
- package/src/components/Link/styles/style.scss +4 -1
- package/src/components/PromoBanner/styles/mixins.scss +2 -0
- package/src/components/Tile/styles/mixins.scss +25 -7
- package/src/components/Tile/styles/style.scss +5 -1
- package/src/components/Timeline/Timeline.tsx +60 -0
- package/src/components/Timeline/index.ts +2 -0
- package/src/components/Timeline/styles/config.scss +25 -0
- package/src/components/Timeline/styles/mixins.scss +102 -0
- package/src/components/Timeline/styles/style.scss +60 -0
- package/src/components/Timeline/tests/Timeline.conformance.test.jsx +29 -0
- package/src/components/Timeline/tests/Timeline.unit.test.jsx +89 -0
- package/src/components/index.ts +2 -0
- package/src/styles/tokens/base.scss +0 -16
- package/src/styles/typography/mixins.scss +13 -2
package/src/components/index.ts
CHANGED
|
@@ -92,6 +92,7 @@ import { Tab, TabPanel, Tabs } from "./Tabs";
|
|
|
92
92
|
import { Tag, TagButton } from "./Tag";
|
|
93
93
|
import { Testimonial } from "./Testimonial";
|
|
94
94
|
import { Tile } from "./Tile";
|
|
95
|
+
import { Timeline } from "./Timeline";
|
|
95
96
|
import { InfoTooltip, Tooltip } from "./Tooltip";
|
|
96
97
|
|
|
97
98
|
export {
|
|
@@ -196,5 +197,6 @@ export {
|
|
|
196
197
|
TextArea,
|
|
197
198
|
TextInput,
|
|
198
199
|
Tile,
|
|
200
|
+
Timeline,
|
|
199
201
|
Tooltip,
|
|
200
202
|
};
|
|
@@ -19,11 +19,6 @@ $focus-shadow:
|
|
|
19
19
|
$selection-background: sasscolor.adjust(color.$orange-dark, $alpha: -0.1);
|
|
20
20
|
|
|
21
21
|
@mixin focusring {
|
|
22
|
-
&:focus {
|
|
23
|
-
outline: $focus-outline;
|
|
24
|
-
outline-offset: $focusring-offset;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
22
|
&:focus-visible {
|
|
28
23
|
outline: $focus-outline;
|
|
29
24
|
outline-offset: $focusring-offset;
|
|
@@ -36,11 +31,6 @@ $selection-background: sasscolor.adjust(color.$orange-dark, $alpha: -0.1);
|
|
|
36
31
|
}
|
|
37
32
|
|
|
38
33
|
@mixin focusring-flush {
|
|
39
|
-
&:focus {
|
|
40
|
-
outline: $focus-outline;
|
|
41
|
-
outline-offset: 0 !important;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
34
|
&:focus-visible {
|
|
45
35
|
outline: $focus-outline;
|
|
46
36
|
outline-offset: 0 !important;
|
|
@@ -55,12 +45,6 @@ $selection-background: sasscolor.adjust(color.$orange-dark, $alpha: -0.1);
|
|
|
55
45
|
@mixin focusring-round {
|
|
56
46
|
border-radius: 100%;
|
|
57
47
|
|
|
58
|
-
&:focus {
|
|
59
|
-
outline-width: 0 !important;
|
|
60
|
-
outline-color: transparent !important;
|
|
61
|
-
box-shadow: $focus-shadow;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
48
|
&:focus-visible {
|
|
65
49
|
outline-width: 0 !important;
|
|
66
50
|
outline-color: transparent !important;
|
|
@@ -50,7 +50,16 @@
|
|
|
50
50
|
// Default štýly pre všetky p elementy
|
|
51
51
|
@include generate.responsive-css-map(map.get($config, "default"));
|
|
52
52
|
|
|
53
|
-
a {
|
|
53
|
+
a:not(.no-underline):not(.underline-hover) {
|
|
54
|
+
text-decoration: underline !important;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
a.no-underline,
|
|
58
|
+
a.underline-hover {
|
|
59
|
+
text-decoration: none !important;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
a.underline-hover:hover {
|
|
54
63
|
text-decoration: underline !important;
|
|
55
64
|
}
|
|
56
65
|
}
|
|
@@ -120,9 +129,11 @@
|
|
|
120
129
|
}
|
|
121
130
|
|
|
122
131
|
@mixin list-spacing($space, $config: config.$list-spacing) {
|
|
123
|
-
> *:where(li) {
|
|
132
|
+
> *:where(li):not(:last-child) {
|
|
124
133
|
margin-bottom: map.get($config, $space);
|
|
134
|
+
}
|
|
125
135
|
|
|
136
|
+
> *:where(li) {
|
|
126
137
|
> *:where(ul, ol) {
|
|
127
138
|
margin-top: map.get($config, $space);
|
|
128
139
|
}
|