@bikdotai/bik-widgets 1.0.0 → 1.0.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-package/index.css +95 -0
- package/dist-package/index.js +2 -0
- package/package.json +17 -4
- package/.eslintrc +0 -22
- package/.eslintrc.js +0 -19
- package/.github/workflows/main.yml +0 -293
- package/.prettierignore +0 -13
- package/.prettierrc +0 -10
- package/cypress/apiHelper/endpoints.ts +0 -21
- package/cypress/apiHelper/executor.ts +0 -42
- package/cypress/e2e/bottomDrawer.cy.ts +0 -49
- package/cypress/e2e/directReward.cy.ts +0 -67
- package/cypress/e2e/scratchTheCard.cy.ts +0 -68
- package/cypress/e2e/stw.cy.ts +0 -82
- package/cypress/e2e/waRedirection.cy.ts +0 -46
- package/cypress/fixtures/payloads.ts +0 -330
- package/cypress/support/commands.ts +0 -37
- package/cypress/support/e2e.ts +0 -20
- package/cypress.staging.config.ts +0 -23
- package/jsconfig.json +0 -6
- package/localtest.sh +0 -10
- package/log-server.js +0 -86
- package/postcss.config.js +0 -8
- package/src/Globals.d.ts +0 -2
- package/src/assets/lottie/santa.json +0 -11722
- package/src/assets/svg/CalendarClockIcon.tsx +0 -30
- package/src/assets/svg/CalendarIcon.tsx +0 -24
- package/src/assets/svg/CheckIcon.tsx +0 -17
- package/src/assets/svg/ChevronIcon.tsx +0 -21
- package/src/assets/svg/Close.tsx +0 -39
- package/src/assets/svg/Confetti.tsx +0 -140
- package/src/assets/svg/Copy.tsx +0 -26
- package/src/assets/svg/DropdownCheckIcon.tsx +0 -35
- package/src/assets/svg/ErrorIcon.tsx +0 -27
- package/src/assets/svg/RadioIcon.tsx +0 -25
- package/src/assets/svg/UncheckedCheckboxIcon.tsx +0 -28
- package/src/assets/svg/UncheckedRadioIcon.tsx +0 -26
- package/src/assets/svg/info.tsx +0 -30
- package/src/assets/svg/qrcode.svg +0 -14
- package/src/bootstrap.tsx +0 -8
- package/src/components/CtaCard/index.tsx +0 -37
- package/src/components/CtaCard/preview.module.css +0 -32
- package/src/components/CtaCard/style.module.css +0 -32
- package/src/components/EmailInput/emailInputBox.tsx +0 -95
- package/src/components/Fab/index.tsx +0 -224
- package/src/components/Fab/preview.module.css +0 -28
- package/src/components/Fab/style.module.css +0 -37
- package/src/components/Icons/Call.tsx +0 -26
- package/src/components/Icons/Cross.tsx +0 -24
- package/src/components/Icons/Gmail.tsx +0 -61
- package/src/components/Icons/Instagram.tsx +0 -60
- package/src/components/Icons/LiveChat.tsx +0 -43
- package/src/components/Icons/Messenger.tsx +0 -57
- package/src/components/Icons/Send.tsx +0 -22
- package/src/components/Icons/Whatsapp.tsx +0 -24
- package/src/components/Shimmer/index.tsx +0 -12
- package/src/components/Shimmer/style.module.css +0 -37
- package/src/components/SmsInput/smsInputBox.tsx +0 -135
- package/src/components/UserDetailsV2/userDetailsV2.desktop.module.css +0 -52
- package/src/components/UserDetailsV2/userDetailsV2.mobile.module.css +0 -52
- package/src/components/UserDetailsV2/userDetailsV2.module.css +0 -81
- package/src/components/UserDetailsV2/userDetailsV2.tsx +0 -527
- package/src/components/WhatsappInput/Spinner.tsx +0 -26
- package/src/components/WhatsappInput/whatsappInput.module.css +0 -106
- package/src/components/WhatsappInput/whatsappInputBox.tsx +0 -155
- package/src/components/WhatsappInput/whatsappInputPreviewDesktop.module.css +0 -71
- package/src/components/WhatsappInput/whatsappInputPreviewMobile.module.css +0 -65
- package/src/components/checkbox/checkbox.module.css +0 -19
- package/src/components/checkbox/checkbox.tsx +0 -88
- package/src/components/countryCodePicker/countriesDropdown.module.css +0 -77
- package/src/components/countryCodePicker/countriesDropdown.tsx +0 -81
- package/src/components/couponDetails/coupon.module.css +0 -208
- package/src/components/couponDetails/coupon.tsx +0 -210
- package/src/components/couponDetails/couponPreviewDesktop.module.css +0 -158
- package/src/components/couponDetails/couponPreviewMobile.module.css +0 -164
- package/src/components/index.ts +0 -3
- package/src/components/inputComponents/Checkbox.module.css +0 -197
- package/src/components/inputComponents/Checkbox.tsx +0 -85
- package/src/components/inputComponents/DatePicker.module.css +0 -565
- package/src/components/inputComponents/DatePicker.tsx +0 -278
- package/src/components/inputComponents/Dropdown.module.css +0 -796
- package/src/components/inputComponents/Dropdown.tsx +0 -630
- package/src/components/inputComponents/InputBox.module.css +0 -401
- package/src/components/inputComponents/InputBox.tsx +0 -209
- package/src/components/selectedCountry/selectedCountry.module.css +0 -76
- package/src/components/selectedCountry/selectedCountry.tsx +0 -76
- package/src/components/selectedCountry/selectedCountryPreviewDesktop.module.css +0 -56
- package/src/components/selectedCountry/selectedCountryPreviewMobile.module.css +0 -57
- package/src/components/userDetailsForm/RenderCustomFields.tsx +0 -333
- package/src/components/userDetailsForm/userDetailsForm.tsx +0 -675
- package/src/hooks/index.ts +0 -4
- package/src/hooks/useExitIntent.ts +0 -452
- package/src/hooks/useIsMobile.tsx +0 -21
- package/src/hooks/useMessageEvent.ts +0 -8
- package/src/hooks/useTriggeredIntentDetails.ts +0 -43
- package/src/hooks/useUrlListerner.ts +0 -30
- package/src/hooks/useWebSocketLogger.ts +0 -59
- package/src/hooks/useWindowEvent.ts +0 -8
- package/src/icons/copyIcon.tsx +0 -26
- package/src/icons/crossIconDesktop.tsx +0 -20
- package/src/icons/crossIconMobile.tsx +0 -20
- package/src/index.html +0 -30
- package/src/index.ts +0 -32
- package/src/index.tsx +0 -1
- package/src/repo/widgetRepo.ts +0 -21
- package/src/types/customFields.ts +0 -73
- package/src/utilities/cookie.ts +0 -70
- package/src/utilities/customFieldTypeMapping.ts +0 -67
- package/src/utilities/customFieldValidation.ts +0 -201
- package/src/utilities/encryption.ts +0 -21
- package/src/utilities/exitIntentUtils.ts +0 -31
- package/src/utilities/global.css +0 -11
- package/src/utilities/languageUtilities.ts +0 -235
- package/src/utilities/localRunner.js +0 -26
- package/src/utilities/localRunner.ts +0 -27
- package/src/utilities/localStorage.ts +0 -40
- package/src/utilities/script.tsx +0 -15
- package/src/utilities/stringUtils.ts +0 -5
- package/src/utilities/styleUtils.ts +0 -134
- package/src/utilities/variables.ts +0 -11
- package/src/utilities/widgetUtils.js +0 -342
- package/src/utilities/widgetUtils.ts +0 -313
- package/src/widgets/BottomDrawer/config.ts +0 -41
- package/src/widgets/BottomDrawer/index.tsx +0 -116
- package/src/widgets/BottomDrawer/modal.tsx +0 -286
- package/src/widgets/BottomDrawer/preview.module.css +0 -122
- package/src/widgets/BottomDrawer/previewMobile.module.css +0 -124
- package/src/widgets/BottomDrawer/style.module.css +0 -279
- package/src/widgets/CaptivateBanner/captivateBanner.tsx +0 -200
- package/src/widgets/CaptivateBanner/config.ts +0 -72
- package/src/widgets/CaptivateBanner/index.tsx +0 -204
- package/src/widgets/CaptivateBanner/previewDesktop.module.css +0 -51
- package/src/widgets/CaptivateBanner/previewMobile.module.css +0 -51
- package/src/widgets/CaptivateBanner/style.module.css +0 -77
- package/src/widgets/CaptivateBanner/utils.ts +0 -104
- package/src/widgets/CentrallyAlignedPopup/config.ts +0 -42
- package/src/widgets/CentrallyAlignedPopup/index.tsx +0 -109
- package/src/widgets/CentrallyAlignedPopup/modal.tsx +0 -269
- package/src/widgets/CentrallyAlignedPopup/preview.module.css +0 -153
- package/src/widgets/CentrallyAlignedPopup/previewMobile.module.css +0 -153
- package/src/widgets/CentrallyAlignedPopup/style.module.css +0 -283
- package/src/widgets/DirectReward/components/couponDetails.tsx +0 -265
- package/src/widgets/DirectReward/components/userDetails.tsx +0 -117
- package/src/widgets/DirectReward/config.ts +0 -186
- package/src/widgets/DirectReward/directReward.tsx +0 -350
- package/src/widgets/DirectReward/index.tsx +0 -579
- package/src/widgets/DirectReward/previewStyles/thankYouPreviewDesktop.module.css +0 -276
- package/src/widgets/DirectReward/previewStyles/thankYouPreviewMobile.module.css +0 -303
- package/src/widgets/DirectReward/previewStyles/userDetailsPreviewDesktop.module.css +0 -511
- package/src/widgets/DirectReward/previewStyles/userDetailsPreviewMobile.module.css +0 -462
- package/src/widgets/DirectReward/style.module.css +0 -836
- package/src/widgets/ExitIntentHook.tsx +0 -28
- package/src/widgets/STW/api.ts +0 -70
- package/src/widgets/STW/components/svgFactory.tsx +0 -44
- package/src/widgets/STW/config.ts +0 -193
- package/src/widgets/STW/context.ts +0 -7
- package/src/widgets/STW/couponDetails.tsx +0 -121
- package/src/widgets/STW/index.tsx +0 -733
- package/src/widgets/STW/previewStyles/thankyouPreviewDesktop.module.css +0 -215
- package/src/widgets/STW/previewStyles/thankyouPreviewMobile.module.css +0 -205
- package/src/widgets/STW/previewStyles/userInputsPreviewDesktop.module.css +0 -732
- package/src/widgets/STW/previewStyles/userInputsPreviewMobile.module.css +0 -661
- package/src/widgets/STW/previewStyles/wheelPreviewDesktop.module.css +0 -498
- package/src/widgets/STW/previewStyles/wheelPreviewMobile.module.css +0 -497
- package/src/widgets/STW/stw1.tsx +0 -119
- package/src/widgets/STW/stw2Components/wheelDesign.tsx +0 -183
- package/src/widgets/STW/stw2Pages/couponDetails.tsx +0 -72
- package/src/widgets/STW/stw2Pages/stw2.tsx +0 -212
- package/src/widgets/STW/stw2Pages/style.module.css +0 -1226
- package/src/widgets/STW/stw2Pages/userDetails.tsx +0 -86
- package/src/widgets/STW/stw2Pages/wheel.tsx +0 -117
- package/src/widgets/STW/stw2PreviewStyles/thankyouPreviewDesktop.module.css +0 -835
- package/src/widgets/STW/stw2PreviewStyles/thankyouPreviewMobile.module.css +0 -787
- package/src/widgets/STW/stw2PreviewStyles/userInputsPreviewDesktop.module.css +0 -867
- package/src/widgets/STW/stw2PreviewStyles/userInputsPreviewMobile.module.css +0 -798
- package/src/widgets/STW/stw2PreviewStyles/wheelPreviewDesktop.module.css +0 -572
- package/src/widgets/STW/stw2PreviewStyles/wheelPreviewMobile.module.css +0 -559
- package/src/widgets/STW/style.module.css +0 -901
- package/src/widgets/STW/userDetails.tsx +0 -150
- package/src/widgets/STW/utility.ts +0 -664
- package/src/widgets/STW/wheel.tsx +0 -304
- package/src/widgets/ScratchCard/ScratchOff/scratchOff.tsx +0 -157
- package/src/widgets/ScratchCard/config.ts +0 -152
- package/src/widgets/ScratchCard/globalStyle.module.css +0 -931
- package/src/widgets/ScratchCard/index.tsx +0 -546
- package/src/widgets/ScratchCard/modal.tsx +0 -225
- package/src/widgets/ScratchCard/preview.module.css +0 -250
- package/src/widgets/ScratchCard/previewMobile.module.css +0 -247
- package/src/widgets/ScratchCard/previewStyles/userDetailsPreviewDesktop.module.css +0 -537
- package/src/widgets/ScratchCard/previewStyles/userDetailsPreviewMobile.module.css +0 -463
- package/src/widgets/ScratchCard/style.module.css +0 -220
- package/src/widgets/ShopifyForm/config.ts +0 -168
- package/src/widgets/ShopifyForm/index.tsx +0 -214
- package/src/widgets/ShopifyForm/previewDesktop.module.css +0 -117
- package/src/widgets/ShopifyForm/previewMobile.module.css +0 -131
- package/src/widgets/ShopifyForm/shopifyForm.tsx +0 -445
- package/src/widgets/ShopifyForm/style.module.css +0 -161
- package/src/widgets/SingleButtonRedirection/config.ts +0 -47
- package/src/widgets/SingleButtonRedirection/index.tsx +0 -121
- package/src/widgets/WebStories/config.ts +0 -105
- package/src/widgets/WebStories/index.css +0 -3
- package/src/widgets/WebStories/index.tsx +0 -282
- package/src/widgets/WebStories/style.module.css +0 -26
- package/src/widgets/index.tsx +0 -3
- package/src/widgets/utility.ts +0 -31
- package/tsconfig.json +0 -12
- package/webpack.config.js +0 -239
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
|
|
3
|
-
interface CalendarClockIconProps {
|
|
4
|
-
size?: number;
|
|
5
|
-
className?: string;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
const CalendarClockIcon: React.FC<CalendarClockIconProps> = ({
|
|
9
|
-
size = 20,
|
|
10
|
-
className,
|
|
11
|
-
}) => (
|
|
12
|
-
<svg
|
|
13
|
-
width={size}
|
|
14
|
-
height={size}
|
|
15
|
-
viewBox="0 0 20 20"
|
|
16
|
-
fill="currentColor"
|
|
17
|
-
className={className}
|
|
18
|
-
style={{ flexShrink: 0 }}
|
|
19
|
-
>
|
|
20
|
-
<path
|
|
21
|
-
fillRule="evenodd"
|
|
22
|
-
d="M6 2a1 1 0 00-1 1v1H4a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V6a2 2 0 00-2-2h-1V3a1 1 0 10-2 0v1H7V3a1 1 0 00-1-1zm0 5a1 1 0 000 2h8a1 1 0 100-2H6z"
|
|
23
|
-
clipRule="evenodd"
|
|
24
|
-
/>
|
|
25
|
-
<circle cx="14" cy="14" r="3" fill="currentColor" opacity="0.7" />
|
|
26
|
-
<path d="M14 12.5v1.5l1 1" stroke="white" strokeWidth="0.5" fill="none" />
|
|
27
|
-
</svg>
|
|
28
|
-
);
|
|
29
|
-
|
|
30
|
-
export default CalendarClockIcon;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
|
|
3
|
-
interface CalendarIconProps {
|
|
4
|
-
size?: number;
|
|
5
|
-
className?: string;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
const CalendarIcon: React.FC<CalendarIconProps> = ({
|
|
9
|
-
size = 20,
|
|
10
|
-
className,
|
|
11
|
-
}) => (
|
|
12
|
-
<svg
|
|
13
|
-
width={size}
|
|
14
|
-
height={size}
|
|
15
|
-
viewBox="0 0 24 24"
|
|
16
|
-
fill="currentColor"
|
|
17
|
-
className={className}
|
|
18
|
-
style={{ flexShrink: 0 }}
|
|
19
|
-
>
|
|
20
|
-
<path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z" />
|
|
21
|
-
</svg>
|
|
22
|
-
);
|
|
23
|
-
|
|
24
|
-
export default CalendarIcon;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
const CheckIcon = ({ size = 14 }: { size?: number }) => (
|
|
3
|
-
<svg
|
|
4
|
-
width={size}
|
|
5
|
-
height={size}
|
|
6
|
-
viewBox="0 0 16 16"
|
|
7
|
-
fill="none"
|
|
8
|
-
stroke="currentColor"
|
|
9
|
-
strokeWidth="2"
|
|
10
|
-
strokeLinecap="round"
|
|
11
|
-
strokeLinejoin="round"
|
|
12
|
-
>
|
|
13
|
-
<path d="m3 8 3 3 7-7" />
|
|
14
|
-
</svg>
|
|
15
|
-
);
|
|
16
|
-
|
|
17
|
-
export default CheckIcon;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
|
|
3
|
-
interface ChevronIconProps {
|
|
4
|
-
className?: string;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
export const ChevronIcon: React.FC<ChevronIconProps> = ({ className }) => (
|
|
8
|
-
<svg
|
|
9
|
-
width="20"
|
|
10
|
-
height="20"
|
|
11
|
-
viewBox="0 0 20 20"
|
|
12
|
-
fill="currentColor"
|
|
13
|
-
className={className}
|
|
14
|
-
>
|
|
15
|
-
<path
|
|
16
|
-
fillRule="evenodd"
|
|
17
|
-
d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"
|
|
18
|
-
clipRule="evenodd"
|
|
19
|
-
/>
|
|
20
|
-
</svg>
|
|
21
|
-
);
|
package/src/assets/svg/Close.tsx
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
|
|
3
|
-
const CloseIcon: React.FC<{ size?: 'small' | 'large'; colour?: string }> = ({
|
|
4
|
-
size,
|
|
5
|
-
colour,
|
|
6
|
-
}) => {
|
|
7
|
-
if (size === 'small') {
|
|
8
|
-
return (
|
|
9
|
-
<svg
|
|
10
|
-
width="20"
|
|
11
|
-
height="19"
|
|
12
|
-
viewBox="0 0 20 19"
|
|
13
|
-
fill="none"
|
|
14
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
15
|
-
>
|
|
16
|
-
<path
|
|
17
|
-
d="M15.0727 5.12347C15.368 4.82815 15.368 4.34934 15.0727 4.05401C14.7773 3.75869 14.2985 3.75869 14.0032 4.05401L10.0006 8.05662L5.99798 4.05401C5.70266 3.75869 5.22385 3.75869 4.92852 4.05401C4.6332 4.34934 4.6332 4.82815 4.92852 5.12347L8.93113 9.12608L4.92852 13.1287C4.6332 13.424 4.6332 13.9028 4.92852 14.1981C5.22385 14.4935 5.70266 14.4935 5.99798 14.1981L10.0006 10.1955L14.0032 14.1981C14.2985 14.4935 14.7773 14.4935 15.0727 14.1981C15.368 13.9028 15.368 13.424 15.0727 13.1287L11.07 9.12608L15.0727 5.12347Z"
|
|
18
|
-
fill={colour ?? '#616161'}
|
|
19
|
-
/>
|
|
20
|
-
</svg>
|
|
21
|
-
);
|
|
22
|
-
}
|
|
23
|
-
return (
|
|
24
|
-
<svg
|
|
25
|
-
width="32"
|
|
26
|
-
height="32"
|
|
27
|
-
viewBox="0 0 32 32"
|
|
28
|
-
fill="none"
|
|
29
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
30
|
-
>
|
|
31
|
-
<path
|
|
32
|
-
d="M24.9428 8.94265C25.4635 8.42195 25.4635 7.57773 24.9428 7.05703C24.4221 6.53633 23.5778 6.53633 23.0572 7.05703L16 14.1142L8.94277 7.05703C8.42207 6.53633 7.57785 6.53633 7.05715 7.05703C6.53645 7.57773 6.53645 8.42195 7.05715 8.94265L14.1143 15.9998L7.05715 23.057C6.53645 23.5777 6.53645 24.4219 7.05715 24.9426C7.57785 25.4633 8.42207 25.4633 8.94277 24.9426L16 17.8855L23.0572 24.9426C23.5778 25.4633 24.4221 25.4633 24.9428 24.9426C25.4635 24.4219 25.4635 23.5777 24.9428 23.057L17.8856 15.9998L24.9428 8.94265Z"
|
|
33
|
-
fill="#142236"
|
|
34
|
-
/>
|
|
35
|
-
</svg>
|
|
36
|
-
);
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
export default CloseIcon;
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
|
|
3
|
-
const Confetti = () => {
|
|
4
|
-
return (
|
|
5
|
-
<svg
|
|
6
|
-
width="131"
|
|
7
|
-
height="137"
|
|
8
|
-
viewBox="0 0 131 137"
|
|
9
|
-
fill="none"
|
|
10
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
11
|
-
>
|
|
12
|
-
<path
|
|
13
|
-
d="M63.5472 14.0546C64.8019 15.7979 64.7575 18.1518 63.4362 19.8396C59.7387 24.5697 51.8996 34.041 44.1049 39.7927C34.4892 46.8989 25.7285 50.0857 21.2648 51.3848C19.2884 51.9622 17.1787 51.196 15.9907 49.5194C13.0593 45.4 8.39582 36.5726 10.2279 24.0811C12.815 6.31542 33.1679 -2.25654 46.3589 2.00723C59.5499 6.271 63.5472 14.0546 63.5472 14.0546Z"
|
|
14
|
-
fill="#FFC107"
|
|
15
|
-
/>
|
|
16
|
-
<path
|
|
17
|
-
d="M23.0304 48.0647C21.7313 48.6088 20.5543 47.0876 21.3871 45.9662C23.8298 42.7017 28.5711 37.3498 37.2207 30.3768C46.6032 22.8152 53.2543 20.1393 56.8851 19.1955C58.1399 18.8735 59.1059 20.2836 58.3508 21.3385C55.8969 24.7806 50.7338 31.0652 42.284 37.0944C34.0895 42.946 27.1387 46.3326 23.0304 48.0647Z"
|
|
18
|
-
fill="url(#paint0_radial_1393_13984)"
|
|
19
|
-
/>
|
|
20
|
-
<path
|
|
21
|
-
d="M32.1685 6.65964C32.6792 8.85815 35.4551 9.62429 38.1422 9.16905C41.0513 8.68049 44.7155 8.26966 44.3713 5.31611C44.016 2.26263 39.1526 2.38477 37.3538 2.4847C34.7223 2.64015 31.7132 4.71652 32.1685 6.65964Z"
|
|
22
|
-
fill="#FFEE58"
|
|
23
|
-
/>
|
|
24
|
-
<path
|
|
25
|
-
d="M89.3741 1.08563C102.654 -2.48972 122.152 2.08495 126.06 25.0915C127.548 33.83 124.073 41.5692 121.641 45.6997C120.442 47.7428 118.099 48.8309 115.778 48.3646C111.248 47.4541 102.809 44.9114 91.506 37.8495C85.2214 33.93 76.6717 26.2907 71.8305 21.7938C69.6431 19.7618 69.4321 16.353 71.3975 14.099C75.2393 9.69089 82.0014 3.07317 89.3741 1.08563Z"
|
|
26
|
-
fill="#FFC107"
|
|
27
|
-
/>
|
|
28
|
-
<path
|
|
29
|
-
d="M77.3491 21.9381C76.6496 21.2386 77.3158 20.0616 78.2818 20.3059C82.5234 21.3718 90.3514 23.7591 97.3022 28.1006C104.431 32.5642 111.637 39.3485 115.29 42.9794C116.012 43.69 115.301 44.8892 114.324 44.6005C109.86 43.3014 101.655 40.4144 93.5381 34.9404C85.2881 29.3775 80.0362 24.6141 77.3491 21.9381Z"
|
|
30
|
-
fill="url(#paint1_radial_1393_13984)"
|
|
31
|
-
/>
|
|
32
|
-
<path
|
|
33
|
-
d="M88.6415 10.1018C84.2556 11.4786 83.0231 8.38071 85.3659 6.02676C87.0537 4.32791 94.171 1.29664 100.345 2.58465C104.42 3.43963 105.697 9.31341 99.956 9.23569C96.0476 9.18017 94.0156 8.41402 88.6415 10.1018Z"
|
|
34
|
-
fill="#FFEE58"
|
|
35
|
-
/>
|
|
36
|
-
<path
|
|
37
|
-
d="M117.988 130.253C104.164 121.559 94.9036 104.626 93.2159 84.9508C91.6947 67.174 96.0029 49.1751 99.4672 34.7183L106.573 37.9494C103.265 51.7844 100.666 67.8402 102.065 84.1846C103.509 101.095 111.237 115.508 122.718 122.725L117.988 130.253Z"
|
|
38
|
-
fill="#03A9F4"
|
|
39
|
-
/>
|
|
40
|
-
<path
|
|
41
|
-
d="M63.0923 127.189L59.4281 119.094C63.7696 117.129 66.279 111.433 64.7911 106.914C64.0694 104.704 62.5149 102.594 60.8827 100.363C59.5502 98.5416 58.1623 96.654 57.0297 94.4888C54.0762 88.826 53.3767 82.0528 55.131 75.9125C56.0193 72.8146 57.4295 70.0721 58.8063 67.4183C60.3608 64.4203 61.8154 61.6 62.1929 58.7575C62.5371 56.126 61.9153 53.339 60.4718 51.1072C59.1616 49.0974 57.1408 47.3653 54.9978 45.5443C53.3767 44.1563 51.6889 42.724 50.1455 41.0362C46.4924 37.039 45.0712 32.2755 45.0934 26.9569L51.2781 24.6141C51.2781 24.6141 52.3995 30.6544 53.9096 33.0639C55.4974 35.5844 57.8625 37.2943 60.1054 39.2042C62.637 41.3693 65.9126 43.1792 67.9223 46.2882C70.4983 50.2633 71.6198 55.2377 70.998 59.9456C70.4206 64.3204 68.5219 67.9846 66.6898 71.5266C65.4684 73.8917 64.3137 76.1235 63.6697 78.3775C62.5371 82.3526 62.9812 86.7385 64.9022 90.4027C65.7238 91.9794 66.8453 93.5117 68.0445 95.1439C70.0209 97.8421 72.0639 100.618 73.2298 104.171C76.1501 112.998 71.5976 123.347 63.0923 127.189Z"
|
|
42
|
-
fill="#03A9F4"
|
|
43
|
-
/>
|
|
44
|
-
<path
|
|
45
|
-
d="M7.49661 133.873L2.24463 126.711C35.9217 102.039 39.5082 65.9083 37.132 47.4986L43.8386 45.4444C46.4701 65.7972 44.849 106.514 7.49661 133.873Z"
|
|
46
|
-
fill="#F48FB1"
|
|
47
|
-
/>
|
|
48
|
-
<path
|
|
49
|
-
d="M101.222 78.4108C101.422 78.5662 101.611 78.7106 101.811 78.866C101.744 75.213 101.922 71.5377 102.266 67.8957C99.29 65.4196 96.5141 62.7659 94.5155 59.6569C94.46 59.568 94.4155 59.4792 94.36 59.3904C93.7604 63.3877 93.2941 67.4738 93.072 71.5932C95.7258 74.1359 98.5683 76.3566 101.222 78.4108Z"
|
|
50
|
-
fill="#0076C6"
|
|
51
|
-
/>
|
|
52
|
-
<path
|
|
53
|
-
d="M123.44 102.827L115.379 99.0856C117.433 94.6664 115.712 89.3256 113.425 85.8057C110.449 81.2311 105.763 77.5891 101.222 74.0693C96.3473 70.2941 90.8289 66.0192 87.0314 60.101C80.0473 49.2306 81.2798 35.6954 89.1522 25.4468L95.6034 29.0554C89.9406 36.4393 89.4853 47.4651 94.5041 55.2931C97.4688 59.9233 102.143 63.532 106.663 67.0407C111.548 70.827 117.078 75.113 120.875 80.9535C125.45 88.0042 126.438 96.3874 123.44 102.827Z"
|
|
54
|
-
fill="#F44336"
|
|
55
|
-
/>
|
|
56
|
-
<path
|
|
57
|
-
d="M5.80891 99.7629C4.14338 90.3471 11.0276 85.4726 14.7251 82.8522C15.1692 82.5413 15.7133 82.1527 16.0908 81.8529C16.0575 81.0645 15.5245 80.0763 14.5252 78.3997C12.8819 75.6349 10.639 71.8375 12.36 67.0074C13.859 62.8103 18.2116 61.4223 21.0985 59.8012C23.5635 58.4133 25.3512 56.7255 26.2395 53.9052C27.2721 50.6186 26.5504 42.3575 26.5504 42.3575L31.9689 39.193C31.9689 39.193 33.6789 47.0876 33.6789 51.1071C33.6789 62.4994 27.3609 65.4085 24.6961 66.9075C22.8529 67.9401 21.1096 68.9172 20.7321 69.9832C20.4545 70.7604 20.8431 71.6376 22.1756 73.8805C23.7745 76.5676 25.9508 80.2651 24.5295 84.9841C23.8411 87.2825 21.9091 88.6594 19.866 90.1028C16.2463 92.6677 13.9145 94.622 14.5585 98.2195L5.80891 99.7629Z"
|
|
58
|
-
fill="#F44336"
|
|
59
|
-
/>
|
|
60
|
-
<path
|
|
61
|
-
d="M79.159 88.293C75.2062 87.3492 72.508 84.9952 70.0874 82.9966L75.7502 76.1457C75.7502 76.1457 77.76 79.1325 82.1681 80.5094L79.159 88.293Z"
|
|
62
|
-
fill="#F44336"
|
|
63
|
-
/>
|
|
64
|
-
<path
|
|
65
|
-
d="M72.0305 38.3047L65.4683 34.4517L70.2206 26.9346L76.7939 30.7876L72.0305 38.3047Z"
|
|
66
|
-
fill="#F44336"
|
|
67
|
-
/>
|
|
68
|
-
<path
|
|
69
|
-
d="M89.0634 123.047L80.2139 117.551L87.0426 109.956L93.8713 116.44L89.0634 123.047Z"
|
|
70
|
-
fill="#F44336"
|
|
71
|
-
/>
|
|
72
|
-
<path
|
|
73
|
-
d="M117.085 63.7617L122.293 56.5657L130.02 62.1578L124.812 69.3538L117.085 63.7617Z"
|
|
74
|
-
fill="#FB8C00"
|
|
75
|
-
/>
|
|
76
|
-
<path
|
|
77
|
-
d="M54.5535 60.3121L46.7144 54.8935L50.7894 49.4861L58.6174 54.9046L54.5535 60.3121Z"
|
|
78
|
-
fill="#F44336"
|
|
79
|
-
/>
|
|
80
|
-
<path
|
|
81
|
-
d="M64.0358 69.7834C64.0358 69.7834 65.5459 69.7279 67.4224 70.0943C68.777 67.4294 70.065 64.6535 70.7312 61.5334C68.4217 61.0116 66.5674 61.2669 66.5674 61.2669L64.0358 69.7834Z"
|
|
82
|
-
fill="#0076C6"
|
|
83
|
-
/>
|
|
84
|
-
<path
|
|
85
|
-
d="M74.5732 70.827C71.4753 68.1844 66.301 68.3732 66.301 68.3732L68.8215 59.8567C68.8215 59.8567 74.551 59.0573 78.415 63.0879L74.5732 70.827Z"
|
|
86
|
-
fill="#FB8C00"
|
|
87
|
-
/>
|
|
88
|
-
<path
|
|
89
|
-
d="M0.97998 106.109L9.03693 105.617L9.5779 114.483L1.52095 114.974L0.97998 106.109Z"
|
|
90
|
-
fill="#FB8C00"
|
|
91
|
-
/>
|
|
92
|
-
<path
|
|
93
|
-
d="M43.761 104.56L38.6422 97.298C40.9073 95.6991 42.9837 93.8004 44.7825 91.6796L51.5557 97.4313C49.2572 100.129 46.6368 102.528 43.761 104.56Z"
|
|
94
|
-
fill="#FB8C00"
|
|
95
|
-
/>
|
|
96
|
-
<path
|
|
97
|
-
d="M43.8274 125.079C41.1625 122.881 38.3422 120.838 35.4331 118.994L40.1854 111.488C43.4055 113.52 46.5256 115.785 49.4791 118.217L43.8274 125.079Z"
|
|
98
|
-
fill="#F44336"
|
|
99
|
-
/>
|
|
100
|
-
<path
|
|
101
|
-
d="M93.3718 85.8834C93.6827 89.5587 94.1158 92.2014 94.9374 95.6435L100.789 90.9467L95.0929 83.8293L93.3718 85.8834Z"
|
|
102
|
-
fill="#0076C6"
|
|
103
|
-
/>
|
|
104
|
-
<path
|
|
105
|
-
d="M83.9558 91.551L92.9047 84.3765L98.4609 91.3069L89.512 98.4814L83.9558 91.551Z"
|
|
106
|
-
fill="#FFC107"
|
|
107
|
-
/>
|
|
108
|
-
<path
|
|
109
|
-
d="M80.9022 136.038C79.3477 133.185 77.6044 130.398 75.7168 127.755L82.9452 122.592C85.0438 125.523 86.9758 128.621 88.6969 131.797L80.9022 136.038Z"
|
|
110
|
-
fill="#FB8C00"
|
|
111
|
-
/>
|
|
112
|
-
<defs>
|
|
113
|
-
<radialGradient
|
|
114
|
-
id="paint0_radial_1393_13984"
|
|
115
|
-
cx="0"
|
|
116
|
-
cy="0"
|
|
117
|
-
r="1"
|
|
118
|
-
gradientUnits="userSpaceOnUse"
|
|
119
|
-
gradientTransform="translate(39.8658 33.6699) scale(16.7688 16.7688)"
|
|
120
|
-
>
|
|
121
|
-
<stop offset="0.3755" stopColor="#AF5700" />
|
|
122
|
-
<stop offset="1" stopColor="#8F4700" />
|
|
123
|
-
</radialGradient>
|
|
124
|
-
<radialGradient
|
|
125
|
-
id="paint1_radial_1393_13984"
|
|
126
|
-
cx="0"
|
|
127
|
-
cy="0"
|
|
128
|
-
r="1"
|
|
129
|
-
gradientUnits="userSpaceOnUse"
|
|
130
|
-
gradientTransform="translate(96.315 32.4532) scale(23.5662 23.5662)"
|
|
131
|
-
>
|
|
132
|
-
<stop offset="0.3755" stopColor="#AF5700" />
|
|
133
|
-
<stop offset="1" stopColor="#8F4700" />
|
|
134
|
-
</radialGradient>
|
|
135
|
-
</defs>
|
|
136
|
-
</svg>
|
|
137
|
-
);
|
|
138
|
-
};
|
|
139
|
-
|
|
140
|
-
export default Confetti;
|
package/src/assets/svg/Copy.tsx
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
|
|
3
|
-
const CopyIcon: React.FC<{ height: number; width: number }> = props => {
|
|
4
|
-
return (
|
|
5
|
-
<svg
|
|
6
|
-
width={props.width}
|
|
7
|
-
height={props.height}
|
|
8
|
-
viewBox="0 0 21 20"
|
|
9
|
-
fill="none"
|
|
10
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
11
|
-
>
|
|
12
|
-
<path
|
|
13
|
-
d="M3.24409 2.74412C3.40037 2.58784 3.61233 2.50004 3.83334 2.50004H11.3333C11.5544 2.50004 11.7663 2.58784 11.9226 2.74412C12.0789 2.9004 12.1667 3.11236 12.1667 3.33337V4.16671C12.1667 4.62694 12.5398 5.00004 13 5.00004C13.4602 5.00004 13.8333 4.62694 13.8333 4.16671V3.33337C13.8333 2.67033 13.5699 2.03445 13.1011 1.56561C12.6323 1.09677 11.9964 0.833374 11.3333 0.833374H3.83334C3.1703 0.833374 2.53442 1.09677 2.06558 1.56561C1.59674 2.03445 1.33334 2.67033 1.33334 3.33337V10.8334C1.33334 11.4964 1.59674 12.1323 2.06558 12.6011C2.53442 13.07 3.1703 13.3334 3.83334 13.3334H4.66668C5.12691 13.3334 5.50001 12.9603 5.50001 12.5C5.50001 12.0398 5.12691 11.6667 4.66668 11.6667H3.83334C3.61233 11.6667 3.40037 11.5789 3.24409 11.4226C3.08781 11.2663 3.00001 11.0544 3.00001 10.8334V3.33337C3.00001 3.11236 3.08781 2.9004 3.24409 2.74412Z"
|
|
14
|
-
fill="white"
|
|
15
|
-
/>
|
|
16
|
-
<path
|
|
17
|
-
fillRule="evenodd"
|
|
18
|
-
clipRule="evenodd"
|
|
19
|
-
d="M9.66668 6.66671C8.28596 6.66671 7.16668 7.78599 7.16668 9.16671V16.6667C7.16668 18.0474 8.28596 19.1667 9.66668 19.1667H17.1667C18.5474 19.1667 19.6667 18.0474 19.6667 16.6667V9.16671C19.6667 7.78599 18.5474 6.66671 17.1667 6.66671H9.66668ZM8.83334 9.16671C8.83334 8.70647 9.20644 8.33337 9.66668 8.33337H17.1667C17.6269 8.33337 18 8.70647 18 9.16671V16.6667C18 17.1269 17.6269 17.5 17.1667 17.5H9.66668C9.20644 17.5 8.83334 17.1269 8.83334 16.6667V9.16671Z"
|
|
20
|
-
fill="white"
|
|
21
|
-
/>
|
|
22
|
-
</svg>
|
|
23
|
-
);
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
export default CopyIcon;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
|
|
3
|
-
interface DropdownCheckIconProps {
|
|
4
|
-
className?: string;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
export const DropdownCheckIcon: React.FC<DropdownCheckIconProps> = ({
|
|
8
|
-
className,
|
|
9
|
-
}) => (
|
|
10
|
-
<svg
|
|
11
|
-
width="16"
|
|
12
|
-
height="16"
|
|
13
|
-
viewBox="0 0 16 16"
|
|
14
|
-
fill="none"
|
|
15
|
-
className={className}
|
|
16
|
-
>
|
|
17
|
-
<rect
|
|
18
|
-
x="1.5"
|
|
19
|
-
y="1.5"
|
|
20
|
-
width="13"
|
|
21
|
-
height="13"
|
|
22
|
-
rx="2"
|
|
23
|
-
fill="#000000"
|
|
24
|
-
stroke="#000000"
|
|
25
|
-
strokeWidth="1.5"
|
|
26
|
-
/>
|
|
27
|
-
<path
|
|
28
|
-
d="M4.5 8.5L7 11L11.5 5.5"
|
|
29
|
-
stroke="white"
|
|
30
|
-
strokeWidth="2"
|
|
31
|
-
strokeLinecap="round"
|
|
32
|
-
strokeLinejoin="round"
|
|
33
|
-
/>
|
|
34
|
-
</svg>
|
|
35
|
-
);
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
|
|
3
|
-
interface ErrorIconProps {
|
|
4
|
-
className?: string;
|
|
5
|
-
size?: number;
|
|
6
|
-
color?: string;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export const ErrorIcon: React.FC<ErrorIconProps> = ({
|
|
10
|
-
className,
|
|
11
|
-
size = 20,
|
|
12
|
-
color = '#ef4444',
|
|
13
|
-
}) => (
|
|
14
|
-
<svg
|
|
15
|
-
width={size}
|
|
16
|
-
height={size}
|
|
17
|
-
viewBox="0 0 20 20"
|
|
18
|
-
fill="none"
|
|
19
|
-
className={className}
|
|
20
|
-
>
|
|
21
|
-
<circle cx="10" cy="10" r="9" fill={color} />
|
|
22
|
-
<circle cx="10" cy="14" r="1" fill="white" />
|
|
23
|
-
<path d="M10 5v4" stroke="white" strokeWidth="2" strokeLinecap="round" />
|
|
24
|
-
</svg>
|
|
25
|
-
);
|
|
26
|
-
|
|
27
|
-
export default ErrorIcon;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
|
|
3
|
-
interface RadioIconProps {
|
|
4
|
-
className?: string;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
export const RadioIcon: React.FC<RadioIconProps> = ({ className }) => (
|
|
8
|
-
<svg
|
|
9
|
-
width="16"
|
|
10
|
-
height="16"
|
|
11
|
-
viewBox="0 0 16 16"
|
|
12
|
-
fill="none"
|
|
13
|
-
className={className}
|
|
14
|
-
>
|
|
15
|
-
<circle
|
|
16
|
-
cx="8"
|
|
17
|
-
cy="8"
|
|
18
|
-
r="6.5"
|
|
19
|
-
stroke="#000000"
|
|
20
|
-
strokeWidth="1.5"
|
|
21
|
-
fill="#ffffff"
|
|
22
|
-
/>
|
|
23
|
-
<circle cx="8" cy="8" r="3" fill="#000000" />
|
|
24
|
-
</svg>
|
|
25
|
-
);
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
|
|
3
|
-
interface UncheckedCheckboxIconProps {
|
|
4
|
-
className?: string;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
export const UncheckedCheckboxIcon: React.FC<UncheckedCheckboxIconProps> = ({
|
|
8
|
-
className,
|
|
9
|
-
}) => (
|
|
10
|
-
<svg
|
|
11
|
-
width="16"
|
|
12
|
-
height="16"
|
|
13
|
-
viewBox="0 0 16 16"
|
|
14
|
-
fill="none"
|
|
15
|
-
className={className}
|
|
16
|
-
>
|
|
17
|
-
<rect
|
|
18
|
-
x="1.5"
|
|
19
|
-
y="1.5"
|
|
20
|
-
width="13"
|
|
21
|
-
height="13"
|
|
22
|
-
rx="2"
|
|
23
|
-
stroke="#000000"
|
|
24
|
-
strokeWidth="1.5"
|
|
25
|
-
fill="#ffffff"
|
|
26
|
-
/>
|
|
27
|
-
</svg>
|
|
28
|
-
);
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
|
|
3
|
-
interface UncheckedRadioIconProps {
|
|
4
|
-
className?: string;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
export const UncheckedRadioIcon: React.FC<UncheckedRadioIconProps> = ({
|
|
8
|
-
className,
|
|
9
|
-
}) => (
|
|
10
|
-
<svg
|
|
11
|
-
width="16"
|
|
12
|
-
height="16"
|
|
13
|
-
viewBox="0 0 16 16"
|
|
14
|
-
fill="none"
|
|
15
|
-
className={className}
|
|
16
|
-
>
|
|
17
|
-
<circle
|
|
18
|
-
cx="8"
|
|
19
|
-
cy="8"
|
|
20
|
-
r="6.5"
|
|
21
|
-
stroke="#000000"
|
|
22
|
-
strokeWidth="1.5"
|
|
23
|
-
fill="#ffffff"
|
|
24
|
-
/>
|
|
25
|
-
</svg>
|
|
26
|
-
);
|
package/src/assets/svg/info.tsx
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
|
|
3
|
-
const InfoIcon: React.FC = () => {
|
|
4
|
-
return (
|
|
5
|
-
<svg
|
|
6
|
-
width="8"
|
|
7
|
-
height="8"
|
|
8
|
-
viewBox="0 0 16 16"
|
|
9
|
-
fill="none"
|
|
10
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
11
|
-
>
|
|
12
|
-
<path
|
|
13
|
-
d="M8.00001 7.33333C8.3682 7.33333 8.66667 7.63181 8.66667 8V10.6667C8.66667 11.0349 8.3682 11.3333 8.00001 11.3333C7.63181 11.3333 7.33334 11.0349 7.33334 10.6667V8C7.33334 7.63181 7.63181 7.33333 8.00001 7.33333Z"
|
|
14
|
-
fill="currentColor"
|
|
15
|
-
/>
|
|
16
|
-
<path
|
|
17
|
-
d="M8.00001 6C8.3682 6 8.66667 5.70152 8.66667 5.33333C8.66667 4.96515 8.3682 4.66667 8.00001 4.66667C7.63181 4.66667 7.33334 4.96515 7.33334 5.33333C7.33334 5.70152 7.63181 6 8.00001 6Z"
|
|
18
|
-
fill="currentColor"
|
|
19
|
-
/>
|
|
20
|
-
<path
|
|
21
|
-
fillRule="evenodd"
|
|
22
|
-
clipRule="evenodd"
|
|
23
|
-
d="M0.666672 8C0.666672 3.94991 3.94992 0.666668 8.00001 0.666668C12.0501 0.666668 15.3333 3.94991 15.3333 8C15.3333 12.0501 12.0501 15.3333 8.00001 15.3333C3.94992 15.3333 0.666672 12.0501 0.666672 8ZM8.00001 2C4.6863 2 2.00001 4.68629 2.00001 8C2.00001 11.3137 4.6863 14 8.00001 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8.00001 2Z"
|
|
24
|
-
fill="currentColor"
|
|
25
|
-
/>
|
|
26
|
-
</svg>
|
|
27
|
-
);
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
export default InfoIcon;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M12 5.3335H6.66671C5.93033 5.3335 5.33337 5.93045 5.33337 6.66683V12.0002C5.33337 12.7365 5.93033 13.3335 6.66671 13.3335H12C12.7364 13.3335 13.3334 12.7365 13.3334 12.0002V6.66683C13.3334 5.93045 12.7364 5.3335 12 5.3335Z" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
-
<path d="M9.33325 22.6665V22.6798" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
-
<path d="M25.3333 5.3335H20C19.2636 5.3335 18.6666 5.93045 18.6666 6.66683V12.0002C18.6666 12.7365 19.2636 13.3335 20 13.3335H25.3333C26.0697 13.3335 26.6666 12.7365 26.6666 12.0002V6.66683C26.6666 5.93045 26.0697 5.3335 25.3333 5.3335Z" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
-
<path d="M9.33325 9.3335V9.34683" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
6
|
-
<path d="M12 18.6665H6.66671C5.93033 18.6665 5.33337 19.2635 5.33337 19.9998V25.3332C5.33337 26.0696 5.93033 26.6665 6.66671 26.6665H12C12.7364 26.6665 13.3334 26.0696 13.3334 25.3332V19.9998C13.3334 19.2635 12.7364 18.6665 12 18.6665Z" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
7
|
-
<path d="M22.6666 9.3335V9.34683" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
8
|
-
<path d="M18.6666 18.6665H22.6666" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
9
|
-
<path d="M26.6666 18.6665V18.6798" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
10
|
-
<path d="M18.6666 18.6665V22.6665" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
11
|
-
<path d="M18.6666 26.6665H22.6666" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
12
|
-
<path d="M22.6666 22.6665H26.6666" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
13
|
-
<path d="M26.6666 22.6665V26.6665" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
14
|
-
</svg>
|
package/src/bootstrap.tsx
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import ReactDOM from 'react-dom/client';
|
|
3
|
-
import DirectReward from 'widgets/DirectReward';
|
|
4
|
-
import { directRewardConfig } from 'widgets/DirectReward/config';
|
|
5
|
-
|
|
6
|
-
ReactDOM.createRoot(document.getElementById('root')).render(
|
|
7
|
-
<DirectReward {...directRewardConfig} />,
|
|
8
|
-
);
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import Style from './style.module.css';
|
|
3
|
-
import PreviewStyle from './preview.module.css';
|
|
4
|
-
|
|
5
|
-
const CtaCard: React.FC<{
|
|
6
|
-
Icon: React.FC;
|
|
7
|
-
textStyle?: React.CSSProperties;
|
|
8
|
-
text: string;
|
|
9
|
-
onClick: () => void;
|
|
10
|
-
preview?: boolean;
|
|
11
|
-
isMobile?: boolean;
|
|
12
|
-
id?: string;
|
|
13
|
-
}> = ({ Icon, text, onClick, preview, isMobile, textStyle, id }) => {
|
|
14
|
-
let currentStyle;
|
|
15
|
-
let fontSize;
|
|
16
|
-
if (preview) {
|
|
17
|
-
currentStyle = PreviewStyle;
|
|
18
|
-
if (isMobile) {
|
|
19
|
-
fontSize = 8;
|
|
20
|
-
} else {
|
|
21
|
-
fontSize = 5;
|
|
22
|
-
}
|
|
23
|
-
} else {
|
|
24
|
-
currentStyle = Style;
|
|
25
|
-
fontSize = 12;
|
|
26
|
-
}
|
|
27
|
-
return (
|
|
28
|
-
<button className={currentStyle.card} onClick={() => onClick()} id={id}>
|
|
29
|
-
<Icon />
|
|
30
|
-
<p style={{ ...textStyle, fontSize }} className={currentStyle.cardText}>
|
|
31
|
-
{text}
|
|
32
|
-
</p>
|
|
33
|
-
</button>
|
|
34
|
-
);
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
export default CtaCard;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700&display=swap');
|
|
2
|
-
|
|
3
|
-
.card {
|
|
4
|
-
border-radius: 4px;
|
|
5
|
-
background-color: white;
|
|
6
|
-
width: 100%;
|
|
7
|
-
z-index: 10;
|
|
8
|
-
pointer-events: none;
|
|
9
|
-
border: 1px solid #e0e0e0;
|
|
10
|
-
padding: 3px;
|
|
11
|
-
display: flex;
|
|
12
|
-
flex-direction: row;
|
|
13
|
-
align-items: center;
|
|
14
|
-
margin-bottom: 6px;
|
|
15
|
-
gap: 7px;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.cardText {
|
|
19
|
-
font-family: 'Inter';
|
|
20
|
-
text-align: start;
|
|
21
|
-
font-style: normal;
|
|
22
|
-
margin-bottom: 0px;
|
|
23
|
-
font-weight: 500;
|
|
24
|
-
font-size: 5px;
|
|
25
|
-
line-height: 5px;
|
|
26
|
-
font-feature-settings:
|
|
27
|
-
'tnum' on,
|
|
28
|
-
'lnum' on,
|
|
29
|
-
'case' on,
|
|
30
|
-
'ss04' on;
|
|
31
|
-
color: #616161;
|
|
32
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700&display=swap');
|
|
2
|
-
|
|
3
|
-
.card {
|
|
4
|
-
border-radius: 4px;
|
|
5
|
-
background-color: white;
|
|
6
|
-
width: 100%;
|
|
7
|
-
padding: 8px;
|
|
8
|
-
z-index: 10;
|
|
9
|
-
border: 1px solid #e0e0e0;
|
|
10
|
-
display: flex;
|
|
11
|
-
flex-direction: row;
|
|
12
|
-
align-items: center;
|
|
13
|
-
margin-bottom: 8px;
|
|
14
|
-
gap: 8px;
|
|
15
|
-
cursor: pointer;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.cardText {
|
|
19
|
-
font-family: 'Inter';
|
|
20
|
-
font-style: normal;
|
|
21
|
-
font-weight: 500;
|
|
22
|
-
font-size: 16px;
|
|
23
|
-
line-height: 20px;
|
|
24
|
-
font-feature-settings:
|
|
25
|
-
'tnum' on,
|
|
26
|
-
'lnum' on,
|
|
27
|
-
'case' on,
|
|
28
|
-
'ss04' on;
|
|
29
|
-
color: #616161;
|
|
30
|
-
margin: 0 !important;
|
|
31
|
-
padding: 0 !important;
|
|
32
|
-
}
|