@bikdotai/bik-component-library 0.0.754-beta.12 → 0.0.754-beta.3

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 (137) hide show
  1. package/dist/cjs/assets/icons/play.svg.js +1 -0
  2. package/dist/cjs/components/TablePagination/TablePagination.d.ts +1 -0
  3. package/dist/cjs/components/TablePagination/TablePagination.js +1 -1
  4. package/dist/cjs/components/TablePagination/TablePaginationCard.d.ts +1 -1
  5. package/dist/cjs/components/WhatsAppTextEditor/CustomEditor.styled.d.ts +3 -3
  6. package/dist/cjs/components/WhatsAppTextEditor/WhatsAppTextEditorHeader.d.ts +1 -1
  7. package/dist/cjs/components/analytics-card/AnalyticsCard.styled.d.ts +2 -2
  8. package/dist/cjs/components/analytics-chips-and-dropdowns/CommonStyles.d.ts +5 -5
  9. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/LineChart/LineChart.styled.d.ts +3 -3
  10. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/heatmap/HeatMapStyled.d.ts +8 -8
  11. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/heatmap/HeatMapVertical.d.ts +1 -1
  12. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/LinearChipGroupedChart.styled.d.ts +5 -5
  13. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/scoreBlock/ScoreBlock.styled.d.ts +5 -5
  14. package/dist/cjs/components/banner/Banner.styled.d.ts +20 -20
  15. package/dist/cjs/components/bik-layout/CommonStyles.d.ts +17 -17
  16. package/dist/cjs/components/bik-layout/MockMenus.d.ts +0 -1
  17. package/dist/cjs/components/button/Button.styled.d.ts +1 -1
  18. package/dist/cjs/components/card-selection-modal/CardSelectionModal.styled.d.ts +2 -2
  19. package/dist/cjs/components/carousel-secondary/CarouselSecondary.style.d.ts +6 -6
  20. package/dist/cjs/components/checkList/CheckList.styled.d.ts +1 -1
  21. package/dist/cjs/components/colourInput/ColourInput.styled.d.ts +2 -2
  22. package/dist/cjs/components/country-code-picker/CountryCodePicker.styled.d.ts +2 -2
  23. package/dist/cjs/components/country-code-picker/CountryPicker.styled.d.ts +2 -2
  24. package/dist/cjs/components/custom-date-time/CustomDateTime.styled.d.ts +1 -1
  25. package/dist/cjs/components/dashboard-review-popup/DashboardReviewPopUp.styled.d.ts +2 -2
  26. package/dist/cjs/components/dashboard-review-popup/components/FiveStar.styled.d.ts +2 -2
  27. package/dist/cjs/components/dashboard-review-popup/components/Form.styled.d.ts +6 -6
  28. package/dist/cjs/components/datePicker/DatePicker.styled.d.ts +4 -4
  29. package/dist/cjs/components/discount-modal/DiscountModal.styled.d.ts +5 -5
  30. package/dist/cjs/components/feature-announcements/FeatureAnnouncementProvider.js +1 -1
  31. package/dist/cjs/components/feature-announcements/MajorUpdatePopup.js +1 -1
  32. package/dist/cjs/components/feature-announcements/constants/dimensions.d.ts +99 -25
  33. package/dist/cjs/components/feature-announcements/constants/dimensions.js +1 -1
  34. package/dist/cjs/components/feature-announcements/styles/joyride.styles.d.ts +2 -2
  35. package/dist/cjs/components/feature-announcements/styles/majorPopup.styles.d.ts +14 -1
  36. package/dist/cjs/components/feature-announcements/styles/majorPopup.styles.js +1 -1
  37. package/dist/cjs/components/feature-announcements/types/feature.types.d.ts +47 -0
  38. package/dist/cjs/components/feature-announcements/types/props.types.d.ts +25 -3
  39. package/dist/cjs/components/input/Input.styled.d.ts +4 -4
  40. package/dist/cjs/components/keywords-input/KeywordsInput.styled.d.ts +1 -1
  41. package/dist/cjs/components/list-item/ListItem.styled.d.ts +1 -1
  42. package/dist/cjs/components/modals/modal.styled.d.ts +4 -4
  43. package/dist/cjs/components/pagination/Pagination.styled.d.ts +1 -1
  44. package/dist/cjs/components/plans/DurationSelectorStyles.d.ts +1 -1
  45. package/dist/cjs/components/plans/SubscriptionPlanSelector.d.ts +2 -2
  46. package/dist/cjs/components/plans/SubscriptionPlanStyled.d.ts +2 -2
  47. package/dist/cjs/components/product-picker/ProductPicker.styled.d.ts +2 -2
  48. package/dist/cjs/components/progress-bar/ProgressBarComponent.d.ts +1 -1
  49. package/dist/cjs/components/radioList/RadioList.styled.d.ts +1 -1
  50. package/dist/cjs/components/sample-button/SampleButton.styled.d.ts +1 -1
  51. package/dist/cjs/components/shimmer/ShimmerComponent/ShimmerStyled.d.ts +2 -2
  52. package/dist/cjs/components/switch/Switch.d.ts +3 -3
  53. package/dist/cjs/components/tabs/Tabs.styles.d.ts +5 -5
  54. package/dist/cjs/components/tag/Tag.styled.d.ts +1 -1
  55. package/dist/cjs/components/testimonial-card/TestimonialCard.style.d.ts +9 -9
  56. package/dist/cjs/components/toaster/Toaster.js +1 -1
  57. package/dist/cjs/components/toaster/Toaster.styled.d.ts +1 -1
  58. package/dist/cjs/components/vertical-full-screen-modal/component.d.ts +24 -0
  59. package/dist/cjs/components/vertical-full-screen-modal/component.js +1 -0
  60. package/dist/cjs/components/vertical-full-screen-modal/index.d.ts +2 -0
  61. package/dist/cjs/components/vertical-full-screen-modal/styles.d.ts +8 -0
  62. package/dist/cjs/components/vertical-full-screen-modal/styles.js +45 -0
  63. package/dist/cjs/components/vertical-full-screen-modal/types.d.ts +27 -0
  64. package/dist/cjs/components/whats-new/WhatsNew.types.d.ts +6 -0
  65. package/dist/cjs/components/whats-new/WhatsNewButton.js +1 -1
  66. package/dist/cjs/components/whats-new/WhatsNewPanel.js +1 -1
  67. package/dist/cjs/index.d.ts +1 -0
  68. package/dist/cjs/index.js +1 -1
  69. package/dist/esm/assets/icons/play.svg.js +1 -0
  70. package/dist/esm/components/TablePagination/TablePagination.d.ts +1 -0
  71. package/dist/esm/components/TablePagination/TablePagination.js +1 -1
  72. package/dist/esm/components/TablePagination/TablePaginationCard.d.ts +1 -1
  73. package/dist/esm/components/WhatsAppTextEditor/CustomEditor.styled.d.ts +3 -3
  74. package/dist/esm/components/WhatsAppTextEditor/WhatsAppTextEditorHeader.d.ts +1 -1
  75. package/dist/esm/components/analytics-card/AnalyticsCard.styled.d.ts +2 -2
  76. package/dist/esm/components/analytics-chips-and-dropdowns/CommonStyles.d.ts +5 -5
  77. package/dist/esm/components/analytics-chips-and-dropdowns/chart/LineChart/LineChart.styled.d.ts +3 -3
  78. package/dist/esm/components/analytics-chips-and-dropdowns/chart/heatmap/HeatMapStyled.d.ts +8 -8
  79. package/dist/esm/components/analytics-chips-and-dropdowns/chart/heatmap/HeatMapVertical.d.ts +1 -1
  80. package/dist/esm/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/LinearChipGroupedChart.styled.d.ts +5 -5
  81. package/dist/esm/components/analytics-chips-and-dropdowns/chart/scoreBlock/ScoreBlock.styled.d.ts +5 -5
  82. package/dist/esm/components/banner/Banner.styled.d.ts +20 -20
  83. package/dist/esm/components/bik-layout/CommonStyles.d.ts +17 -17
  84. package/dist/esm/components/bik-layout/MockMenus.d.ts +0 -1
  85. package/dist/esm/components/button/Button.styled.d.ts +1 -1
  86. package/dist/esm/components/card-selection-modal/CardSelectionModal.styled.d.ts +2 -2
  87. package/dist/esm/components/carousel-secondary/CarouselSecondary.style.d.ts +6 -6
  88. package/dist/esm/components/checkList/CheckList.styled.d.ts +1 -1
  89. package/dist/esm/components/colourInput/ColourInput.styled.d.ts +2 -2
  90. package/dist/esm/components/country-code-picker/CountryCodePicker.styled.d.ts +2 -2
  91. package/dist/esm/components/country-code-picker/CountryPicker.styled.d.ts +2 -2
  92. package/dist/esm/components/custom-date-time/CustomDateTime.styled.d.ts +1 -1
  93. package/dist/esm/components/dashboard-review-popup/DashboardReviewPopUp.styled.d.ts +2 -2
  94. package/dist/esm/components/dashboard-review-popup/components/FiveStar.styled.d.ts +2 -2
  95. package/dist/esm/components/dashboard-review-popup/components/Form.styled.d.ts +6 -6
  96. package/dist/esm/components/datePicker/DatePicker.styled.d.ts +4 -4
  97. package/dist/esm/components/discount-modal/DiscountModal.styled.d.ts +5 -5
  98. package/dist/esm/components/feature-announcements/FeatureAnnouncementProvider.js +1 -1
  99. package/dist/esm/components/feature-announcements/MajorUpdatePopup.js +1 -1
  100. package/dist/esm/components/feature-announcements/constants/dimensions.d.ts +99 -25
  101. package/dist/esm/components/feature-announcements/constants/dimensions.js +1 -1
  102. package/dist/esm/components/feature-announcements/styles/joyride.styles.d.ts +2 -2
  103. package/dist/esm/components/feature-announcements/styles/majorPopup.styles.d.ts +14 -1
  104. package/dist/esm/components/feature-announcements/styles/majorPopup.styles.js +1 -1
  105. package/dist/esm/components/feature-announcements/types/feature.types.d.ts +47 -0
  106. package/dist/esm/components/feature-announcements/types/props.types.d.ts +25 -3
  107. package/dist/esm/components/input/Input.styled.d.ts +4 -4
  108. package/dist/esm/components/keywords-input/KeywordsInput.styled.d.ts +1 -1
  109. package/dist/esm/components/list-item/ListItem.styled.d.ts +1 -1
  110. package/dist/esm/components/modals/modal.styled.d.ts +4 -4
  111. package/dist/esm/components/pagination/Pagination.styled.d.ts +1 -1
  112. package/dist/esm/components/plans/DurationSelectorStyles.d.ts +1 -1
  113. package/dist/esm/components/plans/SubscriptionPlanSelector.d.ts +2 -2
  114. package/dist/esm/components/plans/SubscriptionPlanStyled.d.ts +2 -2
  115. package/dist/esm/components/product-picker/ProductPicker.styled.d.ts +2 -2
  116. package/dist/esm/components/progress-bar/ProgressBarComponent.d.ts +1 -1
  117. package/dist/esm/components/radioList/RadioList.styled.d.ts +1 -1
  118. package/dist/esm/components/sample-button/SampleButton.styled.d.ts +1 -1
  119. package/dist/esm/components/shimmer/ShimmerComponent/ShimmerStyled.d.ts +2 -2
  120. package/dist/esm/components/switch/Switch.d.ts +3 -3
  121. package/dist/esm/components/tabs/Tabs.styles.d.ts +5 -5
  122. package/dist/esm/components/tag/Tag.styled.d.ts +1 -1
  123. package/dist/esm/components/testimonial-card/TestimonialCard.style.d.ts +9 -9
  124. package/dist/esm/components/toaster/Toaster.js +1 -1
  125. package/dist/esm/components/toaster/Toaster.styled.d.ts +1 -1
  126. package/dist/esm/components/vertical-full-screen-modal/component.d.ts +24 -0
  127. package/dist/esm/components/vertical-full-screen-modal/component.js +1 -0
  128. package/dist/esm/components/vertical-full-screen-modal/index.d.ts +2 -0
  129. package/dist/esm/components/vertical-full-screen-modal/styles.d.ts +8 -0
  130. package/dist/esm/components/vertical-full-screen-modal/styles.js +45 -0
  131. package/dist/esm/components/vertical-full-screen-modal/types.d.ts +27 -0
  132. package/dist/esm/components/whats-new/WhatsNew.types.d.ts +6 -0
  133. package/dist/esm/components/whats-new/WhatsNewButton.js +1 -1
  134. package/dist/esm/components/whats-new/WhatsNewPanel.js +1 -1
  135. package/dist/esm/index.d.ts +1 -0
  136. package/dist/esm/index.js +1 -1
  137. package/package.json +1 -1
