@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.
- package/dist/cjs/components/QueryBuilder/components/Connectors/Components/EmojiPicker.js +2 -2
- package/dist/cjs/components/QueryBuilder/components/Connectors/Components/IgPicker.js +1 -1
- package/dist/cjs/components/QueryBuilder/components/Connectors/Components/InTheLast.js +2 -2
- package/dist/cjs/components/QueryBuilder/components/Connectors/Components/InTwoLast.js +2 -2
- package/dist/cjs/components/TablePagination/TablePaginationCard.d.ts +2 -5
- package/dist/cjs/components/TablePagination/TablePaginationCard.js +2 -2
- package/dist/cjs/components/WhatsAppTextEditor/CustomEditor.styled.d.ts +4 -13
- package/dist/cjs/components/WhatsAppTextEditor/CustomEditor.styled.js +4 -4
- package/dist/cjs/components/WhatsAppTextEditor/WhatsAppTextEditorHeader.d.ts +1 -4
- package/dist/cjs/components/WhatsAppTextEditor/WhatsAppTextEditorHeader.js +6 -6
- package/dist/cjs/components/accordion/Accordion.d.ts +3 -3
- package/dist/cjs/components/analytics-card/AnalyticsCard.styled.d.ts +4 -10
- package/dist/cjs/components/analytics-card/AnalyticsCard.styled.js +3 -3
- package/dist/cjs/components/analytics-chips-and-dropdowns/AnalyticsChip.d.ts +1 -1
- package/dist/cjs/components/analytics-chips-and-dropdowns/AnalyticsMetric.js +2 -2
- package/dist/cjs/components/analytics-chips-and-dropdowns/CommonStyles.d.ts +18 -24
- package/dist/cjs/components/analytics-chips-and-dropdowns/CommonStyles.js +61 -19
- package/dist/cjs/components/analytics-chips-and-dropdowns/chart/Legend/Legend.js +2 -2
- package/dist/cjs/components/analytics-chips-and-dropdowns/chart/LineChart/LineChart.styled.d.ts +5 -14
- package/dist/cjs/components/analytics-chips-and-dropdowns/chart/LineChart/LineChart.styled.js +1 -1
- package/dist/cjs/components/analytics-chips-and-dropdowns/chart/Pie/PieChartAnalytics.js +2 -2
- package/dist/cjs/components/analytics-chips-and-dropdowns/chart/heatmap/HeatMapStyled.d.ts +11 -35
- package/dist/cjs/components/analytics-chips-and-dropdowns/chart/heatmap/HeatMapStyled.js +5 -5
- package/dist/cjs/components/analytics-chips-and-dropdowns/chart/heatmap/HeatMapVertical.d.ts +1 -4
- package/dist/cjs/components/analytics-chips-and-dropdowns/chart/heatmap/HeatMapVertical.js +2 -2
- package/dist/cjs/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/LinearChipGroupedChart.styled.d.ts +7 -22
- package/dist/cjs/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/LinearChipGroupedChart.styled.js +3 -3
- package/dist/cjs/components/analytics-chips-and-dropdowns/chart/scoreBlock/ScoreBlock.styled.d.ts +7 -22
- package/dist/cjs/components/analytics-chips-and-dropdowns/chart/scoreBlock/ScoreBlock.styled.js +6 -6
- package/dist/cjs/components/banner/Banner.styled.d.ts +20 -71
- package/dist/cjs/components/banner/Banner.styled.js +28 -21
- package/dist/cjs/components/bik-layout/BikHeader.d.ts +3 -3
- package/dist/cjs/components/bik-layout/BikLayout.d.ts +3 -2
- package/dist/cjs/components/bik-layout/BikProfile.d.ts +2 -1
- package/dist/cjs/components/bik-layout/BikSidebar.d.ts +1 -1
- package/dist/cjs/components/bik-layout/BikSidebar.js +1 -1
- package/dist/cjs/components/bik-layout/CommonStyles.d.ts +36 -72
- package/dist/cjs/components/bik-layout/CommonStyles.js +69 -43
- package/dist/cjs/components/bik-layout/FeatureModal.d.ts +2 -1
- package/dist/cjs/components/bik-layout/FeatureModalV2.d.ts +2 -1
- package/dist/cjs/components/button/Button.styled.d.ts +2 -5
- package/dist/cjs/components/button/Button.styled.js +1 -1
- package/dist/cjs/components/card-selection-modal/CardSelectionModal.styled.d.ts +2 -8
- package/dist/cjs/components/card-selection-modal/CardSelectionModal.styled.js +1 -1
- package/dist/cjs/components/carousel-secondary/CarouselSecondary.style.d.ts +11 -29
- package/dist/cjs/components/carousel-secondary/CarouselSecondary.style.js +6 -6
- package/dist/cjs/components/checkBox/CheckBox.d.ts +1 -1
- package/dist/cjs/components/checkList/CheckList.styled.d.ts +1 -4
- package/dist/cjs/components/checkList/CheckList.styled.js +1 -1
- package/dist/cjs/components/colourInput/ColourInput.styled.d.ts +2 -8
- package/dist/cjs/components/colourInput/ColourInput.styled.js +3 -3
- package/dist/cjs/components/country-code-picker/CountryCodePicker.styled.d.ts +3 -9
- package/dist/cjs/components/country-code-picker/CountryCodePicker.styled.js +1 -1
- package/dist/cjs/components/custom-date-time/CustomDateTime.styled.d.ts +1 -4
- package/dist/cjs/components/custom-date-time/CustomDateTime.styled.js +1 -1
- package/dist/cjs/components/dashboard-review-popup/DashboardReviewPopUp.styled.d.ts +2 -8
- package/dist/cjs/components/dashboard-review-popup/DashboardReviewPopUp.styled.js +1 -1
- package/dist/cjs/components/dashboard-review-popup/components/FiveStar.styled.d.ts +2 -8
- package/dist/cjs/components/dashboard-review-popup/components/FiveStar.styled.js +2 -2
- package/dist/cjs/components/dashboard-review-popup/components/Form.styled.d.ts +7 -25
- package/dist/cjs/components/dashboard-review-popup/components/Form.styled.js +3 -3
- package/dist/cjs/components/dashboard-review-popup/components/ZeroState.js +2 -2
- package/dist/cjs/components/data-source-panel/DataSourcePanel.d.ts +1 -0
- package/dist/cjs/components/datePicker/DatePicker.styled.d.ts +5 -17
- package/dist/cjs/components/datePicker/DatePicker.styled.js +4 -4
- package/dist/cjs/components/discount-modal/DiscountModal.styled.d.ts +6 -21
- package/dist/cjs/components/discount-modal/DiscountModal.styled.js +4 -4
- package/dist/cjs/components/discount-modal/DynamicCoupon/DynamicCoupon.d.ts +1 -1
- package/dist/cjs/components/dropdown/type.d.ts +5 -4
- package/dist/cjs/components/fab-menu/FABMenu.d.ts +1 -1
- package/dist/cjs/components/floating-action-button/FloatingActionButton.d.ts +1 -1
- package/dist/cjs/components/input/Input.styled.d.ts +49 -26
- package/dist/cjs/components/input/Input.styled.js +106 -23
- package/dist/cjs/components/keywords-input/KeywordsInput.styled.d.ts +1 -4
- package/dist/cjs/components/list-item/ListItem.d.ts +6 -5
- package/dist/cjs/components/list-item/ListItem.styled.d.ts +2 -5
- package/dist/cjs/components/list-item/ListItem.styled.js +1 -1
- package/dist/cjs/components/list-item/themes.d.ts +1 -1
- package/dist/cjs/components/list-item/themes.js +29 -1
- package/dist/cjs/components/modals/modal.styled.d.ts +7 -19
- package/dist/cjs/components/modals/modal.styled.js +1 -1
- package/dist/cjs/components/modals/styledModal.js +16 -11
- package/dist/cjs/components/multi-level-dropdown/type.d.ts +6 -5
- package/dist/cjs/components/pagination/Pagination.styled.d.ts +1 -4
- package/dist/cjs/components/pagination/Pagination.styled.js +1 -1
- package/dist/cjs/components/plans/DurationSelectorStyles.d.ts +1 -4
- package/dist/cjs/components/plans/SubscriptionPlanSelector.d.ts +2 -8
- package/dist/cjs/components/plans/SubscriptionPlanSelector.js +2 -2
- package/dist/cjs/components/plans/SubscriptionPlanStyled.d.ts +4 -10
- package/dist/cjs/components/plans/SubscriptionPlanStyled.js +1 -1
- package/dist/cjs/components/product-picker/ProductPicker.styled.d.ts +2 -8
- package/dist/cjs/components/product-picker/ProductPicker.styled.js +1 -1
- package/dist/cjs/components/progress-bar/ProgressBarComponent.d.ts +2 -5
- package/dist/cjs/components/progress-bar/ProgressBarComponent.js +2 -2
- package/dist/cjs/components/progress-bar-v2/ProgressBarV2.js +1 -1
- package/dist/cjs/components/radioList/RadioList.styled.d.ts +1 -4
- package/dist/cjs/components/radioList/RadioList.styled.js +1 -1
- package/dist/cjs/components/sample-button/SampleButton.styled.d.ts +2 -5
- package/dist/cjs/components/sample-button/themes.d.ts +1 -1
- package/dist/cjs/components/shimmer/ShimmerComponent/ShimmerStyled.d.ts +4 -10
- package/dist/cjs/components/shimmer/ShimmerComponent/ShimmerStyled.js +5 -5
- package/dist/cjs/components/star-rating/StarRating.js +2 -2
- package/dist/cjs/components/states/StateComponent.d.ts +2 -3
- package/dist/cjs/components/states-modal/StateModalComponent.d.ts +2 -3
- package/dist/cjs/components/switch/Switch.d.ts +6 -15
- package/dist/cjs/components/switch/Switch.js +1 -1
- package/dist/cjs/components/tabs/Tabs.model.d.ts +1 -1
- package/dist/cjs/components/tabs/Tabs.styles.d.ts +12 -24
- package/dist/cjs/components/tabs/Tabs.styles.js +22 -20
- package/dist/cjs/components/tag/Tag.styled.d.ts +2 -5
- package/dist/cjs/components/tag/Tag.styled.js +1 -1
- package/dist/cjs/components/tag/model.d.ts +1 -1
- package/dist/cjs/components/testimonial-card/TestimonialCard.style.d.ts +11 -38
- package/dist/cjs/components/testimonial-card/TestimonialCard.style.js +1 -1
- package/dist/cjs/components/toaster/Toaster.styled.d.ts +2 -5
- package/dist/cjs/components/toaster/Toaster.styled.js +1 -1
- package/dist/cjs/components/tooltips/Tooltip.d.ts +2 -2
- package/dist/cjs/components/tooltips/TooltipInternal.js +1 -1
- package/dist/esm/components/QueryBuilder/components/Connectors/Components/EmojiPicker.js +2 -2
- package/dist/esm/components/QueryBuilder/components/Connectors/Components/IgPicker.js +2 -2
- package/dist/esm/components/QueryBuilder/components/Connectors/Components/InTheLast.js +2 -2
- package/dist/esm/components/QueryBuilder/components/Connectors/Components/InTwoLast.js +2 -2
- package/dist/esm/components/TablePagination/TablePaginationCard.d.ts +2 -5
- package/dist/esm/components/TablePagination/TablePaginationCard.js +2 -2
- package/dist/esm/components/WhatsAppTextEditor/CustomEditor.styled.d.ts +4 -13
- package/dist/esm/components/WhatsAppTextEditor/CustomEditor.styled.js +1 -1
- package/dist/esm/components/WhatsAppTextEditor/WhatsAppTextEditorHeader.d.ts +1 -4
- package/dist/esm/components/WhatsAppTextEditor/WhatsAppTextEditorHeader.js +6 -6
- package/dist/esm/components/accordion/Accordion.d.ts +3 -3
- package/dist/esm/components/analytics-card/AnalyticsCard.styled.d.ts +4 -10
- package/dist/esm/components/analytics-card/AnalyticsCard.styled.js +3 -3
- package/dist/esm/components/analytics-chips-and-dropdowns/AnalyticsChip.d.ts +1 -1
- package/dist/esm/components/analytics-chips-and-dropdowns/AnalyticsMetric.js +1 -1
- package/dist/esm/components/analytics-chips-and-dropdowns/CommonStyles.d.ts +18 -24
- package/dist/esm/components/analytics-chips-and-dropdowns/CommonStyles.js +61 -19
- package/dist/esm/components/analytics-chips-and-dropdowns/chart/Legend/Legend.js +2 -2
- package/dist/esm/components/analytics-chips-and-dropdowns/chart/LineChart/LineChart.styled.d.ts +5 -14
- package/dist/esm/components/analytics-chips-and-dropdowns/chart/LineChart/LineChart.styled.js +1 -1
- package/dist/esm/components/analytics-chips-and-dropdowns/chart/Pie/PieChartAnalytics.js +2 -2
- package/dist/esm/components/analytics-chips-and-dropdowns/chart/heatmap/HeatMapStyled.d.ts +11 -35
- package/dist/esm/components/analytics-chips-and-dropdowns/chart/heatmap/HeatMapStyled.js +1 -1
- package/dist/esm/components/analytics-chips-and-dropdowns/chart/heatmap/HeatMapVertical.d.ts +1 -4
- package/dist/esm/components/analytics-chips-and-dropdowns/chart/heatmap/HeatMapVertical.js +2 -2
- package/dist/esm/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/LinearChipGroupedChart.styled.d.ts +7 -22
- package/dist/esm/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/LinearChipGroupedChart.styled.js +1 -1
- package/dist/esm/components/analytics-chips-and-dropdowns/chart/scoreBlock/ScoreBlock.styled.d.ts +7 -22
- package/dist/esm/components/analytics-chips-and-dropdowns/chart/scoreBlock/ScoreBlock.styled.js +1 -1
- package/dist/esm/components/banner/Banner.styled.d.ts +20 -71
- package/dist/esm/components/banner/Banner.styled.js +28 -21
- package/dist/esm/components/bik-layout/BikHeader.d.ts +3 -3
- package/dist/esm/components/bik-layout/BikLayout.d.ts +3 -2
- package/dist/esm/components/bik-layout/BikProfile.d.ts +2 -1
- package/dist/esm/components/bik-layout/BikSidebar.d.ts +1 -1
- package/dist/esm/components/bik-layout/BikSidebar.js +1 -1
- package/dist/esm/components/bik-layout/CommonStyles.d.ts +36 -72
- package/dist/esm/components/bik-layout/CommonStyles.js +69 -43
- package/dist/esm/components/bik-layout/FeatureModal.d.ts +2 -1
- package/dist/esm/components/bik-layout/FeatureModalV2.d.ts +2 -1
- package/dist/esm/components/button/Button.styled.d.ts +2 -5
- package/dist/esm/components/button/Button.styled.js +1 -1
- package/dist/esm/components/card-selection-modal/CardSelectionModal.styled.d.ts +2 -8
- package/dist/esm/components/card-selection-modal/CardSelectionModal.styled.js +1 -1
- package/dist/esm/components/carousel-secondary/CarouselSecondary.style.d.ts +11 -29
- package/dist/esm/components/carousel-secondary/CarouselSecondary.style.js +4 -4
- package/dist/esm/components/checkBox/CheckBox.d.ts +1 -1
- package/dist/esm/components/checkList/CheckList.styled.d.ts +1 -4
- package/dist/esm/components/checkList/CheckList.styled.js +1 -1
- package/dist/esm/components/colourInput/ColourInput.styled.d.ts +2 -8
- package/dist/esm/components/colourInput/ColourInput.styled.js +1 -1
- package/dist/esm/components/country-code-picker/CountryCodePicker.styled.d.ts +3 -9
- package/dist/esm/components/country-code-picker/CountryCodePicker.styled.js +3 -3
- package/dist/esm/components/custom-date-time/CustomDateTime.styled.d.ts +1 -4
- package/dist/esm/components/custom-date-time/CustomDateTime.styled.js +1 -1
- package/dist/esm/components/dashboard-review-popup/DashboardReviewPopUp.styled.d.ts +2 -8
- package/dist/esm/components/dashboard-review-popup/DashboardReviewPopUp.styled.js +3 -3
- package/dist/esm/components/dashboard-review-popup/components/FiveStar.styled.d.ts +2 -8
- package/dist/esm/components/dashboard-review-popup/components/FiveStar.styled.js +3 -3
- package/dist/esm/components/dashboard-review-popup/components/Form.styled.d.ts +7 -25
- package/dist/esm/components/dashboard-review-popup/components/Form.styled.js +6 -6
- package/dist/esm/components/dashboard-review-popup/components/ZeroState.js +2 -2
- package/dist/esm/components/data-source-panel/DataSourcePanel.d.ts +1 -0
- package/dist/esm/components/datePicker/DatePicker.styled.d.ts +5 -17
- package/dist/esm/components/datePicker/DatePicker.styled.js +1 -1
- package/dist/esm/components/discount-modal/DiscountModal.styled.d.ts +6 -21
- package/dist/esm/components/discount-modal/DiscountModal.styled.js +4 -4
- package/dist/esm/components/discount-modal/DynamicCoupon/DynamicCoupon.d.ts +1 -1
- package/dist/esm/components/dropdown/type.d.ts +5 -4
- package/dist/esm/components/fab-menu/FABMenu.d.ts +1 -1
- package/dist/esm/components/floating-action-button/FloatingActionButton.d.ts +1 -1
- package/dist/esm/components/input/Input.styled.d.ts +49 -26
- package/dist/esm/components/input/Input.styled.js +106 -23
- package/dist/esm/components/keywords-input/KeywordsInput.styled.d.ts +1 -4
- package/dist/esm/components/list-item/ListItem.d.ts +6 -5
- package/dist/esm/components/list-item/ListItem.styled.d.ts +2 -5
- package/dist/esm/components/list-item/ListItem.styled.js +1 -1
- package/dist/esm/components/list-item/themes.d.ts +1 -1
- package/dist/esm/components/list-item/themes.js +29 -1
- package/dist/esm/components/modals/modal.styled.d.ts +7 -19
- package/dist/esm/components/modals/modal.styled.js +1 -1
- package/dist/esm/components/modals/styledModal.js +16 -11
- package/dist/esm/components/multi-level-dropdown/type.d.ts +6 -5
- package/dist/esm/components/pagination/Pagination.styled.d.ts +1 -4
- package/dist/esm/components/pagination/Pagination.styled.js +1 -1
- package/dist/esm/components/plans/DurationSelectorStyles.d.ts +1 -4
- package/dist/esm/components/plans/SubscriptionPlanSelector.d.ts +2 -8
- package/dist/esm/components/plans/SubscriptionPlanSelector.js +5 -5
- package/dist/esm/components/plans/SubscriptionPlanStyled.d.ts +4 -10
- package/dist/esm/components/plans/SubscriptionPlanStyled.js +1 -1
- package/dist/esm/components/product-picker/ProductPicker.styled.d.ts +2 -8
- package/dist/esm/components/product-picker/ProductPicker.styled.js +1 -1
- package/dist/esm/components/progress-bar/ProgressBarComponent.d.ts +2 -5
- package/dist/esm/components/progress-bar/ProgressBarComponent.js +2 -2
- package/dist/esm/components/progress-bar-v2/ProgressBarV2.js +2 -2
- package/dist/esm/components/radioList/RadioList.styled.d.ts +1 -4
- package/dist/esm/components/radioList/RadioList.styled.js +1 -1
- package/dist/esm/components/sample-button/SampleButton.styled.d.ts +2 -5
- package/dist/esm/components/sample-button/themes.d.ts +1 -1
- package/dist/esm/components/shimmer/ShimmerComponent/ShimmerStyled.d.ts +4 -10
- package/dist/esm/components/shimmer/ShimmerComponent/ShimmerStyled.js +3 -3
- package/dist/esm/components/star-rating/StarRating.js +2 -2
- package/dist/esm/components/states/StateComponent.d.ts +2 -3
- package/dist/esm/components/states-modal/StateModalComponent.d.ts +2 -3
- package/dist/esm/components/switch/Switch.d.ts +6 -15
- package/dist/esm/components/switch/Switch.js +3 -3
- package/dist/esm/components/tabs/Tabs.model.d.ts +1 -1
- package/dist/esm/components/tabs/Tabs.styles.d.ts +12 -24
- package/dist/esm/components/tabs/Tabs.styles.js +22 -20
- package/dist/esm/components/tag/Tag.styled.d.ts +2 -5
- package/dist/esm/components/tag/Tag.styled.js +1 -1
- package/dist/esm/components/tag/model.d.ts +1 -1
- package/dist/esm/components/testimonial-card/TestimonialCard.style.d.ts +11 -38
- package/dist/esm/components/testimonial-card/TestimonialCard.style.js +5 -5
- package/dist/esm/components/toaster/Toaster.styled.d.ts +2 -5
- package/dist/esm/components/toaster/Toaster.styled.js +1 -1
- package/dist/esm/components/tooltips/Tooltip.d.ts +2 -2
- package/dist/esm/components/tooltips/TooltipInternal.js +1 -1
- package/package.json +1 -3
|
@@ -1,42 +1,15 @@
|
|
|
1
|
-
export declare const TestimonialCardStyle: import("
|
|
2
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
-
as?: React.ElementType;
|
|
4
|
-
} & {
|
|
1
|
+
export declare const TestimonialCardStyle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
5
2
|
width?: string;
|
|
6
3
|
height?: string;
|
|
7
4
|
version?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const TestimonialProfileCard: import("
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
export declare const
|
|
14
|
-
theme?: import("@emotion/react").Theme;
|
|
15
|
-
as?: React.ElementType;
|
|
16
|
-
}, JSX.IntrinsicElements, {}>;
|
|
17
|
-
export declare const Logo: import("@emotion/styled").StyledComponent<{
|
|
18
|
-
theme?: import("@emotion/react").Theme;
|
|
19
|
-
as?: React.ElementType;
|
|
20
|
-
}, JSX.IntrinsicElements, {}>;
|
|
21
|
-
export declare const TestimonialProfileInfo: import("@emotion/styled").StyledComponent<{
|
|
22
|
-
theme?: import("@emotion/react").Theme;
|
|
23
|
-
as?: React.ElementType;
|
|
24
|
-
}, JSX.IntrinsicElements, {}>;
|
|
25
|
-
export declare const TestimonialProfileFooter: import("@emotion/styled").StyledComponent<{
|
|
26
|
-
theme?: import("@emotion/react").Theme;
|
|
27
|
-
as?: React.ElementType;
|
|
28
|
-
} & {
|
|
5
|
+
}>> & string;
|
|
6
|
+
export declare const TestimonialProfileCard: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
7
|
+
export declare const TestimonialProfileInfo2: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
8
|
+
export declare const Logo: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, never>> & string;
|
|
9
|
+
export declare const TestimonialProfileInfo: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
10
|
+
export declare const TestimonialProfileFooter: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
29
11
|
width?: string;
|
|
30
|
-
}
|
|
31
|
-
export declare const FooterText: import("
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}, JSX.IntrinsicElements, {}>;
|
|
35
|
-
export declare const FooterStat: import("@emotion/styled").StyledComponent<{
|
|
36
|
-
theme?: import("@emotion/react").Theme;
|
|
37
|
-
as?: React.ElementType;
|
|
38
|
-
}, JSX.IntrinsicElements, {}>;
|
|
39
|
-
export declare const FooterArrow: import("@emotion/styled").StyledComponent<{
|
|
40
|
-
theme?: import("@emotion/react").Theme;
|
|
41
|
-
as?: React.ElementType;
|
|
42
|
-
}, JSX.IntrinsicElements, {}>;
|
|
12
|
+
}>> & string;
|
|
13
|
+
export declare const FooterText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
14
|
+
export declare const FooterStat: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
15
|
+
export declare const FooterArrow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("
|
|
1
|
+
"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("styled-components"));const i="24px",o="24px",a="0px 0px 15px 0px #0000000f",d=t.default.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: 24px;
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import { TypeOptions } from 'react-toastify';
|
|
2
|
-
export declare const ToasterStyled: import("
|
|
3
|
-
theme?: import("@emotion/react").Theme;
|
|
4
|
-
as?: React.ElementType;
|
|
5
|
-
} & {
|
|
2
|
+
export declare const ToasterStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
6
3
|
width?: string;
|
|
7
4
|
height?: string;
|
|
8
5
|
zIndex?: number;
|
|
9
6
|
isSubTextIncluded?: boolean;
|
|
10
7
|
type?: TypeOptions;
|
|
11
|
-
}
|
|
8
|
+
}>> & string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("styled-components"),o=require("../../constants/Theme.js"),e=require("../../constants/zindex.js");function r(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}const a=r(t).default.div`
|
|
2
2
|
--toastify-color-light: #fff;
|
|
3
3
|
--toastify-color-dark: #121212;
|
|
4
4
|
--toastify-text-color-success: ${o.COLORS.content.primary};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { FunctionComponent, ReactNode } from 'react';
|
|
1
|
+
import React, { FunctionComponent, ReactNode } from 'react';
|
|
2
2
|
import { TooltipInternalProps } from '@src/components/tooltips/TooltipInternal';
|
|
3
3
|
export type Placement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end';
|
|
4
4
|
export interface TooltipProps extends TooltipInternalProps {
|
|
5
5
|
width?: number;
|
|
6
6
|
placement?: Placement;
|
|
7
7
|
children: ReactNode;
|
|
8
|
-
tooltipContent?: JSX.Element;
|
|
8
|
+
tooltipContent?: React.JSX.Element;
|
|
9
9
|
alwaysVisible?: boolean;
|
|
10
10
|
hideArrow?: boolean;
|
|
11
11
|
onClickOutside?: () => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("react/jsx-runtime"),r=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("react/jsx-runtime"),r=require("styled-components"),e=require("../button/Button.js"),o=require("../TypographyStyle.js"),n=require("../../constants/Theme.js");function a(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}const i=t=>"light"===t?n.COLORS.content.primary:n.COLORS.content.primaryInverse,s=a(r).default.div`
|
|
2
2
|
box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.12);
|
|
3
3
|
border-radius: 4px;
|
|
4
4
|
padding: 8px;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{jsx as i,jsxs as e}from"react/jsx-runtime";import o from"
|
|
1
|
+
import{jsx as i,jsxs as e}from"react/jsx-runtime";import o from"../../../../../assets/icons/emoji.svg.js";import t,{Theme as r,EmojiStyle as s}from"emoji-picker-react";import{useState as n,useRef as p}from"react";import a from"styled-components";import{IconButton as l}from"../../../../icon-button/IconButton.js";import m from"../../../../input/ChipInput.js";import{useOutside as c}from"../../../../../hooks/useOutside.js";const d=a=>{let{val:d,onChange:h,errors:v,nativeID:f,disabled:b}=a;const[y,C]=n(!1),x=(Array.isArray(d)?d:[]).map((i=>i)),g=p();return c(g,(()=>{C(!1)})),e("div",{style:{position:"relative",opacity:b?.5:1,width:300},id:f,children:[!!b&&i("div",{style:{position:"absolute",width:"100%",height:"100%",top:0,left:0,zIndex:1}}),e(j,{children:[i(m,{error:null==v?void 0:v.val,onChipsChange:h,chipsContainerCustomStyle:{padding:"0px 32px 0px 8px"},createChipKeys:[13,188],placeholder:"add emojis",chips:x}),i(u,{children:i(l,{Icon:o,onClick:()=>C(!0)})}),y&&i("div",{ref:g,className:"absolute-picker",children:i(t,{previewConfig:{showPreview:!1},skinTonesDisabled:!0,searchDisabled:!0,theme:r.DARK,emojiStyle:s.NATIVE,onEmojiClick:i=>{x.find((e=>i.emoji===e))||null==h||h([...x,i.emoji])}})})]})]})},h=e=>i(d,Object.assign({},e));h.displayName="EmojiPickerWrapper";const u=a.div`
|
|
2
2
|
position: absolute;
|
|
3
3
|
right: 0;
|
|
4
4
|
top: 0;
|
|
5
|
-
`,j=
|
|
5
|
+
`,j=a.div`
|
|
6
6
|
input {
|
|
7
7
|
pointer-events: none;
|
|
8
8
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{jsx as e,jsxs as t}from"react/jsx-runtime";import n from"
|
|
1
|
+
import{jsx as e,jsxs as t}from"react/jsx-runtime";import n from"../../../../../assets/icons/cross.svg.js";import i from"../../../../../assets/icons/instagram.svg.js";import r from"../../../../../assets/icons/plus.svg.js";import{useState as o,useEffect as a}from"react";import l from"styled-components";import{ButtonCustomDashedBorder as d}from"../../../../button/Button.styled.js";import{MEDIA_TYPES as p,PostPicker as s}from"../../../../postPicker/postPicker.js";import{BodySecondary as c,BodyPrimary as g,BodyCaption as m}from"../../../../TypographyStyle.js";import{unCamelCase as h}from"../../../../../utils/unCamelCase.js";import{PRIMARY as x}from"../../../../../constants/colors.js";import{COLORS as v}from"../../../../../constants/Theme.js";const u=l=>{var u,b,y;const[f,k]=o(!1),[w,j]=o([]),[O,S]=o([]),[P,_]=o(!1);a((()=>{l.errors&&l.errors.val&&_(!0)}),[null===(u=l.errors)||void 0===u?void 0:u.val]),a((()=>{var e;l.val&&(null===(e=l.val)||void 0===e?void 0:e.length)>0&&j(l.val)}),[null===(b=l.val)||void 0===b?void 0:b.length]),a((()=>{var e,t,n,i,r;if((null===(e=null==l?void 0:l.extra)||void 0===e?void 0:e.originalData)&&(null===(n=null===(t=null==l?void 0:l.extra)||void 0===t?void 0:t.originalData)||void 0===n?void 0:n.length)>0){const e=null===(r=null===(i=null==l?void 0:l.extra)||void 0===i?void 0:i.originalData)||void 0===r?void 0:r.map((e=>({id:e.id,imageUrl:"VIDEO"===e.media_type?e.thumbnail_url:e.media_url,redirectionUrl:e.permalink,overlayCaption:`posted on: ${C(e.timestamp)}`})));S(e)}}),[null===(y=null==l?void 0:l.extra)||void 0===y?void 0:y.originalData]);const C=e=>{const t=new Date(e),n=t.getMonth()+1;return`${t.getDate()}/${n}/${t.getFullYear()}`};return t(T,{mediaType:l.mediaType,children:[e("div",{style:{padding:12},children:t("button",{className:""+(P?"add-media-btn error":"add-media-btn"),onClick:()=>{k(!0)},children:[e(d,{}),e(r,{color:P?v.content.negative:v.content.secondary,width:20,height:20,style:{marginBottom:15}}),t(c,{style:{color:P?v.content.negative:v.content.primary},children:["Add ",h(l.mediaType)]}),e("div",{className:"overlay-container"})]})}),e("div",{className:"product-card-container",children:(null==w?void 0:w.length)>0&&w.map((r=>e("div",{style:{padding:"7px"},children:t($,{mediaType:l.mediaType,children:[e("img",{src:r.imageUrl,alt:r.overlayCaption}),t("div",{className:"overlay",children:[e("a",{target:"_blank",rel:"noreferrer",href:r.redirectionUrl,children:t("div",{className:"overlay__redirection",children:[e(i,{height:22,width:22}),e(g,{color:x,style:{fontWeight:500},children:"View"})]})}),e("div",{className:"overlay__caption",children:e(m,{color:v.content.placeholder,children:r.overlayCaption})})]}),e("button",{className:"cross-icon",onClick:()=>(e=>{var t,n;const i=[...w].filter((t=>t.id!==e));j(i),i.length>0?null===(t=l.onChange)||void 0===t||t.call(l,i):null===(n=l.onChange)||void 0===n||n.call(l,void 0)})(r.id),children:e(n,{width:12,height:12,color:v.content.secondary})})]})},r.id)))}),f&&e(s,{limit:10,selected:w,onSelect:e=>{var t;j(e),k(!1),null===(t=l.onChange)||void 0===t||t.call(l,e)},title:(D=l.mediaType,D===p.POST||D===p.REEL?`Select upto 10 ${l.mediaType}s`:"Select upto 10 stories"),showModal:f,onClose:()=>{k(!1)},media:O,mediaType:l.mediaType})]});var D},b=t=>e(u,Object.assign({},t,{mediaType:p.POST})),y=t=>e(u,Object.assign({},t,{mediaType:p.REEL})),f=t=>e(u,Object.assign({},t,{mediaType:p.STORY})),T=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: center;
|
|
@@ -163,7 +163,7 @@ import{jsx as e,jsxs as t}from"react/jsx-runtime";import n from"@emotion/styled"
|
|
|
163
163
|
);
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
|
-
`,$=
|
|
166
|
+
`,$=l.div`
|
|
167
167
|
border-radius: 4px;
|
|
168
168
|
border: 1px solid ${v.stroke.primary};
|
|
169
169
|
position: relative;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{jsx as o,jsxs as e}from"react/jsx-runtime";import
|
|
1
|
+
import{jsx as o,jsxs as e}from"react/jsx-runtime";import{useState as n,useEffect as t}from"react";import r from"styled-components";import"../../../../dropdown/DropdownPopover/index.js";import{Dropdown as d}from"../../../../dropdown/Dropdown.js";import"../../../../dropdown/ChipDropdown.js";import"../../../../zeroState/ZeroState.js";import"../../../../TypographyStyle.js";import"../../../../../constants/Theme.js";import"../../../../dropdown/OpenedDropdown/components/description/Description.styled.js";import"../../../../checkBox/CheckBox.styled.js";import"../../../../list-item/ListItem.js";import"../../../../dropdown/OpenedDropdown/components/menu/FreeFormMenu.styled.js";import"../../../../dropdown/OpenedDropdown/components/menu/MenuItem.js";import"../../../../dropdown/OpenedDropdown/components/menu/MenuList.styled.js";import"../../../../button/Button.js";import"../../../../dropdown/OpenedDropdown/components/multiSelect/MultiSelectDropdownBottomBar.styled.js";import"../../../../dropdown/OpenedDropdown/components/OpennedDropdown.styled.js";import"../../../../icon-button/IconButton.js";import{Input as p}from"../../../../input/Input.js";import{InputStyleContext as i}from"../../../../input/context/InputStyleProvider.js";import"../../../../dropdown/MenuItem/MenuItem.js";import l from"../../InputLoader.js";const s=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
gap: 12px;
|
|
5
|
-
`,a=
|
|
5
|
+
`,a=r=>{let{val:a,onChange:m,errors:u,isLoading:c,disabled:v,connectorType:w}=r;var j,y;const[h,x]=n((o=>"exactly"===o?[{label:"day(s)",value:"days"}]:[{label:"day(s)",value:"days"},{label:"minute(s)",value:"minutes"},{label:"hour(s)",value:"hours"}])(w)),b=null!==(j=null==a?void 0:a[1])&&void 0!==j?j:"days",D=null!==(y=null==a?void 0:a[0])&&void 0!==y?y:"1";return t((()=>{var o;const e=null!==(o=null==a?void 0:a[1])&&void 0!==o?o:"days";x((o=>o.map((o=>Object.assign(Object.assign({},o),{selected:e===o.value})))))}),[a]),t((()=>{var o;if(void 0===(null==a?void 0:a[0])){const e=null!==(o=null==a?void 0:a[1])&&void 0!==o?o:"days";null==m||m(["1",e])}}),[]),c?o("div",{style:{width:200},children:o(l,{containerStyle:{padding:"5px 8px"}})}):o(i.Provider,{value:{InputWrapper:{width:104}},children:e(s,{children:[o(p,{type:"number",variant:"small",state:v?"disabled":"none",errorMessage:null==u?void 0:u.val,value:D,onChangeText:o=>null==m?void 0:m([o,b])}),o(d,{disabled:v,placeHolder:"Time",width:"108px",size:"small",options:h,onSelect:o=>{null==m||m([D,o.value])}})]})})},m=e=>o(a,Object.assign({},e));export{m as default};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{jsx as o,jsxs as e}from"react/jsx-runtime";import
|
|
1
|
+
import{jsx as o,jsxs as e}from"react/jsx-runtime";import{useState as t,useEffect as n}from"react";import r from"styled-components";import"../../../../dropdown/DropdownPopover/index.js";import{Dropdown as d}from"../../../../dropdown/Dropdown.js";import"../../../../dropdown/ChipDropdown.js";import"../../../../zeroState/ZeroState.js";import{BodySecondary as l}from"../../../../TypographyStyle.js";import"../../../../../constants/Theme.js";import"../../../../dropdown/OpenedDropdown/components/description/Description.styled.js";import"../../../../checkBox/CheckBox.styled.js";import"../../../../list-item/ListItem.js";import"../../../../dropdown/OpenedDropdown/components/menu/FreeFormMenu.styled.js";import"../../../../dropdown/OpenedDropdown/components/menu/MenuItem.js";import"../../../../dropdown/OpenedDropdown/components/menu/MenuList.styled.js";import"../../../../button/Button.js";import"../../../../dropdown/OpenedDropdown/components/multiSelect/MultiSelectDropdownBottomBar.styled.js";import"../../../../dropdown/OpenedDropdown/components/OpennedDropdown.styled.js";import"../../../../icon-button/IconButton.js";import{Input as i}from"../../../../input/Input.js";import{InputStyleContext as s}from"../../../../input/context/InputStyleProvider.js";import"../../../../dropdown/MenuItem/MenuItem.js";import p from"../../InputLoader.js";const a=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
gap: 12px;
|
|
5
5
|
align-items: center;
|
|
6
|
-
`,m=[{label:"day(s)",value:"days"},{label:"minute(s)",value:"minutes"},{label:"hour(s)",value:"hours"}],u=
|
|
6
|
+
`,m=[{label:"day(s)",value:"days"},{label:"minute(s)",value:"minutes"},{label:"hour(s)",value:"hours"}],u=r=>{let{val:u,onChange:v,errors:c,isLoading:y,disabled:w}=r;var f,j,h;const[g,b]=t(m),x=null!==(f=null==u?void 0:u.type)&&void 0!==f?f:"days",D=null!==(j=null==u?void 0:u.start)&&void 0!==j?j:"1",O=null!==(h=null==u?void 0:u.offset)&&void 0!==h?h:"2";return n((()=>{var o;const e=null!==(o=null==u?void 0:u.type)&&void 0!==o?o:"days";b((o=>o.map((o=>Object.assign(Object.assign({},o),{selected:e===o.value})))))}),[u]),n((()=>{var o,e,t;if(void 0===(null==u?void 0:u.start)){const n=null!==(o=null==u?void 0:u.type)&&void 0!==o?o:"days",r=null!==(e=null==u?void 0:u.start)&&void 0!==e?e:"1",d=null!==(t=null==u?void 0:u.offset)&&void 0!==t?t:"2";null==v||v({type:n,start:r,offset:d})}}),[]),y?o("div",{style:{width:200},children:o(p,{containerStyle:{padding:"5px 8px"}})}):o(s.Provider,{value:{InputWrapper:{width:104}},children:e(a,{children:[o(i,{type:"number",variant:"small",state:w?"disabled":"none",errorMessage:null==c?void 0:c.val,value:O.toString(),onChangeText:o=>null==v?void 0:v({type:x,start:D,offset:o})}),o("div",{children:o(l,{children:"to"})}),o(i,{type:"number",variant:"small",state:w?"disabled":"none",errorMessage:null==c?void 0:c.val,value:D.toString(),onChangeText:o=>null==v?void 0:v({type:x,start:o,offset:O})}),o(d,{disabled:w,placeHolder:"Time",width:"108px",size:"small",options:g,onSelect:o=>{null==v||v({type:o.value,start:D,offset:O})}})]})})};var v=e=>o(u,Object.assign({},e));export{v as default};
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TablePaginationProps } from '@src/components/TablePagination/TablePagination';
|
|
3
|
-
export declare const TablePaginationCardStyled: import("
|
|
4
|
-
theme?: import("@emotion/react").Theme;
|
|
5
|
-
as?: React.ElementType;
|
|
6
|
-
} & {
|
|
3
|
+
export declare const TablePaginationCardStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
7
4
|
removeBorder?: boolean;
|
|
8
|
-
}
|
|
5
|
+
}>> & string;
|
|
9
6
|
export declare const TablePaginationCard: React.FC<TablePaginationProps>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{jsx as r}from"react/jsx-runtime";import e from"
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import e from"styled-components";import{TablePagination as o}from"./TablePagination.js";import{COLORS as t}from"../../constants/Theme.js";const s=e.div`
|
|
2
2
|
background: ${t.surface.standard};
|
|
3
3
|
border: ${r=>r.removeBorder?0:1}px solid
|
|
4
4
|
${t.stroke.primary};
|
|
@@ -6,4 +6,4 @@ import{jsx as r}from"react/jsx-runtime";import e from"@emotion/styled";import{Ta
|
|
|
6
6
|
display: flex;
|
|
7
7
|
justify-content: center;
|
|
8
8
|
margin: auto;
|
|
9
|
-
`,
|
|
9
|
+
`,i=e=>r(s,{removeBorder:e.removeBorder,children:r(o,Object.assign({},e))});export{i as TablePaginationCard,s as TablePaginationCardStyled};
|
|
@@ -1,14 +1,5 @@
|
|
|
1
|
-
export declare const Container: import("
|
|
2
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
-
as?: React.ElementType;
|
|
4
|
-
} & {
|
|
1
|
+
export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
5
2
|
isError: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare const TextSpace: import("
|
|
8
|
-
|
|
9
|
-
as?: React.ElementType;
|
|
10
|
-
}, JSX.IntrinsicElements, {}>;
|
|
11
|
-
export declare const OuterContainer: import("@emotion/styled").StyledComponent<{
|
|
12
|
-
theme?: import("@emotion/react").Theme;
|
|
13
|
-
as?: React.ElementType;
|
|
14
|
-
}, JSX.IntrinsicElements, {}>;
|
|
3
|
+
}>> & string;
|
|
4
|
+
export declare const TextSpace: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, never>> & string;
|
|
5
|
+
export declare const OuterContainer: 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"
|
|
1
|
+
import r from"styled-components";import{COLORS as o}from"../../constants/Theme.js";const e=r.div`
|
|
2
2
|
background: ${o.surface.standard};
|
|
3
3
|
border: ${r=>r.isError?2:1}px solid
|
|
4
4
|
${r=>r.isError?o.stroke.negative.vibrant:o.stroke.primary};
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare const CustomRightBorder: import("
|
|
3
|
-
theme?: import("@emotion/react").Theme;
|
|
4
|
-
as?: React.ElementType;
|
|
5
|
-
}, JSX.IntrinsicElements, {}>;
|
|
2
|
+
export declare const CustomRightBorder: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
6
3
|
export declare enum EditorActionTypes {
|
|
7
4
|
'BOLD' = "BOLD",
|
|
8
5
|
'ITALIC' = "ITALIC",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{jsx as i,Fragment as e,jsxs as o}from"react/jsx-runtime";import t
|
|
1
|
+
import{jsx as i,Fragment as e,jsxs as o}from"react/jsx-runtime";import t,{useRef as r,useState as n,useCallback as l}from"react";import c from"styled-components";import{useOutside as d}from"../../hooks/useOutside.js";import{COLORS as s}from"../../constants/Theme.js";import a from"../../assets/icons/bold.svg.js";import p from"../../assets/icons/emoji.svg.js";import h from"../../assets/icons/italic.svg.js";import m from"../../assets/icons/strikeThrough.svg.js";import{Tooltip as u}from"../tooltips/Tooltip.js";let I=()=>i(e,{});"undefined"!=typeof window&&import("emoji-picker-react").then((i=>{I=i.default}));const g=i=>i?s.background.inverseLight:s.content.placeholder,O=c.div`
|
|
2
2
|
background: ${s.surface.subdued};
|
|
3
3
|
border-bottom: 1px solid ${s.stroke.primary};
|
|
4
4
|
display: flex;
|
|
@@ -8,11 +8,11 @@ import{jsx as i,Fragment as e,jsxs as o}from"react/jsx-runtime";import t from"@e
|
|
|
8
8
|
border-radius: 4px 4px 0px 0px;
|
|
9
9
|
gap: 6px;
|
|
10
10
|
position: relative;
|
|
11
|
-
`,f=
|
|
11
|
+
`,f=c.div`
|
|
12
12
|
width: 2px;
|
|
13
13
|
height: 12px;
|
|
14
14
|
background: #e0e0e0;
|
|
15
|
-
`,b=
|
|
15
|
+
`,b=c.div`
|
|
16
16
|
padding: 2px 6px;
|
|
17
17
|
background: ${i=>i.active?s.background.inactive:"transparent"};
|
|
18
18
|
border-radius: 4px;
|
|
@@ -22,13 +22,13 @@ import{jsx as i,Fragment as e,jsxs as o}from"react/jsx-runtime";import t from"@e
|
|
|
22
22
|
background-color: rgba(0, 0, 0, 0.03);
|
|
23
23
|
padding: 3px 6px;
|
|
24
24
|
}
|
|
25
|
-
`,v=
|
|
25
|
+
`,v=c.div`
|
|
26
26
|
display: flex;
|
|
27
27
|
flex-direction: row;
|
|
28
28
|
flex: 1;
|
|
29
29
|
justify-content: flex-end;
|
|
30
|
-
`,x=
|
|
30
|
+
`,x=c.div`
|
|
31
31
|
position: absolute;
|
|
32
32
|
top: calc(100% + 8px);
|
|
33
33
|
z-index: 1;
|
|
34
|
-
`;var T;!function(i){i.BOLD="BOLD",i.ITALIC="ITALIC",i.STRIKETHROUGH="STRIKETHROUGH",i.EMOJI="EMOJI"}(T||(T={}));const E=
|
|
34
|
+
`;var T;!function(i){i.BOLD="BOLD",i.ITALIC="ITALIC",i.STRIKETHROUGH="STRIKETHROUGH",i.EMOJI="EMOJI"}(T||(T={}));const E=t.forwardRef(((t,c)=>{let{onActionSelect:s,RightComponent:E,onEmojiClick:j,actions:k}=t;const R=r(null),[L,H]=n({[T.BOLD]:!1,[T.ITALIC]:!1,[T.STRIKETHROUGH]:!1,[T.EMOJI]:!1}),y=l((()=>{H((i=>Object.assign(Object.assign({},i),{[T.EMOJI]:!1})))}),[L]);function C(i,e){var o;null===(o=i.preventDefault)||void 0===o||o.call(i),e===T.EMOJI&&H((i=>Object.assign(Object.assign({},i),{[T.EMOJI]:!L.EMOJI}))),s(e)}return d(R,(()=>{y()})),(null==k?void 0:k.length)||E?o(O,{children:[(null==k?void 0:k.includes(T.EMOJI))&&o(e,{children:[i(u,{body:"Emoji",placement:"bottom",children:i(b,{style:{marginLeft:0},active:!!L.EMOJI,onClick:i=>C(i,T.EMOJI),children:i(p,{width:16,height:16,color:g(L.EMOJI)})})}),L.EMOJI&&i(x,{ref:R,children:i(I,{onEmojiClick:i=>{y(),null==j||j(i.emoji)}})})]}),(null==k?void 0:k.includes(T.BOLD))&&o(e,{children:[i(f,{}),i(u,{body:"Bold",placement:"bottom",children:i(b,{active:!!L.BOLD,onClick:i=>C(i,T.BOLD),children:i(a,{width:10,height:17,color:g(L.BOLD)})})})]}),(null==k?void 0:k.includes(T.ITALIC))&&o(e,{children:[i(f,{}),i(u,{body:"Italics",placement:"bottom",children:i(b,{onClick:i=>C(i,T.ITALIC),active:!!L.ITALIC,children:i(h,{width:9,height:16,color:g(L.ITALIC)})})})]}),(null==k?void 0:k.includes(T.STRIKETHROUGH))&&o(e,{children:[i(f,{}),i(u,{body:"Strikethrough",placement:"bottom",children:i(b,{active:!!L.STRIKETHROUGH,style:{borderRight:0},onClick:i=>C(i,T.STRIKETHROUGH),children:i(m,{width:12,height:18,color:g(L.STRIKETHROUGH)})})})]}),i(v,{children:E&&i(E,{})})]}):i(e,{})}));E.displayName="WhatsAppTextEditorHeader";export{f as CustomRightBorder,T as EditorActionTypes,E as WhatsAppTextEditorHeader};
|
|
@@ -6,12 +6,12 @@ export type HeaderButton = {
|
|
|
6
6
|
style?: React.CSSProperties;
|
|
7
7
|
};
|
|
8
8
|
export interface AccordionProps {
|
|
9
|
-
header: JSX.Element | string;
|
|
10
|
-
subHeader?: JSX.Element | string;
|
|
9
|
+
header: React.JSX.Element | string;
|
|
10
|
+
subHeader?: React.JSX.Element | string;
|
|
11
11
|
caption?: string;
|
|
12
12
|
children: ReactNode;
|
|
13
13
|
width?: string;
|
|
14
|
-
rightActionComponent?: JSX.Element;
|
|
14
|
+
rightActionComponent?: React.JSX.Element;
|
|
15
15
|
contentMargin?: string;
|
|
16
16
|
skipHoverHeader?: boolean;
|
|
17
17
|
headerPadding?: string;
|
|
@@ -1,15 +1,9 @@
|
|
|
1
1
|
import { ModeType } from './AnalyticsCard';
|
|
2
|
-
export declare const AnalyticsContainer: import("
|
|
3
|
-
theme?: import("@emotion/react").Theme;
|
|
4
|
-
as?: React.ElementType;
|
|
5
|
-
} & {
|
|
2
|
+
export declare const AnalyticsContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
6
3
|
width: string;
|
|
7
4
|
mode?: ModeType;
|
|
8
5
|
count?: number;
|
|
9
|
-
}
|
|
10
|
-
export declare const CardDataContainer: import("
|
|
11
|
-
theme?: import("@emotion/react").Theme;
|
|
12
|
-
as?: React.ElementType;
|
|
13
|
-
} & {
|
|
6
|
+
}>> & string;
|
|
7
|
+
export declare const CardDataContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
14
8
|
count: number;
|
|
15
|
-
}
|
|
9
|
+
}>> & string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import t from"
|
|
1
|
+
import t from"styled-components";import{BASE_COLORS as e}from"../../constants/Theme.js";const i=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-wrap: wrap;
|
|
4
4
|
row-gap: 16px;
|
|
@@ -6,7 +6,7 @@ import t from"@emotion/styled";import{BASE_COLORS as i}from"../../constants/Them
|
|
|
6
6
|
justify-content: space-evenly;
|
|
7
7
|
|
|
8
8
|
${t=>t.width?`width: ${t.width}`:"width: 280px"};
|
|
9
|
-
background: ${t=>"light"==t.mode?
|
|
9
|
+
background: ${t=>"light"==t.mode?e.grayscale[100]:e.brand[900]};
|
|
10
10
|
padding: 26px 12px 16px 12px;
|
|
11
11
|
border-radius: 0 0 8px 8px;
|
|
12
12
|
|
|
@@ -43,4 +43,4 @@ import t from"@emotion/styled";import{BASE_COLORS as i}from"../../constants/Them
|
|
|
43
43
|
white-space: nowrap;
|
|
44
44
|
text-overflow: ellipsis;
|
|
45
45
|
}
|
|
46
|
-
`;export{
|
|
46
|
+
`;export{i as AnalyticsContainer,n as CardDataContainer};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{jsxs as e,jsx as t,Fragment as n}from"react/jsx-runtime";import i from"
|
|
1
|
+
import{jsxs as e,jsx as t,Fragment as n}from"react/jsx-runtime";import i from"styled-components";import{COLORS as r}from"../../constants/Theme.js";import{TitleMedium as l,TitleRegular as o}from"../TypographyStyle.js";import{AnalyticsTrend as d}from"./AnalyticsTrend.js";const a=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
flex-wrap: wrap;
|
|
@@ -1,30 +1,24 @@
|
|
|
1
|
-
export declare const AnalyticsChipContainer: import("
|
|
2
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
-
as?: React.ElementType;
|
|
4
|
-
} & {
|
|
1
|
+
export declare const AnalyticsChipContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
5
2
|
backgroundColor?: string;
|
|
6
3
|
width?: string | number;
|
|
7
|
-
}
|
|
8
|
-
export declare const AnalyticsMultiWrapper: import("
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
},
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
4
|
+
}>> & string;
|
|
5
|
+
export declare const AnalyticsMultiWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
6
|
+
export declare const MainDropdown: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("react-bootstrap/esm/helpers").Omit<any, import("react-bootstrap/esm/helpers").BsPrefixProps<import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>> & import("react-bootstrap").DropdownProps> & import("react-bootstrap/esm/helpers").BsPrefixProps<import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>> & import("react-bootstrap").DropdownProps & {
|
|
7
|
+
children?: import("react").ReactNode | undefined;
|
|
8
|
+
}, "width" | "active" | "height"> & {
|
|
9
|
+
active?: string;
|
|
10
|
+
width?: string;
|
|
11
|
+
height?: string;
|
|
12
|
+
}, {
|
|
13
|
+
height?: string;
|
|
14
|
+
bgColor?: string;
|
|
15
|
+
}>> & string;
|
|
16
|
+
export declare const ItemMenuContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
17
17
|
isSelected?: boolean;
|
|
18
18
|
isLastItem?: boolean;
|
|
19
19
|
isFirstItem?: boolean;
|
|
20
|
-
}
|
|
21
|
-
export declare const AnalyticsTrendContainer: import("
|
|
22
|
-
theme?: import("@emotion/react").Theme;
|
|
23
|
-
as?: React.ElementType;
|
|
24
|
-
} & {
|
|
20
|
+
}>> & string;
|
|
21
|
+
export declare const AnalyticsTrendContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
25
22
|
card: boolean;
|
|
26
|
-
}
|
|
27
|
-
export declare const IconContainer: import("
|
|
28
|
-
theme?: import("@emotion/react").Theme;
|
|
29
|
-
as?: React.ElementType;
|
|
30
|
-
}, JSX.IntrinsicElements, {}>;
|
|
23
|
+
}>> & string;
|
|
24
|
+
export declare const IconContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import
|
|
1
|
+
import t from"styled-components";import{BASE_COLORS as r,COLORS as o}from"../../constants/Theme.js";import"react/jsx-runtime";import"react";import"react-bootstrap";import"../tooltips/Tooltip.js";import"../TypographyStyle.js";import{StyledDropdown as i}from"../floating-action-button/FloatingActionButton.styles.js";const e=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
justify-content: center;
|
|
5
5
|
align-items: flex-start;
|
|
6
6
|
padding: 12px 16px;
|
|
7
7
|
gap: 8px;
|
|
8
|
-
background: ${
|
|
8
|
+
background: ${t=>t.backgroundColor};
|
|
9
9
|
border-radius: 8px;
|
|
10
|
-
width: ${
|
|
10
|
+
width: ${t=>t.width?t.width:"224.67px"};
|
|
11
11
|
overflow: hidden;
|
|
12
12
|
text-overflow: ellipsis;
|
|
13
13
|
white-space: initial;
|
|
@@ -19,35 +19,77 @@ import c from"@emotion/styled/base";import{BASE_COLORS as d,COLORS as t}from"../
|
|
|
19
19
|
gap: 4px;
|
|
20
20
|
align-items: baseline;
|
|
21
21
|
}
|
|
22
|
-
`,
|
|
22
|
+
`,d=t.div`
|
|
23
23
|
display: flex;
|
|
24
24
|
flex-direction: row;
|
|
25
25
|
align-items: flex-start;
|
|
26
26
|
padding: 0px;
|
|
27
27
|
gap: 16px;
|
|
28
28
|
flex-wrap: wrap;
|
|
29
|
-
`,
|
|
29
|
+
`,n=t(i)`
|
|
30
|
+
.main--dropdown.dropdown-toggle::after {
|
|
31
|
+
display: unset !important;
|
|
32
|
+
}
|
|
33
|
+
.main--dropdown.dropdown-toggle::before {
|
|
34
|
+
display: unset !important;
|
|
35
|
+
}
|
|
36
|
+
.main--dropdown.btn-primary:hover,
|
|
37
|
+
.main--dropdown.btn-primary:active,
|
|
38
|
+
.main--dropdown.btn-primary:focus,
|
|
39
|
+
.main--dropdown.btn-primary.dropdown-toggle,
|
|
40
|
+
.main--dropdown.show > main--dropdown.btn-primary.dropdown-toggle {
|
|
41
|
+
border: 1px solid ${r.grayscale[200]};
|
|
42
|
+
border-radius: 4px;
|
|
43
|
+
display: flex;
|
|
44
|
+
flex-direction: row;
|
|
45
|
+
align-items: center;
|
|
46
|
+
padding: 6px 8px;
|
|
47
|
+
gap: 8px;
|
|
48
|
+
background: ${t=>t.bgColor};
|
|
49
|
+
}
|
|
50
|
+
.dropdown-menu {
|
|
51
|
+
border-radius: 3px;
|
|
52
|
+
padding: 0 0;
|
|
53
|
+
}
|
|
54
|
+
.sub--dropdown.btn-primary {
|
|
55
|
+
width: 100%;
|
|
56
|
+
padding: 0px;
|
|
57
|
+
}
|
|
58
|
+
.sub--dropdown {
|
|
59
|
+
button:not(.date-picker-save-button-container button) {
|
|
60
|
+
border-radius: 0;
|
|
61
|
+
max-width: 100%;
|
|
62
|
+
padding: 10px 6.6667px;
|
|
63
|
+
background: none;
|
|
64
|
+
text-align: center;
|
|
65
|
+
line-height: 16px;
|
|
66
|
+
border: none;
|
|
67
|
+
justify-content: center;
|
|
68
|
+
align-items: center;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
`,p=t.div`
|
|
30
72
|
display: flex;
|
|
31
73
|
flex-direction: column;
|
|
32
74
|
align-items: flex-start;
|
|
33
75
|
padding: 12px 16px;
|
|
34
76
|
gap: 4px;
|
|
35
|
-
border-bottom: ${
|
|
77
|
+
border-bottom: ${t=>t.isLastItem?"none":`1px solid ${r.grayscale[200]}`};
|
|
36
78
|
max-width: 240px;
|
|
37
79
|
cursor: pointer;
|
|
38
|
-
background-color: ${
|
|
80
|
+
background-color: ${t=>t.isSelected?r.positive[50]:r.grayscale.white};
|
|
39
81
|
&:hover {
|
|
40
|
-
background-color: ${
|
|
82
|
+
background-color: ${t=>t.isSelected?"":r.grayscale[50]};
|
|
41
83
|
}
|
|
42
84
|
width: 100%;
|
|
43
|
-
border-top-left-radius: ${
|
|
44
|
-
border-top-right-radius: ${
|
|
45
|
-
border-bottom-left-radius: ${
|
|
46
|
-
border-bottom-right-radius: ${
|
|
47
|
-
`,
|
|
48
|
-
border: ${
|
|
85
|
+
border-top-left-radius: ${t=>t.isFirstItem?"4px":"0px"};
|
|
86
|
+
border-top-right-radius: ${t=>t.isFirstItem?"4px":"0px"};
|
|
87
|
+
border-bottom-left-radius: ${t=>t.isLastItem?"4px":"0px"};
|
|
88
|
+
border-bottom-right-radius: ${t=>t.isLastItem?"4px":"0px"};
|
|
89
|
+
`,a=t.div`
|
|
90
|
+
border: ${t=>t.card?1:0}px solid ${o.background.base};
|
|
49
91
|
height: 100%;
|
|
50
|
-
${
|
|
92
|
+
${t=>t.card?"\n\t\t\tbox-shadow: 0px 2px 4px rgba(0, 0, 0, 0.08);\n\t\t\tborder-radius: 8px;\n\t\t\tpadding: 16px 20px;":""}
|
|
51
93
|
.icon--holder {
|
|
52
94
|
height: 32px;
|
|
53
95
|
width: 32px;
|
|
@@ -57,15 +99,15 @@ import c from"@emotion/styled/base";import{BASE_COLORS as d,COLORS as t}from"../
|
|
|
57
99
|
border-radius: 5px;
|
|
58
100
|
cursor: pointer;
|
|
59
101
|
:hover {
|
|
60
|
-
background-color: ${
|
|
102
|
+
background-color: ${o.surface.hovered};
|
|
61
103
|
}
|
|
62
104
|
}
|
|
63
|
-
`,
|
|
105
|
+
`,s=t.div`
|
|
64
106
|
display: flex;
|
|
65
107
|
align-items: center;
|
|
66
108
|
justify-content: center;
|
|
67
109
|
width: 32px;
|
|
68
110
|
height: 32px;
|
|
69
|
-
background-color: ${
|
|
111
|
+
background-color: ${o.background.brandLight};
|
|
70
112
|
border-radius: 4px;
|
|
71
|
-
`;export{
|
|
113
|
+
`;export{e as AnalyticsChipContainer,d as AnalyticsMultiWrapper,a as AnalyticsTrendContainer,s as IconContainer,p as ItemMenuContainer,n as MainDropdown};
|