@orangesk/orange-design-system 2.0.0-beta.16 → 2.0.0-beta.18

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.
Files changed (174) hide show
  1. package/build/components/Accordion/style.css +2 -0
  2. package/build/components/Accordion/style.css.map +1 -0
  3. package/build/components/Alert/style.css +2 -0
  4. package/build/components/Alert/style.css.map +1 -0
  5. package/build/components/AnchorNavigation/style.css +2 -0
  6. package/build/components/AnchorNavigation/style.css.map +1 -0
  7. package/build/components/Bar/style.css +2 -0
  8. package/build/components/Bar/style.css.map +1 -0
  9. package/build/components/BlockAction/style.css +2 -0
  10. package/build/components/BlockAction/style.css.map +1 -0
  11. package/build/components/BodyBanner/style.css +2 -0
  12. package/build/components/BodyBanner/style.css.map +1 -0
  13. package/build/components/Breadcrumbs/style.css +2 -0
  14. package/build/components/Breadcrumbs/style.css.map +1 -0
  15. package/build/components/Button/style.css +2 -0
  16. package/build/components/Button/style.css.map +1 -0
  17. package/build/components/Buttons/style.css +2 -0
  18. package/build/components/Buttons/style.css.map +1 -0
  19. package/build/components/Card/style.css +2 -0
  20. package/build/components/Card/style.css.map +1 -0
  21. package/build/components/Carousel/style.css +2 -0
  22. package/build/components/Carousel/style.css.map +1 -0
  23. package/build/components/CarouselHero/style.css +2 -0
  24. package/build/components/CarouselHero/style.css.map +1 -0
  25. package/build/components/CarouselPromotions/style.css +2 -0
  26. package/build/components/CarouselPromotions/style.css.map +1 -0
  27. package/build/components/CartTable/style.css +2 -0
  28. package/build/components/CartTable/style.css.map +1 -0
  29. package/build/components/Code/style.css +2 -0
  30. package/build/components/Code/style.css.map +1 -0
  31. package/build/components/Container/style.css +2 -0
  32. package/build/components/Container/style.css.map +1 -0
  33. package/build/components/Controls/style.css +2 -0
  34. package/build/components/Controls/style.css.map +1 -0
  35. package/build/components/Cover/style.css +2 -0
  36. package/build/components/Cover/style.css.map +1 -0
  37. package/build/components/Divider/style.css +2 -0
  38. package/build/components/Divider/style.css.map +1 -0
  39. package/build/components/DocumentationSidebar/style.css +2 -0
  40. package/build/components/DocumentationSidebar/style.css.map +1 -0
  41. package/build/components/Dropdown/style.css +2 -0
  42. package/build/components/Dropdown/style.css.map +1 -0
  43. package/build/components/Expander/style.css +2 -0
  44. package/build/components/Expander/style.css.map +1 -0
  45. package/build/components/FeatureAccordion/style.css +2 -0
  46. package/build/components/FeatureAccordion/style.css.map +1 -0
  47. package/build/components/Footer/style.css +2 -0
  48. package/build/components/Footer/style.css.map +1 -0
  49. package/build/components/Gauge/style.css +2 -0
  50. package/build/components/Gauge/style.css.map +1 -0
  51. package/build/components/Grid/style.css +2 -0
  52. package/build/components/Grid/style.css.map +1 -0
  53. package/build/components/Hero/style.css +2 -0
  54. package/build/components/Hero/style.css.map +1 -0
  55. package/build/components/Icon/style.css +2 -0
  56. package/build/components/Icon/style.css.map +1 -0
  57. package/build/components/IconList/style.css +2 -0
  58. package/build/components/IconList/style.css.map +1 -0
  59. package/build/components/Image/style.css +2 -0
  60. package/build/components/Image/style.css.map +1 -0
  61. package/build/components/Link/style.css +2 -0
  62. package/build/components/Link/style.css.map +1 -0
  63. package/build/components/List/style.css +2 -0
  64. package/build/components/List/style.css.map +1 -0
  65. package/build/components/Loader/style.css +2 -0
  66. package/build/components/Loader/style.css.map +1 -0
  67. package/build/components/Megamenu/style.css +2 -0
  68. package/build/components/Megamenu/style.css.map +1 -0
  69. package/build/components/Modal/style.css +2 -0
  70. package/build/components/Modal/style.css.map +1 -0
  71. package/build/components/Pagination/style.css +2 -0
  72. package/build/components/Pagination/style.css.map +1 -0
  73. package/build/components/Pill/style.css +2 -0
  74. package/build/components/Pill/style.css.map +1 -0
  75. package/build/components/Preview/style.css +2 -0
  76. package/build/components/Preview/style.css.map +1 -0
  77. package/build/components/Progress/style.css +2 -0
  78. package/build/components/Progress/style.css.map +1 -0
  79. package/build/components/PromoBanner/style.css +2 -0
  80. package/build/components/PromoBanner/style.css.map +1 -0
  81. package/build/components/PromotionCard/style.css +2 -0
  82. package/build/components/PromotionCard/style.css.map +1 -0
  83. package/build/components/Section/style.css +2 -0
  84. package/build/components/Section/style.css.map +1 -0
  85. package/build/components/Skeleton/style.css +2 -0
  86. package/build/components/Skeleton/style.css.map +1 -0
  87. package/build/components/SkipLink/style.css +2 -0
  88. package/build/components/SkipLink/style.css.map +1 -0
  89. package/build/components/Stepbar/style.css +2 -0
  90. package/build/components/Stepbar/style.css.map +1 -0
  91. package/build/components/Sticker/style.css +2 -0
  92. package/build/components/Sticker/style.css.map +1 -0
  93. package/build/components/Table/style.css +2 -0
  94. package/build/components/Table/style.css.map +1 -0
  95. package/build/components/Tabs/style.css +2 -0
  96. package/build/components/Tabs/style.css.map +1 -0
  97. package/build/components/Tag/style.css +2 -0
  98. package/build/components/Tag/style.css.map +1 -0
  99. package/build/components/Testimonial/style.css +2 -0
  100. package/build/components/Testimonial/style.css.map +1 -0
  101. package/build/components/Tile/style.css +2 -0
  102. package/build/components/Tile/style.css.map +1 -0
  103. package/build/components/Tooltip/style.css +2 -0
  104. package/build/components/Tooltip/style.css.map +1 -0
  105. package/build/components/index.js +2 -2
  106. package/build/components/index.js.map +1 -1
  107. package/build/components/tsconfig.tsbuildinfo +1 -1
  108. package/build/components/types/index.d.ts +4 -2
  109. package/build/components/types/src/components/DocumentationSidebar/DocumentationSidebar.d.ts +1 -0
  110. package/build/components/types/src/components/Grid/Grid.d.ts +1 -1
  111. package/build/components/types/src/components/Link/Link.d.ts +1 -1
  112. package/build/components/types/src/components/Megamenu/Megamenu.d.ts +6 -1
  113. package/build/components/types/src/components/Megamenu/MegamenuBlog.d.ts +2 -1
  114. package/build/components/types/src/components/Megamenu/constants.d.ts +2 -0
  115. package/build/components/types/src/components/Modal/ModalProductHeader.d.ts +2 -0
  116. package/build/lib/base.css +3 -0
  117. package/build/lib/base.css.map +1 -0
  118. package/build/lib/components.css +1 -1
  119. package/build/lib/components.css.map +1 -1
  120. package/build/lib/megamenu.css +1 -1
  121. package/build/lib/megamenu.css.map +1 -1
  122. package/build/lib/megamenu.js.map +1 -1
  123. package/build/lib/style.css +1 -1
  124. package/build/lib/style.css.map +1 -1
  125. package/build/lib/tsconfig.tsbuildinfo +1 -1
  126. package/build/lib/utilities.css +2 -0
  127. package/build/lib/utilities.css.map +1 -0
  128. package/package.json +9 -7
  129. package/src/components/Code/styles/style.scss +6 -5
  130. package/src/components/DocumentationSidebar/DocumentationSidebar.tsx +188 -2
  131. package/src/components/DocumentationSidebar/styles/style.scss +73 -0
  132. package/src/components/FeatureAccordion/tests/FeatureAccordion.conformance.test.js +1 -0
  133. package/src/components/Forms/Field/tests/Autocomplete.Field.conformance.test.js +1 -1
  134. package/src/components/Forms/Field/tests/Checkbox.Field.conformance.test.js +1 -0
  135. package/src/components/Forms/Field/tests/File.Field.conformance.test.js +1 -0
  136. package/src/components/Forms/Field/tests/Group.Field.conformance.test.js +1 -0
  137. package/src/components/Forms/Field/tests/Radio.Field.conformance.test.js +1 -0
  138. package/src/components/Forms/Field/tests/Rangeslider.Field.test.js +1 -0
  139. package/src/components/Forms/Field/tests/Select.Field.conformance.test.js +1 -0
  140. package/src/components/Forms/Field/tests/Text.Field.conformance.test.js +1 -0
  141. package/src/components/Forms/Field/tests/Textarea.Field.conformance.test.js +1 -0
  142. package/src/components/Grid/Grid.tsx +1 -1
  143. package/src/components/Grid/styles/config.scss +5 -3
  144. package/src/components/Grid/styles/mixins.scss +29 -19
  145. package/src/components/Grid/tests/Grid.unit.test.js +11 -0
  146. package/src/components/Link/Link.tsx +2 -2
  147. package/src/components/Link/styles/mixins.scss +1 -1
  148. package/src/components/Link/styles/style.scss +0 -7
  149. package/src/components/Megamenu/Megamenu.tsx +81 -23
  150. package/src/components/Megamenu/MegamenuBlog.tsx +38 -21
  151. package/src/components/Megamenu/constants.ts +2 -0
  152. package/src/components/Megamenu/styles/mixins.scss +19 -1
  153. package/src/components/Megamenu/styles/style.scss +2 -0
  154. package/src/components/Modal/ModalProductHeader.tsx +6 -2
  155. package/src/components/Modal/tests/ModalProductHeader.unit.test.js +12 -0
  156. package/src/components/PromoBanner/PromoBanner.tsx +1 -1
  157. package/src/components/PromoBanner/styles/mixins.scss +5 -0
  158. package/src/components/Table/tests/Table.conformance.test.js +5 -1
  159. package/src/components/Tooltip/tests/Tooltip.conformance.test.js +5 -1
  160. package/src/styles/base/globals.scss +1 -37
  161. package/src/styles/base/styleguide.scss +1 -0
  162. package/src/styles/export/color.js +3 -3
  163. package/src/styles/tokens/color-vars.scss +39 -0
  164. package/src/styles/tokens/color.scss +4 -4
  165. package/src/styles/typography/mixins.scss +4 -5
  166. package/src/styles/utilities/text.scss +17 -0
  167. package/build/lib/after-components.css +0 -2
  168. package/build/lib/after-components.css.map +0 -1
  169. package/build/lib/before-components.css +0 -3
  170. package/build/lib/before-components.css.map +0 -1
  171. package/src/styles/after-components.scss +0 -2
  172. package/src/styles/before-components.scss +0 -18
  173. /package/build/lib/{after-components.js → base.js} +0 -0
  174. /package/build/lib/{before-components.js → utilities.js} +0 -0