@@ -1,16 +1,12 @@
1
- /**
2
- * Popup dimension constants
3
- */
4
1
  export declare const POPUP_DIMENSIONS: {
5
2
  readonly MAJOR: {
6
- readonly width: 959;
7
- readonly height: 274;
8
- readonly imageWidth: 480;
9
- readonly imageHeight: 274;
10
- readonly imageInnerWidth: 464;
11
- readonly imageInnerHeight: 258;
12
- readonly imagePlaceholderWidth: 290;
13
- readonly imagePlaceholderHeight: 258;
3
+ readonly height: 224;
4
+ readonly textAreaWidth: 398;
5
+ readonly imageWidth: {
6
+ readonly '16:9': 398;
7
+ readonly '1:1': 224;
8
+ readonly '4:3': 299;
9
+ };
14
10
  };
15
11
  readonly MINOR: {
16
12
  readonly width: 519;
@@ -20,20 +16,41 @@ export declare const POPUP_DIMENSIONS: {
20
16
  readonly badgeHeight: 27;
21
17
  };
22
18
  };
19
+ export declare const TEXT_LIMITS: {
20
+ readonly MAJOR: {
21
+ readonly TITLE: {
22
+ readonly MAX_LINES: 2;
23
+ };
24
+ readonly CONTENT: {
25
+ readonly MAX_LINES: 4;
26
+ readonly MAX_CHARS: 360;
27
+ readonly CHARS_PER_LINE: 72;
28
+ };
29
+ };
30
+ };
23
31
  /**
24
32
  * Spacing constants
25
33
  */
26
34
  export declare const SPACING: {
27
35
  readonly MAJOR: {
28
- readonly contentMargin: "0 8px 0 0";
29
- readonly imagePadding: "8px";
30
- readonly titlePadding: "36px 0 0 0";
31
- readonly buttonMarginTop: "16px";
32
- readonly skipButtonTop: "10px";
33
- readonly skipButtonRight: "10px";
34
- readonly navigationBottom: "16px";
35
- readonly navigationRight: "16px";
36
- readonly navigationGap: "8px";
36
+ readonly containerPadding: "16px";
37
+ readonly contentGap: "16px";
38
+ readonly titleBottom: "0px";
39
+ readonly listGap: "8px";
40
+ readonly actionsTop: "16px";
41
+ readonly headerMarginBottom: "8px";
42
+ readonly contentMarginLeft: "0px";
43
+ readonly skipButtonContainerMargin: "8px";
44
+ readonly contentMargin: "0 0 0 0px";
45
+ readonly imagePadding: "0px";
46
+ readonly titlePadding: "0 0 0px 0";
47
+ readonly buttonMarginTop: "0px";
48
+ readonly skipButtonPadding: "2px 4px";
49
+ readonly skipButtonTop: "8px";
50
+ readonly skipButtonRight: "8px";
51
+ readonly navigationBottom: "0px";
52
+ readonly navigationRight: "0px";
53
+ readonly navigationGap: "4px";
37
54
  };
38
55
  readonly MINOR: {
39
56
  readonly imageMargin: "13px 10px 13px 10px";
@@ -43,14 +60,71 @@ export declare const SPACING: {
43
60
  readonly actionsGap: "16px";
44
61
  };
45
62
  };
46
- /**
47
- * Border radius constants
48
- */
49
63
  export declare const BORDER_RADIUS: {
50
- readonly POPUP: "4px";
51
- readonly IMAGE: "4px";
64
+ readonly POPUP: "8px";
65
+ readonly IMAGE: "6px";
52
66
  readonly BUTTON: "4px";
53
67
  readonly VIDEO_MODAL: "12px";
54
68
  readonly CLOSE_BUTTON: "50%";
55
69
  readonly SPOTLIGHT: "8px";
56
70
  };
71
+ /**
72
+ * Design tokens - Colors
73
+ */
74
+ export declare const DESIGN_COLORS: {
75
+ readonly BACKGROUND: {
76
+ readonly SURFACE: "#212121";
77
+ readonly IMAGE: "#F0F0F0";
78
+ };
79
+ readonly TEXT: {
80
+ readonly PRIMARY: "#FFFFFF";
81
+ readonly SECONDARY: "rgba(255, 255, 255, 0.8)";
82
+ readonly TERTIARY: "#BDBDBD";
83
+ };
84
+ readonly BUTTON: {
85
+ readonly PRIMARY_TEXT: "#FEC02D";
86
+ readonly PRIMARY_BORDER: "#FEC02D";
87
+ };
88
+ readonly ICON: {
89
+ readonly DISABLED: "rgba(255, 255, 255, 0.3)";
90
+ readonly ENABLED: "#FFFFFF";
91
+ };
92
+ };
93
+ /**
94
+ * Design tokens - Typography
95
+ */
96
+ export declare const DESIGN_TYPOGRAPHY: {
97
+ readonly SKIP_BUTTON: {
98
+ readonly fontSize: "14px";
99
+ readonly fontWeight: "600";
100
+ readonly lineHeight: "20px";
101
+ readonly fontFamily: "Inter, sans-serif";
102
+ };
103
+ readonly TITLE: {
104
+ readonly fontSize: "14px";
105
+ readonly fontWeight: "600";
106
+ readonly lineHeight: "20px";
107
+ readonly fontFamily: "Inter, sans-serif";
108
+ };
109
+ readonly CONTENT: {
110
+ readonly fontSize: "12px";
111
+ readonly fontWeight: "400";
112
+ readonly lineHeight: "16px";
113
+ readonly fontFamily: "Inter, sans-serif";
114
+ };
115
+ readonly BUTTON: {
116
+ readonly fontSize: "14px";
117
+ readonly fontWeight: "600";
118
+ readonly lineHeight: "20px";
119
+ readonly fontFamily: "Inter, sans-serif";
120
+ };
121
+ };
122
+ /**
123
+ * Design tokens - Dimensions
124
+ */
125
+ export declare const DESIGN_DIMENSIONS: {
126
+ readonly IMAGE_HEIGHT: 224;
127
+ readonly NAVIGATION_BUTTON_SIZE: 24;
128
+ readonly BUTTON_HEIGHT: 32;
129
+ readonly BUTTON_PADDING_HORIZONTAL: "12px";
130
+ };
@@ -1 +1 @@
1
- const i={MAJOR:{width:959,height:274,imageWidth:480,imageHeight:274,imageInnerWidth:464,imageInnerHeight:258,imagePlaceholderWidth:290,imagePlaceholderHeight:258},MINOR:{width:519,height:160,imageWidth:235,imageHeight:134,badgeHeight:27}},t={MAJOR:{contentMargin:"0 8px 0 0",imagePadding:"8px",titlePadding:"36px 0 0 0",buttonMarginTop:"16px",skipButtonTop:"10px",skipButtonRight:"10px",navigationBottom:"16px",navigationRight:"16px",navigationGap:"8px"},MINOR:{imageMargin:"13px 10px 13px 10px",contentMargin:"13px 13px 13px 3px",actionsBottom:"13px",actionsRight:"10px",actionsGap:"16px"}},p={POPUP:"4px",IMAGE:"4px",BUTTON:"4px",VIDEO_MODAL:"12px",CLOSE_BUTTON:"50%",SPOTLIGHT:"8px"};export{p as BORDER_RADIUS,i as POPUP_DIMENSIONS,t as SPACING};
1
+ const t={MAJOR:{height:224,textAreaWidth:398,imageWidth:{"16:9":398,"1:1":224,"4:3":299}},MINOR:{width:519,height:160,imageWidth:235,imageHeight:134,badgeHeight:27}},i={MAJOR:{containerPadding:"16px",contentGap:"16px",titleBottom:"0px",listGap:"8px",actionsTop:"16px",headerMarginBottom:"8px",contentMarginLeft:"0px",skipButtonContainerMargin:"8px",contentMargin:"0 0 0 0px",imagePadding:"0px",titlePadding:"0 0 0px 0",buttonMarginTop:"0px",skipButtonPadding:"2px 4px",skipButtonTop:"8px",skipButtonRight:"8px",navigationBottom:"0px",navigationRight:"0px",navigationGap:"4px"},MINOR:{imageMargin:"13px 10px 13px 10px",contentMargin:"13px 13px 13px 3px",actionsBottom:"13px",actionsRight:"10px",actionsGap:"16px"}},n={POPUP:"8px",IMAGE:"6px",BUTTON:"4px",VIDEO_MODAL:"12px",CLOSE_BUTTON:"50%",SPOTLIGHT:"8px"},p={BACKGROUND:{SURFACE:"#212121",IMAGE:"#F0F0F0"},TEXT:{PRIMARY:"#FFFFFF",SECONDARY:"rgba(255, 255, 255, 0.8)",TERTIARY:"#BDBDBD"},BUTTON:{PRIMARY_TEXT:"#FEC02D",PRIMARY_BORDER:"#FEC02D"},ICON:{DISABLED:"rgba(255, 255, 255, 0.3)",ENABLED:"#FFFFFF"}},e={SKIP_BUTTON:{fontSize:"14px",fontWeight:"600",lineHeight:"20px",fontFamily:"Inter, sans-serif"},TITLE:{fontSize:"14px",fontWeight:"600",lineHeight:"20px",fontFamily:"Inter, sans-serif"},CONTENT:{fontSize:"12px",fontWeight:"400",lineHeight:"16px",fontFamily:"Inter, sans-serif"},BUTTON:{fontSize:"14px",fontWeight:"600",lineHeight:"20px",fontFamily:"Inter, sans-serif"}},x={IMAGE_HEIGHT:224,NAVIGATION_BUTTON_SIZE:24,BUTTON_HEIGHT:32,BUTTON_PADDING_HORIZONTAL:"12px"};export{n as BORDER_RADIUS,p as DESIGN_COLORS,x as DESIGN_DIMENSIONS,e as DESIGN_TYPOGRAPHY,t as POPUP_DIMENSIONS,i as SPACING};
@@ -27,7 +27,7 @@ export declare const minorStepStyles: {
27
27
  tooltip: {
28
28
  padding: number;
29
29
  backgroundColor: string;
30
- borderRadius: "4px";
30
+ borderRadius: "8px";
31
31
  border: string;
32
32
  filter: string;
33
33
  boxShadow: string;
@@ -101,7 +101,7 @@ export declare const getMinorJoyrideStyles: (isClosing: boolean) => {
101
101
  tooltip: {
102
102
  padding: number;
103
103
  backgroundColor: string;
104
- borderRadius: "4px";
104
+ borderRadius: "8px";
105
105
  border: string;
106
106
  filter: string;
107
107
  boxShadow: string;
@@ -1,6 +1,10 @@
1
1
  import { CSSProperties } from 'react';
2
- export declare const getMajorPopupStyles: (startAnimation: boolean, transform: string) => {
2
+ import { ButtonStyle } from '../types/feature.types';
3
+ export declare const getMajorPopupStyles: (startAnimation: boolean, transform: string, ratio?: '16:9' | '1:1' | '4:3', padding?: string, primaryButtonStyle?: ButtonStyle, secondaryButtonStyle?: ButtonStyle) => {
4
+ outerWrapper: CSSProperties;
3
5
  container: CSSProperties;
6
+ headerContainer: CSSProperties;
7
+ contentWrapper: CSSProperties;
4
8
  skipButton: {
5
9
  base: CSSProperties;
6
10
  hover: CSSProperties;
@@ -8,13 +12,22 @@ export declare const getMajorPopupStyles: (startAnimation: boolean, transform: s
8
12
  imageContainer: CSSProperties;
9
13
  image: CSSProperties;
10
14
  imagePlaceholder: CSSProperties;
15
+ videoOverlay: CSSProperties;
16
+ playIcon: CSSProperties;
11
17
  contentContainer: CSSProperties;
18
+ skipButtonContainer: CSSProperties;
12
19
  title: CSSProperties;
13
20
  content: CSSProperties;
21
+ actionsWrapper: CSSProperties;
22
+ buttonsGroup: CSSProperties;
14
23
  exploreButton: {
15
24
  base: CSSProperties;
16
25
  hover: CSSProperties;
17
26
  };
27
+ secondaryButton: {
28
+ base: CSSProperties;
29
+ hover: CSSProperties;
30
+ };
18
31
  navigationContainer: CSSProperties;
19
32
  navigationButton: (disabled: boolean) => {
20
33
  base: CSSProperties;
@@ -1 +1 @@
1
- import{BASE_COLORS as t}from"../../../constants/Theme.js";import{POPUP_TRANSITION as e}from"../constants/animations.js";import{POPUP_DIMENSIONS as n,BORDER_RADIUS as i,SPACING as o}from"../constants/dimensions.js";import{Z_INDEX as a}from"../constants/zIndex.js";const r=(r,l)=>({container:{width:`${n.MAJOR.width}px`,height:`${n.MAJOR.height}px`,display:"flex",backgroundColor:t.grayscale[900],borderRadius:i.POPUP,overflow:"hidden",position:"relative",transform:r?l:"scale(1)",opacity:r?0:1,transition:e},skipButton:{base:{position:"absolute",top:o.MAJOR.skipButtonTop,right:o.MAJOR.skipButtonRight,background:"transparent",border:"none",color:t.grayscale[400],fontSize:"14px",fontWeight:"500",cursor:"pointer",zIndex:a.SKIP_BUTTON,transition:"all 0.2s"},hover:{backgroundColor:t.grayscale[100],color:t.grayscale[700]}},imageContainer:{backgroundColor:t.grayscale[900],width:`${n.MAJOR.imageWidth}px`,height:`${n.MAJOR.imageHeight}px`,position:"relative",display:"flex",alignItems:"center",justifyContent:"center",padding:o.MAJOR.imagePadding},image:{width:`${n.MAJOR.imageInnerWidth}px`,height:`${n.MAJOR.imageInnerHeight}px`,objectFit:"cover"},imagePlaceholder:{color:t.grayscale[500],fontSize:"14px",textAlign:"center",width:`${n.MAJOR.imagePlaceholderWidth}px`,height:`${n.MAJOR.imagePlaceholderHeight}px`,display:"flex",alignItems:"center",justifyContent:"center"},contentContainer:{flex:1,display:"flex",margin:o.MAJOR.contentMargin,flexDirection:"column",justifyContent:"space-between",background:"transparent"},title:{fontSize:"16px",fontWeight:"600",padding:o.MAJOR.titlePadding,color:t.grayscale.white,lineHeight:"1.25",textAlign:"left"},content:{fontSize:"14px",lineHeight:"1.5",color:"rgba(255, 255, 255, 0.8)",textAlign:"left"},exploreButton:{base:{backgroundColor:"transparent",border:`1px solid ${t.warning[500]}`,color:t.warning[500],borderRadius:i.BUTTON,fontSize:"14px",fontWeight:"600",cursor:"pointer",width:"154px",height:"32px",transition:"all 0.2s",textAlign:"center",display:"flex",alignItems:"center",justifyContent:"center",marginTop:o.MAJOR.buttonMarginTop},hover:{backgroundColor:"rgba(254, 192, 45, 0.1)"}},navigationContainer:{position:"absolute",bottom:o.MAJOR.navigationBottom,right:o.MAJOR.navigationRight,display:"flex",gap:o.MAJOR.navigationGap,alignItems:"center"},navigationButton:e=>({base:{width:"24px",height:"24px",backgroundColor:"transparent",border:"none",color:e?t.grayscale[700]:t.grayscale.white,fontSize:"20px",cursor:e?"not-allowed":"pointer",display:"flex",alignItems:"center",justifyContent:"center",transition:"all 0.2s"},hover:{color:t.warning[500]}})});export{r as getMajorPopupStyles};
1
+ import{BASE_COLORS as t}from"../../../constants/Theme.js";import{POPUP_TRANSITION as e}from"../constants/animations.js";import{SPACING as n,POPUP_DIMENSIONS as o,DESIGN_COLORS as i,BORDER_RADIUS as r,DESIGN_TYPOGRAPHY as a,DESIGN_DIMENSIONS as l}from"../constants/dimensions.js";const d=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"16:9";return o.MAJOR.imageWidth[t]||o.MAJOR.imageWidth["16:9"]},s=(t,e)=>Object.assign(Object.assign(Object.assign(Object.assign({},t),(null==e?void 0:e.textColor)&&{color:e.textColor}),(null==e?void 0:e.backgroundColor)&&{backgroundColor:e.backgroundColor}),(null==e?void 0:e.borderColor)&&{borderColor:e.borderColor}),g=function(g,c){let p=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"16:9",T=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n.MAJOR.containerPadding,f=arguments.length>4?arguments[4]:void 0,h=arguments.length>5?arguments[5]:void 0;const u=d(p),O=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"16:9";const e=d(t);let n;switch(t){case"16:9":n=Math.round(e*(9/16));break;case"1:1":n=e;break;case"4:3":n=Math.round(e*(3/4));break;default:n=l.IMAGE_HEIGHT}return Math.min(n,224)}(p),x=parseInt(T,10)||16,b=x+u+parseInt(n.MAJOR.contentGap,10)+o.MAJOR.textAreaWidth+x,m=O+2*x;return{outerWrapper:{width:`${x+d("16:9")+parseInt(n.MAJOR.contentGap,10)+o.MAJOR.textAreaWidth+x}px`,display:"flex",justifyContent:"flex-end",background:"transparent"},container:{width:`${b}px`,height:"auto",minHeight:`${m}px`,display:"flex",flexDirection:"column",backgroundColor:i.BACKGROUND.SURFACE,borderRadius:r.POPUP,overflow:"hidden",position:"relative",padding:T,transform:g?c:"scale(1)",opacity:g?0:1,transition:e,boxSizing:"border-box"},headerContainer:{width:"100%",display:"flex",justifyContent:"flex-end",marginBottom:n.MAJOR.headerMarginBottom,position:"relative"},contentWrapper:{display:"flex",flex:1,gap:n.MAJOR.contentGap},skipButton:{base:{background:"transparent",border:"none",color:i.TEXT.TERTIARY,fontSize:a.SKIP_BUTTON.fontSize,fontWeight:a.SKIP_BUTTON.fontWeight,cursor:"pointer",padding:n.MAJOR.skipButtonPadding,borderRadius:r.BUTTON,fontFamily:a.SKIP_BUTTON.fontFamily,lineHeight:a.SKIP_BUTTON.lineHeight},hover:{backgroundColor:"rgba(255, 255, 255, 0.10)",color:t.grayscale[700]}},imageContainer:{backgroundColor:i.BACKGROUND.IMAGE,width:`${u}px`,height:`${O}px`,position:"relative",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:r.BUTTON,overflow:"hidden",flexShrink:0},image:{width:"100%",height:"100%",objectFit:"cover"},imagePlaceholder:{color:t.grayscale[500],fontSize:"14px",textAlign:"center",width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:t.grayscale[800]},videoOverlay:{position:"absolute",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(0,0,0,0.4)",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",zIndex:10,transition:"opacity 0.2s"},playIcon:{width:"84px",height:"84px",color:"#060606ff"},contentContainer:{flex:"1 0 auto",width:`${o.MAJOR.textAreaWidth}px`,minWidth:`${o.MAJOR.textAreaWidth}px`,maxWidth:`${o.MAJOR.textAreaWidth}px`,display:"flex",flexDirection:"column",justifyContent:"flex-start",background:"transparent",gap:n.MAJOR.listGap},skipButtonContainer:{width:"100%",display:"flex",justifyContent:"flex-end",marginBottom:n.MAJOR.skipButtonContainerMargin},title:{fontSize:a.TITLE.fontSize,fontWeight:a.TITLE.fontWeight,marginBottom:n.MAJOR.titleBottom,padding:0,color:i.TEXT.PRIMARY,lineHeight:a.TITLE.lineHeight,textAlign:"left",display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden",fontFamily:a.TITLE.fontFamily},content:{fontSize:a.CONTENT.fontSize,lineHeight:a.CONTENT.lineHeight,color:i.TEXT.SECONDARY,textAlign:"left",marginBottom:"auto",fontFamily:a.CONTENT.fontFamily,fontWeight:a.CONTENT.fontWeight},actionsWrapper:{display:"flex",alignItems:"center",justifyContent:"space-between",marginTop:"auto",gap:"8px",flexWrap:"nowrap"},buttonsGroup:{display:"flex",alignItems:"center",gap:n.MAJOR.listGap},exploreButton:{base:s({backgroundColor:"transparent",border:`1px solid ${i.BUTTON.PRIMARY_BORDER}`,color:i.BUTTON.PRIMARY_TEXT,borderRadius:r.BUTTON,fontSize:a.BUTTON.fontSize,fontWeight:a.BUTTON.fontWeight,cursor:"pointer",padding:`0 ${l.BUTTON_PADDING_HORIZONTAL}`,height:`${l.BUTTON_HEIGHT}px`,textAlign:"center",minWidth:"auto",textDecoration:"none",display:"inline-flex",alignItems:"center",justifyContent:"center",fontFamily:a.BUTTON.fontFamily,lineHeight:a.BUTTON.lineHeight},f),hover:{backgroundColor:"rgba(255, 255, 255, 0.10)"}},secondaryButton:{base:s({backgroundColor:"transparent",color:i.BUTTON.PRIMARY_TEXT,borderRadius:r.BUTTON,fontSize:a.BUTTON.fontSize,fontWeight:a.BUTTON.fontWeight,cursor:"pointer",padding:`0 ${l.BUTTON_PADDING_HORIZONTAL}`,height:`${l.BUTTON_HEIGHT}px`,border:"none",boxShadow:"none",textAlign:"center",minWidth:"auto",textDecoration:"none",display:"inline-flex",alignItems:"center",justifyContent:"center",fontFamily:a.BUTTON.fontFamily,lineHeight:a.BUTTON.lineHeight,transition:"none"},h),hover:{backgroundColor:(null==h?void 0:h.backgroundColor)?`${h.backgroundColor}cc`:"rgba(254, 192, 45, 0.1)"}},navigationContainer:{display:"flex",gap:n.MAJOR.navigationGap,alignItems:"center"},navigationButton:t=>({base:{width:`${l.NAVIGATION_BUTTON_SIZE}px`,height:`${l.NAVIGATION_BUTTON_SIZE}px`,backgroundColor:"transparent",border:"none",color:t?i.ICON.DISABLED:i.ICON.ENABLED,fontSize:"16px",cursor:t?"not-allowed":"pointer",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:r.BUTTON,padding:0},hover:{backgroundColor:"rgba(255, 255, 255, 0.10)"}})}};export{g as getMajorPopupStyles};
@@ -5,6 +5,32 @@ export interface FirestoreTimestamp {
5
5
  seconds: number;
6
6
  nanoseconds?: number;
7
7
  }
8
+ /**
9
+ * Button styling configuration
10
+ */
11
+ export interface ButtonStyle {
12
+ textColor?: string;
13
+ backgroundColor?: string;
14
+ borderColor?: string;
15
+ }
16
+ /**
17
+ * Primary button configuration
18
+ */
19
+ export interface ButtonConfig {
20
+ text?: string;
21
+ action?: 'Play Video' | 'Open link';
22
+ redirectionUrl?: string;
23
+ style?: ButtonStyle;
24
+ }
25
+ /**
26
+ * Secondary button configuration
27
+ */
28
+ export interface SecondaryButtonConfig {
29
+ text?: string;
30
+ action?: 'Open link' | 'Close popup' | '';
31
+ redirectionUrl?: string;
32
+ style?: ButtonStyle;
33
+ }
8
34
  /**
9
35
  * Feature announcement data model
10
36
  */
@@ -27,6 +53,9 @@ export interface FeatureAnnouncement {
27
53
  archived?: boolean;
28
54
  createdAt: FirestoreTimestamp;
29
55
  expirationDate?: FirestoreTimestamp | string | Date;
56
+ primaryButton?: ButtonConfig;
57
+ secondaryButton?: SecondaryButtonConfig;
58
+ padding?: string;
30
59
  }
31
60
  /**
32
61
  * Store feature progress tracking
@@ -39,3 +68,21 @@ export interface StoreFeatureProgress {
39
68
  * Feature update types
40
69
  */
41
70
  export type FeatureUpdateType = 'Major' | 'Minor';
71
+ /**
72
+ * Announcement event data (for tracking when announcement is shown)
73
+ */
74
+ export interface AnnouncementEvent {
75
+ storeId: string;
76
+ announcementId: string;
77
+ announcementTitle: string;
78
+ imageUrl?: string;
79
+ videoUrl?: string;
80
+ }
81
+ /**
82
+ * Announcement interaction event data (for tracking button clicks)
83
+ */
84
+ export interface AnnouncementInteractionEvent extends AnnouncementEvent {
85
+ buttonClicked: 'Primary' | 'Secondary' | 'Skip';
86
+ buttonName: string;
87
+ buttonUrl?: string;
88
+ }
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { FeatureAnnouncement } from './feature.types';
2
+ import { AnnouncementEvent, AnnouncementInteractionEvent, FeatureAnnouncement } from './feature.types';
3
3
  import { FeatureAnnouncementRepository } from './repository.types';
4
4
  import { RouterProps } from './router.types';
5
5
  /**
@@ -14,17 +14,27 @@ export interface PopupBaseProps {
14
14
  onPrevious: () => void;
15
15
  onNext: () => void;
16
16
  setIsClosing?: (isClosing: boolean) => void;
17
+ onSecondaryAction?: () => void;
17
18
  }
18
19
  /**
19
20
  * Major update popup props
20
21
  */
21
22
  export interface MajorUpdatePopupProps extends PopupBaseProps {
23
+ /**
24
+ * Aspect ratio for the image/video container
25
+ * @default '16:9'
26
+ */
27
+ ratio?: '16:9' | '1:1' | '4:3';
28
+ /**
29
+ * Custom padding for the popup container
30
+ * @default '16px'
31
+ */
32
+ padding?: string;
22
33
  }
23
34
  /**
24
35
  * Minor update popup props
25
36
  */
26
- export interface MinorUpdatePopupProps extends PopupBaseProps {
27
- }
37
+ export type MinorUpdatePopupProps = PopupBaseProps;
28
38
  /**
29
39
  * Video modal props
30
40
  */
@@ -40,4 +50,16 @@ export interface FeatureAnnouncementProviderProps extends FeatureAnnouncementRep
40
50
  children: React.ReactNode;
41
51
  module?: string;
42
52
  router?: RouterProps;
53
+ /**
54
+ * Store ID for event tracking
55
+ */
56
+ storeId?: string;
57
+ /**
58
+ * Callback fired when a major announcement popup is shown
59
+ */
60
+ onAnnouncementShown?: (event: AnnouncementEvent) => void;
61
+ /**
62
+ * Callback fired when user interacts with an announcement (clicks a button)
63
+ */
64
+ onAnnouncementInteracted?: (event: AnnouncementInteractionEvent) => void;
43
65
  }
@@ -2,7 +2,7 @@
2
2
  import { InputStateI, InputTypeI, InputVariant } from "./Input";
3
3
  export declare const InputWrapper: import("@emotion/styled").StyledComponent<{
4
4
  theme?: import("@emotion/react").Theme | undefined;
5
- as?: import("react").ElementType<any> | undefined;
5
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
6
6
  } & {
7
7
  width?: string | undefined;
8
8
  height?: string | undefined;
@@ -16,7 +16,7 @@ export declare const InputWrapper: import("@emotion/styled").StyledComponent<{
16
16
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
17
17
  export declare const IconHolder: import("@emotion/styled").StyledComponent<{
18
18
  theme?: import("@emotion/react").Theme | undefined;
19
- as?: import("react").ElementType<any> | undefined;
19
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
20
20
  } & {
21
21
  isLeft?: boolean | undefined;
22
22
  iconSize?: string | undefined;
@@ -57,7 +57,7 @@ export declare const InputContainerSmall: import("@emotion/styled").StyledCompon
57
57
  }, {}, {}>;
58
58
  export declare const InputHeader: import("@emotion/styled").StyledComponent<{
59
59
  theme?: import("@emotion/react").Theme | undefined;
60
- as?: import("react").ElementType<any> | undefined;
60
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
61
61
  } & {
62
62
  invalid?: boolean | undefined;
63
63
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -91,7 +91,7 @@ export declare const InputFooter: import("@emotion/styled").StyledComponent<{
91
91
  }, {}, {}>;
92
92
  export declare const RootContainer: import("@emotion/styled").StyledComponent<{
93
93
  theme?: import("@emotion/react").Theme | undefined;
94
- as?: import("react").ElementType<any> | undefined;
94
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
95
95
  } & {
96
96
  width?: string | undefined;
97
97
  height?: string | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  export declare const ChipStyle: import("@emotion/styled").StyledComponent<{
3
3
  theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
4
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
5
5
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -2,7 +2,7 @@
2
2
  import type { Variant } from './ListItem';
3
3
  export declare const ListItem: import("@emotion/styled").StyledComponent<{
4
4
  theme?: import("@emotion/react").Theme | undefined;
5
- as?: import("react").ElementType<any> | undefined;
5
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
6
6
  } & {
7
7
  variant: Variant;
8
8
  borderBottom?: string | undefined;
@@ -1,23 +1,23 @@
1
1
  /// <reference types="react" />
2
2
  export declare const RootContainer: import("@emotion/styled").StyledComponent<{
3
3
  theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
4
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
5
5
  } & {
6
6
  zIndex?: number | undefined;
7
7
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
8
8
  export declare const CentralContainer: import("@emotion/styled").StyledComponent<{
9
9
  theme?: import("@emotion/react").Theme | undefined;
10
- as?: import("react").ElementType<any> | undefined;
10
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
11
11
  } & {
12
12
  width?: string | undefined;
13
13
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
14
14
  export declare const CloseButtonContainer: import("@emotion/styled").StyledComponent<{
15
15
  theme?: import("@emotion/react").Theme | undefined;
16
- as?: import("react").ElementType<any> | undefined;
16
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
17
17
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
18
18
  export declare const CloseButtonWithTimer: import("@emotion/styled").StyledComponent<{
19
19
  theme?: import("@emotion/react").Theme | undefined;
20
- as?: import("react").ElementType<any> | undefined;
20
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
21
21
  } & {
22
22
  timerExists?: boolean | undefined;
23
23
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  export declare const Pagination: import("@emotion/styled").StyledComponent<{
3
3
  theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
4
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
5
5
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  export declare const DurationSelectorStyled: import("@emotion/styled").StyledComponent<{
3
3
  theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
4
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
5
5
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -30,11 +30,11 @@ type Props = {
30
30
  };
31
31
  export declare const HeaderWrapper: import("@emotion/styled").StyledComponent<{
32
32
  theme?: import("@emotion/react").Theme | undefined;
33
- as?: import("react").ElementType<any> | undefined;
33
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
34
34
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
35
35
  export declare const BottomWrapper: import("@emotion/styled").StyledComponent<{
36
36
  theme?: import("@emotion/react").Theme | undefined;
37
- as?: import("react").ElementType<any> | undefined;
37
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
38
38
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
39
39
  export declare const defaultTabs: {
40
40
  key: string;
@@ -1,14 +1,14 @@
1
1
  /// <reference types="react" />
2
2
  export declare const SubscriptionPlanStyled: import("@emotion/styled").StyledComponent<{
3
3
  theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
4
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
5
5
  } & {
6
6
  isSelected: boolean;
7
7
  isManifestPlan?: boolean | undefined;
8
8
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
9
9
  export declare const NewSubscriptionStyled: import("@emotion/styled").StyledComponent<{
10
10
  theme?: import("@emotion/react").Theme | undefined;
11
- as?: import("react").ElementType<any> | undefined;
11
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
12
12
  } & {
13
13
  showMostPopularChip: boolean;
14
14
  height?: string | undefined;
@@ -1,9 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  export declare const StyledZeroState: import("@emotion/styled").StyledComponent<{
3
3
  theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
4
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
5
5
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
6
  export declare const StyledProductPickerContainer: import("@emotion/styled").StyledComponent<{
7
7
  theme?: import("@emotion/react").Theme | undefined;
8
- as?: import("react").ElementType<any> | undefined;
8
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
9
9
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -8,7 +8,7 @@ export interface ProgressBarProps {
8
8
  export declare const ProgressBarComponent: (props: ProgressBarProps) => import("react/jsx-runtime").JSX.Element;
9
9
  export declare const ProgressCompletedBar: import("@emotion/styled").StyledComponent<{
10
10
  theme?: import("@emotion/react").Theme | undefined;
11
- as?: import("react").ElementType<any> | undefined;
11
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
12
12
  } & {
13
13
  color: string;
14
14
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  export declare const RadioListStyled: import("@emotion/styled").StyledComponent<{
3
3
  theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
4
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
5
5
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -2,7 +2,7 @@
2
2
  import type { Color, Variant } from './SampleButton';
3
3
  export declare const SampleButton: import("@emotion/styled").StyledComponent<{
4
4
  theme?: import("@emotion/react").Theme | undefined;
5
- as?: import("react").ElementType<any> | undefined;
5
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
6
6
  } & {
7
7
  $color: Color;
8
8
  variant: Variant;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  export declare const ShimmerStyled: import("@emotion/styled").StyledComponent<{
3
3
  theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
4
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
5
5
  } & {
6
6
  isBrand?: boolean | undefined;
7
7
  direction?: "row" | "column" | undefined;
@@ -9,7 +9,7 @@ export declare const ShimmerStyled: import("@emotion/styled").StyledComponent<{
9
9
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
10
10
  export declare const ShimmerComponentStyled: import("@emotion/styled").StyledComponent<{
11
11
  theme?: import("@emotion/react").Theme | undefined;
12
- as?: import("react").ElementType<any> | undefined;
12
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
13
13
  } & {
14
14
  isBrand?: boolean | undefined;
15
15
  height: number;
@@ -3,7 +3,7 @@ import { SwitchColorProps, SwitchProps } from './Switch.d';
3
3
  export declare const Switch: import("react").ForwardRefExoticComponent<SwitchProps & import("react").RefAttributes<HTMLButtonElement>>;
4
4
  export declare const SwitchContainer: import("@emotion/styled").StyledComponent<{
5
5
  theme?: import("@emotion/react").Theme | undefined;
6
- as?: import("react").ElementType<any> | undefined;
6
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
7
7
  } & {
8
8
  trackLength: number;
9
9
  trackHeight: number;
@@ -16,7 +16,7 @@ export declare const SwitchContainer: import("@emotion/styled").StyledComponent<
16
16
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
17
17
  export declare const Thumb: import("@emotion/styled").StyledComponent<{
18
18
  theme?: import("@emotion/react").Theme | undefined;
19
- as?: import("react").ElementType<any> | undefined;
19
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
20
20
  } & {
21
21
  value: boolean;
22
22
  duration: number;
@@ -24,7 +24,7 @@ export declare const Thumb: import("@emotion/styled").StyledComponent<{
24
24
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
25
25
  export declare const Loader: import("@emotion/styled").StyledComponent<{
26
26
  theme?: import("@emotion/react").Theme | undefined;
27
- as?: import("react").ElementType<any> | undefined;
27
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
28
28
  } & {
29
29
  value: boolean;
30
30
  trackColor: SwitchColorProps;
@@ -2,17 +2,17 @@
2
2
  import { TabItemProps, TabItemTextProps } from './Tabs.model';
3
3
  export declare const TabHeader: import("@emotion/styled").StyledComponent<{
4
4
  theme?: import("@emotion/react").Theme | undefined;
5
- as?: import("react").ElementType<any> | undefined;
5
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
6
6
  } & {
7
7
  bgColor?: string | undefined;
8
8
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
9
9
  export declare const TabItem: import("@emotion/styled").StyledComponent<{
10
10
  theme?: import("@emotion/react").Theme | undefined;
11
- as?: import("react").ElementType<any> | undefined;
11
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
12
12
  } & TabItemProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
13
13
  export declare const TrailingNumberContainer: import("@emotion/styled").StyledComponent<{
14
14
  theme?: import("@emotion/react").Theme | undefined;
15
- as?: import("react").ElementType<any> | undefined;
15
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
16
16
  } & {
17
17
  selected: boolean;
18
18
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -30,9 +30,9 @@ export declare const TabItemText: import("@emotion/styled").StyledComponent<{
30
30
  } & TabItemTextProps, {}, {}>;
31
31
  export declare const EmptyTab: import("@emotion/styled").StyledComponent<{
32
32
  theme?: import("@emotion/react").Theme | undefined;
33
- as?: import("react").ElementType<any> | undefined;
33
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
34
34
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
35
35
  export declare const RightComponent: import("@emotion/styled").StyledComponent<{
36
36
  theme?: import("@emotion/react").Theme | undefined;
37
- as?: import("react").ElementType<any> | undefined;
37
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
38
38
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -2,7 +2,7 @@
2
2
  import { TagTheme, TagType, TagVariant } from './model';
3
3
  export declare const Tag: import("@emotion/styled").StyledComponent<{
4
4
  theme?: import("@emotion/react").Theme | undefined;
5
- as?: import("react").ElementType<any> | undefined;
5
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
6
6
  } & {
7
7
  theme: TagTheme;
8
8
  type: TagType;