@coorpacademy/components 11.40.14-alpha.9 → 11.40.14-react18.80
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/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 +2 -2
- 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 -25
- package/es/atom/checkbox-with-title/index.d.ts.map +1 -1
- package/es/atom/checkbox-with-title/index.js +2 -16
- package/es/atom/checkbox-with-title/index.js.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 +5 -5
- 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/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 +1 -1
- 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.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 -24
- package/es/atom/input-switch/index.d.ts.map +1 -1
- package/es/atom/input-switch/index.js +2 -16
- package/es/atom/input-switch/index.js.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/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 +5 -35
- package/es/atom/range/index.d.ts.map +1 -1
- package/es/atom/range/index.js +20 -88
- package/es/atom/range/index.js.map +1 -1
- package/es/atom/range/style.css +0 -38
- 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 +1 -1
- 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 +8 -8
- 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 +10 -51
- package/es/molecule/multi-filter-panel/index.d.ts.map +1 -1
- package/es/molecule/multi-filter-panel/index.js +13 -28
- package/es/molecule/multi-filter-panel/index.js.map +1 -1
- package/es/molecule/multi-filter-panel/prop-types.d.ts +13 -39
- package/es/molecule/multi-filter-panel/prop-types.d.ts.map +1 -1
- package/es/molecule/multi-filter-panel/prop-types.js +0 -4
- package/es/molecule/multi-filter-panel/prop-types.js.map +1 -1
- 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.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/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 +1 -1
- 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/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 +3 -5
- 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/index.js +1 -3
- package/es/molecule/quick-filters/index.js.map +1 -1
- package/es/molecule/quick-filters/style.css +0 -2
- 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/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 +71 -91
- package/es/organism/content-skill-modal/index.d.ts.map +1 -1
- package/es/organism/content-skill-modal/types.d.ts +70 -90
- package/es/organism/content-skill-modal/types.d.ts.map +1 -1
- 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 -25
- package/es/organism/filter-checkbox-and-search/index.d.ts.map +1 -1
- package/es/organism/filter-checkbox-and-search/index.js +2 -13
- package/es/organism/filter-checkbox-and-search/index.js.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 -25
- package/es/organism/filter-chip/index.d.ts.map +1 -1
- package/es/organism/filter-chip/index.js +2 -14
- package/es/organism/filter-chip/index.js.map +1 -1
- package/es/organism/filter-chip/prop-types.d.ts +2 -2
- package/es/organism/filter-switch/index.d.ts +4 -26
- package/es/organism/filter-switch/index.d.ts.map +1 -1
- package/es/organism/filter-switch/index.js +3 -18
- package/es/organism/filter-switch/index.js.map +1 -1
- package/es/organism/filter-switch/prop-types.d.ts +2 -4
- package/es/organism/filter-switch/prop-types.d.ts.map +1 -1
- package/es/organism/filter-switch/prop-types.js +1 -2
- package/es/organism/filter-switch/prop-types.js.map +1 -1
- 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/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.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/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 +92 -92
- package/es/template/app-player/popin-end/index.d.ts.map +1 -1
- package/es/template/app-player/popin-end/summary.d.ts +9 -8
- 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 +337 -363
- 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 +7 -6
- 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 +107 -143
- package/es/template/common/search-page/index.d.ts.map +1 -1
- package/es/template/common/search-page/index.js +6 -45
- package/es/template/common/search-page/index.js.map +1 -1
- package/es/template/common/search-page/style.css +1 -27
- 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.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 +2 -2
- package/es/template/mobile-login/welcome/index.native.js.map +1 -1
- package/es/template/my-learning/index.d.ts +9 -8
- package/es/template/my-learning/index.d.ts.map +1 -1
- package/es/template/playlist-detail/index.d.ts +17 -16
- 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 +9 -8
- 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.css +0 -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/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 +2 -2
- 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 -25
- package/lib/atom/checkbox-with-title/index.d.ts.map +1 -1
- package/lib/atom/checkbox-with-title/index.js +2 -16
- package/lib/atom/checkbox-with-title/index.js.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 +6 -6
- 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/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 +1 -1
- 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.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 -24
- package/lib/atom/input-switch/index.d.ts.map +1 -1
- package/lib/atom/input-switch/index.js +2 -16
- package/lib/atom/input-switch/index.js.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/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 +5 -35
- package/lib/atom/range/index.d.ts.map +1 -1
- package/lib/atom/range/index.js +20 -88
- package/lib/atom/range/index.js.map +1 -1
- package/lib/atom/range/style.css +0 -38
- 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 +1 -1
- 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 +8 -8
- 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 +10 -51
- package/lib/molecule/multi-filter-panel/index.d.ts.map +1 -1
- package/lib/molecule/multi-filter-panel/index.js +13 -28
- package/lib/molecule/multi-filter-panel/index.js.map +1 -1
- package/lib/molecule/multi-filter-panel/prop-types.d.ts +13 -39
- package/lib/molecule/multi-filter-panel/prop-types.d.ts.map +1 -1
- package/lib/molecule/multi-filter-panel/prop-types.js +0 -4
- package/lib/molecule/multi-filter-panel/prop-types.js.map +1 -1
- 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.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/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 +2 -2
- 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/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 +3 -5
- 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/index.js +1 -3
- package/lib/molecule/quick-filters/index.js.map +1 -1
- package/lib/molecule/quick-filters/style.css +0 -2
- 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/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 +71 -91
- package/lib/organism/content-skill-modal/index.d.ts.map +1 -1
- package/lib/organism/content-skill-modal/types.d.ts +70 -90
- package/lib/organism/content-skill-modal/types.d.ts.map +1 -1
- 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 -25
- package/lib/organism/filter-checkbox-and-search/index.d.ts.map +1 -1
- package/lib/organism/filter-checkbox-and-search/index.js +2 -13
- package/lib/organism/filter-checkbox-and-search/index.js.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 -25
- package/lib/organism/filter-chip/index.d.ts.map +1 -1
- package/lib/organism/filter-chip/index.js +2 -14
- package/lib/organism/filter-chip/index.js.map +1 -1
- package/lib/organism/filter-chip/prop-types.d.ts +2 -2
- package/lib/organism/filter-switch/index.d.ts +4 -26
- package/lib/organism/filter-switch/index.d.ts.map +1 -1
- package/lib/organism/filter-switch/index.js +3 -18
- package/lib/organism/filter-switch/index.js.map +1 -1
- package/lib/organism/filter-switch/prop-types.d.ts +2 -4
- package/lib/organism/filter-switch/prop-types.d.ts.map +1 -1
- package/lib/organism/filter-switch/prop-types.js +1 -2
- package/lib/organism/filter-switch/prop-types.js.map +1 -1
- 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/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.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/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 +92 -92
- package/lib/template/app-player/popin-end/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-end/summary.d.ts +9 -8
- 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 +337 -363
- 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 +7 -6
- 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 +107 -143
- package/lib/template/common/search-page/index.d.ts.map +1 -1
- package/lib/template/common/search-page/index.js +6 -45
- package/lib/template/common/search-page/index.js.map +1 -1
- package/lib/template/common/search-page/style.css +1 -27
- 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.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 +1 -1
- package/lib/template/mobile-login/welcome/index.native.js.map +1 -1
- package/lib/template/my-learning/index.d.ts +9 -8
- package/lib/template/my-learning/index.d.ts.map +1 -1
- package/lib/template/playlist-detail/index.d.ts +17 -16
- 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 +9 -8
- 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.css +0 -1
- package/locales/bs/global.json +4 -1
- package/locales/cs/global.json +4 -1
- package/locales/de/global.json +4 -1
- package/locales/en/global.json +3 -0
- package/locales/es/global.json +4 -1
- package/locales/et/global.json +4 -1
- package/locales/fi/global.json +4 -1
- package/locales/fr/global.json +4 -1
- package/locales/hr/global.json +4 -1
- package/locales/hu/global.json +4 -1
- package/locales/hy/global.json +4 -1
- package/locales/it/global.json +4 -1
- package/locales/ja/global.json +4 -1
- package/locales/ko/global.json +4 -1
- package/locales/lt/global.json +4 -1
- package/locales/nl/global.json +4 -1
- package/locales/pl/global.json +4 -1
- package/locales/pt/global.json +4 -1
- package/locales/ro/global.json +4 -1
- package/locales/ru/global.json +4 -1
- package/locales/sk/global.json +4 -1
- package/locales/sl/global.json +4 -1
- package/locales/sv/global.json +3 -0
- package/locales/tl/global.json +4 -1
- package/locales/tr/global.json +3 -0
- package/locales/uk/global.json +4 -1
- package/locales/vi/global.json +4 -1
- package/locales/zh/global.json +3 -0
- package/locales/zh_TW/global.json +3 -0
- package/package.json +23 -20
- package/es/organism/filter-range/index.d.ts +0 -28
- package/es/organism/filter-range/index.d.ts.map +0 -1
- package/es/organism/filter-range/index.js +0 -69
- package/es/organism/filter-range/index.js.map +0 -1
- package/es/organism/filter-range/prop-types.d.ts +0 -38
- package/es/organism/filter-range/prop-types.d.ts.map +0 -1
- package/es/organism/filter-range/prop-types.js +0 -20
- package/es/organism/filter-range/prop-types.js.map +0 -1
- package/es/organism/filter-range/style.css +0 -15
- package/lib/organism/filter-range/index.d.ts +0 -28
- package/lib/organism/filter-range/index.d.ts.map +0 -1
- package/lib/organism/filter-range/index.js +0 -76
- package/lib/organism/filter-range/index.js.map +0 -1
- package/lib/organism/filter-range/prop-types.d.ts +0 -38
- package/lib/organism/filter-range/prop-types.d.ts.map +0 -1
- package/lib/organism/filter-range/prop-types.js +0 -25
- package/lib/organism/filter-range/prop-types.js.map +0 -1
- package/lib/organism/filter-range/style.css +0 -15
|
@@ -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,OAAO;AAC3D,SAAQC,QAAQ,EAAEC,MAAM,EAAEC,UAAU,EAAEC,IAAI,QAAkB,cAAc;AAE1E,OAAOC,iBAAiB,MAAM,6BAA6B;AAE3D,SAAQC,iCAAiC,IAAIC,UAAU,QAAO,0BAA0B;AACxF,OAAOC,SAAS,MAAM,qCAAqC;AAC3D,OAAOC,IAAI,MAAM,iCAAiC;AAelD,MAAMC,MAAM,GAAG,GAAG;AAClB,MAAMC,KAAK,GAAG,G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D,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,QAAkB,cAAc;AAE1E,OAAOC,iBAAiB,MAAM,6BAA6B;AAE3D,SAAQC,iCAAiC,IAAIC,UAAU,QAAO,0BAA0B;AACxF,OAAOC,SAAS,MAAM,qCAAqC;AAC3D,OAAOC,IAAI,MAAM,iCAAiC;AAelD,MAAMC,MAAM,GAAG,GAAG;AAClB,MAAMC,KAAK,GAAG,GAAG;AACjB,MAAMC,KAAK,GAAG,MAAM;AACpB,MAAMC,aAAa,GAAG,CAAC;A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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;IACnBC,iBAAiB,EAAE;EACrB,CAAC;EACDC,cAAc,EAAE;IACdP,KAAK,EAAE;EACT,CAAC;EACDQ,UAAU,EAAE;IACVH,eAAe,EAAE;EACnB,CAAC;EACDI,SAAS,EAAE;IACTC,IAAI,EAAE,SAAS;IACfV,KAAK,EAAE,EAAE;IACTC,MAAM,EAAE;EACV,CAAC;EACDU,eAAe,EAAE;IACfC,eAAe,EAAE,SAAS;IAC1BZ,KAAK,EAAE,EAAE;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AAE,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 </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,QAEC,cAAc;AACrB,SACEC,kCAAkC,IAAIC,SAAS,EAC/CC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AA,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;AAiLlE,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,sBAuI5B,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useEffect,
|
|
1
|
+
import React, { useEffect, useMemo, useState } from 'react';
|
|
2
2
|
import { Animated, StyleSheet, View } from 'react-native';
|
|
3
3
|
import LinearGradient from 'react-native-linear-gradient';
|
|
4
4
|
import { NovaCompositionCoorpacademyLogoCoorp as LogoCoorp, NovaCompositionCoorpacademyQrCode as QrCodeIcon, NovaCompositionCoorpacademyEmail as MailIcon } from '@coorpacademy/nova-icons';
|
|
@@ -191,7 +191,7 @@ const Welcome = props => {
|
|
|
191
191
|
duration: 250,
|
|
192
192
|
delay: 900
|
|
193
193
|
});
|
|
194
|
-
const scaleAnim =
|
|
194
|
+
const scaleAnim = useMemo(() => new Animated.Value(0), []);
|
|
195
195
|
const interpolateScale = scaleAnim.interpolate({
|
|
196
196
|
inputRange: [0, 0.4, 0.5, 0.6, 1],
|
|
197
197
|
outputRange: [1, 1.7, 1.7, 1.7, 1]
|
|
@@ -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.ctaH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AC5F,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","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","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, useMemo, 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 & {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 <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,OAAO,EAAUC,QAAQ,QAAO,OAAO;AACjE,SAAQC,QAAQ,EAAE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L,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,9 +108,9 @@ 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
|
customStyle: PropTypes.Requireable<{
|
|
113
|
-
[x: string]: string
|
|
113
|
+
[x: string]: string;
|
|
114
114
|
}>;
|
|
115
115
|
onScroll: PropTypes.Requireable<(...args: any[]) => any>;
|
|
116
116
|
onShowMore: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -123,5 +123,6 @@ declare namespace MyLearning {
|
|
|
123
123
|
}>>;
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
+
import React from "react";
|
|
126
127
|
import PropTypes from "prop-types";
|
|
127
128
|
//# 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,yEA0ZC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default PlaylistDetail;
|
|
2
|
-
declare function PlaylistDetail(props: any, context: any): JSX.Element;
|
|
2
|
+
declare function PlaylistDetail(props: any, context: any): React.JSX.Element;
|
|
3
3
|
declare namespace PlaylistDetail {
|
|
4
4
|
namespace contextTypes {
|
|
5
5
|
const skin: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -27,28 +27,28 @@ declare namespace PlaylistDetail {
|
|
|
27
27
|
}
|
|
28
28
|
namespace propTypes {
|
|
29
29
|
const title: PropTypes.Validator<string>;
|
|
30
|
-
const coverImages: PropTypes.Validator<
|
|
30
|
+
const coverImages: PropTypes.Validator<PropTypes.InferProps<{
|
|
31
31
|
type: PropTypes.Requireable<string>;
|
|
32
32
|
image: PropTypes.Requireable<string>;
|
|
33
|
-
}>
|
|
33
|
+
}>[]>;
|
|
34
34
|
const playlistRef: PropTypes.Validator<string>;
|
|
35
35
|
const description: PropTypes.Requireable<string>;
|
|
36
36
|
const ongoingCoursesAvailable: PropTypes.Requireable<boolean>;
|
|
37
37
|
const playlistCourses: PropTypes.Requireable<PropTypes.InferProps<{
|
|
38
|
-
list: PropTypes.Requireable<
|
|
38
|
+
list: PropTypes.Requireable<NonNullable<PropTypes.InferProps<any>>[]>;
|
|
39
39
|
customStyle: PropTypes.Requireable<{
|
|
40
|
-
[x: string]: string
|
|
40
|
+
[x: string]: string;
|
|
41
41
|
}>;
|
|
42
42
|
loading: PropTypes.Requireable<boolean>;
|
|
43
43
|
}>>;
|
|
44
44
|
const filters: PropTypes.Requireable<PropTypes.InferProps<{
|
|
45
45
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
46
|
-
options: PropTypes.Requireable<
|
|
46
|
+
options: PropTypes.Requireable<PropTypes.InferProps<{
|
|
47
47
|
name: PropTypes.Validator<string>;
|
|
48
|
-
value: PropTypes.Requireable<NonNullable<string | number
|
|
48
|
+
value: PropTypes.Requireable<NonNullable<string | number>>;
|
|
49
49
|
selected: PropTypes.Requireable<boolean>;
|
|
50
50
|
validOption: PropTypes.Requireable<boolean>;
|
|
51
|
-
}>
|
|
51
|
+
}>[]>;
|
|
52
52
|
}>>;
|
|
53
53
|
const metrics: PropTypes.Requireable<PropTypes.InferProps<{
|
|
54
54
|
totalContents: PropTypes.Requireable<number>;
|
|
@@ -65,21 +65,21 @@ declare namespace PlaylistDetail {
|
|
|
65
65
|
required: PropTypes.Requireable<boolean>;
|
|
66
66
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
67
67
|
theme: PropTypes.Requireable<string>;
|
|
68
|
-
options: PropTypes.Requireable<
|
|
68
|
+
options: PropTypes.Requireable<PropTypes.InferProps<{
|
|
69
69
|
name: PropTypes.Validator<string>;
|
|
70
|
-
value: PropTypes.Requireable<NonNullable<string | number
|
|
70
|
+
value: PropTypes.Requireable<NonNullable<string | number>>;
|
|
71
71
|
selected: PropTypes.Requireable<boolean>;
|
|
72
72
|
validOption: PropTypes.Requireable<boolean>;
|
|
73
|
-
}>
|
|
74
|
-
optgroups: PropTypes.Requireable<
|
|
73
|
+
}>[]>;
|
|
74
|
+
optgroups: PropTypes.Requireable<PropTypes.InferProps<{
|
|
75
75
|
label: PropTypes.Validator<string>;
|
|
76
|
-
options: PropTypes.Requireable<
|
|
76
|
+
options: PropTypes.Requireable<PropTypes.InferProps<{
|
|
77
77
|
name: PropTypes.Validator<string>;
|
|
78
|
-
value: PropTypes.Requireable<NonNullable<string | number
|
|
78
|
+
value: PropTypes.Requireable<NonNullable<string | number>>;
|
|
79
79
|
selected: PropTypes.Requireable<boolean>;
|
|
80
80
|
validOption: PropTypes.Requireable<boolean>;
|
|
81
|
-
}>
|
|
82
|
-
}>
|
|
81
|
+
}>[]>;
|
|
82
|
+
}>[]>;
|
|
83
83
|
modified: PropTypes.Requireable<boolean>;
|
|
84
84
|
error: PropTypes.Requireable<boolean>;
|
|
85
85
|
'aria-label': PropTypes.Requireable<string>;
|
|
@@ -97,5 +97,6 @@ declare namespace PlaylistDetail {
|
|
|
97
97
|
}>>;
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
|
+
import React from "react";
|
|
100
101
|
import PropTypes from "prop-types";
|
|
101
102
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/playlist-detail/index.js"],"names":[],"mappings":";AAgBA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/playlist-detail/index.js"],"names":[],"mappings":";AAgBA,6EAyGC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default ReviewDashboardSkills;
|
|
2
|
-
declare function ReviewDashboardSkills(props: any): JSX.Element;
|
|
2
|
+
declare function ReviewDashboardSkills(props: any): React.JSX.Element;
|
|
3
3
|
declare namespace ReviewDashboardSkills {
|
|
4
4
|
const propTypes: {
|
|
5
5
|
'aria-label': PropTypes.Requireable<string>;
|
|
@@ -39,7 +39,7 @@ declare namespace ReviewDashboardSkills {
|
|
|
39
39
|
title: PropTypes.Requireable<string>;
|
|
40
40
|
isLoading: PropTypes.Requireable<boolean>;
|
|
41
41
|
isLoadingAriaLabel: PropTypes.Requireable<string>;
|
|
42
|
-
listSkills: PropTypes.Requireable<
|
|
42
|
+
listSkills: PropTypes.Requireable<PropTypes.InferProps<{
|
|
43
43
|
'aria-label': PropTypes.Requireable<string>;
|
|
44
44
|
skillTitle: PropTypes.Requireable<string>;
|
|
45
45
|
skillAriaLabel: PropTypes.Requireable<string>;
|
|
@@ -49,12 +49,13 @@ declare namespace ReviewDashboardSkills {
|
|
|
49
49
|
reviseAriaLabel: PropTypes.Requireable<string>;
|
|
50
50
|
isCustom: PropTypes.Requireable<boolean>;
|
|
51
51
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
52
|
-
}>
|
|
52
|
+
}>[]>;
|
|
53
53
|
titleNoSkills: PropTypes.Requireable<string>;
|
|
54
54
|
textNoSkills: PropTypes.Requireable<string>;
|
|
55
55
|
iconSkillAriaLabel: PropTypes.Requireable<string>;
|
|
56
56
|
}>>;
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
|
+
import React from "react";
|
|
59
60
|
import PropTypes from "prop-types";
|
|
60
61
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/review-dashboard-skills/index.js"],"names":[],"mappings":";AAMA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/review-dashboard-skills/index.js"],"names":[],"mappings":";AAMA,sEAaC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { CardsGridProps } from '../../organism/cards-grid';
|
|
4
4
|
interface ProviderContext {
|
|
@@ -16,7 +16,7 @@ declare const AllCourses: {
|
|
|
16
16
|
list: CardsGridProps['list'];
|
|
17
17
|
loading?: boolean;
|
|
18
18
|
};
|
|
19
|
-
totalContents?: number
|
|
19
|
+
totalContents?: number;
|
|
20
20
|
search: {
|
|
21
21
|
oldValue: string;
|
|
22
22
|
onChange: (value: string) => void;
|
|
@@ -25,12 +25,12 @@ declare const AllCourses: {
|
|
|
25
25
|
type: 'skill' | 'playlist';
|
|
26
26
|
action: () => void;
|
|
27
27
|
oldSwitchValue: boolean;
|
|
28
|
-
}
|
|
28
|
+
};
|
|
29
29
|
filters: {
|
|
30
|
-
onChange?: (
|
|
31
|
-
options?: unknown[]
|
|
30
|
+
onChange?: (value: string) => void;
|
|
31
|
+
options?: unknown[];
|
|
32
32
|
};
|
|
33
|
-
}, context: ProviderContext): JSX.Element;
|
|
33
|
+
}, context: ProviderContext): React.JSX.Element;
|
|
34
34
|
contextTypes: {
|
|
35
35
|
skin: PropTypes.Requireable<PropTypes.InferProps<{
|
|
36
36
|
common: PropTypes.Requireable<{
|
|
@@ -57,21 +57,21 @@ declare const AllCourses: {
|
|
|
57
57
|
};
|
|
58
58
|
propTypes: {
|
|
59
59
|
content: PropTypes.Requireable<PropTypes.InferProps<{
|
|
60
|
-
list: PropTypes.Requireable<
|
|
60
|
+
list: PropTypes.Requireable<NonNullable<PropTypes.InferProps<any>>[]>;
|
|
61
61
|
customStyle: PropTypes.Requireable<{
|
|
62
|
-
[x: string]: string
|
|
62
|
+
[x: string]: string;
|
|
63
63
|
}>;
|
|
64
64
|
loading: PropTypes.Requireable<boolean>;
|
|
65
65
|
}>>;
|
|
66
66
|
totalContents: PropTypes.Requireable<number>;
|
|
67
67
|
filters: PropTypes.Requireable<PropTypes.InferProps<{
|
|
68
68
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
69
|
-
options: PropTypes.Requireable<
|
|
69
|
+
options: PropTypes.Requireable<PropTypes.InferProps<{
|
|
70
70
|
name: PropTypes.Validator<string>;
|
|
71
|
-
value: PropTypes.Requireable<NonNullable<string | number
|
|
71
|
+
value: PropTypes.Requireable<NonNullable<string | number>>;
|
|
72
72
|
selected: PropTypes.Requireable<boolean>;
|
|
73
73
|
validOption: PropTypes.Requireable<boolean>;
|
|
74
|
-
}>
|
|
74
|
+
}>[]>;
|
|
75
75
|
}>>;
|
|
76
76
|
bannerMicrolearning: PropTypes.Requireable<PropTypes.InferProps<{
|
|
77
77
|
type: PropTypes.Requireable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"all-courses.d.ts","sourceRoot":"","sources":["../../../src/template/skill-detail/all-courses.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"all-courses.d.ts","sourceRoot":"","sources":["../../../src/template/skill-detail/all-courses.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAC5D,OAAO,SAAS,MAAM,YAAY,CAAC;AAMnC,OAAkB,EAAC,cAAc,EAAC,MAAM,2BAA2B,CAAC;AAQpE,UAAU,eAAe;IACvB,IAAI,EAAE;QACJ,MAAM,EAAE;YACN,OAAO,EAAE,MAAM,CAAC;YAChB,SAAS,EAAE,MAAM,CAAC;SACnB,CAAC;KACH,CAAC;IACF,SAAS,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,KAAK,MAAM,CAAC;CACnD;AAgDD,QAAA,MAAM,UAAU;;iBAEH;YACP,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;YAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;SACnB;wBACe,MAAM;;sBAEV,MAAM;8BACE,MAAM,KAAK,IAAI;;8BAEb;YACpB,IAAI,EAAE,OAAO,GAAG,UAAU,CAAC;YAC3B,MAAM,EAAE,MAAM,IAAI,CAAC;YACnB,cAAc,EAAE,OAAO,CAAC;SACzB;;+BAEoB,MAAM,KAAK,IAAI;sBACxB,OAAO,EAAE;;gBAGd,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkJzB,CAAC;AAyBF,eAAe,UAAU,CAAC"}
|