@cuemath/leap 2.9.4 → 2.9.5-j1
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/assets/illustrations/illustrations.js +3 -0
- package/dist/assets/illustrations/illustrations.js.map +1 -1
- package/dist/assets/line-icons/icons/apple-icon.js +48 -0
- package/dist/assets/line-icons/icons/apple-icon.js.map +1 -0
- package/dist/assets/line-icons/icons/google-icon.js +42 -0
- package/dist/assets/line-icons/icons/google-icon.js.map +1 -0
- package/dist/assets/lottie/lottie.js +11 -1
- package/dist/assets/lottie/lottie.js.map +1 -1
- package/dist/features/auth/account-selector/account-selector-styled.js +26 -0
- package/dist/features/auth/account-selector/account-selector-styled.js.map +1 -0
- package/dist/features/auth/account-selector/account-selector.js +75 -0
- package/dist/features/auth/account-selector/account-selector.js.map +1 -0
- package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styles.js +12 -0
- package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styles.js.map +1 -0
- package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +11 -0
- package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +1 -0
- package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js +17 -0
- package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js.map +1 -0
- package/dist/features/auth/comps/overlay-loader/overlay-loader-styled.js +29 -0
- package/dist/features/auth/comps/overlay-loader/overlay-loader-styled.js.map +1 -0
- package/dist/features/auth/comps/overlay-loader/overlay-loader.js +8 -0
- package/dist/features/auth/comps/overlay-loader/overlay-loader.js.map +1 -0
- package/dist/features/auth/comps/resend-otp/otp-timer/otp-timer.js +28 -0
- package/dist/features/auth/comps/resend-otp/otp-timer/otp-timer.js.map +1 -0
- package/dist/features/auth/comps/resend-otp/resend-otp.js +38 -0
- package/dist/features/auth/comps/resend-otp/resend-otp.js.map +1 -0
- package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js +48 -0
- package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js.map +1 -0
- package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js +115 -0
- package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js.map +1 -0
- package/dist/features/auth/signup/claim-user-account/claim-user-account-styled.js +16 -0
- package/dist/features/auth/signup/claim-user-account/claim-user-account-styled.js.map +1 -0
- package/dist/features/auth/signup/claim-user-account/claim-user-account.js +71 -0
- package/dist/features/auth/signup/claim-user-account/claim-user-account.js.map +1 -0
- package/dist/features/auth/signup/custom-input/custom-input-styled.js +38 -0
- package/dist/features/auth/signup/custom-input/custom-input-styled.js.map +1 -0
- package/dist/features/auth/signup/custom-input/date-picker-input/date-picker-input-styled.js +79 -0
- package/dist/features/auth/signup/custom-input/date-picker-input/date-picker-input-styled.js.map +1 -0
- package/dist/features/auth/signup/custom-input/date-picker-input/date-picker-input.js +54 -0
- package/dist/features/auth/signup/custom-input/date-picker-input/date-picker-input.js.map +1 -0
- package/dist/features/auth/signup/custom-input/email-input/email-input.js +30 -0
- package/dist/features/auth/signup/custom-input/email-input/email-input.js.map +1 -0
- package/dist/features/auth/signup/custom-input/grade-input/grade-input-styled.js +31 -0
- package/dist/features/auth/signup/custom-input/grade-input/grade-input-styled.js.map +1 -0
- package/dist/features/auth/signup/custom-input/grade-input/grade-input.js +30 -0
- package/dist/features/auth/signup/custom-input/grade-input/grade-input.js.map +1 -0
- package/dist/features/auth/signup/custom-input/input-wrapper/input-wrapper-styled.js +19 -0
- package/dist/features/auth/signup/custom-input/input-wrapper/input-wrapper-styled.js.map +1 -0
- package/dist/features/auth/signup/custom-input/input-wrapper/input-wrapper.js +33 -0
- package/dist/features/auth/signup/custom-input/input-wrapper/input-wrapper.js.map +1 -0
- package/dist/features/auth/signup/custom-input/otp-input/otp-input.js +41 -0
- package/dist/features/auth/signup/custom-input/otp-input/otp-input.js.map +1 -0
- package/dist/features/auth/signup/custom-input/phone-input/country-selector/country-code-button.js +33 -0
- package/dist/features/auth/signup/custom-input/phone-input/country-selector/country-code-button.js.map +1 -0
- package/dist/features/auth/signup/custom-input/phone-input/country-selector/country-list-menu.js +28 -0
- package/dist/features/auth/signup/custom-input/phone-input/country-selector/country-list-menu.js.map +1 -0
- package/dist/features/auth/signup/custom-input/phone-input/phone-input-styled.js +29 -0
- package/dist/features/auth/signup/custom-input/phone-input/phone-input-styled.js.map +1 -0
- package/dist/features/auth/signup/custom-input/phone-input/phone-input.js +64 -0
- package/dist/features/auth/signup/custom-input/phone-input/phone-input.js.map +1 -0
- package/dist/features/auth/signup/custom-input/student-password/student-password.js +53 -0
- package/dist/features/auth/signup/custom-input/student-password/student-password.js.map +1 -0
- package/dist/features/auth/signup/custom-input/student-username/student-username.js +38 -0
- package/dist/features/auth/signup/custom-input/student-username/student-username.js.map +1 -0
- package/dist/features/auth/signup/signup-constants.js +1022 -0
- package/dist/features/auth/signup/signup-constants.js.map +1 -0
- package/dist/features/auth/signup/signup-methods/signup-methods.js +68 -0
- package/dist/features/auth/signup/signup-methods/signup-methods.js.map +1 -0
- package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card-styled.js +19 -0
- package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card-styled.js.map +1 -0
- package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card.js +61 -0
- package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card.js.map +1 -0
- package/dist/features/auth/signup/user-type-selector/user-type-selector-styled.js +24 -0
- package/dist/features/auth/signup/user-type-selector/user-type-selector-styled.js.map +1 -0
- package/dist/features/auth/signup/user-type-selector/user-type-selector.js +87 -0
- package/dist/features/auth/signup/user-type-selector/user-type-selector.js.map +1 -0
- package/dist/features/ui/context-menu/context-menu.js +20 -18
- package/dist/features/ui/context-menu/context-menu.js.map +1 -1
- package/dist/features/ui/image/image.js +12 -12
- package/dist/features/ui/image/image.js.map +1 -1
- package/dist/features/ui/lottie-animation/helper.js +6 -5
- package/dist/features/ui/lottie-animation/helper.js.map +1 -1
- package/dist/features/ui/lottie-animation/lottie-animation.js +37 -28
- package/dist/features/ui/lottie-animation/lottie-animation.js.map +1 -1
- package/dist/features/ui/text/text.js +29 -27
- package/dist/features/ui/text/text.js.map +1 -1
- package/dist/index.d.ts +177 -1
- package/dist/index.js +314 -280
- package/dist/index.js.map +1 -1
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +332 -0
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +1 -0
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +370 -0
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +1 -0
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +252 -0
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js.map +1 -0
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +24 -0
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js.map +1 -0
- package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +192 -0
- package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +1 -0
- package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +19 -0
- package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +1 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +129 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +1 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +129 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +1 -0
- package/dist/node_modules/clsx/dist/clsx.js +18 -0
- package/dist/node_modules/clsx/dist/clsx.js.map +1 -0
- package/dist/node_modules/date-fns/subYears.js +9 -0
- package/dist/node_modules/date-fns/subYears.js.map +1 -0
- package/dist/node_modules/decode-uri-component/index.js.map +1 -0
- package/dist/node_modules/query-string/base.js +1 -1
- package/dist/node_modules/react-datepicker/dist/index.es.js +2700 -0
- package/dist/node_modules/react-datepicker/dist/index.es.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/addLeadingZeros.js +8 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/addLeadingZeros.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/defaultOptions.js +8 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/defaultOptions.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/formatters.js +518 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/formatters.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/lightFormatters.js +60 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/lightFormatters.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/longFormatters.js +53 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/longFormatters.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +19 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/normalizeDates.js +12 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/normalizeDates.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/protectedTokens.js +21 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/protectedTokens.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/addDays.js +11 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/addDays.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/addHours.js +10 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/addHours.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/addMilliseconds.js +10 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/addMilliseconds.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/addMinutes.js +11 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/addMinutes.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/addMonths.js +21 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/addMonths.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/addQuarters.js +9 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/addQuarters.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/addSeconds.js +9 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/addSeconds.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/addWeeks.js +9 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/addWeeks.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/addYears.js +9 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/addYears.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/constants.js +10 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/constants.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/constructFrom.js +9 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/constructFrom.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarDays.js +17 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarDays.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarMonths.js +14 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarMonths.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarQuarters.js +15 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarQuarters.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarYears.js +14 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarYears.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInDays.js +23 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInDays.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfDay.js +10 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfDay.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfMonth.js +10 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfMonth.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfWeek.js +12 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfWeek.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfYear.js +10 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfYear.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/format.js +60 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/format.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getDate.js +9 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getDate.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getDay.js +9 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getDay.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getDayOfYear.js +12 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getDayOfYear.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getDaysInMonth.js +11 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getDaysInMonth.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getDefaultOptions.js +9 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getDefaultOptions.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getHours.js +9 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getHours.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getISODay.js +10 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getISODay.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeek.js +13 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeek.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeekYear.js +16 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeekYear.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getMinutes.js +9 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getMinutes.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getMonth.js +9 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getMonth.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getQuarter.js +10 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getQuarter.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getSeconds.js +9 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getSeconds.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getTime.js +9 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getTime.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeek.js +13 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeek.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeekYear.js +18 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeekYear.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getYear.js +9 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getYear.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isAfter.js +9 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isAfter.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isBefore.js +9 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isBefore.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isDate.js +8 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isDate.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isEqual.js +9 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isEqual.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameDay.js +15 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameDay.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameMonth.js +14 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameMonth.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameQuarter.js +15 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameQuarter.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameYear.js +14 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameYear.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isValid.js +10 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isValid.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isWithinInterval.js +13 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isWithinInterval.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +10 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildFormatLongFn.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +19 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildLocalizeFn.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchFn.js +32 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchFn.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +16 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +71 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatDistance.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatLong.js +34 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatLong.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +12 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatRelative.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/localize.js +156 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/localize.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/match.js +111 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/match.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US.js +22 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/max.js +15 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/max.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/min.js +15 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/min.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Parser.js +23 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Parser.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Setter.js +42 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Setter.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/constants.js +50 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/constants.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +50 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +50 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DateParser.js +62 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DateParser.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +52 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayParser.js +46 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayParser.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +50 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/EraParser.js +31 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/EraParser.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +22 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +23 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +33 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +33 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +34 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +34 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +100 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +49 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +49 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +50 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +41 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +75 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +49 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +70 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +33 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +72 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MonthParser.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +71 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +33 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/SecondParser.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +75 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +72 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +71 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +23 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +23 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/YearParser.js +50 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/YearParser.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers.js +68 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/utils.js +104 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/utils.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse.js +88 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parseISO.js +123 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parseISO.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setDay.js +13 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setDay.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setHours.js +10 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setHours.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setISODay.js +12 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setISODay.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setISOWeek.js +11 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setISOWeek.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setMinutes.js +10 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setMinutes.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setMonth.js +14 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setMonth.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setQuarter.js +11 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setQuarter.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setSeconds.js +10 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setSeconds.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setWeek.js +11 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setWeek.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setYear.js +11 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setYear.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfDay.js +10 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfDay.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeek.js +9 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeek.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeekYear.js +12 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeekYear.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfMonth.js +10 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfMonth.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfQuarter.js +10 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfQuarter.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeek.js +12 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeek.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeekYear.js +14 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeekYear.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfYear.js +10 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfYear.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/subDays.js +9 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/subDays.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/subMonths.js +9 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/subMonths.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/subQuarters.js +9 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/subQuarters.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/subWeeks.js +9 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/subWeeks.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/subYears.js +9 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/subYears.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/toDate.js +9 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/toDate.js.map +1 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/transpose.js +19 -0
- package/dist/node_modules/react-datepicker/node_modules/date-fns/transpose.js.map +1 -0
- package/dist/node_modules/uuid/dist/esm-browser/native.js +7 -0
- package/dist/node_modules/uuid/dist/esm-browser/native.js.map +1 -0
- package/dist/node_modules/uuid/dist/esm-browser/rng.js +3 -2
- package/dist/node_modules/uuid/dist/esm-browser/rng.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js +6 -10
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/v4.js +12 -9
- package/dist/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
- package/dist/static/avatar-selected.860ee923.json +1 -0
- package/dist/static/circle-cuemath-logo-white.e9fafb91.svg +1 -0
- package/dist/static/cuemath-app-qr-code.ba6cc09b.svg +1 -0
- package/dist/static/cuemath-app-qr-code.d0912fc7.png +0 -0
- package/dist/static/dob.9ce3c15b.json +1 -0
- package/dist/static/grade.b3730524.json +1 -0
- package/dist/static/key.d6846476.json +1 -0
- package/dist/static/mail.c30e8708.json +1 -0
- package/dist/static/otp.2d08f874.json +1 -0
- package/dist/static/otp.a3029760.json +1 -0
- package/dist/static/parent-avatar.772d53e0.json +1 -0
- package/dist/static/phone-number.0be312ea.json +1 -0
- package/dist/static/phone-number.84f55562.json +1 -0
- package/dist/static/student-avatar.524226bd.json +1 -0
- package/dist/static/user-type-selector-grid-bg.3c9c8ad6.svg +1 -0
- package/dist/static/user-type-selector-grid-bg.3ce8142d.svg +1 -0
- package/dist/static/user-type-selector-grid-bg.aad0b059.svg +1 -0
- package/dist/static/username.9e034d51.json +1 -0
- package/package.json +5 -3
- package/dist/node_modules/query-string/node_modules/decode-uri-component/index.js.map +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/regex.js +0 -5
- package/dist/node_modules/uuid/dist/esm-browser/regex.js.map +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/validate.js +0 -8
- package/dist/node_modules/uuid/dist/esm-browser/validate.js.map +0 -1
- /package/dist/node_modules/{query-string/node_modules/decode-uri-component → decode-uri-component}/index.js +0 -0
@@ -1,51 +1,60 @@
|
|
1
|
-
import { jsx as
|
2
|
-
import
|
3
|
-
import { memo as
|
1
|
+
import { jsx as E } from "react/jsx-runtime";
|
2
|
+
import g from "lottie-web";
|
3
|
+
import { memo as w, forwardRef as y, useRef as u, useImperativeHandle as b, useEffect as A } from "react";
|
4
4
|
import I from "../layout/flex-view.js";
|
5
5
|
import { fetchLottie as $ } from "./helper.js";
|
6
|
-
const x =
|
6
|
+
const x = y((v, p) => {
|
7
7
|
const {
|
8
|
-
src:
|
9
|
-
width:
|
10
|
-
height:
|
11
|
-
settings:
|
12
|
-
eventListener:
|
13
|
-
onRender:
|
14
|
-
animateOnIntersect:
|
15
|
-
} =
|
16
|
-
return
|
17
|
-
|
8
|
+
src: m,
|
9
|
+
width: L = "100%",
|
10
|
+
height: h = "100%",
|
11
|
+
settings: l,
|
12
|
+
eventListener: n,
|
13
|
+
onRender: a,
|
14
|
+
animateOnIntersect: c
|
15
|
+
} = v, o = u(null), r = u(null), s = u(null);
|
16
|
+
return b(
|
17
|
+
p,
|
18
18
|
() => ({
|
19
|
-
playSegments: (
|
20
|
-
|
19
|
+
playSegments: (i, e) => {
|
20
|
+
var t;
|
21
|
+
return (t = r.current) == null ? void 0 : t.playSegments(i, e);
|
22
|
+
},
|
23
|
+
addEventListener: (i, e) => {
|
24
|
+
var t;
|
25
|
+
return (t = r.current) == null ? void 0 : t.addEventListener(i, e);
|
26
|
+
},
|
27
|
+
removeEventListener: (i, e) => {
|
28
|
+
var t;
|
29
|
+
return (t = r.current) == null ? void 0 : t.removeEventListener(i, e);
|
21
30
|
}
|
22
31
|
}),
|
23
32
|
[]
|
24
|
-
),
|
33
|
+
), A(() => ((async () => {
|
25
34
|
try {
|
26
|
-
const e = await $(
|
27
|
-
|
28
|
-
container:
|
35
|
+
const e = await $(m);
|
36
|
+
o.current && (r.current = g.loadAnimation({
|
37
|
+
container: o.current,
|
29
38
|
animationData: e,
|
30
39
|
renderer: "svg",
|
31
40
|
loop: !0,
|
32
41
|
autoplay: !0,
|
33
|
-
...
|
34
|
-
}),
|
35
|
-
([
|
42
|
+
...l
|
43
|
+
}), c && (s.current = new IntersectionObserver(
|
44
|
+
([t]) => {
|
36
45
|
var f, d;
|
37
|
-
|
46
|
+
t && t.isIntersecting ? (f = r.current) == null || f.play() : (d = r.current) == null || d.pause();
|
38
47
|
},
|
39
48
|
{ threshold: 0 }
|
40
|
-
),
|
49
|
+
), o.current && s.current.observe(o.current)), a == null || a(), n && r.current.addEventListener(n.name, n.callback));
|
41
50
|
} catch (e) {
|
42
51
|
throw Error(`Error loading Lottie animation: ${e}`);
|
43
52
|
}
|
44
53
|
})(), () => {
|
45
54
|
var e;
|
46
|
-
|
47
|
-
}), [
|
48
|
-
}), F =
|
55
|
+
r.current && (n && r.current.removeEventListener(n.name, n.callback), c && ((e = s.current) == null || e.disconnect()), r.current.destroy());
|
56
|
+
}), [m, n, a, c, l]), /* @__PURE__ */ E(I, { ref: o, $width: L, $height: h });
|
57
|
+
}), F = w(x);
|
49
58
|
export {
|
50
59
|
F as default
|
51
60
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"lottie-animation.js","sources":["../../../../src/features/ui/lottie-animation/lottie-animation.tsx"],"sourcesContent":["import type { ILottieAnimationProps, ILottieAnimationRef } from './types';\nimport type {
|
1
|
+
{"version":3,"file":"lottie-animation.js","sources":["../../../../src/features/ui/lottie-animation/lottie-animation.tsx"],"sourcesContent":["import type { ILottieAnimationProps, ILottieAnimationRef } from './types';\nimport type { AnimationEventName, AnimationItem } from 'lottie-web';\n\nimport lottie from 'lottie-web';\nimport { forwardRef, memo, useEffect, useImperativeHandle, useRef } from 'react';\n\nimport FlexView from '../layout/flex-view';\nimport { fetchLottie } from './helper';\n\nconst LottieAnimation = forwardRef<ILottieAnimationRef, ILottieAnimationProps>((props, ref) => {\n const {\n src,\n width = '100%',\n height = '100%',\n settings,\n eventListener,\n onRender,\n animateOnIntersect,\n } = props;\n\n const container = useRef<HTMLDivElement>(null);\n const animationInstance = useRef<AnimationItem | null>(null);\n const intersectionObserver = useRef<IntersectionObserver | null>(null);\n\n useImperativeHandle(\n ref,\n () => ({\n playSegments: (segments: [number, number], forceFlag?: boolean) =>\n animationInstance.current?.playSegments(segments, forceFlag),\n addEventListener: (eventName: string, callback: () => void) =>\n animationInstance.current?.addEventListener(eventName as AnimationEventName, callback),\n removeEventListener: (eventName: string, callback: () => void) =>\n animationInstance.current?.removeEventListener(eventName as AnimationEventName, callback),\n }),\n [],\n );\n\n useEffect(() => {\n const loadAnimation = async () => {\n try {\n const animationData = await fetchLottie(src);\n\n if (container.current) {\n animationInstance.current = lottie.loadAnimation({\n container: container.current,\n animationData,\n renderer: 'svg',\n loop: true,\n autoplay: true,\n ...settings,\n });\n\n if (animateOnIntersect) {\n intersectionObserver.current = new IntersectionObserver(\n ([entry]) => {\n if (entry && entry.isIntersecting) {\n animationInstance.current?.play();\n } else {\n animationInstance.current?.pause();\n }\n },\n { threshold: 0 },\n );\n\n if (container.current) {\n intersectionObserver.current.observe(container.current);\n }\n }\n\n onRender?.();\n if (eventListener) {\n animationInstance.current.addEventListener(eventListener.name, eventListener.callback);\n }\n }\n } catch (error) {\n throw Error(`Error loading Lottie animation: ${error}`);\n }\n };\n\n loadAnimation();\n\n return () => {\n if (animationInstance.current) {\n if (eventListener) {\n animationInstance.current.removeEventListener(eventListener.name, eventListener.callback);\n }\n\n if (animateOnIntersect) {\n intersectionObserver.current?.disconnect();\n }\n animationInstance.current.destroy();\n }\n };\n }, [src, eventListener, onRender, animateOnIntersect, settings]);\n\n return <FlexView ref={container} $width={width} $height={height} />;\n});\n\nexport default memo(LottieAnimation);\n"],"names":["LottieAnimation","forwardRef","props","ref","src","width","height","settings","eventListener","onRender","animateOnIntersect","container","useRef","animationInstance","intersectionObserver","useImperativeHandle","segments","forceFlag","_a","eventName","callback","useEffect","animationData","fetchLottie","lottie","entry","_b","error","FlexView","LottieAnimation$1","memo"],"mappings":";;;;;AASA,MAAMA,IAAkBC,EAAuD,CAACC,GAAOC,MAAQ;AACvF,QAAA;AAAA,IACJ,KAAAC;AAAA,IACA,OAAAC,IAAQ;AAAA,IACR,QAAAC,IAAS;AAAA,IACT,UAAAC;AAAA,IACA,eAAAC;AAAA,IACA,UAAAC;AAAA,IACA,oBAAAC;AAAA,EACE,IAAAR,GAEES,IAAYC,EAAuB,IAAI,GACvCC,IAAoBD,EAA6B,IAAI,GACrDE,IAAuBF,EAAoC,IAAI;AAErE,SAAAG;AAAA,IACEZ;AAAA,IACA,OAAO;AAAA,MACL,cAAc,CAACa,GAA4BC,MACzC;;AAAA,gBAAAC,IAAAL,EAAkB,YAAlB,gBAAAK,EAA2B,aAAaF,GAAUC;AAAA;AAAA,MACpD,kBAAkB,CAACE,GAAmBC,MACpC;;AAAA,gBAAAF,IAAAL,EAAkB,YAAlB,gBAAAK,EAA2B,iBAAiBC,GAAiCC;AAAA;AAAA,MAC/E,qBAAqB,CAACD,GAAmBC,MACvC;;AAAA,gBAAAF,IAAAL,EAAkB,YAAlB,gBAAAK,EAA2B,oBAAoBC,GAAiCC;AAAA;AAAA,IAAQ;AAAA,IAE5F,CAAC;AAAA,EAAA,GAGHC,EAAU,QACc,YAAY;AAC5B,QAAA;AACI,YAAAC,IAAgB,MAAMC,EAAYnB,CAAG;AAE3C,MAAIO,EAAU,YACME,EAAA,UAAUW,EAAO,cAAc;AAAA,QAC/C,WAAWb,EAAU;AAAA,QACrB,eAAAW;AAAA,QACA,UAAU;AAAA,QACV,MAAM;AAAA,QACN,UAAU;AAAA,QACV,GAAGf;AAAA,MAAA,CACJ,GAEGG,MACFI,EAAqB,UAAU,IAAI;AAAA,QACjC,CAAC,CAACW,CAAK,MAAM;;AACP,UAAAA,KAASA,EAAM,kBACjBP,IAAAL,EAAkB,YAAlB,QAAAK,EAA2B,UAE3BQ,IAAAb,EAAkB,YAAlB,QAAAa,EAA2B;AAAA,QAE/B;AAAA,QACA,EAAE,WAAW,EAAE;AAAA,MAAA,GAGbf,EAAU,WACSG,EAAA,QAAQ,QAAQH,EAAU,OAAO,IAI/CF,KAAA,QAAAA,KACPD,KACFK,EAAkB,QAAQ,iBAAiBL,EAAc,MAAMA,EAAc,QAAQ;AAAA,aAGlFmB,GAAO;AACR,YAAA,MAAM,mCAAmCA,CAAK,EAAE;AAAA,IACxD;AAAA,EAAA,MAKK,MAAM;;AACX,IAAId,EAAkB,YAChBL,KACFK,EAAkB,QAAQ,oBAAoBL,EAAc,MAAMA,EAAc,QAAQ,GAGtFE,OACFQ,IAAAJ,EAAqB,YAArB,QAAAI,EAA8B,eAEhCL,EAAkB,QAAQ;EAC5B,IAED,CAACT,GAAKI,GAAeC,GAAUC,GAAoBH,CAAQ,CAAC,qBAEvDqB,GAAS,EAAA,KAAKjB,GAAW,QAAQN,GAAO,SAASC,EAAQ,CAAA;AACnE,CAAC,GAEcuB,IAAAC,EAAK9B,CAAe;"}
|
@@ -1,48 +1,50 @@
|
|
1
|
-
import
|
2
|
-
const x =
|
1
|
+
import k from "styled-components";
|
2
|
+
const x = k.div(
|
3
3
|
({
|
4
|
-
theme:
|
5
|
-
$renderAs:
|
4
|
+
theme: f,
|
5
|
+
$renderAs: c,
|
6
6
|
$color: n,
|
7
|
-
$align:
|
7
|
+
$align: y = "left",
|
8
8
|
$width: t,
|
9
9
|
$widthX: o,
|
10
10
|
$marginBottom: e,
|
11
11
|
$marginBottomX: i,
|
12
12
|
$alignSelf: l,
|
13
|
-
$opacity:
|
14
|
-
$inline:
|
15
|
-
$textDecoration: p
|
13
|
+
$opacity: u = 1,
|
14
|
+
$inline: m,
|
15
|
+
$textDecoration: p,
|
16
|
+
$whiteSpace: $
|
16
17
|
}) => {
|
17
|
-
const { text:
|
18
|
-
fontFamily:
|
19
|
-
fontSize:
|
20
|
-
lineHeight:
|
21
|
-
letterSpacing:
|
22
|
-
textTransform:
|
23
|
-
} =
|
18
|
+
const { text: b, colors: r, layout: a } = f, {
|
19
|
+
fontFamily: g,
|
20
|
+
fontSize: d,
|
21
|
+
lineHeight: T,
|
22
|
+
letterSpacing: s,
|
23
|
+
textTransform: h = "none"
|
24
|
+
} = b[c];
|
24
25
|
return `
|
25
|
-
display: ${
|
26
|
-
font-family: ${
|
27
|
-
font-size: ${
|
28
|
-
text-align: ${
|
29
|
-
line-height: ${
|
30
|
-
text-transform: ${
|
31
|
-
${typeof
|
26
|
+
display: ${m ? "inline-block" : "block"};
|
27
|
+
font-family: ${g};
|
28
|
+
font-size: ${d}px;
|
29
|
+
text-align: ${y};
|
30
|
+
line-height: ${T}px;
|
31
|
+
text-transform: ${h};
|
32
|
+
${typeof s == "number" ? `letter-spacing: ${s}px;` : ""}
|
32
33
|
color: ${n ? r[n] : r.BLACK};
|
33
|
-
opacity: ${
|
34
|
+
opacity: ${u};
|
34
35
|
width: ${t ? `${t}` : "auto"}${typeof t == "number" ? "px" : ""};
|
35
|
-
${o ? `width: ${o *
|
36
|
+
${o ? `width: ${o * a.gutter}px;` : ""}
|
36
37
|
margin-bottom: ${e ? `${e}` : "initial"}${typeof e == "number" ? "px" : ""};
|
37
|
-
${i ? `margin-bottom: ${i *
|
38
|
+
${i ? `margin-bottom: ${i * a.gutter}px;` : ""}
|
38
39
|
${l ? `align-self: ${l};` : ""}
|
39
40
|
${p ? `text-decoration: ${p};` : ""}
|
41
|
+
${$ ? `white-space: ${$};` : ""}
|
40
42
|
`;
|
41
43
|
}
|
42
44
|
);
|
43
45
|
x.displayName = "Text";
|
44
|
-
const
|
46
|
+
const v = x;
|
45
47
|
export {
|
46
|
-
|
48
|
+
v as default
|
47
49
|
};
|
48
50
|
//# sourceMappingURL=text.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"text.js","sources":["../../../../src/features/ui/text/text.tsx"],"sourcesContent":["import type { TColorNames, TTextVariants } from '../types';\n\nimport styled from 'styled-components';\n\nexport interface TextProps {\n $renderAs: TTextVariants;\n $color?: TColorNames;\n $align?: 'auto' | 'left' | 'right' | 'center' | 'justify';\n $alignSelf?: 'auto' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch';\n $opacity?: number | undefined;\n $width?: number | string;\n $widthX?: number;\n $marginBottom?: number;\n $marginBottomX?: number;\n $inline?: boolean;\n $textDecoration?: string;\n}\n\n/**\n * @param $renderAs - The text variant to render as (ah1-ah4, ab1-ab3, ac1-ac4, ub1-ub3), anything else is deprecated\n */\nconst Text = styled.div<TextProps>(\n ({\n theme,\n $renderAs,\n $color,\n $align = 'left',\n $width,\n $widthX,\n $marginBottom,\n $marginBottomX,\n $alignSelf,\n $opacity = 1,\n $inline,\n $textDecoration,\n }) => {\n const { text, colors, layout } = theme;\n const {\n fontFamily,\n fontSize,\n lineHeight,\n letterSpacing,\n textTransform = 'none',\n } = text[$renderAs];\n\n return `\n display: ${$inline ? 'inline-block' : 'block'};\n font-family: ${fontFamily};\n font-size: ${fontSize}px;\n text-align: ${$align};\n line-height: ${lineHeight}px;\n text-transform: ${textTransform};\n ${typeof letterSpacing === 'number' ? `letter-spacing: ${letterSpacing}px;` : ''}\n color: ${$color ? colors[$color] : colors.BLACK};\n opacity: ${$opacity};\n width: ${$width ? `${$width}` : 'auto'}${typeof $width === 'number' ? 'px' : ''};\n ${$widthX ? `width: ${$widthX * layout.gutter}px;` : ''}\n margin-bottom: ${$marginBottom ? `${$marginBottom}` : 'initial'}${\n typeof $marginBottom === 'number' ? 'px' : ''\n };\n ${$marginBottomX ? `margin-bottom: ${$marginBottomX * layout.gutter}px;` : ''}\n ${$alignSelf ? `align-self: ${$alignSelf};` : ''}\n ${$textDecoration ? `text-decoration: ${$textDecoration};` : ''}\n `;\n },\n);\n\nText.displayName = 'Text';\n\nexport default Text;\n"],"names":["Text","styled","theme","$renderAs","$color","$align","$width","$widthX","$marginBottom","$marginBottomX","$alignSelf","$opacity","$inline","$textDecoration","text","colors","layout","fontFamily","fontSize","lineHeight","letterSpacing","textTransform","Text$1"],"mappings":";
|
1
|
+
{"version":3,"file":"text.js","sources":["../../../../src/features/ui/text/text.tsx"],"sourcesContent":["import type { TColorNames, TTextVariants } from '../types';\n\nimport styled from 'styled-components';\n\nexport interface TextProps {\n $renderAs: TTextVariants;\n $color?: TColorNames;\n $align?: 'auto' | 'left' | 'right' | 'center' | 'justify';\n $alignSelf?: 'auto' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch';\n $opacity?: number | undefined;\n $width?: number | string;\n $widthX?: number;\n $marginBottom?: number;\n $marginBottomX?: number;\n $inline?: boolean;\n $textDecoration?: string;\n $whiteSpace?: 'pre-line' | 'normal' | 'pre-wrap' | 'no-wrap' | 'pre' | 'break-spaces';\n}\n\n/**\n * @param $renderAs - The text variant to render as (ah1-ah4, ab1-ab3, ac1-ac4, ub1-ub3), anything else is deprecated\n */\nconst Text = styled.div<TextProps>(\n ({\n theme,\n $renderAs,\n $color,\n $align = 'left',\n $width,\n $widthX,\n $marginBottom,\n $marginBottomX,\n $alignSelf,\n $opacity = 1,\n $inline,\n $textDecoration,\n $whiteSpace,\n }) => {\n const { text, colors, layout } = theme;\n const {\n fontFamily,\n fontSize,\n lineHeight,\n letterSpacing,\n textTransform = 'none',\n } = text[$renderAs];\n\n return `\n display: ${$inline ? 'inline-block' : 'block'};\n font-family: ${fontFamily};\n font-size: ${fontSize}px;\n text-align: ${$align};\n line-height: ${lineHeight}px;\n text-transform: ${textTransform};\n ${typeof letterSpacing === 'number' ? `letter-spacing: ${letterSpacing}px;` : ''}\n color: ${$color ? colors[$color] : colors.BLACK};\n opacity: ${$opacity};\n width: ${$width ? `${$width}` : 'auto'}${typeof $width === 'number' ? 'px' : ''};\n ${$widthX ? `width: ${$widthX * layout.gutter}px;` : ''}\n margin-bottom: ${$marginBottom ? `${$marginBottom}` : 'initial'}${\n typeof $marginBottom === 'number' ? 'px' : ''\n };\n ${$marginBottomX ? `margin-bottom: ${$marginBottomX * layout.gutter}px;` : ''}\n ${$alignSelf ? `align-self: ${$alignSelf};` : ''}\n ${$textDecoration ? `text-decoration: ${$textDecoration};` : ''}\n ${$whiteSpace ? `white-space: ${$whiteSpace};` : ''}\n `;\n },\n);\n\nText.displayName = 'Text';\n\nexport default Text;\n"],"names":["Text","styled","theme","$renderAs","$color","$align","$width","$widthX","$marginBottom","$marginBottomX","$alignSelf","$opacity","$inline","$textDecoration","$whiteSpace","text","colors","layout","fontFamily","fontSize","lineHeight","letterSpacing","textTransform","Text$1"],"mappings":";AAsBA,MAAMA,IAAOC,EAAO;AAAA,EAClB,CAAC;AAAA,IACC,OAAAC;AAAA,IACA,WAAAC;AAAA,IACA,QAAAC;AAAA,IACA,QAAAC,IAAS;AAAA,IACT,QAAAC;AAAA,IACA,SAAAC;AAAA,IACA,eAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,YAAAC;AAAA,IACA,UAAAC,IAAW;AAAA,IACX,SAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,aAAAC;AAAA,EAAA,MACI;AACJ,UAAM,EAAE,MAAAC,GAAM,QAAAC,GAAQ,QAAAC,EAAA,IAAWf,GAC3B;AAAA,MACJ,YAAAgB;AAAA,MACA,UAAAC;AAAA,MACA,YAAAC;AAAA,MACA,eAAAC;AAAA,MACA,eAAAC,IAAgB;AAAA,IAAA,IACdP,EAAKZ,CAAS;AAEX,WAAA;AAAA,iBACMS,IAAU,iBAAiB,OAAO;AAAA,qBAC9BM,CAAU;AAAA,mBACZC,CAAQ;AAAA,oBACPd,CAAM;AAAA,qBACLe,CAAU;AAAA,wBACPE,CAAa;AAAA,QAC7B,OAAOD,KAAkB,WAAW,mBAAmBA,CAAa,QAAQ,EAAE;AAAA,eACvEjB,IAASY,EAAOZ,CAAM,IAAIY,EAAO,KAAK;AAAA,iBACpCL,CAAQ;AAAA,eACVL,IAAS,GAAGA,CAAM,KAAK,MAAM,GAAG,OAAOA,KAAW,WAAW,OAAO,EAAE;AAAA,QAC7EC,IAAU,UAAUA,IAAUU,EAAO,MAAM,QAAQ,EAAE;AAAA,uBACtCT,IAAgB,GAAGA,CAAa,KAAK,SAAS,GAC7D,OAAOA,KAAkB,WAAW,OAAO,EAC7C;AAAA,QACEC,IAAiB,kBAAkBA,IAAiBQ,EAAO,MAAM,QAAQ,EAAE;AAAA,QAC3EP,IAAa,eAAeA,CAAU,MAAM,EAAE;AAAA,QAC9CG,IAAkB,oBAAoBA,CAAe,MAAM,EAAE;AAAA,QAC7DC,IAAc,gBAAgBA,CAAW,MAAM,EAAE;AAAA;AAAA,EAEvD;AACF;AAEAd,EAAK,cAAc;AAEnB,MAAAuB,IAAevB;"}
|
package/dist/index.d.ts
CHANGED
@@ -11,6 +11,7 @@ import { ForwardRefExoticComponent } from 'react';
|
|
11
11
|
import { HTMLAttributes } from 'react';
|
12
12
|
import { IChannelMessage } from '@cuemath/cue-message-broker';
|
13
13
|
import type { IframeHTMLAttributes } from 'react';
|
14
|
+
import type { ImgHTMLAttributes } from 'react';
|
14
15
|
import type { InputHTMLAttributes } from 'react';
|
15
16
|
import { IProvidedProps } from 'google-maps-react';
|
16
17
|
import { IStyledComponent } from 'styled-components';
|
@@ -39,6 +40,8 @@ import { Substitute } from 'styled-components/dist/types';
|
|
39
40
|
*/
|
40
41
|
export declare const AccordionSection: FC<IAccordionSectionProps>;
|
41
42
|
|
43
|
+
export declare const AccountSelector: ({ userAccounts, onSelect, onAddNew, isLoading, }: IAccountSelectorViewProps) => JSX_2.Element;
|
44
|
+
|
42
45
|
export declare const ACHIEVEMENT_ACTIONS: {
|
43
46
|
SHARE: string;
|
44
47
|
NOT_SHARE_CHOSEN: string;
|
@@ -58,6 +61,10 @@ export declare const ArcButton: MemoExoticComponent<ForwardRefExoticComponent<IA
|
|
58
61
|
|
59
62
|
export declare const ArrowTooltip: FC<IArrowTooltipProps>;
|
60
63
|
|
64
|
+
export declare const AuthPageLayout: FC<IAuthPageLayoutProps>;
|
65
|
+
|
66
|
+
export declare const AuthStaticPanel: FC<IAuthStaticPanelProps>;
|
67
|
+
|
61
68
|
export declare const AutoPlayPermissionProvider: FC<{
|
62
69
|
children: ReactNode;
|
63
70
|
}>;
|
@@ -211,6 +218,10 @@ export declare const CircularLoader: () => JSX_2.Element;
|
|
211
218
|
|
212
219
|
export declare const CircularSteps: FC<ICircularStepsProps>;
|
213
220
|
|
221
|
+
export declare const CircularStepWrapper: ForwardRefExoticComponent<ICircularStepWrapperProps & RefAttributes<ICircularStepRef>>;
|
222
|
+
|
223
|
+
export declare const ClaimUserAccount: NamedExoticComponent<IClaimUserAccountProps>;
|
224
|
+
|
214
225
|
export declare const Clickable: React_2.FC<IClickableProps>;
|
215
226
|
|
216
227
|
export declare const ClipboardIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -261,6 +272,8 @@ export declare const CueRocket: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
261
272
|
|
262
273
|
export declare const DashArrowIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
263
274
|
|
275
|
+
export declare const DatePickerInput: FC<IDatePickerInputProps>;
|
276
|
+
|
264
277
|
export declare const DesmosCalculator: FC<IDesmosCalculatorProps>;
|
265
278
|
|
266
279
|
export declare const DigitalMeter: FC<IDigitalMeterProps>;
|
@@ -290,6 +303,8 @@ export declare enum ELeaderboardType {
|
|
290
303
|
ALL_TIME_STREAK = "globalStreak"
|
291
304
|
}
|
292
305
|
|
306
|
+
export declare const EmailInput: FC<ICustomInputProps>;
|
307
|
+
|
293
308
|
declare const ENROLLMENT_TYPES: {
|
294
309
|
readonly ONLINE: "ONLINE";
|
295
310
|
readonly PLUS: "PLUS";
|
@@ -459,6 +474,8 @@ export declare const GoalEdit: React.FC<IMileStoneEditContainerProps>;
|
|
459
474
|
|
460
475
|
export declare const GooglePlacesSearchInput: ComponentType<Omit_2<IGooglePlacesSearchInputProps, IProvidedProps>>;
|
461
476
|
|
477
|
+
export declare const GradeInput: FC<ICustomInputProps>;
|
478
|
+
|
462
479
|
export declare function GradeSelector({ selectedValue, onSelect, tabsWidth, width, grades, renderAs, size, layoutAlignment, }: IGradeSelectorProps): JSX.Element;
|
463
480
|
|
464
481
|
export declare const HandIcon: React_2.FC;
|
@@ -481,6 +498,17 @@ declare interface IAccordionSectionProps {
|
|
481
498
|
bodyOverFlow?: TStyleAttrubutes['overflow'];
|
482
499
|
}
|
483
500
|
|
501
|
+
declare interface IAccountSelectorViewProps {
|
502
|
+
userAccounts: {
|
503
|
+
id: string;
|
504
|
+
username: string;
|
505
|
+
user_avatar?: IAvatarLayer[];
|
506
|
+
}[];
|
507
|
+
onSelect: (accountId: string) => void;
|
508
|
+
onAddNew: () => void;
|
509
|
+
isLoading: boolean;
|
510
|
+
}
|
511
|
+
|
484
512
|
declare interface IAchievementConfig {
|
485
513
|
pollingInterval?: number;
|
486
514
|
maxPollingAttempts?: number;
|
@@ -534,6 +562,17 @@ declare interface IAttempt {
|
|
534
562
|
score: ILearnosityQuestionScore;
|
535
563
|
}
|
536
564
|
|
565
|
+
declare interface IAuthPageLayoutProps {
|
566
|
+
leftBlock: ReactNode;
|
567
|
+
rightBlock?: ReactNode;
|
568
|
+
isFullWidth?: boolean;
|
569
|
+
}
|
570
|
+
|
571
|
+
declare interface IAuthStaticPanelProps {
|
572
|
+
title?: string;
|
573
|
+
description?: string;
|
574
|
+
}
|
575
|
+
|
537
576
|
declare interface IAutoPlayPermissionContextType {
|
538
577
|
canAutoPlayAudio: boolean;
|
539
578
|
canAutoPlayVideo: boolean;
|
@@ -844,6 +883,10 @@ export declare interface ICircleHomeDetails {
|
|
844
883
|
timestamps: ITodaysContentTimeStamps;
|
845
884
|
}
|
846
885
|
|
886
|
+
export declare type ICircularStepRef = {
|
887
|
+
playOutroAndFadeOut: () => Promise<void>;
|
888
|
+
};
|
889
|
+
|
847
890
|
declare interface ICircularSteps {
|
848
891
|
id: string;
|
849
892
|
label?: React.ReactNode;
|
@@ -867,6 +910,28 @@ declare interface ICircularStepsProps {
|
|
867
910
|
sizeInPercent?: number;
|
868
911
|
}
|
869
912
|
|
913
|
+
declare interface ICircularStepWrapperProps {
|
914
|
+
children: ReactNode;
|
915
|
+
onGoBack?: () => void;
|
916
|
+
onNext?: () => void;
|
917
|
+
label?: string;
|
918
|
+
showNext: boolean;
|
919
|
+
showPrevious: boolean;
|
920
|
+
animation: string;
|
921
|
+
introFrames: [number, number];
|
922
|
+
outroFrames: [number, number];
|
923
|
+
isNextLoading: boolean;
|
924
|
+
}
|
925
|
+
|
926
|
+
declare interface IClaimUserAccountProps {
|
927
|
+
email?: string;
|
928
|
+
onSelectAccount: (userId: string) => void;
|
929
|
+
onCreateNewAccount: () => void;
|
930
|
+
userAccounts: TUserAccount[];
|
931
|
+
isCreatingAccount: boolean;
|
932
|
+
isLoading: boolean;
|
933
|
+
}
|
934
|
+
|
870
935
|
declare interface IClassStatus {
|
871
936
|
next_class_time?: number;
|
872
937
|
class_duration: number;
|
@@ -930,7 +995,9 @@ declare interface IconProps_2 extends React_2.SVGProps<SVGSVGElement> {
|
|
930
995
|
}
|
931
996
|
|
932
997
|
declare interface IContextMenuProps {
|
933
|
-
targetElement:
|
998
|
+
targetElement: React.ReactElement<{
|
999
|
+
menuVisible?: boolean;
|
1000
|
+
}>;
|
934
1001
|
menuElement: JSX.Element;
|
935
1002
|
menuOffset?: number;
|
936
1003
|
menuZIndex?: number;
|
@@ -946,6 +1013,16 @@ declare interface ICountdownTimer {
|
|
946
1013
|
theme: 'GREEN_1' | 'ORANGE_1';
|
947
1014
|
}
|
948
1015
|
|
1016
|
+
declare interface ICountryOption {
|
1017
|
+
code: string;
|
1018
|
+
id: string;
|
1019
|
+
value: string;
|
1020
|
+
label: string;
|
1021
|
+
icon: string;
|
1022
|
+
url: string;
|
1023
|
+
geoIPCountryCode: string;
|
1024
|
+
}
|
1025
|
+
|
949
1026
|
export declare interface ICreateUserPayloadDal {
|
950
1027
|
username: string;
|
951
1028
|
grade: string;
|
@@ -1004,6 +1081,16 @@ declare interface ICurriculumStandards {
|
|
1004
1081
|
name: string;
|
1005
1082
|
}
|
1006
1083
|
|
1084
|
+
declare interface ICustomInputProps {
|
1085
|
+
value: string;
|
1086
|
+
onChange: (email: string) => void;
|
1087
|
+
onEnter?: () => void;
|
1088
|
+
error?: string;
|
1089
|
+
helperText?: string;
|
1090
|
+
actionElement?: ReactNode;
|
1091
|
+
isLoading?: boolean;
|
1092
|
+
}
|
1093
|
+
|
1007
1094
|
declare interface ICustomVideoProps extends React_2.DetailedHTMLProps<React_2.VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement> {
|
1008
1095
|
isYoutube?: boolean;
|
1009
1096
|
analyticsData?: Record<string, unknown>;
|
@@ -1011,6 +1098,11 @@ declare interface ICustomVideoProps extends React_2.DetailedHTMLProps<React_2.Vi
|
|
1011
1098
|
src: string;
|
1012
1099
|
}
|
1013
1100
|
|
1101
|
+
declare interface IDatePickerInputProps extends Omit<ICustomInputProps, 'value' | 'onChange'> {
|
1102
|
+
value: Date | null;
|
1103
|
+
onChange: (date: Date | null) => void;
|
1104
|
+
}
|
1105
|
+
|
1014
1106
|
declare interface IDesmosCalculatorProps {
|
1015
1107
|
onClose: () => void;
|
1016
1108
|
height?: string | number;
|
@@ -1229,6 +1321,12 @@ declare interface IIconButtonProps extends Omit<IButtonProps, 'label' | 'shape'
|
|
1229
1321
|
renderAs: TButtonVariants;
|
1230
1322
|
}
|
1231
1323
|
|
1324
|
+
declare interface IImageProps extends ImgHTMLAttributes<HTMLImageElement> {
|
1325
|
+
withLoader: boolean;
|
1326
|
+
borderRadius?: number;
|
1327
|
+
borderColor?: TColorNames;
|
1328
|
+
}
|
1329
|
+
|
1232
1330
|
export declare interface IInfoMessage {
|
1233
1331
|
message: string;
|
1234
1332
|
position: 'top' | 'bottom';
|
@@ -1604,6 +1702,7 @@ export declare const ILLUSTRATIONS: {
|
|
1604
1702
|
CHAPTER_9: string;
|
1605
1703
|
CHAPTER_HEADER_BG: string;
|
1606
1704
|
CIRCLE_CUEMATH_LOGO: string;
|
1705
|
+
CIRCLE_CUEMATH_LOGO_WHITE: string;
|
1607
1706
|
CIRCLE_OUTERCIRCLE_BG: string;
|
1608
1707
|
CLOCK_ORANGE: string;
|
1609
1708
|
COMMUNITY_BULB: string;
|
@@ -1611,6 +1710,7 @@ export declare const ILLUSTRATIONS: {
|
|
1611
1710
|
CROWN: string;
|
1612
1711
|
CROWN_OVERLAY: string;
|
1613
1712
|
CUECOIN_GOLD: string;
|
1713
|
+
CUEMATH_APP_QR_CODE: string;
|
1614
1714
|
DESKTOP_WITH_PURPLE_FILL: string;
|
1615
1715
|
DURATION_30MIN_GRAY: string;
|
1616
1716
|
DURATION_45MIN_GRAY: string;
|
@@ -1687,6 +1787,7 @@ export declare const ILLUSTRATIONS: {
|
|
1687
1787
|
USER_DOWN: string;
|
1688
1788
|
USER_PIN: string;
|
1689
1789
|
USER_PROFILE_BACKGROUND: string;
|
1790
|
+
USER_TYPE_SELECTOR_GRID_BG: string;
|
1690
1791
|
USER_UP: string;
|
1691
1792
|
YELLOW_FACE: string;
|
1692
1793
|
};
|
@@ -1733,6 +1834,9 @@ declare interface ILPARSheetCallbacks extends ISATSheetItemCallbacks {
|
|
1733
1834
|
onReview?: (sheet: TLPARSheetData) => void;
|
1734
1835
|
}
|
1735
1836
|
|
1837
|
+
declare const Image_2: React.FC<IImageProps>;
|
1838
|
+
export { Image_2 as Image }
|
1839
|
+
|
1736
1840
|
export declare const ImageIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
1737
1841
|
|
1738
1842
|
export declare const IMAGES: {
|
@@ -2073,6 +2177,17 @@ declare interface IOpenImageReviewModalProps {
|
|
2073
2177
|
image?: string;
|
2074
2178
|
}
|
2075
2179
|
|
2180
|
+
declare interface IOTPInputProps extends ICustomInputProps {
|
2181
|
+
onResendOTP: () => void;
|
2182
|
+
}
|
2183
|
+
|
2184
|
+
declare interface IOTPResendProps {
|
2185
|
+
onResendOTP: () => void;
|
2186
|
+
onResendVoiceOTP?: () => void;
|
2187
|
+
timerSeconds?: number;
|
2188
|
+
showVoiceOTP?: boolean;
|
2189
|
+
}
|
2190
|
+
|
2076
2191
|
declare interface IOutcomeConfig {
|
2077
2192
|
id: string;
|
2078
2193
|
input_type: string;
|
@@ -2108,6 +2223,11 @@ declare interface IPerfectHitsProps {
|
|
2108
2223
|
value: number;
|
2109
2224
|
}
|
2110
2225
|
|
2226
|
+
declare interface IPhoneInputProps extends ICustomInputProps {
|
2227
|
+
onCountryChange: (option: TSelectedCountry) => void;
|
2228
|
+
selectedCountry: TSelectedCountry;
|
2229
|
+
}
|
2230
|
+
|
2111
2231
|
declare interface IPlaceholder {
|
2112
2232
|
text?: string;
|
2113
2233
|
marks?: string;
|
@@ -2568,6 +2688,14 @@ declare interface ISheetsListProps extends ISheetItemCallbackProps {
|
|
2568
2688
|
section?: TSheetsSection;
|
2569
2689
|
}
|
2570
2690
|
|
2691
|
+
declare interface ISignupMethodsProps {
|
2692
|
+
onEmailSignup: () => void;
|
2693
|
+
onPhoneSignup: () => void;
|
2694
|
+
onGoogleSignup: () => void;
|
2695
|
+
onAppleSignup: () => void;
|
2696
|
+
loadingProvider: TSocialAuthProvider | null;
|
2697
|
+
}
|
2698
|
+
|
2571
2699
|
export declare interface ISignUpProps {
|
2572
2700
|
circleOnLeapSignedUp: boolean;
|
2573
2701
|
circleOnLeapPremiumEnabled: boolean;
|
@@ -3085,6 +3213,12 @@ declare interface IUserChapterProgressProps {
|
|
3085
3213
|
total_core_sheets: number;
|
3086
3214
|
}
|
3087
3215
|
|
3216
|
+
declare interface IUserTypeSelectorProps {
|
3217
|
+
onNext: () => void;
|
3218
|
+
onUserTypeChange: (id: TSignupUserType) => void;
|
3219
|
+
userType: TSignupUserType;
|
3220
|
+
}
|
3221
|
+
|
3088
3222
|
declare interface IUseTrialSessionMessageBroker {
|
3089
3223
|
(options: {
|
3090
3224
|
teacherClassroomId?: string;
|
@@ -3464,6 +3598,7 @@ export declare const LOTTIE: {
|
|
3464
3598
|
ACCURACY_METER: string;
|
3465
3599
|
ACCURACY_NEEDLE: string;
|
3466
3600
|
ADVANCE_MODE_SEGMENT_LOTTIE: string;
|
3601
|
+
AVATAR_SELECTED: string;
|
3467
3602
|
BEGINNER1X: string;
|
3468
3603
|
BRONZE_1: string;
|
3469
3604
|
BRONZE_2: string;
|
@@ -3477,6 +3612,7 @@ export declare const LOTTIE: {
|
|
3477
3612
|
COLOR_2: string;
|
3478
3613
|
COLOR_3: string;
|
3479
3614
|
DIFFICULT: string;
|
3615
|
+
DOB: string;
|
3480
3616
|
EASY: string;
|
3481
3617
|
ELITE_CIRCLE: string;
|
3482
3618
|
ERROR_LOTTIE: string;
|
@@ -3486,11 +3622,17 @@ export declare const LOTTIE: {
|
|
3486
3622
|
GOLD_1: string;
|
3487
3623
|
GOLD_2: string;
|
3488
3624
|
GOLD_3: string;
|
3625
|
+
GRADE: string;
|
3489
3626
|
INFINITE_BUTTON_BG: string;
|
3490
3627
|
INFINITE_BUTTON_SYMBOL: string;
|
3628
|
+
KEY: string;
|
3491
3629
|
LEVELUP_RINGS: string;
|
3630
|
+
MAIL: string;
|
3492
3631
|
MEDIUM: string;
|
3493
3632
|
NUDGE_TAP: string;
|
3633
|
+
OTP: string;
|
3634
|
+
PARENT_AVATAR: string;
|
3635
|
+
PHONE_NUMBER: string;
|
3494
3636
|
POINT100: string;
|
3495
3637
|
POINT10: string;
|
3496
3638
|
POINT15: string;
|
@@ -3516,6 +3658,7 @@ export declare const LOTTIE: {
|
|
3516
3658
|
SLEEPY_BOI: string;
|
3517
3659
|
SPINNER_WHITE: string;
|
3518
3660
|
SPLASH_SCREEN: string;
|
3661
|
+
STUDENT_AVATAR: string;
|
3519
3662
|
TABLE_MODE_REVEAL: string;
|
3520
3663
|
TABLE_MODE_STAR: string;
|
3521
3664
|
TABLE_SEGMENT_STAR: string;
|
@@ -3525,6 +3668,7 @@ export declare const LOTTIE: {
|
|
3525
3668
|
TOTAL_TIME: string;
|
3526
3669
|
TOTAL_TIME_SPENT: string;
|
3527
3670
|
TOURNAMENT_RIPPLE: string;
|
3671
|
+
USERNAME: string;
|
3528
3672
|
};
|
3529
3673
|
|
3530
3674
|
export declare const LPARChapter: FC<ILPARChapterProps>;
|
@@ -3693,14 +3837,22 @@ declare interface NumRangeInputProps {
|
|
3693
3837
|
endPlaceholder?: string;
|
3694
3838
|
}
|
3695
3839
|
|
3840
|
+
export declare const OTPInput: FC<IOTPInputProps>;
|
3841
|
+
|
3696
3842
|
export declare type OutcomeStage = keyof typeof STAGES;
|
3697
3843
|
|
3844
|
+
export declare const OverlayLoader: ({ isLoading }: {
|
3845
|
+
isLoading?: boolean | undefined;
|
3846
|
+
}) => JSX_2.Element | null;
|
3847
|
+
|
3698
3848
|
export declare const PencilIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3699
3849
|
|
3700
3850
|
export declare const PercentileInput: React_2.ForwardRefExoticComponent<IPercentileProps & React_2.RefAttributes<HTMLInputElement>>;
|
3701
3851
|
|
3702
3852
|
export declare const PerfectHits: NamedExoticComponent<IPerfectHitsProps>;
|
3703
3853
|
|
3854
|
+
export declare const PhoneInput: FC<IPhoneInputProps>;
|
3855
|
+
|
3704
3856
|
/**
|
3705
3857
|
** Global/Platform specific events that needs to be tracked goes here
|
3706
3858
|
** Naming convention needs to be snake_case
|
@@ -3821,6 +3973,8 @@ export declare const ReferenceSheet: FC<IReferenceSheetProps>;
|
|
3821
3973
|
|
3822
3974
|
export declare const RemotePeerPointer: MemoExoticComponent<({ containerRef, onPublish, onSubscribe, responseId }: IPointerProps) => JSX_2.Element>;
|
3823
3975
|
|
3976
|
+
export declare const ResendOTP: React.FC<IOTPResendProps>;
|
3977
|
+
|
3824
3978
|
export declare const REWARDS_LIST: string[];
|
3825
3979
|
|
3826
3980
|
export declare const RightIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -3894,6 +4048,8 @@ export declare const SheetLocked: MemoExoticComponent<({ onHomeClick }: {
|
|
3894
4048
|
|
3895
4049
|
export declare const SignUp: ({ mathGymEnrolledUser, circleEnrolledUser, circleOnLeapPremiumDays, circleUsername, countryCode, grade: defaultGrade, state, circleOnLeapPremiumEnabled, studentId, isSignUpProcessing, onCreateUser, onUpdateUser, onSignupStepsComplete, }: ISignUpProps) => JSX_2.Element;
|
3896
4050
|
|
4051
|
+
export declare const SignupMethods: FC<ISignupMethodsProps>;
|
4052
|
+
|
3897
4053
|
declare const SketchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
3898
4054
|
export { SketchIcon as ScribbleIcon }
|
3899
4055
|
export { SketchIcon }
|
@@ -3956,6 +4112,10 @@ export declare const StrikedEyeIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
3956
4112
|
|
3957
4113
|
export declare const StudentDetails: FC<IStudentDetailsProps>;
|
3958
4114
|
|
4115
|
+
export declare const StudentPasswordInput: FC<ICustomInputProps>;
|
4116
|
+
|
4117
|
+
export declare const StudentUsernameInput: FC<ICustomInputProps>;
|
4118
|
+
|
3959
4119
|
export declare const SubmitMilestoneModal: React.FC<ISubmitModalProps>;
|
3960
4120
|
|
3961
4121
|
export declare const SwitchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -3993,6 +4153,8 @@ export declare type TArrowTooltipConfig = {
|
|
3993
4153
|
|
3994
4154
|
export declare type TArrowTooltipVariants = 'primary' | 'secondary';
|
3995
4155
|
|
4156
|
+
export declare type TAuthProvider = 'email' | 'phone';
|
4157
|
+
|
3996
4158
|
declare type TBadgeData = {
|
3997
4159
|
acknowledged_on: number | null;
|
3998
4160
|
animation_url: string;
|
@@ -4190,6 +4352,7 @@ declare interface TextProps {
|
|
4190
4352
|
$marginBottomX?: number;
|
4191
4353
|
$inline?: boolean;
|
4192
4354
|
$textDecoration?: string;
|
4355
|
+
$whiteSpace?: 'pre-line' | 'normal' | 'pre-wrap' | 'no-wrap' | 'pre' | 'break-spaces';
|
4193
4356
|
}
|
4194
4357
|
|
4195
4358
|
export declare type TFontFamilyNames = `${'Athletics'}-${'Light' | 'Regular' | 'Medium' | 'Bold' | 'Black'}` | `${'UntitledSans'}-${'Regular' | 'Medium'}`;
|
@@ -4790,6 +4953,8 @@ declare type TSectionSummary = {
|
|
4790
4953
|
modules: TSATModule[];
|
4791
4954
|
};
|
4792
4955
|
|
4956
|
+
export declare type TSelectedCountry = Pick<ICountryOption, 'id' | 'code'>;
|
4957
|
+
|
4793
4958
|
declare type TSheetAttemptLocation = keyof typeof SHEET_ATTEMPT_LOCATION;
|
4794
4959
|
|
4795
4960
|
declare type TSheetAttemptStateProps = keyof typeof SHEET_ATTEMPT_STATE;
|
@@ -4853,8 +5018,12 @@ export declare type TSheetsSection = 'core_lessons' | 'supplementary_sheets' | '
|
|
4853
5018
|
|
4854
5019
|
declare type TSheetStateProps = 'LOCKED' | 'NOT_STARTED' | 'IN_PROGRESS' | 'FAMILIAR' | 'PROFICIENT' | 'MASTERED' | 'COMPLETED' | 'RE_ATTEMPT';
|
4855
5020
|
|
5021
|
+
export declare type TSignupUserType = 'student' | 'parent';
|
5022
|
+
|
4856
5023
|
export declare type TSkillStatus = 'pending' | 'completed';
|
4857
5024
|
|
5025
|
+
export declare type TSocialAuthProvider = 'google' | 'apple';
|
5026
|
+
|
4858
5027
|
declare type TStickerData = {
|
4859
5028
|
actor_id: string;
|
4860
5029
|
badge_id: string;
|
@@ -4925,6 +5094,11 @@ export declare type TTrialSessionMessage = {
|
|
4925
5094
|
};
|
4926
5095
|
};
|
4927
5096
|
|
5097
|
+
declare type TUserAccount = {
|
5098
|
+
id: string;
|
5099
|
+
phone: string;
|
5100
|
+
};
|
5101
|
+
|
4928
5102
|
declare type TUserChapterStates = 'MASTERED' | 'PROFICIENT' | 'FAMILIAR' | 'STARTED';
|
4929
5103
|
|
4930
5104
|
declare type TUserProgram = {
|
@@ -5093,6 +5267,8 @@ export declare const User2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
5093
5267
|
|
5094
5268
|
export declare const UserIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
5095
5269
|
|
5270
|
+
export declare const UserTypeSelector: NamedExoticComponent<IUserTypeSelectorProps>;
|
5271
|
+
|
5096
5272
|
export declare const useTrackingContext: (commonAnalyticsProps: Record<string, unknown>, overrides?: Record<string, unknown>) => {
|
5097
5273
|
onClick: TTrackCTA;
|
5098
5274
|
onResponse: TTrackInput;
|