@orangesk/orange-design-system 3.6.2 → 3.8.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/Alert/style.css +1 -1
- package/build/components/Alert/style.css.map +1 -1
- package/build/components/Bar/style.css +1 -1
- package/build/components/Bar/style.css.map +1 -1
- package/build/components/Drawer/style.css +2 -0
- package/build/components/Drawer/style.css.map +1 -0
- package/build/components/Grid/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/StatusIndicator/style.css +2 -0
- package/build/components/StatusIndicator/style.css.map +1 -0
- package/build/components/Table/style.css +1 -1
- package/build/components/Table/style.css.map +1 -1
- package/build/components/index.js +1 -1
- package/build/components/index.js.map +1 -1
- package/build/components/types/index.d.ts +89 -3
- 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.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/lib/utilities.css +1 -1
- package/build/lib/utilities.css.map +1 -1
- package/package.json +29 -29
- package/src/components/Alert/Alert.tsx +2 -2
- package/src/components/Alert/data.ts +8 -5
- package/src/components/Alert/styles/config.scss +4 -4
- package/src/components/Alert/styles/mixins.scss +8 -1
- package/src/components/Alert/tests/Alert.test.jsx +11 -1
- package/src/components/Bar/Bar.tsx +1 -1
- package/src/components/Bar/styles/config.scss +1 -0
- package/src/components/Bar/tests/Bar.unit.test.jsx +1 -1
- package/src/components/Carousel/Carousel.static.ts +103 -12
- package/src/components/Carousel/tests/Carousel.static.test.jsx +134 -0
- package/src/components/DocumentationSidebar/DocumentationSidebar.tsx +12 -4
- package/src/components/Drawer/Drawer.static.ts +281 -0
- package/src/components/Drawer/Drawer.tsx +82 -0
- package/src/components/Drawer/DrawerBody.tsx +21 -0
- package/src/components/Drawer/DrawerFooter.tsx +21 -0
- package/src/components/Drawer/DrawerHeader.tsx +21 -0
- package/src/components/Drawer/index.ts +5 -0
- package/src/components/Drawer/styles/config.scss +17 -0
- package/src/components/Drawer/styles/mixins.scss +119 -0
- package/src/components/Drawer/styles/style.scss +71 -0
- package/src/components/Drawer/tests/Drawer.unit.test.jsx +149 -0
- package/src/components/Footer/data.ts +4 -0
- package/src/components/Forms/SegmentedControl/SegmentedControl.tsx +122 -0
- package/src/components/Forms/SegmentedControl/index.ts +5 -0
- package/src/components/Forms/SegmentedControl/styles/mixins.scss +52 -0
- package/src/components/Forms/SegmentedControl/styles/style.scss +35 -0
- package/src/components/Forms/SegmentedControl/tests/SegmentedControl.conformance.test.jsx +36 -0
- package/src/components/Forms/SegmentedControl/tests/SegmentedControl.unit.test.jsx +125 -0
- package/src/components/Forms/SelectionTile/PLAN.md +206 -0
- package/src/components/Forms/SelectionTile/SelectionTile.tsx +145 -0
- package/src/components/Forms/SelectionTile/index.ts +5 -0
- package/src/components/Forms/SelectionTile/styles/mixins.scss +83 -0
- package/src/components/Forms/SelectionTile/styles/style.scss +58 -0
- package/src/components/Forms/SelectionTile/tests/SelectionTile.conformance.test.jsx +32 -0
- package/src/components/Forms/SelectionTile/tests/SelectionTile.unit.test.jsx +146 -0
- package/src/components/Forms/index.ts +2 -0
- package/src/components/Icon/index.ts +1 -0
- package/src/components/Megamenu/Megamenu.tsx +20 -16
- package/src/components/Megamenu/MegamenuBlog.tsx +10 -7
- package/src/components/Megamenu/MyOrangeMobilePanel.tsx +2 -3
- package/src/components/Megamenu/constants.ts +3 -1
- package/src/components/Megamenu/styles/mixins.scss +53 -18
- package/src/components/Megamenu/styles/style.scss +12 -4
- package/src/components/Megamenu/tests/Megamenu.unit.test.jsx +32 -0
- package/src/components/Modal/styles/config.scss +3 -2
- package/src/components/StatusIndicator/StatusIndicator.tsx +29 -0
- package/src/components/StatusIndicator/index.ts +2 -0
- package/src/components/StatusIndicator/styles/config.scss +12 -0
- package/src/components/StatusIndicator/styles/mixins.scss +36 -0
- package/src/components/StatusIndicator/styles/style.scss +16 -0
- package/src/components/StatusIndicator/tests/StatusIndicator.conformance.test.jsx +22 -0
- package/src/components/StatusIndicator/tests/StatusIndicator.unit.test.jsx +70 -0
- package/src/components/Table/Table.static.ts +23 -10
- package/src/components/Table/Table.tsx +7 -2
- package/src/components/Table/styles/mixins.scss +59 -0
- package/src/components/Table/styles/style.scss +25 -0
- package/src/components/Table/tests/Table.static.unit.test.jsx +72 -0
- package/src/components/Table/tests/Table.unit.test.jsx +33 -0
- package/src/components/index.ts +13 -0
- package/src/styles/tokens/overlay.scss +3 -0
- package/src/styles/typography/style.scss +0 -13
- package/src/styles/utilities/border.scss +4 -0
- package/src/styles/utilities/border.styles.unit.test.jsx +9 -0
- package/src/styles/utilities/text.scss +12 -0
- package/src/components/Carousel/CHANGELOG.md +0 -11
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
@use "../tools/generate";
|
|
2
2
|
@use "config" as *;
|
|
3
3
|
@use "mixins" as *;
|
|
4
|
-
@use "sass:map" as sass-map;
|
|
5
4
|
|
|
6
5
|
// Headings pre elementy h1, h2, h3 atď.
|
|
7
6
|
@include headings-base($headings, "h$", $heading-base);
|
|
@@ -16,18 +15,6 @@
|
|
|
16
15
|
@include body-text($body-text);
|
|
17
16
|
@include readability();
|
|
18
17
|
|
|
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
|
-
|
|
31
18
|
ol,
|
|
32
19
|
ul {
|
|
33
20
|
@include list-base();
|
|
@@ -67,6 +67,18 @@
|
|
|
67
67
|
);
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
+
.caption {
|
|
71
|
+
@include generate.css-map(map.get(typographyConfig.$caption, "default"));
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.caption--small {
|
|
75
|
+
@include generate.css-map(map.get(typographyConfig.$caption, "small"));
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.caption--large {
|
|
79
|
+
@include generate.css-map(map.get(typographyConfig.$caption, "large"));
|
|
80
|
+
}
|
|
81
|
+
|
|
70
82
|
.text-nowrap {
|
|
71
83
|
white-space: nowrap !important;
|
|
72
84
|
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
- **BREAKING**: Migrated `Carousel` component from Glider.js to Swiper.js library
|
|
2
|
-
- Replaced `@lighting-beetle/glider-js` dependency with `swiper`
|
|
3
|
-
- Updated `CarouselConfig` interface to extend `SwiperOptions` instead of Glider config
|
|
4
|
-
- Changed initialization from `new Glider()` to `new Swiper()` with required modules (Navigation, Pagination, Scrollbar, A11y)
|
|
5
|
-
- Updated prop name from `gliderOptions` to `swiperOptions` in React component
|
|
6
|
-
- Enhanced keyboard navigation support for pagination buttons (Arrow keys, Home/End, Tab navigation)
|
|
7
|
-
- Added tooltip position updates on slide changes for better tooltip integration
|
|
8
|
-
- Improved accessibility with proper ARIA attributes and Slovak language messages
|
|
9
|
-
- Updated slide classes from glider-specific to swiper-specific (`swiper-slide`, `swiper-wrapper`)
|
|
10
|
-
- Modified breakpoint configuration format to match Swiper's API
|
|
11
|
-
- Added automatic element detection and configuration for navigation, pagination, and scrollbar
|