@@ -42,9 +42,33 @@ import {
42
42
  CLASS_NAV_SPACE_SMALL,
43
43
  CLASS_NAV_CART_ICON,
44
44
  CLASS_SPACER,
45
+ CLASS_TAG,
46
+ CLASS_TAG_ORANGE,
47
+ CLASS_TAG_SMALL,
48
+ CLASS_LIST_INLINE,
45
49
  } from "./constants";
46
50
 
47
- export const Megamenu = ({ className }: any) => {
51
+ export const list = [
52
+ "Dobitie kreditu",
53
+ "Nedostupnosť služieb",
54
+ "Faktúry",
55
+ "Zdieľanie dát",
56
+ "Prečerpané dáta",
57
+ "Elektronická faktúra",
58
+ "Prvá pomoc internet",
59
+ "Nastavenie zariadení a sim kariet",
60
+ "Pevny internet do domacnosti",
61
+ "Dátový roaming",
62
+ "Nákup online",
63
+ "Telemarketing",
64
+ ];
65
+
66
+ export type MegamenuProps = {
67
+ className?: string;
68
+ searchEmpty?: boolean;
69
+ };
70
+
71
+ export const Megamenu = ({ className, searchEmpty }: MegamenuProps) => {
48
72
  return (
49
73
  <header>
50
74
  <nav
@@ -188,7 +212,16 @@ export const Megamenu = ({ className }: any) => {
188
212
  <a href="#">Chcem nové číslo</a>
189
213
  </li>
190
214
  <li className={CLASS_SUBNAV_ITEM}>
191
- <a href="#">Yoxo paušál</a>
215
+ <a href="#">Yoxo paušál</a>{" "}
216
+ <span
217
+ className={cx(
218
+ CLASS_TAG,
219
+ CLASS_TAG_ORANGE,
220
+ CLASS_TAG_SMALL,
221
+ )}
222
+ >
223
+ Novinka
224
+ </span>
192
225
  </li>
193
226
  </ul>
194
227
 
@@ -365,27 +398,43 @@ export const Megamenu = ({ className }: any) => {
365
398
  type="text"
366
399
  placeholder="Search"
367
400
  name="search-1"
401
+ defaultValue={searchEmpty ? "" : "apple"}
368
402
  />
369
- <ul className={CLASS_SUBNAV}>
370
- <li className={CLASS_SUBNAV_ITEM}>
371
- <a href="#">apple</a>
372
- </li>
373
- <li className={CLASS_SUBNAV_ITEM}>
374
- <a href="#">apple hodinky</a>
375
- </li>
376
- <li className={CLASS_SUBNAV_ITEM}>
377
- <a href="#">apple iphone</a>
378
- </li>
379
- <li className={CLASS_SUBNAV_ITEM}>
380
- <a href="#">apple 16</a>
381
- </li>
382
- <li className={CLASS_SUBNAV_ITEM}>
383
- <a href="#">apple pro</a>
384
- </li>
385
- <li className={CLASS_SUBNAV_ITEM}>
386
- <a href="#">apple watch</a>
387
- </li>
388
- </ul>
403
+ {searchEmpty ? (
404
+ <>
405
+ <p>Najhľadanejši výrazy</p>
406
+ <ul className={CLASS_LIST_INLINE}>
407
+ {list.map((item) => (
408
+ <li key={item}>
409
+ <a href="/" className={cx(CLASS_TAG)}>
410
+ {item}
411
+ </a>
412
+ </li>
413
+ ))}
414
+ </ul>
415
+ </>
416
+ ) : (
417
+ <ul className={CLASS_SUBNAV}>
418
+ <li className={CLASS_SUBNAV_ITEM}>
419
+ <a href="#">apple</a>
420
+ </li>
421
+ <li className={CLASS_SUBNAV_ITEM}>
422
+ <a href="#">apple hodinky</a>
423
+ </li>
424
+ <li className={CLASS_SUBNAV_ITEM}>
425
+ <a href="#">apple iphone</a>
426
+ </li>
427
+ <li className={CLASS_SUBNAV_ITEM}>
428
+ <a href="#">apple 16</a>
429
+ </li>
430
+ <li className={CLASS_SUBNAV_ITEM}>
431
+ <a href="#">apple pro</a>
432
+ </li>
433
+ <li className={CLASS_SUBNAV_ITEM}>
434
+ <a href="#">apple watch</a>
435
+ </li>
436
+ </ul>
437
+ )}
389
438
  </div>
390
439
  </div>
391
440
  </li>
@@ -647,7 +696,16 @@ export const Megamenu = ({ className }: any) => {
647
696
  aria-labelledby="mobile-internet-tv-heading"
648
697
  >
649
698
  <li className={CLASS_SUBNAV_ITEM}>
650
- <a href="#">Ponuka Love</a>
699
+ <a href="#">Ponuka Love</a>{" "}
700
+ <span
701
+ className={cx(
702
+ CLASS_TAG,
703
+ CLASS_TAG_ORANGE,
704
+ CLASS_TAG_SMALL,
705
+ )}
706
+ >
707
+ Novinka
708
+ </span>
651
709
  </li>
652
710
  <li className={CLASS_SUBNAV_ITEM}>
653
711
  <a href="#">Výhodný pár zariadení</a>
@@ -33,9 +33,12 @@ import {
33
33
  CLASS_ACCORDION_ITEM,
34
34
  CLASS_ACCORDION_TITLE,
35
35
  CLASS_SPACER_SMALL,
36
+ CLASS_LIST_INLINE,
37
+ CLASS_TAG,
36
38
  } from "./constants";
39
+ import { list, MegamenuProps } from "./Megamenu";
37
40
 
38
- export const MegamenuBlog = ({ className }: any) => {
41
+ export const MegamenuBlog = ({ className, searchEmpty }: MegamenuProps) => {
39
42
  return (
40
43
  <header>
41
44
  <nav
@@ -113,27 +116,41 @@ export const MegamenuBlog = ({ className }: any) => {
113
116
  type="text"
114
117
  placeholder="Search"
115
118
  name="search-1"
119
+ defaultValue={searchEmpty ? "" : "apple"}
116
120
  />
117
- <ul className={CLASS_SUBNAV}>
118
- <li className={CLASS_SUBNAV_ITEM}>
119
- <a href="#">apple</a>
120
- </li>
121
- <li className={CLASS_SUBNAV_ITEM}>
122
- <a href="#">apple hodinky</a>
123
- </li>
124
- <li className={CLASS_SUBNAV_ITEM}>
125
- <a href="#">apple iphone</a>
126
- </li>
127
- <li className={CLASS_SUBNAV_ITEM}>
128
- <a href="#">apple 16</a>
129
- </li>
130
- <li className={CLASS_SUBNAV_ITEM}>
131
- <a href="#">apple pro</a>
132
- </li>
133
- <li className={CLASS_SUBNAV_ITEM}>
134
- <a href="#">apple watch</a>
135
- </li>
136
- </ul>
121
+ {searchEmpty ? (
122
+ <>
123
+ <p>Najhľadanejši výrazy</p>
124
+ <ul className={CLASS_LIST_INLINE}>
125
+ {list.map((item) => (
126
+ <a key={item}>
127
+ <span className={cx(CLASS_TAG)}>{item}</span>
128
+ </a>
129
+ ))}
130
+ </ul>
131
+ </>
132
+ ) : (
133
+ <ul className={CLASS_SUBNAV}>
134
+ <li className={CLASS_SUBNAV_ITEM}>
135
+ <a href="#">apple</a>
136
+ </li>
137
+ <li className={CLASS_SUBNAV_ITEM}>
138
+ <a href="#">apple hodinky</a>
139
+ </li>
140
+ <li className={CLASS_SUBNAV_ITEM}>
141
+ <a href="#">apple iphone</a>
142
+ </li>
143
+ <li className={CLASS_SUBNAV_ITEM}>
144
+ <a href="#">apple 16</a>
145
+ </li>
146
+ <li className={CLASS_SUBNAV_ITEM}>
147
+ <a href="#">apple pro</a>
148
+ </li>
149
+ <li className={CLASS_SUBNAV_ITEM}>
150
+ <a href="#">apple watch</a>
151
+ </li>
152
+ </ul>
153
+ )}
137
154
  </div>
138
155
  </div>
139
156
  </li>
@@ -49,6 +49,8 @@ export const CLASS_INPUT = `${CLASS_ROOT}__input`;
49
49
  export const CLASS_INPUT_SEARCH_ICON_WITH_PLACEHOLDER = `${CLASS_ROOT}__input--search-icon-with-placeholder`;
50
50
 
51
51
  export const CLASS_TAG = `${CLASS_ROOT}__tag`;
52
+ export const CLASS_TAG_ORANGE = `${CLASS_ROOT}__tag--orange`;
53
+ export const CLASS_TAG_SMALL = `${CLASS_ROOT}__tag--small`;
52
54
  export const CLASS_TAG_TRANSPARENT = `${CLASS_ROOT}__tag--transparent`;
53
55
  export const CLASS_TAG_LARGE = `${CLASS_ROOT}__tag--large`;
54
56
 
@@ -206,7 +206,7 @@
206
206
  left: 0;
207
207
  width: 100%;
208
208
  background-color: var(--color-surface-primary);
209
- padding: convert.to-rem(20px) 0;
209
+ padding: convert.to-rem(60px) 0 convert.to-rem(60px) 0;
210
210
  display: none;
211
211
  opacity: 0;
212
212
  z-index: 15;
@@ -353,6 +353,8 @@
353
353
  }
354
354
 
355
355
  @mixin subnav-item {
356
+ display: flex;
357
+ gap: convert.to-rem(10px);
356
358
  margin-bottom: convert.to-rem(10px) !important;
357
359
 
358
360
  &:last-child {
@@ -705,6 +707,22 @@
705
707
  @include tag.color($variant);
706
708
  }
707
709
  }
710
+
711
+ // Interactive styles for button and anchor tags
712
+ &:not(&--transparent):where(button) {
713
+ @include tag.button();
714
+ z-index: 2;
715
+ }
716
+
717
+ &:not(&--transparent):where(a) {
718
+ @include tag.button();
719
+ z-index: 2;
720
+ text-decoration: none !important;
721
+ }
722
+
723
+ &:not(&--transparent) {
724
+ @include tag.buttton-disabled();
725
+ }
708
726
  }
709
727
 
710
728
  @mixin tag-transparent {
@@ -11,10 +11,12 @@
11
11
  }
12
12
 
13
13
  #{config.$class-root},
14
+ .is-light #{config.$class-root},
14
15
  #{config.$class-root}.is-light {
15
16
  @include mixins.light-vars;
16
17
  }
17
18
 
19
+ .is-dark #{config.$class-root},
18
20
  #{config.$class-root}.is-dark {
19
21
  @include mixins.dark-vars;
20
22
  }
@@ -5,6 +5,8 @@ interface ModalProductHeaderProps extends React.HTMLAttributes<HTMLDivElement> {
5
5
  image?: React.ReactNode;
6
6
  /** Use small spacing */
7
7
  space?: "small";
8
+ /** Optional id for accessibility (e.g., for aria-labelledby) */
9
+ titleId?: string;
8
10
  }
9
11
 
10
12
  export const CLASS_ROOT = "modal__product";
@@ -12,7 +14,7 @@ export const CLASS_ROOT = "modal__product";
12
14
  const ModalProductHeader = React.forwardRef<
13
15
  HTMLDivElement,
14
16
  ModalProductHeaderProps
15
- >(({ className, children, image, space, ...other }, ref) => {
17
+ >(({ className, children, image, space, titleId, ...other }, ref) => {
16
18
  const classes = cx(
17
19
  `${CLASS_ROOT}-header`,
18
20
  {
@@ -25,7 +27,9 @@ const ModalProductHeader = React.forwardRef<
25
27
 
26
28
  return (
27
29
  <div className={classes} ref={ref} {...other}>
28
- <div className={contentClasses}>{children}</div>
30
+ <div className={contentClasses} id={titleId}>
31
+ {children}
32
+ </div>
29
33
  {image}
30
34
  </div>
31
35
  );
@@ -70,4 +70,16 @@ describe("rendering ModalProductHeader", () => {
70
70
  container.querySelector(".modal__product-content"),
71
71
  ).toHaveTextContent("Product Header");
72
72
  });
73
+
74
+ it("has titleId attribute when titleId prop is provided", () => {
75
+ const { container } = render(
76
+ <ModalProductHeader titleId="test-title-id">
77
+ Product Header
78
+ </ModalProductHeader>,
79
+ );
80
+ expect(container.querySelector(".modal__product-content")).toHaveAttribute(
81
+ "id",
82
+ "test-title-id",
83
+ );
84
+ });
73
85
  });
@@ -39,7 +39,7 @@ export const PromoBanner = ({
39
39
  className,
40
40
  );
41
41
  return (
42
- <Grid className={classes}>
42
+ <Grid columnGapSize="large" className={classes}>
43
43
  {variant === "reverse" && image && (
44
44
  <GridCol
45
45
  size={{ xs: 12, md: 6 }}
@@ -29,8 +29,13 @@
29
29
  text-align: end;
30
30
  align-self: center;
31
31
 
32
+ padding-top: space.get("xlarge");
33
+ padding-bottom: space.get("xlarge");
34
+
32
35
  @include breakpoint.get("md", "down") {
33
36
  text-align: center;
37
+ padding-top: 0;
38
+ padding-bottom: 0;
34
39
  }
35
40
  }
36
41
 
@@ -64,7 +64,11 @@ const example = (
64
64
  it("is valid html", () => {
65
65
  const { container } = render(example);
66
66
  expect(container).toHTMLValidate({
67
- rules: { "attribute-boolean-style": "off", "valid-id": "off" },
67
+ rules: {
68
+ "attribute-boolean-style": "off",
69
+ "valid-id": "off",
70
+ "attribute-empty-style": "off",
71
+ },
68
72
  });
69
73
  });
70
74
 
@@ -34,7 +34,11 @@ const example = (
34
34
  it("is valid html", () => {
35
35
  const { container } = render(example);
36
36
  expect(container).toHTMLValidate({
37
- rules: { "no-inline-style": "off", "attribute-boolean-style": "off" },
37
+ rules: {
38
+ "no-inline-style": "off",
39
+ "attribute-boolean-style": "off",
40
+ "attribute-empty-style": "off",
41
+ },
38
42
  });
39
43
  });
40
44
 
@@ -1,42 +1,6 @@
1
1
  @use "../tokens/base";
2
2
  @use "../tokens/space";
3
- @use "../tokens/color";
4
- @use "../tokens/tag-colors";
5
-
6
- // Consider to add more conditions for light and dark themes
7
- :root,
8
- :host,
9
- :host(.is-light),
10
- .is-light,
11
- .bg-white,
12
- #root.is-light,
13
- #root-modals.is-light,
14
- #root-tooltips.is-light,
15
- #root-dropdowns.is-light {
16
- @each $name, $value in color.$colors-light {
17
- --color-#{$name}: #{$value};
18
- }
19
- @each $name, $value in tag-colors.$tag-colors-light {
20
- --#{$name}: #{$value};
21
- }
22
- color: var(--color-text-default);
23
- }
24
-
25
- :host(.is-dark),
26
- .is-dark,
27
- .bg-black,
28
- #root.is-dark,
29
- #root-modals.is-dark,
30
- #root-tooltips.is-dark,
31
- #root-dropdowns.is-dark {
32
- @each $name, $value in color.$colors-dark {
33
- --color-#{$name}: #{$value};
34
- }
35
- @each $name, $value in tag-colors.$tag-colors-dark {
36
- --#{$name}: #{$value};
37
- }
38
- color: var(--color-text-default);
39
- }
3
+ @use "../tokens/color-vars";
40
4
 
41
5
  :root,
42
6
  :host {
@@ -30,6 +30,7 @@ main {
30
30
 
31
31
  .code-wrapper {
32
32
  border: 1px solid var(--color-border-strong);
33
+ margin-bottom: 30px;
33
34
 
34
35
  pre {
35
36
  margin-bottom: 0 !important;
@@ -12,12 +12,12 @@ export const exports = {
12
12
  "violet": "#a885d8",
13
13
  "yellow": "#ffd200",
14
14
  "gray-300": "#eeeeee",
15
- "gray-400": "#ddd",
15
+ "gray-400": "#dddddd",
16
16
  "gray-500": "#dddddd",
17
17
  "gray-600": "#999",
18
18
  "gray-700": "#666666",
19
- "gray-800": "#595959",
20
- "gray-900": "#333",
19
+ "gray-800": "#666666",
20
+ "gray-900": "#333333",
21
21
  "success": "rgba(34, 135, 34, 0.0784313725)",
22
22
  "danger": "rgba(205, 60, 20, 0.0784313725)",
23
23
  "info": "rgba(65, 112, 216, 0.0784313725)",
@@ -0,0 +1,39 @@
1
+ @use "sass:map";
2
+ @use "./color";
3
+ @use "./tag-colors";
4
+
5
+ // Light theme CSS variables
6
+ :root,
7
+ :host,
8
+ :host(.is-light),
9
+ .is-light,
10
+ .bg-white,
11
+ #root.is-light,
12
+ #root-modals.is-light,
13
+ #root-tooltips.is-light,
14
+ #root-dropdowns.is-light {
15
+ @each $name, $value in color.$colors-light {
16
+ --color-#{$name}: #{$value};
17
+ }
18
+ @each $name, $value in tag-colors.$tag-colors-light {
19
+ --#{$name}: #{$value};
20
+ }
21
+ color: var(--color-text-default);
22
+ }
23
+
24
+ // Dark theme CSS variables
25
+ :host(.is-dark),
26
+ .is-dark,
27
+ .bg-black,
28
+ #root.is-dark,
29
+ #root-modals.is-dark,
30
+ #root-tooltips.is-dark,
31
+ #root-dropdowns.is-dark {
32
+ @each $name, $value in color.$colors-dark {
33
+ --color-#{$name}: #{$value};
34
+ }
35
+ @each $name, $value in tag-colors.$tag-colors-dark {
36
+ --#{$name}: #{$value};
37
+ }
38
+ color: var(--color-text-default);
39
+ }
@@ -119,14 +119,14 @@ $pink: map.get($colors-light, fill-accent3);
119
119
  $violet: map.get($colors-light, fill-accent4);
120
120
  $yellow: map.get($colors-light, fill-accent5);
121
121
  $yellow-lighter: #fff6b6; // not in new palette, fallback
122
- $red: #ff4d4d; // not in new palette, fallback
122
+ $red: map.get($colors-dark, icon-negative);
123
123
  $gray-300: map.get($colors-light, surface-subtle);
124
- $gray-400: #ddd; // fallback
124
+ $gray-400: map.get($colors-light, fill-moderate);
125
125
  $gray-500: map.get($colors-light, surface-moderate);
126
126
  $gray-600: #999; // fallback
127
127
  $gray-700: map.get($colors-light, text-secondary); // fallback
128
- $gray-800: #595959; // fallback
129
- $gray-900: #333; // fallback
128
+ $gray-800: map.get($colors-light, text-secondary);
129
+ $gray-900: map.get($colors-dark, border-subtle);
130
130
  $success: map.get($colors-light, fill-positive);
131
131
  $danger: map.get($colors-light, fill-negative);
132
132
  $info: map.get($colors-light, fill-information);
@@ -166,13 +166,12 @@
166
166
 
167
167
  @mixin list-inline() {
168
168
  @include list-unstyled();
169
+ gap: space.get("small");
170
+ display: flex;
171
+ flex-wrap: wrap;
169
172
 
170
173
  > li {
171
- display: inline-block;
172
-
173
- &:not(:last-child) {
174
- margin-right: space.get("small");
175
- }
174
+ display: inline-flex;
176
175
  }
177
176
  }
178
177
 
@@ -31,6 +31,23 @@
31
31
  text-underline-offset: 0.1em !important;
32
32
  }
33
33
 
34
+ .no-underline {
35
+ text-decoration: none !important;
36
+ }
37
+
38
+ .underline-hover {
39
+ text-decoration: none !important;
40
+
41
+ &:hover {
42
+ text-decoration: underline !important;
43
+ }
44
+ }
45
+
46
+ .no-accent {
47
+ color: inherit !important;
48
+ text-decoration: underline;
49
+ }
50
+
34
51
  small,
35
52
  .small {
36
53
  @include generate.css-map(typographyConfig.$body-text, "small");
@@ -1,2 +0,0 @@
1
- @layer utilities{.background-primary{background-color:var(--color-background-primary)!important}.background-secondary{background-color:var(--color-background-secondary)!important}.background-contrast{background-color:var(--color-background-contrast)!important}.background-accent{background-color:var(--color-background-accent)!important}.background-accent1-blog{background-color:var(--color-background-accent1-blog)!important}.background-accent2-blog{background-color:var(--color-background-accent2-blog)!important}.surface-primary{background-color:var(--color-surface-primary)!important}.surface-secondary{background-color:var(--color-surface-secondary)!important}.surface-tertiary{background-color:var(--color-surface-tertiary)!important}.surface-subtle{background-color:var(--color-surface-subtle)!important}.surface-moderate{background-color:var(--color-surface-moderate)!important}.surface-contrast{background-color:var(--color-surface-contrast)!important}.surface-accent{background-color:var(--color-surface-accent)!important}.fill-primary{background-color:var(--color-fill-primary)!important}.fill-secondary{background-color:var(--color-fill-secondary)!important}.fill-tertiary{background-color:var(--color-fill-tertiary)!important}.fill-subtle{background-color:var(--color-fill-subtle)!important}.fill-moderate{background-color:var(--color-fill-moderate)!important}.fill-disabled{background-color:var(--color-fill-disabled)!important}.fill-contrast{background-color:var(--color-fill-contrast)!important}.fill-accent1{background-color:var(--color-fill-accent1)!important}.fill-accent2{background-color:var(--color-fill-accent2)!important}.fill-accent3{background-color:var(--color-fill-accent3)!important}.fill-accent4{background-color:var(--color-fill-accent4)!important}.fill-accent5{background-color:var(--color-fill-accent5)!important}.fill-information{background-color:var(--color-fill-information)!important}.fill-positive{background-color:var(--color-fill-positive)!important}.fill-warning{background-color:var(--color-fill-warning)!important}.fill-negative{background-color:var(--color-fill-negative)!important}.border-subtle{border-color:var(--color-border-subtle)!important}.border-strong{border-color:var(--color-border-strong)!important}.border-contrast{border-color:var(--color-border-contrast)!important}.border-accent{border-color:var(--color-border-accent)!important}.border-information{border-color:var(--color-border-information)!important}.border-positive{border-color:var(--color-border-positive)!important}.border-warning{border-color:var(--color-border-warning)!important}.border-negative{border-color:var(--color-border-negative)!important}.text-default{color:var(--color-text-default)!important}.text-secondary{color:var(--color-text-secondary)!important}.text-disabled{color:var(--color-text-disabled)!important}.text-inverse{color:var(--color-text-inverse)!important}.text-accent{color:var(--color-text-accent)!important}.icon-default{color:var(--color-icon-default)!important}.icon-inverse{color:var(--color-icon-inverse)!important}.icon-brand{color:var(--color-icon-brand)!important}.icon-accent{color:var(--color-icon-accent)!important}.icon-disabled{color:var(--color-icon-disabled)!important}.icon-information{color:var(--color-icon-information)!important}.icon-positive{color:var(--color-icon-positive)!important}.icon-warning{color:var(--color-icon-warning)!important}.icon-negative{color:var(--color-icon-negative)!important}.color-black{color:#000!important}.color-orange{color:var(--color-text-accent)!important}.color-gray{color:#595959!important}.color-white{color:#fff!important}.color-blue{color:var(--color-icon-information)!important}.color-danger{color:var(--color-icon-negative)!important}.bg-white{background-color:#fff!important;color:var(--color-text-default)}.bg-white .color-blue,.bg-white.color-blue{color:var(--color-icon-information)!important}.bg-black{background-color:#141414!important;color:var(--color-text-inverse)}.bg-black .color-gray,.bg-black.color-gray{color:#ddd!important}.bg-black .color-blue,.bg-black.color-blue{color:#4bb4e6!important}.bg-orange{background-color:var(--color-surface-secondary)!important;color:#000!important}.bg-orange-dark{background-color:var(--color-surface-tertiary)!important;color:var(--color-text-inverse)!important}.bg-gray{background-color:var(--color-surface-subtle)!important}.bg-gray-lighter{background-color:var(--color-background-secondary)!important}.bg-blue{background-color:var(--color-fill-accent1)!important}.bg-blue,.bg-green{color:#000!important}.bg-green{background-color:var(--color-fill-accent2)!important}.bg-pink{background-color:var(--color-fill-accent3)!important}.bg-pink,.bg-violet{color:#000!important}.bg-violet{background-color:var(--color-fill-accent4)!important}.bg-yellow{background-color:var(--color-fill-accent5)!important;color:#000!important}.bg-yellow-lighter{background-color:#fff6b6!important;color:#000!important}.bg-red{background-color:#ff4d4d!important;color:#000!important}.bg-accent{background-color:var(--color-background-accent)!important}.bg-accent,.bg-accent1-blog{color:var(--color-text-default)!important}.bg-accent1-blog{background-color:var(--color-background-accent1-blog)!important}.bg-accent2-blog{background-color:var(--color-background-accent2-blog)!important;color:var(--color-text-default)!important}.bg-orange-dark::selection,.bg-orange::selection,.surface-secondary::selection,.surface-tertiary::selection{background-color:var(--color-background-contrast);color:var(--color-text-inverse)}.color-gray::selection{color:var(--color-text-default)}.background-none,.bg-none{background:none!important}.bold,strong{font-weight:700!important}.normal{font-weight:400!important}.thin{font-weight:300!important}.italic,em{font-style:italic!important}.underline{text-decoration:underline!important;text-underline-offset:.1em!important}.small,small{font-size:1rem;font-weight:400;letter-spacing:-.00625rem;line-height:1.5rem}.large{font-size:1.25rem;font-weight:400;letter-spacing:-.0125rem;line-height:1.875rem}.text-nowrap{white-space:nowrap!important}.text-wrap{white-space:normal!important}.text-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.align-left{text-align:left!important}.align-center{text-align:center!important}.align-right{text-align:right!important}}@layer utilities{@media screen and (min-width:480px){.align-sm-right{text-align:right!important}.align-sm-left{text-align:left!important}.align-sm-center{text-align:center!important}}@media screen and (min-width:768px){.align-md-right{text-align:right!important}.align-md-left{text-align:left!important}.align-md-center{text-align:center!important}}@media screen and (min-width:992px){.align-lg-right{text-align:right!important}.align-lg-left{text-align:left!important}.align-lg-center{text-align:center!important}}@media screen and (min-width:1240px){.align-xl-right{text-align:right!important}.align-xl-left{text-align:left!important}.align-xl-center{text-align:center!important}}@media screen and (min-width:1380px){.align-xxl-right{text-align:right!important}.align-xxl-left{text-align:left!important}.align-xxl-center{text-align:center!important}}.reset-text-decoration{text-decoration:none!important}.align-middle{vertical-align:middle!important}.align-top{vertical-align:top!important}.align-bottom{vertical-align:bottom!important}.align-baseline{vertical-align:baseline!important}.reset-font-weight{font-weight:400!important}.reset-font-size{font-size:16px!important;line-height:1.25!important}.text-fullwidth{max-width:none}.text-readable{max-width:35em}.text-narrow{max-width:22em}.border-radius--medium{border-radius:10px}.border{border:2px solid var(--color-border-contrast)}.border.is-invalid{border-color:var(--color-border-negative)!important}.border--gray{border-color:var(--color-border-subtle)}.border--gray.border-hover:hover,.border--gray.is-indicating:hover{border-color:var(--color-text-secondary)}.border--orange{border-color:var(--color-border-accent)}.mb{margin-bottom:1.25rem}.mb-xsmall{margin-bottom:5px!important}.mb-small{margin-bottom:10px!important}.mb-medium{margin-bottom:20px!important}.mb-large{margin-bottom:30px!important}.mb-xlarge{margin-bottom:60px!important}.mb-none{margin-bottom:0!important}}@layer utilities{@media screen and (min-width:480px){.mb-sm-xsmall{margin-bottom:5px!important}.mb-sm-small{margin-bottom:10px!important}.mb-sm-medium{margin-bottom:20px!important}.mb-sm-large{margin-bottom:30px!important}.mb-sm-xlarge{margin-bottom:60px!important}.mb-sm-none{margin-bottom:0!important}}@media screen and (min-width:768px){.mb-md-xsmall{margin-bottom:5px!important}.mb-md-small{margin-bottom:10px!important}.mb-md-medium{margin-bottom:20px!important}.mb-md-large{margin-bottom:30px!important}.mb-md-xlarge{margin-bottom:60px!important}.mb-md-none{margin-bottom:0!important}}@media screen and (min-width:992px){.mb-lg-xsmall{margin-bottom:5px!important}.mb-lg-small{margin-bottom:10px!important}.mb-lg-medium{margin-bottom:20px!important}.mb-lg-large{margin-bottom:30px!important}.mb-lg-xlarge{margin-bottom:60px!important}.mb-lg-none{margin-bottom:0!important}}@media screen and (min-width:1240px){.mb-xl-xsmall{margin-bottom:5px!important}.mb-xl-small{margin-bottom:10px!important}.mb-xl-medium{margin-bottom:20px!important}.mb-xl-large{margin-bottom:30px!important}.mb-xl-xlarge{margin-bottom:60px!important}.mb-xl-none{margin-bottom:0!important}}@media screen and (min-width:1380px){.mb-xxl-xsmall{margin-bottom:5px!important}.mb-xxl-small{margin-bottom:10px!important}.mb-xxl-medium{margin-bottom:20px!important}.mb-xxl-large{margin-bottom:30px!important}.mb-xxl-xlarge{margin-bottom:60px!important}.mb-xxl-none{margin-bottom:0!important}}.mt-none{margin-top:0!important}.pt-none{padding-top:0!important}.mr-none{margin-right:0!important}.pr-none{padding-right:0!important}.pb-none{padding-bottom:0!important}.ml-none{margin-left:0!important}.pl-none{padding-left:0!important}.no-mrg{margin:0!important}.no-pad{padding:0!important}.clearfix:after,.clearfix:before{content:"";display:table}.clear,.clearfix:after{clear:both}.justify-content-start{justify-content:flex-start}.justify-content-end{justify-content:flex-end}.justify-content-center{justify-content:center}.justify-content-space-around{justify-content:space-around}.justify-content-space-between{justify-content:space-between}.align-items-start{align-items:flex-start}.align-items-end{align-items:flex-end}.align-items-center{align-items:center}.align-items-stretch{align-items:stretch}.align-self-left{margin-left:0;margin-right:auto}.align-self-right{margin-left:auto;margin-right:0}.align-self-center{margin-left:auto;margin-right:auto}.align-self-top{align-self:flex-start}.align-self-bottom{align-self:flex-end}.align-self-middle{align-self:center}.align-self-stretch{align-self:stretch}.align-self-last{order:999}@media screen and (min-width:480px){.justify-content-start--sm{justify-content:flex-start}.justify-content-end--sm{justify-content:flex-end}.justify-content-center--sm{justify-content:center}.justify-content-space-around--sm{justify-content:space-around}.justify-content-space-between--sm{justify-content:space-between}.align-items-start--sm{align-items:flex-start}.align-items-end--sm{align-items:flex-end}.align-items-center--sm{align-items:center}.align-items-stretch--sm{align-items:stretch}.align-self-left--sm{margin-left:0;margin-right:auto}.align-self-right--sm{margin-left:auto;margin-right:0}.align-self-center--sm{margin-left:auto;margin-right:auto}.align-self-top--sm{align-self:flex-start}.align-self-bottom--sm{align-self:flex-end}.align-self-middle--sm{align-self:center}.align-self-stretch--sm{align-self:stretch}.align-self-last--sm{order:999}}@media screen and (min-width:768px){.justify-content-start--md{justify-content:flex-start}.justify-content-end--md{justify-content:flex-end}.justify-content-center--md{justify-content:center}.justify-content-space-around--md{justify-content:space-around}.justify-content-space-between--md{justify-content:space-between}.align-items-start--md{align-items:flex-start}.align-items-end--md{align-items:flex-end}.align-items-center--md{align-items:center}.align-items-stretch--md{align-items:stretch}.align-self-left--md{margin-left:0;margin-right:auto}.align-self-right--md{margin-left:auto;margin-right:0}.align-self-center--md{margin-left:auto;margin-right:auto}.align-self-top--md{align-self:flex-start}.align-self-bottom--md{align-self:flex-end}.align-self-middle--md{align-self:center}.align-self-stretch--md{align-self:stretch}.align-self-last--md{order:999}}@media screen and (min-width:992px){.justify-content-start--lg{justify-content:flex-start}.justify-content-end--lg{justify-content:flex-end}.justify-content-center--lg{justify-content:center}.justify-content-space-around--lg{justify-content:space-around}.justify-content-space-between--lg{justify-content:space-between}.align-items-start--lg{align-items:flex-start}.align-items-end--lg{align-items:flex-end}.align-items-center--lg{align-items:center}.align-items-stretch--lg{align-items:stretch}.align-self-left--lg{margin-left:0;margin-right:auto}.align-self-right--lg{margin-left:auto;margin-right:0}.align-self-center--lg{margin-left:auto;margin-right:auto}.align-self-top--lg{align-self:flex-start}.align-self-bottom--lg{align-self:flex-end}.align-self-middle--lg{align-self:center}.align-self-stretch--lg{align-self:stretch}.align-self-last--lg{order:999}}@media screen and (min-width:1240px){.justify-content-start--xl{justify-content:flex-start}.justify-content-end--xl{justify-content:flex-end}.justify-content-center--xl{justify-content:center}.justify-content-space-around--xl{justify-content:space-around}.justify-content-space-between--xl{justify-content:space-between}.align-items-start--xl{align-items:flex-start}.align-items-end--xl{align-items:flex-end}.align-items-center--xl{align-items:center}.align-items-stretch--xl{align-items:stretch}.align-self-left--xl{margin-left:0;margin-right:auto}.align-self-right--xl{margin-left:auto;margin-right:0}.align-self-center--xl{margin-left:auto;margin-right:auto}.align-self-top--xl{align-self:flex-start}.align-self-bottom--xl{align-self:flex-end}.align-self-middle--xl{align-self:center}.align-self-stretch--xl{align-self:stretch}.align-self-last--xl{order:999}}@media screen and (min-width:1380px){.justify-content-start--xxl{justify-content:flex-start}.justify-content-end--xxl{justify-content:flex-end}.justify-content-center--xxl{justify-content:center}.justify-content-space-around--xxl{justify-content:space-around}.justify-content-space-between--xxl{justify-content:space-between}.align-items-start--xxl{align-items:flex-start}.align-items-end--xxl{align-items:flex-end}.align-items-center--xxl{align-items:center}.align-items-stretch--xxl{align-items:stretch}.align-self-left--xxl{margin-left:0;margin-right:auto}.align-self-right--xxl{margin-left:auto;margin-right:0}.align-self-center--xxl{margin-left:auto;margin-right:auto}.align-self-top--xxl{align-self:flex-start}.align-self-bottom--xxl{align-self:flex-end}.align-self-middle--xxl{align-self:center}.align-self-stretch--xxl{align-self:stretch}.align-self-last--xxl{order:999}}.aspect-ratio-21-9{aspect-ratio:21/9;border:0;max-width:100%}.aspect-ratio-16-9{aspect-ratio:16/9;border:0;max-width:100%}.aspect-ratio-4-3{aspect-ratio:4/3;border:0;max-width:100%}.aspect-ratio-1-1{aspect-ratio:1/1;border:0;max-width:100%}.aspect-ratio-3-2{aspect-ratio:3/2;border:0;max-width:100%}.d-block{display:block}.d-inline-block{display:inline-block}.d-inline{display:inline}.d-flex{display:flex}.d-inline-flex{display:inline-flex}.flex-column{flex-direction:column}.fullwidth{width:100%!important}@media screen and (min-width:0) and (max-width:479.98px){.fullwidth-xs-only{width:100%!important}}.fullheight{height:100%!important}.center-block{margin-left:auto!important;margin-right:auto!important}.relative{position:relative!important}.absolute{position:absolute!important}.sr-only,.visually-hidden{clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.hide{display:none!important}.invisible{visibility:hidden}}@layer utilities{@media screen and (min-width:480px){.show-xs-only{display:none!important}}@media screen and (min-width:0) and (max-width:479.98px){.hide-xs-only{display:none!important}}@media screen and (max-width:479.98px){.show-sm{display:none!important}}@media screen and (min-width:480px){.hide-sm{display:none!important}}@media screen and (max-width:479.98px){.show-sm-only{display:none!important}}@media screen and (min-width:768px){.show-sm-only{display:none!important}}@media screen and (min-width:480px) and (max-width:767.98px){.hide-sm-only{display:none!important}}@media screen and (max-width:767.98px){.show-md{display:none!important}}@media screen and (min-width:768px){.hide-md{display:none!important}}@media screen and (max-width:767.98px){.show-md-only{display:none!important}}@media screen and (min-width:992px){.show-md-only{display:none!important}}@media screen and (min-width:768px) and (max-width:991.98px){.hide-md-only{display:none!important}}@media screen and (max-width:991.98px){.show-lg{display:none!important}}@media screen and (min-width:992px){.hide-lg{display:none!important}}@media screen and (max-width:991.98px){.show-lg-only{display:none!important}}@media screen and (min-width:1240px){.show-lg-only{display:none!important}}@media screen and (min-width:992px) and (max-width:1239.98px){.hide-lg-only{display:none!important}}@media screen and (max-width:1239.98px){.show-xl{display:none!important}}@media screen and (min-width:1240px){.hide-xl{display:none!important}}@media screen and (max-width:1239.98px){.show-xl-only{display:none!important}}@media screen and (min-width:1380px){.show-xl-only{display:none!important}}@media screen and (min-width:1240px) and (max-width:1379.98px){.hide-xl-only{display:none!important}}@media screen and (max-width:1379.98px){.show-xxl{display:none!important}}@media screen and (min-width:1380px){.hide-xxl{display:none!important}}@media screen and (max-width:1379.98px){.show-xxl-only{display:none!important}}}@layer utilities{.order-1{order:1!important}@media screen and (min-width:0) and (max-width:479.98px){.order-1-xs-only{order:1!important}}.order-2{order:2!important}@media screen and (min-width:0) and (max-width:479.98px){.order-2-xs-only{order:2!important}}@media screen and (min-width:480px){.order-1-sm{order:1!important}}@media screen and (min-width:480px) and (max-width:767.98px){.order-1-sm-only{order:1!important}}@media screen and (min-width:480px){.order-2-sm{order:2!important}}@media screen and (min-width:480px) and (max-width:767.98px){.order-2-sm-only{order:2!important}}@media screen and (min-width:768px){.order-1-md{order:1!important}}@media screen and (min-width:768px) and (max-width:991.98px){.order-1-md-only{order:1!important}}@media screen and (min-width:768px){.order-2-md{order:2!important}}@media screen and (min-width:768px) and (max-width:991.98px){.order-2-md-only{order:2!important}}@media screen and (min-width:992px){.order-1-lg{order:1!important}}@media screen and (min-width:992px) and (max-width:1239.98px){.order-1-lg-only{order:1!important}}@media screen and (min-width:992px){.order-2-lg{order:2!important}}@media screen and (min-width:992px) and (max-width:1239.98px){.order-2-lg-only{order:2!important}}@media screen and (min-width:1240px){.order-1-xl{order:1!important}}@media screen and (min-width:1240px) and (max-width:1379.98px){.order-1-xl-only{order:1!important}}@media screen and (min-width:1240px){.order-2-xl{order:2!important}}@media screen and (min-width:1240px) and (max-width:1379.98px){.order-2-xl-only{order:2!important}}@media screen and (min-width:1380px){.order-1-xxl{order:1!important}.order-2-xxl{order:2!important}}}@layer utilities{.table-scrollable,[class*=horizontal-scroll]{scroll-snap-type:x mandatory;scrollbar-color:var(--color-fill-contrast) var(--color-surface-moderate);scrollbar-width:thin}.table-scrollable>*,[class*=horizontal-scroll]>*{scroll-snap-align:start}.table-scrollable::-webkit-scrollbar,[class*=horizontal-scroll]::-webkit-scrollbar{appearance:none;background-color:var(--color-surface-moderate);border-radius:99px;height:.375rem}.table-scrollable::-webkit-scrollbar-thumb,[class*=horizontal-scroll]::-webkit-scrollbar-thumb{background-color:var(--color-fill-contrast);border-radius:99px;opacity:1}.horizontal-scroll{-webkit-overflow-scrolling:auto;flex-wrap:nowrap;margin-bottom:1.875rem;overflow-x:auto}.horizontal-scroll-disable{-webkit-overflow-scrolling:initial;flex-wrap:wrap;margin-bottom:0;overflow-x:initial}@media screen and (min-width:480px){.horizontal-scroll--sm{-webkit-overflow-scrolling:auto;flex-wrap:nowrap;margin-bottom:1.875rem;overflow-x:auto}.horizontal-scroll--sm-disable{-webkit-overflow-scrolling:initial;flex-wrap:wrap;margin-bottom:0;overflow-x:initial}}@media screen and (min-width:768px){.horizontal-scroll--md{-webkit-overflow-scrolling:auto;flex-wrap:nowrap;margin-bottom:1.875rem;overflow-x:auto}.horizontal-scroll--md-disable{-webkit-overflow-scrolling:initial;flex-wrap:wrap;margin-bottom:0;overflow-x:initial}}@media screen and (min-width:992px){.horizontal-scroll--lg{-webkit-overflow-scrolling:auto;flex-wrap:nowrap;margin-bottom:1.875rem;overflow-x:auto}.horizontal-scroll--lg-disable{-webkit-overflow-scrolling:initial;flex-wrap:wrap;margin-bottom:0;overflow-x:initial}}@media screen and (min-width:1240px){.horizontal-scroll--xl{-webkit-overflow-scrolling:auto;flex-wrap:nowrap;margin-bottom:1.875rem;overflow-x:auto}.horizontal-scroll--xl-disable{-webkit-overflow-scrolling:initial;flex-wrap:wrap;margin-bottom:0;overflow-x:initial}}@media screen and (min-width:1380px){.horizontal-scroll--xxl{-webkit-overflow-scrolling:auto;flex-wrap:nowrap;margin-bottom:1.875rem;overflow-x:auto}.horizontal-scroll--xxl-disable{-webkit-overflow-scrolling:initial;flex-wrap:wrap;margin-bottom:0;overflow-x:initial}}}@layer utilities{.megamenu-header ul,.mm-header ul,.osk-footer-menu{margin-top:0;max-width:none}.megamenu-header ul li,.mm-header ul li,.osk-footer-menu li{margin-bottom:0;margin-top:0}}
2
- /*# sourceMappingURL=after-components.css.map */