@coorpacademy/components 11.40.21 → 11.40.22-slider.13
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/es/atom/autocomplete/index.d.ts +5 -4
- package/es/atom/autocomplete/index.d.ts.map +1 -1
- package/es/atom/avatar/index.d.ts +2 -1
- package/es/atom/avatar/index.d.ts.map +1 -1
- package/es/atom/battle-opponent/index.d.ts +2 -2
- package/es/atom/battle-opponent/index.d.ts.map +1 -1
- package/es/atom/battle-opponent/index.js +2 -4
- package/es/atom/battle-opponent/index.js.map +1 -1
- package/es/atom/button/index.d.ts +2 -1
- package/es/atom/button/index.d.ts.map +1 -1
- package/es/atom/button/index.native.d.ts +2 -2
- package/es/atom/button/index.native.d.ts.map +1 -1
- package/es/atom/button-link/index.d.ts +4 -4
- package/es/atom/button-link/index.d.ts.map +1 -1
- package/es/atom/button-link/types.d.ts +4 -4
- package/es/atom/button-link/types.d.ts.map +1 -1
- package/es/atom/button-link/types.js.map +1 -1
- package/es/atom/button-link-icon/index.d.ts +2 -1
- package/es/atom/button-link-icon/index.d.ts.map +1 -1
- package/es/atom/button-menu/index.d.ts +5 -5
- package/es/atom/button-menu/index.d.ts.map +1 -1
- package/es/atom/button-menu/types.d.ts +4 -4
- package/es/atom/card-image-preview/index.d.ts +2 -1
- package/es/atom/card-image-preview/index.d.ts.map +1 -1
- package/es/atom/catalog-section/index.d.ts +2 -1
- package/es/atom/catalog-section/index.d.ts.map +1 -1
- package/es/atom/centered-text/index.d.ts +2 -1
- package/es/atom/centered-text/index.d.ts.map +1 -1
- package/es/atom/checkbox/index.d.ts +2 -1
- package/es/atom/checkbox/index.d.ts.map +1 -1
- package/es/atom/checkbox-with-title/index.d.ts +3 -2
- package/es/atom/checkbox-with-title/index.d.ts.map +1 -1
- package/es/atom/chip/index.d.ts +3 -2
- package/es/atom/chip/index.d.ts.map +1 -1
- package/es/atom/chip/index.js +1 -1
- package/es/atom/chip/index.js.map +1 -1
- package/es/atom/chips/index.d.ts +2 -1
- package/es/atom/chips/index.d.ts.map +1 -1
- package/es/atom/choice/index.native.d.ts +2 -2
- package/es/atom/choice/index.native.d.ts.map +1 -1
- package/es/atom/choice/index.native.js +5 -3
- package/es/atom/choice/index.native.js.map +1 -1
- package/es/atom/circular-progress-bar/index.d.ts +2 -2
- package/es/atom/circular-progress-bar/index.d.ts.map +1 -1
- package/es/atom/clue/index.d.ts +3 -3
- package/es/atom/clue/index.d.ts.map +1 -1
- package/es/atom/content-badge/index.d.ts +2 -1
- package/es/atom/content-badge/index.d.ts.map +1 -1
- package/es/atom/cta/index.d.ts +2 -2
- package/es/atom/cta/index.d.ts.map +1 -1
- package/es/atom/difficulty-level/index.d.ts +4 -3
- package/es/atom/difficulty-level/index.d.ts.map +1 -1
- package/es/atom/drag-and-drop/index.d.ts +1 -1
- package/es/atom/drag-and-drop/index.d.ts.map +1 -1
- package/es/atom/empty-search-result/index.d.ts +2 -1
- package/es/atom/empty-search-result/index.d.ts.map +1 -1
- package/es/atom/gradient/index.native.d.ts +2 -2
- package/es/atom/gradient/index.native.d.ts.map +1 -1
- package/es/atom/gradient/index.native.js +29 -8
- package/es/atom/gradient/index.native.js.map +1 -1
- package/es/atom/header-back-button/index.native.d.ts +2 -2
- package/es/atom/header-back-button/index.native.d.ts.map +1 -1
- package/es/atom/header-back-icon/index.native.d.ts +2 -2
- package/es/atom/header-back-icon/index.native.d.ts.map +1 -1
- package/es/atom/html/index.native.d.ts +2 -2
- package/es/atom/html/index.native.d.ts.map +1 -1
- package/es/atom/html/index.native.js +29 -22
- package/es/atom/html/index.native.js.map +1 -1
- package/es/atom/icon/index.d.ts +1 -1
- package/es/atom/icon/index.js +1 -1
- package/es/atom/icon/index.js.map +1 -1
- package/es/atom/image-background/index.native.d.ts +2 -2
- package/es/atom/image-background/index.native.d.ts.map +1 -1
- package/es/atom/image-background/index.native.js.map +1 -1
- package/es/atom/input-checkbox/index.d.ts +2 -1
- package/es/atom/input-checkbox/index.d.ts.map +1 -1
- package/es/atom/input-color/index.d.ts +2 -1
- package/es/atom/input-color/index.d.ts.map +1 -1
- package/es/atom/input-doublestep/index.d.ts +2 -2
- package/es/atom/input-doublestep/index.d.ts.map +1 -1
- package/es/atom/input-file-draggable/index.d.ts +11 -10
- package/es/atom/input-file-draggable/index.d.ts.map +1 -1
- package/es/atom/input-html/index.d.ts +2 -1
- package/es/atom/input-html/index.d.ts.map +1 -1
- package/es/atom/input-html/input-preview.d.ts +2 -1
- package/es/atom/input-html/input-preview.d.ts.map +1 -1
- package/es/atom/input-readonly/index.d.ts +2 -1
- package/es/atom/input-readonly/index.d.ts.map +1 -1
- package/es/atom/input-search/index.d.ts +2 -1
- package/es/atom/input-search/index.d.ts.map +1 -1
- package/es/atom/input-select/index.d.ts +2 -2
- package/es/atom/input-select/index.d.ts.map +1 -1
- package/es/atom/input-switch/index.d.ts +2 -1
- package/es/atom/input-switch/index.d.ts.map +1 -1
- package/es/atom/input-text/index.d.ts +2 -1
- package/es/atom/input-text/index.d.ts.map +1 -1
- package/es/atom/input-text-with-title/index.d.ts +2 -1
- package/es/atom/input-text-with-title/index.d.ts.map +1 -1
- package/es/atom/input-textarea/index.d.ts +2 -1
- package/es/atom/input-textarea/index.d.ts.map +1 -1
- package/es/atom/label/index.d.ts +3 -2
- package/es/atom/label/index.d.ts.map +1 -1
- package/es/atom/life/index.d.ts +2 -1
- package/es/atom/life/index.d.ts.map +1 -1
- package/es/atom/link/index.d.ts +2 -1
- package/es/atom/link/index.d.ts.map +1 -1
- package/es/atom/loader/index.d.ts +3 -2
- package/es/atom/loader/index.d.ts.map +1 -1
- package/es/atom/loader/index.native.d.ts +2 -2
- package/es/atom/loader/index.native.d.ts.map +1 -1
- package/es/atom/loader/index.native.js +5 -1
- package/es/atom/loader/index.native.js.map +1 -1
- package/es/atom/lottie-wrapper/index.d.ts +2 -1
- package/es/atom/lottie-wrapper/index.d.ts.map +1 -1
- package/es/atom/notification/index.d.ts +2 -1
- package/es/atom/notification/index.d.ts.map +1 -1
- package/es/atom/picture/index.d.ts +2 -1
- package/es/atom/picture/index.d.ts.map +1 -1
- package/es/atom/picture-background/index.d.ts +5 -4
- package/es/atom/picture-background/index.d.ts.map +1 -1
- package/es/atom/promo-code/index.d.ts +2 -1
- package/es/atom/promo-code/index.d.ts.map +1 -1
- package/es/atom/provider/index.d.ts +1 -0
- package/es/atom/provider/index.d.ts.map +1 -1
- package/es/atom/provider/web-context.d.ts +2 -2
- package/es/atom/provider/web-context.d.ts.map +1 -1
- package/es/atom/radio-group/index.d.ts +4 -3
- package/es/atom/radio-group/index.d.ts.map +1 -1
- package/es/atom/radio-group/item.d.ts +2 -1
- package/es/atom/radio-group/item.d.ts.map +1 -1
- package/es/atom/radio-with-title/index.d.ts +13 -13
- package/es/atom/radio-with-title/types.d.ts +12 -12
- package/es/atom/range/handle.d.ts +2 -1
- package/es/atom/range/handle.d.ts.map +1 -1
- package/es/atom/range/index.d.ts +2 -2
- package/es/atom/range/index.d.ts.map +1 -1
- package/es/atom/resource-miniature/index.d.ts +2 -1
- package/es/atom/resource-miniature/index.d.ts.map +1 -1
- package/es/atom/review-presentation/index.d.ts +2 -1
- package/es/atom/review-presentation/index.d.ts.map +1 -1
- package/es/atom/review-presentation/index.native.d.ts +2 -2
- package/es/atom/review-presentation/index.native.d.ts.map +1 -1
- package/es/atom/select/index.d.ts +14 -13
- package/es/atom/select/index.d.ts.map +1 -1
- package/es/atom/select-icon/index.d.ts +2 -1
- package/es/atom/select-icon/index.d.ts.map +1 -1
- package/es/atom/select-modal/index.native.d.ts +2 -2
- package/es/atom/select-modal/index.native.d.ts.map +1 -1
- package/es/atom/select-modal/index.native.js +4 -3
- package/es/atom/select-modal/index.native.js.map +1 -1
- package/es/atom/slide/index.d.ts +2 -1
- package/es/atom/slide/index.d.ts.map +1 -1
- package/es/atom/social-link/index.d.ts +2 -1
- package/es/atom/social-link/index.d.ts.map +1 -1
- package/es/atom/space/index.native.d.ts +2 -2
- package/es/atom/space/index.native.d.ts.map +1 -1
- package/es/atom/spinner/index.d.ts +2 -1
- package/es/atom/spinner/index.d.ts.map +1 -1
- package/es/atom/status-item/index.d.ts +2 -2
- package/es/atom/status-item/index.d.ts.map +1 -1
- package/es/atom/status-item/index.native.d.ts +2 -2
- package/es/atom/status-item/index.native.d.ts.map +1 -1
- package/es/atom/tab/index.d.ts +5 -4
- package/es/atom/tab/index.d.ts.map +1 -1
- package/es/atom/tab-content/index.d.ts +2 -1
- package/es/atom/tab-content/index.d.ts.map +1 -1
- package/es/atom/tag/index.d.ts +16 -16
- package/es/atom/tag/index.d.ts.map +1 -1
- package/es/atom/text/index.native.d.ts +1 -1
- package/es/atom/text/index.native.d.ts.map +1 -1
- package/es/atom/title/index.d.ts +14 -14
- package/es/atom/title/index.d.ts.map +1 -1
- package/es/atom/tooltip/index.d.ts +6 -5
- package/es/atom/tooltip/index.d.ts.map +1 -1
- package/es/atom/video-upload/index.d.ts +2 -1
- package/es/atom/video-upload/index.d.ts.map +1 -1
- package/es/atom/wizard-steps/index.d.ts +4 -3
- package/es/atom/wizard-steps/index.d.ts.map +1 -1
- package/es/globals.d.js.map +1 -1
- package/es/hoc/animation/index.d.ts +1 -1
- package/es/hoc/animation-scheduler/index.d.ts +1 -1
- package/es/hoc/modal/index.native.d.ts +1 -1
- package/es/hoc/modal/index.native.d.ts.map +1 -1
- package/es/hoc/modal/select/index.native.d.ts +2 -2
- package/es/hoc/modal/select/index.native.d.ts.map +1 -1
- package/es/hoc/modal/select-item/index.native.d.ts +2 -2
- package/es/hoc/modal/select-item/index.native.d.ts.map +1 -1
- package/es/hoc/swapper/index.d.ts +3 -2
- package/es/hoc/swapper/index.d.ts.map +1 -1
- package/es/hoc/touchable/index.native.d.ts +1 -1
- package/es/hoc/touchable/index.native.d.ts.map +1 -1
- package/es/hoc/touchable/index.native.js +14 -3
- package/es/hoc/touchable/index.native.js.map +1 -1
- package/es/hoc/transition/index.d.ts +1 -1
- package/es/molecule/add-to-my-list/index.d.ts +4 -3
- package/es/molecule/add-to-my-list/index.d.ts.map +1 -1
- package/es/molecule/answer/index.d.ts +2 -1
- package/es/molecule/answer/index.d.ts.map +1 -1
- package/es/molecule/answer/index.native.d.ts +2 -2
- package/es/molecule/answer/index.native.d.ts.map +1 -1
- package/es/molecule/answer/prop-types.d.ts +10 -10
- package/es/molecule/audio/index.d.ts +1 -1
- package/es/molecule/audio/index.d.ts.map +1 -1
- package/es/molecule/banner/index.d.ts +4 -3
- package/es/molecule/banner/index.d.ts.map +1 -1
- package/es/molecule/base-modal/index.d.ts +4 -3
- package/es/molecule/base-modal/index.d.ts.map +1 -1
- package/es/molecule/battle-opponent-list/index.d.ts +4 -4
- package/es/molecule/battle-opponent-list/index.d.ts.map +1 -1
- package/es/molecule/battle-opponent-list/prop-types.d.ts +2 -2
- package/es/molecule/battle-request/index.d.ts +2 -1
- package/es/molecule/battle-request/index.d.ts.map +1 -1
- package/es/molecule/brand-card/description.d.ts +2 -1
- package/es/molecule/brand-card/description.d.ts.map +1 -1
- package/es/molecule/brand-card/index.d.ts +2 -1
- package/es/molecule/brand-card/index.d.ts.map +1 -1
- package/es/molecule/brand-card-create/index.d.ts +2 -1
- package/es/molecule/brand-card-create/index.d.ts.map +1 -1
- package/es/molecule/brand-create-form/index.d.ts +2 -1
- package/es/molecule/brand-create-form/index.d.ts.map +1 -1
- package/es/molecule/brand-download-box/index.d.ts +2 -1
- package/es/molecule/brand-download-box/index.d.ts.map +1 -1
- package/es/molecule/brand-form-group/index.d.ts +3 -2
- package/es/molecule/brand-form-group/index.d.ts.map +1 -1
- package/es/molecule/brand-logo/index.native.d.ts +2 -2
- package/es/molecule/brand-logo/index.native.d.ts.map +1 -1
- package/es/molecule/brand-logo/index.native.js.map +1 -1
- package/es/molecule/brand-tabs/index.d.ts +4 -3
- package/es/molecule/brand-tabs/index.d.ts.map +1 -1
- package/es/molecule/brand-upload-box/index.d.ts +1 -1
- package/es/molecule/brand-upload-box/index.d.ts.map +1 -1
- package/es/molecule/breadcrumbs/index.d.ts +6 -5
- package/es/molecule/breadcrumbs/index.d.ts.map +1 -1
- package/es/molecule/bulk-infos/index.d.ts +2 -2
- package/es/molecule/bulk-infos/index.d.ts.map +1 -1
- package/es/molecule/bulk-progress-bar/index.d.ts +2 -2
- package/es/molecule/bulk-progress-bar/index.d.ts.map +1 -1
- package/es/molecule/bullet-point-menu-button/index.d.ts +5 -5
- package/es/molecule/bullet-point-menu-button/index.d.ts.map +1 -1
- package/es/molecule/bullet-point-menu-button/types.d.ts +3 -3
- package/es/molecule/button-menu-action/index.d.ts +8 -8
- package/es/molecule/button-menu-action/index.d.ts.map +1 -1
- package/es/molecule/button-menu-action/types.d.ts +6 -6
- package/es/molecule/card/customer.d.ts +3 -2
- package/es/molecule/card/customer.d.ts.map +1 -1
- package/es/molecule/card/favorite.d.ts +4 -3
- package/es/molecule/card/favorite.d.ts.map +1 -1
- package/es/molecule/card/index.d.ts +1 -1
- package/es/molecule/card/notification.d.ts +2 -1
- package/es/molecule/card/notification.d.ts.map +1 -1
- package/es/molecule/card/selectable.d.ts +2 -1
- package/es/molecule/card/selectable.d.ts.map +1 -1
- package/es/molecule/card-congrats/index.native.d.ts +2 -2
- package/es/molecule/card-congrats/index.native.d.ts.map +1 -1
- package/es/molecule/card-content/index.d.ts +8 -7
- package/es/molecule/card-content/index.d.ts.map +1 -1
- package/es/molecule/card-with-button/index.d.ts +3 -2
- package/es/molecule/card-with-button/index.d.ts.map +1 -1
- package/es/molecule/certification-card/index.d.ts +2 -1
- package/es/molecule/certification-card/index.d.ts.map +1 -1
- package/es/molecule/cm-popin/index.d.ts +2 -1
- package/es/molecule/cm-popin/index.d.ts.map +1 -1
- package/es/molecule/cm-popin/index.native.d.ts +2 -2
- package/es/molecule/cm-popin/index.native.d.ts.map +1 -1
- package/es/molecule/cm-popin/types.d.ts +81 -81
- package/es/molecule/cookie-banner/index.d.ts +2 -1
- package/es/molecule/cookie-banner/index.d.ts.map +1 -1
- package/es/molecule/coorp-manager-roles/index.d.ts +4 -3
- package/es/molecule/coorp-manager-roles/index.d.ts.map +1 -1
- package/es/molecule/coorpmanager-base-banner/index.d.ts +2 -1
- package/es/molecule/coorpmanager-base-banner/index.d.ts.map +1 -1
- package/es/molecule/course-section/index.d.ts +4 -3
- package/es/molecule/course-section/index.d.ts.map +1 -1
- package/es/molecule/course-sections/index.d.ts +6 -5
- package/es/molecule/course-sections/index.d.ts.map +1 -1
- package/es/molecule/dashboard/cards-list/index.d.ts +10 -10
- package/es/molecule/dashboard/cards-list/index.d.ts.map +1 -1
- package/es/molecule/discipline-associated-skills/index.d.ts +4 -3
- package/es/molecule/discipline-associated-skills/index.d.ts.map +1 -1
- package/es/molecule/discipline-cta/index.d.ts +2 -1
- package/es/molecule/discipline-cta/index.d.ts.map +1 -1
- package/es/molecule/discipline-header/index.d.ts +3 -3
- package/es/molecule/discipline-header/index.d.ts.map +1 -1
- package/es/molecule/discipline-partners/index.d.ts +6 -5
- package/es/molecule/discipline-partners/index.d.ts.map +1 -1
- package/es/molecule/discipline-scope/index.d.ts +10 -9
- package/es/molecule/discipline-scope/index.d.ts.map +1 -1
- package/es/molecule/drag-and-drop/index.d.ts +6 -5
- package/es/molecule/drag-and-drop/index.d.ts.map +1 -1
- package/es/molecule/drag-and-drop/overlay.d.ts +2 -1
- package/es/molecule/drag-and-drop/overlay.d.ts.map +1 -1
- package/es/molecule/drag-and-drop/placeholder.d.ts +2 -1
- package/es/molecule/drag-and-drop/placeholder.d.ts.map +1 -1
- package/es/molecule/drag-and-drop/upload-report.d.ts +5 -4
- package/es/molecule/drag-and-drop/upload-report.d.ts.map +1 -1
- package/es/molecule/drag-and-drop-wrapper/index.d.ts +5 -4
- package/es/molecule/drag-and-drop-wrapper/index.d.ts.map +1 -1
- package/es/molecule/draggable/index.d.ts +2 -1
- package/es/molecule/draggable/index.d.ts.map +1 -1
- package/es/molecule/draggable-list/index.d.ts +15 -14
- package/es/molecule/draggable-list/index.d.ts.map +1 -1
- package/es/molecule/errors-table/index.d.ts +7 -7
- package/es/molecule/errors-table/index.d.ts.map +1 -1
- package/es/molecule/errors-table/types.d.ts +5 -5
- package/es/molecule/expandable-item/index.d.ts +2 -2
- package/es/molecule/expandable-item/index.d.ts.map +1 -1
- package/es/molecule/expandable-list/index.d.ts +4 -4
- package/es/molecule/expandable-list/index.d.ts.map +1 -1
- package/es/molecule/expandable-list/types.d.ts +2 -2
- package/es/molecule/expandible-actionable-table/index.d.ts +18 -18
- package/es/molecule/expandible-actionable-table/index.d.ts.map +1 -1
- package/es/molecule/expandible-actionable-table/types.d.ts +16 -16
- package/es/molecule/external-content-button/index.d.ts +1 -1
- package/es/molecule/external-content-button/index.d.ts.map +1 -1
- package/es/molecule/external-content-viewer/index.d.ts +2 -1
- package/es/molecule/external-content-viewer/index.d.ts.map +1 -1
- package/es/molecule/feedback/index.d.ts +2 -1
- package/es/molecule/feedback/index.d.ts.map +1 -1
- package/es/molecule/filters/filters-wrapper.d.ts +4 -3
- package/es/molecule/filters/filters-wrapper.d.ts.map +1 -1
- package/es/molecule/filters/index.d.ts +11 -11
- package/es/molecule/filters/index.d.ts.map +1 -1
- package/es/molecule/forum/forum-comment/index.d.ts +2 -1
- package/es/molecule/forum/forum-comment/index.d.ts.map +1 -1
- package/es/molecule/forum/forum-post/index.d.ts +2 -1
- package/es/molecule/forum/forum-post/index.d.ts.map +1 -1
- package/es/molecule/forum/forum-thread/index.d.ts +2 -1
- package/es/molecule/forum/forum-thread/index.d.ts.map +1 -1
- package/es/molecule/go1-banner/index.d.ts +2 -1
- package/es/molecule/go1-banner/index.d.ts.map +1 -1
- package/es/molecule/hero/index.d.ts +2 -2
- package/es/molecule/hero/index.d.ts.map +1 -1
- package/es/molecule/icon-picker-modal/index.d.ts +2 -1
- package/es/molecule/icon-picker-modal/index.d.ts.map +1 -1
- package/es/molecule/icon-picker-modal/index.js +1 -1
- package/es/molecule/icon-picker-modal/index.js.map +1 -1
- package/es/molecule/icon-preview/index.d.ts +1 -1
- package/es/molecule/input-text-with-titled-checkbox/index.d.ts +2 -1
- package/es/molecule/input-text-with-titled-checkbox/index.d.ts.map +1 -1
- package/es/molecule/learner-skill-card/index.d.ts +2 -1
- package/es/molecule/learner-skill-card/index.d.ts.map +1 -1
- package/es/molecule/learning-priority-card/index.d.ts +2 -2
- package/es/molecule/learning-priority-card/index.d.ts.map +1 -1
- package/es/molecule/learning-priority-modal/index.d.ts +8 -7
- package/es/molecule/learning-priority-modal/index.d.ts.map +1 -1
- package/es/molecule/learning-priority-setup-item/index.d.ts +2 -1
- package/es/molecule/learning-priority-setup-item/index.d.ts.map +1 -1
- package/es/molecule/learning-profile-radar-chart/index.d.ts +13 -13
- package/es/molecule/learning-profile-radar-chart/index.d.ts.map +1 -1
- package/es/molecule/learning-profile-radar-chart/types.d.ts +8 -8
- package/es/molecule/list-badges/index.d.ts +4 -3
- package/es/molecule/list-badges/index.d.ts.map +1 -1
- package/es/molecule/login-alert/index.d.ts +2 -1
- package/es/molecule/login-alert/index.d.ts.map +1 -1
- package/es/molecule/menu-links/index.d.ts +4 -4
- package/es/molecule/menu-links/index.d.ts.map +1 -1
- package/es/molecule/menu-links/types.d.ts +2 -2
- package/es/molecule/menu-list/index.d.ts +4 -3
- package/es/molecule/menu-list/index.d.ts.map +1 -1
- package/es/molecule/message-popin/index.d.ts +2 -1
- package/es/molecule/message-popin/index.d.ts.map +1 -1
- package/es/molecule/modal/index.d.ts +2 -1
- package/es/molecule/modal/index.d.ts.map +1 -1
- package/es/molecule/module-bubble/index.d.ts +2 -1
- package/es/molecule/module-bubble/index.d.ts.map +1 -1
- package/es/molecule/module-card/index.d.ts +2 -1
- package/es/molecule/module-card/index.d.ts.map +1 -1
- package/es/molecule/multi-filter-panel/index.d.ts +11 -11
- package/es/molecule/multi-filter-panel/index.d.ts.map +1 -1
- package/es/molecule/multi-filter-panel/prop-types.d.ts +9 -9
- package/es/molecule/news/index.d.ts +2 -1
- package/es/molecule/news/index.d.ts.map +1 -1
- package/es/molecule/notification-banner/index.d.ts +2 -1
- package/es/molecule/notification-banner/index.d.ts.map +1 -1
- package/es/molecule/pagination/index.d.ts +2 -1
- package/es/molecule/pagination/index.d.ts.map +1 -1
- package/es/molecule/payment-form/index.d.ts +1 -1
- package/es/molecule/payment-form/index.d.ts.map +1 -1
- package/es/molecule/pdf/index.d.ts +2 -1
- package/es/molecule/pdf/index.d.ts.map +1 -1
- package/es/molecule/playlist-card/index.d.ts +4 -3
- package/es/molecule/playlist-card/index.d.ts.map +1 -1
- package/es/molecule/playlist-detail-cover/index.d.ts +4 -3
- package/es/molecule/playlist-detail-cover/index.d.ts.map +1 -1
- package/es/molecule/popin/index.d.ts +2 -1
- package/es/molecule/popin/index.d.ts.map +1 -1
- package/es/molecule/privacy-policy-contact/index.d.ts +2 -2
- package/es/molecule/privacy-policy-contact/index.d.ts.map +1 -1
- package/es/molecule/product-card/index.d.ts +2 -1
- package/es/molecule/product-card/index.d.ts.map +1 -1
- package/es/molecule/progress-bar/index.d.ts +3 -2
- package/es/molecule/progress-bar/index.d.ts.map +1 -1
- package/es/molecule/progress-wrapper/index.d.ts +4 -3
- package/es/molecule/progress-wrapper/index.d.ts.map +1 -1
- package/es/molecule/questions/drop-down/index.d.ts +5 -4
- package/es/molecule/questions/drop-down/index.d.ts.map +1 -1
- package/es/molecule/questions/free-text/index.d.ts +2 -1
- package/es/molecule/questions/free-text/index.d.ts.map +1 -1
- package/es/molecule/questions/free-text/index.native.d.ts +2 -2
- package/es/molecule/questions/free-text/index.native.d.ts.map +1 -1
- package/es/molecule/questions/free-text/index.native.js +4 -2
- package/es/molecule/questions/free-text/index.native.js.map +1 -1
- package/es/molecule/questions/mobile/draggable/index.native.d.ts +2 -2
- package/es/molecule/questions/mobile/draggable/index.native.d.ts.map +1 -1
- package/es/molecule/questions/mobile/draggable/index.native.js +1 -1
- package/es/molecule/questions/mobile/draggable/index.native.js.map +1 -1
- package/es/molecule/questions/mobile/slider/index.native.d.ts +2 -2
- package/es/molecule/questions/mobile/slider/index.native.d.ts.map +1 -1
- package/es/molecule/questions/mobile/slider/index.native.js +12 -28
- package/es/molecule/questions/mobile/slider/index.native.js.map +1 -1
- package/es/molecule/questions/mobile/switch/index.native.d.ts +2 -2
- package/es/molecule/questions/mobile/switch/index.native.d.ts.map +1 -1
- package/es/molecule/questions/mobile/template/index.native.d.ts +2 -2
- package/es/molecule/questions/mobile/template/index.native.d.ts.map +1 -1
- package/es/molecule/questions/mobile/template/index.native.js +14 -4
- package/es/molecule/questions/mobile/template/index.native.js.map +1 -1
- package/es/molecule/questions/qcm/index.d.ts +4 -3
- package/es/molecule/questions/qcm/index.d.ts.map +1 -1
- package/es/molecule/questions/qcm-drag/index.d.ts +6 -5
- package/es/molecule/questions/qcm-drag/index.d.ts.map +1 -1
- package/es/molecule/questions/qcm-graphic/index.d.ts +4 -3
- package/es/molecule/questions/qcm-graphic/index.d.ts.map +1 -1
- package/es/molecule/questions/question-range/index.d.ts +2 -1
- package/es/molecule/questions/question-range/index.d.ts.map +1 -1
- package/es/molecule/questions/template/index.d.ts +7 -17
- package/es/molecule/questions/template/index.d.ts.map +1 -1
- package/es/molecule/questions/types.d.ts +1 -1
- package/es/molecule/questions/types.d.ts.map +1 -1
- package/es/molecule/questions/types.js.map +1 -1
- package/es/molecule/quick-access-card/index.d.ts +2 -1
- package/es/molecule/quick-access-card/index.d.ts.map +1 -1
- package/es/molecule/quick-access-cards-group/index.d.ts +4 -3
- package/es/molecule/quick-access-cards-group/index.d.ts.map +1 -1
- package/es/molecule/quick-filters/index.d.ts +5 -5
- package/es/molecule/quick-filters/types.d.ts +4 -4
- package/es/molecule/resource-player/index.d.ts +4 -4
- package/es/molecule/resource-player/index.d.ts.map +1 -1
- package/es/molecule/review-card-congrats/index.d.ts +2 -1
- package/es/molecule/review-card-congrats/index.d.ts.map +1 -1
- package/es/molecule/review-correction-popin/index.d.ts +2 -1
- package/es/molecule/review-correction-popin/index.d.ts.map +1 -1
- package/es/molecule/review-correction-popin/index.native.d.ts +2 -2
- package/es/molecule/review-correction-popin/index.native.d.ts.map +1 -1
- package/es/molecule/review-header-steps/index.d.ts +2 -1
- package/es/molecule/review-header-steps/index.d.ts.map +1 -1
- package/es/molecule/review-header-steps/prop-types.d.ts +2 -2
- package/es/molecule/scope-content/index.d.ts +9 -8
- package/es/molecule/scope-content/index.d.ts.map +1 -1
- package/es/molecule/scope-tabs/index.d.ts +3 -2
- package/es/molecule/scope-tabs/index.d.ts.map +1 -1
- package/es/molecule/search-form/index.d.ts +2 -1
- package/es/molecule/search-form/index.d.ts.map +1 -1
- package/es/molecule/select-multiple/index.d.ts +5 -4
- package/es/molecule/select-multiple/index.d.ts.map +1 -1
- package/es/molecule/setup-cohort-item/index.d.ts +6 -5
- package/es/molecule/setup-cohort-item/index.d.ts.map +1 -1
- package/es/molecule/setup-section/index.d.ts +5 -4
- package/es/molecule/setup-section/index.d.ts.map +1 -1
- package/es/molecule/setup-sections/index.d.ts +6 -5
- package/es/molecule/setup-sections/index.d.ts.map +1 -1
- package/es/molecule/setup-slider/index.d.ts +2 -1
- package/es/molecule/setup-slider/index.d.ts.map +1 -1
- package/es/molecule/share/index.d.ts +4 -3
- package/es/molecule/share/index.d.ts.map +1 -1
- package/es/molecule/skill-card/index.d.ts +2 -1
- package/es/molecule/skill-card/index.d.ts.map +1 -1
- package/es/molecule/skill-card/index.native.d.ts +2 -2
- package/es/molecule/skill-card/index.native.d.ts.map +1 -1
- package/es/molecule/skill-picker-modal/index.d.ts +6 -5
- package/es/molecule/skill-picker-modal/index.d.ts.map +1 -1
- package/es/molecule/skills-chart-side-information-item/index.d.ts +3 -2
- package/es/molecule/skills-chart-side-information-item/index.d.ts.map +1 -1
- package/es/molecule/skills-chart-side-information-panel/index.d.ts +6 -5
- package/es/molecule/skills-chart-side-information-panel/index.d.ts.map +1 -1
- package/es/molecule/ssmenu-list/index.d.ts +4 -3
- package/es/molecule/ssmenu-list/index.d.ts.map +1 -1
- package/es/molecule/subscription-freemium/index.d.ts +2 -1
- package/es/molecule/subscription-freemium/index.d.ts.map +1 -1
- package/es/molecule/subscription-premium/index.d.ts +2 -1
- package/es/molecule/subscription-premium/index.d.ts.map +1 -1
- package/es/molecule/table/index.d.ts +10 -9
- package/es/molecule/table/index.d.ts.map +1 -1
- package/es/molecule/tabs/index.d.ts +4 -3
- package/es/molecule/tabs/index.d.ts.map +1 -1
- package/es/molecule/teams-popin/index.d.ts +2 -1
- package/es/molecule/teams-popin/index.d.ts.map +1 -1
- package/es/molecule/theme-image/index.d.ts +2 -1
- package/es/molecule/theme-image/index.d.ts.map +1 -1
- package/es/molecule/title-and-checkbox-wrapper/index.d.ts +20 -20
- package/es/molecule/title-and-checkbox-wrapper/index.d.ts.map +1 -1
- package/es/molecule/title-radio-wrapper/index.d.ts +15 -15
- package/es/molecule/title-radio-wrapper/types.d.ts +14 -14
- package/es/molecule/titled-checkbox/index.d.ts +2 -1
- package/es/molecule/titled-checkbox/index.d.ts.map +1 -1
- package/es/molecule/translation-modal/index.d.ts +2 -1
- package/es/molecule/translation-modal/index.d.ts.map +1 -1
- package/es/molecule/unsubscribe/index.d.ts +2 -1
- package/es/molecule/unsubscribe/index.d.ts.map +1 -1
- package/es/molecule/vertical-tabs/index.d.ts +4 -3
- package/es/molecule/vertical-tabs/index.d.ts.map +1 -1
- package/es/molecule/video-iframe/index.d.ts +1 -1
- package/es/molecule/video-iframe/index.d.ts.map +1 -1
- package/es/molecule/video-player/index.d.ts +5 -5
- package/es/molecule/video-player/index.d.ts.map +1 -1
- package/es/molecule/video-player/jwplayer-prop-types.d.ts +2 -2
- package/es/molecule/video-player/jwplayer.d.ts +3 -3
- package/es/molecule/video-player/jwplayer.d.ts.map +1 -1
- package/es/molecule/video-player/prop-types.d.ts +2 -2
- package/es/molecule/video-player/vimeo.d.ts +5 -5
- package/es/molecule/video-player/vimeo.d.ts.map +1 -1
- package/es/molecule/video-player-mobile/index.native.d.ts +2 -2
- package/es/molecule/video-player-mobile/index.native.d.ts.map +1 -1
- package/es/molecule/video-player-mobile/index.native.js +9 -8
- package/es/molecule/video-player-mobile/index.native.js.map +1 -1
- package/es/molecule/wizard-summary/index.d.ts +9 -8
- package/es/molecule/wizard-summary/index.d.ts.map +1 -1
- package/es/organism/accordion/container/index.d.ts +6 -5
- package/es/organism/accordion/container/index.d.ts.map +1 -1
- package/es/organism/accordion/coorp-manager/index.d.ts +6 -5
- package/es/organism/accordion/coorp-manager/index.d.ts.map +1 -1
- package/es/organism/accordion/coorp-manager/part/index.d.ts +2 -1
- package/es/organism/accordion/coorp-manager/part/index.d.ts.map +1 -1
- package/es/organism/accordion/part/index.d.ts +2 -1
- package/es/organism/accordion/part/index.d.ts.map +1 -1
- package/es/organism/accordion/toggler/index.d.ts +8 -8
- package/es/organism/accordion/toggler/index.d.ts.map +1 -1
- package/es/organism/brand-analytics/analytics-popin.d.ts +2 -1
- package/es/organism/brand-analytics/analytics-popin.d.ts.map +1 -1
- package/es/organism/brand-analytics/index.d.ts +7 -12
- package/es/organism/brand-analytics/index.d.ts.map +1 -1
- package/es/organism/brand-dashboard/index.d.ts +4 -3
- package/es/organism/brand-dashboard/index.d.ts.map +1 -1
- package/es/organism/brand-form/index.d.ts +5 -4
- package/es/organism/brand-form/index.d.ts.map +1 -1
- package/es/organism/brand-learning-priorities/index.d.ts +20 -19
- package/es/organism/brand-learning-priorities/index.d.ts.map +1 -1
- package/es/organism/brand-table/index.d.ts +10 -9
- package/es/organism/brand-table/index.d.ts.map +1 -1
- package/es/organism/brand-upload/index.d.ts +4 -3
- package/es/organism/brand-upload/index.d.ts.map +1 -1
- package/es/organism/cards-grid/index.d.ts +3 -3
- package/es/organism/cart/index.d.ts +2 -1
- package/es/organism/cart/index.d.ts.map +1 -1
- package/es/organism/content-skill-modal/index.d.ts +72 -72
- package/es/organism/content-skill-modal/types.d.ts +71 -71
- package/es/organism/content-translation/index.d.ts +4 -3
- package/es/organism/content-translation/index.d.ts.map +1 -1
- package/es/organism/course-selection/index.d.ts +3 -2
- package/es/organism/course-selection/index.d.ts.map +1 -1
- package/es/organism/discussion/index.d.ts +4 -3
- package/es/organism/discussion/index.d.ts.map +1 -1
- package/es/organism/filter-checkbox-and-search/index.d.ts +4 -4
- package/es/organism/filter-checkbox-and-search/index.d.ts.map +1 -1
- package/es/organism/filter-checkbox-and-search/props-types.d.ts +2 -2
- package/es/organism/filter-chip/index.d.ts +4 -4
- package/es/organism/filter-chip/index.d.ts.map +1 -1
- package/es/organism/filter-chip/prop-types.d.ts +2 -2
- package/es/organism/filter-range/index.d.ts +3 -3
- package/es/organism/filter-range/index.d.ts.map +1 -1
- package/es/organism/filter-range/prop-types.d.ts +1 -1
- package/es/organism/filter-switch/index.d.ts +4 -4
- package/es/organism/filter-switch/index.d.ts.map +1 -1
- package/es/organism/filter-switch/prop-types.d.ts +2 -2
- package/es/organism/get-the-app/index.d.ts +2 -1
- package/es/organism/get-the-app/index.d.ts.map +1 -1
- package/es/organism/grid-list/index.d.ts +2 -1
- package/es/organism/grid-list/index.d.ts.map +1 -1
- package/es/organism/header/index.d.ts +4 -3
- package/es/organism/header/index.d.ts.map +1 -1
- package/es/organism/header-v2/index.native.d.ts +2 -2
- package/es/organism/header-v2/index.native.d.ts.map +1 -1
- package/es/organism/header-with-actions/index.d.ts +6 -6
- package/es/organism/header-with-actions/index.d.ts.map +1 -1
- package/es/organism/header-with-actions/types.d.ts +4 -4
- package/es/organism/hero/index.d.ts +2 -1
- package/es/organism/hero/index.d.ts.map +1 -1
- package/es/organism/icon-editor/index.d.ts +4 -4
- package/es/organism/icon-editor/index.d.ts.map +1 -1
- package/es/organism/icon-editor/types.d.ts +2 -2
- package/es/organism/list-item/index.d.ts +13 -12
- package/es/organism/list-item/index.d.ts.map +1 -1
- package/es/organism/list-items/index.d.ts +64 -64
- package/es/organism/list-items/index.d.ts.map +1 -1
- package/es/organism/mobile-intro-popin/index.native.d.ts +2 -2
- package/es/organism/mobile-intro-popin/index.native.d.ts.map +1 -1
- package/es/organism/mobile-intro-popin/index.native.js.map +1 -1
- package/es/organism/mobile-navigation/index.native.d.ts +2 -2
- package/es/organism/mobile-navigation/index.native.d.ts.map +1 -1
- package/es/organism/mobile-navigation/index.native.js.map +1 -1
- package/es/organism/mooc/image-slider/index.d.ts +5 -4
- package/es/organism/mooc/image-slider/index.d.ts.map +1 -1
- package/es/organism/mooc-footer/index.d.ts +8 -7
- package/es/organism/mooc-footer/index.d.ts.map +1 -1
- package/es/organism/mooc-header/index.d.ts +11 -11
- package/es/organism/mooc-header/index.d.ts.map +1 -1
- package/es/organism/popin/index.d.ts +2 -1
- package/es/organism/popin/index.d.ts.map +1 -1
- package/es/organism/resource-browser/index.d.ts +5 -4
- package/es/organism/resource-browser/index.d.ts.map +1 -1
- package/es/organism/review-congrats/index.d.ts +2 -1
- package/es/organism/review-congrats/index.d.ts.map +1 -1
- package/es/organism/review-congrats/index.native.d.ts +2 -2
- package/es/organism/review-congrats/index.native.d.ts.map +1 -1
- package/es/organism/review-header/index.d.ts +2 -1
- package/es/organism/review-header/index.d.ts.map +1 -1
- package/es/organism/review-header/index.native.d.ts +2 -2
- package/es/organism/review-header/index.native.d.ts.map +1 -1
- package/es/organism/review-header/types.d.ts +2 -2
- package/es/organism/review-no-skills/index.d.ts +3 -2
- package/es/organism/review-no-skills/index.d.ts.map +1 -1
- package/es/organism/review-no-skills/index.native.d.ts +2 -2
- package/es/organism/review-no-skills/index.native.d.ts.map +1 -1
- package/es/organism/review-skills/index.d.ts +2 -1
- package/es/organism/review-skills/index.d.ts.map +1 -1
- package/es/organism/review-skills/index.native.d.ts +2 -2
- package/es/organism/review-skills/index.native.d.ts.map +1 -1
- package/es/organism/review-skills/prop-types.d.ts +2 -2
- package/es/organism/review-slide/index.d.ts +2 -1
- package/es/organism/review-slide/index.d.ts.map +1 -1
- package/es/organism/review-slide/index.native.d.ts +2 -2
- package/es/organism/review-slide/index.native.d.ts.map +1 -1
- package/es/organism/review-slide/index.native.js +5 -3
- package/es/organism/review-slide/index.native.js.map +1 -1
- package/es/organism/review-slide/prop-types.d.ts +14 -14
- package/es/organism/review-stacked-slides/index.d.ts +2 -1
- package/es/organism/review-stacked-slides/index.d.ts.map +1 -1
- package/es/organism/review-stacked-slides/index.native.d.ts +2 -2
- package/es/organism/review-stacked-slides/index.native.d.ts.map +1 -1
- package/es/organism/review-stacked-slides/prop-types.d.ts +35 -35
- package/es/organism/rewards-form/index.d.ts +22 -22
- package/es/organism/rewards-form/index.d.ts.map +1 -1
- package/es/organism/search-and-chips-results/index.d.ts +4 -3
- package/es/organism/search-and-chips-results/index.d.ts.map +1 -1
- package/es/organism/select-opponents/index.d.ts +21 -21
- package/es/organism/select-opponents/types.d.ts +20 -20
- package/es/organism/settings/index.d.ts +10 -9
- package/es/organism/settings/index.d.ts.map +1 -1
- package/es/organism/setup-header/index.d.ts +10 -9
- package/es/organism/setup-header/index.d.ts.map +1 -1
- package/es/organism/sidebar/index.d.ts +24 -47
- package/es/organism/sidebar/index.d.ts.map +1 -1
- package/es/organism/skill-edition/index.d.ts +8 -8
- package/es/organism/skill-edition/index.d.ts.map +1 -1
- package/es/organism/skill-edition/types.d.ts +6 -6
- package/es/organism/slider/index.d.ts +2 -2
- package/es/organism/slider/index.d.ts.map +1 -1
- package/es/organism/title-and-input/index.d.ts +47 -47
- package/es/organism/title-and-input/types.d.ts +46 -46
- package/es/organism/user-preferences/index.d.ts +4 -3
- package/es/organism/user-preferences/index.d.ts.map +1 -1
- package/es/organism/wizard-contents/index.d.ts +67 -67
- package/es/organism/wizard-contents/index.d.ts.map +1 -1
- package/es/template/activity/engine-stars.d.ts +2 -1
- package/es/template/activity/engine-stars.d.ts.map +1 -1
- package/es/template/activity/index.d.ts +9 -8
- package/es/template/activity/index.d.ts.map +1 -1
- package/es/template/activity/progression-item.d.ts +2 -1
- package/es/template/activity/progression-item.d.ts.map +1 -1
- package/es/template/activity/stars-summary.d.ts +4 -3
- package/es/template/activity/stars-summary.d.ts.map +1 -1
- package/es/template/app-player/loading/index.d.ts +83 -83
- package/es/template/app-player/loading/index.d.ts.map +1 -1
- package/es/template/app-player/player/index.d.ts +168 -168
- package/es/template/app-player/player/index.d.ts.map +1 -1
- package/es/template/app-player/player/slides/footer/index.d.ts +4 -3
- package/es/template/app-player/player/slides/footer/index.d.ts.map +1 -1
- package/es/template/app-player/player/slides/header/index.d.ts +4 -3
- package/es/template/app-player/player/slides/header/learner.d.ts +2 -1
- package/es/template/app-player/player/slides/header/learner.d.ts.map +1 -1
- package/es/template/app-player/player/slides/header/lives.d.ts +2 -1
- package/es/template/app-player/player/slides/header/lives.d.ts.map +1 -1
- package/es/template/app-player/player/slides/header/microlearning.d.ts +2 -1
- package/es/template/app-player/player/slides/header/microlearning.d.ts.map +1 -1
- package/es/template/app-player/player/slides/index.d.ts +110 -110
- package/es/template/app-player/player/slides/index.d.ts.map +1 -1
- package/es/template/app-player/player/tourguide/index.d.ts +20 -20
- package/es/template/app-player/player/tourguide/index.d.ts.map +1 -1
- package/es/template/app-player/popin-correction/index.d.ts +87 -87
- package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/es/template/app-player/popin-end/index.d.ts +94 -94
- package/es/template/app-player/popin-end/index.d.ts.map +1 -1
- package/es/template/app-player/popin-end/summary.d.ts +11 -10
- package/es/template/app-player/popin-end/summary.d.ts.map +1 -1
- package/es/template/app-player/popin-header/index.d.ts +8 -7
- package/es/template/app-player/popin-header/index.d.ts.map +1 -1
- package/es/template/app-player/popin-no-access/index.d.ts +2 -1
- package/es/template/app-player/popin-no-access/index.d.ts.map +1 -1
- package/es/template/app-review/demo-ts/index.native.d.ts +2 -2
- package/es/template/app-review/demo-ts/index.native.d.ts.map +1 -1
- package/es/template/app-review/index.d.ts +119 -119
- package/es/template/app-review/index.native.d.ts +2 -2
- package/es/template/app-review/index.native.d.ts.map +1 -1
- package/es/template/app-review/player/background-review.d.ts +2 -1
- package/es/template/app-review/player/background-review.d.ts.map +1 -1
- package/es/template/app-review/player/index.d.ts +2 -1
- package/es/template/app-review/player/index.d.ts.map +1 -1
- package/es/template/app-review/player/index.native.d.ts +2 -2
- package/es/template/app-review/player/index.native.d.ts.map +1 -1
- package/es/template/app-review/player/prop-types.d.ts +118 -118
- package/es/template/app-review/prop-types.d.ts +118 -118
- package/es/template/app-review/skills/index.d.ts +2 -1
- package/es/template/app-review/skills/index.d.ts.map +1 -1
- package/es/template/app-review/skills/index.native.d.ts +2 -2
- package/es/template/app-review/skills/index.native.d.ts.map +1 -1
- package/es/template/app-review/skills/prop-types.d.ts +2 -2
- package/es/template/app-review/template-context.d.ts +2 -2
- package/es/template/app-review/template-context.d.ts.map +1 -1
- package/es/template/back-office/brand-create/index.d.ts +10 -9
- package/es/template/back-office/brand-list/index.d.ts +10 -9
- package/es/template/back-office/brand-update/index.d.ts +338 -344
- package/es/template/back-office/brand-update/index.d.ts.map +1 -1
- package/es/template/back-office/dashboard-preview/dashboard-popin.d.ts +2 -1
- package/es/template/back-office/dashboard-preview/dashboard-popin.d.ts.map +1 -1
- package/es/template/back-office/dashboard-preview/index.d.ts +10 -9
- package/es/template/back-office/layout/index.d.ts +10 -9
- package/es/template/battle-requests/index.d.ts +4 -3
- package/es/template/battle-requests/index.d.ts.map +1 -1
- package/es/template/certification-detail/index.d.ts +88 -88
- package/es/template/certification-detail/index.d.ts.map +1 -1
- package/es/template/certifications/index.d.ts +12 -11
- package/es/template/certifications/index.d.ts.map +1 -1
- package/es/template/cockpit/jw-uploader/index.d.ts +2 -1
- package/es/template/cockpit/jw-uploader/index.d.ts.map +1 -1
- package/es/template/common/authors/index.d.ts +5 -5
- package/es/template/common/authors/index.d.ts.map +1 -1
- package/es/template/common/coorp-header/index.d.ts +2 -1
- package/es/template/common/coorp-header/index.d.ts.map +1 -1
- package/es/template/common/dashboard/index.d.ts +165 -165
- package/es/template/common/dashboard/index.d.ts.map +1 -1
- package/es/template/common/discipline/index.d.ts +25 -24
- package/es/template/common/discipline/index.d.ts.map +1 -1
- package/es/template/common/faq-article-page/index.d.ts +4 -4
- package/es/template/common/faq-article-page/index.d.ts.map +1 -1
- package/es/template/common/faq-article-page/types.d.ts +2 -2
- package/es/template/common/faq-cards-page/index.d.ts +4 -4
- package/es/template/common/faq-cards-page/index.d.ts.map +1 -1
- package/es/template/common/faq-cards-page/types.d.ts +2 -2
- package/es/template/common/faq-page/index.d.ts +6 -6
- package/es/template/common/faq-page/index.d.ts.map +1 -1
- package/es/template/common/faq-page/types.d.ts +4 -4
- package/es/template/common/privacy-policy-page/index.d.ts +6 -6
- package/es/template/common/privacy-policy-page/index.d.ts.map +1 -1
- package/es/template/common/privacy-policy-page/types.d.ts +4 -4
- package/es/template/common/search-page/index.d.ts +117 -117
- package/es/template/common/search-page/index.d.ts.map +1 -1
- package/es/template/external-course/index.d.ts +83 -83
- package/es/template/external-course/index.d.ts.map +1 -1
- package/es/template/mobile-login/confirm-email-sent/index.native.d.ts +2 -2
- package/es/template/mobile-login/confirm-email-sent/index.native.d.ts.map +1 -1
- package/es/template/mobile-login/confirm-email-sent/index.native.js +23 -10
- package/es/template/mobile-login/confirm-email-sent/index.native.js.map +1 -1
- package/es/template/mobile-login/qr-code-scanner/index.native.d.ts +2 -2
- package/es/template/mobile-login/qr-code-scanner/index.native.d.ts.map +1 -1
- package/es/template/mobile-login/qr-code-scanner/index.native.js.map +1 -1
- package/es/template/mobile-login/receive-email/index.native.d.ts +2 -2
- package/es/template/mobile-login/receive-email/index.native.d.ts.map +1 -1
- package/es/template/mobile-login/receive-email/index.native.js.map +1 -1
- package/es/template/mobile-login/welcome/index.native.d.ts +2 -2
- package/es/template/mobile-login/welcome/index.native.d.ts.map +1 -1
- package/es/template/mobile-login/welcome/index.native.js +25 -12
- package/es/template/mobile-login/welcome/index.native.js.map +1 -1
- package/es/template/my-learning/index.d.ts +11 -10
- package/es/template/my-learning/index.d.ts.map +1 -1
- package/es/template/playlist-detail/index.d.ts +98 -98
- package/es/template/playlist-detail/index.d.ts.map +1 -1
- package/es/template/review-dashboard-skills/index.d.ts +4 -3
- package/es/template/review-dashboard-skills/index.d.ts.map +1 -1
- package/es/template/skill-detail/all-courses.d.ts +11 -11
- package/es/template/skill-detail/all-courses.d.ts.map +1 -1
- package/es/template/skill-detail/continue-learning.d.ts +4 -4
- package/es/template/skill-detail/continue-learning.d.ts.map +1 -1
- package/es/template/skill-detail/index.d.ts +8 -8
- package/es/template/skill-detail/index.d.ts.map +1 -1
- package/es/template/teams-dashboard/index.d.ts +11 -10
- package/es/template/teams-dashboard/index.d.ts.map +1 -1
- package/es/util/button-icons.d.ts +2 -2
- package/es/util/get-resized-image.d.ts +2 -2
- package/es/util/get-resized-image.d.ts.map +1 -1
- package/es/util/image.d.ts +1 -1
- package/es/util/image.d.ts.map +1 -1
- package/es/util/proptypes.d.ts +1 -1
- package/es/util/proptypes.d.ts.map +1 -1
- package/es/variables/colors.d.ts +1 -1
- package/es/variables/colors.js +1 -1
- package/es/variables/colors.js.map +1 -1
- package/lib/atom/autocomplete/index.d.ts +5 -4
- package/lib/atom/autocomplete/index.d.ts.map +1 -1
- package/lib/atom/avatar/index.d.ts +2 -1
- package/lib/atom/avatar/index.d.ts.map +1 -1
- package/lib/atom/battle-opponent/index.d.ts +2 -2
- package/lib/atom/battle-opponent/index.d.ts.map +1 -1
- package/lib/atom/battle-opponent/index.js +2 -4
- package/lib/atom/battle-opponent/index.js.map +1 -1
- package/lib/atom/button/index.d.ts +2 -1
- package/lib/atom/button/index.d.ts.map +1 -1
- package/lib/atom/button/index.native.d.ts +2 -2
- package/lib/atom/button/index.native.d.ts.map +1 -1
- package/lib/atom/button-link/index.d.ts +4 -4
- package/lib/atom/button-link/index.d.ts.map +1 -1
- package/lib/atom/button-link/types.d.ts +4 -4
- package/lib/atom/button-link/types.d.ts.map +1 -1
- package/lib/atom/button-link/types.js.map +1 -1
- package/lib/atom/button-link-icon/index.d.ts +2 -1
- package/lib/atom/button-link-icon/index.d.ts.map +1 -1
- package/lib/atom/button-menu/index.d.ts +5 -5
- package/lib/atom/button-menu/index.d.ts.map +1 -1
- package/lib/atom/button-menu/types.d.ts +4 -4
- package/lib/atom/card-image-preview/index.d.ts +2 -1
- package/lib/atom/card-image-preview/index.d.ts.map +1 -1
- package/lib/atom/catalog-section/index.d.ts +2 -1
- package/lib/atom/catalog-section/index.d.ts.map +1 -1
- package/lib/atom/centered-text/index.d.ts +2 -1
- package/lib/atom/centered-text/index.d.ts.map +1 -1
- package/lib/atom/checkbox/index.d.ts +2 -1
- package/lib/atom/checkbox/index.d.ts.map +1 -1
- package/lib/atom/checkbox-with-title/index.d.ts +3 -2
- package/lib/atom/checkbox-with-title/index.d.ts.map +1 -1
- package/lib/atom/chip/index.d.ts +3 -2
- package/lib/atom/chip/index.d.ts.map +1 -1
- package/lib/atom/chip/index.js +2 -2
- package/lib/atom/chip/index.js.map +1 -1
- package/lib/atom/chips/index.d.ts +2 -1
- package/lib/atom/chips/index.d.ts.map +1 -1
- package/lib/atom/choice/index.native.d.ts +2 -2
- package/lib/atom/choice/index.native.d.ts.map +1 -1
- package/lib/atom/choice/index.native.js +4 -2
- package/lib/atom/choice/index.native.js.map +1 -1
- package/lib/atom/circular-progress-bar/index.d.ts +2 -2
- package/lib/atom/circular-progress-bar/index.d.ts.map +1 -1
- package/lib/atom/clue/index.d.ts +3 -3
- package/lib/atom/clue/index.d.ts.map +1 -1
- package/lib/atom/content-badge/index.d.ts +2 -1
- package/lib/atom/content-badge/index.d.ts.map +1 -1
- package/lib/atom/cta/index.d.ts +2 -2
- package/lib/atom/cta/index.d.ts.map +1 -1
- package/lib/atom/difficulty-level/index.d.ts +4 -3
- package/lib/atom/difficulty-level/index.d.ts.map +1 -1
- package/lib/atom/drag-and-drop/index.d.ts +1 -1
- package/lib/atom/drag-and-drop/index.d.ts.map +1 -1
- package/lib/atom/empty-search-result/index.d.ts +2 -1
- package/lib/atom/empty-search-result/index.d.ts.map +1 -1
- package/lib/atom/gradient/index.native.d.ts +2 -2
- package/lib/atom/gradient/index.native.d.ts.map +1 -1
- package/lib/atom/gradient/index.native.js +29 -8
- package/lib/atom/gradient/index.native.js.map +1 -1
- package/lib/atom/header-back-button/index.native.d.ts +2 -2
- package/lib/atom/header-back-button/index.native.d.ts.map +1 -1
- package/lib/atom/header-back-icon/index.native.d.ts +2 -2
- package/lib/atom/header-back-icon/index.native.d.ts.map +1 -1
- package/lib/atom/html/index.native.d.ts +2 -2
- package/lib/atom/html/index.native.d.ts.map +1 -1
- package/lib/atom/html/index.native.js +28 -21
- package/lib/atom/html/index.native.js.map +1 -1
- package/lib/atom/icon/index.d.ts +1 -1
- package/lib/atom/icon/index.js +2 -2
- package/lib/atom/icon/index.js.map +1 -1
- package/lib/atom/image-background/index.native.d.ts +2 -2
- package/lib/atom/image-background/index.native.d.ts.map +1 -1
- package/lib/atom/image-background/index.native.js.map +1 -1
- package/lib/atom/input-checkbox/index.d.ts +2 -1
- package/lib/atom/input-checkbox/index.d.ts.map +1 -1
- package/lib/atom/input-color/index.d.ts +2 -1
- package/lib/atom/input-color/index.d.ts.map +1 -1
- package/lib/atom/input-doublestep/index.d.ts +2 -2
- package/lib/atom/input-doublestep/index.d.ts.map +1 -1
- package/lib/atom/input-file-draggable/index.d.ts +11 -10
- package/lib/atom/input-file-draggable/index.d.ts.map +1 -1
- package/lib/atom/input-html/index.d.ts +2 -1
- package/lib/atom/input-html/index.d.ts.map +1 -1
- package/lib/atom/input-html/input-preview.d.ts +2 -1
- package/lib/atom/input-html/input-preview.d.ts.map +1 -1
- package/lib/atom/input-readonly/index.d.ts +2 -1
- package/lib/atom/input-readonly/index.d.ts.map +1 -1
- package/lib/atom/input-search/index.d.ts +2 -1
- package/lib/atom/input-search/index.d.ts.map +1 -1
- package/lib/atom/input-select/index.d.ts +2 -2
- package/lib/atom/input-select/index.d.ts.map +1 -1
- package/lib/atom/input-switch/index.d.ts +2 -1
- package/lib/atom/input-switch/index.d.ts.map +1 -1
- package/lib/atom/input-text/index.d.ts +2 -1
- package/lib/atom/input-text/index.d.ts.map +1 -1
- package/lib/atom/input-text-with-title/index.d.ts +2 -1
- package/lib/atom/input-text-with-title/index.d.ts.map +1 -1
- package/lib/atom/input-textarea/index.d.ts +2 -1
- package/lib/atom/input-textarea/index.d.ts.map +1 -1
- package/lib/atom/label/index.d.ts +3 -2
- package/lib/atom/label/index.d.ts.map +1 -1
- package/lib/atom/life/index.d.ts +2 -1
- package/lib/atom/life/index.d.ts.map +1 -1
- package/lib/atom/link/index.d.ts +2 -1
- package/lib/atom/link/index.d.ts.map +1 -1
- package/lib/atom/loader/index.d.ts +3 -2
- package/lib/atom/loader/index.d.ts.map +1 -1
- package/lib/atom/loader/index.native.d.ts +2 -2
- package/lib/atom/loader/index.native.d.ts.map +1 -1
- package/lib/atom/loader/index.native.js +5 -1
- package/lib/atom/loader/index.native.js.map +1 -1
- package/lib/atom/lottie-wrapper/index.d.ts +2 -1
- package/lib/atom/lottie-wrapper/index.d.ts.map +1 -1
- package/lib/atom/notification/index.d.ts +2 -1
- package/lib/atom/notification/index.d.ts.map +1 -1
- package/lib/atom/picture/index.d.ts +2 -1
- package/lib/atom/picture/index.d.ts.map +1 -1
- package/lib/atom/picture-background/index.d.ts +5 -4
- package/lib/atom/picture-background/index.d.ts.map +1 -1
- package/lib/atom/promo-code/index.d.ts +2 -1
- package/lib/atom/promo-code/index.d.ts.map +1 -1
- package/lib/atom/provider/index.d.ts +1 -0
- package/lib/atom/provider/index.d.ts.map +1 -1
- package/lib/atom/provider/web-context.d.ts +2 -2
- package/lib/atom/provider/web-context.d.ts.map +1 -1
- package/lib/atom/radio-group/index.d.ts +4 -3
- package/lib/atom/radio-group/index.d.ts.map +1 -1
- package/lib/atom/radio-group/item.d.ts +2 -1
- package/lib/atom/radio-group/item.d.ts.map +1 -1
- package/lib/atom/radio-with-title/index.d.ts +13 -13
- package/lib/atom/radio-with-title/types.d.ts +12 -12
- package/lib/atom/range/handle.d.ts +2 -1
- package/lib/atom/range/handle.d.ts.map +1 -1
- package/lib/atom/range/index.d.ts +2 -2
- package/lib/atom/range/index.d.ts.map +1 -1
- package/lib/atom/resource-miniature/index.d.ts +2 -1
- package/lib/atom/resource-miniature/index.d.ts.map +1 -1
- package/lib/atom/review-presentation/index.d.ts +2 -1
- package/lib/atom/review-presentation/index.d.ts.map +1 -1
- package/lib/atom/review-presentation/index.native.d.ts +2 -2
- package/lib/atom/review-presentation/index.native.d.ts.map +1 -1
- package/lib/atom/select/index.d.ts +14 -13
- package/lib/atom/select/index.d.ts.map +1 -1
- package/lib/atom/select-icon/index.d.ts +2 -1
- package/lib/atom/select-icon/index.d.ts.map +1 -1
- package/lib/atom/select-modal/index.native.d.ts +2 -2
- package/lib/atom/select-modal/index.native.d.ts.map +1 -1
- package/lib/atom/select-modal/index.native.js +4 -3
- package/lib/atom/select-modal/index.native.js.map +1 -1
- package/lib/atom/slide/index.d.ts +2 -1
- package/lib/atom/slide/index.d.ts.map +1 -1
- package/lib/atom/social-link/index.d.ts +2 -1
- package/lib/atom/social-link/index.d.ts.map +1 -1
- package/lib/atom/space/index.native.d.ts +2 -2
- package/lib/atom/space/index.native.d.ts.map +1 -1
- package/lib/atom/spinner/index.d.ts +2 -1
- package/lib/atom/spinner/index.d.ts.map +1 -1
- package/lib/atom/status-item/index.d.ts +2 -2
- package/lib/atom/status-item/index.d.ts.map +1 -1
- package/lib/atom/status-item/index.native.d.ts +2 -2
- package/lib/atom/status-item/index.native.d.ts.map +1 -1
- package/lib/atom/tab/index.d.ts +5 -4
- package/lib/atom/tab/index.d.ts.map +1 -1
- package/lib/atom/tab-content/index.d.ts +2 -1
- package/lib/atom/tab-content/index.d.ts.map +1 -1
- package/lib/atom/tag/index.d.ts +16 -16
- package/lib/atom/tag/index.d.ts.map +1 -1
- package/lib/atom/text/index.native.d.ts +1 -1
- package/lib/atom/text/index.native.d.ts.map +1 -1
- package/lib/atom/title/index.d.ts +14 -14
- package/lib/atom/title/index.d.ts.map +1 -1
- package/lib/atom/tooltip/index.d.ts +6 -5
- package/lib/atom/tooltip/index.d.ts.map +1 -1
- package/lib/atom/video-upload/index.d.ts +2 -1
- package/lib/atom/video-upload/index.d.ts.map +1 -1
- package/lib/atom/wizard-steps/index.d.ts +4 -3
- package/lib/atom/wizard-steps/index.d.ts.map +1 -1
- package/lib/globals.d.js.map +1 -1
- package/lib/hoc/animation/index.d.ts +1 -1
- package/lib/hoc/animation-scheduler/index.d.ts +1 -1
- package/lib/hoc/modal/index.native.d.ts +1 -1
- package/lib/hoc/modal/index.native.d.ts.map +1 -1
- package/lib/hoc/modal/select/index.native.d.ts +2 -2
- package/lib/hoc/modal/select/index.native.d.ts.map +1 -1
- package/lib/hoc/modal/select-item/index.native.d.ts +2 -2
- package/lib/hoc/modal/select-item/index.native.d.ts.map +1 -1
- package/lib/hoc/swapper/index.d.ts +3 -2
- package/lib/hoc/swapper/index.d.ts.map +1 -1
- package/lib/hoc/touchable/index.native.d.ts +1 -1
- package/lib/hoc/touchable/index.native.d.ts.map +1 -1
- package/lib/hoc/touchable/index.native.js +13 -2
- package/lib/hoc/touchable/index.native.js.map +1 -1
- package/lib/hoc/transition/index.d.ts +1 -1
- package/lib/molecule/add-to-my-list/index.d.ts +4 -3
- package/lib/molecule/add-to-my-list/index.d.ts.map +1 -1
- package/lib/molecule/answer/index.d.ts +2 -1
- package/lib/molecule/answer/index.d.ts.map +1 -1
- package/lib/molecule/answer/index.native.d.ts +2 -2
- package/lib/molecule/answer/index.native.d.ts.map +1 -1
- package/lib/molecule/answer/prop-types.d.ts +10 -10
- package/lib/molecule/audio/index.d.ts +1 -1
- package/lib/molecule/audio/index.d.ts.map +1 -1
- package/lib/molecule/banner/index.d.ts +4 -3
- package/lib/molecule/banner/index.d.ts.map +1 -1
- package/lib/molecule/base-modal/index.d.ts +4 -3
- package/lib/molecule/base-modal/index.d.ts.map +1 -1
- package/lib/molecule/battle-opponent-list/index.d.ts +4 -4
- package/lib/molecule/battle-opponent-list/index.d.ts.map +1 -1
- package/lib/molecule/battle-opponent-list/prop-types.d.ts +2 -2
- package/lib/molecule/battle-request/index.d.ts +2 -1
- package/lib/molecule/battle-request/index.d.ts.map +1 -1
- package/lib/molecule/brand-card/description.d.ts +2 -1
- package/lib/molecule/brand-card/description.d.ts.map +1 -1
- package/lib/molecule/brand-card/index.d.ts +2 -1
- package/lib/molecule/brand-card/index.d.ts.map +1 -1
- package/lib/molecule/brand-card-create/index.d.ts +2 -1
- package/lib/molecule/brand-card-create/index.d.ts.map +1 -1
- package/lib/molecule/brand-create-form/index.d.ts +2 -1
- package/lib/molecule/brand-create-form/index.d.ts.map +1 -1
- package/lib/molecule/brand-download-box/index.d.ts +2 -1
- package/lib/molecule/brand-download-box/index.d.ts.map +1 -1
- package/lib/molecule/brand-form-group/index.d.ts +3 -2
- package/lib/molecule/brand-form-group/index.d.ts.map +1 -1
- package/lib/molecule/brand-logo/index.native.d.ts +2 -2
- package/lib/molecule/brand-logo/index.native.d.ts.map +1 -1
- package/lib/molecule/brand-logo/index.native.js.map +1 -1
- package/lib/molecule/brand-tabs/index.d.ts +4 -3
- package/lib/molecule/brand-tabs/index.d.ts.map +1 -1
- package/lib/molecule/brand-upload-box/index.d.ts +1 -1
- package/lib/molecule/brand-upload-box/index.d.ts.map +1 -1
- package/lib/molecule/breadcrumbs/index.d.ts +6 -5
- package/lib/molecule/breadcrumbs/index.d.ts.map +1 -1
- package/lib/molecule/bulk-infos/index.d.ts +2 -2
- package/lib/molecule/bulk-infos/index.d.ts.map +1 -1
- package/lib/molecule/bulk-progress-bar/index.d.ts +2 -2
- package/lib/molecule/bulk-progress-bar/index.d.ts.map +1 -1
- package/lib/molecule/bullet-point-menu-button/index.d.ts +5 -5
- package/lib/molecule/bullet-point-menu-button/index.d.ts.map +1 -1
- package/lib/molecule/bullet-point-menu-button/types.d.ts +3 -3
- package/lib/molecule/button-menu-action/index.d.ts +8 -8
- package/lib/molecule/button-menu-action/index.d.ts.map +1 -1
- package/lib/molecule/button-menu-action/types.d.ts +6 -6
- package/lib/molecule/card/customer.d.ts +3 -2
- package/lib/molecule/card/customer.d.ts.map +1 -1
- package/lib/molecule/card/favorite.d.ts +4 -3
- package/lib/molecule/card/favorite.d.ts.map +1 -1
- package/lib/molecule/card/index.d.ts +1 -1
- package/lib/molecule/card/notification.d.ts +2 -1
- package/lib/molecule/card/notification.d.ts.map +1 -1
- package/lib/molecule/card/selectable.d.ts +2 -1
- package/lib/molecule/card/selectable.d.ts.map +1 -1
- package/lib/molecule/card-congrats/index.native.d.ts +2 -2
- package/lib/molecule/card-congrats/index.native.d.ts.map +1 -1
- package/lib/molecule/card-content/index.d.ts +8 -7
- package/lib/molecule/card-content/index.d.ts.map +1 -1
- package/lib/molecule/card-with-button/index.d.ts +3 -2
- package/lib/molecule/card-with-button/index.d.ts.map +1 -1
- package/lib/molecule/certification-card/index.d.ts +2 -1
- package/lib/molecule/certification-card/index.d.ts.map +1 -1
- package/lib/molecule/cm-popin/index.d.ts +2 -1
- package/lib/molecule/cm-popin/index.d.ts.map +1 -1
- package/lib/molecule/cm-popin/index.native.d.ts +2 -2
- package/lib/molecule/cm-popin/index.native.d.ts.map +1 -1
- package/lib/molecule/cm-popin/types.d.ts +81 -81
- package/lib/molecule/cookie-banner/index.d.ts +2 -1
- package/lib/molecule/cookie-banner/index.d.ts.map +1 -1
- package/lib/molecule/coorp-manager-roles/index.d.ts +4 -3
- package/lib/molecule/coorp-manager-roles/index.d.ts.map +1 -1
- package/lib/molecule/coorpmanager-base-banner/index.d.ts +2 -1
- package/lib/molecule/coorpmanager-base-banner/index.d.ts.map +1 -1
- package/lib/molecule/course-section/index.d.ts +4 -3
- package/lib/molecule/course-section/index.d.ts.map +1 -1
- package/lib/molecule/course-sections/index.d.ts +6 -5
- package/lib/molecule/course-sections/index.d.ts.map +1 -1
- package/lib/molecule/dashboard/cards-list/index.d.ts +10 -10
- package/lib/molecule/dashboard/cards-list/index.d.ts.map +1 -1
- package/lib/molecule/discipline-associated-skills/index.d.ts +4 -3
- package/lib/molecule/discipline-associated-skills/index.d.ts.map +1 -1
- package/lib/molecule/discipline-cta/index.d.ts +2 -1
- package/lib/molecule/discipline-cta/index.d.ts.map +1 -1
- package/lib/molecule/discipline-header/index.d.ts +3 -3
- package/lib/molecule/discipline-header/index.d.ts.map +1 -1
- package/lib/molecule/discipline-partners/index.d.ts +6 -5
- package/lib/molecule/discipline-partners/index.d.ts.map +1 -1
- package/lib/molecule/discipline-scope/index.d.ts +10 -9
- package/lib/molecule/discipline-scope/index.d.ts.map +1 -1
- package/lib/molecule/drag-and-drop/index.d.ts +6 -5
- package/lib/molecule/drag-and-drop/index.d.ts.map +1 -1
- package/lib/molecule/drag-and-drop/overlay.d.ts +2 -1
- package/lib/molecule/drag-and-drop/overlay.d.ts.map +1 -1
- package/lib/molecule/drag-and-drop/placeholder.d.ts +2 -1
- package/lib/molecule/drag-and-drop/placeholder.d.ts.map +1 -1
- package/lib/molecule/drag-and-drop/upload-report.d.ts +5 -4
- package/lib/molecule/drag-and-drop/upload-report.d.ts.map +1 -1
- package/lib/molecule/drag-and-drop-wrapper/index.d.ts +5 -4
- package/lib/molecule/drag-and-drop-wrapper/index.d.ts.map +1 -1
- package/lib/molecule/draggable/index.d.ts +2 -1
- package/lib/molecule/draggable/index.d.ts.map +1 -1
- package/lib/molecule/draggable-list/index.d.ts +15 -14
- package/lib/molecule/draggable-list/index.d.ts.map +1 -1
- package/lib/molecule/errors-table/index.d.ts +7 -7
- package/lib/molecule/errors-table/index.d.ts.map +1 -1
- package/lib/molecule/errors-table/types.d.ts +5 -5
- package/lib/molecule/expandable-item/index.d.ts +2 -2
- package/lib/molecule/expandable-item/index.d.ts.map +1 -1
- package/lib/molecule/expandable-list/index.d.ts +4 -4
- package/lib/molecule/expandable-list/index.d.ts.map +1 -1
- package/lib/molecule/expandable-list/types.d.ts +2 -2
- package/lib/molecule/expandible-actionable-table/index.d.ts +18 -18
- package/lib/molecule/expandible-actionable-table/index.d.ts.map +1 -1
- package/lib/molecule/expandible-actionable-table/types.d.ts +16 -16
- package/lib/molecule/external-content-button/index.d.ts +1 -1
- package/lib/molecule/external-content-button/index.d.ts.map +1 -1
- package/lib/molecule/external-content-viewer/index.d.ts +2 -1
- package/lib/molecule/external-content-viewer/index.d.ts.map +1 -1
- package/lib/molecule/feedback/index.d.ts +2 -1
- package/lib/molecule/feedback/index.d.ts.map +1 -1
- package/lib/molecule/filters/filters-wrapper.d.ts +4 -3
- package/lib/molecule/filters/filters-wrapper.d.ts.map +1 -1
- package/lib/molecule/filters/index.d.ts +11 -11
- package/lib/molecule/filters/index.d.ts.map +1 -1
- package/lib/molecule/forum/forum-comment/index.d.ts +2 -1
- package/lib/molecule/forum/forum-comment/index.d.ts.map +1 -1
- package/lib/molecule/forum/forum-post/index.d.ts +2 -1
- package/lib/molecule/forum/forum-post/index.d.ts.map +1 -1
- package/lib/molecule/forum/forum-thread/index.d.ts +2 -1
- package/lib/molecule/forum/forum-thread/index.d.ts.map +1 -1
- package/lib/molecule/go1-banner/index.d.ts +2 -1
- package/lib/molecule/go1-banner/index.d.ts.map +1 -1
- package/lib/molecule/hero/index.d.ts +2 -2
- package/lib/molecule/hero/index.d.ts.map +1 -1
- package/lib/molecule/icon-picker-modal/index.d.ts +2 -1
- package/lib/molecule/icon-picker-modal/index.d.ts.map +1 -1
- package/lib/molecule/icon-picker-modal/index.js +2 -2
- package/lib/molecule/icon-picker-modal/index.js.map +1 -1
- package/lib/molecule/icon-preview/index.d.ts +1 -1
- package/lib/molecule/input-text-with-titled-checkbox/index.d.ts +2 -1
- package/lib/molecule/input-text-with-titled-checkbox/index.d.ts.map +1 -1
- package/lib/molecule/learner-skill-card/index.d.ts +2 -1
- package/lib/molecule/learner-skill-card/index.d.ts.map +1 -1
- package/lib/molecule/learning-priority-card/index.d.ts +2 -2
- package/lib/molecule/learning-priority-card/index.d.ts.map +1 -1
- package/lib/molecule/learning-priority-modal/index.d.ts +8 -7
- package/lib/molecule/learning-priority-modal/index.d.ts.map +1 -1
- package/lib/molecule/learning-priority-setup-item/index.d.ts +2 -1
- package/lib/molecule/learning-priority-setup-item/index.d.ts.map +1 -1
- package/lib/molecule/learning-profile-radar-chart/index.d.ts +13 -13
- package/lib/molecule/learning-profile-radar-chart/index.d.ts.map +1 -1
- package/lib/molecule/learning-profile-radar-chart/types.d.ts +8 -8
- package/lib/molecule/list-badges/index.d.ts +4 -3
- package/lib/molecule/list-badges/index.d.ts.map +1 -1
- package/lib/molecule/login-alert/index.d.ts +2 -1
- package/lib/molecule/login-alert/index.d.ts.map +1 -1
- package/lib/molecule/menu-links/index.d.ts +4 -4
- package/lib/molecule/menu-links/index.d.ts.map +1 -1
- package/lib/molecule/menu-links/types.d.ts +2 -2
- package/lib/molecule/menu-list/index.d.ts +4 -3
- package/lib/molecule/menu-list/index.d.ts.map +1 -1
- package/lib/molecule/message-popin/index.d.ts +2 -1
- package/lib/molecule/message-popin/index.d.ts.map +1 -1
- package/lib/molecule/modal/index.d.ts +2 -1
- package/lib/molecule/modal/index.d.ts.map +1 -1
- package/lib/molecule/module-bubble/index.d.ts +2 -1
- package/lib/molecule/module-bubble/index.d.ts.map +1 -1
- package/lib/molecule/module-card/index.d.ts +2 -1
- package/lib/molecule/module-card/index.d.ts.map +1 -1
- package/lib/molecule/multi-filter-panel/index.d.ts +11 -11
- package/lib/molecule/multi-filter-panel/index.d.ts.map +1 -1
- package/lib/molecule/multi-filter-panel/prop-types.d.ts +9 -9
- package/lib/molecule/news/index.d.ts +2 -1
- package/lib/molecule/news/index.d.ts.map +1 -1
- package/lib/molecule/notification-banner/index.d.ts +2 -1
- package/lib/molecule/notification-banner/index.d.ts.map +1 -1
- package/lib/molecule/pagination/index.d.ts +2 -1
- package/lib/molecule/pagination/index.d.ts.map +1 -1
- package/lib/molecule/payment-form/index.d.ts +1 -1
- package/lib/molecule/payment-form/index.d.ts.map +1 -1
- package/lib/molecule/pdf/index.d.ts +2 -1
- package/lib/molecule/pdf/index.d.ts.map +1 -1
- package/lib/molecule/playlist-card/index.d.ts +4 -3
- package/lib/molecule/playlist-card/index.d.ts.map +1 -1
- package/lib/molecule/playlist-detail-cover/index.d.ts +4 -3
- package/lib/molecule/playlist-detail-cover/index.d.ts.map +1 -1
- package/lib/molecule/popin/index.d.ts +2 -1
- package/lib/molecule/popin/index.d.ts.map +1 -1
- package/lib/molecule/privacy-policy-contact/index.d.ts +2 -2
- package/lib/molecule/privacy-policy-contact/index.d.ts.map +1 -1
- package/lib/molecule/product-card/index.d.ts +2 -1
- package/lib/molecule/product-card/index.d.ts.map +1 -1
- package/lib/molecule/progress-bar/index.d.ts +3 -2
- package/lib/molecule/progress-bar/index.d.ts.map +1 -1
- package/lib/molecule/progress-wrapper/index.d.ts +4 -3
- package/lib/molecule/progress-wrapper/index.d.ts.map +1 -1
- package/lib/molecule/questions/drop-down/index.d.ts +5 -4
- package/lib/molecule/questions/drop-down/index.d.ts.map +1 -1
- package/lib/molecule/questions/free-text/index.d.ts +2 -1
- package/lib/molecule/questions/free-text/index.d.ts.map +1 -1
- package/lib/molecule/questions/free-text/index.native.d.ts +2 -2
- package/lib/molecule/questions/free-text/index.native.d.ts.map +1 -1
- package/lib/molecule/questions/free-text/index.native.js +4 -2
- package/lib/molecule/questions/free-text/index.native.js.map +1 -1
- package/lib/molecule/questions/mobile/draggable/index.native.d.ts +2 -2
- package/lib/molecule/questions/mobile/draggable/index.native.d.ts.map +1 -1
- package/lib/molecule/questions/mobile/draggable/index.native.js +1 -1
- package/lib/molecule/questions/mobile/draggable/index.native.js.map +1 -1
- package/lib/molecule/questions/mobile/slider/index.native.d.ts +2 -2
- package/lib/molecule/questions/mobile/slider/index.native.d.ts.map +1 -1
- package/lib/molecule/questions/mobile/slider/index.native.js +12 -28
- package/lib/molecule/questions/mobile/slider/index.native.js.map +1 -1
- package/lib/molecule/questions/mobile/switch/index.native.d.ts +2 -2
- package/lib/molecule/questions/mobile/switch/index.native.d.ts.map +1 -1
- package/lib/molecule/questions/mobile/template/index.native.d.ts +2 -2
- package/lib/molecule/questions/mobile/template/index.native.d.ts.map +1 -1
- package/lib/molecule/questions/mobile/template/index.native.js +13 -3
- package/lib/molecule/questions/mobile/template/index.native.js.map +1 -1
- package/lib/molecule/questions/qcm/index.d.ts +4 -3
- package/lib/molecule/questions/qcm/index.d.ts.map +1 -1
- package/lib/molecule/questions/qcm-drag/index.d.ts +6 -5
- package/lib/molecule/questions/qcm-drag/index.d.ts.map +1 -1
- package/lib/molecule/questions/qcm-graphic/index.d.ts +4 -3
- package/lib/molecule/questions/qcm-graphic/index.d.ts.map +1 -1
- package/lib/molecule/questions/question-range/index.d.ts +2 -1
- package/lib/molecule/questions/question-range/index.d.ts.map +1 -1
- package/lib/molecule/questions/template/index.d.ts +7 -17
- package/lib/molecule/questions/template/index.d.ts.map +1 -1
- package/lib/molecule/questions/types.d.ts +1 -1
- package/lib/molecule/questions/types.d.ts.map +1 -1
- package/lib/molecule/questions/types.js.map +1 -1
- package/lib/molecule/quick-access-card/index.d.ts +2 -1
- package/lib/molecule/quick-access-card/index.d.ts.map +1 -1
- package/lib/molecule/quick-access-cards-group/index.d.ts +4 -3
- package/lib/molecule/quick-access-cards-group/index.d.ts.map +1 -1
- package/lib/molecule/quick-filters/index.d.ts +5 -5
- package/lib/molecule/quick-filters/types.d.ts +4 -4
- package/lib/molecule/resource-player/index.d.ts +4 -4
- package/lib/molecule/resource-player/index.d.ts.map +1 -1
- package/lib/molecule/review-card-congrats/index.d.ts +2 -1
- package/lib/molecule/review-card-congrats/index.d.ts.map +1 -1
- package/lib/molecule/review-correction-popin/index.d.ts +2 -1
- package/lib/molecule/review-correction-popin/index.d.ts.map +1 -1
- package/lib/molecule/review-correction-popin/index.native.d.ts +2 -2
- package/lib/molecule/review-correction-popin/index.native.d.ts.map +1 -1
- package/lib/molecule/review-header-steps/index.d.ts +2 -1
- package/lib/molecule/review-header-steps/index.d.ts.map +1 -1
- package/lib/molecule/review-header-steps/prop-types.d.ts +2 -2
- package/lib/molecule/scope-content/index.d.ts +9 -8
- package/lib/molecule/scope-content/index.d.ts.map +1 -1
- package/lib/molecule/scope-tabs/index.d.ts +3 -2
- package/lib/molecule/scope-tabs/index.d.ts.map +1 -1
- package/lib/molecule/search-form/index.d.ts +2 -1
- package/lib/molecule/search-form/index.d.ts.map +1 -1
- package/lib/molecule/select-multiple/index.d.ts +5 -4
- package/lib/molecule/select-multiple/index.d.ts.map +1 -1
- package/lib/molecule/setup-cohort-item/index.d.ts +6 -5
- package/lib/molecule/setup-cohort-item/index.d.ts.map +1 -1
- package/lib/molecule/setup-section/index.d.ts +5 -4
- package/lib/molecule/setup-section/index.d.ts.map +1 -1
- package/lib/molecule/setup-sections/index.d.ts +6 -5
- package/lib/molecule/setup-sections/index.d.ts.map +1 -1
- package/lib/molecule/setup-slider/index.d.ts +2 -1
- package/lib/molecule/setup-slider/index.d.ts.map +1 -1
- package/lib/molecule/share/index.d.ts +4 -3
- package/lib/molecule/share/index.d.ts.map +1 -1
- package/lib/molecule/skill-card/index.d.ts +2 -1
- package/lib/molecule/skill-card/index.d.ts.map +1 -1
- package/lib/molecule/skill-card/index.native.d.ts +2 -2
- package/lib/molecule/skill-card/index.native.d.ts.map +1 -1
- package/lib/molecule/skill-picker-modal/index.d.ts +6 -5
- package/lib/molecule/skill-picker-modal/index.d.ts.map +1 -1
- package/lib/molecule/skills-chart-side-information-item/index.d.ts +3 -2
- package/lib/molecule/skills-chart-side-information-item/index.d.ts.map +1 -1
- package/lib/molecule/skills-chart-side-information-panel/index.d.ts +6 -5
- package/lib/molecule/skills-chart-side-information-panel/index.d.ts.map +1 -1
- package/lib/molecule/ssmenu-list/index.d.ts +4 -3
- package/lib/molecule/ssmenu-list/index.d.ts.map +1 -1
- package/lib/molecule/subscription-freemium/index.d.ts +2 -1
- package/lib/molecule/subscription-freemium/index.d.ts.map +1 -1
- package/lib/molecule/subscription-premium/index.d.ts +2 -1
- package/lib/molecule/subscription-premium/index.d.ts.map +1 -1
- package/lib/molecule/table/index.d.ts +10 -9
- package/lib/molecule/table/index.d.ts.map +1 -1
- package/lib/molecule/tabs/index.d.ts +4 -3
- package/lib/molecule/tabs/index.d.ts.map +1 -1
- package/lib/molecule/teams-popin/index.d.ts +2 -1
- package/lib/molecule/teams-popin/index.d.ts.map +1 -1
- package/lib/molecule/theme-image/index.d.ts +2 -1
- package/lib/molecule/theme-image/index.d.ts.map +1 -1
- package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +20 -20
- package/lib/molecule/title-and-checkbox-wrapper/index.d.ts.map +1 -1
- package/lib/molecule/title-radio-wrapper/index.d.ts +15 -15
- package/lib/molecule/title-radio-wrapper/types.d.ts +14 -14
- package/lib/molecule/titled-checkbox/index.d.ts +2 -1
- package/lib/molecule/titled-checkbox/index.d.ts.map +1 -1
- package/lib/molecule/translation-modal/index.d.ts +2 -1
- package/lib/molecule/translation-modal/index.d.ts.map +1 -1
- package/lib/molecule/unsubscribe/index.d.ts +2 -1
- package/lib/molecule/unsubscribe/index.d.ts.map +1 -1
- package/lib/molecule/vertical-tabs/index.d.ts +4 -3
- package/lib/molecule/vertical-tabs/index.d.ts.map +1 -1
- package/lib/molecule/video-iframe/index.d.ts +1 -1
- package/lib/molecule/video-iframe/index.d.ts.map +1 -1
- package/lib/molecule/video-player/index.d.ts +5 -5
- package/lib/molecule/video-player/index.d.ts.map +1 -1
- package/lib/molecule/video-player/jwplayer-prop-types.d.ts +2 -2
- package/lib/molecule/video-player/jwplayer.d.ts +3 -3
- package/lib/molecule/video-player/jwplayer.d.ts.map +1 -1
- package/lib/molecule/video-player/prop-types.d.ts +2 -2
- package/lib/molecule/video-player/vimeo.d.ts +5 -5
- package/lib/molecule/video-player/vimeo.d.ts.map +1 -1
- package/lib/molecule/video-player-mobile/index.native.d.ts +2 -2
- package/lib/molecule/video-player-mobile/index.native.d.ts.map +1 -1
- package/lib/molecule/video-player-mobile/index.native.js +10 -9
- package/lib/molecule/video-player-mobile/index.native.js.map +1 -1
- package/lib/molecule/wizard-summary/index.d.ts +9 -8
- package/lib/molecule/wizard-summary/index.d.ts.map +1 -1
- package/lib/organism/accordion/container/index.d.ts +6 -5
- package/lib/organism/accordion/container/index.d.ts.map +1 -1
- package/lib/organism/accordion/coorp-manager/index.d.ts +6 -5
- package/lib/organism/accordion/coorp-manager/index.d.ts.map +1 -1
- package/lib/organism/accordion/coorp-manager/part/index.d.ts +2 -1
- package/lib/organism/accordion/coorp-manager/part/index.d.ts.map +1 -1
- package/lib/organism/accordion/part/index.d.ts +2 -1
- package/lib/organism/accordion/part/index.d.ts.map +1 -1
- package/lib/organism/accordion/toggler/index.d.ts +8 -8
- package/lib/organism/accordion/toggler/index.d.ts.map +1 -1
- package/lib/organism/brand-analytics/analytics-popin.d.ts +2 -1
- package/lib/organism/brand-analytics/analytics-popin.d.ts.map +1 -1
- package/lib/organism/brand-analytics/index.d.ts +7 -12
- package/lib/organism/brand-analytics/index.d.ts.map +1 -1
- package/lib/organism/brand-dashboard/index.d.ts +4 -3
- package/lib/organism/brand-dashboard/index.d.ts.map +1 -1
- package/lib/organism/brand-form/index.d.ts +5 -4
- package/lib/organism/brand-form/index.d.ts.map +1 -1
- package/lib/organism/brand-learning-priorities/index.d.ts +20 -19
- package/lib/organism/brand-learning-priorities/index.d.ts.map +1 -1
- package/lib/organism/brand-table/index.d.ts +10 -9
- package/lib/organism/brand-table/index.d.ts.map +1 -1
- package/lib/organism/brand-upload/index.d.ts +4 -3
- package/lib/organism/brand-upload/index.d.ts.map +1 -1
- package/lib/organism/cards-grid/index.d.ts +3 -3
- package/lib/organism/cart/index.d.ts +2 -1
- package/lib/organism/cart/index.d.ts.map +1 -1
- package/lib/organism/content-skill-modal/index.d.ts +72 -72
- package/lib/organism/content-skill-modal/types.d.ts +71 -71
- package/lib/organism/content-translation/index.d.ts +4 -3
- package/lib/organism/content-translation/index.d.ts.map +1 -1
- package/lib/organism/course-selection/index.d.ts +3 -2
- package/lib/organism/course-selection/index.d.ts.map +1 -1
- package/lib/organism/discussion/index.d.ts +4 -3
- package/lib/organism/discussion/index.d.ts.map +1 -1
- package/lib/organism/filter-checkbox-and-search/index.d.ts +4 -4
- package/lib/organism/filter-checkbox-and-search/index.d.ts.map +1 -1
- package/lib/organism/filter-checkbox-and-search/props-types.d.ts +2 -2
- package/lib/organism/filter-chip/index.d.ts +4 -4
- package/lib/organism/filter-chip/index.d.ts.map +1 -1
- package/lib/organism/filter-chip/prop-types.d.ts +2 -2
- package/lib/organism/filter-range/index.d.ts +3 -3
- package/lib/organism/filter-range/index.d.ts.map +1 -1
- package/lib/organism/filter-range/prop-types.d.ts +1 -1
- package/lib/organism/filter-switch/index.d.ts +4 -4
- package/lib/organism/filter-switch/index.d.ts.map +1 -1
- package/lib/organism/filter-switch/prop-types.d.ts +2 -2
- package/lib/organism/get-the-app/index.d.ts +2 -1
- package/lib/organism/get-the-app/index.d.ts.map +1 -1
- package/lib/organism/grid-list/index.d.ts +2 -1
- package/lib/organism/grid-list/index.d.ts.map +1 -1
- package/lib/organism/header/index.d.ts +4 -3
- package/lib/organism/header/index.d.ts.map +1 -1
- package/lib/organism/header-v2/index.native.d.ts +2 -2
- package/lib/organism/header-v2/index.native.d.ts.map +1 -1
- package/lib/organism/header-with-actions/index.d.ts +6 -6
- package/lib/organism/header-with-actions/index.d.ts.map +1 -1
- package/lib/organism/header-with-actions/types.d.ts +4 -4
- package/lib/organism/hero/index.d.ts +2 -1
- package/lib/organism/hero/index.d.ts.map +1 -1
- package/lib/organism/icon-editor/index.d.ts +4 -4
- package/lib/organism/icon-editor/index.d.ts.map +1 -1
- package/lib/organism/icon-editor/types.d.ts +2 -2
- package/lib/organism/list-item/index.d.ts +13 -12
- package/lib/organism/list-item/index.d.ts.map +1 -1
- package/lib/organism/list-items/index.d.ts +64 -64
- package/lib/organism/list-items/index.d.ts.map +1 -1
- package/lib/organism/mobile-intro-popin/index.native.d.ts +2 -2
- package/lib/organism/mobile-intro-popin/index.native.d.ts.map +1 -1
- package/lib/organism/mobile-intro-popin/index.native.js.map +1 -1
- package/lib/organism/mobile-navigation/index.native.d.ts +2 -2
- package/lib/organism/mobile-navigation/index.native.d.ts.map +1 -1
- package/lib/organism/mobile-navigation/index.native.js.map +1 -1
- package/lib/organism/mooc/image-slider/index.d.ts +5 -4
- package/lib/organism/mooc/image-slider/index.d.ts.map +1 -1
- package/lib/organism/mooc-footer/index.d.ts +8 -7
- package/lib/organism/mooc-footer/index.d.ts.map +1 -1
- package/lib/organism/mooc-header/index.d.ts +11 -11
- package/lib/organism/mooc-header/index.d.ts.map +1 -1
- package/lib/organism/popin/index.d.ts +2 -1
- package/lib/organism/popin/index.d.ts.map +1 -1
- package/lib/organism/resource-browser/index.d.ts +5 -4
- package/lib/organism/resource-browser/index.d.ts.map +1 -1
- package/lib/organism/review-congrats/index.d.ts +2 -1
- package/lib/organism/review-congrats/index.d.ts.map +1 -1
- package/lib/organism/review-congrats/index.native.d.ts +2 -2
- package/lib/organism/review-congrats/index.native.d.ts.map +1 -1
- package/lib/organism/review-header/index.d.ts +2 -1
- package/lib/organism/review-header/index.d.ts.map +1 -1
- package/lib/organism/review-header/index.native.d.ts +2 -2
- package/lib/organism/review-header/index.native.d.ts.map +1 -1
- package/lib/organism/review-header/types.d.ts +2 -2
- package/lib/organism/review-no-skills/index.d.ts +3 -2
- package/lib/organism/review-no-skills/index.d.ts.map +1 -1
- package/lib/organism/review-no-skills/index.native.d.ts +2 -2
- package/lib/organism/review-no-skills/index.native.d.ts.map +1 -1
- package/lib/organism/review-skills/index.d.ts +2 -1
- package/lib/organism/review-skills/index.d.ts.map +1 -1
- package/lib/organism/review-skills/index.native.d.ts +2 -2
- package/lib/organism/review-skills/index.native.d.ts.map +1 -1
- package/lib/organism/review-skills/prop-types.d.ts +2 -2
- package/lib/organism/review-slide/index.d.ts +2 -1
- package/lib/organism/review-slide/index.d.ts.map +1 -1
- package/lib/organism/review-slide/index.native.d.ts +2 -2
- package/lib/organism/review-slide/index.native.d.ts.map +1 -1
- package/lib/organism/review-slide/index.native.js +5 -3
- package/lib/organism/review-slide/index.native.js.map +1 -1
- package/lib/organism/review-slide/prop-types.d.ts +14 -14
- package/lib/organism/review-stacked-slides/index.d.ts +2 -1
- package/lib/organism/review-stacked-slides/index.d.ts.map +1 -1
- package/lib/organism/review-stacked-slides/index.native.d.ts +2 -2
- package/lib/organism/review-stacked-slides/index.native.d.ts.map +1 -1
- package/lib/organism/review-stacked-slides/prop-types.d.ts +35 -35
- package/lib/organism/rewards-form/index.d.ts +22 -22
- package/lib/organism/rewards-form/index.d.ts.map +1 -1
- package/lib/organism/search-and-chips-results/index.d.ts +4 -3
- package/lib/organism/search-and-chips-results/index.d.ts.map +1 -1
- package/lib/organism/select-opponents/index.d.ts +21 -21
- package/lib/organism/select-opponents/types.d.ts +20 -20
- package/lib/organism/settings/index.d.ts +10 -9
- package/lib/organism/settings/index.d.ts.map +1 -1
- package/lib/organism/setup-header/index.d.ts +10 -9
- package/lib/organism/setup-header/index.d.ts.map +1 -1
- package/lib/organism/sidebar/index.d.ts +24 -47
- package/lib/organism/sidebar/index.d.ts.map +1 -1
- package/lib/organism/skill-edition/index.d.ts +8 -8
- package/lib/organism/skill-edition/index.d.ts.map +1 -1
- package/lib/organism/skill-edition/types.d.ts +6 -6
- package/lib/organism/slider/index.d.ts +2 -2
- package/lib/organism/slider/index.d.ts.map +1 -1
- package/lib/organism/title-and-input/index.d.ts +47 -47
- package/lib/organism/title-and-input/types.d.ts +46 -46
- package/lib/organism/user-preferences/index.d.ts +4 -3
- package/lib/organism/user-preferences/index.d.ts.map +1 -1
- package/lib/organism/wizard-contents/index.d.ts +67 -67
- package/lib/organism/wizard-contents/index.d.ts.map +1 -1
- package/lib/template/activity/engine-stars.d.ts +2 -1
- package/lib/template/activity/engine-stars.d.ts.map +1 -1
- package/lib/template/activity/index.d.ts +9 -8
- package/lib/template/activity/index.d.ts.map +1 -1
- package/lib/template/activity/progression-item.d.ts +2 -1
- package/lib/template/activity/progression-item.d.ts.map +1 -1
- package/lib/template/activity/stars-summary.d.ts +4 -3
- package/lib/template/activity/stars-summary.d.ts.map +1 -1
- package/lib/template/app-player/loading/index.d.ts +83 -83
- package/lib/template/app-player/loading/index.d.ts.map +1 -1
- package/lib/template/app-player/player/index.d.ts +168 -168
- package/lib/template/app-player/player/index.d.ts.map +1 -1
- package/lib/template/app-player/player/slides/footer/index.d.ts +4 -3
- package/lib/template/app-player/player/slides/footer/index.d.ts.map +1 -1
- package/lib/template/app-player/player/slides/header/index.d.ts +4 -3
- package/lib/template/app-player/player/slides/header/learner.d.ts +2 -1
- package/lib/template/app-player/player/slides/header/learner.d.ts.map +1 -1
- package/lib/template/app-player/player/slides/header/lives.d.ts +2 -1
- package/lib/template/app-player/player/slides/header/lives.d.ts.map +1 -1
- package/lib/template/app-player/player/slides/header/microlearning.d.ts +2 -1
- package/lib/template/app-player/player/slides/header/microlearning.d.ts.map +1 -1
- package/lib/template/app-player/player/slides/index.d.ts +110 -110
- package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
- package/lib/template/app-player/player/tourguide/index.d.ts +20 -20
- package/lib/template/app-player/player/tourguide/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-correction/index.d.ts +87 -87
- package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-end/index.d.ts +94 -94
- package/lib/template/app-player/popin-end/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-end/summary.d.ts +11 -10
- package/lib/template/app-player/popin-end/summary.d.ts.map +1 -1
- package/lib/template/app-player/popin-header/index.d.ts +8 -7
- package/lib/template/app-player/popin-header/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-no-access/index.d.ts +2 -1
- package/lib/template/app-player/popin-no-access/index.d.ts.map +1 -1
- package/lib/template/app-review/demo-ts/index.native.d.ts +2 -2
- package/lib/template/app-review/demo-ts/index.native.d.ts.map +1 -1
- package/lib/template/app-review/index.d.ts +119 -119
- package/lib/template/app-review/index.native.d.ts +2 -2
- package/lib/template/app-review/index.native.d.ts.map +1 -1
- package/lib/template/app-review/player/background-review.d.ts +2 -1
- package/lib/template/app-review/player/background-review.d.ts.map +1 -1
- package/lib/template/app-review/player/index.d.ts +2 -1
- package/lib/template/app-review/player/index.d.ts.map +1 -1
- package/lib/template/app-review/player/index.native.d.ts +2 -2
- package/lib/template/app-review/player/index.native.d.ts.map +1 -1
- package/lib/template/app-review/player/prop-types.d.ts +118 -118
- package/lib/template/app-review/prop-types.d.ts +118 -118
- package/lib/template/app-review/skills/index.d.ts +2 -1
- package/lib/template/app-review/skills/index.d.ts.map +1 -1
- package/lib/template/app-review/skills/index.native.d.ts +2 -2
- package/lib/template/app-review/skills/index.native.d.ts.map +1 -1
- package/lib/template/app-review/skills/prop-types.d.ts +2 -2
- package/lib/template/app-review/template-context.d.ts +2 -2
- package/lib/template/app-review/template-context.d.ts.map +1 -1
- package/lib/template/back-office/brand-create/index.d.ts +10 -9
- package/lib/template/back-office/brand-list/index.d.ts +10 -9
- package/lib/template/back-office/brand-update/index.d.ts +338 -344
- package/lib/template/back-office/brand-update/index.d.ts.map +1 -1
- package/lib/template/back-office/dashboard-preview/dashboard-popin.d.ts +2 -1
- package/lib/template/back-office/dashboard-preview/dashboard-popin.d.ts.map +1 -1
- package/lib/template/back-office/dashboard-preview/index.d.ts +10 -9
- package/lib/template/back-office/layout/index.d.ts +10 -9
- package/lib/template/battle-requests/index.d.ts +4 -3
- package/lib/template/battle-requests/index.d.ts.map +1 -1
- package/lib/template/certification-detail/index.d.ts +88 -88
- package/lib/template/certification-detail/index.d.ts.map +1 -1
- package/lib/template/certifications/index.d.ts +12 -11
- package/lib/template/certifications/index.d.ts.map +1 -1
- package/lib/template/cockpit/jw-uploader/index.d.ts +2 -1
- package/lib/template/cockpit/jw-uploader/index.d.ts.map +1 -1
- package/lib/template/common/authors/index.d.ts +5 -5
- package/lib/template/common/authors/index.d.ts.map +1 -1
- package/lib/template/common/coorp-header/index.d.ts +2 -1
- package/lib/template/common/coorp-header/index.d.ts.map +1 -1
- package/lib/template/common/dashboard/index.d.ts +165 -165
- package/lib/template/common/dashboard/index.d.ts.map +1 -1
- package/lib/template/common/discipline/index.d.ts +25 -24
- package/lib/template/common/discipline/index.d.ts.map +1 -1
- package/lib/template/common/faq-article-page/index.d.ts +4 -4
- package/lib/template/common/faq-article-page/index.d.ts.map +1 -1
- package/lib/template/common/faq-article-page/types.d.ts +2 -2
- package/lib/template/common/faq-cards-page/index.d.ts +4 -4
- package/lib/template/common/faq-cards-page/index.d.ts.map +1 -1
- package/lib/template/common/faq-cards-page/types.d.ts +2 -2
- package/lib/template/common/faq-page/index.d.ts +6 -6
- package/lib/template/common/faq-page/index.d.ts.map +1 -1
- package/lib/template/common/faq-page/types.d.ts +4 -4
- package/lib/template/common/privacy-policy-page/index.d.ts +6 -6
- package/lib/template/common/privacy-policy-page/index.d.ts.map +1 -1
- package/lib/template/common/privacy-policy-page/types.d.ts +4 -4
- package/lib/template/common/search-page/index.d.ts +117 -117
- package/lib/template/common/search-page/index.d.ts.map +1 -1
- package/lib/template/external-course/index.d.ts +83 -83
- package/lib/template/external-course/index.d.ts.map +1 -1
- package/lib/template/mobile-login/confirm-email-sent/index.native.d.ts +2 -2
- package/lib/template/mobile-login/confirm-email-sent/index.native.d.ts.map +1 -1
- package/lib/template/mobile-login/confirm-email-sent/index.native.js +22 -9
- package/lib/template/mobile-login/confirm-email-sent/index.native.js.map +1 -1
- package/lib/template/mobile-login/qr-code-scanner/index.native.d.ts +2 -2
- package/lib/template/mobile-login/qr-code-scanner/index.native.d.ts.map +1 -1
- package/lib/template/mobile-login/qr-code-scanner/index.native.js.map +1 -1
- package/lib/template/mobile-login/receive-email/index.native.d.ts +2 -2
- package/lib/template/mobile-login/receive-email/index.native.d.ts.map +1 -1
- package/lib/template/mobile-login/receive-email/index.native.js.map +1 -1
- package/lib/template/mobile-login/welcome/index.native.d.ts +2 -2
- package/lib/template/mobile-login/welcome/index.native.d.ts.map +1 -1
- package/lib/template/mobile-login/welcome/index.native.js +23 -10
- package/lib/template/mobile-login/welcome/index.native.js.map +1 -1
- package/lib/template/my-learning/index.d.ts +11 -10
- package/lib/template/my-learning/index.d.ts.map +1 -1
- package/lib/template/playlist-detail/index.d.ts +98 -98
- package/lib/template/playlist-detail/index.d.ts.map +1 -1
- package/lib/template/review-dashboard-skills/index.d.ts +4 -3
- package/lib/template/review-dashboard-skills/index.d.ts.map +1 -1
- package/lib/template/skill-detail/all-courses.d.ts +11 -11
- package/lib/template/skill-detail/all-courses.d.ts.map +1 -1
- package/lib/template/skill-detail/continue-learning.d.ts +4 -4
- package/lib/template/skill-detail/continue-learning.d.ts.map +1 -1
- package/lib/template/skill-detail/index.d.ts +8 -8
- package/lib/template/skill-detail/index.d.ts.map +1 -1
- package/lib/template/teams-dashboard/index.d.ts +11 -10
- package/lib/template/teams-dashboard/index.d.ts.map +1 -1
- package/lib/util/button-icons.d.ts +2 -2
- package/lib/util/get-resized-image.d.ts +2 -2
- package/lib/util/get-resized-image.d.ts.map +1 -1
- package/lib/util/image.d.ts +1 -1
- package/lib/util/image.d.ts.map +1 -1
- package/lib/util/proptypes.d.ts +1 -1
- package/lib/util/proptypes.d.ts.map +1 -1
- package/lib/variables/colors.d.ts +1 -1
- package/lib/variables/colors.js +1 -1
- package/lib/variables/colors.js.map +1 -1
- package/package.json +21 -19
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.native.js","names":["React","useEffect","useState","Animated","Dimensions","StyleSheet","View","LinearGradient","NovaSolidStatusClose","CloseIcon","NovaCompositionCoorpacademyCheck","CheckIcon","NovaCompositionCoorpacademyEmail","MailIcon","useAnimateProp","useTranslateY","Touchable","useTemplateContext","Text","SCREEN","get","createStyleSheet","theme","create","wrapper","top","bottom","left","right","flex","justifyContent","alignItems","paddingHorizontal","backButton","position","closeIcon","fill","width","height","gradients","gradient","opacity","transform","rotate","gradient2","content","checkIconWrapper","backgroundColor","marginVertical","borderRadius","checkIconInnerWrapper","padding","checkIcon","title","color","fontWeight","textAlign","fontSize","lineHeight","paddingVertical","description","ctaWrapper","ctaOpenInbox","flexDirection","overflow","colors","cta","ctaOpenInboxText","marginLeft","mailIcon","ConfirmEmailSent","props","locales","onClose","onOpenInbox","styleSheet","setStylesheet","translateGradients","fromValue","toValue","duration","delay","fadeInContent","property","_stylesheet","start","createElement","style","animatedStyle","locations","successTitle","successDescription","onPress","testID","successCta"],"sources":["../../../../src/template/mobile-login/confirm-email-sent/index.native.tsx"],"sourcesContent":["import React, {useEffect, useState} from 'react';\nimport {Animated, Dimensions, StyleSheet, TextStyle, View, ViewStyle} from 'react-native';\nimport LinearGradient from 'react-native-linear-gradient';\nimport {\n NovaSolidStatusClose as CloseIcon,\n NovaCompositionCoorpacademyCheck as CheckIcon,\n NovaCompositionCoorpacademyEmail as MailIcon\n} from '@coorpacademy/nova-icons';\nimport {useAnimateProp, useTranslateY} from '@coorpacademy/react-native-animation';\nimport Touchable from '../../../hoc/touchable/index.native';\nimport {useTemplateContext} from '../../app-review/template-context';\nimport {Theme} from '../../../variables/theme.native';\nimport Text from '../../../atom/text/index.native';\n\nconst SCREEN = Dimensions.get('screen');\n\ntype StyleSheetType = {\n wrapper: ViewStyle;\n content: ViewStyle;\n backButton: ViewStyle;\n closeIcon: ViewStyle;\n gradients: ViewStyle;\n gradient: ViewStyle;\n gradient2: ViewStyle;\n title: TextStyle;\n description: TextStyle;\n ctaWrapper: ViewStyle;\n ctaOpenInbox: ViewStyle;\n ctaOpenInboxText: TextStyle;\n mailIcon: ViewStyle;\n checkIconWrapper: ViewStyle;\n checkIconInnerWrapper: ViewStyle;\n checkIcon: ViewStyle;\n};\n\nconst createStyleSheet = (theme: Theme): StyleSheetType =>\n StyleSheet.create({\n wrapper: {\n top: 0,\n bottom: 0,\n left: 0,\n right: 0,\n flex: 1,\n justifyContent: 'center',\n alignItems: 'center',\n paddingHorizontal: 24\n },\n backButton: {\n position: 'absolute',\n top: 60,\n left: 30\n },\n closeIcon: {\n fill: '#515161',\n width: 20,\n height: 20\n },\n gradients: {\n position: 'absolute',\n top: 0,\n height: SCREEN.height,\n left: 0,\n right: 0,\n flex: 1\n },\n gradient: {\n position: 'absolute',\n top: -80,\n bottom: 400,\n left: -180,\n right: -180,\n opacity: 1,\n transform: [{rotate: '15deg'}]\n },\n gradient2: {\n position: 'absolute',\n top: -30,\n bottom: 0,\n left: 0,\n right: 0,\n opacity: 0.6\n },\n content: {\n width: '100%',\n justifyContent: 'space-around',\n alignItems: 'center'\n },\n checkIconWrapper: {\n backgroundColor: '#E8FCF8',\n width: 64,\n height: 64,\n marginVertical: 12,\n borderRadius: 16,\n justifyContent: 'center',\n alignItems: 'center'\n },\n checkIconInnerWrapper: {\n backgroundColor: '#18BB98',\n width: 24,\n height: 24,\n padding: 4,\n borderRadius: 50,\n justifyContent: 'center',\n alignItems: 'center'\n },\n checkIcon: {\n fill: '#fff',\n width: 12,\n height: 12\n },\n title: {\n color: '#1D1D2B',\n fontWeight: '600',\n textAlign: 'center',\n fontSize: 28,\n lineHeight: 36,\n paddingVertical: 8\n },\n description: {\n color: '#1D1D2B',\n fontWeight: '400',\n textAlign: 'center',\n fontSize: 17,\n lineHeight: 24,\n paddingVertical: 8\n },\n ctaWrapper: {\n position: 'absolute',\n width: '100%',\n bottom: 60\n },\n ctaOpenInbox: {\n paddingVertical: 12,\n marginVertical: 4,\n flexDirection: 'row',\n justifyContent: 'center',\n borderRadius: 12,\n alignItems: 'center',\n overflow: 'hidden',\n backgroundColor: theme.colors.cta\n },\n ctaOpenInboxText: {\n marginLeft: 8,\n color: '#fff',\n fontWeight: '700',\n fontSize: 14,\n lineHeight: 24\n },\n mailIcon: {\n fill: '#fff',\n height: 14,\n width: 14\n }\n });\n\nexport type Props = {\n onClose: () => void;\n onOpenInbox: () => void;\n locales: {\n successTitle: string;\n successDescription: string;\n successCta: string;\n };\n};\n\nconst ConfirmEmailSent = (props: Props) => {\n const {locales, onClose, onOpenInbox} = props;\n const {theme} = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n\n const translateGradients = useTranslateY({\n fromValue: 50,\n toValue: -SCREEN.height * 0.4,\n duration: 250,\n delay: 650\n });\n\n const fadeInContent = useAnimateProp({\n property: 'opacity',\n fromValue: 0,\n toValue: 1,\n duration: 650,\n delay: 750\n });\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(theme);\n setStylesheet(_stylesheet);\n }, [theme]);\n\n useEffect(() => {\n fadeInContent.start();\n translateGradients.start();\n // on mount only\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n if (!styleSheet) {\n return null;\n }\n\n return (\n <Animated.View style={styleSheet.wrapper}>\n <Animated.View style={[styleSheet.gradients, translateGradients.animatedStyle]}>\n <LinearGradient\n colors={['#179c57', '#fff0']}\n locations={[0, 0.5]}\n style={styleSheet.gradient}\n />\n <LinearGradient\n colors={['#18BB98', '#18BB9800']}\n locations={[0, 1]}\n style={styleSheet.gradient2}\n />\n </Animated.View>\n <Animated.View style={[styleSheet.content, fadeInContent.animatedStyle]}>\n <View style={styleSheet.checkIconWrapper}>\n <View style={styleSheet.checkIconInnerWrapper}>\n <CheckIcon style={styleSheet.checkIcon} />\n </View>\n </View>\n <Text style={styleSheet.title}>{locales.successTitle}</Text>\n <Text style={styleSheet.description}>{locales.successDescription}</Text>\n </Animated.View>\n\n <Touchable style={styleSheet.backButton} onPress={onClose} testID=\"close-button\">\n <CloseIcon style={styleSheet.closeIcon} />\n </Touchable>\n\n <Animated.View style={[styleSheet.ctaWrapper, fadeInContent.animatedStyle]}>\n <Touchable style={styleSheet.ctaOpenInbox} onPress={onOpenInbox} testID=\"open-inbox-button\">\n <MailIcon style={styleSheet.mailIcon} />\n <Text style={styleSheet.ctaOpenInboxText}>{locales.successCta}</Text>\n </Touchable>\n </Animated.View>\n </Animated.View>\n );\n};\n\nexport default ConfirmEmailSent;\n"],"mappings":"AAAA,OAAOA,KAAK,IAAGC,SAAS,EAAEC,QAAQ,QAAO,OAAO;AAChD,SAAQC,QAAQ,EAAEC,UAAU,EAAEC,UAAU,EAAaC,IAAI,QAAkB,cAAc;AACzF,OAAOC,cAAc,MAAM,8B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B;EAAsB,gBAC5ClD,KAAA,CAAAsF,aAAA,CAAC3E,SAAS;IAAC4E,KAAK,EAAEZ,UAAU,CAACvB;EAAU,CAAE,CACrC,CACF,CAAC,eACPpD,KAAA,CAAAsF,aAAA,CAACpE,IAAI;IAACqE,KAAK,EAAEZ,UAAU,CAACtB;EAAM,GAAEmB,OAAO,CAACkB,YAAmB,CAAC,eAC5D1F,KAAA,CAAAsF,aAAA,CAACpE,IAAI;IAACqE,KAAK,EAAEZ,UAAU,CAACf;EAAY,GAAEY,OAAO,CAACmB,kBAAyB,CAC1D,CAAC,eAEhB3F,KAAA,CAAAsF,aAAA,CAACtE,SAAS;IAACuE,KAAK,EAAEZ,UAAU,CAAC1C,UAAW;IAAC2D,OAAO,EAAEnB,OAAQ;IAACoB,MAAM,EAAC;EAAc,gBAC9E7F,KAAA,CAAAsF,aAAA,CAAC7E,SAAS;IAAC8E,KAAK,EAAEZ,UAAU,CAACxC;EAAU,CAAE,CAChC,CAAC,eAEZnC,KAAA,CAAAsF,aAAA,CAACnF,QAAQ,CAACG,IAAI;IAACiF,KAAK,EAAE,CAACZ,UAAU,CAACd,UAAU,EAAEqB,aAAa,CAACM,aAAa;EAAE,gBACzExF,KAAA,CAAAsF,aAAA,CAACtE,SAAS;IAACuE,KAAK,EAAEZ,UAAU,CAACb,YAAa;IAAC8B,OAAO,EAAElB,WAAY;IAACmB,MAAM,EAAC;EAAmB,gBACzF7F,KAAA,CAAAsF,aAAA,CAACzE,QAAQ;IAAC0E,KAAK,EAAEZ,UAAU,CAACN;EAAS,CAAE,CAAC,eACxCrE,KAAA,CAAAsF,aAAA,CAACpE,IAAI;IAACqE,KAAK,EAAEZ,UAAU,CAACR;EAAiB,GAAEK,OAAO,CAACsB,UAAiB,CAC3D,CACE,CACF,CAAC;AAEpB,CAAC;AAED,eAAexB,gBAAgB","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"index.native.js","names":["React","useEffect","useState","Animated","Dimensions","StyleSheet","View","Platform","NovaSolidStatusClose","CloseIcon","NovaCompositionCoorpacademyCheck","CheckIcon","NovaCompositionCoorpacademyEmail","MailIcon","useAnimateProp","useTranslateY","Touchable","useTemplateContext","Text","SCREEN","get","createStyleSheet","theme","create","wrapper","top","bottom","left","right","flex","justifyContent","alignItems","paddingHorizontal","backButton","position","closeIcon","fill","width","height","gradients","gradient","opacity","transform","rotate","gradient2","content","checkIconWrapper","backgroundColor","marginVertical","borderRadius","checkIconInnerWrapper","padding","checkIcon","title","color","fontWeight","textAlign","fontSize","lineHeight","paddingVertical","description","ctaWrapper","ctaOpenInbox","flexDirection","overflow","colors","cta","ctaOpenInboxText","marginLeft","mailIcon","ConfirmEmailSent","props","locales","onClose","onOpenInbox","styleSheet","setStylesheet","translateGradients","fromValue","toValue","duration","delay","fadeInContent","property","_stylesheet","start","createElement","style","animatedStyle","select","default","experimental_backgroundImage","web","backgroundImage","successTitle","successDescription","onPress","testID","successCta"],"sources":["../../../../src/template/mobile-login/confirm-email-sent/index.native.tsx"],"sourcesContent":["import React, {useEffect, useState} from 'react';\nimport {Animated, Dimensions, StyleSheet, TextStyle, View, ViewStyle, Platform} from 'react-native';\nimport {\n NovaSolidStatusClose as CloseIcon,\n NovaCompositionCoorpacademyCheck as CheckIcon,\n NovaCompositionCoorpacademyEmail as MailIcon\n} from '@coorpacademy/nova-icons';\nimport {useAnimateProp, useTranslateY} from '@coorpacademy/react-native-animation';\nimport Touchable from '../../../hoc/touchable/index.native';\nimport {useTemplateContext} from '../../app-review/template-context';\nimport {Theme} from '../../../variables/theme.native';\nimport Text from '../../../atom/text/index.native';\n\nconst SCREEN = Dimensions.get('screen');\n\ntype StyleSheetType = {\n wrapper: ViewStyle;\n content: ViewStyle;\n backButton: ViewStyle;\n closeIcon: ViewStyle & {fill?: string};\n gradients: ViewStyle;\n gradient: ViewStyle;\n gradient2: ViewStyle;\n title: TextStyle;\n description: TextStyle;\n ctaWrapper: ViewStyle;\n ctaOpenInbox: ViewStyle;\n ctaOpenInboxText: TextStyle;\n mailIcon: ViewStyle & {fill?: string};\n checkIconWrapper: ViewStyle;\n checkIconInnerWrapper: ViewStyle;\n checkIcon: ViewStyle & {fill?: string};\n};\n\nconst createStyleSheet = (theme: Theme): StyleSheetType =>\n StyleSheet.create<StyleSheetType>({\n wrapper: {\n top: 0,\n bottom: 0,\n left: 0,\n right: 0,\n flex: 1,\n justifyContent: 'center',\n alignItems: 'center',\n paddingHorizontal: 24\n },\n backButton: {\n position: 'absolute',\n top: 60,\n left: 30\n },\n closeIcon: {\n fill: '#515161',\n width: 20,\n height: 20\n } as ViewStyle & {fill?: string},\n gradients: {\n position: 'absolute',\n top: 0,\n height: SCREEN.height,\n left: 0,\n right: 0,\n flex: 1\n },\n gradient: {\n position: 'absolute',\n top: -80,\n bottom: 400,\n left: -180,\n right: -180,\n opacity: 1,\n transform: [{rotate: '15deg'}]\n },\n gradient2: {\n position: 'absolute',\n top: -30,\n bottom: 0,\n left: 0,\n right: 0,\n opacity: 0.6\n },\n content: {\n width: '100%',\n justifyContent: 'space-around',\n alignItems: 'center'\n },\n checkIconWrapper: {\n backgroundColor: '#E8FCF8',\n width: 64,\n height: 64,\n marginVertical: 12,\n borderRadius: 16,\n justifyContent: 'center',\n alignItems: 'center'\n },\n checkIconInnerWrapper: {\n backgroundColor: '#18BB98',\n width: 24,\n height: 24,\n padding: 4,\n borderRadius: 50,\n justifyContent: 'center',\n alignItems: 'center'\n },\n checkIcon: {\n fill: '#fff',\n width: 12,\n height: 12\n } as ViewStyle & {fill?: string},\n title: {\n color: '#1D1D2B',\n fontWeight: '600',\n textAlign: 'center',\n fontSize: 28,\n lineHeight: 36,\n paddingVertical: 8\n },\n description: {\n color: '#1D1D2B',\n fontWeight: '400',\n textAlign: 'center',\n fontSize: 17,\n lineHeight: 24,\n paddingVertical: 8\n },\n ctaWrapper: {\n position: 'absolute',\n width: '100%',\n bottom: 60\n },\n ctaOpenInbox: {\n paddingVertical: 12,\n marginVertical: 4,\n flexDirection: 'row',\n justifyContent: 'center',\n borderRadius: 12,\n alignItems: 'center',\n overflow: 'hidden',\n backgroundColor: theme.colors.cta\n },\n ctaOpenInboxText: {\n marginLeft: 8,\n color: '#fff',\n fontWeight: '700',\n fontSize: 14,\n lineHeight: 24\n },\n mailIcon: {\n fill: '#fff',\n height: 14,\n width: 14\n } as ViewStyle & {fill?: string}\n });\n\nexport type Props = {\n onClose: () => void;\n onOpenInbox: () => void;\n locales: {\n successTitle: string;\n successDescription: string;\n successCta: string;\n };\n};\n\nconst ConfirmEmailSent = (props: Props) => {\n const {locales, onClose, onOpenInbox} = props;\n const {theme} = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n\n const translateGradients = useTranslateY({\n fromValue: 50,\n toValue: -SCREEN.height * 0.4,\n duration: 250,\n delay: 650\n });\n\n const fadeInContent = useAnimateProp({\n property: 'opacity',\n fromValue: 0,\n toValue: 1,\n duration: 650,\n delay: 750\n });\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(theme);\n setStylesheet(_stylesheet);\n }, [theme]);\n\n useEffect(() => {\n fadeInContent.start();\n translateGradients.start();\n // on mount only\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n if (!styleSheet) {\n return null;\n }\n\n return (\n <Animated.View style={styleSheet.wrapper}>\n <Animated.View style={[styleSheet.gradients, translateGradients.animatedStyle]}>\n <View\n style={[\n styleSheet.gradient,\n Platform.select({\n default: {\n // @ts-ignore\n experimental_backgroundImage: 'linear-gradient(180deg, #179c57 0%, #fff0 50%)'\n },\n web: {\n // @ts-ignore\n backgroundImage: 'linear-gradient(180deg, #179c57 0%, #fff0 50%)'\n }\n }) as ViewStyle\n ]}\n />\n <View\n style={[\n styleSheet.gradient2,\n Platform.select({\n default: {\n // @ts-ignore\n experimental_backgroundImage: 'linear-gradient(180deg, #18BB98 0%, #18BB9800 100%)'\n },\n web: {\n // @ts-ignore\n backgroundImage: 'linear-gradient(180deg, #18BB98 0%, #18BB9800 100%)'\n }\n }) as ViewStyle\n ]}\n />\n </Animated.View>\n <Animated.View style={[styleSheet.content, fadeInContent.animatedStyle]}>\n <View style={styleSheet.checkIconWrapper}>\n <View style={styleSheet.checkIconInnerWrapper}>\n <CheckIcon style={styleSheet.checkIcon} />\n </View>\n </View>\n <Text style={styleSheet.title}>{locales.successTitle}</Text>\n <Text style={styleSheet.description}>{locales.successDescription}</Text>\n </Animated.View>\n\n <Touchable style={styleSheet.backButton} onPress={onClose} testID=\"close-button\">\n <CloseIcon style={styleSheet.closeIcon} />\n </Touchable>\n\n <Animated.View style={[styleSheet.ctaWrapper, fadeInContent.animatedStyle]}>\n <Touchable style={styleSheet.ctaOpenInbox} onPress={onOpenInbox} testID=\"open-inbox-button\">\n <MailIcon style={styleSheet.mailIcon} />\n <Text style={styleSheet.ctaOpenInboxText}>{locales.successCta}</Text>\n </Touchable>\n </Animated.View>\n </Animated.View>\n );\n};\n\nexport default ConfirmEmailSent;\n"],"mappings":"AAAA,OAAOA,KAAK,IAAGC,SAAS,EAAEC,QAAQ,QAAO,OAAO;AAChD,SAAQC,QAAQ,EAAEC,UAAU,EAAEC,UAAU,EAAaC,IAAI,EAAaC,QAAQ,QAAO,cAAc;AACnG,SACEC,oBAAoB,IAAIC,SAAS,EACjCC,gCAAgC,IAAIC,SAAS,EAC7CC,gCAAgC,IAAIC,QAAQ,QACvC,0BAA0B;AACjC,SAAQC,cAAc,EAAEC,aAAa,QAAO,sCAAsC;AAClF,OAAOC,SAAS,MAAM,qCAAqC;AAC3D,SAAQC,kBAAkB,QAAO,mCAAmC;AAEpE,OAAOC,IAAI,MAAM,iCAAiC;AAElD,MAAMC,MAAM,GAAGf,UAAU,CAACgB,GAAG,CAAC,QAAQ,CAAC;AAqBvC,MAAMC,gBAAgB,GAAIC,KAAY,IACpCjB,UAAU,CAACkB,MAAM,CAAiB;EAChCC,OAAO,EAAE;IACPC,GAAG,EAAE,CAAC;IACNC,MAAM,EAAE,CAAC;IACTC,IAAI,EAAE,CAAC;I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,KAAA,CAAAsF,aAAA,CAACtE,SAAS;IAACuE,KAAK,EAAEZ,UAAU,CAAC1C,UAAW;IAAC+D,OAAO,EAAEvB,OAAQ;IAACwB,MAAM,EAAC;EAAc,gBAC9EjG,KAAA,CAAAsF,aAAA,CAAC7E,SAAS;IAAC8E,KAAK,EAAEZ,UAAU,CAACxC;EAAU,CAAE,CAChC,CAAC,eAEZnC,KAAA,CAAAsF,aAAA,CAACnF,QAAQ,CAACG,IAAI;IAACiF,KAAK,EAAE,CAACZ,UAAU,CAACd,UAAU,EAAEqB,aAAa,CAACM,aAAa;EAAE,gBACzExF,KAAA,CAAAsF,aAAA,CAACtE,SAAS;IAACuE,KAAK,EAAEZ,UAAU,CAACb,YAAa;IAACkC,OAAO,EAAEtB,WAAY;IAACuB,MAAM,EAAC;EAAmB,gBACzFjG,KAAA,CAAAsF,aAAA,CAACzE,QAAQ;IAAC0E,KAAK,EAAEZ,UAAU,CAACN;EAAS,CAAE,CAAC,eACxCrE,KAAA,CAAAsF,aAAA,CAACpE,IAAI;IAACqE,KAAK,EAAEZ,UAAU,CAACR;EAAiB,GAAEK,OAAO,CAAC0B,UAAiB,CAC3D,CACE,CACF,CAAC;AAEpB,CAAC;AAED,eAAe5B,gBAAgB","ignoreList":[]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export interface Props {
|
|
3
3
|
hasPermission: boolean;
|
|
4
4
|
onScan: (token?: string) => void;
|
|
@@ -11,6 +11,6 @@ export interface Props {
|
|
|
11
11
|
titleHelp: string;
|
|
12
12
|
};
|
|
13
13
|
}
|
|
14
|
-
declare const QRCodeScanner: (props: Props) => JSX.Element;
|
|
14
|
+
declare const QRCodeScanner: (props: Props) => React.JSX.Element;
|
|
15
15
|
export default QRCodeScanner;
|
|
16
16
|
//# sourceMappingURL=index.native.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../../src/template/mobile-login/qr-code-scanner/index.native.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../../src/template/mobile-login/qr-code-scanner/index.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAS5D,MAAM,WAAW,KAAK;IACpB,aAAa,EAAE,OAAO,CAAC;IACvB,MAAM,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,OAAO,EAAE;QACP,KAAK,EAAE,MAAM,CAAC;QACd,YAAY,EAAE,MAAM,CAAC;QACrB,YAAY,EAAE,MAAM,CAAC;QACrB,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;CACH;AA4PD,QAAA,MAAM,aAAa,UAAW,KAAK,sBAkDlC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.native.js","names":["React","useCallback","useEffect","useRef","Animated","Easing","StyleSheet","View","QRCodeScannerBase","NovaCompositionCoorpacademyQrCode","QrCodeIcon","Touchable","Text","HEIGHT","WIDTH","COLOR","BORDER_RADIUS","LINE_WIDTH","styles","create","container","width","height","camera","blurs","position","opacity","blurTop","backgroundColor","transform","translateY","blurBottom","bottom","blurLeft","left","top","translateX","blurRight","right","targetStyle","target","borderRadius","overflow","square","stroke","explanationsStyle","explanations","borderTopLeftRadius","borderTopRightRadius","paddingHorizontal","paddingTop","paddingBottom","titleWrapper","flexDirection","alignItems","justifyContent","paddingVertical","qrCodeIcon","fill","titleText","fontWeight","color","fontSize","lineHeight","letterSpacing","marginLeft","line","paddingRight","lineText","marginRight","help","marginTop","titleHelp","ctaHelp","textDecorationLine","Corner","props","lineLength","createElement","style","Target","animationRef","Value","current","interpolate","inputRange","outputRange","animation","timing","toValue","duration","delay","easing","out","sin","useNativeDriver","start","rotate","Explanations","locales","onHelpPress","animateBottom","title","explanation1","explanation2","onPress","QRCodeScanner","hasPermission","onScan","handleRead","data","undefined","blurRef","blurOpacity","testID","fadeIn","onRead","cameraStyle","cameraProps","captureAudio"],"sources":["../../../../src/template/mobile-login/qr-code-scanner/index.native.tsx"],"sourcesContent":["import React, {useCallback, useEffect, useRef} from 'react';\nimport {Animated, Easing, StyleSheet, View, ViewStyle} from 'react-native';\n\nimport QRCodeScannerBase from 'react-native-qrcode-scanner';\nimport type {BarCodeReadEvent} from 'react-native-camera';\nimport {NovaCompositionCoorpacademyQrCode as QrCodeIcon} from '@coorpacademy/nova-icons';\nimport Touchable from '../../../hoc/touchable/index.native';\nimport Text from '../../../atom/text/index.native';\n\nexport interface Props {\n hasPermission: boolean;\n onScan: (token?: string) => void;\n onHelpPress: () => void;\n locales: {\n title: string;\n explanation1: string;\n explanation2: string;\n ctaHelp: string;\n titleHelp: string;\n };\n}\n\nconst HEIGHT = 280;\nconst WIDTH = 280;\nconst COLOR = '#fff';\nconst BORDER_RADIUS = 8;\n\nconst LINE_WIDTH = 7;\n\nconst styles = StyleSheet.create({\n container: {\n width: '100%',\n height: '100%'\n },\n camera: {\n width: '100%',\n height: '100%'\n },\n blurs: {\n position: 'absolute',\n width: '100%',\n height: '100%',\n opacity: 0.6\n },\n blurTop: {\n position: 'absolute',\n backgroundColor: '#000',\n width: '100%',\n height: '35%',\n transform: [{translateY: -HEIGHT / 2 + LINE_WIDTH / 2}]\n },\n blurBottom: {\n position: 'absolute',\n backgroundColor: '#000',\n width: '100%',\n height: '65%',\n bottom: 0,\n transform: [{translateY: HEIGHT / 2 - LINE_WIDTH / 2}]\n },\n blurLeft: {\n position: 'absolute',\n backgroundColor: '#000',\n width: '50%',\n height: HEIGHT - LINE_WIDTH,\n left: 0,\n top: '35%',\n transform: [\n {translateX: -WIDTH / 2 + LINE_WIDTH / 2},\n {translateY: -HEIGHT / 2 + LINE_WIDTH / 2}\n ]\n },\n blurRight: {\n position: 'absolute',\n backgroundColor: '#000',\n width: '50%',\n height: HEIGHT - LINE_WIDTH,\n right: 0,\n top: '35%',\n transform: [\n {translateX: WIDTH / 2 - LINE_WIDTH / 2},\n {translateY: -HEIGHT / 2 + LINE_WIDTH / 2}\n ]\n }\n});\n\nconst targetStyle = StyleSheet.create({\n target: {\n width: HEIGHT,\n height: WIDTH,\n top: '35%',\n left: '50%',\n transform: [{translateX: -WIDTH / 2}, {translateY: -HEIGHT / 2}],\n borderRadius: BORDER_RADIUS,\n position: 'absolute',\n overflow: 'hidden'\n },\n square: {\n position: 'absolute',\n width: '35%',\n height: '35%'\n },\n stroke: {\n position: 'absolute',\n top: 0,\n left: 0,\n backgroundColor: COLOR,\n borderRadius: BORDER_RADIUS\n }\n});\n\nconst explanationsStyle = StyleSheet.create({\n explanations: {\n position: 'absolute',\n width: '100%',\n bottom: 0,\n backgroundColor: '#fff',\n borderTopLeftRadius: 30,\n borderTopRightRadius: 30,\n paddingHorizontal: 24,\n paddingTop: 8,\n paddingBottom: 30\n },\n titleWrapper: {\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'flex-start',\n paddingVertical: 16\n },\n qrCodeIcon: {\n fill: '#000',\n height: 14,\n width: 14\n },\n titleText: {\n fontWeight: '600',\n color: '#1D1D2B',\n fontSize: 21,\n lineHeight: 24,\n letterSpacing: 0.5,\n marginLeft: 7\n },\n line: {\n flexDirection: 'row',\n paddingRight: 24,\n paddingVertical: 8\n },\n lineText: {\n fontWeight: '400',\n color: '#1D1D2B',\n fontSize: 18,\n lineHeight: 24,\n letterSpacing: 0.5,\n marginRight: 7\n },\n help: {\n flexDirection: 'row',\n marginTop: 12\n },\n titleHelp: {\n fontSize: 16,\n color: '#9999A8'\n },\n ctaHelp: {\n marginLeft: 5,\n fontSize: 16,\n letterSpacing: 0.5,\n textDecorationLine: 'underline',\n color: '#9999A8'\n }\n});\n\nconst Corner = (props: {position: ViewStyle; lineLength: Animated.AnimatedInterpolation}) => {\n const {position, lineLength} = props;\n\n return (\n <View style={[targetStyle.square, position]}>\n <Animated.View style={[targetStyle.stroke, {height: LINE_WIDTH, width: lineLength}]} />\n <Animated.View style={[targetStyle.stroke, {width: LINE_WIDTH, height: lineLength}]} />\n </View>\n );\n};\n\nconst Target = () => {\n const animationRef = useRef<Animated.Value>(new Animated.Value(0)).current;\n const lineLength = animationRef.interpolate({\n inputRange: [0, 1],\n outputRange: [0, WIDTH * 0.35]\n });\n\n useEffect(() => {\n const animation = Animated.timing(animationRef, {\n toValue: 1,\n duration: 700,\n delay: 400,\n easing: Easing.out(Easing.sin),\n useNativeDriver: false\n });\n\n animation.start();\n // on mount only\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n return (\n <View style={targetStyle.target}>\n <Corner lineLength={lineLength} position={{top: 0, left: 0, transform: [{rotate: '0deg'}]}} />\n <Corner\n lineLength={lineLength}\n position={{top: 0, right: 0, transform: [{rotate: '90deg'}]}}\n />\n <Corner\n lineLength={lineLength}\n position={{bottom: 0, right: 0, transform: [{rotate: '180deg'}]}}\n />\n <Corner\n lineLength={lineLength}\n position={{bottom: 0, left: 0, transform: [{rotate: '270deg'}]}}\n />\n </View>\n );\n};\n\nconst Explanations = (props: {locales: Props['locales']; onHelpPress: Props['onHelpPress']}) => {\n const {locales, onHelpPress} = props;\n\n const animationRef = useRef<Animated.Value>(new Animated.Value(0)).current;\n const animateBottom = animationRef.interpolate({\n inputRange: [0, 1],\n outputRange: [-300, 0]\n });\n\n useEffect(() => {\n const animation = Animated.timing(animationRef, {\n toValue: 1,\n duration: 600,\n delay: 400,\n easing: Easing.out(Easing.sin),\n useNativeDriver: false\n });\n\n animation.start();\n\n // on mount only\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n return (\n <Animated.View style={[explanationsStyle.explanations, {bottom: animateBottom}]}>\n <View style={explanationsStyle.titleWrapper}>\n <QrCodeIcon style={explanationsStyle.qrCodeIcon} />\n <Text style={explanationsStyle.titleText}>{locales.title}</Text>\n </View>\n <View style={explanationsStyle.line}>\n <Text style={explanationsStyle.lineText}>1.</Text>\n <Text style={explanationsStyle.lineText}>{locales.explanation1}</Text>\n </View>\n <View style={explanationsStyle.line}>\n <Text style={explanationsStyle.lineText}>2.</Text>\n <Text style={explanationsStyle.lineText}>{locales.explanation2}</Text>\n </View>\n\n <Touchable onPress={onHelpPress} style={explanationsStyle.help}>\n <Text style={explanationsStyle.titleHelp}>{locales.titleHelp}</Text>\n <Text style={explanationsStyle.ctaHelp}>{locales.ctaHelp}</Text>\n </Touchable>\n </Animated.View>\n );\n};\n\nconst QRCodeScanner = (props: Props) => {\n const {hasPermission, locales, onScan, onHelpPress} = props;\n\n const handleRead = useCallback(({data}: BarCodeReadEvent) => {\n onScan(typeof data === 'string' ? data : undefined);\n // on mount only\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const blurRef = useRef<Animated.Value>(new Animated.Value(0)).current;\n const blurOpacity = blurRef.interpolate({\n inputRange: [0, 1],\n outputRange: [0, 0.7]\n });\n\n useEffect(() => {\n const animation = Animated.timing(blurRef, {\n toValue: 1,\n duration: 800,\n delay: 600,\n easing: Easing.out(Easing.sin),\n useNativeDriver: false\n });\n\n animation.start();\n\n // on mount only\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n return (\n <View style={styles.container} testID=\"qr-code-scanner\">\n {hasPermission ? (\n <QRCodeScannerBase\n fadeIn={false}\n onRead={handleRead}\n cameraStyle={styles.camera}\n cameraProps={{captureAudio: false}}\n />\n ) : null}\n <Animated.View style={[styles.blurs, {opacity: blurOpacity}]}>\n <View style={styles.blurTop} />\n <View style={styles.blurBottom} />\n <View style={styles.blurLeft} />\n <View style={styles.blurRight} />\n </Animated.View>\n <Target />\n <Explanations locales={locales} onHelpPress={onHelpPress} />\n </View>\n );\n};\n\nexport default QRCodeScanner;\n"],"mappings":"AAAA,OAAOA,KAAK,IAAGC,WAAW,EAAEC,SAAS,EAAEC,MAAM,QAAO,O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AK,EAAE7D,MAAM,CAACS;EAAQ,CAAE,CAAC,eAC/B3B,KAAA,CAAA8E,aAAA,CAACvE,IAAI;IAACwE,KAAK,EAAE7D,MAAM,CAACa;EAAW,CAAE,CAAC,eAClC/B,KAAA,CAAA8E,aAAA,CAACvE,IAAI;IAACwE,KAAK,EAAE7D,MAAM,CAACe;EAAS,CAAE,CAAC,eAChCjC,KAAA,CAAA8E,aAAA,CAACvE,IAAI;IAACwE,KAAK,EAAE7D,MAAM,CAACmB;EAAU,CAAE,CACnB,CAAC,eAChBrC,KAAA,CAAA8E,aAAA,CAACE,MAAM,MAAE,CAAC,eACVhF,KAAA,CAAA8E,aAAA,CAACoB,YAAY;IAACC,OAAO,EAAEA,OAAQ;IAACC,WAAW,EAAEA;EAAY,CAAE,CACvD,CAAC;AAEX,CAAC;AAED,eAAeM,aAAa","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"index.native.js","names":["React","useCallback","useEffect","useRef","Animated","Easing","StyleSheet","View","QRCodeScannerBase","NovaCompositionCoorpacademyQrCode","QrCodeIcon","Touchable","Text","HEIGHT","WIDTH","COLOR","BORDER_RADIUS","LINE_WIDTH","styles","create","container","width","height","camera","blurs","position","opacity","blurTop","backgroundColor","transform","translateY","blurBottom","bottom","blurLeft","left","top","translateX","blurRight","right","targetStyle","target","borderRadius","overflow","square","stroke","explanationsStyle","explanations","borderTopLeftRadius","borderTopRightRadius","paddingHorizontal","paddingTop","paddingBottom","titleWrapper","flexDirection","alignItems","justifyContent","paddingVertical","qrCodeIcon","fill","titleText","fontWeight","color","fontSize","lineHeight","letterSpacing","marginLeft","line","paddingRight","lineText","marginRight","help","marginTop","titleHelp","ctaHelp","textDecorationLine","Corner","props","lineLength","createElement","style","Target","animationRef","Value","current","interpolate","inputRange","outputRange","animation","timing","toValue","duration","delay","easing","out","sin","useNativeDriver","start","rotate","Explanations","locales","onHelpPress","animateBottom","title","explanation1","explanation2","onPress","QRCodeScanner","hasPermission","onScan","handleRead","data","undefined","blurRef","blurOpacity","testID","fadeIn","onRead","cameraStyle","cameraProps","captureAudio"],"sources":["../../../../src/template/mobile-login/qr-code-scanner/index.native.tsx"],"sourcesContent":["import React, {useCallback, useEffect, useRef} from 'react';\nimport {Animated, Easing, StyleSheet, View, ViewStyle} from 'react-native';\n\nimport QRCodeScannerBase from 'react-native-qrcode-scanner';\nimport type {BarCodeReadEvent} from 'react-native-camera';\nimport {NovaCompositionCoorpacademyQrCode as QrCodeIcon} from '@coorpacademy/nova-icons';\nimport Touchable from '../../../hoc/touchable/index.native';\nimport Text from '../../../atom/text/index.native';\n\nexport interface Props {\n hasPermission: boolean;\n onScan: (token?: string) => void;\n onHelpPress: () => void;\n locales: {\n title: string;\n explanation1: string;\n explanation2: string;\n ctaHelp: string;\n titleHelp: string;\n };\n}\n\nconst HEIGHT = 280;\nconst WIDTH = 280;\nconst COLOR = '#fff';\nconst BORDER_RADIUS = 8;\n\nconst LINE_WIDTH = 7;\n\nconst styles = StyleSheet.create({\n container: {\n width: '100%',\n height: '100%'\n },\n camera: {\n width: '100%',\n height: '100%'\n },\n blurs: {\n position: 'absolute',\n width: '100%',\n height: '100%',\n opacity: 0.6\n },\n blurTop: {\n position: 'absolute',\n backgroundColor: '#000',\n width: '100%',\n height: '35%',\n transform: [{translateY: -HEIGHT / 2 + LINE_WIDTH / 2}]\n },\n blurBottom: {\n position: 'absolute',\n backgroundColor: '#000',\n width: '100%',\n height: '65%',\n bottom: 0,\n transform: [{translateY: HEIGHT / 2 - LINE_WIDTH / 2}]\n },\n blurLeft: {\n position: 'absolute',\n backgroundColor: '#000',\n width: '50%',\n height: HEIGHT - LINE_WIDTH,\n left: 0,\n top: '35%',\n transform: [\n {translateX: -WIDTH / 2 + LINE_WIDTH / 2},\n {translateY: -HEIGHT / 2 + LINE_WIDTH / 2}\n ]\n },\n blurRight: {\n position: 'absolute',\n backgroundColor: '#000',\n width: '50%',\n height: HEIGHT - LINE_WIDTH,\n right: 0,\n top: '35%',\n transform: [\n {translateX: WIDTH / 2 - LINE_WIDTH / 2},\n {translateY: -HEIGHT / 2 + LINE_WIDTH / 2}\n ]\n }\n});\n\nconst targetStyle = StyleSheet.create({\n target: {\n width: HEIGHT,\n height: WIDTH,\n top: '35%',\n left: '50%',\n transform: [{translateX: -WIDTH / 2}, {translateY: -HEIGHT / 2}],\n borderRadius: BORDER_RADIUS,\n position: 'absolute',\n overflow: 'hidden'\n },\n square: {\n position: 'absolute',\n width: '35%',\n height: '35%'\n },\n stroke: {\n position: 'absolute',\n top: 0,\n left: 0,\n backgroundColor: COLOR,\n borderRadius: BORDER_RADIUS\n }\n});\n\nconst explanationsStyle = StyleSheet.create({\n explanations: {\n position: 'absolute',\n width: '100%',\n bottom: 0,\n backgroundColor: '#fff',\n borderTopLeftRadius: 30,\n borderTopRightRadius: 30,\n paddingHorizontal: 24,\n paddingTop: 8,\n paddingBottom: 30\n },\n titleWrapper: {\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'flex-start',\n paddingVertical: 16\n },\n qrCodeIcon: {\n fill: '#000',\n height: 14,\n width: 14\n } as ViewStyle & {fill?: string},\n titleText: {\n fontWeight: '600',\n color: '#1D1D2B',\n fontSize: 21,\n lineHeight: 24,\n letterSpacing: 0.5,\n marginLeft: 7\n },\n line: {\n flexDirection: 'row',\n paddingRight: 24,\n paddingVertical: 8\n },\n lineText: {\n fontWeight: '400',\n color: '#1D1D2B',\n fontSize: 18,\n lineHeight: 24,\n letterSpacing: 0.5,\n marginRight: 7\n },\n help: {\n flexDirection: 'row',\n marginTop: 12\n },\n titleHelp: {\n fontSize: 16,\n color: '#9999A8'\n },\n ctaHelp: {\n marginLeft: 5,\n fontSize: 16,\n letterSpacing: 0.5,\n textDecorationLine: 'underline',\n color: '#9999A8'\n }\n});\n\nconst Corner = (props: {\n position: ViewStyle;\n lineLength: Animated.AnimatedInterpolation<number>;\n}) => {\n const {position, lineLength} = props;\n\n return (\n <View style={[targetStyle.square, position]}>\n <Animated.View style={[targetStyle.stroke, {height: LINE_WIDTH, width: lineLength}]} />\n <Animated.View style={[targetStyle.stroke, {width: LINE_WIDTH, height: lineLength}]} />\n </View>\n );\n};\n\nconst Target = () => {\n const animationRef = useRef<Animated.Value>(new Animated.Value(0)).current;\n const lineLength = animationRef.interpolate({\n inputRange: [0, 1],\n outputRange: [0, WIDTH * 0.35]\n });\n\n useEffect(() => {\n const animation = Animated.timing(animationRef, {\n toValue: 1,\n duration: 700,\n delay: 400,\n easing: Easing.out(Easing.sin),\n useNativeDriver: false\n });\n\n animation.start();\n // on mount only\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n return (\n <View style={targetStyle.target}>\n <Corner lineLength={lineLength} position={{top: 0, left: 0, transform: [{rotate: '0deg'}]}} />\n <Corner\n lineLength={lineLength}\n position={{top: 0, right: 0, transform: [{rotate: '90deg'}]}}\n />\n <Corner\n lineLength={lineLength}\n position={{bottom: 0, right: 0, transform: [{rotate: '180deg'}]}}\n />\n <Corner\n lineLength={lineLength}\n position={{bottom: 0, left: 0, transform: [{rotate: '270deg'}]}}\n />\n </View>\n );\n};\n\nconst Explanations = (props: {locales: Props['locales']; onHelpPress: Props['onHelpPress']}) => {\n const {locales, onHelpPress} = props;\n\n const animationRef = useRef<Animated.Value>(new Animated.Value(0)).current;\n const animateBottom = animationRef.interpolate({\n inputRange: [0, 1],\n outputRange: [-300, 0]\n });\n\n useEffect(() => {\n const animation = Animated.timing(animationRef, {\n toValue: 1,\n duration: 600,\n delay: 400,\n easing: Easing.out(Easing.sin),\n useNativeDriver: false\n });\n\n animation.start();\n\n // on mount only\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n return (\n <Animated.View style={[explanationsStyle.explanations, {bottom: animateBottom}]}>\n <View style={explanationsStyle.titleWrapper}>\n <QrCodeIcon style={explanationsStyle.qrCodeIcon} />\n <Text style={explanationsStyle.titleText}>{locales.title}</Text>\n </View>\n <View style={explanationsStyle.line}>\n <Text style={explanationsStyle.lineText}>1.</Text>\n <Text style={explanationsStyle.lineText}>{locales.explanation1}</Text>\n </View>\n <View style={explanationsStyle.line}>\n <Text style={explanationsStyle.lineText}>2.</Text>\n <Text style={explanationsStyle.lineText}>{locales.explanation2}</Text>\n </View>\n\n <Touchable onPress={onHelpPress} style={explanationsStyle.help}>\n <Text style={explanationsStyle.titleHelp}>{locales.titleHelp}</Text>\n <Text style={explanationsStyle.ctaHelp}>{locales.ctaHelp}</Text>\n </Touchable>\n </Animated.View>\n );\n};\n\nconst QRCodeScanner = (props: Props) => {\n const {hasPermission, locales, onScan, onHelpPress} = props;\n\n const handleRead = useCallback(({data}: BarCodeReadEvent) => {\n onScan(typeof data === 'string' ? data : undefined);\n // on mount only\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const blurRef = useRef<Animated.Value>(new Animated.Value(0)).current;\n const blurOpacity = blurRef.interpolate({\n inputRange: [0, 1],\n outputRange: [0, 0.7]\n });\n\n useEffect(() => {\n const animation = Animated.timing(blurRef, {\n toValue: 1,\n duration: 800,\n delay: 600,\n easing: Easing.out(Easing.sin),\n useNativeDriver: false\n });\n\n animation.start();\n\n // on mount only\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n return (\n <View style={styles.container} testID=\"qr-code-scanner\">\n {hasPermission ? (\n <QRCodeScannerBase\n fadeIn={false}\n onRead={handleRead}\n cameraStyle={styles.camera}\n cameraProps={{captureAudio: false}}\n />\n ) : null}\n <Animated.View style={[styles.blurs, {opacity: blurOpacity}]}>\n <View style={styles.blurTop} />\n <View style={styles.blurBottom} />\n <View style={styles.blurLeft} />\n <View style={styles.blurRight} />\n </Animated.View>\n <Target />\n <Explanations locales={locales} onHelpPress={onHelpPress} />\n </View>\n );\n};\n\nexport default QRCodeScanner;\n"],"mappings":"AAAA,OAAOA,KAAK,IAAGC,WAAW,EAAEC,SAAS,EAAEC,MAAM,QAAO,OAAO;AAC3D,SAAQC,QAAQ,EAAEC,MAAM,EAAEC,UAAU,EAAEC,IAAI,QA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AAA,CAACvE,IAAI;IAACwE,KAAK,EAAE7D,MAAM,CAACa;EAAW,CAAE,CAAC,eAClC/B,KAAA,CAAA8E,aAAA,CAACvE,IAAI;IAACwE,KAAK,EAAE7D,MAAM,CAACe;EAAS,CAAE,CAAC,eAChCjC,KAAA,CAAA8E,aAAA,CAACvE,IAAI;IAACwE,KAAK,EAAE7D,MAAM,CAACmB;EAAU,CAAE,CACnB,CAAC,eAChBrC,KAAA,CAAA8E,aAAA,CAACE,MAAM,MAAE,CAAC,eACVhF,KAAA,CAAA8E,aAAA,CAACoB,YAAY;IAACC,OAAO,EAAEA,OAAQ;IAACC,WAAW,EAAEA;EAAY,CAAE,CACvD,CAAC;AAEX,CAAC;AAED,eAAeM,aAAa","ignoreList":[]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export declare type Props = {
|
|
3
3
|
locales: {
|
|
4
4
|
title: string;
|
|
@@ -9,6 +9,6 @@ export declare type Props = {
|
|
|
9
9
|
onClose: () => void;
|
|
10
10
|
onSend: (email: string) => void;
|
|
11
11
|
};
|
|
12
|
-
declare const ReceiveEmail: (props: Props) => JSX.Element;
|
|
12
|
+
declare const ReceiveEmail: (props: Props) => React.JSX.Element;
|
|
13
13
|
export default ReceiveEmail;
|
|
14
14
|
//# sourceMappingURL=index.native.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../../src/template/mobile-login/receive-email/index.native.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../../src/template/mobile-login/receive-email/index.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAqItE,oBAAY,KAAK,GAAG;IAClB,OAAO,EAAE;QACP,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,EAAE,MAAM,CAAC;QACpB,QAAQ,EAAE,MAAM,CAAC;QACjB,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;IACF,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACjC,CAAC;AAEF,QAAA,MAAM,YAAY,UAAW,KAAK,sBAoFjC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.native.js","names":["React","useCallback","useEffect","useRef","useState","Animated","Easing","KeyboardAvoidingView","Platform","StyleSheet","Text","TextInput","View","NovaCompositionNavigationLeftArrow","ArrowIcon","NovaCompositionCoorpacademyEmail","MailIcon","NovaCompositionCoorpacademySendEmail","SendIcon","Touchable","useMobileKeyboardVisibility","enabledColor","disabledColor","emailRegex","styles","create","container","width","height","flex","justifyContent","alignItems","paddingVertical","paddingHorizontal","contentWrapper","backButton","arrowIcon","fill","mailIconWrapper","backgroundColor","padding","marginVertical","borderRadius","mailIcon","innerMailIcon","marginTop","marginLeft","title","color","fontSize","fontWeight","lineHeight","textAlign","marginBottom","explanation","letterSpacing","subtitle","textInput","borderColor","borderWidth","alignContent","ctaWrapper","overflow","ctaButton","flexDirection","sendIcon","marginRight","ctaText","ReceiveEmail","props","locales","onClose","onSend","email","setEmail","isValid","setValid","isTextInputFocused","setTextInputFocused","isKeyboardVisible","handleSend","handleChangeText","value","test","handleTextInputFocus","handleTextInputBlur","animationRef","Value","current","animatedColor","interpolate","inputRange","outputRange","animation","timing","toValue","duration","easing","out","sin","useNativeDriver","start","createElement","behavior","OS","style","testID","onPress","placeholder","placeholderTextColor","onChangeText","onFocus","onBlur","disabled","cta"],"sources":["../../../../src/template/mobile-login/receive-email/index.native.tsx"],"sourcesContent":["import React, {useCallback, useEffect, useRef, useState} from 'react';\nimport {\n Animated,\n Easing,\n KeyboardAvoidingView,\n Platform,\n StyleSheet,\n Text,\n TextInput,\n View\n} from 'react-native';\nimport {\n NovaCompositionNavigationLeftArrow as ArrowIcon,\n NovaCompositionCoorpacademyEmail as MailIcon,\n NovaCompositionCoorpacademySendEmail as SendIcon\n} from '@coorpacademy/nova-icons';\n\nimport Touchable from '../../../hoc/touchable/index.native';\nimport useMobileKeyboardVisibility from '../../../util/use-mobile-keyboard-visibility';\n\nconst enabledColor = '#0061ff';\nconst disabledColor = '#9999A8';\nconst emailRegex = /^\\w+([-+.']\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*$/;\n\nconst styles = StyleSheet.create({\n container: {\n width: '100%',\n height: '100%',\n flex: 1,\n justifyContent: 'space-between',\n alignItems: 'flex-start',\n paddingVertical: 50,\n paddingHorizontal: 24\n },\n contentWrapper: {\n width: '100%'\n },\n backButton: {\n paddingVertical: 20\n },\n arrowIcon: {\n fill: '#515161',\n width: 24,\n height: 15\n },\n mailIconWrapper: {\n backgroundColor: '#f1f6fe',\n width: 64,\n height: 64,\n padding: 23,\n marginVertical: 24,\n borderRadius: 16,\n justifyContent: 'center',\n alignItems: 'center'\n },\n mailIcon: {\n fill: '#0061ff',\n width: 24,\n height: 18\n },\n innerMailIcon: {\n fill: '#515161',\n width: 16,\n height: 12,\n marginTop: -30,\n marginLeft: 16\n },\n title: {\n color: '#1D1D2B',\n fontSize: 24,\n fontWeight: '600',\n lineHeight: 32,\n textAlign: 'left',\n marginBottom: 12\n },\n explanation: {\n color: '#515161',\n fontSize: 17,\n letterSpacing: 0.4,\n fontWeight: '500',\n lineHeight: 22,\n textAlign: 'left',\n marginBottom: 24\n },\n subtitle: {\n color: '#1D1D2B',\n fontSize: 15,\n fontWeight: '600',\n lineHeight: 20,\n textAlign: 'left',\n marginBottom: 8\n },\n textInput: {\n height: 48,\n width: '100%',\n backgroundColor: '#F4F4F5',\n borderColor: enabledColor,\n borderWidth: 2,\n fontSize: 15,\n lineHeight: 16,\n alignContent: 'center',\n color: '#515161',\n borderRadius: 7,\n paddingHorizontal: 40\n },\n ctaWrapper: {\n width: '100%',\n overflow: 'hidden',\n borderRadius: 12,\n marginTop: 30,\n marginBottom: 50\n },\n ctaButton: {\n flexDirection: 'row',\n justifyContent: 'center',\n alignItems: 'center',\n paddingVertical: 16\n },\n sendIcon: {\n fill: '#fff',\n width: 16,\n height: 16,\n marginRight: 8\n },\n ctaText: {\n color: '#fff',\n fontWeight: '700',\n fontSize: 15,\n lineHeight: 24\n }\n});\n\nexport type Props = {\n locales: {\n title: string;\n explanation: string;\n subtitle: string;\n cta: string;\n };\n onClose: () => void;\n onSend: (email: string) => void;\n};\n\nconst ReceiveEmail = (props: Props) => {\n const {locales, onClose, onSend} = props;\n\n const [email, setEmail] = useState<string>('');\n const [isValid, setValid] = useState<boolean>(false);\n const [isTextInputFocused, setTextInputFocused] = useState<boolean>(false);\n const isKeyboardVisible = useMobileKeyboardVisibility();\n\n const handleSend = useCallback(() => {\n onSend(email);\n }, [email, onSend]);\n\n const handleChangeText = useCallback(value => {\n setValid(emailRegex.test(value));\n setEmail(value);\n }, []);\n\n const handleTextInputFocus = useCallback(() => {\n setTextInputFocused(true);\n }, []);\n\n const handleTextInputBlur = useCallback(() => {\n setTextInputFocused(false);\n }, []);\n\n const animationRef = useRef<Animated.Value>(new Animated.Value(0)).current;\n const animatedColor = animationRef.interpolate({\n inputRange: [0, 1],\n outputRange: [disabledColor, enabledColor]\n });\n\n useEffect(() => {\n const animation = Animated.timing(animationRef, {\n toValue: isValid ? 1 : 0,\n duration: 250,\n easing: Easing.out(Easing.sin),\n useNativeDriver: false\n });\n\n animation.start();\n }, [animationRef, isValid]);\n\n return (\n <KeyboardAvoidingView\n behavior={Platform.OS === 'ios' ? 'padding' : 'height'}\n style={[styles.container]}\n testID=\"receive-email\"\n >\n <View style={styles.contentWrapper}>\n <Touchable style={styles.backButton} onPress={onClose} testID=\"close-button\">\n <ArrowIcon style={styles.arrowIcon} />\n </Touchable>\n {isKeyboardVisible ? null : (\n <View style={styles.mailIconWrapper}>\n <MailIcon style={styles.mailIcon} />\n </View>\n )}\n <Text style={styles.title}>{locales.title}</Text>\n <Text style={styles.explanation}>{locales.explanation}</Text>\n <Text style={styles.subtitle}>{locales.subtitle}</Text>\n <TextInput\n style={[styles.textInput, {borderWidth: isTextInputFocused ? 2 : 0}]}\n placeholder=\"john.doe@company.com\"\n placeholderTextColor={disabledColor}\n onChangeText={handleChangeText}\n onFocus={handleTextInputFocus}\n onBlur={handleTextInputBlur}\n />\n <MailIcon style={styles.innerMailIcon} />\n </View>\n\n <Animated.View style={[styles.ctaWrapper, {backgroundColor: animatedColor}]}>\n <Touchable\n disabled={!isValid}\n style={[styles.ctaButton]}\n onPress={handleSend}\n testID=\"send-button\"\n >\n <SendIcon style={styles.sendIcon} />\n <Text style={styles.ctaText}>{locales.cta}</Text>\n </Touchable>\n </Animated.View>\n </KeyboardAvoidingView>\n );\n};\n\nexport default ReceiveEmail;\n"],"mappings":"AAAA,OAAOA,KAAK,IAAGC,WAAW,EAAEC,SAAS,EAAEC,MAAM,EAAEC,QAAQ,QAAO,OAAO;AACrE,SACEC,QAAQ,EACRC,MAAM,EACNC,oBAAoB,EACpBC,QAAQ,EACRC,UAAU,EACVC,IAAI,EACJC,SAAS,EACTC,IAAI,QACC,cAAc;AACrB,SACEC,kCAAkC,IAAIC,SAAS,EAC/CC,gCAAgC,IAAIC,QAAQ,EAC5CC,oCAAoC,IAAIC,QAAQ,QAC3C,0BAA0B;AAEjC,OAAOC,SAAS,MAAM,qCAAqC;AAC3D,OAAOC,2BAA2B,MAAM,8CAA8C;AAEtF,MAAMC,YAAY,GAAG,SAAS;AAC9B,MAAMC,aAAa,GAAG,SAAS;AAC/B,MAAMC,UAAU,GAAG,gDAAgD;AAEnE,MAAMC,MAAM,GAAGf,UAAU,CAACgB,MAAM,CAAC;EAC/BC,SAAS,EAAE;IACTC,KAAK,EAAE,MAAM;IACbC,MAAM,EAAE,MAAM;IACdC,IAAI,EAAE,CAAC;IACPC,cAAc,EAAE,eAAe;IAC/BC,UAAU,EAAE,YAAY;IACxBC,eAAe,EAAE,EAAE;I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AAkB,GAAG,CAAC,GAAG;IAAC,CAAC,CAAE;IACrE+B,WAAW,EAAC,sBAAsB;IAClCC,oBAAoB,EAAEvF,aAAc;IACpCwF,YAAY,EAAE7B,gBAAiB;IAC/B8B,OAAO,EAAE3B,oBAAqB;IAC9B4B,MAAM,EAAE3B;EAAoB,CAC7B,CAAC,eACFrF,KAAA,CAAAsG,aAAA,CAACtF,QAAQ;IAACyF,KAAK,EAAEjF,MAAM,CAACoB;EAAc,CAAE,CACpC,CAAC,eAEP5C,KAAA,CAAAsG,aAAA,CAACjG,QAAQ,CAACO,IAAI;IAAC6F,KAAK,EAAE,CAACjF,MAAM,CAACqC,UAAU,EAAE;MAACtB,eAAe,EAAEkD;IAAa,CAAC;EAAE,gBAC1EzF,KAAA,CAAAsG,aAAA,CAACnF,SAAS;IACR8F,QAAQ,EAAE,CAACtC,OAAQ;IACnB8B,KAAK,EAAE,CAACjF,MAAM,CAACuC,SAAS,CAAE;IAC1B4C,OAAO,EAAE3B,UAAW;IACpB0B,MAAM,EAAC;EAAa,gBAEpB1G,KAAA,CAAAsG,aAAA,CAACpF,QAAQ;IAACuF,KAAK,EAAEjF,MAAM,CAACyC;EAAS,CAAE,CAAC,eACpCjE,KAAA,CAAAsG,aAAA,CAAC5F,IAAI;IAAC+F,KAAK,EAAEjF,MAAM,CAAC2C;EAAQ,GAAEG,OAAO,CAAC4C,GAAU,CACvC,CACE,CACK,CAAC;AAE3B,CAAC;AAED,eAAe9C,YAAY","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"index.native.js","names":["React","useCallback","useEffect","useRef","useState","Animated","Easing","KeyboardAvoidingView","Platform","StyleSheet","Text","TextInput","View","NovaCompositionNavigationLeftArrow","ArrowIcon","NovaCompositionCoorpacademyEmail","MailIcon","NovaCompositionCoorpacademySendEmail","SendIcon","Touchable","useMobileKeyboardVisibility","enabledColor","disabledColor","emailRegex","styles","create","container","width","height","flex","justifyContent","alignItems","paddingVertical","paddingHorizontal","contentWrapper","backButton","arrowIcon","fill","mailIconWrapper","backgroundColor","padding","marginVertical","borderRadius","mailIcon","innerMailIcon","marginTop","marginLeft","title","color","fontSize","fontWeight","lineHeight","textAlign","marginBottom","explanation","letterSpacing","subtitle","textInput","borderColor","borderWidth","alignContent","ctaWrapper","overflow","ctaButton","flexDirection","sendIcon","marginRight","ctaText","ReceiveEmail","props","locales","onClose","onSend","email","setEmail","isValid","setValid","isTextInputFocused","setTextInputFocused","isKeyboardVisible","handleSend","handleChangeText","value","test","handleTextInputFocus","handleTextInputBlur","animationRef","Value","current","animatedColor","interpolate","inputRange","outputRange","animation","timing","toValue","duration","easing","out","sin","useNativeDriver","start","createElement","behavior","OS","style","testID","onPress","placeholder","placeholderTextColor","onChangeText","onFocus","onBlur","disabled","cta"],"sources":["../../../../src/template/mobile-login/receive-email/index.native.tsx"],"sourcesContent":["import React, {useCallback, useEffect, useRef, useState} from 'react';\nimport {\n Animated,\n Easing,\n KeyboardAvoidingView,\n Platform,\n StyleSheet,\n Text,\n TextInput,\n View,\n ViewStyle\n} from 'react-native';\nimport {\n NovaCompositionNavigationLeftArrow as ArrowIcon,\n NovaCompositionCoorpacademyEmail as MailIcon,\n NovaCompositionCoorpacademySendEmail as SendIcon\n} from '@coorpacademy/nova-icons';\n\nimport Touchable from '../../../hoc/touchable/index.native';\nimport useMobileKeyboardVisibility from '../../../util/use-mobile-keyboard-visibility';\n\nconst enabledColor = '#0061ff';\nconst disabledColor = '#9999A8';\nconst emailRegex = /^\\w+([-+.']\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*$/;\n\nconst styles = StyleSheet.create({\n container: {\n width: '100%',\n height: '100%',\n flex: 1,\n justifyContent: 'space-between',\n alignItems: 'flex-start',\n paddingVertical: 50,\n paddingHorizontal: 24\n },\n contentWrapper: {\n width: '100%'\n },\n backButton: {\n paddingVertical: 20\n },\n arrowIcon: {\n fill: '#515161',\n width: 24,\n height: 15\n } as ViewStyle & {fill?: string},\n mailIconWrapper: {\n backgroundColor: '#f1f6fe',\n width: 64,\n height: 64,\n padding: 23,\n marginVertical: 24,\n borderRadius: 16,\n justifyContent: 'center',\n alignItems: 'center'\n },\n mailIcon: {\n fill: '#0061ff',\n width: 24,\n height: 18\n } as ViewStyle & {fill?: string},\n innerMailIcon: {\n fill: '#515161',\n width: 16,\n height: 12,\n marginTop: -30,\n marginLeft: 16\n } as ViewStyle & {fill?: string},\n title: {\n color: '#1D1D2B',\n fontSize: 24,\n fontWeight: '600',\n lineHeight: 32,\n textAlign: 'left',\n marginBottom: 12\n },\n explanation: {\n color: '#515161',\n fontSize: 17,\n letterSpacing: 0.4,\n fontWeight: '500',\n lineHeight: 22,\n textAlign: 'left',\n marginBottom: 24\n },\n subtitle: {\n color: '#1D1D2B',\n fontSize: 15,\n fontWeight: '600',\n lineHeight: 20,\n textAlign: 'left',\n marginBottom: 8\n },\n textInput: {\n height: 48,\n width: '100%',\n backgroundColor: '#F4F4F5',\n borderColor: enabledColor,\n borderWidth: 2,\n fontSize: 15,\n lineHeight: 16,\n alignContent: 'center',\n color: '#515161',\n borderRadius: 7,\n paddingHorizontal: 40\n },\n ctaWrapper: {\n width: '100%',\n overflow: 'hidden',\n borderRadius: 12,\n marginTop: 30,\n marginBottom: 50\n },\n ctaButton: {\n flexDirection: 'row',\n justifyContent: 'center',\n alignItems: 'center',\n paddingVertical: 16\n },\n sendIcon: {\n fill: '#fff',\n width: 16,\n height: 16,\n marginRight: 8\n } as ViewStyle & {fill?: string},\n ctaText: {\n color: '#fff',\n fontWeight: '700',\n fontSize: 15,\n lineHeight: 24\n }\n});\n\nexport type Props = {\n locales: {\n title: string;\n explanation: string;\n subtitle: string;\n cta: string;\n };\n onClose: () => void;\n onSend: (email: string) => void;\n};\n\nconst ReceiveEmail = (props: Props) => {\n const {locales, onClose, onSend} = props;\n\n const [email, setEmail] = useState<string>('');\n const [isValid, setValid] = useState<boolean>(false);\n const [isTextInputFocused, setTextInputFocused] = useState<boolean>(false);\n const isKeyboardVisible = useMobileKeyboardVisibility();\n\n const handleSend = useCallback(() => {\n onSend(email);\n }, [email, onSend]);\n\n const handleChangeText = useCallback(value => {\n setValid(emailRegex.test(value));\n setEmail(value);\n }, []);\n\n const handleTextInputFocus = useCallback(() => {\n setTextInputFocused(true);\n }, []);\n\n const handleTextInputBlur = useCallback(() => {\n setTextInputFocused(false);\n }, []);\n\n const animationRef = useRef<Animated.Value>(new Animated.Value(0)).current;\n const animatedColor = animationRef.interpolate({\n inputRange: [0, 1],\n outputRange: [disabledColor, enabledColor]\n });\n\n useEffect(() => {\n const animation = Animated.timing(animationRef, {\n toValue: isValid ? 1 : 0,\n duration: 250,\n easing: Easing.out(Easing.sin),\n useNativeDriver: false\n });\n\n animation.start();\n }, [animationRef, isValid]);\n\n return (\n <KeyboardAvoidingView\n behavior={Platform.OS === 'ios' ? 'padding' : 'height'}\n style={[styles.container]}\n testID=\"receive-email\"\n >\n <View style={styles.contentWrapper}>\n <Touchable style={styles.backButton} onPress={onClose} testID=\"close-button\">\n <ArrowIcon style={styles.arrowIcon} />\n </Touchable>\n {isKeyboardVisible ? null : (\n <View style={styles.mailIconWrapper}>\n <MailIcon style={styles.mailIcon} />\n </View>\n )}\n <Text style={styles.title}>{locales.title}</Text>\n <Text style={styles.explanation}>{locales.explanation}</Text>\n <Text style={styles.subtitle}>{locales.subtitle}</Text>\n <TextInput\n style={[styles.textInput, {borderWidth: isTextInputFocused ? 2 : 0}]}\n placeholder=\"john.doe@company.com\"\n placeholderTextColor={disabledColor}\n onChangeText={handleChangeText}\n onFocus={handleTextInputFocus}\n onBlur={handleTextInputBlur}\n />\n <MailIcon style={styles.innerMailIcon} />\n </View>\n\n <Animated.View style={[styles.ctaWrapper, {backgroundColor: animatedColor}]}>\n <Touchable\n disabled={!isValid}\n style={[styles.ctaButton]}\n onPress={handleSend}\n testID=\"send-button\"\n >\n <SendIcon style={styles.sendIcon} />\n <Text style={styles.ctaText}>{locales.cta}</Text>\n </Touchable>\n </Animated.View>\n </Keyboard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1EzF,KAAA,CAAAsG,aAAA,CAACnF,SAAS;IACR8F,QAAQ,EAAE,CAACtC,OAAQ;IACnB8B,KAAK,EAAE,CAACjF,MAAM,CAACuC,SAAS,CAAE;IAC1B4C,OAAO,EAAE3B,UAAW;IACpB0B,MAAM,EAAC;EAAa,gBAEpB1G,KAAA,CAAAsG,aAAA,CAACpF,QAAQ;IAACuF,KAAK,EAAEjF,MAAM,CAACyC;EAAS,CAAE,CAAC,eACpCjE,KAAA,CAAAsG,aAAA,CAAC5F,IAAI;IAAC+F,KAAK,EAAEjF,MAAM,CAAC2C;EAAQ,GAAEG,OAAO,CAAC4C,GAAU,CACvC,CACE,CACK,CAAC;AAE3B,CAAC;AAED,eAAe9C,YAAY","ignoreList":[]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export declare type Props = {
|
|
3
3
|
onDemoPress: () => void;
|
|
4
4
|
onHelpPress: () => void;
|
|
@@ -13,6 +13,6 @@ export declare type Props = {
|
|
|
13
13
|
ctaHelp: string;
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
|
-
declare const Welcome: (props: Props) => JSX.Element
|
|
16
|
+
declare const Welcome: (props: Props) => React.JSX.Element;
|
|
17
17
|
export default Welcome;
|
|
18
18
|
//# sourceMappingURL=index.native.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../../src/template/mobile-login/welcome/index.native.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../../src/template/mobile-login/welcome/index.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6C,MAAM,OAAO,CAAC;AAgLlE,oBAAY,KAAK,GAAG;IAClB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,yBAAyB,EAAE,MAAM,IAAI,CAAC;IACtC,OAAO,EAAE;QACP,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,EAAE,MAAM,CAAC;QACpB,SAAS,EAAE,MAAM,CAAC;QAClB,cAAc,EAAE,MAAM,CAAC;QACvB,SAAS,EAAE,MAAM,CAAC;QAClB,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;CACH,CAAC;AAEF,QAAA,MAAM,OAAO,UAAW,KAAK,sBA2J5B,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import React, { useEffect,
|
|
2
|
-
import { Animated, StyleSheet, View } from 'react-native';
|
|
3
|
-
import LinearGradient from 'react-native-linear-gradient';
|
|
1
|
+
import React, { useEffect, useMemo, useState } from 'react';
|
|
2
|
+
import { Animated, StyleSheet, View, Platform } from 'react-native';
|
|
4
3
|
import { NovaCompositionCoorpacademyLogoCoorp as LogoCoorp, NovaCompositionCoorpacademyQrCode as QrCodeIcon, NovaCompositionCoorpacademyEmail as MailIcon } from '@coorpacademy/nova-icons';
|
|
5
4
|
import { useAnimateProp, useTranslateY } from '@coorpacademy/react-native-animation';
|
|
6
5
|
import Touchable from '../../../hoc/touchable/index.native';
|
|
@@ -191,7 +190,7 @@ const Welcome = props => {
|
|
|
191
190
|
duration: 250,
|
|
192
191
|
delay: 900
|
|
193
192
|
});
|
|
194
|
-
const scaleAnim =
|
|
193
|
+
const scaleAnim = useMemo(() => new Animated.Value(0), []);
|
|
195
194
|
const interpolateScale = scaleAnim.interpolate({
|
|
196
195
|
inputRange: [0, 0.4, 0.5, 0.6, 1],
|
|
197
196
|
outputRange: [1, 1.7, 1.7, 1.7, 1]
|
|
@@ -224,14 +223,28 @@ const Welcome = props => {
|
|
|
224
223
|
testID: "welcome"
|
|
225
224
|
}, /*#__PURE__*/React.createElement(Animated.View, {
|
|
226
225
|
style: [styleSheet.gradients, translateGradients.animatedStyle]
|
|
227
|
-
}, /*#__PURE__*/React.createElement(
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
226
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
227
|
+
style: [styleSheet.gradient, Platform.select({
|
|
228
|
+
default: {
|
|
229
|
+
// @ts-ignore
|
|
230
|
+
experimental_backgroundImage: `linear-gradient(180deg, ${cm_primary_blue} 0%, #fff 95%)`
|
|
231
|
+
},
|
|
232
|
+
web: {
|
|
233
|
+
// @ts-ignore
|
|
234
|
+
backgroundImage: `linear-gradient(180deg, ${cm_primary_blue} 0%, #fff 95%)`
|
|
235
|
+
}
|
|
236
|
+
})]
|
|
237
|
+
}), /*#__PURE__*/React.createElement(View, {
|
|
238
|
+
style: [styleSheet.gradient2, Platform.select({
|
|
239
|
+
default: {
|
|
240
|
+
// @ts-ignore
|
|
241
|
+
experimental_backgroundImage: 'linear-gradient(180deg, #2199AB 0%, #fff 95%)'
|
|
242
|
+
},
|
|
243
|
+
web: {
|
|
244
|
+
// @ts-ignore
|
|
245
|
+
backgroundImage: 'linear-gradient(180deg, #2199AB 0%, #fff 95%)'
|
|
246
|
+
}
|
|
247
|
+
})]
|
|
235
248
|
})), /*#__PURE__*/React.createElement(Touchable, {
|
|
236
249
|
onLongPress: onDemoPress,
|
|
237
250
|
style: styleSheet.logo
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.native.js","names":["React","useEffect","useRef","useState","Animated","StyleSheet","View","LinearGradient","NovaCompositionCoorpacademyLogoCoorp","LogoCoorp","NovaCompositionCoorpacademyQrCode","QrCodeIcon","NovaCompositionCoorpacademyEmail","MailIcon","useAnimateProp","useTranslateY","Touchable","useTemplateContext","Text","COLORS","cm_primary_blue","createStyleSheet","theme","create","wrapper","top","bottom","left","right","flex","justifyContent","alignItems","paddingHorizontal","content","width","gradients","position","gradient","opacity","transform","rotate","gradient2","animatedLogoWrapper","animatedLogo","height","logo","padding","logoBG","backgroundColor","title","color","fontWeight","fontSize","lineHeight","paddingVertical","description","actions","buttons","button","marginVertical","flexDirection","borderRadius","overflow","ctaQrCode","colors","cta","ctaQrCodeText","marginLeft","qrCodeIcon","fill","ctaReceiveMail","ctaReceiveMailText","mailIcon","help","titleHelp","ctaHelp","textDecorationLine","Welcome","props","locales","onDemoPress","onQRCodeButtonPress","onHelpPress","onReceiveEmailButtonPress","styleSheet","setStylesheet","translateGradients","fromValue","toValue","duration","delay","translateContent","fadeInContent","property","fadeOutStartLogo","fadeInFinalLogo","scaleAnim","Value","current","interpolateScale","interpolate","inputRange","outputRange","_stylesheet","start","animatedScale","timing","useNativeDriver","createElement","style","animatedStyle","testID","locations","onLongPress","scale","onPress"],"sources":["../../../../src/template/mobile-login/welcome/index.native.tsx"],"sourcesContent":["import React, {useEffect, useRef, useState} from 'react';\nimport {Animated, StyleSheet, TextStyle, View, ViewStyle} from 'react-native';\nimport LinearGradient from 'react-native-linear-gradient';\nimport {\n NovaCompositionCoorpacademyLogoCoorp as LogoCoorp,\n NovaCompositionCoorpacademyQrCode as QrCodeIcon,\n NovaCompositionCoorpacademyEmail as MailIcon\n} from '@coorpacademy/nova-icons';\nimport {useAnimateProp, useTranslateY} from '@coorpacademy/react-native-animation';\nimport Touchable from '../../../hoc/touchable/index.native';\nimport {useTemplateContext} from '../../app-review/template-context';\nimport {Theme} from '../../../variables/theme.native';\nimport Text from '../../../atom/text/index.native';\nimport {COLORS} from '../../../variables/colors';\n\nconst {cm_primary_blue} = COLORS;\n\ntype StyleSheetType = {\n wrapper: ViewStyle;\n animatedLogoWrapper: ViewStyle;\n animatedLogo: ViewStyle;\n logo: ViewStyle;\n logoBG: ViewStyle;\n content: ViewStyle;\n gradients: ViewStyle;\n gradient: ViewStyle;\n gradient2: ViewStyle;\n title: TextStyle;\n description: TextStyle;\n actions: ViewStyle;\n buttons: ViewStyle;\n button: ViewStyle;\n qrCodeIcon: ViewStyle;\n mailIcon: ViewStyle;\n ctaQrCode: ViewStyle;\n ctaQrCodeText: TextStyle;\n ctaReceiveMail: ViewStyle;\n ctaReceiveMailText: TextStyle;\n help: ViewStyle;\n titleHelp: TextStyle;\n ctaHelp: ViewStyle;\n};\n\nconst createStyleSheet = (theme: Theme): StyleSheetType =>\n StyleSheet.create({\n wrapper: {\n top: 0,\n bottom: 0,\n left: 0,\n right: 0,\n flex: 1,\n justifyContent: 'space-around',\n alignItems: 'center',\n paddingHorizontal: 24\n },\n content: {\n width: '100%',\n alignItems: 'flex-start'\n },\n gradients: {\n position: 'absolute',\n top: 400,\n bottom: 400,\n left: 0,\n right: 0,\n flex: 1\n },\n gradient: {\n position: 'absolute',\n top: -730,\n bottom: 0,\n left: -380,\n right: -380,\n opacity: 1,\n transform: [{rotate: '35deg'}]\n },\n gradient2: {\n position: 'absolute',\n top: -630,\n bottom: -200,\n left: -300,\n right: -400,\n opacity: 0.6,\n transform: [{rotate: '-35deg'}]\n },\n animatedLogoWrapper: {\n alignItems: 'center'\n },\n animatedLogo: {\n position: 'absolute',\n width: 77,\n height: 100\n },\n logo: {\n padding: 100\n },\n logoBG: {\n backgroundColor: '#fff',\n top: 20,\n width: 60,\n height: 60\n },\n title: {\n color: '#1D1D2B',\n fontWeight: '600',\n fontSize: 28,\n lineHeight: 36,\n paddingVertical: 8\n },\n description: {\n color: '#1D1D2B',\n fontWeight: '400',\n fontSize: 17,\n lineHeight: 24,\n paddingVertical: 8\n },\n actions: {\n width: '100%'\n },\n buttons: {\n paddingVertical: 20,\n alignItems: 'center'\n },\n button: {\n paddingVertical: 12,\n marginVertical: 4,\n width: '100%',\n flexDirection: 'row',\n justifyContent: 'center',\n borderRadius: 12,\n alignItems: 'center',\n overflow: 'hidden'\n },\n ctaQrCode: {\n backgroundColor: theme.colors.cta\n },\n ctaQrCodeText: {\n marginLeft: 8,\n color: '#fff',\n fontWeight: '700',\n fontSize: 14,\n lineHeight: 24\n },\n qrCodeIcon: {\n fill: '#fff',\n height: 14,\n width: 14\n },\n ctaReceiveMail: {\n backgroundColor: '#eaeaeb'\n },\n ctaReceiveMailText: {\n marginLeft: 8,\n color: '#1D1D2B',\n fontWeight: '700',\n fontSize: 14,\n lineHeight: 24\n },\n mailIcon: {\n fill: '#1D1D2B',\n height: 12,\n width: 16\n },\n help: {\n flexDirection: 'row',\n justifyContent: 'center'\n },\n titleHelp: {\n color: '#9999A8'\n },\n ctaHelp: {\n marginLeft: 5,\n textDecorationLine: 'underline',\n color: '#9999A8'\n }\n });\n\nexport type Props = {\n onDemoPress: () => void;\n onHelpPress: () => void;\n onQRCodeButtonPress: () => void;\n onReceiveEmailButtonPress: () => void;\n locales: {\n title: string;\n description: string;\n ctaQrCode: string;\n ctaReceiveMail: string;\n titleHelp: string;\n ctaHelp: string;\n };\n};\n\nconst Welcome = (props: Props) => {\n const {locales, onDemoPress, onQRCodeButtonPress, onHelpPress, onReceiveEmailButtonPress} = props;\n const {theme} = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n\n const translateGradients = useTranslateY({\n fromValue: 0,\n toValue: -200,\n duration: 300,\n delay: 750\n });\n\n const translateContent = useTranslateY({\n fromValue: 170,\n toValue: 0,\n duration: 450,\n delay: 750\n });\n\n const fadeInContent = useAnimateProp({\n property: 'opacity',\n fromValue: 0,\n toValue: 1,\n duration: 650,\n delay: 750\n });\n\n const fadeOutStartLogo = useAnimateProp({\n property: 'opacity',\n fromValue: 1,\n toValue: 0,\n duration: 450,\n delay: 1000\n });\n\n const fadeInFinalLogo = useAnimateProp({\n property: 'opacity',\n fromValue: 0,\n toValue: 1,\n duration: 250,\n delay: 900\n });\n\n const scaleAnim = useRef<Animated.Value>(new Animated.Value(0)).current;\n const interpolateScale = scaleAnim.interpolate({\n inputRange: [0, 0.4, 0.5, 0.6, 1],\n outputRange: [1, 1.7, 1.7, 1.7, 1]\n });\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(theme);\n setStylesheet(_stylesheet);\n }, [theme]);\n\n useEffect(() => {\n fadeInContent.start();\n fadeInFinalLogo.start();\n fadeOutStartLogo.start();\n translateContent.start();\n translateGradients.start();\n\n const animatedScale = Animated.timing(scaleAnim, {\n toValue: 1,\n duration: 1000,\n useNativeDriver: true\n });\n\n animatedScale.start();\n\n // on mount only\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n if (!styleSheet) {\n return null;\n }\n return (\n <Animated.View style={[styleSheet.wrapper, translateContent.animatedStyle]} testID=\"welcome\">\n <Animated.View style={[styleSheet.gradients, translateGradients.animatedStyle]}>\n <LinearGradient\n colors={[cm_primary_blue, '#fff']}\n locations={[0, 0.95]}\n style={styleSheet.gradient}\n />\n <LinearGradient\n colors={['#2199AB', '#fff']}\n locations={[0, 0.95]}\n style={styleSheet.gradient2}\n />\n </Animated.View>\n\n <Touchable onLongPress={onDemoPress} style={styleSheet.logo}>\n <Animated.View\n style={[styleSheet.animatedLogoWrapper, {transform: [{scale: interpolateScale}]}]}\n >\n <Animated.View style={[styleSheet.logoBG, fadeInFinalLogo.animatedStyle]} />\n <Animated.View style={[styleSheet.animatedLogo, fadeInFinalLogo.animatedStyle]}>\n <LogoCoorp fill=\"#0061FF\" />\n </Animated.View>\n <Animated.View style={[styleSheet.animatedLogo, fadeOutStartLogo.animatedStyle]}>\n <LogoCoorp fill=\"#fff\" />\n </Animated.View>\n </Animated.View>\n </Touchable>\n <Animated.View style={[styleSheet.content, fadeInContent.animatedStyle]}>\n <Text style={styleSheet.title}>{locales.title}</Text>\n <Text style={styleSheet.description}>{locales.description}</Text>\n\n <View style={styleSheet.actions}>\n <View style={styleSheet.buttons}>\n <Touchable\n style={[styleSheet.button, styleSheet.ctaQrCode]}\n onPress={onQRCodeButtonPress}\n testID=\"qr-code-button\"\n >\n <QrCodeIcon style={styleSheet.qrCodeIcon} />\n <Text style={styleSheet.ctaQrCodeText}>{locales.ctaQrCode}</Text>\n </Touchable>\n <Touchable\n style={[styleSheet.button, styleSheet.ctaReceiveMail]}\n onPress={onReceiveEmailButtonPress}\n testID=\"receive-email-button\"\n >\n <MailIcon style={styleSheet.mailIcon} />\n <Text style={styleSheet.ctaReceiveMailText}>{locales.ctaReceiveMail}</Text>\n </Touchable>\n </View>\n <Touchable onPress={onHelpPress} style={styleSheet.help}>\n <Text style={styleSheet.titleHelp}>{locales.titleHelp}</Text>\n <Text style={styleSheet.ctaHelp}>{locales.ctaHelp}</Text>\n </Touchable>\n </View>\n </Animated.View>\n </Animated.View>\n );\n};\n\nexport default Welcome;\n"],"mappings":"AAAA,OAAOA,KAAK,IAAGC,SAAS,EAAEC,MAAM,EAAEC,QAAQ,QAAO,OAAO;AACxD,SAAQC,QAAQ,EAAEC,UAAU,EAAaC,IAAI,QAAkB,cAAc;AAC7E,OAAOC,cAAc,MAAM,8BAA8B;AACzD,SACEC,oCAAoC,IAAIC,SAAS,EACjDC,iCAAiC,IAAIC,UAAU,EAC/CC,gCAAgC,IAAIC,QAAQ,QACvC,0BAA0B;AACjC,SAAQC,cAAc,EAAEC,aAAa,QAAO,sCAAsC;AAClF,OAAOC,SAAS,MAAM,qCAAqC;AAC3D,SAAQC,kBAAkB,QAAO,mCAAmC;AAEpE,OAAOC,IAAI,MAAM,iCAAiC;AAClD,SAAQC,MAAM,QAAO,2BAA2B;AAEhD,MAAM;EAACC;AAAe,CAAC,GAAGD,MAAM;AA4BhC,MAAME,gBAAgB,GAAIC,KAAY,IACpCjB,UAAU,CAACkB,MAAM,CAAC;EAChBC,OAAO,EAAE;IACPC,GAAG,EAAE,CAAC;IACNC,MAAM,EAAE,CAAC;IACTC,IAAI,EAAE,CAAC;IACPC,KAAK,EAAE,CAAC;IACRC,IAAI,EAAE,CAAC;IACPC,cAAc,EAAE,cAAc;IAC9BC,UAAU,EAAE,QAAQ;IACpBC,iBAAiB,EAAE;EACrB,CAAC;EACDC,OAAO,EAAE;IACPC,KAAK,EAAE,MAAM;IACbH,UAAU,EAAE;EACd,CAAC;EACDI,SAAS,EAAE;IACTC,QAAQ,EAAE,UAAU;IACpBX,GAAG,EAAE,GA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;IAACgG,KAAK,EAAEzB,UAAU,CAACZ;EAAS,CAAE,CAAC,eACxCxE,KAAA,CAAA4G,aAAA,CAAC1F,IAAI;IAAC2F,KAAK,EAAEzB,UAAU,CAACb;EAAmB,GAAEQ,OAAO,CAACT,cAAqB,CACjE,CACP,CAAC,eACPtE,KAAA,CAAA4G,aAAA,CAAC5F,SAAS;IAACmG,OAAO,EAAEjC,WAAY;IAAC2B,KAAK,EAAEzB,UAAU,CAACX;EAAK,gBACtDzE,KAAA,CAAA4G,aAAA,CAAC1F,IAAI;IAAC2F,KAAK,EAAEzB,UAAU,CAACV;EAAU,GAAEK,OAAO,CAACL,SAAgB,CAAC,eAC7D1E,KAAA,CAAA4G,aAAA,CAAC1F,IAAI;IAAC2F,KAAK,EAAEzB,UAAU,CAACT;EAAQ,GAAEI,OAAO,CAACJ,OAAc,CAC/C,CACP,CACO,CACF,CAAC;AAEpB,CAAC;AAED,eAAeE,OAAO","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"index.native.js","names":["React","useEffect","useMemo","useState","Animated","StyleSheet","View","Platform","NovaCompositionCoorpacademyLogoCoorp","LogoCoorp","NovaCompositionCoorpacademyQrCode","QrCodeIcon","NovaCompositionCoorpacademyEmail","MailIcon","useAnimateProp","useTranslateY","Touchable","useTemplateContext","Text","COLORS","cm_primary_blue","createStyleSheet","theme","create","wrapper","top","bottom","left","right","flex","justifyContent","alignItems","paddingHorizontal","content","width","gradients","position","gradient","opacity","transform","rotate","gradient2","animatedLogoWrapper","animatedLogo","height","logo","padding","logoBG","backgroundColor","title","color","fontWeight","fontSize","lineHeight","paddingVertical","description","actions","buttons","button","marginVertical","flexDirection","borderRadius","overflow","ctaQrCode","colors","cta","ctaQrCodeText","marginLeft","qrCodeIcon","fill","ctaReceiveMail","ctaReceiveMailText","mailIcon","help","titleHelp","ctaHelp","textDecorationLine","Welcome","props","locales","onDemoPress","onQRCodeButtonPress","onHelpPress","onReceiveEmailButtonPress","styleSheet","setStylesheet","translateGradients","fromValue","toValue","duration","delay","translateContent","fadeInContent","property","fadeOutStartLogo","fadeInFinalLogo","scaleAnim","Value","interpolateScale","interpolate","inputRange","outputRange","_stylesheet","start","animatedScale","timing","useNativeDriver","createElement","style","animatedStyle","testID","select","default","experimental_backgroundImage","web","backgroundImage","onLongPress","scale","onPress"],"sources":["../../../../src/template/mobile-login/welcome/index.native.tsx"],"sourcesContent":["import React, {useEffect, useMemo, useRef, useState} from 'react';\nimport {Animated, StyleSheet, TextStyle, View, ViewStyle, Platform} from 'react-native';\nimport {\n NovaCompositionCoorpacademyLogoCoorp as LogoCoorp,\n NovaCompositionCoorpacademyQrCode as QrCodeIcon,\n NovaCompositionCoorpacademyEmail as MailIcon\n} from '@coorpacademy/nova-icons';\nimport {useAnimateProp, useTranslateY} from '@coorpacademy/react-native-animation';\nimport Touchable from '../../../hoc/touchable/index.native';\nimport {useTemplateContext} from '../../app-review/template-context';\nimport {Theme} from '../../../variables/theme.native';\nimport Text from '../../../atom/text/index.native';\nimport {COLORS} from '../../../variables/colors';\n\nconst {cm_primary_blue} = COLORS;\n\ntype StyleSheetType = {\n wrapper: ViewStyle;\n animatedLogoWrapper: ViewStyle;\n animatedLogo: ViewStyle;\n logo: ViewStyle;\n logoBG: ViewStyle;\n content: ViewStyle;\n gradients: ViewStyle;\n gradient: ViewStyle;\n gradient2: ViewStyle;\n title: TextStyle;\n description: TextStyle;\n actions: ViewStyle;\n buttons: ViewStyle;\n button: ViewStyle;\n qrCodeIcon: ViewStyle & {fill?: string};\n mailIcon: ViewStyle & {fill?: string};\n ctaQrCode: ViewStyle;\n ctaQrCodeText: TextStyle;\n ctaReceiveMail: ViewStyle;\n ctaReceiveMailText: TextStyle;\n help: ViewStyle;\n titleHelp: TextStyle;\n ctaHelp: ViewStyle;\n};\n\nconst createStyleSheet = (theme: Theme): StyleSheetType =>\n StyleSheet.create<StyleSheetType>({\n wrapper: {\n top: 0,\n bottom: 0,\n left: 0,\n right: 0,\n flex: 1,\n justifyContent: 'space-around',\n alignItems: 'center',\n paddingHorizontal: 24\n },\n content: {\n width: '100%',\n alignItems: 'flex-start'\n },\n gradients: {\n position: 'absolute',\n top: 400,\n bottom: 400,\n left: 0,\n right: 0,\n flex: 1\n },\n gradient: {\n position: 'absolute',\n top: -730,\n bottom: 0,\n left: -380,\n right: -380,\n opacity: 1,\n transform: [{rotate: '35deg'}]\n },\n gradient2: {\n position: 'absolute',\n top: -630,\n bottom: -200,\n left: -300,\n right: -400,\n opacity: 0.6,\n transform: [{rotate: '-35deg'}]\n },\n animatedLogoWrapper: {\n alignItems: 'center'\n },\n animatedLogo: {\n position: 'absolute',\n width: 77,\n height: 100\n },\n logo: {\n padding: 100\n },\n logoBG: {\n backgroundColor: '#fff',\n top: 20,\n width: 60,\n height: 60\n },\n title: {\n color: '#1D1D2B',\n fontWeight: '600',\n fontSize: 28,\n lineHeight: 36,\n paddingVertical: 8\n },\n description: {\n color: '#1D1D2B',\n fontWeight: '400',\n fontSize: 17,\n lineHeight: 24,\n paddingVertical: 8\n },\n actions: {\n width: '100%'\n },\n buttons: {\n paddingVertical: 20,\n alignItems: 'center'\n },\n button: {\n paddingVertical: 12,\n marginVertical: 4,\n width: '100%',\n flexDirection: 'row',\n justifyContent: 'center',\n borderRadius: 12,\n alignItems: 'center',\n overflow: 'hidden'\n },\n ctaQrCode: {\n backgroundColor: theme.colors.cta\n },\n ctaQrCodeText: {\n marginLeft: 8,\n color: '#fff',\n fontWeight: '700',\n fontSize: 14,\n lineHeight: 24\n },\n qrCodeIcon: {\n fill: '#fff',\n height: 14,\n width: 14\n } as ViewStyle & {fill?: string},\n ctaReceiveMail: {\n backgroundColor: '#eaeaeb'\n },\n ctaReceiveMailText: {\n marginLeft: 8,\n color: '#1D1D2B',\n fontWeight: '700',\n fontSize: 14,\n lineHeight: 24\n },\n mailIcon: {\n fill: '#1D1D2B',\n height: 12,\n width: 16\n } as ViewStyle & {fill?: string},\n help: {\n flexDirection: 'row',\n justifyContent: 'center'\n },\n titleHelp: {\n color: '#9999A8'\n },\n ctaHelp: {\n marginLeft: 5,\n textDecorationLine: 'underline',\n color: '#9999A8'\n } as ViewStyle & {textDecorationLine: string}\n });\n\nexport type Props = {\n onDemoPress: () => void;\n onHelpPress: () => void;\n onQRCodeButtonPress: () => void;\n onReceiveEmailButtonPress: () => void;\n locales: {\n title: string;\n description: string;\n ctaQrCode: string;\n ctaReceiveMail: string;\n titleHelp: string;\n ctaHelp: string;\n };\n};\n\nconst Welcome = (props: Props) => {\n const {locales, onDemoPress, onQRCodeButtonPress, onHelpPress, onReceiveEmailButtonPress} = props;\n const {theme} = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n\n const translateGradients = useTranslateY({\n fromValue: 0,\n toValue: -200,\n duration: 300,\n delay: 750\n });\n\n const translateContent = useTranslateY({\n fromValue: 170,\n toValue: 0,\n duration: 450,\n delay: 750\n });\n\n const fadeInContent = useAnimateProp({\n property: 'opacity',\n fromValue: 0,\n toValue: 1,\n duration: 650,\n delay: 750\n });\n\n const fadeOutStartLogo = useAnimateProp({\n property: 'opacity',\n fromValue: 1,\n toValue: 0,\n duration: 450,\n delay: 1000\n });\n\n const fadeInFinalLogo = useAnimateProp({\n property: 'opacity',\n fromValue: 0,\n toValue: 1,\n duration: 250,\n delay: 900\n });\n\n const scaleAnim = useMemo(() => new Animated.Value(0), []);\n const interpolateScale = scaleAnim.interpolate({\n inputRange: [0, 0.4, 0.5, 0.6, 1],\n outputRange: [1, 1.7, 1.7, 1.7, 1]\n });\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(theme);\n setStylesheet(_stylesheet);\n }, [theme]);\n\n useEffect(() => {\n fadeInContent.start();\n fadeInFinalLogo.start();\n fadeOutStartLogo.start();\n translateContent.start();\n translateGradients.start();\n\n const animatedScale = Animated.timing(scaleAnim, {\n toValue: 1,\n duration: 1000,\n useNativeDriver: true\n });\n\n animatedScale.start();\n\n // on mount only\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n if (!styleSheet) {\n return null;\n }\n return (\n <Animated.View style={[styleSheet.wrapper, translateContent.animatedStyle]} testID=\"welcome\">\n <Animated.View style={[styleSheet.gradients, translateGradients.animatedStyle]}>\n <View\n style={[\n styleSheet.gradient,\n Platform.select({\n default: {\n // @ts-ignore\n experimental_backgroundImage: `linear-gradient(180deg, ${cm_primary_blue} 0%, #fff 95%)`\n },\n web: {\n // @ts-ignore\n backgroundImage: `linear-gradient(180deg, ${cm_primary_blue} 0%, #fff 95%)`\n }\n }) as ViewStyle\n ]}\n />\n <View\n style={[\n styleSheet.gradient2,\n Platform.select({\n default: {\n // @ts-ignore\n experimental_backgroundImage: 'linear-gradient(180deg, #2199AB 0%, #fff 95%)'\n },\n web: {\n // @ts-ignore\n backgroundImage: 'linear-gradient(180deg, #2199AB 0%, #fff 95%)'\n }\n }) as ViewStyle\n ]}\n />\n </Animated.View>\n\n <Touchable onLongPress={onDemoPress} style={styleSheet.logo}>\n <Animated.View\n style={[styleSheet.animatedLogoWrapper, {transform: [{scale: interpolateScale}]}]}\n >\n <Animated.View style={[styleSheet.logoBG, fadeInFinalLogo.animatedStyle]} />\n <Animated.View style={[styleSheet.animatedLogo, fadeInFinalLogo.animatedStyle]}>\n <LogoCoorp fill=\"#0061FF\" />\n </Animated.View>\n <Animated.View style={[styleSheet.animatedLogo, fadeOutStartLogo.animatedStyle]}>\n <LogoCoorp fill=\"#fff\" />\n </Animated.View>\n </Animated.View>\n </Touchable>\n <Animated.View style={[styleSheet.content, fadeInContent.animatedStyle]}>\n <Text style={styleSheet.title}>{locales.title}</Text>\n <Text style={styleSheet.description}>{locales.description}</Text>\n\n <View style={styleSheet.actions}>\n <View style={styleSheet.buttons}>\n <Touchable\n style={[styleSheet.button, styleSheet.ctaQrCode]}\n onPress={onQRCodeButtonPress}\n testID=\"qr-code-button\"\n >\n <QrCodeIcon style={styleSheet.qrCodeIcon} />\n <Text style={styleSheet.ctaQrCodeText}>{locales.ctaQrCode}</Text>\n </Touchable>\n <Touchable\n style={[styleSheet.button, styleSheet.ctaReceiveMail]}\n onPress={onReceiveEmailButtonPress}\n testID=\"receive-email-button\"\n >\n <MailIcon style={styleSheet.mailIcon} />\n <Text style={styleSheet.ctaReceiveMailText}>{locales.ctaReceiveMail}</Text>\n </Touchable>\n </View>\n <Touchable onPress={onHelpPress} style={styleSheet.help}>\n <Text style={styleSheet.titleHelp}>{locales.titleHelp}</Text>\n <Text style={styleSheet.ctaHelp}>{locales.ctaHelp}</Text>\n </Touchable>\n </View>\n </Animated.View>\n </Animated.View>\n );\n};\n\nexport default Welcome;\n"],"mappings":"AAAA,OAAOA,KAAK,IAAGC,SAAS,EAAEC,OAAO,EAAUC,QAAQ,QAAO,OAAO;AACjE,SAAQC,QAAQ,EAAEC,UAAU,EAAaC,IAAI,EAAaC,QAAQ,QAAO,cAAc;AACvF,SACEC,oCAAoC,IAAIC,SAAS,EACjDC,iCAAiC,IAAIC,UAAU,EAC/CC,gCAAgC,IAAIC,QAAQ,QACvC,0BAA0B;AACjC,SAAQC,cAAc,EAAEC,aAAa,QAAO,sCAAsC;AAClF,OAAOC,SAAS,MAAM,qCAAqC;AAC3D,SAAQC,kBAAkB,QAAO,mCAAmC;AAEpE,OAAOC,IAAI,MAAM,iCAAiC;AAClD,SAAQC,MAAM,QAAO,2BAA2B;AAEhD,MAAM;EAACC;AAAe,CAAC,GAAGD,MAAM;AA4BhC,MAAME,gBAAgB,GAAIC,KAAY,IACpCjB,UAAU,CAACkB,MAAM,CAAiB;EAChCC,OAAO,EAAE;IACPC,GAAG,EAAE,CAAC;IACNC,MAAM,EAAE,CAAC;IACTC,IAAI,EAAE,CAAC;IACPC,KAAK,EAAE,CAAC;IACRC,IAAI,EAAE,CAAC;IACPC,cAAc,EAAE,cAAc;IAC9BC,UAAU,EAAE,QAAQ;IACpBC,iBAAiB,EAAE;EACrB,CAAC;EACDC,OAAO,EAAE;IACPC,KAAK,EAAE,MAAM;IACbH,UAAU,EAAE;EACd,CA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,eACZ/D,KAAA,CAAA2G,aAAA,CAAC3F,SAAS;IACR4F,KAAK,EAAE,CAACxB,UAAU,CAAC1B,MAAM,EAAE0B,UAAU,CAACd,cAAc,CAAE;IACtDgD,OAAO,EAAEnC,yBAA0B;IACnC2B,MAAM,EAAC;EAAsB,gBAE7B9G,KAAA,CAAA2G,aAAA,CAAC9F,QAAQ;IAAC+F,KAAK,EAAExB,UAAU,CAACZ;EAAS,CAAE,CAAC,eACxCxE,KAAA,CAAA2G,aAAA,CAACzF,IAAI;IAAC0F,KAAK,EAAExB,UAAU,CAACb;EAAmB,GAAEQ,OAAO,CAACT,cAAqB,CACjE,CACP,CAAC,eACPtE,KAAA,CAAA2G,aAAA,CAAC3F,SAAS;IAACsG,OAAO,EAAEpC,WAAY;IAAC0B,KAAK,EAAExB,UAAU,CAACX;EAAK,gBACtDzE,KAAA,CAAA2G,aAAA,CAACzF,IAAI;IAAC0F,KAAK,EAAExB,UAAU,CAACV;EAAU,GAAEK,OAAO,CAACL,SAAgB,CAAC,eAC7D1E,KAAA,CAAA2G,aAAA,CAACzF,IAAI;IAAC0F,KAAK,EAAExB,UAAU,CAACT;EAAQ,GAAEI,OAAO,CAACJ,OAAc,CAC/C,CACP,CACO,CACF,CAAC;AAEpB,CAAC;AAED,eAAeE,OAAO","ignoreList":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default MyLearning;
|
|
2
|
-
declare function MyLearning(props: any, context: any): JSX.Element;
|
|
2
|
+
declare function MyLearning(props: any, context: any): React.JSX.Element;
|
|
3
3
|
declare namespace MyLearning {
|
|
4
4
|
namespace contextTypes {
|
|
5
5
|
const skin: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -26,8 +26,8 @@ declare namespace MyLearning {
|
|
|
26
26
|
const translate: PropTypes.Requireable<(...args: any[]) => any>;
|
|
27
27
|
}
|
|
28
28
|
namespace propTypes {
|
|
29
|
-
const skills: PropTypes.Requireable<
|
|
30
|
-
const selectedSkills: PropTypes.Requireable<
|
|
29
|
+
const skills: PropTypes.Requireable<string[]>;
|
|
30
|
+
const selectedSkills: PropTypes.Requireable<string[]>;
|
|
31
31
|
const skillsInformation: PropTypes.Requireable<{
|
|
32
32
|
[x: string]: PropTypes.InferProps<{
|
|
33
33
|
availableForReview: PropTypes.Requireable<boolean>;
|
|
@@ -38,10 +38,10 @@ declare namespace MyLearning {
|
|
|
38
38
|
questionsToReview: PropTypes.Requireable<number>;
|
|
39
39
|
learningTime: PropTypes.Requireable<number>;
|
|
40
40
|
}>>;
|
|
41
|
-
}
|
|
41
|
+
}>;
|
|
42
42
|
}>;
|
|
43
43
|
const skillsLocales: PropTypes.Requireable<{
|
|
44
|
-
[x: string]: string
|
|
44
|
+
[x: string]: string;
|
|
45
45
|
}>;
|
|
46
46
|
const learnerFeature: PropTypes.Requireable<boolean>;
|
|
47
47
|
const isLoading: PropTypes.Requireable<boolean>;
|
|
@@ -52,7 +52,7 @@ declare namespace MyLearning {
|
|
|
52
52
|
dataName: PropTypes.Requireable<string>;
|
|
53
53
|
title: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
|
|
54
54
|
showMore: PropTypes.Requireable<string>;
|
|
55
|
-
cards: PropTypes.Requireable<
|
|
55
|
+
cards: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
56
56
|
badge: PropTypes.Requireable<string>;
|
|
57
57
|
image: PropTypes.Requireable<string>;
|
|
58
58
|
disabled: PropTypes.Requireable<boolean>;
|
|
@@ -108,18 +108,18 @@ declare namespace MyLearning {
|
|
|
108
108
|
tagLabel: PropTypes.Requireable<string>;
|
|
109
109
|
progression: PropTypes.Requireable<number>;
|
|
110
110
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
111
|
-
}
|
|
111
|
+
}>>[]>;
|
|
112
112
|
tabs: PropTypes.Requireable<PropTypes.InferProps<{
|
|
113
|
-
items: PropTypes.Requireable<
|
|
113
|
+
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
114
114
|
title: PropTypes.Requireable<string>;
|
|
115
115
|
count: PropTypes.Requireable<number>;
|
|
116
116
|
'aria-label': PropTypes.Requireable<string>;
|
|
117
117
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
118
118
|
isActive: PropTypes.Requireable<boolean>;
|
|
119
|
-
}>
|
|
119
|
+
}>[]>;
|
|
120
120
|
}>>;
|
|
121
121
|
customStyle: PropTypes.Requireable<{
|
|
122
|
-
[x: string]: string
|
|
122
|
+
[x: string]: string;
|
|
123
123
|
}>;
|
|
124
124
|
onScroll: PropTypes.Requireable<(...args: any[]) => any>;
|
|
125
125
|
onShowMore: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -132,5 +132,6 @@ declare namespace MyLearning {
|
|
|
132
132
|
}>>;
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
|
+
import React from "react";
|
|
135
136
|
import PropTypes from "prop-types";
|
|
136
137
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/my-learning/index.js"],"names":[],"mappings":";AAqHA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/my-learning/index.js"],"names":[],"mappings":";AAqHA,yEA2ZC"}
|