@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.
Files changed (168) hide show
  1. package/README.md +346 -19
  2. package/build/components/Accordion/style.css +1 -1
  3. package/build/components/Accordion/style.css.map +1 -1
  4. package/build/components/Alert/style.css +1 -1
  5. package/build/components/Alert/style.css.map +1 -1
  6. package/build/components/AnchorNavigation/style.css +1 -1
  7. package/build/components/AnchorNavigation/style.css.map +1 -1
  8. package/build/components/BlockAction/style.css +1 -1
  9. package/build/components/BlockAction/style.css.map +1 -1
  10. package/build/components/CarouselPromotions/style.css +1 -1
  11. package/build/components/CarouselPromotions/style.css.map +1 -1
  12. package/build/components/FeatureAccordion/style.css +1 -1
  13. package/build/components/FeatureAccordion/style.css.map +1 -1
  14. package/build/components/Footer/style.css +1 -1
  15. package/build/components/Footer/style.css.map +1 -1
  16. package/build/components/Hero/style.css +1 -1
  17. package/build/components/Hero/style.css.map +1 -1
  18. package/build/components/Megamenu/style.css +1 -1
  19. package/build/components/Megamenu/style.css.map +1 -1
  20. package/build/components/Modal/style.css +1 -1
  21. package/build/components/Modal/style.css.map +1 -1
  22. package/build/components/Progress/style.css +1 -1
  23. package/build/components/Progress/style.css.map +1 -1
  24. package/build/components/PromoBanner/style.css +1 -1
  25. package/build/components/PromoBanner/style.css.map +1 -1
  26. package/build/components/PromotionCard/style.css +1 -1
  27. package/build/components/PromotionCard/style.css.map +1 -1
  28. package/build/components/Tag/style.css +1 -1
  29. package/build/components/Tag/style.css.map +1 -1
  30. package/build/components/Tile/style.css +1 -1
  31. package/build/components/Tile/style.css.map +1 -1
  32. package/build/components/index.js +1 -1
  33. package/build/components/index.js.map +1 -1
  34. package/build/components/tsconfig.tsbuildinfo +1 -1
  35. package/build/components/types/index.d.ts +5 -40
  36. package/build/components/types/src/components/Alert/Alert.d.ts +0 -2
  37. package/build/components/types/src/components/AnchorNavigation/AnchorNavigation.d.ts +1 -2
  38. package/build/components/types/src/components/BlockAction/BlockAction.d.ts +2 -0
  39. package/build/components/types/src/components/BlockAction/Context.d.ts +2 -0
  40. package/build/components/types/src/components/Breadcrumbs/Breadcrumbs.d.ts +0 -2
  41. package/build/components/types/src/components/Button/Button.d.ts +0 -1
  42. package/build/components/types/src/components/Card/index.d.ts +1 -0
  43. package/build/components/types/src/components/Carousel/Carousel.d.ts +0 -2
  44. package/build/components/types/src/components/CarouselHero/CarouselHero.d.ts +0 -1
  45. package/build/components/types/src/components/CarouselPromotions/CarouselPromotions.d.ts +0 -1
  46. package/build/components/types/src/components/Controls/Controls.d.ts +0 -1
  47. package/build/components/types/src/components/Expander/Expander.d.ts +0 -3
  48. package/build/components/types/src/components/FeatureAccordion/FeatureAccordion.d.ts +0 -2
  49. package/build/components/types/src/components/Forms/InputStepper/InputStepper.d.ts +0 -1
  50. package/build/components/types/src/components/Hero/Hero.d.ts +0 -3
  51. package/build/components/types/src/components/Icon/iconSearchTags.d.ts +167 -166
  52. package/build/components/types/src/components/Link/Link.d.ts +0 -2
  53. package/build/components/types/src/components/Megamenu/static.d.ts +2 -3
  54. package/build/components/types/src/components/Modal/Modal.d.ts +0 -2
  55. package/build/components/types/src/components/Pagination/Pagination.d.ts +0 -2
  56. package/build/components/types/src/components/Pill/Pill.d.ts +0 -1
  57. package/build/components/types/src/components/Progress/Progress.d.ts +0 -1
  58. package/build/components/types/src/components/PromoBanner/PromoBanner.d.ts +1 -2
  59. package/build/components/types/src/components/PromotionCard/PromotionCard.d.ts +2 -2
  60. package/build/components/types/src/components/Stepbar/Stepbar.d.ts +0 -2
  61. package/build/components/types/src/components/Table/Table.d.ts +0 -2
  62. package/build/components/types/src/components/Tabs/Tabs.d.ts +0 -2
  63. package/build/components/types/src/components/Tooltip/Tooltip.d.ts +0 -1
  64. package/build/components/types/src/scripts/index.d.ts +2 -3
  65. package/build/components/types/src/styles/export/color.d.ts +102 -20
  66. package/build/lib/base.css +1 -1
  67. package/build/lib/base.css.map +1 -1
  68. package/build/lib/components.css +1 -1
  69. package/build/lib/components.css.map +1 -1
  70. package/build/lib/footer.css +1 -1
  71. package/build/lib/footer.css.map +1 -1
  72. package/build/lib/megamenu.css +1 -1
  73. package/build/lib/megamenu.css.map +1 -1
  74. package/build/lib/megamenu.js +1 -1
  75. package/build/lib/megamenu.js.map +1 -1
  76. package/build/lib/scripts.js +1 -1
  77. package/build/lib/scripts.js.map +1 -1
  78. package/build/lib/style.css +1 -1
  79. package/build/lib/style.css.map +1 -1
  80. package/build/lib/tsconfig.tsbuildinfo +1 -1
  81. package/build/lib/utilities.css +1 -1
  82. package/build/lib/utilities.css.map +1 -1
  83. package/build/sprite.svg +1 -1
  84. package/package.json +13 -13
  85. package/src/assets/icons/quote.svg +4 -0
  86. package/src/components/Accordion/styles/mixins.scss +2 -0
  87. package/src/components/Alert/Alert.tsx +0 -6
  88. package/src/components/Alert/styles/mixins.scss +3 -1
  89. package/src/components/Alert/tests/Alert.test.js +0 -14
  90. package/src/components/AnchorNavigation/AnchorNavigation.tsx +1 -10
  91. package/src/components/AnchorNavigation/tests/AnchorNavigation.conformance.test.js +0 -9
  92. package/src/components/BlockAction/BlockAction.tsx +10 -3
  93. package/src/components/BlockAction/Context.tsx +4 -0
  94. package/src/components/BlockAction/styles/mixins.scss +6 -0
  95. package/src/components/BlockAction/styles/style.scss +5 -0
  96. package/src/components/Breadcrumbs/BreadcrumbItem.tsx +16 -7
  97. package/src/components/Breadcrumbs/Breadcrumbs.tsx +4 -12
  98. package/src/components/Breadcrumbs/tests/BreadcrumbItem.unit.test.js +14 -8
  99. package/src/components/Breadcrumbs/tests/Breadcrumbs.integration.test.js +14 -37
  100. package/src/components/Breadcrumbs/tests/Breadcrumbs.unit.test.js +19 -23
  101. package/src/components/Button/Button.tsx +0 -4
  102. package/src/components/Button/tests/Button.test.js +0 -10
  103. package/src/components/Card/index.ts +1 -0
  104. package/src/components/Carousel/Carousel.static.ts +5 -0
  105. package/src/components/Carousel/Carousel.tsx +0 -5
  106. package/src/components/Carousel/tests/Carousel.unit.test.js +0 -21
  107. package/src/components/CarouselHero/CarouselHero.tsx +1 -9
  108. package/src/components/CarouselHero/tests/CarouselHero.conformance.test.js +0 -1
  109. package/src/components/CarouselHero/tests/CarouselHero.unit.test.js +0 -14
  110. package/src/components/CarouselPromotions/CarouselPromotions.tsx +1 -6
  111. package/src/components/CarouselPromotions/styles/mixins.scss +6 -3
  112. package/src/components/CarouselPromotions/tests/CarouselPromotions.unit.test.js +0 -17
  113. package/src/components/Controls/Controls.tsx +2 -7
  114. package/src/components/Controls/tests/Controls.test.js +0 -23
  115. package/src/components/Expander/Expander.tsx +0 -6
  116. package/src/components/Expander/tests/Expander.conformance.test.js +8 -12
  117. package/src/components/Expander/tests/Expander.unit.test.js +37 -47
  118. package/src/components/FeatureAccordion/FeatureAccordion.tsx +2 -12
  119. package/src/components/FeatureAccordion/styles/mixins.scss +6 -14
  120. package/src/components/FeatureAccordion/styles/style.scss +2 -4
  121. package/src/components/FeatureAccordion/tests/FeatureAccordion.unit.test.js +0 -5
  122. package/src/components/Footer/styles/mixins.scss +1 -0
  123. package/src/components/Forms/InputStepper/InputStepper.tsx +0 -4
  124. package/src/components/Forms/Label/styles/config.scss +3 -0
  125. package/src/components/Hero/Hero.tsx +2 -16
  126. package/src/components/Hero/styles/style.scss +0 -14
  127. package/src/components/Hero/tests/Hero.unit.test.js +109 -119
  128. package/src/components/Icon/iconSearchTags.ts +167 -166
  129. package/src/components/Link/Link.tsx +0 -5
  130. package/src/components/Link/tests/Link.conformance.test.js +1 -7
  131. package/src/components/Link/tests/Link.unit.test.js +0 -20
  132. package/src/components/Megamenu/static.ts +5 -2
  133. package/src/components/Modal/Modal.tsx +0 -5
  134. package/src/components/Modal/styles/mixins.scss +7 -0
  135. package/src/components/Modal/styles/style.scss +1 -0
  136. package/src/components/Modal/tests/Modal.unit.test.js +0 -22
  137. package/src/components/Pagination/Pagination.tsx +1 -11
  138. package/src/components/Pill/Pill.tsx +0 -4
  139. package/src/components/Pill/tests/Pill.conformance.test.js +0 -4
  140. package/src/components/Pill/tests/Pill.unit.test.js +0 -18
  141. package/src/components/Progress/Progress.tsx +1 -13
  142. package/src/components/Progress/styles/mixins.scss +9 -7
  143. package/src/components/PromoBanner/PromoBanner.tsx +1 -10
  144. package/src/components/PromoBanner/styles/mixins.scss +0 -3
  145. package/src/components/PromoBanner/tests/PromoBanner.conformance.test.js +0 -30
  146. package/src/components/PromoBanner/tests/PromoBanner.unit.test.js +1 -33
  147. package/src/components/PromotionCard/PromotionCard.tsx +4 -6
  148. package/src/components/PromotionCard/styles/mixins.scss +1 -0
  149. package/src/components/PromotionCard/tests/PromotionCard.conformance.test.js +18 -19
  150. package/src/components/PromotionCard/tests/PromotionCard.unit.test.js +12 -74
  151. package/src/components/Stepbar/Stepbar.tsx +0 -5
  152. package/src/components/Table/Table.tsx +0 -5
  153. package/src/components/Table/tests/Table.unit.test.js +0 -31
  154. package/src/components/Tabs/Tabs.tsx +0 -5
  155. package/src/components/Tabs/tests/Tabs.unit.test.js +0 -8
  156. package/src/components/Tag/styles/config.scss +1 -1
  157. package/src/components/Tag/styles/style.scss +10 -9
  158. package/src/components/Tile/styles/mixins.scss +1 -0
  159. package/src/components/Tooltip/Tooltip.tsx +1 -10
  160. package/src/components/Tooltip/tests/Tooltip.unit.test.js +0 -29
  161. package/src/styles/base/globals.scss +9 -0
  162. package/src/styles/base/styleguide.scss +6 -2
  163. package/src/styles/export/color.js +102 -20
  164. package/src/styles/export/color.scss +10 -20
  165. package/src/styles/typography/config.scss +83 -37
  166. package/src/styles/typography/mixins.scss +3 -3
  167. package/src/styles/utilities/text.scss +26 -2
  168. package/src/components/Pagination/tests/utils.js +0 -12
