@citygross/components 0.7.83 → 0.7.85

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 (158) hide show
  1. package/build/@types/components/BackButton/BackButton.d.ts +1 -0
  2. package/build/@types/components/BackgroundImage/BackgroundImage.d.ts +1 -0
  3. package/build/@types/components/BoxArrow/BoxArrow.d.ts +1 -0
  4. package/build/@types/components/Button/Button.d.ts +2 -1
  5. package/build/@types/components/Button/IconButton.d.ts +1 -0
  6. package/build/@types/components/CartItemSummary/CartItemSummary.d.ts +1 -0
  7. package/build/@types/components/CartItemSummary/CartItemSummary.styles.d.ts +1 -0
  8. package/build/@types/components/CartSummary/CartSummary.d.ts +1 -0
  9. package/build/@types/components/Chips/Chip.d.ts +1 -0
  10. package/build/@types/components/Chips/Chip.styles.d.ts +1 -1
  11. package/build/@types/components/DotIndicator/DotIndicator.d.ts +1 -0
  12. package/build/@types/components/Dropdown/Dropdown.stories.d.ts +1 -0
  13. package/build/@types/components/FormElements/Input/Input.d.ts +1 -0
  14. package/build/@types/components/FormElements/TextArea/TextArea.d.ts +1 -0
  15. package/build/@types/components/Header/Header.stories.d.ts +1 -0
  16. package/build/@types/components/HeaderLink/HeaderLink.d.ts +1 -0
  17. package/build/@types/components/HeaderLink/HeaderLink.stories.d.ts +1 -0
  18. package/build/@types/components/HighlightBox/HighlightBox.d.ts +1 -0
  19. package/build/@types/components/IconText/IconText.stories.d.ts +1 -0
  20. package/build/@types/components/IconToolTip/IconToolTip.d.ts +1 -0
  21. package/build/@types/components/IconToolTip/IconToolTip.stories.d.ts +1 -0
  22. package/build/@types/components/ListItem/ListItem.d.ts +2 -1
  23. package/build/@types/components/ListItem/ListItem.styles.d.ts +5 -2
  24. package/build/@types/components/Logo/Logo.d.ts +1 -0
  25. package/build/@types/components/Logo/Logo.stories.d.ts +1 -0
  26. package/build/@types/components/MobileTable/MobileTable.stories.d.ts +1 -0
  27. package/build/@types/components/Nav/Nav.d.ts +3 -1
  28. package/build/@types/components/Nav/Nav.stories.d.ts +2 -1
  29. package/build/@types/components/NavMainLink/NavMainLink.stories.d.ts +1 -0
  30. package/build/@types/components/Pagination/Pagination.d.ts +1 -0
  31. package/build/@types/components/PriceTag/PriceTag.d.ts +7 -0
  32. package/build/@types/components/PriceTag/PriceTag.stories.d.ts +11 -0
  33. package/build/@types/components/PriceTag/PriceTag.styles.d.ts +7 -0
  34. package/build/@types/components/ProgressBar/ProgressBar.d.ts +1 -0
  35. package/build/@types/components/QuantitySelector/QuantitySelector.d.ts +1 -0
  36. package/build/@types/components/RadioBox/RadioBoxList.styles.d.ts +1 -1
  37. package/build/@types/components/RadioListItem/RadioListItem.d.ts +1 -0
  38. package/build/@types/components/RadioListItem/RadioListItem.styles.d.ts +1 -1
  39. package/build/@types/components/SearchBar/SearchBar.stories.d.ts +1 -0
  40. package/build/@types/components/SearchListItem/SearchListItem.d.ts +14 -0
  41. package/build/@types/components/SearchListItem/SearchListItem.stories.d.ts +11 -0
  42. package/build/@types/components/SearchListItem/SearchListItem.styles.d.ts +4 -0
  43. package/build/@types/components/Slider/Slider.stories.d.ts +1 -0
  44. package/build/@types/components/Spinner/Spinner.d.ts +1 -0
  45. package/build/@types/components/Spinner/Spinner.stories.d.ts +1 -0
  46. package/build/@types/components/StepperMobile/StepperMobile.d.ts +1 -0
  47. package/build/@types/components/Table/Table.stories.d.ts +1 -0
  48. package/build/@types/components/Timeline/Timeline.d.ts +1 -0
  49. package/build/@types/components/Timeline/Timeline.styles.d.ts +1 -0
  50. package/build/@types/components/Typography/bodyText.stories.d.ts +1 -1
  51. package/build/@types/components/Typography/h1.stories.d.ts +1 -0
  52. package/build/@types/components/Typography/h2.stories.d.ts +1 -0
  53. package/build/@types/components/Typography/h3.stories.d.ts +1 -0
  54. package/build/@types/containers/TwoColumnsContainer/TwoColumnsPageContainer.stories.d.ts +1 -0
  55. package/build/@types/utils/test-utils.d.ts +1 -1
  56. package/build/cjs/components/src/components/AlertBox/AlertBox.styles.js +1 -1
  57. package/build/cjs/components/src/components/BackgroundImage/BackgroundImage.styles.js +2 -2
  58. package/build/cjs/components/src/components/Badge/Badge.styles.js +2 -2
  59. package/build/cjs/components/src/components/Box/Box.styles.js +1 -1
  60. package/build/cjs/components/src/components/BoxArrow/BoxArrow.styles.js +2 -2
  61. package/build/cjs/components/src/components/Button/Button.js +1 -0
  62. package/build/cjs/components/src/components/Button/Button.js.map +1 -1
  63. package/build/cjs/components/src/components/Button/Button.styles.js +19 -17
  64. package/build/cjs/components/src/components/Button/Button.styles.js.map +1 -1
  65. package/build/cjs/components/src/components/CartItemSummary/CartItemSummary.js +2 -2
  66. package/build/cjs/components/src/components/CartSummary/CartSummary.styles.js +1 -1
  67. package/build/cjs/components/src/components/Chips/Chip.styles.js +1 -1
  68. package/build/cjs/components/src/components/Collapsable/Collapsable.styles.js +1 -1
  69. package/build/cjs/components/src/components/DateBox/DateBox.styles.js +1 -1
  70. package/build/cjs/components/src/components/DeliveryTimeBlock/DeliveryTimeBlock.js +1 -1
  71. package/build/cjs/components/src/components/DotIndicator/DotIndicator.styles.js +1 -1
  72. package/build/cjs/components/src/components/FormControl/FormControl.styles.js +1 -1
  73. package/build/cjs/components/src/components/FormElements/Input/Input.styles.js +2 -2
  74. package/build/cjs/components/src/components/FormElements/Radio/Radio.styles.js +1 -1
  75. package/build/cjs/components/src/components/FormElements/TextArea/TextArea.styles.js +1 -1
  76. package/build/cjs/components/src/components/FormGroup/FormGroup.styles.js +1 -1
  77. package/build/cjs/components/src/components/GridContainer/GridContainer.styles.js +1 -1
  78. package/build/cjs/components/src/components/HeaderLink/HeaderLink.styles.js +1 -1
  79. package/build/cjs/components/src/components/IconToolTip/IconToolTip.styles.js +2 -2
  80. package/build/cjs/components/src/components/InfoTextBlock/InfoTextBlock.styles.js +3 -3
  81. package/build/cjs/components/src/components/ListItem/ListItem.js +3 -3
  82. package/build/cjs/components/src/components/ListItem/ListItem.styles.js +5 -5
  83. package/build/cjs/components/src/components/ListItemWithRadio/ListItemWithRadio.js +1 -1
  84. package/build/cjs/components/src/components/Menu/Menu.styles.js +1 -1
  85. package/build/cjs/components/src/components/Modal/Modal.styles.js +1 -1
  86. package/build/cjs/components/src/components/Nav/Nav.js +8 -10
  87. package/build/cjs/components/src/components/Nav/Nav.js.map +1 -1
  88. package/build/cjs/components/src/components/Nav/Nav.styles.js +1 -1
  89. package/build/cjs/components/src/components/NavMainLink/NavMainLink.styled.js +1 -1
  90. package/build/cjs/components/src/components/RadioBox/RadioBoxItem.styles.js +2 -2
  91. package/build/cjs/components/src/components/RadioBox/RadioBoxList.styles.js +2 -2
  92. package/build/cjs/components/src/components/RadioGroup/RadioGroup.styles.js +1 -1
  93. package/build/cjs/components/src/components/RadioListItem/RadioListItem.styles.js +2 -2
  94. package/build/cjs/components/src/components/SearchBar/SearchBar.styles.js +2 -2
  95. package/build/cjs/components/src/components/Select/Select.styles.js +1 -1
  96. package/build/cjs/components/src/components/Stepper/Stepper.styles.js +3 -3
  97. package/build/cjs/components/src/components/StepperMobile/StepperMobile.styles.js +1 -1
  98. package/build/cjs/components/src/components/Table/Table.styles.js +6 -6
  99. package/build/cjs/components/src/components/Timeline/Timeline.js +4 -4
  100. package/build/cjs/components/src/components/Timeline/Timeline.styles.js +1 -1
  101. package/build/cjs/components/src/containers/PageContainer/PageContainer.styles.js +1 -1
  102. package/build/cjs/components/src/containers/TwoColumnsContainer/TwoColumnsPageContainer.styles.js +1 -1
  103. package/build/cjs/design-tokens/build/index.js +4 -0
  104. package/build/cjs/design-tokens/build/index.js.map +1 -1
  105. package/build/cjs/utils/build/index.js +713 -557
  106. package/build/cjs/utils/build/index.js.map +1 -1
  107. package/build/es/components/src/components/AlertBox/AlertBox.styles.js +1 -1
  108. package/build/es/components/src/components/BackgroundImage/BackgroundImage.styles.js +2 -2
  109. package/build/es/components/src/components/Badge/Badge.styles.js +2 -2
  110. package/build/es/components/src/components/Box/Box.styles.js +1 -1
  111. package/build/es/components/src/components/BoxArrow/BoxArrow.styles.js +2 -2
  112. package/build/es/components/src/components/Button/Button.js +1 -0
  113. package/build/es/components/src/components/Button/Button.js.map +1 -1
  114. package/build/es/components/src/components/Button/Button.styles.js +19 -17
  115. package/build/es/components/src/components/Button/Button.styles.js.map +1 -1
  116. package/build/es/components/src/components/CartItemSummary/CartItemSummary.js +2 -2
  117. package/build/es/components/src/components/CartSummary/CartSummary.styles.js +1 -1
  118. package/build/es/components/src/components/Chips/Chip.styles.js +1 -1
  119. package/build/es/components/src/components/Collapsable/Collapsable.styles.js +1 -1
  120. package/build/es/components/src/components/DateBox/DateBox.styles.js +1 -1
  121. package/build/es/components/src/components/DeliveryTimeBlock/DeliveryTimeBlock.js +1 -1
  122. package/build/es/components/src/components/DotIndicator/DotIndicator.styles.js +1 -1
  123. package/build/es/components/src/components/FormControl/FormControl.styles.js +1 -1
  124. package/build/es/components/src/components/FormElements/Input/Input.styles.js +2 -2
  125. package/build/es/components/src/components/FormElements/Radio/Radio.styles.js +1 -1
  126. package/build/es/components/src/components/FormElements/TextArea/TextArea.styles.js +1 -1
  127. package/build/es/components/src/components/FormGroup/FormGroup.styles.js +1 -1
  128. package/build/es/components/src/components/GridContainer/GridContainer.styles.js +1 -1
  129. package/build/es/components/src/components/HeaderLink/HeaderLink.styles.js +1 -1
  130. package/build/es/components/src/components/IconToolTip/IconToolTip.styles.js +2 -2
  131. package/build/es/components/src/components/InfoTextBlock/InfoTextBlock.styles.js +3 -3
  132. package/build/es/components/src/components/ListItem/ListItem.js +3 -3
  133. package/build/es/components/src/components/ListItem/ListItem.styles.js +5 -5
  134. package/build/es/components/src/components/ListItemWithRadio/ListItemWithRadio.js +1 -1
  135. package/build/es/components/src/components/Menu/Menu.styles.js +1 -1
  136. package/build/es/components/src/components/Modal/Modal.styles.js +1 -1
  137. package/build/es/components/src/components/Nav/Nav.js +8 -10
  138. package/build/es/components/src/components/Nav/Nav.js.map +1 -1
  139. package/build/es/components/src/components/Nav/Nav.styles.js +1 -1
  140. package/build/es/components/src/components/NavMainLink/NavMainLink.styled.js +1 -1
  141. package/build/es/components/src/components/RadioBox/RadioBoxItem.styles.js +2 -2
  142. package/build/es/components/src/components/RadioBox/RadioBoxList.styles.js +2 -2
  143. package/build/es/components/src/components/RadioGroup/RadioGroup.styles.js +1 -1
  144. package/build/es/components/src/components/RadioListItem/RadioListItem.styles.js +2 -2
  145. package/build/es/components/src/components/SearchBar/SearchBar.styles.js +2 -2
  146. package/build/es/components/src/components/Select/Select.styles.js +1 -1
  147. package/build/es/components/src/components/Stepper/Stepper.styles.js +3 -3
  148. package/build/es/components/src/components/StepperMobile/StepperMobile.styles.js +1 -1
  149. package/build/es/components/src/components/Table/Table.styles.js +6 -6
  150. package/build/es/components/src/components/Timeline/Timeline.js +4 -4
  151. package/build/es/components/src/components/Timeline/Timeline.styles.js +1 -1
  152. package/build/es/components/src/containers/PageContainer/PageContainer.styles.js +1 -1
  153. package/build/es/components/src/containers/TwoColumnsContainer/TwoColumnsPageContainer.styles.js +1 -1
  154. package/build/es/design-tokens/build/index.js +4 -0
  155. package/build/es/design-tokens/build/index.js.map +1 -1
  156. package/build/es/utils/build/index.js +713 -557
  157. package/build/es/utils/build/index.js.map +1 -1
  158. package/package.json +4 -4
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare type TBackButton = {
2
3
  label?: string;
3
4
  icon?: JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare type TBackgroundImage = {
2
3
  image?: JSX.Element;
3
4
  children?: JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare type TBoxArrow = {
2
3
  arrowPlacement?: 'left' | 'right';
3
4
  arrowSpacing?: number;
@@ -10,7 +10,8 @@ export declare enum ButtonColor {
10
10
  'secondary' = 1,
11
11
  'white' = 2,
12
12
  'darkest' = 3,
13
- 'lightest' = 4
13
+ 'lightest' = 4,
14
+ 'buttonGray' = 5
14
15
  }
15
16
  export declare type TButtonColor = keyof typeof ButtonColor;
16
17
  export declare type TBaseButton = styles.TButton & {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import * as styles from './Button.styles';
2
3
  import { TButtonColor } from './Button';
3
4
  export declare type TIconButton = styles.TBaseSmallButton & {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TSummaryItem } from '../CartSummary/CartSummary';
2
3
  export declare type TCartItemSummary = {
3
4
  product: TSummaryItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const CartItemSummaryWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
2
3
  export declare const CancelledWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3
4
  export declare const ItemInformationContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare type TCartSummary = {
2
3
  title?: string;
3
4
  subTitle?: string;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import * as styles from './Chip.styles';
2
3
  export declare function Chip({ label, checked, onClick, background, activeBackground, loading }: styles.TChip): JSX.Element;
@@ -14,5 +14,5 @@ export declare const ChipLabel: import("styled-components").StyledComponent<({ s
14
14
  size?: import("@citygross/typography/build/types/textTypes").TextSize | undefined;
15
15
  color?: string | undefined;
16
16
  lineThrough?: boolean | undefined;
17
- fontWeight?: "medium" | "bold" | "regular" | "semiBold" | undefined;
17
+ fontWeight?: "regular" | "medium" | "semiBold" | "bold" | undefined;
18
18
  }) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare type TDot = {
2
3
  color?: string;
3
4
  shadow?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Story } from '@storybook/react';
2
3
  declare const _default: {
3
4
  component: ({ isOpen, onClick, dropdownHeader, children }: import("./Dropdown").TDropdown) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import * as styles from './Input.styles';
2
3
  export declare function Input({ flexGrow, isValid, fontSize, inputSize, ...props }: styles.InputProps): JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import * as styles from './TextArea.styles';
2
3
  export declare function TextArea({ flexGrow, fontSize, ...props }: styles.TextAreaProps): JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Header } from './Header';
2
3
  declare const _default: {
3
4
  component: typeof Header;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare type THeaderLink = {
2
3
  linkHref: string;
3
4
  linkLabel: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { HeaderLink } from './HeaderLink';
2
3
  declare const _default: {
3
4
  component: typeof HeaderLink;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import * as styles from './HighlightBox.styles';
2
3
  export declare type THighlightBox = styles.THighlightBoxContainer & {
3
4
  children: JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Story } from '@storybook/react';
2
3
  import { TIconText } from './IconText';
3
4
  declare const _default: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare type TIconToolTip = {
2
3
  icon?: JSX.Element;
3
4
  header?: JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { IconToolTip } from './IconToolTip';
2
3
  declare const _default: {
3
4
  component: typeof IconToolTip;
@@ -14,5 +14,6 @@ export declare type TListItem = {
14
14
  boldHeader?: boolean;
15
15
  smallSkeleton?: boolean;
16
16
  isSmall?: boolean;
17
+ usedInSearch?: boolean;
17
18
  };
18
- export declare function ListItem({ item, loading, isSmall, fallBackImage, imageAutoHeight, boldHeader, smallSkeleton, children }: TListItem): JSX.Element;
19
+ export declare function ListItem({ item, loading, isSmall, fallBackImage, imageAutoHeight, boldHeader, smallSkeleton, children, usedInSearch }: TListItem): JSX.Element;
@@ -1,6 +1,9 @@
1
- export declare const ItemInformationContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
1
+ export declare type TListItem = {
2
+ usedInSearch?: boolean;
3
+ };
4
+ export declare const ItemInformationContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, TListItem, never>;
2
5
  export declare const ListItemContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3
- export declare const ListLeft: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
6
+ export declare const ListLeft: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, TListItem, never>;
4
7
  export declare const ListRight: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
5
8
  export declare type TListImageContainer = {
6
9
  isSmall?: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare type TLogo = {
2
3
  logoImage?: JSX.Element;
3
4
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Logo } from './Logo';
2
3
  declare const _default: {
3
4
  component: typeof Logo;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: {
2
3
  component: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {}, never>;
3
4
  title: string;
@@ -14,5 +14,7 @@ export declare type TNav = {
14
14
  searchValue?: string;
15
15
  searchOnSubmit?: () => void;
16
16
  onSearchClick?: () => void;
17
+ closeSearch?: () => void;
18
+ searchIsOpen?: boolean;
17
19
  };
18
- export declare const Nav: ({ logo, maxWidth, height, topPosition, mainLinks, rightContent, searchResultElement, searchCancelLabel, searchIcon, searchPlaceHolder, searchOnChange, searchValue, searchOnSubmit }: TNav) => JSX.Element;
20
+ export declare const Nav: ({ logo, maxWidth, height, topPosition, mainLinks, rightContent, searchResultElement, searchCancelLabel, searchIcon, searchPlaceHolder, searchOnChange, searchValue, searchOnSubmit, onSearchClick, closeSearch, searchIsOpen }: TNav) => JSX.Element;
@@ -1,7 +1,8 @@
1
+ /// <reference types="react" />
1
2
  import { Story } from '@storybook/react';
2
3
  import { TNav } from './Nav';
3
4
  declare const _default: {
4
- component: ({ logo, maxWidth, height, topPosition, mainLinks, rightContent, searchResultElement, searchCancelLabel, searchIcon, searchPlaceHolder, searchOnChange, searchValue, searchOnSubmit }: TNav) => JSX.Element;
5
+ component: ({ logo, maxWidth, height, topPosition, mainLinks, rightContent, searchResultElement, searchCancelLabel, searchIcon, searchPlaceHolder, searchOnChange, searchValue, searchOnSubmit, onSearchClick, closeSearch, searchIsOpen }: TNav) => JSX.Element;
5
6
  title: string;
6
7
  argTypes: {
7
8
  onScroll: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Story } from '@storybook/react';
2
3
  import { TNavMainLink } from './NavMainLink';
3
4
  declare const _default: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare type TPagination = {
2
3
  totalItems?: number;
3
4
  fetchItems: (page: number) => void;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ export declare type TPriceTag = {
3
+ splash?: string;
4
+ price: React.ReactElement;
5
+ color: string;
6
+ };
7
+ export declare const PriceTag: React.FunctionComponent<TPriceTag>;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { Story } from '@storybook/react';
3
+ import { TPriceTag } from './PriceTag';
4
+ declare const _default: {
5
+ component: React.FunctionComponent<TPriceTag>;
6
+ title: string;
7
+ };
8
+ export default _default;
9
+ export declare const Default: Story<TPriceTag>;
10
+ export declare const Sale: Story<TPriceTag>;
11
+ export declare const Prio: Story<TPriceTag>;
@@ -0,0 +1,7 @@
1
+ declare type TPriceTag = {
2
+ splash?: string;
3
+ color?: string;
4
+ };
5
+ export declare const PriceTagWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, TPriceTag, never>;
6
+ export declare const Text: import("styled-components").StyledComponent<"h1", import("styled-components").DefaultTheme, TPriceTag, never>;
7
+ export {};
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare type TProgressBar = {
2
3
  maxValue: number;
3
4
  currentValue: number;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare type TQuantitySelector = {
2
3
  onIncrement: () => void;
3
4
  onDecrement: () => void;
@@ -8,5 +8,5 @@ export declare const RadioBoxListParagraph: import("styled-components").StyledCo
8
8
  size?: import("@citygross/typography/build/types/textTypes").TextSize | undefined;
9
9
  color?: string | undefined;
10
10
  lineThrough?: boolean | undefined;
11
- fontWeight?: "medium" | "bold" | "regular" | "semiBold" | undefined;
11
+ fontWeight?: "regular" | "medium" | "semiBold" | "bold" | undefined;
12
12
  }) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TRadioColor } from '../FormElements/Radio/Radio';
2
3
  import { TDot } from '../DotIndicator/DotIndicator';
3
4
  import * as styles from './RadioListItem.styles';
@@ -23,7 +23,7 @@ export declare const DisableText: import("styled-components").StyledComponent<({
23
23
  size?: import("@citygross/typography/build/types/textTypes").TextSize | undefined;
24
24
  color?: string | undefined;
25
25
  lineThrough?: boolean | undefined;
26
- fontWeight?: "medium" | "bold" | "regular" | "semiBold" | undefined;
26
+ fontWeight?: "bold" | "regular" | "medium" | "semiBold" | undefined;
27
27
  }) => JSX.Element, import("styled-components").DefaultTheme, TWrapMobile, never>;
28
28
  export declare const RadioFlex: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, TWrapMobile, never>;
29
29
  export declare const SecondaryColumn: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Story } from '@storybook/react';
2
3
  declare const _default: {
3
4
  component: ({ flexGrow, isValid, inputSize, activeBorderColor, cancelLabel, icon, value, resultBoxTopPosition, children, inputRef, isOpen, onCancelClick, searchOnSubmit, ...props }: import("./SearchBar").TSearchBar) => JSX.Element;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { TItem } from '../ListItem/ListItem';
3
+ export declare type TSearchProductItem = {
4
+ loading?: boolean;
5
+ item: TItem;
6
+ price: React.ReactElement;
7
+ color: string;
8
+ splash?: string;
9
+ };
10
+ export declare type TSearchListItem = {
11
+ searchProductItem: TSearchProductItem;
12
+ button?: React.ReactElement;
13
+ };
14
+ export declare const SearchListItem: React.FunctionComponent<TSearchListItem>;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { Story } from '@storybook/react';
3
+ import { TSearchListItem } from './SearchListItem';
4
+ declare const _default: {
5
+ component: React.FunctionComponent<TSearchListItem>;
6
+ title: string;
7
+ };
8
+ export default _default;
9
+ export declare const Default: Story<TSearchListItem>;
10
+ export declare const SaleItem: Story<TSearchListItem>;
11
+ export declare const PrioItem: Story<TSearchListItem>;
@@ -0,0 +1,4 @@
1
+ export declare const SearchListItemWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
2
+ export declare const ListItemWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3
+ export declare const PriceTagWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
4
+ export declare const ButtonWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Story } from '@storybook/react';
2
3
  import { TSlider } from './Slider';
3
4
  declare const _default: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare type TSpinner = {
2
3
  borderColor?: string;
3
4
  spinnerColor?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Story } from '@storybook/react';
2
3
  import { TSpinner } from './Spinner';
3
4
  declare const _default: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { IStepperItem } from '../Stepper/StepperList';
2
3
  export declare type TStepperMobile = {
3
4
  steps: IStepperItem[];
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: {
2
3
  component: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {}, never>;
3
4
  title: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare type TTimelineItem = {
2
3
  primaryText: string;
3
4
  time: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare type TBaseTimelineList = {
2
3
  borderStyle: 'dashed' | 'solid';
3
4
  borderColor?: string;
@@ -7,7 +7,7 @@ declare const _default: {
7
7
  size?: import("@citygross/typography/build/types/textTypes").TextSize | undefined;
8
8
  color?: string | undefined;
9
9
  lineThrough?: boolean | undefined;
10
- fontWeight?: "medium" | "bold" | "regular" | "semiBold" | undefined;
10
+ fontWeight?: "bold" | "regular" | "medium" | "semiBold" | undefined;
11
11
  }) => JSX.Element;
12
12
  title: string;
13
13
  argTypes: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Story } from '@storybook/react';
2
3
  import { H1 } from '@citygross/typography';
3
4
  declare const _default: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Story } from '@storybook/react';
2
3
  import { H2 } from '@citygross/typography';
3
4
  declare const _default: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Story } from '@storybook/react';
2
3
  import { H3 } from '@citygross/typography';
3
4
  declare const _default: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Story } from '@storybook/react';
2
3
  import { TTwoColumnsPageContainer } from './TwoColumnsPageContainer';
3
4
  declare const _default: {
@@ -1,3 +1,3 @@
1
- declare const customRender: (ui: any, options?: any) => import("@testing-library/react").RenderResult<typeof import("@testing-library/dom/types/queries"), HTMLElement>;
1
+ declare const customRender: (ui: any, options?: any) => import("@testing-library/react").RenderResult<typeof import("@testing-library/dom/types/queries"), HTMLElement, HTMLElement>;
2
2
  export * from '@testing-library/react';
3
3
  export { customRender as render };
@@ -9,7 +9,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
9
9
 
10
10
  var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
11
11
 
12
- var AlertBox = styled__default["default"].div(templateObject_1 || (templateObject_1 = _tslib.__makeTemplateObject(["\n background: ", ";\n border-left: ", ";\n border-radius: ", ";\n box-shadow: ", ";\n padding: ", "px;\n display: flex;\n align-items: center;\n gap: ", "px;\n"], ["\n background: ", ";\n border-left: ", ";\n border-radius: ", ";\n box-shadow: ", ";\n padding: ", "px;\n display: flex;\n align-items: center;\n gap: ", "px;\n"])), function (props) { var _a; return props.background || ((_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.blueLight); }, function (props) { var _a; return ((_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.infoBlockBorderWidth) + "px solid " + props.borderColor; }, function (props) { var _a, _b; return ((_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.borderRadius.extraSmall) + "px 0 0 " + ((_b = props.theme.attributes) === null || _b === void 0 ? void 0 : _b.borderRadius.extraSmall) + "px"; }, function (props) { var _a; return (_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.boxShadow.layoutShadow; }, function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.sm; }, function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.sm; });
12
+ var AlertBox = styled__default["default"].div(templateObject_1 || (templateObject_1 = _tslib.__makeTemplateObject(["\n background: ", ";\n border-left: ", ";\n border-radius: ", ";\n box-shadow: ", ";\n padding: ", "px;\n display: flex;\n align-items: center;\n gap: ", "px;\n"], ["\n background: ", ";\n border-left: ", ";\n border-radius: ", ";\n box-shadow: ", ";\n padding: ", "px;\n display: flex;\n align-items: center;\n gap: ", "px;\n"])), function (props) { var _a; return props.background || ((_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.blueLight); }, function (props) { var _a; return "".concat((_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.infoBlockBorderWidth, "px solid ").concat(props.borderColor); }, function (props) { var _a, _b; return "".concat((_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.borderRadius.extraSmall, "px 0 0 ").concat((_b = props.theme.attributes) === null || _b === void 0 ? void 0 : _b.borderRadius.extraSmall, "px"); }, function (props) { var _a; return (_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.boxShadow.layoutShadow; }, function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.sm; }, function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.sm; });
13
13
  var IconContainer = styled__default["default"].div(templateObject_2 || (templateObject_2 = _tslib.__makeTemplateObject(["\n min-width: ", "px;\n display: flex;\n align-items: center;\n"], ["\n min-width: ", "px;\n display: flex;\n align-items: center;\n"])), function (props) { var _a; return props.minWidth || ((_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.md); });
14
14
  var templateObject_1, templateObject_2;
15
15
 
@@ -9,10 +9,10 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
9
9
 
10
10
  var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
11
11
 
12
- var BackgroundContainer = styled__default["default"].div(templateObject_1 || (templateObject_1 = _tslib.__makeTemplateObject(["\n position: relative;\n height: ", ";\n width: ", ";\n border-radius: ", "px;\n overflow: hidden;\n box-shadow: ", ";\n display: flex;\n align-items: center;\n ", "\n"], ["\n position: relative;\n height: ", ";\n width: ", ";\n border-radius: ", "px;\n overflow: hidden;\n box-shadow: ", ";\n display: flex;\n align-items: center;\n ", "\n"])), function (props) { return (props.height ? props.height + "px" : 'auto'); }, function (props) { return (props.height ? props.width + "px" : 'auto'); }, function (props) { var _a; return (_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.borderRadius.extraSmall; }, function (props) { var _a; return (_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.boxShadow.layoutShadow; }, function (props) {
12
+ var BackgroundContainer = styled__default["default"].div(templateObject_1 || (templateObject_1 = _tslib.__makeTemplateObject(["\n position: relative;\n height: ", ";\n width: ", ";\n border-radius: ", "px;\n overflow: hidden;\n box-shadow: ", ";\n display: flex;\n align-items: center;\n ", "\n"], ["\n position: relative;\n height: ", ";\n width: ", ";\n border-radius: ", "px;\n overflow: hidden;\n box-shadow: ", ";\n display: flex;\n align-items: center;\n ", "\n"])), function (props) { return (props.height ? "".concat(props.height, "px") : 'auto'); }, function (props) { return (props.height ? "".concat(props.width, "px") : 'auto'); }, function (props) { var _a; return (_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.borderRadius.extraSmall; }, function (props) { var _a; return (_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.boxShadow.layoutShadow; }, function (props) {
13
13
  var _a;
14
14
  return props.onClick &&
15
- " \n cursor: pointer;\n &:hover {\n box-shadow: " + ((_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.boxShadow.buttonHover) + ";\n }";
15
+ " \n cursor: pointer;\n &:hover {\n box-shadow: ".concat((_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.boxShadow.buttonHover, ";\n }");
16
16
  });
17
17
  var BackgroundImgContainer = styled__default["default"].div(templateObject_2 || (templateObject_2 = _tslib.__makeTemplateObject(["\n width: 100%;\n height: 100%;\n position: absolute;\n"], ["\n width: 100%;\n height: 100%;\n position: absolute;\n"])));
18
18
  var BackgroundGradient = styled__default["default"].div(templateObject_3 || (templateObject_3 = _tslib.__makeTemplateObject(["\n width: 100%;\n height: 100%;\n background-color: ", ";\n opacity: ", ";\n z-index: 1;\n position: absolute;\n top: 0;\n"], ["\n width: 100%;\n height: 100%;\n background-color: ", ";\n opacity: ", ";\n z-index: 1;\n position: absolute;\n top: 0;\n"])), function (props) { var _a; return (_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.black; }, function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.BackgroundOverlayOpacity; });
@@ -12,9 +12,9 @@ var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
12
12
  var BaseBadge = styled__default["default"].span(templateObject_1 || (templateObject_1 = _tslib.__makeTemplateObject(["\n display: inline-flex;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n border: ", ";\n width: ", ";\n min-width: ", ";\n height: ", ";\n background-color: ", ";\n color: ", ";\n font-size: ", "px;\n padding-top: 2px;\n"], ["\n display: inline-flex;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n border: ", ";\n width: ", ";\n min-width: ", ";\n height: ", ";\n background-color: ", ";\n color: ", ";\n font-size: ", "px;\n padding-top: 2px;\n"])), function (props) {
13
13
  var _a, _b, _c, _d;
14
14
  return props.borderColor && props.borderColor !== 'none'
15
- ? "1px solid " + props.borderColor
15
+ ? "1px solid ".concat(props.borderColor)
16
16
  : props.background === ((_b = (_a = props === null || props === void 0 ? void 0 : props.theme) === null || _a === void 0 ? void 0 : _a.palette) === null || _b === void 0 ? void 0 : _b.white)
17
- ? "1px solid " + ((_d = (_c = props === null || props === void 0 ? void 0 : props.theme) === null || _c === void 0 ? void 0 : _c.palette) === null || _d === void 0 ? void 0 : _d.light)
17
+ ? "1px solid ".concat((_d = (_c = props === null || props === void 0 ? void 0 : props.theme) === null || _c === void 0 ? void 0 : _c.palette) === null || _d === void 0 ? void 0 : _d.light)
18
18
  : 'none';
19
19
  }, function (props) { return props.width; }, function (props) { return props.width; }, function (props) { return props.height; }, function (props) { return props.background; }, function (props) { return props.color; }, function (props) { var _a, _b, _c; return (_c = (_b = (_a = props === null || props === void 0 ? void 0 : props.theme) === null || _a === void 0 ? void 0 : _a.typography) === null || _b === void 0 ? void 0 : _b.size) === null || _c === void 0 ? void 0 : _c.s2; });
20
20
  var templateObject_1;
@@ -9,7 +9,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
9
9
 
10
10
  var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
11
11
 
12
- var BoxContainer = styled__default["default"].div(templateObject_1 || (templateObject_1 = _tslib.__makeTemplateObject(["\n padding: ", "px;\n background: ", ";\n border-radius: ", ";\n @media (min-width: ", "px) {\n padding: ", "px;\n }\n\n ", ";\n"], ["\n padding: ", "px;\n background: ", ";\n border-radius: ", ";\n @media (min-width: ", "px) {\n padding: ", "px;\n }\n\n ", ";\n"])), function (props) { var _a, _b; return (_b = (_a = props === null || props === void 0 ? void 0 : props.theme) === null || _a === void 0 ? void 0 : _a.spacings) === null || _b === void 0 ? void 0 : _b.md; }, function (props) { return props.background; }, function (props) { return (props.rounded ? '5px' : '0'); }, function (props) { var _a, _b; return (_b = (_a = props === null || props === void 0 ? void 0 : props.theme) === null || _a === void 0 ? void 0 : _a.breakpoints) === null || _b === void 0 ? void 0 : _b.lg; }, function (props) { var _a, _b; return props.padding ? props.padding : (_b = (_a = props === null || props === void 0 ? void 0 : props.theme) === null || _a === void 0 ? void 0 : _a.spacings) === null || _b === void 0 ? void 0 : _b.lg; }, function (props) { return props.padding && "padding: " + props.padding + "px"; });
12
+ var BoxContainer = styled__default["default"].div(templateObject_1 || (templateObject_1 = _tslib.__makeTemplateObject(["\n padding: ", "px;\n background: ", ";\n border-radius: ", ";\n @media (min-width: ", "px) {\n padding: ", "px;\n }\n\n ", ";\n"], ["\n padding: ", "px;\n background: ", ";\n border-radius: ", ";\n @media (min-width: ", "px) {\n padding: ", "px;\n }\n\n ", ";\n"])), function (props) { var _a, _b; return (_b = (_a = props === null || props === void 0 ? void 0 : props.theme) === null || _a === void 0 ? void 0 : _a.spacings) === null || _b === void 0 ? void 0 : _b.md; }, function (props) { return props.background; }, function (props) { return (props.rounded ? '5px' : '0'); }, function (props) { var _a, _b; return (_b = (_a = props === null || props === void 0 ? void 0 : props.theme) === null || _a === void 0 ? void 0 : _a.breakpoints) === null || _b === void 0 ? void 0 : _b.lg; }, function (props) { var _a, _b; return props.padding ? props.padding : (_b = (_a = props === null || props === void 0 ? void 0 : props.theme) === null || _a === void 0 ? void 0 : _a.spacings) === null || _b === void 0 ? void 0 : _b.lg; }, function (props) { return props.padding && "padding: ".concat(props.padding, "px"); });
13
13
  var templateObject_1;
14
14
 
15
15
  exports.BoxContainer = BoxContainer;
@@ -13,8 +13,8 @@ var BoxArrowContainer = styled__default["default"].div(templateObject_1 || (temp
13
13
  return props.placement === 'right' ? 'flex-end' : 'flex-start';
14
14
  }, function (props) {
15
15
  return props.placement && props.placement === 'right'
16
- ? "margin-right: " + props.margin + "px"
17
- : "margin-left: " + props.margin + "px";
16
+ ? "margin-right: ".concat(props.margin, "px")
17
+ : "margin-left: ".concat(props.margin, "px");
18
18
  });
19
19
  var templateObject_1;
20
20
 
@@ -23,6 +23,7 @@ exports.ButtonColor = void 0;
23
23
  ButtonColor[ButtonColor["white"] = 2] = "white";
24
24
  ButtonColor[ButtonColor["darkest"] = 3] = "darkest";
25
25
  ButtonColor[ButtonColor["lightest"] = 4] = "lightest";
26
+ ButtonColor[ButtonColor["buttonGray"] = 5] = "buttonGray";
26
27
  })(exports.ButtonColor || (exports.ButtonColor = {}));
27
28
  function Button(_a) {
28
29
  var _b;
@@ -1 +1 @@
1
- {"version":3,"file":"Button.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Button.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -73,36 +73,38 @@ var BaseButton = styled__default["default"].button(templateObject_1 || (template
73
73
  var BasePrimaryButton = styled__default["default"](BaseButton)(templateObject_2 || (templateObject_2 = _tslib.__makeTemplateObject(["\n /* TypoGraphy */\n\n font-size: ", ";\n line-height: ", ";\n\n /* shadow */\n\n box-shadow: ", ";\n\n /* Padding */\n\n padding: ", ";\n\n @media (min-width: ", "px) {\n font-size: ", ";\n\n padding: ", ";\n\n box-shadow: ", ";\n }\n"], ["\n /* TypoGraphy */\n\n font-size: ", ";\n line-height: ", ";\n\n /* shadow */\n\n box-shadow: ", ";\n\n /* Padding */\n\n padding: ", ";\n\n @media (min-width: ", "px) {\n font-size: ", ";\n\n padding: ", ";\n\n box-shadow: ", ";\n }\n"])), function (props) { return ButtonFontSize(props.xsSize || props.size); }, function (props) {
74
74
  var _a, _b;
75
75
  return props.size === 'small'
76
- ? ((_a = props.theme.typography) === null || _a === void 0 ? void 0 : _a.lineHeight.s2) + "px"
77
- : ((_b = props.theme.typography) === null || _b === void 0 ? void 0 : _b.lineHeight.m1) + "px";
76
+ ? "".concat((_a = props.theme.typography) === null || _a === void 0 ? void 0 : _a.lineHeight.s2, "px")
77
+ : "".concat((_b = props.theme.typography) === null || _b === void 0 ? void 0 : _b.lineHeight.m1, "px");
78
78
  }, function (props) {
79
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
79
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
80
80
  return props.selected
81
- ? " inset 0px 0px 0px 1px " + ((_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.blueMedium) + ",\n " + ((_b = props.theme.attributes) === null || _b === void 0 ? void 0 : _b.boxShadow.buttonHover)
81
+ ? " inset 0px 0px 0px 1px ".concat((_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.blueMedium, ",\n ").concat((_b = props.theme.attributes) === null || _b === void 0 ? void 0 : _b.boxShadow.buttonHover)
82
82
  : props.xsSize ||
83
83
  (props.size &&
84
84
  (props.color === ((_d = (_c = props === null || props === void 0 ? void 0 : props.theme) === null || _c === void 0 ? void 0 : _c.palette) === null || _d === void 0 ? void 0 : _d.primary) ||
85
- props.color === ((_f = (_e = props === null || props === void 0 ? void 0 : props.theme) === null || _e === void 0 ? void 0 : _e.palette) === null || _f === void 0 ? void 0 : _f.secondary)))
85
+ props.color === ((_f = (_e = props === null || props === void 0 ? void 0 : props.theme) === null || _e === void 0 ? void 0 : _e.palette) === null || _f === void 0 ? void 0 : _f.secondary) ||
86
+ props.color === ((_h = (_g = props === null || props === void 0 ? void 0 : props.theme) === null || _g === void 0 ? void 0 : _g.palette) === null || _h === void 0 ? void 0 : _h.buttonGray)))
86
87
  ? ButtonShadow(props.xsSize || props.size)
87
- : props.color === ((_h = (_g = props === null || props === void 0 ? void 0 : props.theme) === null || _g === void 0 ? void 0 : _g.palette) === null || _h === void 0 ? void 0 : _h.white) ||
88
- props.color === ((_k = (_j = props === null || props === void 0 ? void 0 : props.theme) === null || _j === void 0 ? void 0 : _j.palette) === null || _k === void 0 ? void 0 : _k.lightest)
89
- ? "inset 0px 0px 0px 1px " + ((_l = props.theme.palette) === null || _l === void 0 ? void 0 : _l.medium)
88
+ : props.color === ((_k = (_j = props === null || props === void 0 ? void 0 : props.theme) === null || _j === void 0 ? void 0 : _j.palette) === null || _k === void 0 ? void 0 : _k.white) ||
89
+ props.color === ((_m = (_l = props === null || props === void 0 ? void 0 : props.theme) === null || _l === void 0 ? void 0 : _l.palette) === null || _m === void 0 ? void 0 : _m.lightest)
90
+ ? "inset 0px 0px 0px 1px ".concat((_o = props.theme.palette) === null || _o === void 0 ? void 0 : _o.medium)
90
91
  : 'none';
91
92
  }, function (props) {
92
93
  return ButtonPadding(props.xsSize || props.size, props.icon, props.flexReverse);
93
94
  }, function (props) { var _a; return (_a = props.theme.breakpoints) === null || _a === void 0 ? void 0 : _a.xs; }, function (props) { return ButtonFontSize(props.size); }, function (props) {
94
95
  return ButtonPadding(props.size, props.icon, props.flexReverse);
95
96
  }, function (props) {
96
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
97
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
97
98
  return props.selected
98
- ? " inset 0px 0px 0px 1px " + ((_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.blueMedium) + ",\n " + ((_b = props.theme.attributes) === null || _b === void 0 ? void 0 : _b.boxShadow.buttonHover)
99
+ ? " inset 0px 0px 0px 1px ".concat((_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.blueMedium, ",\n ").concat((_b = props.theme.attributes) === null || _b === void 0 ? void 0 : _b.boxShadow.buttonHover)
99
100
  : props.size &&
100
101
  (props.color === ((_d = (_c = props === null || props === void 0 ? void 0 : props.theme) === null || _c === void 0 ? void 0 : _c.palette) === null || _d === void 0 ? void 0 : _d.primary) ||
101
- props.color === ((_f = (_e = props === null || props === void 0 ? void 0 : props.theme) === null || _e === void 0 ? void 0 : _e.palette) === null || _f === void 0 ? void 0 : _f.secondary))
102
+ props.color === ((_f = (_e = props === null || props === void 0 ? void 0 : props.theme) === null || _e === void 0 ? void 0 : _e.palette) === null || _f === void 0 ? void 0 : _f.secondary) ||
103
+ props.color === ((_h = (_g = props === null || props === void 0 ? void 0 : props.theme) === null || _g === void 0 ? void 0 : _g.palette) === null || _h === void 0 ? void 0 : _h.buttonGray))
102
104
  ? ButtonShadow(props.size)
103
- : props.color === ((_h = (_g = props === null || props === void 0 ? void 0 : props.theme) === null || _g === void 0 ? void 0 : _g.palette) === null || _h === void 0 ? void 0 : _h.white) ||
104
- props.color === ((_k = (_j = props === null || props === void 0 ? void 0 : props.theme) === null || _j === void 0 ? void 0 : _j.palette) === null || _k === void 0 ? void 0 : _k.lightest)
105
- ? "inset 0px 0px 0px 1px " + ((_l = props.theme.palette) === null || _l === void 0 ? void 0 : _l.medium)
105
+ : props.color === ((_k = (_j = props === null || props === void 0 ? void 0 : props.theme) === null || _j === void 0 ? void 0 : _j.palette) === null || _k === void 0 ? void 0 : _k.white) ||
106
+ props.color === ((_m = (_l = props === null || props === void 0 ? void 0 : props.theme) === null || _l === void 0 ? void 0 : _l.palette) === null || _m === void 0 ? void 0 : _m.lightest)
107
+ ? "inset 0px 0px 0px 1px ".concat((_o = props.theme.palette) === null || _o === void 0 ? void 0 : _o.medium)
106
108
  : 'none';
107
109
  });
108
110
  var ButtonChildContainer = styled__default["default"].div(templateObject_3 || (templateObject_3 = _tslib.__makeTemplateObject(["\n display: flex;\n flex-direction: ", ";\n width: 100%;\n gap: ", "px;\n align-items: center;\n justify-content: center;\n flex-wrap: ", ";\n"], ["\n display: flex;\n flex-direction: ", ";\n width: 100%;\n gap: ", "px;\n align-items: center;\n justify-content: center;\n flex-wrap: ", ";\n"])), function (props) { return (props.flexReverse ? 'row-reverse' : 'row'); }, function (props) {
@@ -119,18 +121,18 @@ var LoadingSpinner = styled__default["default"](Spinner.Spinner)(templateObject_
119
121
  var BaseIconButton = styled__default["default"](BaseButton)(templateObject_7 || (templateObject_7 = _tslib.__makeTemplateObject(["\n padding: ", "px;\n border-radius: 50%;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n margin: 0;\n height: ", "px;\n width: ", "px;\n min-width: ", "px;\n ", ";\n\n &::after {\n border-radius: 50%;\n box-shadow: ", ";\n }\n &::before {\n border-radius: 50%;\n }\n"], ["\n padding: ", "px;\n border-radius: 50%;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n margin: 0;\n height: ", "px;\n width: ", "px;\n min-width: ", "px;\n ", ";\n\n &::after {\n border-radius: 50%;\n box-shadow: ", ";\n }\n &::before {\n border-radius: 50%;\n }\n"])), function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.xxs; }, function (props) { return props.height || 32; }, function (props) { return props.width || 32; }, function (props) { return props.width || 32; }, function (props) {
120
122
  var _a;
121
123
  return props.shadow && props.border
122
- ? "box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.15), inset 0px 0px 0px 1px " + ((_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.medium)
124
+ ? "box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.15), inset 0px 0px 0px 1px ".concat((_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.medium)
123
125
  : props.shadow
124
126
  ? 'box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.15)'
125
127
  : props.border
126
- ? "box-shadow: inset 0px 0px 0px 1px " + props.border
128
+ ? "box-shadow: inset 0px 0px 0px 1px ".concat(props.border)
127
129
  : '';
128
130
  }, function (props) { var _a, _b; return (_b = (_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.boxShadow) === null || _b === void 0 ? void 0 : _b.iconButtonHover; });
129
131
  var BasePaginationButton = styled__default["default"](BaseButton)(templateObject_8 || (templateObject_8 = _tslib.__makeTemplateObject(["\n height: ", "px;\n width: ", "px;\n min-width: ", "px;\n text-align: center;\n ", ";\n display: inline-flex;\n align-items: center;\n justify-content: center;\n"], ["\n height: ", "px;\n width: ", "px;\n min-width: ", "px;\n text-align: center;\n ", ";\n display: inline-flex;\n align-items: center;\n justify-content: center;\n"])), function (props) { return props.height || 36; }, function (props) { return props.width || 36; }, function (props) { return props.width || 36; }, function (props) {
130
132
  var _a, _b, _c;
131
133
  return props.color !== ((_b = (_a = props === null || props === void 0 ? void 0 : props.theme) === null || _a === void 0 ? void 0 : _a.palette) === null || _b === void 0 ? void 0 : _b.white)
132
134
  ? 'box-shadow: inset 0px -1px 0px rgba(0, 0, 0, 0.15)'
133
- : "box-shadow: inset 0px 0px 0px 1px " + ((_c = props.theme.palette) === null || _c === void 0 ? void 0 : _c.medium);
135
+ : "box-shadow: inset 0px 0px 0px 1px ".concat((_c = props.theme.palette) === null || _c === void 0 ? void 0 : _c.medium);
134
136
  });
135
137
  var ButtonBadge = styled__default["default"].div(templateObject_9 || (templateObject_9 = _tslib.__makeTemplateObject(["\n position: absolute;\n top: ", "px;\n right: ", "px;\n padding: 0 7px;\n background: black;\n color: white;\n width: fit-content;\n border-radius: 100px;\n font-size: ", "px;\n line-height: ", "px;\n"], ["\n position: absolute;\n top: ", "px;\n right: ", "px;\n padding: 0 7px;\n background: black;\n color: white;\n width: fit-content;\n border-radius: 100px;\n font-size: ", "px;\n line-height: ", "px;\n"])), function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.buttonBadgeTopPosition; }, function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.buttonBadgeRightPosition; }, function (props) { var _a, _b; return (_b = (_a = props.theme.typography) === null || _a === void 0 ? void 0 : _a.size) === null || _b === void 0 ? void 0 : _b.xs; }, function (props) { var _a, _b; return (_b = (_a = props.theme.typography) === null || _a === void 0 ? void 0 : _a.lineHeight) === null || _b === void 0 ? void 0 : _b.xs; });
136
138
  var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9;