@bikdotai/bik-component-library 0.0.736-beta.1 → 0.0.736-beta.2

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 (237) hide show
  1. package/dist/cjs/components/QueryBuilder/components/Connectors/Components/EmojiPicker.js +2 -2
  2. package/dist/cjs/components/QueryBuilder/components/Connectors/Components/IgPicker.js +1 -1
  3. package/dist/cjs/components/QueryBuilder/components/Connectors/Components/InTheLast.js +2 -2
  4. package/dist/cjs/components/QueryBuilder/components/Connectors/Components/InTwoLast.js +2 -2
  5. package/dist/cjs/components/TablePagination/TablePaginationCard.d.ts +2 -5
  6. package/dist/cjs/components/TablePagination/TablePaginationCard.js +2 -2
  7. package/dist/cjs/components/WhatsAppTextEditor/CustomEditor.styled.d.ts +4 -13
  8. package/dist/cjs/components/WhatsAppTextEditor/CustomEditor.styled.js +4 -4
  9. package/dist/cjs/components/WhatsAppTextEditor/WhatsAppTextEditorHeader.d.ts +1 -4
  10. package/dist/cjs/components/WhatsAppTextEditor/WhatsAppTextEditorHeader.js +6 -6
  11. package/dist/cjs/components/accordion/Accordion.d.ts +3 -3
  12. package/dist/cjs/components/analytics-card/AnalyticsCard.styled.d.ts +4 -10
  13. package/dist/cjs/components/analytics-card/AnalyticsCard.styled.js +3 -3
  14. package/dist/cjs/components/analytics-chips-and-dropdowns/AnalyticsChip.d.ts +1 -1
  15. package/dist/cjs/components/analytics-chips-and-dropdowns/AnalyticsMetric.js +2 -2
  16. package/dist/cjs/components/analytics-chips-and-dropdowns/CommonStyles.d.ts +18 -24
  17. package/dist/cjs/components/analytics-chips-and-dropdowns/CommonStyles.js +61 -19
  18. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/Legend/Legend.js +2 -2
  19. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/LineChart/LineChart.styled.d.ts +5 -14
  20. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/LineChart/LineChart.styled.js +1 -1
  21. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/Pie/PieChartAnalytics.js +2 -2
  22. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/heatmap/HeatMapStyled.d.ts +11 -35
  23. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/heatmap/HeatMapStyled.js +5 -5
  24. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/heatmap/HeatMapVertical.d.ts +1 -4
  25. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/heatmap/HeatMapVertical.js +2 -2
  26. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/LinearChipGroupedChart.styled.d.ts +7 -22
  27. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/LinearChipGroupedChart.styled.js +3 -3
  28. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/scoreBlock/ScoreBlock.styled.d.ts +7 -22
  29. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/scoreBlock/ScoreBlock.styled.js +6 -6
  30. package/dist/cjs/components/banner/Banner.styled.d.ts +20 -71
  31. package/dist/cjs/components/banner/Banner.styled.js +28 -21
  32. package/dist/cjs/components/bik-layout/BikHeader.d.ts +3 -3
  33. package/dist/cjs/components/bik-layout/BikLayout.d.ts +3 -2
  34. package/dist/cjs/components/bik-layout/BikProfile.d.ts +2 -1
  35. package/dist/cjs/components/bik-layout/BikSidebar.d.ts +1 -1
  36. package/dist/cjs/components/bik-layout/BikSidebar.js +1 -1
  37. package/dist/cjs/components/bik-layout/CommonStyles.d.ts +36 -72
  38. package/dist/cjs/components/bik-layout/CommonStyles.js +69 -43
  39. package/dist/cjs/components/bik-layout/FeatureModal.d.ts +2 -1
  40. package/dist/cjs/components/bik-layout/FeatureModalV2.d.ts +2 -1
  41. package/dist/cjs/components/button/Button.styled.d.ts +2 -5
  42. package/dist/cjs/components/button/Button.styled.js +1 -1
  43. package/dist/cjs/components/card-selection-modal/CardSelectionModal.styled.d.ts +2 -8
  44. package/dist/cjs/components/card-selection-modal/CardSelectionModal.styled.js +1 -1
  45. package/dist/cjs/components/carousel-secondary/CarouselSecondary.style.d.ts +11 -29
  46. package/dist/cjs/components/carousel-secondary/CarouselSecondary.style.js +6 -6
  47. package/dist/cjs/components/checkBox/CheckBox.d.ts +1 -1
  48. package/dist/cjs/components/checkList/CheckList.styled.d.ts +1 -4
  49. package/dist/cjs/components/checkList/CheckList.styled.js +1 -1
  50. package/dist/cjs/components/colourInput/ColourInput.styled.d.ts +2 -8
  51. package/dist/cjs/components/colourInput/ColourInput.styled.js +3 -3
  52. package/dist/cjs/components/country-code-picker/CountryCodePicker.styled.d.ts +3 -9
  53. package/dist/cjs/components/country-code-picker/CountryCodePicker.styled.js +1 -1
  54. package/dist/cjs/components/custom-date-time/CustomDateTime.styled.d.ts +1 -4
  55. package/dist/cjs/components/custom-date-time/CustomDateTime.styled.js +1 -1
  56. package/dist/cjs/components/dashboard-review-popup/DashboardReviewPopUp.styled.d.ts +2 -8
  57. package/dist/cjs/components/dashboard-review-popup/DashboardReviewPopUp.styled.js +1 -1
  58. package/dist/cjs/components/dashboard-review-popup/components/FiveStar.styled.d.ts +2 -8
  59. package/dist/cjs/components/dashboard-review-popup/components/FiveStar.styled.js +2 -2
  60. package/dist/cjs/components/dashboard-review-popup/components/Form.styled.d.ts +7 -25
  61. package/dist/cjs/components/dashboard-review-popup/components/Form.styled.js +3 -3
  62. package/dist/cjs/components/dashboard-review-popup/components/ZeroState.js +2 -2
  63. package/dist/cjs/components/data-source-panel/DataSourcePanel.d.ts +1 -0
  64. package/dist/cjs/components/datePicker/DatePicker.styled.d.ts +5 -17
  65. package/dist/cjs/components/datePicker/DatePicker.styled.js +4 -4
  66. package/dist/cjs/components/discount-modal/DiscountModal.styled.d.ts +6 -21
  67. package/dist/cjs/components/discount-modal/DiscountModal.styled.js +4 -4
  68. package/dist/cjs/components/discount-modal/DynamicCoupon/DynamicCoupon.d.ts +1 -1
  69. package/dist/cjs/components/dropdown/type.d.ts +5 -4
  70. package/dist/cjs/components/fab-menu/FABMenu.d.ts +1 -1
  71. package/dist/cjs/components/floating-action-button/FloatingActionButton.d.ts +1 -1
  72. package/dist/cjs/components/input/Input.styled.d.ts +49 -26
  73. package/dist/cjs/components/input/Input.styled.js +106 -23
  74. package/dist/cjs/components/keywords-input/KeywordsInput.styled.d.ts +1 -4
  75. package/dist/cjs/components/list-item/ListItem.d.ts +6 -5
  76. package/dist/cjs/components/list-item/ListItem.styled.d.ts +2 -5
  77. package/dist/cjs/components/list-item/ListItem.styled.js +1 -1
  78. package/dist/cjs/components/list-item/themes.d.ts +1 -1
  79. package/dist/cjs/components/list-item/themes.js +29 -1
  80. package/dist/cjs/components/modals/modal.styled.d.ts +7 -19
  81. package/dist/cjs/components/modals/modal.styled.js +1 -1
  82. package/dist/cjs/components/modals/styledModal.js +16 -11
  83. package/dist/cjs/components/multi-level-dropdown/type.d.ts +6 -5
  84. package/dist/cjs/components/pagination/Pagination.styled.d.ts +1 -4
  85. package/dist/cjs/components/pagination/Pagination.styled.js +1 -1
  86. package/dist/cjs/components/plans/DurationSelectorStyles.d.ts +1 -4
  87. package/dist/cjs/components/plans/SubscriptionPlanSelector.d.ts +2 -8
  88. package/dist/cjs/components/plans/SubscriptionPlanSelector.js +2 -2
  89. package/dist/cjs/components/plans/SubscriptionPlanStyled.d.ts +4 -10
  90. package/dist/cjs/components/plans/SubscriptionPlanStyled.js +1 -1
  91. package/dist/cjs/components/product-picker/ProductPicker.styled.d.ts +2 -8
  92. package/dist/cjs/components/product-picker/ProductPicker.styled.js +1 -1
  93. package/dist/cjs/components/progress-bar/ProgressBarComponent.d.ts +2 -5
  94. package/dist/cjs/components/progress-bar/ProgressBarComponent.js +2 -2
  95. package/dist/cjs/components/progress-bar-v2/ProgressBarV2.js +1 -1
  96. package/dist/cjs/components/radioList/RadioList.styled.d.ts +1 -4
  97. package/dist/cjs/components/radioList/RadioList.styled.js +1 -1
  98. package/dist/cjs/components/sample-button/SampleButton.styled.d.ts +2 -5
  99. package/dist/cjs/components/sample-button/themes.d.ts +1 -1
  100. package/dist/cjs/components/shimmer/ShimmerComponent/ShimmerStyled.d.ts +4 -10
  101. package/dist/cjs/components/shimmer/ShimmerComponent/ShimmerStyled.js +5 -5
  102. package/dist/cjs/components/star-rating/StarRating.js +2 -2
  103. package/dist/cjs/components/states/StateComponent.d.ts +2 -3
  104. package/dist/cjs/components/states-modal/StateModalComponent.d.ts +2 -3
  105. package/dist/cjs/components/switch/Switch.d.ts +6 -15
  106. package/dist/cjs/components/switch/Switch.js +1 -1
  107. package/dist/cjs/components/tabs/Tabs.model.d.ts +1 -1
  108. package/dist/cjs/components/tabs/Tabs.styles.d.ts +12 -24
  109. package/dist/cjs/components/tabs/Tabs.styles.js +22 -20
  110. package/dist/cjs/components/tag/Tag.styled.d.ts +2 -5
  111. package/dist/cjs/components/tag/Tag.styled.js +1 -1
  112. package/dist/cjs/components/tag/model.d.ts +1 -1
  113. package/dist/cjs/components/testimonial-card/TestimonialCard.style.d.ts +11 -38
  114. package/dist/cjs/components/testimonial-card/TestimonialCard.style.js +1 -1
  115. package/dist/cjs/components/toaster/Toaster.styled.d.ts +2 -5
  116. package/dist/cjs/components/toaster/Toaster.styled.js +1 -1
  117. package/dist/cjs/components/tooltips/Tooltip.d.ts +2 -2
  118. package/dist/cjs/components/tooltips/TooltipInternal.js +1 -1
  119. package/dist/esm/components/QueryBuilder/components/Connectors/Components/EmojiPicker.js +2 -2
  120. package/dist/esm/components/QueryBuilder/components/Connectors/Components/IgPicker.js +2 -2
  121. package/dist/esm/components/QueryBuilder/components/Connectors/Components/InTheLast.js +2 -2
  122. package/dist/esm/components/QueryBuilder/components/Connectors/Components/InTwoLast.js +2 -2
  123. package/dist/esm/components/TablePagination/TablePaginationCard.d.ts +2 -5
  124. package/dist/esm/components/TablePagination/TablePaginationCard.js +2 -2
  125. package/dist/esm/components/WhatsAppTextEditor/CustomEditor.styled.d.ts +4 -13
  126. package/dist/esm/components/WhatsAppTextEditor/CustomEditor.styled.js +1 -1
  127. package/dist/esm/components/WhatsAppTextEditor/WhatsAppTextEditorHeader.d.ts +1 -4
  128. package/dist/esm/components/WhatsAppTextEditor/WhatsAppTextEditorHeader.js +6 -6
  129. package/dist/esm/components/accordion/Accordion.d.ts +3 -3
  130. package/dist/esm/components/analytics-card/AnalyticsCard.styled.d.ts +4 -10
  131. package/dist/esm/components/analytics-card/AnalyticsCard.styled.js +3 -3
  132. package/dist/esm/components/analytics-chips-and-dropdowns/AnalyticsChip.d.ts +1 -1
  133. package/dist/esm/components/analytics-chips-and-dropdowns/AnalyticsMetric.js +1 -1
  134. package/dist/esm/components/analytics-chips-and-dropdowns/CommonStyles.d.ts +18 -24
  135. package/dist/esm/components/analytics-chips-and-dropdowns/CommonStyles.js +61 -19
  136. package/dist/esm/components/analytics-chips-and-dropdowns/chart/Legend/Legend.js +2 -2
  137. package/dist/esm/components/analytics-chips-and-dropdowns/chart/LineChart/LineChart.styled.d.ts +5 -14
  138. package/dist/esm/components/analytics-chips-and-dropdowns/chart/LineChart/LineChart.styled.js +1 -1
  139. package/dist/esm/components/analytics-chips-and-dropdowns/chart/Pie/PieChartAnalytics.js +2 -2
  140. package/dist/esm/components/analytics-chips-and-dropdowns/chart/heatmap/HeatMapStyled.d.ts +11 -35
  141. package/dist/esm/components/analytics-chips-and-dropdowns/chart/heatmap/HeatMapStyled.js +1 -1
  142. package/dist/esm/components/analytics-chips-and-dropdowns/chart/heatmap/HeatMapVertical.d.ts +1 -4
  143. package/dist/esm/components/analytics-chips-and-dropdowns/chart/heatmap/HeatMapVertical.js +2 -2
  144. package/dist/esm/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/LinearChipGroupedChart.styled.d.ts +7 -22
  145. package/dist/esm/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/LinearChipGroupedChart.styled.js +1 -1
  146. package/dist/esm/components/analytics-chips-and-dropdowns/chart/scoreBlock/ScoreBlock.styled.d.ts +7 -22
  147. package/dist/esm/components/analytics-chips-and-dropdowns/chart/scoreBlock/ScoreBlock.styled.js +1 -1
  148. package/dist/esm/components/banner/Banner.styled.d.ts +20 -71
  149. package/dist/esm/components/banner/Banner.styled.js +28 -21
  150. package/dist/esm/components/bik-layout/BikHeader.d.ts +3 -3
  151. package/dist/esm/components/bik-layout/BikLayout.d.ts +3 -2
  152. package/dist/esm/components/bik-layout/BikProfile.d.ts +2 -1
  153. package/dist/esm/components/bik-layout/BikSidebar.d.ts +1 -1
  154. package/dist/esm/components/bik-layout/BikSidebar.js +1 -1
  155. package/dist/esm/components/bik-layout/CommonStyles.d.ts +36 -72
  156. package/dist/esm/components/bik-layout/CommonStyles.js +69 -43
  157. package/dist/esm/components/bik-layout/FeatureModal.d.ts +2 -1
  158. package/dist/esm/components/bik-layout/FeatureModalV2.d.ts +2 -1
  159. package/dist/esm/components/button/Button.styled.d.ts +2 -5
  160. package/dist/esm/components/button/Button.styled.js +1 -1
  161. package/dist/esm/components/card-selection-modal/CardSelectionModal.styled.d.ts +2 -8
  162. package/dist/esm/components/card-selection-modal/CardSelectionModal.styled.js +1 -1
  163. package/dist/esm/components/carousel-secondary/CarouselSecondary.style.d.ts +11 -29
  164. package/dist/esm/components/carousel-secondary/CarouselSecondary.style.js +4 -4
  165. package/dist/esm/components/checkBox/CheckBox.d.ts +1 -1
  166. package/dist/esm/components/checkList/CheckList.styled.d.ts +1 -4
  167. package/dist/esm/components/checkList/CheckList.styled.js +1 -1
  168. package/dist/esm/components/colourInput/ColourInput.styled.d.ts +2 -8
  169. package/dist/esm/components/colourInput/ColourInput.styled.js +1 -1
  170. package/dist/esm/components/country-code-picker/CountryCodePicker.styled.d.ts +3 -9
  171. package/dist/esm/components/country-code-picker/CountryCodePicker.styled.js +3 -3
  172. package/dist/esm/components/custom-date-time/CustomDateTime.styled.d.ts +1 -4
  173. package/dist/esm/components/custom-date-time/CustomDateTime.styled.js +1 -1
  174. package/dist/esm/components/dashboard-review-popup/DashboardReviewPopUp.styled.d.ts +2 -8
  175. package/dist/esm/components/dashboard-review-popup/DashboardReviewPopUp.styled.js +3 -3
  176. package/dist/esm/components/dashboard-review-popup/components/FiveStar.styled.d.ts +2 -8
  177. package/dist/esm/components/dashboard-review-popup/components/FiveStar.styled.js +3 -3
  178. package/dist/esm/components/dashboard-review-popup/components/Form.styled.d.ts +7 -25
  179. package/dist/esm/components/dashboard-review-popup/components/Form.styled.js +6 -6
  180. package/dist/esm/components/dashboard-review-popup/components/ZeroState.js +2 -2
  181. package/dist/esm/components/data-source-panel/DataSourcePanel.d.ts +1 -0
  182. package/dist/esm/components/datePicker/DatePicker.styled.d.ts +5 -17
  183. package/dist/esm/components/datePicker/DatePicker.styled.js +1 -1
  184. package/dist/esm/components/discount-modal/DiscountModal.styled.d.ts +6 -21
  185. package/dist/esm/components/discount-modal/DiscountModal.styled.js +4 -4
  186. package/dist/esm/components/discount-modal/DynamicCoupon/DynamicCoupon.d.ts +1 -1
  187. package/dist/esm/components/dropdown/type.d.ts +5 -4
  188. package/dist/esm/components/fab-menu/FABMenu.d.ts +1 -1
  189. package/dist/esm/components/floating-action-button/FloatingActionButton.d.ts +1 -1
  190. package/dist/esm/components/input/Input.styled.d.ts +49 -26
  191. package/dist/esm/components/input/Input.styled.js +106 -23
  192. package/dist/esm/components/keywords-input/KeywordsInput.styled.d.ts +1 -4
  193. package/dist/esm/components/list-item/ListItem.d.ts +6 -5
  194. package/dist/esm/components/list-item/ListItem.styled.d.ts +2 -5
  195. package/dist/esm/components/list-item/ListItem.styled.js +1 -1
  196. package/dist/esm/components/list-item/themes.d.ts +1 -1
  197. package/dist/esm/components/list-item/themes.js +29 -1
  198. package/dist/esm/components/modals/modal.styled.d.ts +7 -19
  199. package/dist/esm/components/modals/modal.styled.js +1 -1
  200. package/dist/esm/components/modals/styledModal.js +16 -11
  201. package/dist/esm/components/multi-level-dropdown/type.d.ts +6 -5
  202. package/dist/esm/components/pagination/Pagination.styled.d.ts +1 -4
  203. package/dist/esm/components/pagination/Pagination.styled.js +1 -1
  204. package/dist/esm/components/plans/DurationSelectorStyles.d.ts +1 -4
  205. package/dist/esm/components/plans/SubscriptionPlanSelector.d.ts +2 -8
  206. package/dist/esm/components/plans/SubscriptionPlanSelector.js +5 -5
  207. package/dist/esm/components/plans/SubscriptionPlanStyled.d.ts +4 -10
  208. package/dist/esm/components/plans/SubscriptionPlanStyled.js +1 -1
  209. package/dist/esm/components/product-picker/ProductPicker.styled.d.ts +2 -8
  210. package/dist/esm/components/product-picker/ProductPicker.styled.js +1 -1
  211. package/dist/esm/components/progress-bar/ProgressBarComponent.d.ts +2 -5
  212. package/dist/esm/components/progress-bar/ProgressBarComponent.js +2 -2
  213. package/dist/esm/components/progress-bar-v2/ProgressBarV2.js +2 -2
  214. package/dist/esm/components/radioList/RadioList.styled.d.ts +1 -4
  215. package/dist/esm/components/radioList/RadioList.styled.js +1 -1
  216. package/dist/esm/components/sample-button/SampleButton.styled.d.ts +2 -5
  217. package/dist/esm/components/sample-button/themes.d.ts +1 -1
  218. package/dist/esm/components/shimmer/ShimmerComponent/ShimmerStyled.d.ts +4 -10
  219. package/dist/esm/components/shimmer/ShimmerComponent/ShimmerStyled.js +3 -3
  220. package/dist/esm/components/star-rating/StarRating.js +2 -2
  221. package/dist/esm/components/states/StateComponent.d.ts +2 -3
  222. package/dist/esm/components/states-modal/StateModalComponent.d.ts +2 -3
  223. package/dist/esm/components/switch/Switch.d.ts +6 -15
  224. package/dist/esm/components/switch/Switch.js +3 -3
  225. package/dist/esm/components/tabs/Tabs.model.d.ts +1 -1
  226. package/dist/esm/components/tabs/Tabs.styles.d.ts +12 -24
  227. package/dist/esm/components/tabs/Tabs.styles.js +22 -20
  228. package/dist/esm/components/tag/Tag.styled.d.ts +2 -5
  229. package/dist/esm/components/tag/Tag.styled.js +1 -1
  230. package/dist/esm/components/tag/model.d.ts +1 -1
  231. package/dist/esm/components/testimonial-card/TestimonialCard.style.d.ts +11 -38
  232. package/dist/esm/components/testimonial-card/TestimonialCard.style.js +5 -5
  233. package/dist/esm/components/toaster/Toaster.styled.d.ts +2 -5
  234. package/dist/esm/components/toaster/Toaster.styled.js +1 -1
  235. package/dist/esm/components/tooltips/Tooltip.d.ts +2 -2
  236. package/dist/esm/components/tooltips/TooltipInternal.js +1 -1
  237. package/package.json +1 -3
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { FloaterProps } from '../floater/floater';
2
3
  export interface MultiLevelDropdownProps extends FloaterProps {
3
4
  options: MultiLevelDropdownOption[];
@@ -10,16 +11,16 @@ export interface MultiLevelDropdownProps extends FloaterProps {
10
11
  export type GroupedOption = {
11
12
  label: string;
12
13
  options: SingleOption[];
13
- trailingIcon?: JSX.Element;
14
- leadingIcon?: JSX.Element;
14
+ trailingIcon?: React.JSX.Element;
15
+ leadingIcon?: React.JSX.Element;
15
16
  };
16
17
  export type SingleOption = {
17
18
  label: string;
18
19
  value: string;
19
20
  subText?: string;
20
- trailingIcon?: JSX.Element;
21
- leadingIcon?: JSX.Element;
22
- customComponent?: JSX.Element;
21
+ trailingIcon?: React.JSX.Element;
22
+ leadingIcon?: React.JSX.Element;
23
+ customComponent?: React.JSX.Element;
23
24
  disabled?: boolean;
24
25
  selected?: boolean;
25
26
  children?: SingleOption[];
@@ -1,4 +1 @@
1
- export declare const Pagination: import("@emotion/styled").StyledComponent<{
2
- theme?: import("@emotion/react").Theme;
3
- as?: React.ElementType;
4
- }, JSX.IntrinsicElements, {}>;
1
+ export declare const Pagination: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -1,4 +1,4 @@
1
- import t from"@emotion/styled";const e=t.div`
1
+ import t from"styled-components";const e=t.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  justify-content: start;
@@ -1,4 +1 @@
1
- export declare const DurationSelectorStyled: import("@emotion/styled").StyledComponent<{
2
- theme?: import("@emotion/react").Theme;
3
- as?: React.ElementType;
4
- }, JSX.IntrinsicElements, {}>;
1
+ export declare const DurationSelectorStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -28,14 +28,8 @@ type Props = {
28
28
  demoLink?: string;
29
29
  onClickingBookADemo?: () => void;
30
30
  };
31
- export declare const HeaderWrapper: import("@emotion/styled").StyledComponent<{
32
- theme?: import("@emotion/react").Theme;
33
- as?: React.ElementType;
34
- }, JSX.IntrinsicElements, {}>;
35
- export declare const BottomWrapper: import("@emotion/styled").StyledComponent<{
36
- theme?: import("@emotion/react").Theme;
37
- as?: React.ElementType;
38
- }, JSX.IntrinsicElements, {}>;
31
+ export declare const HeaderWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
32
+ export declare const BottomWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
39
33
  export declare const defaultTabs: {
40
34
  key: string;
41
35
  title: string;
@@ -1,12 +1,12 @@
1
- import{useState as e,createElement as o}from"react";import{jsxs as n,jsx as i,Fragment as t}from"react/jsx-runtime";import r from"@emotion/styled";import s from"../../assets/icons/check.svg.js";import d from"../../assets/icons/info.svg.js";import l from"../../assets/icons/phone.svg.js";import{StyledModal as p}from"../modals/styledModal.js";import{SubscriptionPlan as a}from"./SubscriptionPlan.js";import{COLORS as c}from"../../constants/Theme.js";import{Button as u}from"../button/Button.js";import{Tabs as m}from"../tabs/Tabs.js";import{TitleMedium as h,BodyPrimary as v,BodyCaption as g}from"../TypographyStyle.js";const x=r.div`
1
+ import{useState as e,createElement as o}from"react";import{jsxs as n,jsx as i,Fragment as t}from"react/jsx-runtime";import r from"../../assets/icons/check.svg.js";import s from"../../assets/icons/info.svg.js";import d from"../../assets/icons/phone.svg.js";import p from"styled-components";import{StyledModal as l}from"../modals/styledModal.js";import{SubscriptionPlan as a}from"./SubscriptionPlan.js";import{COLORS as c}from"../../constants/Theme.js";import{Button as u}from"../button/Button.js";import{Tabs as m}from"../tabs/Tabs.js";import{TitleMedium as h,BodyPrimary as v,BodyCaption as g}from"../TypographyStyle.js";const x=p.div`
2
2
  display: flex;
3
3
  column-gap: 22px;
4
4
  align-items: stretch;
5
5
  padding: 24px;
6
- `,b=r.div`
6
+ `,b=p.div`
7
7
  color: ${c.content.negative};
8
8
  padding: 0px 24px;
9
- `,y=r.div`
9
+ `,y=p.div`
10
10
  padding: 24px 24px 0px 24px;
11
11
  display: flex;
12
12
  align-items: center;
@@ -15,7 +15,7 @@ import{useState as e,createElement as o}from"react";import{jsxs as n,jsx as i,Fr
15
15
  margin-top: 8px;
16
16
  color: ${c.content.secondary} !important;
17
17
  }
18
- `,f=r.div`
18
+ `,f=p.div`
19
19
  padding: 0px 24px 24px 24px;
20
20
  display: flex;
21
21
  align-items: center;
@@ -98,4 +98,4 @@ import{useState as e,createElement as o}from"react";import{jsxs as n,jsx as i,Fr
98
98
  justify-content: flex-start;
99
99
  gap: 8px;
100
100
  }
101
- `,w=[{key:"Monthly",title:"Monthly"},{key:"yearly",title:"Yearly"}],k=r=>{var k,P,C,j,I,T,N,M,A,S,L,O,$,B;const[D,W]=e(null===(k=r.discountInputProperties)||void 0===k?void 0:k.defaultValue),E=r.staticWidthMultiplier?r.staticWidthMultiplier:275;return n(p,{centralContainerStyles:{width:r.plans.length*E},open:!0,closeOnOutsideClick:!0,onClose:r.onClose,children:[n(y,{children:[n("div",{children:[i(h,{children:r.header||"Select a plan to proceed"}),i(v,{className:"sub--header",children:r.subHeader||""})]}),r.showMonthlyTabs?i(m,{tabs:r.tabProperties&&r.tabProperties.tabs?r.tabProperties.tabs:w,onTabSelected:e=>{var o,n;return(null===(o=r.tabProperties)||void 0===o?void 0:o.onTabSelected)?null===(n=r.tabProperties)||void 0===n?void 0:n.onTabSelected(e):""},isSquared:!0}):i(t,{})]}),r.warningDescription&&i(b,{children:r.warningDescription}),i(x,{children:r.plans.map((e=>o(a,Object.assign({},e,{showMonthly:!0,showMonthlyOptions:r.showMonthlyOptions||!1,showTrialOptions:r.showTrialOptions||!1,onPlanSelect:r.onPlanSelect,key:e.planName}))))}),(r.showCouponApplicationCode||r.showBookAdemo)&&n(f,{children:[i("div",{children:r.showCouponApplicationCode&&n("div",{className:"coupon-code",children:[n("div",{className:"coupon-input",children:[i(v,{style:{color:(null===(P=r.discountInputProperties)||void 0===P?void 0:P.errorMessage)?c.content.negative:""},children:"Apply coupon code"}),n("div",{className:"button--wrapper",children:[n("div",{className:(null===(C=r.discountInputProperties)||void 0===C?void 0:C.errorMessage)?"error--border dotted--border":"dotted--border",children:[i("input",{className:"input--class",onChange:e=>{var o;W(e.target.value),null===(o=r.discountInputProperties)||void 0===o||o.onChangeText(e.target.value)},value:D,placeholder:"eg:PLAN20",disabled:null===(j=r.discountInputProperties)||void 0===j?void 0:j.isLoading}),(null===(I=r.discountInputProperties)||void 0===I?void 0:I.successText)&&n("div",{className:"success--inside--chip",children:[i(s,{height:16,width:16,color:c.content.primaryInverse}),i(g,{style:{color:c.content.primaryInverse},children:"Coupon applied"})]})]}),!(null===(T=r.discountInputProperties)||void 0===T?void 0:T.successText)&&i(u,{buttonText:"Apply",buttonType:"primary",onClick:null===(N=null==r?void 0:r.discountInputProperties)||void 0===N?void 0:N.onCouponApply,isLoading:null===(M=r.discountInputProperties)||void 0===M?void 0:M.isLoading})]}),(null===(A=r.discountInputProperties)||void 0===A?void 0:A.errorMessage)&&n("div",{className:"d-flex",style:{gap:8},children:[i(d,{height:16,width:16,color:c.content.negative}),i(g,{style:{color:c.content.negative},children:null!==(L=null===(S=r.discountInputProperties)||void 0===S?void 0:S.errorMessage)&&void 0!==L?L:"Enter a valid code"})]}),(null===(O=r.discountInputProperties)||void 0===O?void 0:O.showRemoveCoupon)&&i("div",{className:"demo--input",onClick:()=>{var e,o;W(""),(null===(e=r.discountInputProperties)||void 0===e?void 0:e.removeCoupon)&&(null===(o=r.discountInputProperties)||void 0===o||o.removeCoupon())},children:"Remove coupon"})]}),(null===($=r.discountInputProperties)||void 0===$?void 0:$.successText)&&i("div",{className:"coupon--success--chip",children:i(g,{style:{color:"#00580E",maxWidth:180},children:null===(B=r.discountInputProperties)||void 0===B?void 0:B.successText})})]})}),r.showBookAdemo&&n("div",{className:"demo--wrapper",children:[i("div",{className:"demo--phone",children:i(l,{height:16,width:16,color:c.background.brand})}),i(v,{className:"demo--input",onClick:()=>r.demoLink?window.open(r.demoLink,"_blank"):r.onClickingBookADemo?r.onClickingBookADemo():"",children:"Book a demo with the team"})]})]})]})};export{f as BottomWrapper,y as HeaderWrapper,k as SubscriptionPlanSelector,w as defaultTabs};
101
+ `,w=[{key:"Monthly",title:"Monthly"},{key:"yearly",title:"Yearly"}],k=p=>{var k,P,C,j,I,T,N,M,A,S,L,O,$,B;const[D,W]=e(null===(k=p.discountInputProperties)||void 0===k?void 0:k.defaultValue),E=p.staticWidthMultiplier?p.staticWidthMultiplier:275;return n(l,{centralContainerStyles:{width:p.plans.length*E},open:!0,closeOnOutsideClick:!0,onClose:p.onClose,children:[n(y,{children:[n("div",{children:[i(h,{children:p.header||"Select a plan to proceed"}),i(v,{className:"sub--header",children:p.subHeader||""})]}),p.showMonthlyTabs?i(m,{tabs:p.tabProperties&&p.tabProperties.tabs?p.tabProperties.tabs:w,onTabSelected:e=>{var o,n;return(null===(o=p.tabProperties)||void 0===o?void 0:o.onTabSelected)?null===(n=p.tabProperties)||void 0===n?void 0:n.onTabSelected(e):""},isSquared:!0}):i(t,{})]}),p.warningDescription&&i(b,{children:p.warningDescription}),i(x,{children:p.plans.map((e=>o(a,Object.assign({},e,{showMonthly:!0,showMonthlyOptions:p.showMonthlyOptions||!1,showTrialOptions:p.showTrialOptions||!1,onPlanSelect:p.onPlanSelect,key:e.planName}))))}),(p.showCouponApplicationCode||p.showBookAdemo)&&n(f,{children:[i("div",{children:p.showCouponApplicationCode&&n("div",{className:"coupon-code",children:[n("div",{className:"coupon-input",children:[i(v,{style:{color:(null===(P=p.discountInputProperties)||void 0===P?void 0:P.errorMessage)?c.content.negative:""},children:"Apply coupon code"}),n("div",{className:"button--wrapper",children:[n("div",{className:(null===(C=p.discountInputProperties)||void 0===C?void 0:C.errorMessage)?"error--border dotted--border":"dotted--border",children:[i("input",{className:"input--class",onChange:e=>{var o;W(e.target.value),null===(o=p.discountInputProperties)||void 0===o||o.onChangeText(e.target.value)},value:D,placeholder:"eg:PLAN20",disabled:null===(j=p.discountInputProperties)||void 0===j?void 0:j.isLoading}),(null===(I=p.discountInputProperties)||void 0===I?void 0:I.successText)&&n("div",{className:"success--inside--chip",children:[i(r,{height:16,width:16,color:c.content.primaryInverse}),i(g,{style:{color:c.content.primaryInverse},children:"Coupon applied"})]})]}),!(null===(T=p.discountInputProperties)||void 0===T?void 0:T.successText)&&i(u,{buttonText:"Apply",buttonType:"primary",onClick:null===(N=null==p?void 0:p.discountInputProperties)||void 0===N?void 0:N.onCouponApply,isLoading:null===(M=p.discountInputProperties)||void 0===M?void 0:M.isLoading})]}),(null===(A=p.discountInputProperties)||void 0===A?void 0:A.errorMessage)&&n("div",{className:"d-flex",style:{gap:8},children:[i(s,{height:16,width:16,color:c.content.negative}),i(g,{style:{color:c.content.negative},children:null!==(L=null===(S=p.discountInputProperties)||void 0===S?void 0:S.errorMessage)&&void 0!==L?L:"Enter a valid code"})]}),(null===(O=p.discountInputProperties)||void 0===O?void 0:O.showRemoveCoupon)&&i("div",{className:"demo--input",onClick:()=>{var e,o;W(""),(null===(e=p.discountInputProperties)||void 0===e?void 0:e.removeCoupon)&&(null===(o=p.discountInputProperties)||void 0===o||o.removeCoupon())},children:"Remove coupon"})]}),(null===($=p.discountInputProperties)||void 0===$?void 0:$.successText)&&i("div",{className:"coupon--success--chip",children:i(g,{style:{color:"#00580E",maxWidth:180},children:null===(B=p.discountInputProperties)||void 0===B?void 0:B.successText})})]})}),p.showBookAdemo&&n("div",{className:"demo--wrapper",children:[i("div",{className:"demo--phone",children:i(d,{height:16,width:16,color:c.background.brand})}),i(v,{className:"demo--input",onClick:()=>p.demoLink?window.open(p.demoLink,"_blank"):p.onClickingBookADemo?p.onClickingBookADemo():"",children:"Book a demo with the team"})]})]})]})};export{f as BottomWrapper,y as HeaderWrapper,k as SubscriptionPlanSelector,w as defaultTabs};
@@ -1,14 +1,8 @@
1
- export declare const SubscriptionPlanStyled: import("@emotion/styled").StyledComponent<{
2
- theme?: import("@emotion/react").Theme;
3
- as?: React.ElementType;
4
- } & {
1
+ export declare const SubscriptionPlanStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
5
2
  isSelected: boolean;
6
3
  isManifestPlan?: boolean;
7
- }, JSX.IntrinsicElements, {}>;
8
- export declare const NewSubscriptionStyled: import("@emotion/styled").StyledComponent<{
9
- theme?: import("@emotion/react").Theme;
10
- as?: React.ElementType;
11
- } & {
4
+ }>> & string;
5
+ export declare const NewSubscriptionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
12
6
  showMostPopularChip: boolean;
13
7
  height?: string;
14
- }, JSX.IntrinsicElements, {}>;
8
+ }>> & string;
@@ -1,4 +1,4 @@
1
- import o from"@emotion/styled";import{COLORS as t}from"../../constants/Theme.js";const r=o.div`
1
+ import o from"styled-components";import{COLORS as t}from"../../constants/Theme.js";const r=o.div`
2
2
  position: relative;
3
3
 
4
4
  border: 1px solid ${t.stroke.primary};
@@ -1,8 +1,2 @@
1
- export declare const StyledZeroState: import("@emotion/styled").StyledComponent<{
2
- theme?: import("@emotion/react").Theme;
3
- as?: React.ElementType;
4
- }, JSX.IntrinsicElements, {}>;
5
- export declare const StyledProductPickerContainer: import("@emotion/styled").StyledComponent<{
6
- theme?: import("@emotion/react").Theme;
7
- as?: React.ElementType;
8
- }, JSX.IntrinsicElements, {}>;
1
+ export declare const StyledZeroState: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
+ export declare const StyledProductPickerContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -1,4 +1,4 @@
1
- import r from"@emotion/styled";import{DEFAULT_THEME as e}from"../../constants/Theme.js";const o=r.div`
1
+ import r from"styled-components";import{DEFAULT_THEME as e}from"../../constants/Theme.js";const o=r.div`
2
2
  height: 364px;
3
3
  background-color: ${e.colorsV2.surface.standard};
4
4
  display: flex;
@@ -5,9 +5,6 @@ export interface ProgressBarProps {
5
5
  height?: number;
6
6
  }
7
7
  export declare const ProgressBarComponent: (props: ProgressBarProps) => import("react/jsx-runtime").JSX.Element;
8
- export declare const ProgressCompletedBar: import("@emotion/styled").StyledComponent<{
9
- theme?: import("@emotion/react").Theme;
10
- as?: React.ElementType;
11
- } & {
8
+ export declare const ProgressCompletedBar: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
12
9
  color: string;
13
- }, JSX.IntrinsicElements, {}>;
10
+ }>> & string;
@@ -1,6 +1,6 @@
1
- import{jsx as o}from"react/jsx-runtime";import t from"@emotion/styled";import{ProgressBar as r}from"react-bootstrap";import{COLORS as e}from"../../constants/Theme.js";const i=t=>o(m,{color:t.color?t.color:e.content.brand,children:o(r,{animated:t.isAnimated,now:t.completed,style:{height:`${t.height?t.height:8}px`}})}),m=t.div`
1
+ import{jsx as o}from"react/jsx-runtime";import{ProgressBar as t}from"react-bootstrap";import r from"styled-components";import{COLORS as e}from"../../constants/Theme.js";const m=r=>o(n,{color:r.color?r.color:e.content.brand,children:o(t,{animated:r.isAnimated,now:r.completed,style:{height:`${r.height?r.height:8}px`}})}),n=r.div`
2
2
  flex: 50%;
3
3
  .progress-bar {
4
4
  background: ${o=>o.color};
5
5
  }
6
- `;export{i as ProgressBarComponent,m as ProgressCompletedBar};
6
+ `;export{m as ProgressBarComponent,n as ProgressCompletedBar};
@@ -1,4 +1,4 @@
1
- import{jsxs as r,jsx as o}from"react/jsx-runtime";import e from"@emotion/styled";import{BodyTiny as i}from"../TypographyStyle.js";import{COLORS as n}from"../../constants/Theme.js";var t,s;!function(r){r.RIGHT="right",r.LEFT="left",r.TOP="top",r.BOTTOM="bottom"}(t||(t={})),function(r){r.CIRCLE="circle",r.LINE="line"}(s||(s={}));const a=e=>{const{type:a,progress:p,progressBarThickness:u,size:v,color:T,text:m,textPosition:$,showProgress:k,matchParentWidth:x=!1}=e;let b=$;return b||(b=t.LEFT),r(d,{alignment:b,children:[k&&(b===t.TOP||b===t.LEFT)&&o(i,{style:{marginBottom:b===t.TOP?"8px":void 0,marginRight:b===t.LEFT?"8px":void 0},color:n.content.secondary,children:null!=m?m:`${p}% completed...`}),a===s.LINE?o(g,{size:v,progressBarThickness:u,matchParentWidth:x,children:o(h,{progress:p,color:T})}):o(l,{progress:p,color:T,size:v,children:o(c,{progress:p,size:v,progressBarThickness:u})}),k&&(b===t.BOTTOM||b===t.RIGHT)&&o(i,{style:{marginTop:b===t.BOTTOM?"8px":void 0,marginLeft:b===t.RIGHT?"8px":void 0},color:n.content.secondary,children:null!=m?m:`${p}% completed...`})]})},d=e.div`
1
+ import{jsxs as r,jsx as o}from"react/jsx-runtime";import e from"styled-components";import{BodyTiny as i}from"../TypographyStyle.js";import{COLORS as n}from"../../constants/Theme.js";var t,s;!function(r){r.RIGHT="right",r.LEFT="left",r.TOP="top",r.BOTTOM="bottom"}(t||(t={})),function(r){r.CIRCLE="circle",r.LINE="line"}(s||(s={}));const a=e=>{const{type:a,progress:h,progressBarThickness:u,size:v,color:T,text:m,textPosition:$,showProgress:k,matchParentWidth:x=!1}=e;let b=$;return b||(b=t.LEFT),r(d,{alignment:b,children:[k&&(b===t.TOP||b===t.LEFT)&&o(i,{style:{marginBottom:b===t.TOP?"8px":void 0,marginRight:b===t.LEFT?"8px":void 0},color:n.content.secondary,children:null!=m?m:`${h}% completed...`}),a===s.LINE?o(g,{size:v,progressBarThickness:u,matchParentWidth:x,children:o(p,{progress:h,color:T})}):o(l,{progress:h,color:T,size:v,children:o(c,{progress:h,size:v,progressBarThickness:u})}),k&&(b===t.BOTTOM||b===t.RIGHT)&&o(i,{style:{marginTop:b===t.BOTTOM?"8px":void 0,marginLeft:b===t.RIGHT?"8px":void 0},color:n.content.secondary,children:null!=m?m:`${h}% completed...`})]})},d=e.div`
2
2
  display: flex;
3
3
  flex-direction: ${r=>(null==r?void 0:r.alignment)===t.TOP||(null==r?void 0:r.alignment)===t.BOTTOM?"column":"row"};
4
4
  align-items: center;
@@ -31,7 +31,7 @@ import{jsxs as r,jsx as o}from"react/jsx-runtime";import e from"@emotion/styled"
31
31
  background-color: ${n.background.inactive};
32
32
  border-radius: 4px;
33
33
  overflow: hidden;
34
- `,h=e.div`
34
+ `,p=e.div`
35
35
  height: 100%;
36
36
  width: ${r=>r.progress}%;
37
37
  background-color: ${r=>{var o;return null!==(o=r.color)&&void 0!==o?o:n.background.brand}};
@@ -1,4 +1 @@
1
- export declare const RadioListStyled: import("@emotion/styled").StyledComponent<{
2
- theme?: import("@emotion/react").Theme;
3
- as?: React.ElementType;
4
- }, JSX.IntrinsicElements, {}>;
1
+ export declare const RadioListStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -1,4 +1,4 @@
1
- import t from"@emotion/styled";const o=t.div`
1
+ import t from"styled-components";const o=t.div`
2
2
  .title__container {
3
3
  margin-bottom: 12px;
4
4
  }
@@ -1,8 +1,5 @@
1
1
  import type { Color, Variant } from './SampleButton';
2
- export declare const SampleButton: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme;
4
- as?: React.ElementType;
5
- } & {
2
+ export declare const SampleButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
6
3
  $color: Color;
7
4
  variant: Variant;
8
- }, JSX.IntrinsicElements, {}>;
5
+ }>> & string;
@@ -1,2 +1,2 @@
1
1
  import type { Color, Variant } from './SampleButton';
2
- export declare function getTheme(color: Color, variant: Variant): import("@emotion/utils").SerializedStyles;
2
+ export declare function getTheme(color: Color, variant: Variant): import("styled-components").RuleSet<object>;
@@ -1,17 +1,11 @@
1
- export declare const ShimmerStyled: import("@emotion/styled").StyledComponent<{
2
- theme?: import("@emotion/react").Theme;
3
- as?: React.ElementType;
4
- } & {
1
+ export declare const ShimmerStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
5
2
  isBrand?: boolean;
6
3
  direction?: "row" | "column";
7
4
  gap?: string;
8
- }, JSX.IntrinsicElements, {}>;
9
- export declare const ShimmerComponentStyled: import("@emotion/styled").StyledComponent<{
10
- theme?: import("@emotion/react").Theme;
11
- as?: React.ElementType;
12
- } & {
5
+ }>> & string;
6
+ export declare const ShimmerComponentStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
13
7
  isBrand?: boolean;
14
8
  height: number;
15
9
  width: number;
16
10
  marginTop?: number;
17
- }, JSX.IntrinsicElements, {}>;
11
+ }>> & string;
@@ -1,4 +1,4 @@
1
- import{keyframes as i}from"@emotion/react";import n from"@emotion/styled";const t=i`
1
+ import i,{keyframes as n}from"styled-components";const t=n`
2
2
  0% {
3
3
  background-position: -468px 0;
4
4
  }
@@ -6,7 +6,7 @@ import{keyframes as i}from"@emotion/react";import n from"@emotion/styled";const
6
6
  100% {
7
7
  background-position: 468px 0;
8
8
  }
9
- `,a=n.div`
9
+ `,a=i.div`
10
10
  display: flex;
11
11
  flex-direction: ${i=>i.direction||"column"};
12
12
  width: 100%;
@@ -26,7 +26,7 @@ import{keyframes as i}from"@emotion/react";import n from"@emotion/styled";const
26
26
  -webkit-animation-name: ${t};
27
27
  -webkit-animation-timing-function: linear;
28
28
  }
29
- `,e=n.div`
29
+ `,e=i.div`
30
30
  border-radius: 4px;
31
31
  background: ${i=>i.isBrand?"linear-gradient(90deg, rgba(255, 255, 255, 0.30) 0%, rgba(224, 224, 224, 0.00) 100%)":"#f6f7f8 linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #F0F0F0 100%) no-repeat"};
32
32
  width: ${i=>i.width}px;
@@ -1,7 +1,7 @@
1
- import{jsx as e}from"react/jsx-runtime";import o from"@emotion/styled";import{useState as l,useMemo as r,useEffect as t}from"react";import{Star as i}from"./Star.js";const n=o.div`
1
+ import{jsx as e}from"react/jsx-runtime";import{useState as o,useMemo as l,useEffect as r}from"react";import t from"styled-components";import{Star as i}from"./Star.js";const n=t.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  gap: 12px;
5
5
  justify-content: start;
6
6
  align-items: center;
7
- `,m=o=>{let{emptyColor:m,filledColor:a,onChange:s,value:d,maxValue:p,starSize:f,mode:c,version:u="v1"}=o;const[v,x]=l(null!=d?d:0),[y,C]=l(!1),[g,j]=l(0),h=r((()=>Array(null!=p?p:5).fill(null).map(((e,o)=>o+1))),[p]);return t((()=>{y&&s(v)}),[v]),t((()=>{C(!0)}),[]),e(n,{children:h.map((o=>e(i,{asHovered:!!g&&o<=g,size:null!=f?f:24,filled:g?void 0:o<=v,emptyColor:m,filledColor:a,onClick:e=>{x("de-select"===e?o<v?o:o-1:o)},onHover:e=>{j(e?o:0)},mode:c,version:u},o)))})};export{m as StarRating};
7
+ `,m=t=>{let{emptyColor:m,filledColor:a,onChange:s,value:d,maxValue:p,starSize:c,mode:f,version:u="v1"}=t;const[v,x]=o(null!=d?d:0),[y,C]=o(!1),[g,j]=o(0),h=l((()=>Array(null!=p?p:5).fill(null).map(((e,o)=>o+1))),[p]);return r((()=>{y&&s(v)}),[v]),r((()=>{C(!0)}),[]),e(n,{children:h.map((o=>e(i,{asHovered:!!g&&o<=g,size:null!=c?c:24,filled:g?void 0:o<=v,emptyColor:m,filledColor:a,onClick:e=>{x("de-select"===e?o<v?o:o-1:o)},onHover:e=>{j(e?o:0)},mode:f,version:u},o)))})};export{m as StarRating};
@@ -1,4 +1,3 @@
1
- import { ReactJSXElement } from '@emotion/react/types/jsx-namespace';
2
1
  import React from 'react';
3
2
  import { Type } from '@src/components/button/model';
4
3
  export declare enum StateInterface {
@@ -23,12 +22,12 @@ export type StateComponentProps = {
23
22
  heading: string;
24
23
  subline: string;
25
24
  errorText?: string;
26
- icon?: JSX.Element;
25
+ icon?: React.JSX.Element;
27
26
  isButtonEnabled: boolean;
28
27
  type?: ButtonTypes;
29
28
  buttonText?: string;
30
29
  buttonType?: Type;
31
- buttonIcon?: ReactJSXElement;
30
+ buttonIcon?: React.ReactElement;
32
31
  onButtonClick?: (buttonClicked: ButtonActions) => void;
33
32
  leadingIcon?: React.FunctionComponent<React.SVGAttributes<SVGElement>>;
34
33
  width: number;
@@ -1,4 +1,3 @@
1
- import { ReactJSXElement } from '@emotion/react/types/jsx-namespace';
2
1
  import React from 'react';
3
2
  import { Type } from '../button/model';
4
3
  import { ButtonActions, ButtonTypes, StateInterface } from '../states/StateComponent';
@@ -6,11 +5,11 @@ export type StateModalComponentProps = {
6
5
  states: StateInterface;
7
6
  heading: string;
8
7
  subline: string;
9
- icon?: JSX.Element;
8
+ icon?: React.JSX.Element;
10
9
  isButtonEnabled: boolean;
11
10
  type?: ButtonTypes;
12
11
  buttonText?: string;
13
- buttonIcon?: ReactJSXElement;
12
+ buttonIcon?: React.ReactElement;
14
13
  onButtonClick?: (buttonClicked: ButtonActions) => void;
15
14
  leadingIcon?: React.FunctionComponent<React.SVGAttributes<SVGElement>>;
16
15
  width?: number;
@@ -1,9 +1,6 @@
1
1
  import { SwitchColorProps, SwitchProps } from './Switch.d';
2
2
  export declare const Switch: import("react").ForwardRefExoticComponent<SwitchProps & import("react").RefAttributes<HTMLButtonElement>>;
3
- export declare const SwitchContainer: import("@emotion/styled").StyledComponent<{
4
- theme?: import("@emotion/react").Theme;
5
- as?: React.ElementType;
6
- } & {
3
+ export declare const SwitchContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
7
4
  trackLength: number;
8
5
  trackHeight: number;
9
6
  trackColor: SwitchColorProps;
@@ -12,19 +9,13 @@ export declare const SwitchContainer: import("@emotion/styled").StyledComponent<
12
9
  duration: number;
13
10
  disabled?: boolean;
14
11
  outlineColor: SwitchColorProps;
15
- }, JSX.IntrinsicElements, {}>;
16
- export declare const Thumb: import("@emotion/styled").StyledComponent<{
17
- theme?: import("@emotion/react").Theme;
18
- as?: React.ElementType;
19
- } & {
12
+ }>> & string;
13
+ export declare const Thumb: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
20
14
  value: boolean;
21
15
  duration: number;
22
16
  thumbColor: SwitchColorProps;
23
- }, JSX.IntrinsicElements, {}>;
24
- export declare const Loader: import("@emotion/styled").StyledComponent<{
25
- theme?: import("@emotion/react").Theme;
26
- as?: React.ElementType;
27
- } & {
17
+ }>> & string;
18
+ export declare const Loader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
28
19
  value: boolean;
29
20
  trackColor: SwitchColorProps;
30
- }, JSX.IntrinsicElements, {}>;
21
+ }>> & string;
@@ -1,4 +1,4 @@
1
- import{__awaiter as e}from"../../_virtual/_tslib.js";import{jsx as r,Fragment as o}from"react/jsx-runtime";import t from"@emotion/styled";import{forwardRef as l,useState as i,useEffect as a}from"react";import{COLORS as n,DEFAULT_THEME as d}from"../../constants/Theme.js";const u=l((t=>{let{customThumbColor:l,trackColor:n,trackHeight:u,trackLength:b,disabled:g,value:v,onValueChange:f,duration:h,containerStyle:k,type:m,isLoading:x,"data-test":y}=t;var C,$,w,L;const{colorsV2:j}=d,[A,H]=i(v),[S,T]=i(null!=x&&x),V=null!=h?h:200;a((()=>{"boolean"==typeof x&&T(x)}),[x]),a((()=>{H(v)}),[v]);const _=g?{false:j.background.inactive,true:j.background.inactive}:{false:(null!==(C=null==n?void 0:n.false)&&void 0!==C?C:"greenred"===m)?j.background.negative.light:j.background.base,true:(null!==($=null==n?void 0:n.true)&&void 0!==$?$:"greenred"===m)?j.background.positive.vibrant:j.background.brand},N={false:"greenred"===m?j.stroke.negative.lightAlt:j.stroke.primary,true:"greenred"===m?j.background.positive.vibrant:j.background.brand},q=g?{false:j.content.inactive,true:j.content.inactive}:{false:(null!==(w=null==l?void 0:l.false)&&void 0!==w?w:"greenred"===m)?j.content.negative:j.text.primary,true:null!==(L=null==l?void 0:l.true)&&void 0!==L?L:j.surface.standard},z=m?{false:"greenred"===m?j.stroke.negative.lightAlt:j.stroke.primary,true:"greenred"===m?j.stroke.positive.lightAlt:j.background.brandLight}:{false:j.stroke.primary,true:j.stroke.primary};return r(o,{children:r(s,{"data-test":y,trackLength:null!=b?b:40,trackHeight:null!=u?u:20,onClick:()=>function(){return e(this,void 0,void 0,(function*(){if(!g){"boolean"!=typeof x&&T(!0);try{yield null==f?void 0:f(!A),H(!A)}catch(e){console.log(e)}"boolean"!=typeof x&&T(!1)}}))}(),trackColor:_,value:A,style:k,borderColor:N,duration:V,disabled:g,outlineColor:z,children:S?r(p,{value:A,trackColor:_}):r(c,{value:A,duration:V,thumbColor:q})})})}));u.displayName="Switch";const s=t.div`
1
+ import{__awaiter as e}from"../../_virtual/_tslib.js";import{jsx as r,Fragment as o}from"react/jsx-runtime";import{forwardRef as t,useState as l,useEffect as i}from"react";import a from"styled-components";import{COLORS as n,DEFAULT_THEME as d}from"../../constants/Theme.js";const u=t((t=>{let{customThumbColor:a,trackColor:n,trackHeight:u,trackLength:b,disabled:g,value:v,onValueChange:f,duration:h,containerStyle:k,type:m,isLoading:x,"data-test":y}=t;var C,$,w,L;const{colorsV2:j}=d,[A,H]=l(v),[S,T]=l(null!=x&&x),V=null!=h?h:200;i((()=>{"boolean"==typeof x&&T(x)}),[x]),i((()=>{H(v)}),[v]);const _=g?{false:j.background.inactive,true:j.background.inactive}:{false:(null!==(C=null==n?void 0:n.false)&&void 0!==C?C:"greenred"===m)?j.background.negative.light:j.background.base,true:(null!==($=null==n?void 0:n.true)&&void 0!==$?$:"greenred"===m)?j.background.positive.vibrant:j.background.brand},N={false:"greenred"===m?j.stroke.negative.lightAlt:j.stroke.primary,true:"greenred"===m?j.background.positive.vibrant:j.background.brand},q=g?{false:j.content.inactive,true:j.content.inactive}:{false:(null!==(w=null==a?void 0:a.false)&&void 0!==w?w:"greenred"===m)?j.content.negative:j.text.primary,true:null!==(L=null==a?void 0:a.true)&&void 0!==L?L:j.surface.standard},z=m?{false:"greenred"===m?j.stroke.negative.lightAlt:j.stroke.primary,true:"greenred"===m?j.stroke.positive.lightAlt:j.background.brandLight}:{false:j.stroke.primary,true:j.stroke.primary};return r(o,{children:r(s,{"data-test":y,trackLength:null!=b?b:40,trackHeight:null!=u?u:20,onClick:()=>function(){return e(this,void 0,void 0,(function*(){if(!g){"boolean"!=typeof x&&T(!0);try{yield null==f?void 0:f(!A),H(!A)}catch(e){console.log(e)}"boolean"!=typeof x&&T(!1)}}))}(),trackColor:_,value:A,style:k,borderColor:N,duration:V,disabled:g,outlineColor:z,children:S?r(p,{value:A,trackColor:_}):r(c,{value:A,duration:V,thumbColor:q})})})}));u.displayName="Switch";const s=a.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  margin-top: 5px;
@@ -27,7 +27,7 @@ import{__awaiter as e}from"../../_virtual/_tslib.js";import{jsx as r,Fragment as
27
27
  outline-offset: 2px;
28
28
  outline-width: 2px;
29
29
  }
30
- `,c=t.div`
30
+ `,c=a.div`
31
31
  height: 12px;
32
32
  width: 12px;
33
33
  margin: 4px;
@@ -36,7 +36,7 @@ import{__awaiter as e}from"../../_virtual/_tslib.js";import{jsx as r,Fragment as
36
36
  left: ${e=>e.value?"calc(100% - 20px)":"0px"};
37
37
  transition: ${e=>e.duration/1e3+"s ease all"};
38
38
  background-color: ${e=>e.value?e.thumbColor.true:e.thumbColor.false};
39
- `,p=t.div`
39
+ `,p=a.div`
40
40
  border-width: 2px;
41
41
  border-style: solid;
42
42
  border-color: ${e=>e.value?e.trackColor.true:e.trackColor.false};
@@ -37,7 +37,7 @@ export interface TabViewHeaderProps {
37
37
  }>;
38
38
  selectedTab?: string;
39
39
  extendedBorder?: boolean;
40
- rightComponent?: JSX.Element;
40
+ rightComponent?: React.JSX.Element;
41
41
  size?: 'small' | 'default';
42
42
  isSquared?: boolean;
43
43
  containerStyles?: React.CSSProperties;
@@ -1,26 +1,14 @@
1
- import { TabItemProps } from './Tabs.model';
2
- export declare const TabHeader: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme;
4
- as?: React.ElementType;
5
- } & {
1
+ import { TabItemProps, TabItemTextProps } from './Tabs.model';
2
+ export declare const TabHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
6
3
  bgColor?: string;
7
- }, JSX.IntrinsicElements, {}>;
8
- export declare const TabItem: import("@emotion/styled").StyledComponent<{
9
- theme?: import("@emotion/react").Theme;
10
- as?: React.ElementType;
11
- } & TabItemProps, JSX.IntrinsicElements, {}>;
12
- export declare const TrailingNumberContainer: import("@emotion/styled").StyledComponent<{
13
- theme?: import("@emotion/react").Theme;
14
- as?: React.ElementType;
15
- } & {
4
+ }>> & string;
5
+ export declare const TabItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, TabItemProps>> & string;
6
+ export declare const TrailingNumberContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
16
7
  selected: boolean;
17
- }, JSX.IntrinsicElements, {}>;
18
- export declare const TabItemText: import("@emotion/styled").StyledComponent<any, {}, {}>;
19
- export declare const EmptyTab: import("@emotion/styled").StyledComponent<{
20
- theme?: import("@emotion/react").Theme;
21
- as?: React.ElementType;
22
- }, JSX.IntrinsicElements, {}>;
23
- export declare const RightComponent: import("@emotion/styled").StyledComponent<{
24
- theme?: import("@emotion/react").Theme;
25
- as?: React.ElementType;
26
- }, JSX.IntrinsicElements, {}>;
8
+ }>> & string;
9
+ export declare const TabItemText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "color" | "numberOfLines"> & {
10
+ numberOfLines?: number;
11
+ color?: string;
12
+ }, TabItemTextProps>> & string;
13
+ export declare const EmptyTab: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
14
+ export declare const RightComponent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -1,28 +1,28 @@
1
- import c from"@emotion/styled/base";import{DEFAULT_THEME as b}from"../../constants/Theme.js";import{ButtonLarge as d}from"../TypographyStyle.js";const l=styled.div`
1
+ import o from"styled-components";import{DEFAULT_THEME as e}from"../../constants/Theme.js";import{ButtonLarge as r}from"../TypographyStyle.js";const t=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
- background-color: ${c=>c.bgColor};
5
- `,e=styled.div`
4
+ background-color: ${o=>o.bgColor};
5
+ `,d=o.div`
6
6
  display: flex;
7
7
  flex-direction: row;
8
8
  column-gap: 8px;
9
- padding: ${c=>c.isSquared?"8px 24px":"14px 24px 12px 24px"};
10
- padding-bottom: ${c=>c.isSquared?"":c.selected?"12px":"13px"};
9
+ padding: ${o=>o.isSquared?"8px 24px":"14px 24px 12px 24px"};
10
+ padding-bottom: ${o=>o.isSquared?"":o.selected?"12px":"13px"};
11
11
  align-items: center;
12
12
  justify-content: center;
13
- width: ${c=>c.hasEqualSpacing?"50%":"auto"};
14
- border-bottom-color: ${c=>c.isSquared?"":c.selected?c.selectedTextColor:b.colorsV2.background.inactive};
15
- border-bottom-width: ${c=>c.isSquared?"":c.selected?"2px":"1px"};
16
- border-bottom-style: ${c=>c.isSquared?"":"solid"};
17
- border: ${c=>c.isSquared?c.selected?`1px solid ${c.selectedTextColor}`:`1px solid ${b.colorsV2.background.inactive}`:""};
13
+ width: ${o=>o.hasEqualSpacing?"50%":"auto"};
14
+ border-bottom-color: ${o=>o.isSquared?"":o.selected?o.selectedTextColor:e.colorsV2.background.inactive};
15
+ border-bottom-width: ${o=>o.isSquared?"":o.selected?"2px":"1px"};
16
+ border-bottom-style: ${o=>o.isSquared?"":"solid"};
17
+ border: ${o=>o.isSquared?o.selected?`1px solid ${o.selectedTextColor}`:`1px solid ${e.colorsV2.background.inactive}`:""};
18
18
  flex-direction: row;
19
19
  cursor: pointer;
20
- min-width: ${c=>c.isSquared?"120px":""};
20
+ min-width: ${o=>o.isSquared?"120px":""};
21
21
  &:hover {
22
22
  background-color: rgba(0, 0, 0, 0.03);
23
23
  }
24
- background-color: ${c=>c.isSquared&&c.selected?`${b.colorsV2.background.brandLight}`:""};
25
- `,o=styled.div`
24
+ background-color: ${o=>o.isSquared&&o.selected?`${e.colorsV2.background.brandLight}`:""};
25
+ `,i=o.div`
26
26
  display: flex;
27
27
  flex-direction: row;
28
28
  align-items: center;
@@ -30,14 +30,16 @@ import c from"@emotion/styled/base";import{DEFAULT_THEME as b}from"../../constan
30
30
  justify-content: center;
31
31
  min-width: 20px;
32
32
  height: 20px;
33
- background: ${c=>c.selected?b.colorsV2.background.inverseLight:b.colorsV2.content.secondary};
34
- color: ${b.colorsV2.content.primaryInverse};
33
+ background: ${o=>o.selected?e.colorsV2.background.inverseLight:e.colorsV2.content.secondary};
34
+ color: ${e.colorsV2.content.primaryInverse};
35
35
  border-radius: 10px;
36
- `,t=c(d,"production"===process.env.NODE_ENV?{target:"e1yo8x5a0"}:{target:"e1yo8x5a0",label:"TabItemText"})("color:",(c=>c.selected?c.selectedTextColor:c.textColor),";"+("production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlRhYnMuc3R5bGVzLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF1RCtDIiwiZmlsZSI6IlRhYnMuc3R5bGVzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCB7IERFRkFVTFRfVEhFTUUgfSBmcm9tICdAc3JjL2NvbnN0YW50cy9UaGVtZSc7XG5pbXBvcnQgeyBCdXR0b25MYXJnZSB9IGZyb20gJy4uL1R5cG9ncmFwaHlTdHlsZSc7XG5leHBvcnQgY29uc3QgVGFiSGVhZGVyID0gc3R5bGVkWydkaXYnXSBgXG5cdGRpc3BsYXk6IGZsZXg7XG5cdGZsZXgtZGlyZWN0aW9uOiByb3c7XG5cdGJhY2tncm91bmQtY29sb3I6ICR7KHByb3BzKSA9PiBwcm9wcy5iZ0NvbG9yfTtcbmA7XG5leHBvcnQgY29uc3QgVGFiSXRlbSA9IHN0eWxlZFsnZGl2J10gYFxuXHRkaXNwbGF5OiBmbGV4O1xuXHRmbGV4LWRpcmVjdGlvbjogcm93O1xuXHRjb2x1bW4tZ2FwOiA4cHg7XG5cdHBhZGRpbmc6ICR7KHByb3BzKSA9PiAocHJvcHMuaXNTcXVhcmVkID8gJzhweCAyNHB4JyA6ICcxNHB4IDI0cHggMTJweCAyNHB4Jyl9O1xuXHRwYWRkaW5nLWJvdHRvbTogJHsocHJvcHMpID0+IHByb3BzLmlzU3F1YXJlZCA/ICcnIDogcHJvcHMuc2VsZWN0ZWQgPyAnMTJweCcgOiAnMTNweCd9O1xuXHRhbGlnbi1pdGVtczogY2VudGVyO1xuXHRqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcblx0d2lkdGg6ICR7KHByb3BzKSA9PiAocHJvcHMuaGFzRXF1YWxTcGFjaW5nID8gJzUwJScgOiAnYXV0bycpfTtcblx0Ym9yZGVyLWJvdHRvbS1jb2xvcjogJHsocHJvcHMpID0+IHByb3BzLmlzU3F1YXJlZFxuICAgID8gJydcbiAgICA6IHByb3BzLnNlbGVjdGVkXG4gICAgICAgID8gcHJvcHMuc2VsZWN0ZWRUZXh0Q29sb3JcbiAgICAgICAgOiBERUZBVUxUX1RIRU1FLmNvbG9yc1YyLmJhY2tncm91bmQuaW5hY3RpdmV9O1xuXHRib3JkZXItYm90dG9tLXdpZHRoOiAkeyhwcm9wcykgPT4gcHJvcHMuaXNTcXVhcmVkID8gJycgOiBwcm9wcy5zZWxlY3RlZCA/ICcycHgnIDogJzFweCd9O1xuXHRib3JkZXItYm90dG9tLXN0eWxlOiAkeyhwcm9wcykgPT4gKHByb3BzLmlzU3F1YXJlZCA/ICcnIDogJ3NvbGlkJyl9O1xuXHRib3JkZXI6ICR7KHByb3BzKSA9PiBwcm9wcy5pc1NxdWFyZWRcbiAgICA/IHByb3BzLnNlbGVjdGVkXG4gICAgICAgID8gYDFweCBzb2xpZCAke3Byb3BzLnNlbGVjdGVkVGV4dENvbG9yfWBcbiAgICAgICAgOiBgMXB4IHNvbGlkICR7REVGQVVMVF9USEVNRS5jb2xvcnNWMi5iYWNrZ3JvdW5kLmluYWN0aXZlfWBcbiAgICA6ICcnfTtcblx0ZmxleC1kaXJlY3Rpb246IHJvdztcblx0Y3Vyc29yOiBwb2ludGVyO1xuXHRtaW4td2lkdGg6ICR7KHByb3BzKSA9PiAocHJvcHMuaXNTcXVhcmVkID8gJzEyMHB4JyA6ICcnKX07XG5cdCY6aG92ZXIge1xuXHRcdGJhY2tncm91bmQtY29sb3I6IHJnYmEoMCwgMCwgMCwgMC4wMyk7XG5cdH1cblx0YmFja2dyb3VuZC1jb2xvcjogJHsocHJvcHMpID0+IHByb3BzLmlzU3F1YXJlZFxuICAgID8gcHJvcHMuc2VsZWN0ZWRcbiAgICAgICAgPyBgJHtERUZBVUxUX1RIRU1FLmNvbG9yc1YyLmJhY2tncm91bmQuYnJhbmRMaWdodH1gXG4gICAgICAgIDogJydcbiAgICA6ICcnfTtcbmA7XG5leHBvcnQgY29uc3QgVHJhaWxpbmdOdW1iZXJDb250YWluZXIgPSBzdHlsZWRbJ2RpdiddIGBcblx0ZGlzcGxheTogZmxleDtcblx0ZmxleC1kaXJlY3Rpb246IHJvdztcblx0YWxpZ24taXRlbXM6IGNlbnRlcjtcblx0Z2FwOiA2cHg7XG5cdGp1c3RpZnktY29udGVudDogY2VudGVyO1xuXHRtaW4td2lkdGg6IDIwcHg7XG5cdGhlaWdodDogMjBweDtcblx0YmFja2dyb3VuZDogJHsocHJvcHMpID0+IHByb3BzLnNlbGVjdGVkXG4gICAgPyBERUZBVUxUX1RIRU1FLmNvbG9yc1YyLmJhY2tncm91bmQuaW52ZXJzZUxpZ2h0XG4gICAgOiBERUZBVUxUX1RIRU1FLmNvbG9yc1YyLmNvbnRlbnQuc2Vjb25kYXJ5fTtcblx0Y29sb3I6ICR7REVGQVVMVF9USEVNRS5jb2xvcnNWMi5jb250ZW50LnByaW1hcnlJbnZlcnNlfTtcblx0Ym9yZGVyLXJhZGl1czogMTBweDtcbmA7XG5leHBvcnQgY29uc3QgVGFiSXRlbVRleHQgPSBzdHlsZWQoQnV0dG9uTGFyZ2UpIGBcblx0Y29sb3I6ICR7KHByb3BzKSA9PiBwcm9wcy5zZWxlY3RlZCA/IHByb3BzLnNlbGVjdGVkVGV4dENvbG9yIDogcHJvcHMudGV4dENvbG9yfTtcbmA7XG5leHBvcnQgY29uc3QgRW1wdHlUYWIgPSBzdHlsZWRbJ2RpdiddIGBcblx0ZmxleC1ncm93OiAxO1xuXHRib3JkZXItYm90dG9tOiAxcHggc29saWQgJHtERUZBVUxUX1RIRU1FLmNvbG9yc1YyLmJhY2tncm91bmQuaW5hY3RpdmV9O1xuYDtcbmV4cG9ydCBjb25zdCBSaWdodENvbXBvbmVudCA9IHN0eWxlZFsnZGl2J10gYFxuXHRkaXNwbGF5OiBmbGV4O1xuXHRhbGlnbi1pdGVtczogY2VudGVyO1xuXHRib3JkZXItYm90dG9tOiAxcHggc29saWQgJHtERUZBVUxUX1RIRU1FLmNvbG9yc1YyLmJhY2tncm91bmQuaW5hY3RpdmV9O1xuYDtcbi8vIyBzb3VyY2VNYXBwaW5nVVJMPVRhYnMuc3R5bGVzLmpzLm1hcCJdfQ== */")),g=styled.div`
36
+ `,c=o(r)`
37
+ color: ${o=>o.selected?o.selectedTextColor:o.textColor};
38
+ `,l=o.div`
37
39
  flex-grow: 1;
38
- border-bottom: 1px solid ${b.colorsV2.background.inactive};
39
- `,i=styled.div`
40
+ border-bottom: 1px solid ${e.colorsV2.background.inactive};
41
+ `,s=o.div`
40
42
  display: flex;
41
43
  align-items: center;
42
- border-bottom: 1px solid ${b.colorsV2.background.inactive};
43
- `;export{g as EmptyTab,i as RightComponent,l as TabHeader,e as TabItem,t as TabItemText,o as TrailingNumberContainer};
44
+ border-bottom: 1px solid ${e.colorsV2.background.inactive};
45
+ `;export{l as EmptyTab,s as RightComponent,t as TabHeader,d as TabItem,c as TabItemText,i as TrailingNumberContainer};
@@ -1,8 +1,5 @@
1
1
  import { TagTheme, TagType, TagVariant } from './model';
2
- export declare const Tag: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme;
4
- as?: React.ElementType;
5
- } & {
2
+ export declare const Tag: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
6
3
  theme: TagTheme;
7
4
  type: TagType;
8
5
  variant: TagVariant;
@@ -11,4 +8,4 @@ export declare const Tag: import("@emotion/styled").StyledComponent<{
11
8
  alignIcon?: string;
12
9
  noBorder?: boolean;
13
10
  contentPadding?: number;
14
- }, JSX.IntrinsicElements, {}>;
11
+ }>> & string;
@@ -1,4 +1,4 @@
1
- import e from"@emotion/styled";import{getPadding as t,getBackgroundColor as n,generateBorder as i,getTextColor as r}from"./themes.js";const a=e.div`
1
+ import e from"styled-components";import{getPadding as t,getBackgroundColor as n,generateBorder as i,getTextColor as r}from"./themes.js";const a=e.div`
2
2
  cursor: ${e=>{var t;return null!==(t=e.cursor)&&void 0!==t?t:"default"}};
3
3
  ${e=>"regular"===e.variant?"display: block;\n\t\t min-height: 26px;\n\t\t":"min-height: 20px;"}
4
4
  .container {
@@ -96,7 +96,7 @@ export interface TagProps extends React.BaseHTMLAttributes<HTMLDivElement> {
96
96
  cursor?: string;
97
97
  alignIcon?: string;
98
98
  noBorder?: boolean;
99
- tagHtmlText?: JSX.Element;
99
+ tagHtmlText?: React.JSX.Element;
100
100
  contentPadding?: number;
101
101
  tagColor?: string;
102
102
  numberOfLines?: number;