@@ -72,8 +72,6 @@ interface AlertProps extends React$1.HTMLAttributes<HTMLDivElement> {
72
72
  /** Type of alert, sets icon and color */
73
73
  type?: AlertType;
74
74
  className?: string;
75
- /** Sets Alert to use specific color scheme */
76
- colorScheme?: "dark" | "light";
77
75
  }
78
76
  declare const Alert: React$1.FC<AlertProps>;
79
77
 
@@ -85,11 +83,10 @@ interface AnchorNavigationItem {
85
83
  interface AnchorNavigationProps {
86
84
  items: AnchorNavigationItem[];
87
85
  className?: string;
88
- colorScheme?: "light" | "dark";
89
86
  children?: React$1.ReactNode;
90
87
  }
91
88
  declare const AnchorNavigation: {
92
- ({ items, className, colorScheme, children, ...other }: AnchorNavigationProps): react_jsx_runtime.JSX.Element;
89
+ ({ items, className, children, ...other }: AnchorNavigationProps): react_jsx_runtime.JSX.Element;
93
90
  displayName: string;
94
91
  };
95
92
 
@@ -178,6 +175,8 @@ interface BlockActionProps {
178
175
  /** 1 and only one single element */
179
176
  children: ReactElement;
180
177
  className?: string;
178
+ /** Add border on hover */
179
+ hasBorderOnHover?: boolean;
181
180
  [key: string]: any;
182
181
  }
183
182
  declare const BlockAction: React$1.FC<BlockActionProps>;
@@ -235,8 +234,6 @@ interface BreadcrumbItemData {
235
234
  interface BreadcrumbsProps {
236
235
  /** Additional CSS classes */
237
236
  className?: string;
238
- /** Use white breadcrumbs on dark background */
239
- colorScheme?: "dark" | "light";
240
237
  /** Breadcrumb items */
241
238
  items: BreadcrumbItemData[];
242
239
  /** Navigation label */
@@ -254,7 +251,6 @@ interface CommonProps {
254
251
  isActive?: boolean;
255
252
  isDefault?: boolean;
256
253
  isDisabled?: boolean;
257
- colorScheme?: "dark" | "light";
258
254
  isSquare?: boolean;
259
255
  size?: ButtonSize;
260
256
  type?: ButtonType;
@@ -311,8 +307,6 @@ declare const Buttons: React.FC<ButtonsProps>;
311
307
  interface CarouselProps extends HTMLAttributes<HTMLDivElement> {
312
308
  /** Swiper.js (https://swiperjs.com/) options object */
313
309
  swiperOptions?: Record<string, any>;
314
- /** Inverse colors */
315
- colorScheme?: "light" | "dark";
316
310
  /** Carousel items */
317
311
  items: ReactNode[];
318
312
  /** Always show scrollbar and hide dots */
@@ -337,7 +331,6 @@ interface TabItem {
337
331
  interface CarouselHeroProps {
338
332
  className?: string;
339
333
  swiperOptions?: Record<string, any>;
340
- colorScheme?: "light" | "dark";
341
334
  children?: ReactNode;
342
335
  tabs?: TabItem[];
343
336
  interval?: number;
@@ -348,7 +341,6 @@ declare const CarouselHero: React$1.FC<CarouselHeroProps>;
348
341
  interface CarouselPromotionsProps {
349
342
  className?: string;
350
343
  swiperOptions?: Record<string, any>;
351
- colorScheme?: "light" | "dark";
352
344
  children?: ReactNode;
353
345
  [key: string]: any;
354
346
  }
@@ -408,7 +400,6 @@ interface IControlsProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>
408
400
  elemRef?: React$1.Ref<any>;
409
401
  icon: string;
410
402
  className?: string;
411
- colorScheme?: "dark" | "light";
412
403
  isDisabled?: boolean;
413
404
  }
414
405
  declare const Controls: React$1.ForwardRefExoticComponent<IControlsProps & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "ref" | "href" | keyof IControlsProps> & {
@@ -459,9 +450,6 @@ interface DropdownToggleButtonProps extends React$1.HTMLAttributes<HTMLButtonEle
459
450
  declare const DropdownToggleButton: React$1.FC<DropdownToggleButtonProps>;
460
451
 
461
452
  interface ExpanderProps {
462
- /** Inverse buttons for dark backgrounds */
463
- /** Dark theme */
464
- colorScheme?: "light" | "dark";
465
453
  /** Custom summary text renderer. Passes props as function parameter. */
466
454
  renderSummary?: (props: ExpanderProps) => React$1.ReactNode;
467
455
  /** Custom summary text renderer when details are opened. Passes props as function parameter. */
@@ -480,8 +468,6 @@ interface ExpanderProps {
480
468
  declare const Expander: React$1.FC<ExpanderProps>;
481
469
 
482
470
  interface AccordionProps {
483
- /** Color scheme for whole FeatureAccordion */
484
- colorScheme?: "light" | "dark" | "white";
485
471
  /** Additional CSS classes */
486
472
  className?: string;
487
473
  }
@@ -638,8 +624,6 @@ interface LinkProps {
638
624
  className?: string;
639
625
  /** link content */
640
626
  children?: React$1.ReactNode;
641
- /** color scheme for link: dark (white text) or light (black text) */
642
- colorScheme?: "dark" | "light";
643
627
  /** whether the link should be underlined */
644
628
  isUnderline?: boolean;
645
629
  /** whether the link should have normal font weight */
@@ -693,8 +677,6 @@ interface ModalProps extends React$1.HTMLAttributes<HTMLDivElement> {
693
677
  children?: React$1.ReactNode;
694
678
  /** Additional CSS classes */
695
679
  className?: string;
696
- /** Color scheme for the modal */
697
- colorScheme?: "dark" | "light";
698
680
  /** Disables header paddings */
699
681
  disableHeaderSpacing?: boolean;
700
682
  /** Disables footer paddings */
@@ -823,7 +805,6 @@ interface ProgressProps {
823
805
  width?: number;
824
806
  className?: string;
825
807
  children?: React$1.ReactNode;
826
- colorMode?: "light" | "dark";
827
808
  }
828
809
  declare const Progress: React$1.FC<ProgressProps>;
829
810
 
@@ -840,8 +821,6 @@ interface PaginationItemProps {
840
821
  interface PaginationProps {
841
822
  /** Collapsed version */
842
823
  isCompact?: boolean;
843
- /** Dark theme */
844
- colorScheme?: "light" | "dark";
845
824
  /** All pagination items - buttons & numbers */
846
825
  items: PaginationItemProps[];
847
826
  /** Accessibility label */
@@ -854,7 +833,6 @@ interface PaginationProps {
854
833
  declare const Pagination: React$1.FC<PaginationProps>;
855
834
 
856
835
  interface PromoBannerProps {
857
- colorScheme?: "light" | "dark";
858
836
  className?: string;
859
837
  image?: string;
860
838
  alignImage?: "bottom" | "top";
@@ -866,13 +844,12 @@ interface PromoBannerProps {
866
844
  imageClassName?: string;
867
845
  variant?: "vertical" | "reverse";
868
846
  }
869
- declare const PromoBanner: ({ image, colorScheme, className, alignImage, bleedImage, children, itemClassName, imageClassName, variant, imageFullWidth, }: PromoBannerProps) => react_jsx_runtime.JSX.Element;
847
+ declare const PromoBanner: ({ image, className, alignImage, bleedImage, children, itemClassName, imageClassName, variant, imageFullWidth, }: PromoBannerProps) => react_jsx_runtime.JSX.Element;
870
848
 
871
849
  interface PromotionCardProps {
872
- /** Inverse colors */
873
- colorScheme?: "light" | "dark";
874
850
  className?: string;
875
851
  children?: React$1.ReactNode;
852
+ color?: CardColor;
876
853
  [key: string]: any;
877
854
  }
878
855
  declare const PromotionCard: React$1.FC<PromotionCardProps>;
@@ -1200,7 +1177,6 @@ interface InputStepperProps {
1200
1177
  id: string;
1201
1178
  inputClassName?: string;
1202
1179
  isDisabled?: boolean;
1203
- colorScheme?: "light" | "dark";
1204
1180
  name?: string;
1205
1181
  nonEditableInput?: boolean;
1206
1182
  className?: string;
@@ -1217,7 +1193,6 @@ interface PillProps extends HTMLAttributes<HTMLSpanElement> {
1217
1193
  children?: ReactNode;
1218
1194
  color?: PillColor;
1219
1195
  size?: "small" | "medium" | "large" | "xlarge" | "xxlarge";
1220
- colorScheme?: "light" | "dark";
1221
1196
  }
1222
1197
  declare const Pill: React$1.FC<PillProps>;
1223
1198
 
@@ -1235,8 +1210,6 @@ interface StepbarProps extends React$1.HTMLAttributes<HTMLElement> {
1235
1210
  showTitlesFrom?: ShowTitlesFrom;
1236
1211
  /** Array of step objects */
1237
1212
  steps: StepbarStep[];
1238
- /** Visual variant of the stepbar */
1239
- colorScheme?: "dark" | "light";
1240
1213
  }
1241
1214
  declare const Stepbar: React$1.FC<StepbarProps>;
1242
1215
 
@@ -1267,8 +1240,6 @@ interface TabsProps extends React$1.HTMLAttributes<HTMLUListElement> {
1267
1240
  activeTabIndex?: number;
1268
1241
  /** Additional classes for tabs header. */
1269
1242
  classesTabNav?: string;
1270
- /** Color theme for the tabs */
1271
- colorScheme?: "dark" | "light";
1272
1243
  /** All tabs have equal width inside a full-width container */
1273
1244
  hasEqualTabWidth?: boolean;
1274
1245
  /** Fullwidth container */
@@ -1338,8 +1309,6 @@ interface TableProps extends React$1.TableHTMLAttributes<HTMLTableElement> {
1338
1309
  /** rows to print out in the table. */
1339
1310
  rows: TableRow[];
1340
1311
  className?: string;
1341
- /** Sets color scheme */
1342
- colorScheme?: "dark" | "light";
1343
1312
  }
1344
1313
  declare const Table: React$1.FC<TableProps>;
1345
1314
 
@@ -1385,7 +1354,6 @@ interface TooltipProps extends React$1.HTMLAttributes<HTMLElement> {
1385
1354
  /** Additional CSS classes */
1386
1355
  className?: string;
1387
1356
  children?: React$1.ReactNode;
1388
- colorScheme?: "dark" | "light";
1389
1357
  }
1390
1358
  declare const Tooltip: React$1.FC<TooltipProps>;
1391
1359
 
@@ -1445,7 +1413,6 @@ interface TestimonialProps {
1445
1413
  }
1446
1414
  declare const Testimonial: React$1.FC<TestimonialProps>;
1447
1415
 
1448
- type HeroBackground = "white" | "black" | "gray";
1449
1416
  type HeroTextSize = "medium" | "large";
1450
1417
  type StickerColor = "black" | "orange";
1451
1418
  interface HeroImageSrc {
@@ -1477,8 +1444,6 @@ interface HeroStickerProps {
1477
1444
  className?: string;
1478
1445
  }
1479
1446
  interface HeroProps {
1480
- /** Background spanning whole viewport width */
1481
- colorScheme?: HeroBackground;
1482
1447
  /** Action button props */
1483
1448
  button?: HeroButtonProps;
1484
1449
  /** Main text */
@@ -18,8 +18,6 @@ interface AlertProps extends React.HTMLAttributes<HTMLDivElement> {
18
18
  /** Type of alert, sets icon and color */
19
19
  type?: AlertType;
20
20
  className?: string;
21
- /** Sets Alert to use specific color scheme */
22
- colorScheme?: "dark" | "light";
23
21
  }
24
22
  declare const Alert: React.FC<AlertProps>;
25
23
  export { Alert };
@@ -7,11 +7,10 @@ interface AnchorNavigationItem {
7
7
  interface AnchorNavigationProps {
8
8
  items: AnchorNavigationItem[];
9
9
  className?: string;
10
- colorScheme?: "light" | "dark";
11
10
  children?: React.ReactNode;
12
11
  }
13
12
  declare const AnchorNavigation: {
14
- ({ items, className, colorScheme, children, ...other }: AnchorNavigationProps): import("react/jsx-runtime").JSX.Element;
13
+ ({ items, className, children, ...other }: AnchorNavigationProps): import("react/jsx-runtime").JSX.Element;
15
14
  displayName: string;
16
15
  };
17
16
  export { AnchorNavigation };
@@ -3,6 +3,8 @@ export interface BlockActionProps {
3
3
  /** 1 and only one single element */
4
4
  children: ReactElement;
5
5
  className?: string;
6
+ /** Add border on hover */
7
+ hasBorderOnHover?: boolean;
6
8
  [key: string]: any;
7
9
  }
8
10
  declare const BlockAction: React.FC<BlockActionProps>;
@@ -4,10 +4,12 @@ interface ContextType {
4
4
  isActive: boolean;
5
5
  setIsActive: Dispatch<SetStateAction<boolean>>;
6
6
  setIsIndicating: Dispatch<SetStateAction<boolean>>;
7
+ hasBorderOnHover?: boolean;
7
8
  }
8
9
  export declare const Context: React.Context<ContextType>;
9
10
  interface ProviderProps {
10
11
  children: ReactNode;
12
+ hasBorderOnHover?: boolean;
11
13
  }
12
14
  export declare const Provider: React.FC<ProviderProps>;
13
15
  export {};
@@ -7,8 +7,6 @@ interface BreadcrumbItemData {
7
7
  interface BreadcrumbsProps {
8
8
  /** Additional CSS classes */
9
9
  className?: string;
10
- /** Use white breadcrumbs on dark background */
11
- colorScheme?: "dark" | "light";
12
10
  /** Breadcrumb items */
13
11
  items: BreadcrumbItemData[];
14
12
  /** Navigation label */
@@ -7,7 +7,6 @@ interface CommonProps {
7
7
  isActive?: boolean;
8
8
  isDefault?: boolean;
9
9
  isDisabled?: boolean;
10
- colorScheme?: "dark" | "light";
11
10
  isSquare?: boolean;
12
11
  size?: ButtonSize;
13
12
  type?: ButtonType;
@@ -1,3 +1,4 @@
1
1
  export { Card } from "./Card";
2
+ export type { CardColor } from "./Card";
2
3
  export { CardSection } from "./CardSection";
3
4
  export { CardProductHeader } from "./CardProductHeader";
@@ -2,8 +2,6 @@ import React, { ReactNode, HTMLAttributes } from "react";
2
2
  interface CarouselProps extends HTMLAttributes<HTMLDivElement> {
3
3
  /** Swiper.js (https://swiperjs.com/) options object */
4
4
  swiperOptions?: Record<string, any>;
5
- /** Inverse colors */
6
- colorScheme?: "light" | "dark";
7
5
  /** Carousel items */
8
6
  items: ReactNode[];
9
7
  /** Always show scrollbar and hide dots */
@@ -7,7 +7,6 @@ interface TabItem {
7
7
  interface CarouselHeroProps {
8
8
  className?: string;
9
9
  swiperOptions?: Record<string, any>;
10
- colorScheme?: "light" | "dark";
11
10
  children?: ReactNode;
12
11
  tabs?: TabItem[];
13
12
  interval?: number;
@@ -2,7 +2,6 @@ import React, { ReactNode } from "react";
2
2
  interface CarouselPromotionsProps {
3
3
  className?: string;
4
4
  swiperOptions?: Record<string, any>;
5
- colorScheme?: "light" | "dark";
6
5
  children?: ReactNode;
7
6
  [key: string]: any;
8
7
  }
@@ -3,7 +3,6 @@ interface IControlsProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
3
3
  elemRef?: React.Ref<any>;
4
4
  icon: string;
5
5
  className?: string;
6
- colorScheme?: "dark" | "light";
7
6
  isDisabled?: boolean;
8
7
  }
9
8
  type NativeButtonProps = IControlsProps & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, keyof IControlsProps | "href" | "ref"> & {
@@ -1,8 +1,5 @@
1
1
  import React from "react";
2
2
  interface ExpanderProps {
3
- /** Inverse buttons for dark backgrounds */
4
- /** Dark theme */
5
- colorScheme?: "light" | "dark";
6
3
  /** Custom summary text renderer. Passes props as function parameter. */
7
4
  renderSummary?: (props: ExpanderProps) => React.ReactNode;
8
5
  /** Custom summary text renderer when details are opened. Passes props as function parameter. */
@@ -1,7 +1,5 @@
1
1
  import React from "react";
2
2
  interface AccordionProps {
3
- /** Color scheme for whole FeatureAccordion */
4
- colorScheme?: "light" | "dark" | "white";
5
3
  /** Additional CSS classes */
6
4
  className?: string;
7
5
  }
@@ -10,7 +10,6 @@ export interface InputStepperProps {
10
10
  id: string;
11
11
  inputClassName?: string;
12
12
  isDisabled?: boolean;
13
- colorScheme?: "light" | "dark";
14
13
  name?: string;
15
14
  nonEditableInput?: boolean;
16
15
  className?: string;
@@ -1,5 +1,4 @@
1
1
  import React from "react";
2
- export type HeroBackground = "white" | "black" | "gray";
3
2
  export type HeroTextSize = "medium" | "large";
4
3
  export type StickerColor = "black" | "orange";
5
4
  export interface HeroImageSrc {
@@ -31,8 +30,6 @@ export interface HeroStickerProps {
31
30
  className?: string;
32
31
  }
33
32
  export interface HeroProps {
34
- /** Background spanning whole viewport width */
35
- colorScheme?: HeroBackground;
36
33
  /** Action button props */
37
34
  button?: HeroButtonProps;
38
35
  /** Main text */