@coorpacademy/components 11.33.0 → 11.33.2-alpha.0
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.js +4 -2
- package/es/atom/autocomplete/index.js.map +1 -1
- package/es/atom/avatar/index.js +2 -0
- package/es/atom/avatar/index.js.map +1 -1
- package/es/atom/battle-opponent/index.js +11 -7
- package/es/atom/battle-opponent/index.js.map +1 -1
- package/es/atom/battle-opponent/prop-types.js.map +1 -1
- package/es/atom/button/index.js +10 -1
- package/es/atom/button/index.js.map +1 -1
- package/es/atom/button/index.native.js +5 -2
- package/es/atom/button/index.native.js.map +1 -1
- package/es/atom/button-link/index.js +13 -3
- package/es/atom/button-link/index.js.map +1 -1
- package/es/atom/button-link/types.js.map +1 -1
- package/es/atom/button-link-icon/index.js +13 -3
- package/es/atom/button-link-icon/index.js.map +1 -1
- package/es/atom/button-menu/index.js +7 -3
- package/es/atom/button-menu/index.js.map +1 -1
- package/es/atom/button-menu/types.js.map +1 -1
- package/es/atom/card-image-preview/index.js +3 -0
- package/es/atom/card-image-preview/index.js.map +1 -1
- package/es/atom/catalog-section/index.js +2 -0
- package/es/atom/catalog-section/index.js.map +1 -1
- package/es/atom/centered-text/index.js +2 -0
- package/es/atom/centered-text/index.js.map +1 -1
- package/es/atom/checkbox/index.js +5 -1
- package/es/atom/checkbox/index.js.map +1 -1
- package/es/atom/checkbox-with-title/index.js +4 -0
- package/es/atom/checkbox-with-title/index.js.map +1 -1
- package/es/atom/chip/index.js +3 -4
- package/es/atom/chip/index.js.map +1 -1
- package/es/atom/chips/index.js +2 -1
- package/es/atom/chips/index.js.map +1 -1
- package/es/atom/choice/index.native.js +11 -2
- package/es/atom/choice/index.native.js.map +1 -1
- package/es/atom/circular-progress-bar/index.js +3 -0
- package/es/atom/circular-progress-bar/index.js.map +1 -1
- package/es/atom/circular-progress-bar/types.js.map +1 -1
- package/es/atom/clue/index.js +15 -0
- package/es/atom/clue/index.js.map +1 -1
- package/es/atom/content-badge/index.js +2 -0
- package/es/atom/content-badge/index.js.map +1 -1
- package/es/atom/cta/index.js +7 -0
- package/es/atom/cta/index.js.map +1 -1
- package/es/atom/cta/prop-types.js.map +1 -1
- package/es/atom/difficulty-level/index.js +7 -0
- package/es/atom/difficulty-level/index.js.map +1 -1
- package/es/atom/drag-and-drop/index.js +18 -1
- package/es/atom/drag-and-drop/index.js.map +1 -1
- package/es/atom/empty-search-result/index.js +2 -0
- package/es/atom/empty-search-result/index.js.map +1 -1
- package/es/atom/gradient/index.native.js +7 -0
- package/es/atom/gradient/index.native.js.map +1 -1
- package/es/atom/header-back-button/index.native.js +6 -0
- package/es/atom/header-back-button/index.native.js.map +1 -1
- package/es/atom/header-back-icon/index.native.js +2 -0
- package/es/atom/header-back-icon/index.native.js.map +1 -1
- package/es/atom/html/index.native.js +15 -18
- package/es/atom/html/index.native.js.map +1 -1
- package/es/atom/icon/index.js +2 -4
- package/es/atom/icon/index.js.map +1 -1
- package/es/atom/image-background/index.native.js +10 -1
- package/es/atom/image-background/index.native.js.map +1 -1
- package/es/atom/input-checkbox/index.js +4 -0
- package/es/atom/input-checkbox/index.js.map +1 -1
- package/es/atom/input-color/index.js +2 -0
- package/es/atom/input-color/index.js.map +1 -1
- package/es/atom/input-doublestep/index.js +16 -3
- package/es/atom/input-doublestep/index.js.map +1 -1
- package/es/atom/input-file-draggable/index.js +6 -3
- package/es/atom/input-file-draggable/index.js.map +1 -1
- package/es/atom/input-html/index.js +4 -0
- package/es/atom/input-html/index.js.map +1 -1
- package/es/atom/input-html/input-preview.js +3 -2
- package/es/atom/input-html/input-preview.js.map +1 -1
- package/es/atom/input-readonly/index.js +2 -0
- package/es/atom/input-readonly/index.js.map +1 -1
- package/es/atom/input-search/index.js +2 -0
- package/es/atom/input-search/index.js.map +1 -1
- package/es/atom/input-switch/index.js +11 -1
- package/es/atom/input-switch/index.js.map +1 -1
- package/es/atom/input-text/index.js +3 -2
- package/es/atom/input-text/index.js.map +1 -1
- package/es/atom/input-text-with-title/index.js +3 -2
- package/es/atom/input-text-with-title/index.js.map +1 -1
- package/es/atom/input-textarea/index.js +3 -2
- package/es/atom/input-textarea/index.js.map +1 -1
- package/es/atom/label/index.js +2 -0
- package/es/atom/label/index.js.map +1 -1
- package/es/atom/life/index.js +7 -0
- package/es/atom/life/index.js.map +1 -1
- package/es/atom/link/index.js +6 -3
- package/es/atom/link/index.js.map +1 -1
- package/es/atom/loader/index.js +2 -0
- package/es/atom/loader/index.js.map +1 -1
- package/es/atom/loader/index.native.js +12 -2
- package/es/atom/loader/index.native.js.map +1 -1
- package/es/atom/lottie-wrapper/index.js +14 -6
- package/es/atom/lottie-wrapper/index.js.map +1 -1
- package/es/atom/lottie-wrapper/prop-types.js.map +1 -1
- package/es/atom/notification/index.js +2 -0
- package/es/atom/notification/index.js.map +1 -1
- package/es/atom/picture/index.js +9 -1
- package/es/atom/picture/index.js.map +1 -1
- package/es/atom/picture-background/index.js +2 -0
- package/es/atom/picture-background/index.js.map +1 -1
- package/es/atom/promo-code/index.js +2 -0
- package/es/atom/promo-code/index.js.map +1 -1
- package/es/atom/provider/index.js +20 -2
- package/es/atom/provider/index.js.map +1 -1
- package/es/atom/provider/web-context.js +4 -0
- package/es/atom/provider/web-context.js.map +1 -1
- package/es/atom/radio-group/index.js +9 -1
- package/es/atom/radio-group/index.js.map +1 -1
- package/es/atom/radio-group/item.js +7 -0
- package/es/atom/radio-group/item.js.map +1 -1
- package/es/atom/radio-with-title/index.js +7 -1
- package/es/atom/radio-with-title/index.js.map +1 -1
- package/es/atom/radio-with-title/types.js.map +1 -1
- package/es/atom/range/handle.js +18 -11
- package/es/atom/range/handle.js.map +1 -1
- package/es/atom/range/index.js +22 -2
- package/es/atom/range/index.js.map +1 -1
- package/es/atom/resource-miniature/index.js +6 -2
- package/es/atom/resource-miniature/index.js.map +1 -1
- package/es/atom/review-presentation/index.js +8 -5
- package/es/atom/review-presentation/index.js.map +1 -1
- package/es/atom/review-presentation/index.native.js +10 -3
- package/es/atom/review-presentation/index.native.js.map +1 -1
- package/es/atom/review-presentation/prop-types.js.map +1 -1
- package/es/atom/select/index.js +12 -9
- package/es/atom/select/index.js.map +1 -1
- package/es/atom/select-icon/index.js +5 -0
- package/es/atom/select-icon/index.js.map +1 -1
- package/es/atom/select-modal/index.native.js +11 -4
- package/es/atom/select-modal/index.native.js.map +1 -1
- package/es/atom/slide/index.js +4 -1
- package/es/atom/slide/index.js.map +1 -1
- package/es/atom/social-link/index.js +2 -0
- package/es/atom/social-link/index.js.map +1 -1
- package/es/atom/space/index.native.js +2 -0
- package/es/atom/space/index.native.js.map +1 -1
- package/es/atom/spinner/index.js +2 -0
- package/es/atom/spinner/index.js.map +1 -1
- package/es/atom/status-item/index.js +13 -1
- package/es/atom/status-item/index.js.map +1 -1
- package/es/atom/status-item/index.native.js +14 -0
- package/es/atom/status-item/index.native.js.map +1 -1
- package/es/atom/status-item/types.js.map +1 -1
- package/es/atom/tab/index.js +2 -0
- package/es/atom/tab/index.js.map +1 -1
- package/es/atom/tab-content/index.js +2 -0
- package/es/atom/tab-content/index.js.map +1 -1
- package/es/atom/tag/index.js +3 -2
- package/es/atom/tag/index.js.map +1 -1
- package/es/atom/text/index.native.js +3 -2
- package/es/atom/text/index.native.js.map +1 -1
- package/es/atom/title/index.js +17 -1
- package/es/atom/title/index.js.map +1 -1
- package/es/atom/title/types.js.map +1 -1
- package/es/atom/tooltip/index.js +9 -3
- package/es/atom/tooltip/index.js.map +1 -1
- package/es/atom/video-upload/index.js +3 -2
- package/es/atom/video-upload/index.js.map +1 -1
- package/es/atom/wizard-steps/index.js +2 -0
- package/es/atom/wizard-steps/index.js.map +1 -1
- package/es/globals.d.js.map +1 -1
- package/es/hoc/animation/index.js +11 -0
- package/es/hoc/animation/index.js.map +1 -1
- package/es/hoc/animation-scheduler/index.js +18 -0
- package/es/hoc/animation-scheduler/index.js.map +1 -1
- package/es/hoc/modal/index.native.js +6 -0
- package/es/hoc/modal/index.native.js.map +1 -1
- package/es/hoc/modal/select/index.native.js +10 -0
- package/es/hoc/modal/select/index.native.js.map +1 -1
- package/es/hoc/modal/select-item/index.native.js +9 -2
- package/es/hoc/modal/select-item/index.native.js.map +1 -1
- package/es/hoc/swapper/index.js +6 -0
- package/es/hoc/swapper/index.js.map +1 -1
- package/es/hoc/touchable/index.native.js +8 -3
- package/es/hoc/touchable/index.native.js.map +1 -1
- package/es/hoc/transition/child-prop-types.js.map +1 -1
- package/es/hoc/transition/index.js +4 -0
- package/es/hoc/transition/index.js.map +1 -1
- package/es/hoc/transition/transition-prop-types.js.map +1 -1
- package/es/index.js.map +1 -1
- package/es/molecule/add-to-my-list/index.js +7 -0
- package/es/molecule/add-to-my-list/index.js.map +1 -1
- package/es/molecule/answer/index.js +20 -1
- package/es/molecule/answer/index.js.map +1 -1
- package/es/molecule/answer/index.native.js +11 -0
- package/es/molecule/answer/index.native.js.map +1 -1
- package/es/molecule/answer/prop-types.js +3 -2
- package/es/molecule/answer/prop-types.js.map +1 -1
- package/es/molecule/audio/index.js +12 -2
- package/es/molecule/audio/index.js.map +1 -1
- package/es/molecule/banner/index.js +11 -0
- package/es/molecule/banner/index.js.map +1 -1
- package/es/molecule/base-modal/index.js +18 -5
- package/es/molecule/base-modal/index.js.map +1 -1
- package/es/molecule/battle-opponent-list/index.js +4 -1
- package/es/molecule/battle-opponent-list/index.js.map +1 -1
- package/es/molecule/battle-opponent-list/prop-types.js.map +1 -1
- package/es/molecule/battle-request/index.js +6 -2
- package/es/molecule/battle-request/index.js.map +1 -1
- package/es/molecule/brand-card/description.js +2 -0
- package/es/molecule/brand-card/description.js.map +1 -1
- package/es/molecule/brand-card/index.js +2 -0
- package/es/molecule/brand-card/index.js.map +1 -1
- package/es/molecule/brand-card-create/index.js +2 -0
- package/es/molecule/brand-card-create/index.js.map +1 -1
- package/es/molecule/brand-create-form/index.js +2 -0
- package/es/molecule/brand-create-form/index.js.map +1 -1
- package/es/molecule/brand-download-box/index.js +4 -0
- package/es/molecule/brand-download-box/index.js.map +1 -1
- package/es/molecule/brand-form-group/index.js +55 -45
- package/es/molecule/brand-form-group/index.js.map +1 -1
- package/es/molecule/brand-logo/index.native.js +3 -2
- package/es/molecule/brand-logo/index.native.js.map +1 -1
- package/es/molecule/brand-tabs/index.js +4 -0
- package/es/molecule/brand-tabs/index.js.map +1 -1
- package/es/molecule/brand-upload-box/index.js +11 -0
- package/es/molecule/brand-upload-box/index.js.map +1 -1
- package/es/molecule/breadcrumbs/index.js +6 -0
- package/es/molecule/breadcrumbs/index.js.map +1 -1
- package/es/molecule/bulk-infos/index.js +5 -1
- package/es/molecule/bulk-infos/index.js.map +1 -1
- package/es/molecule/bulk-infos/types.js.map +1 -1
- package/es/molecule/bulk-progress-bar/index.js +6 -0
- package/es/molecule/bulk-progress-bar/index.js.map +1 -1
- package/es/molecule/bulk-progress-bar/types.js.map +1 -1
- package/es/molecule/bullet-point-menu-button/index.js +3 -0
- package/es/molecule/bullet-point-menu-button/index.js.map +1 -1
- package/es/molecule/bullet-point-menu-button/types.js.map +1 -1
- package/es/molecule/card/customer.js +2 -0
- package/es/molecule/card/customer.js.map +1 -1
- package/es/molecule/card/favorite.js +13 -8
- package/es/molecule/card/favorite.js.map +1 -1
- package/es/molecule/card/index.js +22 -3
- package/es/molecule/card/index.js.map +1 -1
- package/es/molecule/card/notification.js +5 -0
- package/es/molecule/card/notification.js.map +1 -1
- package/es/molecule/card/selectable.js +2 -0
- package/es/molecule/card/selectable.js.map +1 -1
- package/es/molecule/card-congrats/index.native.js +6 -0
- package/es/molecule/card-congrats/index.native.js.map +1 -1
- package/es/molecule/card-congrats/types.js.map +1 -1
- package/es/molecule/card-content/index.js +13 -2
- package/es/molecule/card-content/index.js.map +1 -1
- package/es/molecule/card-with-button/index.js +6 -0
- package/es/molecule/card-with-button/index.js.map +1 -1
- package/es/molecule/certification-card/index.js +2 -0
- package/es/molecule/certification-card/index.js.map +1 -1
- package/es/molecule/cm-popin/index.js +14 -4
- package/es/molecule/cm-popin/index.js.map +1 -1
- package/es/molecule/cm-popin/index.native.js +6 -0
- package/es/molecule/cm-popin/index.native.js.map +1 -1
- package/es/molecule/cm-popin/types.js.map +1 -1
- package/es/molecule/cookie-banner/index.js +4 -0
- package/es/molecule/cookie-banner/index.js.map +1 -1
- package/es/molecule/coorp-manager-roles/index.js +3 -2
- package/es/molecule/coorp-manager-roles/index.js.map +1 -1
- package/es/molecule/coorpmanager-base-banner/index.js +4 -4
- package/es/molecule/coorpmanager-base-banner/index.js.map +1 -1
- package/es/molecule/course-section/index.js +2 -0
- package/es/molecule/course-section/index.js.map +1 -1
- package/es/molecule/course-sections/index.js +4 -2
- package/es/molecule/course-sections/index.js.map +1 -1
- package/es/molecule/dashboard/battle-request-list/index.js.map +1 -1
- package/es/molecule/dashboard/cards-list/index.js +57 -12
- package/es/molecule/dashboard/cards-list/index.js.map +1 -1
- package/es/molecule/dashboard/cards-list/prop-types.js.map +1 -1
- package/es/molecule/dashboard/learning-profile-banner/index.js +3 -3
- package/es/molecule/dashboard/learning-profile-banner/index.js.map +1 -1
- package/es/molecule/dashboard/news-list/index.js.map +1 -1
- package/es/molecule/dashboard/review-banner/index.js +3 -3
- package/es/molecule/dashboard/review-banner/index.js.map +1 -1
- package/es/molecule/dashboard/start-battle/index.js.map +1 -1
- package/es/molecule/discipline-associated-skills/index.js +5 -0
- package/es/molecule/discipline-associated-skills/index.js.map +1 -1
- package/es/molecule/discipline-cta/index.js +4 -0
- package/es/molecule/discipline-cta/index.js.map +1 -1
- package/es/molecule/discipline-header/index.js +13 -6
- package/es/molecule/discipline-header/index.js.map +1 -1
- package/es/molecule/discipline-partners/index.js +11 -0
- package/es/molecule/discipline-partners/index.js.map +1 -1
- package/es/molecule/discipline-scope/index.js +2 -0
- package/es/molecule/discipline-scope/index.js.map +1 -1
- package/es/molecule/drag-and-drop/index.js +5 -3
- package/es/molecule/drag-and-drop/index.js.map +1 -1
- package/es/molecule/drag-and-drop/overlay.js.map +1 -1
- package/es/molecule/drag-and-drop/placeholder.js.map +1 -1
- package/es/molecule/drag-and-drop/upload-report.js +15 -3
- package/es/molecule/drag-and-drop/upload-report.js.map +1 -1
- package/es/molecule/drag-and-drop-wrapper/index.js +4 -0
- package/es/molecule/drag-and-drop-wrapper/index.js.map +1 -1
- package/es/molecule/draggable/index.js +4 -0
- package/es/molecule/draggable/index.js.map +1 -1
- package/es/molecule/draggable-list/index.js +7 -2
- package/es/molecule/draggable-list/index.js.map +1 -1
- package/es/molecule/errors-table/index.js +5 -2
- package/es/molecule/errors-table/index.js.map +1 -1
- package/es/molecule/errors-table/types.js.map +1 -1
- package/es/molecule/expandable-item/index.js +2 -0
- package/es/molecule/expandable-item/index.js.map +1 -1
- package/es/molecule/expandable-item/types.js.map +1 -1
- package/es/molecule/expandable-list/index.js +2 -0
- package/es/molecule/expandable-list/index.js.map +1 -1
- package/es/molecule/expandable-list/types.js.map +1 -1
- package/es/molecule/expandible-actionable-table/index.js +25 -8
- package/es/molecule/expandible-actionable-table/index.js.map +1 -1
- package/es/molecule/expandible-actionable-table/types.js +4 -8
- package/es/molecule/expandible-actionable-table/types.js.map +1 -1
- package/es/molecule/external-content-button/index.js +6 -0
- package/es/molecule/external-content-button/index.js.map +1 -1
- package/es/molecule/external-content-viewer/index.js +2 -0
- package/es/molecule/external-content-viewer/index.js.map +1 -1
- package/es/molecule/feedback/index.js +6 -8
- package/es/molecule/feedback/index.js.map +1 -1
- package/es/molecule/filters/filters-wrapper.js +14 -1
- package/es/molecule/filters/filters-wrapper.js.map +1 -1
- package/es/molecule/filters/index.js +15 -1
- package/es/molecule/filters/index.js.map +1 -1
- package/es/molecule/forum/forum-comment/index.js +5 -0
- package/es/molecule/forum/forum-comment/index.js.map +1 -1
- package/es/molecule/forum/forum-post/index.js +6 -0
- package/es/molecule/forum/forum-post/index.js.map +1 -1
- package/es/molecule/forum/forum-thread/index.js +5 -1
- package/es/molecule/forum/forum-thread/index.js.map +1 -1
- package/es/molecule/forum/post-conditions.js.map +1 -1
- package/es/molecule/go1-banner/index.js +4 -4
- package/es/molecule/go1-banner/index.js.map +1 -1
- package/es/molecule/hero/index.js +4 -0
- package/es/molecule/hero/index.js.map +1 -1
- package/es/molecule/hero/types.js.map +1 -1
- package/es/molecule/icon-picker-modal/index.js +5 -0
- package/es/molecule/icon-picker-modal/index.js.map +1 -1
- package/es/molecule/icon-picker-modal/use-icon-search.js +2 -0
- package/es/molecule/icon-picker-modal/use-icon-search.js.map +1 -1
- package/es/molecule/input-text-with-titled-checkbox/index.js +2 -0
- package/es/molecule/input-text-with-titled-checkbox/index.js.map +1 -1
- package/es/molecule/learner-skill-card/index.js +4 -0
- package/es/molecule/learner-skill-card/index.js.map +1 -1
- package/es/molecule/learning-priority-card/index.js +4 -0
- package/es/molecule/learning-priority-card/index.js.map +1 -1
- package/es/molecule/learning-priority-card/types.js.map +1 -1
- package/es/molecule/learning-priority-modal/index.js +13 -3
- package/es/molecule/learning-priority-modal/index.js.map +1 -1
- package/es/molecule/learning-priority-setup-item/index.d.ts.map +1 -1
- package/es/molecule/learning-priority-setup-item/index.js +8 -1
- package/es/molecule/learning-priority-setup-item/index.js.map +1 -1
- package/es/molecule/learning-profile-radar-chart/index.js +40 -13
- package/es/molecule/learning-profile-radar-chart/index.js.map +1 -1
- package/es/molecule/learning-profile-radar-chart/types.js +2 -5
- package/es/molecule/learning-profile-radar-chart/types.js.map +1 -1
- package/es/molecule/list-badges/index.js +2 -0
- package/es/molecule/list-badges/index.js.map +1 -1
- package/es/molecule/login-alert/index.js +3 -2
- package/es/molecule/login-alert/index.js.map +1 -1
- package/es/molecule/menu-links/index.js +4 -0
- package/es/molecule/menu-links/index.js.map +1 -1
- package/es/molecule/menu-links/types.js.map +1 -1
- package/es/molecule/menu-list/index.js +2 -0
- package/es/molecule/menu-list/index.js.map +1 -1
- package/es/molecule/message-popin/index.js +2 -0
- package/es/molecule/message-popin/index.js.map +1 -1
- package/es/molecule/modal/index.js +7 -6
- package/es/molecule/modal/index.js.map +1 -1
- package/es/molecule/module-bubble/index.js +6 -0
- package/es/molecule/module-bubble/index.js.map +1 -1
- package/es/molecule/module-card/index.js +8 -3
- package/es/molecule/module-card/index.js.map +1 -1
- package/es/molecule/news/index.js +4 -1
- package/es/molecule/news/index.js.map +1 -1
- package/es/molecule/notification-banner/index.js +7 -0
- package/es/molecule/notification-banner/index.js.map +1 -1
- package/es/molecule/pagination/index.js +2 -0
- package/es/molecule/pagination/index.js.map +1 -1
- package/es/molecule/payment-form/index.js +14 -0
- package/es/molecule/payment-form/index.js.map +1 -1
- package/es/molecule/pdf/index.js +6 -2
- package/es/molecule/pdf/index.js.map +1 -1
- package/es/molecule/playlist-detail-cover/index.js +2 -0
- package/es/molecule/playlist-detail-cover/index.js.map +1 -1
- package/es/molecule/popin/index.js +6 -4
- package/es/molecule/popin/index.js.map +1 -1
- package/es/molecule/privacy-policy-contact/index.js +3 -2
- package/es/molecule/privacy-policy-contact/index.js.map +1 -1
- package/es/molecule/privacy-policy-contact/types.js.map +1 -1
- package/es/molecule/product-card/index.js +4 -0
- package/es/molecule/product-card/index.js.map +1 -1
- package/es/molecule/progress-bar/index.js +5 -2
- package/es/molecule/progress-bar/index.js.map +1 -1
- package/es/molecule/progress-wrapper/index.js +11 -3
- package/es/molecule/progress-wrapper/index.js.map +1 -1
- package/es/molecule/questions/drop-down/index.js +4 -0
- package/es/molecule/questions/drop-down/index.js.map +1 -1
- package/es/molecule/questions/free-text/index.js +5 -2
- package/es/molecule/questions/free-text/index.js.map +1 -1
- package/es/molecule/questions/free-text/index.native.js +10 -12
- package/es/molecule/questions/free-text/index.native.js.map +1 -1
- package/es/molecule/questions/mobile/draggable/index.native.js +11 -0
- package/es/molecule/questions/mobile/draggable/index.native.js.map +1 -1
- package/es/molecule/questions/mobile/slider/index.native.js +8 -4
- package/es/molecule/questions/mobile/slider/index.native.js.map +1 -1
- package/es/molecule/questions/mobile/switch/index.native.js +13 -0
- package/es/molecule/questions/mobile/switch/index.native.js.map +1 -1
- package/es/molecule/questions/mobile/template/index.native.js +15 -0
- package/es/molecule/questions/mobile/template/index.native.js.map +1 -1
- package/es/molecule/questions/qcm/index.js +7 -5
- package/es/molecule/questions/qcm/index.js.map +1 -1
- package/es/molecule/questions/qcm-drag/index.js +13 -2
- package/es/molecule/questions/qcm-drag/index.js.map +1 -1
- package/es/molecule/questions/qcm-graphic/index.js +5 -2
- package/es/molecule/questions/qcm-graphic/index.js.map +1 -1
- package/es/molecule/questions/question-range/index.js +8 -8
- package/es/molecule/questions/question-range/index.js.map +1 -1
- package/es/molecule/questions/template/index.js +12 -5
- package/es/molecule/questions/template/index.js.map +1 -1
- package/es/molecule/questions/types.js.map +1 -1
- package/es/molecule/quick-access-card/index.js +28 -0
- package/es/molecule/quick-access-card/index.js.map +1 -1
- package/es/molecule/quick-access-cards-group/index.js +4 -0
- package/es/molecule/quick-access-cards-group/index.js.map +1 -1
- package/es/molecule/resource-player/index.js +20 -1
- package/es/molecule/resource-player/index.js.map +1 -1
- package/es/molecule/review-card-congrats/index.js +8 -3
- package/es/molecule/review-card-congrats/index.js.map +1 -1
- package/es/molecule/review-card-congrats/prop-types.js.map +1 -1
- package/es/molecule/review-correction-popin/index.js +10 -9
- package/es/molecule/review-correction-popin/index.js.map +1 -1
- package/es/molecule/review-correction-popin/index.native.js +9 -2
- package/es/molecule/review-correction-popin/index.native.js.map +1 -1
- package/es/molecule/review-correction-popin/prop-types.js.map +1 -1
- package/es/molecule/review-header-steps/index.js +2 -0
- package/es/molecule/review-header-steps/index.js.map +1 -1
- package/es/molecule/review-header-steps/prop-types.js.map +1 -1
- package/es/molecule/scope-content/index.js +22 -7
- package/es/molecule/scope-content/index.js.map +1 -1
- package/es/molecule/scope-tabs/index.js +7 -1
- package/es/molecule/scope-tabs/index.js.map +1 -1
- package/es/molecule/search-form/index.js +7 -1
- package/es/molecule/search-form/index.js.map +1 -1
- package/es/molecule/select-multiple/index.js +19 -8
- package/es/molecule/select-multiple/index.js.map +1 -1
- package/es/molecule/setup-cohort-item/index.js +12 -8
- package/es/molecule/setup-cohort-item/index.js.map +1 -1
- package/es/molecule/setup-section/index.js +12 -3
- package/es/molecule/setup-section/index.js.map +1 -1
- package/es/molecule/setup-sections/index.js +3 -0
- package/es/molecule/setup-sections/index.js.map +1 -1
- package/es/molecule/setup-slider/index.js +34 -23
- package/es/molecule/setup-slider/index.js.map +1 -1
- package/es/molecule/share/index.js +15 -6
- package/es/molecule/share/index.js.map +1 -1
- package/es/molecule/skill-card/index.js +3 -0
- package/es/molecule/skill-card/index.js.map +1 -1
- package/es/molecule/skill-card/index.native.js +6 -0
- package/es/molecule/skill-card/index.native.js.map +1 -1
- package/es/molecule/skill-card/prop-types.js.map +1 -1
- package/es/molecule/skill-picker-modal/index.js +9 -1
- package/es/molecule/skill-picker-modal/index.js.map +1 -1
- package/es/molecule/skills-chart-side-information-item/index.js +2 -0
- package/es/molecule/skills-chart-side-information-item/index.js.map +1 -1
- package/es/molecule/skills-chart-side-information-panel/index.js +6 -1
- package/es/molecule/skills-chart-side-information-panel/index.js.map +1 -1
- package/es/molecule/ssmenu-list/index.js +2 -0
- package/es/molecule/ssmenu-list/index.js.map +1 -1
- package/es/molecule/subscription-freemium/index.js +2 -0
- package/es/molecule/subscription-freemium/index.js.map +1 -1
- package/es/molecule/subscription-premium/index.js +6 -0
- package/es/molecule/subscription-premium/index.js.map +1 -1
- package/es/molecule/table/index.js +19 -1
- package/es/molecule/table/index.js.map +1 -1
- package/es/molecule/teams-popin/index.js +2 -0
- package/es/molecule/teams-popin/index.js.map +1 -1
- package/es/molecule/theme-image/index.js +2 -0
- package/es/molecule/theme-image/index.js.map +1 -1
- package/es/molecule/title-and-checkbox-wrapper/index.js +10 -11
- package/es/molecule/title-and-checkbox-wrapper/index.js.map +1 -1
- package/es/molecule/title-radio-wrapper/index.js +4 -0
- package/es/molecule/title-radio-wrapper/index.js.map +1 -1
- package/es/molecule/title-radio-wrapper/types.js.map +1 -1
- package/es/molecule/titled-checkbox/index.js +2 -0
- package/es/molecule/titled-checkbox/index.js.map +1 -1
- package/es/molecule/translation-modal/index.js +11 -13
- package/es/molecule/translation-modal/index.js.map +1 -1
- package/es/molecule/unsubscribe/index.js +2 -0
- package/es/molecule/unsubscribe/index.js.map +1 -1
- package/es/molecule/vertical-tabs/index.js +4 -0
- package/es/molecule/vertical-tabs/index.js.map +1 -1
- package/es/molecule/video-iframe/index.js +15 -3
- package/es/molecule/video-iframe/index.js.map +1 -1
- package/es/molecule/video-player/index.js +13 -1
- package/es/molecule/video-player/index.js.map +1 -1
- package/es/molecule/video-player/jwplayer-prop-types.js.map +1 -1
- package/es/molecule/video-player/jwplayer.js +27 -7
- package/es/molecule/video-player/jwplayer.js.map +1 -1
- package/es/molecule/video-player/prop-types.js.map +1 -1
- package/es/molecule/video-player/vimeo.js +43 -2
- package/es/molecule/video-player/vimeo.js.map +1 -1
- package/es/molecule/video-player-mobile/index.native.js +9 -2
- package/es/molecule/video-player-mobile/index.native.js.map +1 -1
- package/es/molecule/wizard-summary/index.js +18 -2
- package/es/molecule/wizard-summary/index.js.map +1 -1
- package/es/organism/accordion/container/index.js +10 -1
- package/es/organism/accordion/container/index.js.map +1 -1
- package/es/organism/accordion/coorp-manager/index.js +15 -3
- package/es/organism/accordion/coorp-manager/index.js.map +1 -1
- package/es/organism/accordion/coorp-manager/part/index.js +9 -2
- package/es/organism/accordion/coorp-manager/part/index.js.map +1 -1
- package/es/organism/accordion/part/index.js +5 -0
- package/es/organism/accordion/part/index.js.map +1 -1
- package/es/organism/accordion/toggler/index.js +10 -2
- package/es/organism/accordion/toggler/index.js.map +1 -1
- package/es/organism/brand-analytics/analytics-popin.js +6 -0
- package/es/organism/brand-analytics/analytics-popin.js.map +1 -1
- package/es/organism/brand-analytics/index.js +11 -0
- package/es/organism/brand-analytics/index.js.map +1 -1
- package/es/organism/brand-dashboard/index.js +4 -1
- package/es/organism/brand-dashboard/index.js.map +1 -1
- package/es/organism/brand-form/index.js +6 -0
- package/es/organism/brand-form/index.js.map +1 -1
- package/es/organism/brand-learning-priorities/index.js +3 -2
- package/es/organism/brand-learning-priorities/index.js.map +1 -1
- package/es/organism/brand-table/index.js +2 -0
- package/es/organism/brand-table/index.js.map +1 -1
- package/es/organism/brand-upload/index.js +5 -1
- package/es/organism/brand-upload/index.js.map +1 -1
- package/es/organism/cards-grid/index.js +4 -0
- package/es/organism/cards-grid/index.js.map +1 -1
- package/es/organism/cart/index.js +2 -0
- package/es/organism/cart/index.js.map +1 -1
- package/es/organism/content-translation/index.js +8 -5
- package/es/organism/content-translation/index.js.map +1 -1
- package/es/organism/course-selection/index.js +9 -1
- package/es/organism/course-selection/index.js.map +1 -1
- package/es/organism/discussion/index.js +5 -3
- package/es/organism/discussion/index.js.map +1 -1
- package/es/organism/get-the-app/index.js +15 -2
- package/es/organism/get-the-app/index.js.map +1 -1
- package/es/organism/grid-list/index.js +2 -0
- package/es/organism/grid-list/index.js.map +1 -1
- package/es/organism/header/index.js +2 -0
- package/es/organism/header/index.js.map +1 -1
- package/es/organism/header-v2/index.native.js +6 -3
- package/es/organism/header-v2/index.native.js.map +1 -1
- package/es/organism/hero/index.js +4 -0
- package/es/organism/hero/index.js.map +1 -1
- package/es/organism/list-item/index.js +8 -1
- package/es/organism/list-item/index.js.map +1 -1
- package/es/organism/list-items/index.js +10 -5
- package/es/organism/list-items/index.js.map +1 -1
- package/es/organism/mobile-intro-popin/index.native.js +6 -0
- package/es/organism/mobile-intro-popin/index.native.js.map +1 -1
- package/es/organism/mobile-navigation/index.native.js +7 -0
- package/es/organism/mobile-navigation/index.native.js.map +1 -1
- package/es/organism/mooc/image-slider/index.js +6 -1
- package/es/organism/mooc/image-slider/index.js.map +1 -1
- package/es/organism/mooc-footer/index.js +9 -10
- package/es/organism/mooc-footer/index.js.map +1 -1
- package/es/organism/mooc-header/index.js +59 -9
- package/es/organism/mooc-header/index.js.map +1 -1
- package/es/organism/popin/index.js +5 -0
- package/es/organism/popin/index.js.map +1 -1
- package/es/organism/resource-browser/index.js +11 -1
- package/es/organism/resource-browser/index.js.map +1 -1
- package/es/organism/review-congrats/index.js +6 -2
- package/es/organism/review-congrats/index.js.map +1 -1
- package/es/organism/review-congrats/index.native.js +12 -10
- package/es/organism/review-congrats/index.native.js.map +1 -1
- package/es/organism/review-congrats/prop-types.js.map +1 -1
- package/es/organism/review-header/index.js +2 -0
- package/es/organism/review-header/index.js.map +1 -1
- package/es/organism/review-header/index.native.js +4 -1
- package/es/organism/review-header/index.native.js.map +1 -1
- package/es/organism/review-header/types.js.map +1 -1
- package/es/organism/review-no-skills/index.js +2 -0
- package/es/organism/review-no-skills/index.js.map +1 -1
- package/es/organism/review-no-skills/index.native.js +6 -0
- package/es/organism/review-no-skills/index.native.js.map +1 -1
- package/es/organism/review-no-skills/prop-types.js.map +1 -1
- package/es/organism/review-skills/index.js +2 -0
- package/es/organism/review-skills/index.js.map +1 -1
- package/es/organism/review-skills/index.native.js +3 -0
- package/es/organism/review-skills/index.native.js.map +1 -1
- package/es/organism/review-skills/prop-types.js.map +1 -1
- package/es/organism/review-slide/index.js +14 -6
- package/es/organism/review-slide/index.js.map +1 -1
- package/es/organism/review-slide/index.native.js +16 -8
- package/es/organism/review-slide/index.native.js.map +1 -1
- package/es/organism/review-slide/prop-types.js +1 -0
- package/es/organism/review-slide/prop-types.js.map +1 -1
- package/es/organism/review-stacked-slides/index.js +9 -2
- package/es/organism/review-stacked-slides/index.js.map +1 -1
- package/es/organism/review-stacked-slides/index.native.js +11 -6
- package/es/organism/review-stacked-slides/index.native.js.map +1 -1
- package/es/organism/review-stacked-slides/prop-types.js.map +1 -1
- package/es/organism/rewards-form/index.js +2 -0
- package/es/organism/rewards-form/index.js.map +1 -1
- package/es/organism/search-and-chips-results/index.js +7 -1
- package/es/organism/search-and-chips-results/index.js.map +1 -1
- package/es/organism/select-opponents/index.js +3 -2
- package/es/organism/select-opponents/index.js.map +1 -1
- package/es/organism/select-opponents/types.js.map +1 -1
- package/es/organism/settings/index.js +6 -3
- package/es/organism/settings/index.js.map +1 -1
- package/es/organism/setup-header/index.js +5 -0
- package/es/organism/setup-header/index.js.map +1 -1
- package/es/organism/sidebar/index.js +27 -19
- package/es/organism/sidebar/index.js.map +1 -1
- package/es/organism/slider/index.js +18 -2
- package/es/organism/slider/index.js.map +1 -1
- package/es/organism/title-and-input/index.js +7 -1
- package/es/organism/title-and-input/index.js.map +1 -1
- package/es/organism/title-and-input/types.js.map +1 -1
- package/es/organism/user-preferences/index.js +7 -3
- package/es/organism/user-preferences/index.js.map +1 -1
- package/es/organism/wizard-contents/index.js +28 -21
- package/es/organism/wizard-contents/index.js.map +1 -1
- package/es/template/activity/engine-stars.js +18 -6
- package/es/template/activity/engine-stars.js.map +1 -1
- package/es/template/activity/index.js +6 -5
- package/es/template/activity/index.js.map +1 -1
- package/es/template/activity/progression-item.js +7 -2
- package/es/template/activity/progression-item.js.map +1 -1
- package/es/template/activity/stars-summary.js +14 -1
- package/es/template/activity/stars-summary.js.map +1 -1
- package/es/template/app-player/loading/index.js +2 -0
- package/es/template/app-player/loading/index.js.map +1 -1
- package/es/template/app-player/player/index.js +4 -1
- package/es/template/app-player/player/index.js.map +1 -1
- package/es/template/app-player/player/slides/footer/index.js +17 -3
- package/es/template/app-player/player/slides/footer/index.js.map +1 -1
- package/es/template/app-player/player/slides/header/index.js +2 -0
- package/es/template/app-player/player/slides/header/index.js.map +1 -1
- package/es/template/app-player/player/slides/header/learner.js +15 -5
- package/es/template/app-player/player/slides/header/learner.js.map +1 -1
- package/es/template/app-player/player/slides/header/lives.js +3 -0
- package/es/template/app-player/player/slides/header/lives.js.map +1 -1
- package/es/template/app-player/player/slides/header/microlearning.js +7 -3
- package/es/template/app-player/player/slides/header/microlearning.js.map +1 -1
- package/es/template/app-player/player/slides/index.js +58 -21
- package/es/template/app-player/player/slides/index.js.map +1 -1
- package/es/template/app-player/popin-correction/index.js +30 -9
- package/es/template/app-player/popin-correction/index.js.map +1 -1
- package/es/template/app-player/popin-end/index.js +6 -1
- package/es/template/app-player/popin-end/index.js.map +1 -1
- package/es/template/app-player/popin-end/summary.js +37 -11
- package/es/template/app-player/popin-end/summary.js.map +1 -1
- package/es/template/app-player/popin-header/index.js +40 -11
- package/es/template/app-player/popin-header/index.js.map +1 -1
- package/es/template/app-player/popin-no-access/index.js +2 -0
- package/es/template/app-player/popin-no-access/index.js.map +1 -1
- package/es/template/app-review/demo-ts/index.js +2 -0
- package/es/template/app-review/demo-ts/index.js.map +1 -1
- package/es/template/app-review/demo-ts/index.native.js +2 -0
- package/es/template/app-review/demo-ts/index.native.js.map +1 -1
- package/es/template/app-review/demo-ts/typings.js.map +1 -1
- package/es/template/app-review/index.js +3 -0
- package/es/template/app-review/index.js.map +1 -1
- package/es/template/app-review/index.native.js +4 -2
- package/es/template/app-review/index.native.js.map +1 -1
- package/es/template/app-review/onboarding/index.js.map +1 -1
- package/es/template/app-review/onboarding/index.native.js.map +1 -1
- package/es/template/app-review/player/background-review.js +2 -0
- package/es/template/app-review/player/background-review.js.map +1 -1
- package/es/template/app-review/player/index.js +2 -0
- package/es/template/app-review/player/index.js.map +1 -1
- package/es/template/app-review/player/index.native.js +6 -0
- package/es/template/app-review/player/index.native.js.map +1 -1
- package/es/template/app-review/player/prop-types.js +1 -2
- package/es/template/app-review/player/prop-types.js.map +1 -1
- package/es/template/app-review/prop-types.js +1 -2
- package/es/template/app-review/prop-types.js.map +1 -1
- package/es/template/app-review/skills/index.js +2 -0
- package/es/template/app-review/skills/index.js.map +1 -1
- package/es/template/app-review/skills/index.native.js +6 -0
- package/es/template/app-review/skills/index.native.js.map +1 -1
- package/es/template/app-review/skills/prop-types.js.map +1 -1
- package/es/template/app-review/template-context.js +5 -0
- package/es/template/app-review/template-context.js.map +1 -1
- package/es/template/back-office/brand-create/index.js.map +1 -1
- package/es/template/back-office/brand-list/index.js +5 -2
- package/es/template/back-office/brand-list/index.js.map +1 -1
- package/es/template/back-office/brand-update/index.js +44 -37
- package/es/template/back-office/brand-update/index.js.map +1 -1
- package/es/template/back-office/dashboard-preview/dashboard-popin.js +5 -0
- package/es/template/back-office/dashboard-preview/dashboard-popin.js.map +1 -1
- package/es/template/back-office/dashboard-preview/index.js +14 -0
- package/es/template/back-office/dashboard-preview/index.js.map +1 -1
- package/es/template/back-office/layout/index.js +3 -0
- package/es/template/back-office/layout/index.js.map +1 -1
- package/es/template/battle-requests/index.js +3 -2
- package/es/template/battle-requests/index.js.map +1 -1
- package/es/template/certification-detail/index.js +2 -0
- package/es/template/certification-detail/index.js.map +1 -1
- package/es/template/certifications/index.js +6 -3
- package/es/template/certifications/index.js.map +1 -1
- package/es/template/cockpit/jw-uploader/index.js +3 -2
- package/es/template/cockpit/jw-uploader/index.js.map +1 -1
- package/es/template/common/authors/index.js +11 -2
- package/es/template/common/authors/index.js.map +1 -1
- package/es/template/common/coorp-header/content.js +4 -0
- package/es/template/common/coorp-header/content.js.map +1 -1
- package/es/template/common/coorp-header/index.js +2 -0
- package/es/template/common/coorp-header/index.js.map +1 -1
- package/es/template/common/dashboard/index.js +17 -1
- package/es/template/common/dashboard/index.js.map +1 -1
- package/es/template/common/discipline/index.js +2 -0
- package/es/template/common/discipline/index.js.map +1 -1
- package/es/template/common/faq-article-page/index.js +4 -4
- package/es/template/common/faq-article-page/index.js.map +1 -1
- package/es/template/common/faq-article-page/types.js.map +1 -1
- package/es/template/common/faq-cards-page/index.js +5 -1
- package/es/template/common/faq-cards-page/index.js.map +1 -1
- package/es/template/common/faq-cards-page/types.js.map +1 -1
- package/es/template/common/faq-page/index.js +4 -1
- package/es/template/common/faq-page/index.js.map +1 -1
- package/es/template/common/faq-page/types.js.map +1 -1
- package/es/template/common/privacy-policy-page/index.js +4 -1
- package/es/template/common/privacy-policy-page/index.js.map +1 -1
- package/es/template/common/privacy-policy-page/types.js.map +1 -1
- package/es/template/common/search-page/index.js +7 -1
- package/es/template/common/search-page/index.js.map +1 -1
- package/es/template/external-course/index.js +7 -4
- package/es/template/external-course/index.js.map +1 -1
- package/es/template/mobile-login/confirm-email-sent/index.native.js +7 -2
- package/es/template/mobile-login/confirm-email-sent/index.native.js.map +1 -1
- package/es/template/mobile-login/qr-code-scanner/index.native.js +9 -10
- package/es/template/mobile-login/qr-code-scanner/index.native.js.map +1 -1
- package/es/template/mobile-login/receive-email/index.native.js +2 -0
- package/es/template/mobile-login/receive-email/index.native.js.map +1 -1
- package/es/template/mobile-login/welcome/index.native.js +7 -3
- package/es/template/mobile-login/welcome/index.native.js.map +1 -1
- package/es/template/my-learning/index.js +20 -1
- package/es/template/my-learning/index.js.map +1 -1
- package/es/template/playlist-detail/index.js +2 -0
- package/es/template/playlist-detail/index.js.map +1 -1
- package/es/template/review-dashboard-skills/index.js +2 -0
- package/es/template/review-dashboard-skills/index.js.map +1 -1
- package/es/template/skill-detail/all-courses.js +12 -1
- package/es/template/skill-detail/all-courses.js.map +1 -1
- package/es/template/skill-detail/continue-learning.js +5 -2
- package/es/template/skill-detail/continue-learning.js.map +1 -1
- package/es/template/skill-detail/index.js +4 -0
- package/es/template/skill-detail/index.js.map +1 -1
- package/es/template/teams-dashboard/index.js +5 -1
- package/es/template/teams-dashboard/index.js.map +1 -1
- package/es/util/bubbling.js +1 -0
- package/es/util/bubbling.js.map +1 -1
- package/es/util/build-query-string.js +2 -0
- package/es/util/build-query-string.js.map +1 -1
- package/es/util/button-icons.js.map +1 -1
- package/es/util/check-is-mobile.js.map +1 -1
- package/es/util/closest-step.js +6 -0
- package/es/util/closest-step.js.map +1 -1
- package/es/util/constants.js.map +1 -1
- package/es/util/external-content.js.map +1 -1
- package/es/util/get-class-state.js +2 -0
- package/es/util/get-class-state.js.map +1 -1
- package/es/util/get-clean-uri.js +1 -0
- package/es/util/get-clean-uri.js.map +1 -1
- package/es/util/get-resized-image.js +8 -4
- package/es/util/get-resized-image.js.map +1 -1
- package/es/util/get-shadow-box-color-from-primary.js +1 -2
- package/es/util/get-shadow-box-color-from-primary.js.map +1 -1
- package/es/util/image.js +4 -0
- package/es/util/image.js.map +1 -1
- package/es/util/navigation.js +9 -0
- package/es/util/navigation.js.map +1 -1
- package/es/util/parse-template-string.js +6 -0
- package/es/util/parse-template-string.js.map +1 -1
- package/es/util/proptypes.js.map +1 -1
- package/es/util/render-with-context.js +9 -7
- package/es/util/render-with-context.js.map +1 -1
- package/es/util/search-value-included.js +2 -0
- package/es/util/search-value-included.js.map +1 -1
- package/es/util/shallow-compare.js +2 -0
- package/es/util/shallow-compare.js.map +1 -1
- package/es/util/time-format.js +4 -0
- package/es/util/time-format.js.map +1 -1
- package/es/util/use-mobile-keyboard-visibility.js +2 -0
- package/es/util/use-mobile-keyboard-visibility.js.map +1 -1
- package/es/variables/analytics.js.map +1 -1
- package/es/variables/brand.native.js.map +1 -1
- package/es/variables/colors.css +3 -0
- package/es/variables/colors.js.map +1 -1
- package/es/variables/default-mobile-translations.js.map +1 -1
- package/es/variables/shadow.js +1 -0
- package/es/variables/shadow.js.map +1 -1
- package/es/variables/theme.native.js.map +1 -1
- package/es/variables/vibration.js.map +1 -1
- package/lib/atom/autocomplete/index.js +24 -6
- package/lib/atom/autocomplete/index.js.map +1 -1
- package/lib/atom/avatar/index.js +10 -2
- package/lib/atom/avatar/index.js.map +1 -1
- package/lib/atom/battle-opponent/index.js +28 -11
- package/lib/atom/battle-opponent/index.js.map +1 -1
- package/lib/atom/battle-opponent/prop-types.js +6 -2
- package/lib/atom/battle-opponent/prop-types.js.map +1 -1
- package/lib/atom/button/index.js +25 -5
- package/lib/atom/button/index.js.map +1 -1
- package/lib/atom/button/index.native.js +18 -6
- package/lib/atom/button/index.native.js.map +1 -1
- package/lib/atom/button-link/index.js +29 -7
- package/lib/atom/button-link/index.js.map +1 -1
- package/lib/atom/button-link/types.js +8 -2
- package/lib/atom/button-link/types.js.map +1 -1
- package/lib/atom/button-link-icon/index.js +28 -5
- package/lib/atom/button-link-icon/index.js.map +1 -1
- package/lib/atom/button-menu/index.js +20 -7
- package/lib/atom/button-menu/index.js.map +1 -1
- package/lib/atom/button-menu/types.js +8 -3
- package/lib/atom/button-menu/types.js.map +1 -1
- package/lib/atom/card-image-preview/index.js +12 -2
- package/lib/atom/card-image-preview/index.js.map +1 -1
- package/lib/atom/catalog-section/index.js +9 -2
- package/lib/atom/catalog-section/index.js.map +1 -1
- package/lib/atom/centered-text/index.js +9 -2
- package/lib/atom/centered-text/index.js.map +1 -1
- package/lib/atom/checkbox/index.js +15 -5
- package/lib/atom/checkbox/index.js.map +1 -1
- package/lib/atom/checkbox-with-title/index.js +16 -4
- package/lib/atom/checkbox-with-title/index.js.map +1 -1
- package/lib/atom/chip/index.js +25 -8
- package/lib/atom/chip/index.js.map +1 -1
- package/lib/atom/chips/index.js +15 -5
- package/lib/atom/chips/index.js.map +1 -1
- package/lib/atom/choice/index.native.js +26 -6
- package/lib/atom/choice/index.native.js.map +1 -1
- package/lib/atom/circular-progress-bar/index.js +15 -4
- package/lib/atom/circular-progress-bar/index.js.map +1 -1
- package/lib/atom/circular-progress-bar/types.js +6 -2
- package/lib/atom/circular-progress-bar/types.js.map +1 -1
- package/lib/atom/clue/index.js +23 -2
- package/lib/atom/clue/index.js.map +1 -1
- package/lib/atom/content-badge/index.js +11 -2
- package/lib/atom/content-badge/index.js.map +1 -1
- package/lib/atom/cta/index.js +23 -4
- package/lib/atom/cta/index.js.map +1 -1
- package/lib/atom/cta/prop-types.js +7 -2
- package/lib/atom/cta/prop-types.js.map +1 -1
- package/lib/atom/difficulty-level/index.js +17 -2
- package/lib/atom/difficulty-level/index.js.map +1 -1
- package/lib/atom/drag-and-drop/index.js +31 -3
- package/lib/atom/drag-and-drop/index.js.map +1 -1
- package/lib/atom/empty-search-result/index.js +9 -2
- package/lib/atom/empty-search-result/index.js.map +1 -1
- package/lib/atom/gradient/index.native.js +14 -2
- package/lib/atom/gradient/index.native.js.map +1 -1
- package/lib/atom/header-back-button/index.native.js +27 -7
- package/lib/atom/header-back-button/index.native.js.map +1 -1
- package/lib/atom/header-back-icon/index.native.js +10 -2
- package/lib/atom/header-back-icon/index.native.js.map +1 -1
- package/lib/atom/html/index.native.js +29 -22
- package/lib/atom/html/index.native.js.map +1 -1
- package/lib/atom/icon/index.js +31 -9
- package/lib/atom/icon/index.js.map +1 -1
- package/lib/atom/image-background/index.native.js +22 -3
- package/lib/atom/image-background/index.native.js.map +1 -1
- package/lib/atom/input-checkbox/index.js +20 -4
- package/lib/atom/input-checkbox/index.js.map +1 -1
- package/lib/atom/input-color/index.js +15 -4
- package/lib/atom/input-color/index.js.map +1 -1
- package/lib/atom/input-doublestep/index.js +33 -7
- package/lib/atom/input-doublestep/index.js.map +1 -1
- package/lib/atom/input-file-draggable/index.js +21 -7
- package/lib/atom/input-file-draggable/index.js.map +1 -1
- package/lib/atom/input-html/index.js +18 -4
- package/lib/atom/input-html/index.js.map +1 -1
- package/lib/atom/input-html/input-preview.js +11 -4
- package/lib/atom/input-html/input-preview.js.map +1 -1
- package/lib/atom/input-readonly/index.js +9 -2
- package/lib/atom/input-readonly/index.js.map +1 -1
- package/lib/atom/input-search/index.js +18 -4
- package/lib/atom/input-search/index.js.map +1 -1
- package/lib/atom/input-switch/index.js +22 -5
- package/lib/atom/input-switch/index.js.map +1 -1
- package/lib/atom/input-text/index.js +22 -6
- package/lib/atom/input-text/index.js.map +1 -1
- package/lib/atom/input-text-with-title/index.js +11 -4
- package/lib/atom/input-text-with-title/index.js.map +1 -1
- package/lib/atom/input-textarea/index.js +21 -6
- package/lib/atom/input-textarea/index.js.map +1 -1
- package/lib/atom/label/index.js +10 -2
- package/lib/atom/label/index.js.map +1 -1
- package/lib/atom/life/index.js +18 -2
- package/lib/atom/life/index.js.map +1 -1
- package/lib/atom/link/index.js +19 -7
- package/lib/atom/link/index.js.map +1 -1
- package/lib/atom/loader/index.js +11 -2
- package/lib/atom/loader/index.js.map +1 -1
- package/lib/atom/loader/index.native.js +22 -5
- package/lib/atom/loader/index.native.js.map +1 -1
- package/lib/atom/lottie-wrapper/index.js +34 -10
- package/lib/atom/lottie-wrapper/index.js.map +1 -1
- package/lib/atom/lottie-wrapper/prop-types.js +9 -3
- package/lib/atom/lottie-wrapper/prop-types.js.map +1 -1
- package/lib/atom/notification/index.js +11 -2
- package/lib/atom/notification/index.js.map +1 -1
- package/lib/atom/picture/index.js +25 -3
- package/lib/atom/picture/index.js.map +1 -1
- package/lib/atom/picture-background/index.js +13 -2
- package/lib/atom/picture-background/index.js.map +1 -1
- package/lib/atom/promo-code/index.js +10 -2
- package/lib/atom/promo-code/index.js.map +1 -1
- package/lib/atom/provider/index.js +34 -6
- package/lib/atom/provider/index.js.map +1 -1
- package/lib/atom/provider/web-context.js +13 -3
- package/lib/atom/provider/web-context.js.map +1 -1
- package/lib/atom/radio-group/index.js +17 -3
- package/lib/atom/radio-group/index.js.map +1 -1
- package/lib/atom/radio-group/item.js +17 -2
- package/lib/atom/radio-group/item.js.map +1 -1
- package/lib/atom/radio-with-title/index.js +17 -5
- package/lib/atom/radio-with-title/index.js.map +1 -1
- package/lib/atom/radio-with-title/types.js +7 -2
- package/lib/atom/radio-with-title/types.js.map +1 -1
- package/lib/atom/range/handle.js +31 -15
- package/lib/atom/range/handle.js.map +1 -1
- package/lib/atom/range/index.js +31 -4
- package/lib/atom/range/index.js.map +1 -1
- package/lib/atom/resource-miniature/index.js +16 -4
- package/lib/atom/resource-miniature/index.js.map +1 -1
- package/lib/atom/review-presentation/index.js +21 -7
- package/lib/atom/review-presentation/index.js.map +1 -1
- package/lib/atom/review-presentation/index.native.js +24 -7
- package/lib/atom/review-presentation/index.native.js.map +1 -1
- package/lib/atom/review-presentation/prop-types.js +11 -4
- package/lib/atom/review-presentation/prop-types.js.map +1 -1
- package/lib/atom/select/index.js +43 -15
- package/lib/atom/select/index.js.map +1 -1
- package/lib/atom/select-icon/index.js +20 -4
- package/lib/atom/select-icon/index.js.map +1 -1
- package/lib/atom/select-modal/index.native.js +30 -8
- package/lib/atom/select-modal/index.native.js.map +1 -1
- package/lib/atom/slide/index.js +12 -3
- package/lib/atom/slide/index.js.map +1 -1
- package/lib/atom/social-link/index.js +11 -2
- package/lib/atom/social-link/index.js.map +1 -1
- package/lib/atom/space/index.native.js +11 -3
- package/lib/atom/space/index.native.js.map +1 -1
- package/lib/atom/spinner/index.js +8 -2
- package/lib/atom/spinner/index.js.map +1 -1
- package/lib/atom/status-item/index.js +27 -5
- package/lib/atom/status-item/index.js.map +1 -1
- package/lib/atom/status-item/index.native.js +24 -3
- package/lib/atom/status-item/index.native.js.map +1 -1
- package/lib/atom/status-item/types.js +6 -2
- package/lib/atom/status-item/types.js.map +1 -1
- package/lib/atom/tab/index.js +14 -4
- package/lib/atom/tab/index.js.map +1 -1
- package/lib/atom/tab-content/index.js +10 -2
- package/lib/atom/tab-content/index.js.map +1 -1
- package/lib/atom/tag/index.js +14 -4
- package/lib/atom/tag/index.js.map +1 -1
- package/lib/atom/text/index.native.js +11 -4
- package/lib/atom/text/index.native.js.map +1 -1
- package/lib/atom/title/index.js +26 -3
- package/lib/atom/title/index.js.map +1 -1
- package/lib/atom/title/types.js.map +1 -1
- package/lib/atom/tooltip/index.js +30 -7
- package/lib/atom/tooltip/index.js.map +1 -1
- package/lib/atom/video-upload/index.js +11 -4
- package/lib/atom/video-upload/index.js.map +1 -1
- package/lib/atom/wizard-steps/index.js +10 -2
- package/lib/atom/wizard-steps/index.js.map +1 -1
- package/lib/globals.d.js.map +1 -1
- package/lib/hoc/animation/index.js +75 -29
- package/lib/hoc/animation/index.js.map +1 -1
- package/lib/hoc/animation-scheduler/index.js +42 -2
- package/lib/hoc/animation-scheduler/index.js.map +1 -1
- package/lib/hoc/modal/index.native.js +21 -5
- package/lib/hoc/modal/index.native.js.map +1 -1
- package/lib/hoc/modal/select/index.native.js +24 -4
- package/lib/hoc/modal/select/index.native.js.map +1 -1
- package/lib/hoc/modal/select-item/index.native.js +22 -6
- package/lib/hoc/modal/select-item/index.native.js.map +1 -1
- package/lib/hoc/swapper/index.js +16 -2
- package/lib/hoc/swapper/index.js.map +1 -1
- package/lib/hoc/touchable/index.native.js +19 -6
- package/lib/hoc/touchable/index.native.js.map +1 -1
- package/lib/hoc/transition/child-prop-types.js +6 -2
- package/lib/hoc/transition/child-prop-types.js.map +1 -1
- package/lib/hoc/transition/index.js +17 -4
- package/lib/hoc/transition/index.js.map +1 -1
- package/lib/hoc/transition/transition-prop-types.js +6 -2
- package/lib/hoc/transition/transition-prop-types.js.map +1 -1
- package/lib/index.js +14 -1
- package/lib/index.js.map +1 -1
- package/lib/molecule/add-to-my-list/index.js +27 -4
- package/lib/molecule/add-to-my-list/index.js.map +1 -1
- package/lib/molecule/answer/index.js +41 -5
- package/lib/molecule/answer/index.js.map +1 -1
- package/lib/molecule/answer/index.native.js +17 -2
- package/lib/molecule/answer/index.native.js.map +1 -1
- package/lib/molecule/answer/prop-types.js +24 -8
- package/lib/molecule/answer/prop-types.js.map +1 -1
- package/lib/molecule/audio/index.js +21 -4
- package/lib/molecule/audio/index.js.map +1 -1
- package/lib/molecule/banner/index.js +35 -4
- package/lib/molecule/banner/index.js.map +1 -1
- package/lib/molecule/base-modal/index.js +31 -9
- package/lib/molecule/base-modal/index.js.map +1 -1
- package/lib/molecule/battle-opponent-list/index.js +19 -5
- package/lib/molecule/battle-opponent-list/index.js.map +1 -1
- package/lib/molecule/battle-opponent-list/prop-types.js +6 -2
- package/lib/molecule/battle-opponent-list/prop-types.js.map +1 -1
- package/lib/molecule/battle-request/index.js +16 -4
- package/lib/molecule/battle-request/index.js.map +1 -1
- package/lib/molecule/brand-card/description.js +10 -2
- package/lib/molecule/brand-card/description.js.map +1 -1
- package/lib/molecule/brand-card/index.js +13 -2
- package/lib/molecule/brand-card/index.js.map +1 -1
- package/lib/molecule/brand-card-create/index.js +10 -2
- package/lib/molecule/brand-card-create/index.js.map +1 -1
- package/lib/molecule/brand-create-form/index.js +16 -4
- package/lib/molecule/brand-create-form/index.js.map +1 -1
- package/lib/molecule/brand-download-box/index.js +13 -2
- package/lib/molecule/brand-download-box/index.js.map +1 -1
- package/lib/molecule/brand-form-group/index.js +92 -49
- package/lib/molecule/brand-form-group/index.js.map +1 -1
- package/lib/molecule/brand-logo/index.native.js +12 -4
- package/lib/molecule/brand-logo/index.native.js.map +1 -1
- package/lib/molecule/brand-tabs/index.js +14 -2
- package/lib/molecule/brand-tabs/index.js.map +1 -1
- package/lib/molecule/brand-upload-box/index.js +20 -2
- package/lib/molecule/brand-upload-box/index.js.map +1 -1
- package/lib/molecule/breadcrumbs/index.js +16 -2
- package/lib/molecule/breadcrumbs/index.js.map +1 -1
- package/lib/molecule/bulk-infos/index.js +15 -3
- package/lib/molecule/bulk-infos/index.js.map +1 -1
- package/lib/molecule/bulk-infos/types.js +7 -2
- package/lib/molecule/bulk-infos/types.js.map +1 -1
- package/lib/molecule/bulk-progress-bar/index.js +17 -2
- package/lib/molecule/bulk-progress-bar/index.js.map +1 -1
- package/lib/molecule/bulk-progress-bar/types.js +6 -2
- package/lib/molecule/bulk-progress-bar/types.js.map +1 -1
- package/lib/molecule/bullet-point-menu-button/index.js +20 -4
- package/lib/molecule/bullet-point-menu-button/index.js.map +1 -1
- package/lib/molecule/bullet-point-menu-button/types.js +7 -2
- package/lib/molecule/bullet-point-menu-button/types.js.map +1 -1
- package/lib/molecule/card/customer.js +14 -3
- package/lib/molecule/card/customer.js.map +1 -1
- package/lib/molecule/card/favorite.js +30 -12
- package/lib/molecule/card/favorite.js.map +1 -1
- package/lib/molecule/card/index.js +45 -9
- package/lib/molecule/card/index.js.map +1 -1
- package/lib/molecule/card/notification.js +15 -2
- package/lib/molecule/card/notification.js.map +1 -1
- package/lib/molecule/card/selectable.js +12 -2
- package/lib/molecule/card/selectable.js.map +1 -1
- package/lib/molecule/card-congrats/index.native.js +19 -4
- package/lib/molecule/card-congrats/index.native.js.map +1 -1
- package/lib/molecule/card-congrats/types.js.map +1 -1
- package/lib/molecule/card-content/index.js +33 -6
- package/lib/molecule/card-content/index.js.map +1 -1
- package/lib/molecule/card-with-button/index.js +15 -2
- package/lib/molecule/card-with-button/index.js.map +1 -1
- package/lib/molecule/certification-card/index.js +13 -2
- package/lib/molecule/certification-card/index.js.map +1 -1
- package/lib/molecule/cm-popin/index.js +38 -8
- package/lib/molecule/cm-popin/index.js.map +1 -1
- package/lib/molecule/cm-popin/index.native.js +20 -4
- package/lib/molecule/cm-popin/index.native.js.map +1 -1
- package/lib/molecule/cm-popin/types.js +14 -2
- package/lib/molecule/cm-popin/types.js.map +1 -1
- package/lib/molecule/cookie-banner/index.js +13 -2
- package/lib/molecule/cookie-banner/index.js.map +1 -1
- package/lib/molecule/coorp-manager-roles/index.js +11 -4
- package/lib/molecule/coorp-manager-roles/index.js.map +1 -1
- package/lib/molecule/coorpmanager-base-banner/index.js +12 -6
- package/lib/molecule/coorpmanager-base-banner/index.js.map +1 -1
- package/lib/molecule/course-section/index.js +12 -2
- package/lib/molecule/course-section/index.js.map +1 -1
- package/lib/molecule/course-sections/index.js +17 -4
- package/lib/molecule/course-sections/index.js.map +1 -1
- package/lib/molecule/dashboard/battle-request-list/index.js +10 -2
- package/lib/molecule/dashboard/battle-request-list/index.js.map +1 -1
- package/lib/molecule/dashboard/cards-list/index.js +74 -16
- package/lib/molecule/dashboard/cards-list/index.js.map +1 -1
- package/lib/molecule/dashboard/cards-list/prop-types.js.map +1 -1
- package/lib/molecule/dashboard/learning-profile-banner/index.js +14 -5
- package/lib/molecule/dashboard/learning-profile-banner/index.js.map +1 -1
- package/lib/molecule/dashboard/news-list/index.js +13 -2
- package/lib/molecule/dashboard/news-list/index.js.map +1 -1
- package/lib/molecule/dashboard/review-banner/index.js +13 -5
- package/lib/molecule/dashboard/review-banner/index.js.map +1 -1
- package/lib/molecule/dashboard/start-battle/index.js +12 -2
- package/lib/molecule/dashboard/start-battle/index.js.map +1 -1
- package/lib/molecule/discipline-associated-skills/index.js +23 -4
- package/lib/molecule/discipline-associated-skills/index.js.map +1 -1
- package/lib/molecule/discipline-cta/index.js +14 -2
- package/lib/molecule/discipline-cta/index.js.map +1 -1
- package/lib/molecule/discipline-header/index.js +26 -8
- package/lib/molecule/discipline-header/index.js.map +1 -1
- package/lib/molecule/discipline-partners/index.js +24 -2
- package/lib/molecule/discipline-partners/index.js.map +1 -1
- package/lib/molecule/discipline-scope/index.js +10 -2
- package/lib/molecule/discipline-scope/index.js.map +1 -1
- package/lib/molecule/drag-and-drop/index.js +27 -7
- package/lib/molecule/drag-and-drop/index.js.map +1 -1
- package/lib/molecule/drag-and-drop/overlay.js +13 -2
- package/lib/molecule/drag-and-drop/overlay.js.map +1 -1
- package/lib/molecule/drag-and-drop/placeholder.js +10 -2
- package/lib/molecule/drag-and-drop/placeholder.js.map +1 -1
- package/lib/molecule/drag-and-drop/upload-report.js +37 -7
- package/lib/molecule/drag-and-drop/upload-report.js.map +1 -1
- package/lib/molecule/drag-and-drop-wrapper/index.js +11 -2
- package/lib/molecule/drag-and-drop-wrapper/index.js.map +1 -1
- package/lib/molecule/draggable/index.js +16 -4
- package/lib/molecule/draggable/index.js.map +1 -1
- package/lib/molecule/draggable-list/index.js +23 -6
- package/lib/molecule/draggable-list/index.js.map +1 -1
- package/lib/molecule/errors-table/index.js +13 -4
- package/lib/molecule/errors-table/index.js.map +1 -1
- package/lib/molecule/errors-table/types.js +8 -2
- package/lib/molecule/errors-table/types.js.map +1 -1
- package/lib/molecule/expandable-item/index.js +14 -3
- package/lib/molecule/expandable-item/index.js.map +1 -1
- package/lib/molecule/expandable-item/types.js +6 -2
- package/lib/molecule/expandable-item/types.js.map +1 -1
- package/lib/molecule/expandable-list/index.js +10 -2
- package/lib/molecule/expandable-list/index.js.map +1 -1
- package/lib/molecule/expandable-list/types.js +7 -2
- package/lib/molecule/expandable-list/types.js.map +1 -1
- package/lib/molecule/expandible-actionable-table/index.js +46 -12
- package/lib/molecule/expandible-actionable-table/index.js.map +1 -1
- package/lib/molecule/expandible-actionable-table/types.js +15 -10
- package/lib/molecule/expandible-actionable-table/types.js.map +1 -1
- package/lib/molecule/external-content-button/index.js +15 -2
- package/lib/molecule/external-content-button/index.js.map +1 -1
- package/lib/molecule/external-content-viewer/index.js +12 -2
- package/lib/molecule/external-content-viewer/index.js.map +1 -1
- package/lib/molecule/feedback/index.js +22 -12
- package/lib/molecule/feedback/index.js.map +1 -1
- package/lib/molecule/filters/filters-wrapper.js +26 -3
- package/lib/molecule/filters/filters-wrapper.js.map +1 -1
- package/lib/molecule/filters/index.js +23 -3
- package/lib/molecule/filters/index.js.map +1 -1
- package/lib/molecule/forum/forum-comment/index.js +17 -2
- package/lib/molecule/forum/forum-comment/index.js.map +1 -1
- package/lib/molecule/forum/forum-post/index.js +18 -2
- package/lib/molecule/forum/forum-post/index.js.map +1 -1
- package/lib/molecule/forum/forum-thread/index.js +13 -3
- package/lib/molecule/forum/forum-thread/index.js.map +1 -1
- package/lib/molecule/forum/post-conditions.js +7 -2
- package/lib/molecule/forum/post-conditions.js.map +1 -1
- package/lib/molecule/go1-banner/index.js +12 -6
- package/lib/molecule/go1-banner/index.js.map +1 -1
- package/lib/molecule/hero/index.js +18 -4
- package/lib/molecule/hero/index.js.map +1 -1
- package/lib/molecule/hero/types.js +8 -2
- package/lib/molecule/hero/types.js.map +1 -1
- package/lib/molecule/icon-picker-modal/index.js +30 -4
- package/lib/molecule/icon-picker-modal/index.js.map +1 -1
- package/lib/molecule/icon-picker-modal/use-icon-search.js +14 -2
- package/lib/molecule/icon-picker-modal/use-icon-search.js.map +1 -1
- package/lib/molecule/input-text-with-titled-checkbox/index.js +11 -2
- package/lib/molecule/input-text-with-titled-checkbox/index.js.map +1 -1
- package/lib/molecule/learner-skill-card/index.js +17 -2
- package/lib/molecule/learner-skill-card/index.js.map +1 -1
- package/lib/molecule/learning-priority-card/index.js +19 -4
- package/lib/molecule/learning-priority-card/index.js.map +1 -1
- package/lib/molecule/learning-priority-card/types.js +6 -2
- package/lib/molecule/learning-priority-card/types.js.map +1 -1
- package/lib/molecule/learning-priority-modal/index.js +35 -7
- package/lib/molecule/learning-priority-modal/index.js.map +1 -1
- package/lib/molecule/learning-priority-setup-item/index.d.ts.map +1 -1
- package/lib/molecule/learning-priority-setup-item/index.js +22 -5
- package/lib/molecule/learning-priority-setup-item/index.js.map +1 -1
- package/lib/molecule/learning-profile-radar-chart/index.js +65 -17
- package/lib/molecule/learning-profile-radar-chart/index.js.map +1 -1
- package/lib/molecule/learning-profile-radar-chart/types.js +13 -7
- package/lib/molecule/learning-profile-radar-chart/types.js.map +1 -1
- package/lib/molecule/list-badges/index.js +11 -2
- package/lib/molecule/list-badges/index.js.map +1 -1
- package/lib/molecule/login-alert/index.js +11 -4
- package/lib/molecule/login-alert/index.js.map +1 -1
- package/lib/molecule/menu-links/index.js +21 -4
- package/lib/molecule/menu-links/index.js.map +1 -1
- package/lib/molecule/menu-links/types.js +6 -2
- package/lib/molecule/menu-links/types.js.map +1 -1
- package/lib/molecule/menu-list/index.js +13 -2
- package/lib/molecule/menu-list/index.js.map +1 -1
- package/lib/molecule/message-popin/index.js +9 -2
- package/lib/molecule/message-popin/index.js.map +1 -1
- package/lib/molecule/modal/index.js +16 -8
- package/lib/molecule/modal/index.js.map +1 -1
- package/lib/molecule/module-bubble/index.js +15 -2
- package/lib/molecule/module-bubble/index.js.map +1 -1
- package/lib/molecule/module-card/index.js +16 -5
- package/lib/molecule/module-card/index.js.map +1 -1
- package/lib/molecule/news/index.js +14 -3
- package/lib/molecule/news/index.js.map +1 -1
- package/lib/molecule/notification-banner/index.js +17 -2
- package/lib/molecule/notification-banner/index.js.map +1 -1
- package/lib/molecule/pagination/index.js +10 -2
- package/lib/molecule/pagination/index.js.map +1 -1
- package/lib/molecule/payment-form/index.js +22 -2
- package/lib/molecule/payment-form/index.js.map +1 -1
- package/lib/molecule/pdf/index.js +15 -4
- package/lib/molecule/pdf/index.js.map +1 -1
- package/lib/molecule/playlist-detail-cover/index.js +15 -4
- package/lib/molecule/playlist-detail-cover/index.js.map +1 -1
- package/lib/molecule/popin/index.js +19 -8
- package/lib/molecule/popin/index.js.map +1 -1
- package/lib/molecule/privacy-policy-contact/index.js +14 -5
- package/lib/molecule/privacy-policy-contact/index.js.map +1 -1
- package/lib/molecule/privacy-policy-contact/types.js +6 -2
- package/lib/molecule/privacy-policy-contact/types.js.map +1 -1
- package/lib/molecule/product-card/index.js +11 -2
- package/lib/molecule/product-card/index.js.map +1 -1
- package/lib/molecule/progress-bar/index.js +12 -4
- package/lib/molecule/progress-bar/index.js.map +1 -1
- package/lib/molecule/progress-wrapper/index.js +30 -5
- package/lib/molecule/progress-wrapper/index.js.map +1 -1
- package/lib/molecule/questions/drop-down/index.js +15 -4
- package/lib/molecule/questions/drop-down/index.js.map +1 -1
- package/lib/molecule/questions/free-text/index.js +18 -6
- package/lib/molecule/questions/free-text/index.js.map +1 -1
- package/lib/molecule/questions/free-text/index.native.js +21 -15
- package/lib/molecule/questions/free-text/index.native.js.map +1 -1
- package/lib/molecule/questions/mobile/draggable/index.native.js +23 -4
- package/lib/molecule/questions/mobile/draggable/index.native.js.map +1 -1
- package/lib/molecule/questions/mobile/slider/index.native.js +22 -8
- package/lib/molecule/questions/mobile/slider/index.native.js.map +1 -1
- package/lib/molecule/questions/mobile/switch/index.native.js +31 -4
- package/lib/molecule/questions/mobile/switch/index.native.js.map +1 -1
- package/lib/molecule/questions/mobile/template/index.native.js +33 -4
- package/lib/molecule/questions/mobile/template/index.native.js.map +1 -1
- package/lib/molecule/questions/qcm/index.js +23 -9
- package/lib/molecule/questions/qcm/index.js.map +1 -1
- package/lib/molecule/questions/qcm-drag/index.js +29 -6
- package/lib/molecule/questions/qcm-drag/index.js.map +1 -1
- package/lib/molecule/questions/qcm-graphic/index.js +18 -6
- package/lib/molecule/questions/qcm-graphic/index.js.map +1 -1
- package/lib/molecule/questions/question-range/index.js +21 -12
- package/lib/molecule/questions/question-range/index.js.map +1 -1
- package/lib/molecule/questions/template/index.js +22 -7
- package/lib/molecule/questions/template/index.js.map +1 -1
- package/lib/molecule/questions/types.js.map +1 -1
- package/lib/molecule/quick-access-card/index.js +40 -2
- package/lib/molecule/quick-access-card/index.js.map +1 -1
- package/lib/molecule/quick-access-cards-group/index.js +13 -2
- package/lib/molecule/quick-access-cards-group/index.js.map +1 -1
- package/lib/molecule/resource-player/index.js +39 -7
- package/lib/molecule/resource-player/index.js.map +1 -1
- package/lib/molecule/review-card-congrats/index.js +29 -7
- package/lib/molecule/review-card-congrats/index.js.map +1 -1
- package/lib/molecule/review-card-congrats/prop-types.js +7 -2
- package/lib/molecule/review-card-congrats/prop-types.js.map +1 -1
- package/lib/molecule/review-correction-popin/index.js +26 -13
- package/lib/molecule/review-correction-popin/index.js.map +1 -1
- package/lib/molecule/review-correction-popin/index.native.js +25 -6
- package/lib/molecule/review-correction-popin/index.native.js.map +1 -1
- package/lib/molecule/review-correction-popin/prop-types.js +6 -2
- package/lib/molecule/review-correction-popin/prop-types.js.map +1 -1
- package/lib/molecule/review-header-steps/index.js +13 -2
- package/lib/molecule/review-header-steps/index.js.map +1 -1
- package/lib/molecule/review-header-steps/prop-types.js +7 -2
- package/lib/molecule/review-header-steps/prop-types.js.map +1 -1
- package/lib/molecule/scope-content/index.js +29 -9
- package/lib/molecule/scope-content/index.js.map +1 -1
- package/lib/molecule/scope-tabs/index.js +24 -5
- package/lib/molecule/scope-tabs/index.js.map +1 -1
- package/lib/molecule/search-form/index.js +18 -5
- package/lib/molecule/search-form/index.js.map +1 -1
- package/lib/molecule/select-multiple/index.js +42 -12
- package/lib/molecule/select-multiple/index.js.map +1 -1
- package/lib/molecule/setup-cohort-item/index.js +23 -10
- package/lib/molecule/setup-cohort-item/index.js.map +1 -1
- package/lib/molecule/setup-section/index.js +21 -5
- package/lib/molecule/setup-section/index.js.map +1 -1
- package/lib/molecule/setup-sections/index.js +13 -2
- package/lib/molecule/setup-sections/index.js.map +1 -1
- package/lib/molecule/setup-slider/index.js +53 -25
- package/lib/molecule/setup-slider/index.js.map +1 -1
- package/lib/molecule/share/index.js +34 -10
- package/lib/molecule/share/index.js.map +1 -1
- package/lib/molecule/skill-card/index.js +18 -4
- package/lib/molecule/skill-card/index.js.map +1 -1
- package/lib/molecule/skill-card/index.native.js +16 -3
- package/lib/molecule/skill-card/index.native.js.map +1 -1
- package/lib/molecule/skill-card/prop-types.js +6 -2
- package/lib/molecule/skill-card/prop-types.js.map +1 -1
- package/lib/molecule/skill-picker-modal/index.js +25 -5
- package/lib/molecule/skill-picker-modal/index.js.map +1 -1
- package/lib/molecule/skills-chart-side-information-item/index.js +11 -2
- package/lib/molecule/skills-chart-side-information-item/index.js.map +1 -1
- package/lib/molecule/skills-chart-side-information-panel/index.js +13 -3
- package/lib/molecule/skills-chart-side-information-panel/index.js.map +1 -1
- package/lib/molecule/ssmenu-list/index.js +9 -2
- package/lib/molecule/ssmenu-list/index.js.map +1 -1
- package/lib/molecule/subscription-freemium/index.js +10 -2
- package/lib/molecule/subscription-freemium/index.js.map +1 -1
- package/lib/molecule/subscription-premium/index.js +14 -2
- package/lib/molecule/subscription-premium/index.js.map +1 -1
- package/lib/molecule/table/index.js +32 -3
- package/lib/molecule/table/index.js.map +1 -1
- package/lib/molecule/teams-popin/index.js +13 -2
- package/lib/molecule/teams-popin/index.js.map +1 -1
- package/lib/molecule/theme-image/index.js +11 -2
- package/lib/molecule/theme-image/index.js.map +1 -1
- package/lib/molecule/title-and-checkbox-wrapper/index.js +24 -13
- package/lib/molecule/title-and-checkbox-wrapper/index.js.map +1 -1
- package/lib/molecule/title-radio-wrapper/index.js +15 -2
- package/lib/molecule/title-radio-wrapper/index.js.map +1 -1
- package/lib/molecule/title-radio-wrapper/types.js +9 -2
- package/lib/molecule/title-radio-wrapper/types.js.map +1 -1
- package/lib/molecule/titled-checkbox/index.js +16 -4
- package/lib/molecule/titled-checkbox/index.js.map +1 -1
- package/lib/molecule/translation-modal/index.js +27 -17
- package/lib/molecule/translation-modal/index.js.map +1 -1
- package/lib/molecule/unsubscribe/index.js +11 -2
- package/lib/molecule/unsubscribe/index.js.map +1 -1
- package/lib/molecule/vertical-tabs/index.js +17 -2
- package/lib/molecule/vertical-tabs/index.js.map +1 -1
- package/lib/molecule/video-iframe/index.js +26 -5
- package/lib/molecule/video-iframe/index.js.map +1 -1
- package/lib/molecule/video-player/index.js +24 -3
- package/lib/molecule/video-player/index.js.map +1 -1
- package/lib/molecule/video-player/jwplayer-prop-types.js +7 -2
- package/lib/molecule/video-player/jwplayer-prop-types.js.map +1 -1
- package/lib/molecule/video-player/jwplayer.js +38 -9
- package/lib/molecule/video-player/jwplayer.js.map +1 -1
- package/lib/molecule/video-player/prop-types.js +9 -3
- package/lib/molecule/video-player/prop-types.js.map +1 -1
- package/lib/molecule/video-player/vimeo.js +50 -5
- package/lib/molecule/video-player/vimeo.js.map +1 -1
- package/lib/molecule/video-player-mobile/index.native.js +20 -4
- package/lib/molecule/video-player-mobile/index.native.js.map +1 -1
- package/lib/molecule/wizard-summary/index.js +33 -6
- package/lib/molecule/wizard-summary/index.js.map +1 -1
- package/lib/organism/accordion/container/index.js +24 -5
- package/lib/organism/accordion/container/index.js.map +1 -1
- package/lib/organism/accordion/coorp-manager/index.js +28 -7
- package/lib/organism/accordion/coorp-manager/index.js.map +1 -1
- package/lib/organism/accordion/coorp-manager/part/index.js +24 -4
- package/lib/organism/accordion/coorp-manager/part/index.js.map +1 -1
- package/lib/organism/accordion/part/index.js +15 -2
- package/lib/organism/accordion/part/index.js.map +1 -1
- package/lib/organism/accordion/toggler/index.js +23 -4
- package/lib/organism/accordion/toggler/index.js.map +1 -1
- package/lib/organism/brand-analytics/analytics-popin.js +17 -2
- package/lib/organism/brand-analytics/analytics-popin.js.map +1 -1
- package/lib/organism/brand-analytics/index.js +25 -2
- package/lib/organism/brand-analytics/index.js.map +1 -1
- package/lib/organism/brand-dashboard/index.js +14 -3
- package/lib/organism/brand-dashboard/index.js.map +1 -1
- package/lib/organism/brand-form/index.js +23 -4
- package/lib/organism/brand-form/index.js.map +1 -1
- package/lib/organism/brand-learning-priorities/index.js +20 -6
- package/lib/organism/brand-learning-priorities/index.js.map +1 -1
- package/lib/organism/brand-table/index.js +15 -2
- package/lib/organism/brand-table/index.js.map +1 -1
- package/lib/organism/brand-upload/index.js +17 -3
- package/lib/organism/brand-upload/index.js.map +1 -1
- package/lib/organism/cards-grid/index.js +12 -2
- package/lib/organism/cards-grid/index.js.map +1 -1
- package/lib/organism/cart/index.js +14 -2
- package/lib/organism/cart/index.js.map +1 -1
- package/lib/organism/content-translation/index.js +20 -7
- package/lib/organism/content-translation/index.js.map +1 -1
- package/lib/organism/course-selection/index.js +22 -3
- package/lib/organism/course-selection/index.js.map +1 -1
- package/lib/organism/discussion/index.js +18 -5
- package/lib/organism/discussion/index.js.map +1 -1
- package/lib/organism/get-the-app/index.js +24 -4
- package/lib/organism/get-the-app/index.js.map +1 -1
- package/lib/organism/grid-list/index.js +9 -2
- package/lib/organism/grid-list/index.js.map +1 -1
- package/lib/organism/header/index.js +12 -2
- package/lib/organism/header/index.js.map +1 -1
- package/lib/organism/header-v2/index.native.js +24 -8
- package/lib/organism/header-v2/index.native.js.map +1 -1
- package/lib/organism/hero/index.js +14 -2
- package/lib/organism/hero/index.js.map +1 -1
- package/lib/organism/list-item/index.js +25 -3
- package/lib/organism/list-item/index.js.map +1 -1
- package/lib/organism/list-items/index.js +26 -7
- package/lib/organism/list-items/index.js.map +1 -1
- package/lib/organism/mobile-intro-popin/index.native.js +20 -4
- package/lib/organism/mobile-intro-popin/index.native.js.map +1 -1
- package/lib/organism/mobile-navigation/index.native.js +21 -4
- package/lib/organism/mobile-navigation/index.native.js.map +1 -1
- package/lib/organism/mooc/image-slider/index.js +13 -3
- package/lib/organism/mooc/image-slider/index.js.map +1 -1
- package/lib/organism/mooc-footer/index.js +25 -12
- package/lib/organism/mooc-footer/index.js.map +1 -1
- package/lib/organism/mooc-header/index.js +71 -11
- package/lib/organism/mooc-header/index.js.map +1 -1
- package/lib/organism/popin/index.js +15 -2
- package/lib/organism/popin/index.js.map +1 -1
- package/lib/organism/resource-browser/index.js +20 -3
- package/lib/organism/resource-browser/index.js.map +1 -1
- package/lib/organism/review-congrats/index.js +22 -6
- package/lib/organism/review-congrats/index.js.map +1 -1
- package/lib/organism/review-congrats/index.native.js +30 -14
- package/lib/organism/review-congrats/index.native.js.map +1 -1
- package/lib/organism/review-congrats/prop-types.js +8 -2
- package/lib/organism/review-congrats/prop-types.js.map +1 -1
- package/lib/organism/review-header/index.js +18 -4
- package/lib/organism/review-header/index.js.map +1 -1
- package/lib/organism/review-header/index.native.js +14 -3
- package/lib/organism/review-header/index.native.js.map +1 -1
- package/lib/organism/review-header/types.js +7 -2
- package/lib/organism/review-header/types.js.map +1 -1
- package/lib/organism/review-no-skills/index.js +10 -2
- package/lib/organism/review-no-skills/index.js.map +1 -1
- package/lib/organism/review-no-skills/index.native.js +16 -3
- package/lib/organism/review-no-skills/index.native.js.map +1 -1
- package/lib/organism/review-no-skills/prop-types.js +6 -2
- package/lib/organism/review-no-skills/prop-types.js.map +1 -1
- package/lib/organism/review-skills/index.js +11 -2
- package/lib/organism/review-skills/index.js.map +1 -1
- package/lib/organism/review-skills/index.native.js +11 -2
- package/lib/organism/review-skills/index.native.js.map +1 -1
- package/lib/organism/review-skills/prop-types.js +7 -2
- package/lib/organism/review-skills/prop-types.js.map +1 -1
- package/lib/organism/review-slide/index.js +34 -10
- package/lib/organism/review-slide/index.js.map +1 -1
- package/lib/organism/review-slide/index.native.js +39 -12
- package/lib/organism/review-slide/index.native.js.map +1 -1
- package/lib/organism/review-slide/prop-types.js +12 -3
- package/lib/organism/review-slide/prop-types.js.map +1 -1
- package/lib/organism/review-stacked-slides/index.js +23 -5
- package/lib/organism/review-stacked-slides/index.js.map +1 -1
- package/lib/organism/review-stacked-slides/index.native.js +26 -10
- package/lib/organism/review-stacked-slides/index.native.js.map +1 -1
- package/lib/organism/review-stacked-slides/prop-types.js +11 -4
- package/lib/organism/review-stacked-slides/prop-types.js.map +1 -1
- package/lib/organism/rewards-form/index.js +11 -2
- package/lib/organism/rewards-form/index.js.map +1 -1
- package/lib/organism/search-and-chips-results/index.js +19 -3
- package/lib/organism/search-and-chips-results/index.js.map +1 -1
- package/lib/organism/select-opponents/index.js +12 -2
- package/lib/organism/select-opponents/index.js.map +1 -1
- package/lib/organism/select-opponents/types.js +9 -3
- package/lib/organism/select-opponents/types.js.map +1 -1
- package/lib/organism/settings/index.js +21 -5
- package/lib/organism/settings/index.js.map +1 -1
- package/lib/organism/setup-header/index.js +18 -2
- package/lib/organism/setup-header/index.js.map +1 -1
- package/lib/organism/sidebar/index.js +63 -23
- package/lib/organism/sidebar/index.js.map +1 -1
- package/lib/organism/slider/index.js +27 -4
- package/lib/organism/slider/index.js.map +1 -1
- package/lib/organism/title-and-input/index.js +18 -3
- package/lib/organism/title-and-input/index.js.map +1 -1
- package/lib/organism/title-and-input/types.js +10 -2
- package/lib/organism/title-and-input/types.js.map +1 -1
- package/lib/organism/user-preferences/index.js +23 -7
- package/lib/organism/user-preferences/index.js.map +1 -1
- package/lib/organism/wizard-contents/index.js +52 -23
- package/lib/organism/wizard-contents/index.js.map +1 -1
- package/lib/template/activity/engine-stars.js +33 -10
- package/lib/template/activity/engine-stars.js.map +1 -1
- package/lib/template/activity/index.js +33 -9
- package/lib/template/activity/index.js.map +1 -1
- package/lib/template/activity/progression-item.js +22 -6
- package/lib/template/activity/progression-item.js.map +1 -1
- package/lib/template/activity/stars-summary.js +28 -5
- package/lib/template/activity/stars-summary.js.map +1 -1
- package/lib/template/app-player/loading/index.js +11 -2
- package/lib/template/app-player/loading/index.js.map +1 -1
- package/lib/template/app-player/player/index.js +13 -3
- package/lib/template/app-player/player/index.js.map +1 -1
- package/lib/template/app-player/player/slides/footer/index.js +24 -5
- package/lib/template/app-player/player/slides/footer/index.js.map +1 -1
- package/lib/template/app-player/player/slides/header/index.js +14 -3
- package/lib/template/app-player/player/slides/header/index.js.map +1 -1
- package/lib/template/app-player/player/slides/header/learner.js +24 -7
- package/lib/template/app-player/player/slides/header/learner.js.map +1 -1
- package/lib/template/app-player/player/slides/header/lives.js +12 -2
- package/lib/template/app-player/player/slides/header/lives.js.map +1 -1
- package/lib/template/app-player/player/slides/header/microlearning.js +18 -5
- package/lib/template/app-player/player/slides/header/microlearning.js.map +1 -1
- package/lib/template/app-player/player/slides/index.js +90 -25
- package/lib/template/app-player/player/slides/index.js.map +1 -1
- package/lib/template/app-player/popin-correction/index.js +50 -13
- package/lib/template/app-player/popin-correction/index.js.map +1 -1
- package/lib/template/app-player/popin-end/index.js +16 -3
- package/lib/template/app-player/popin-end/index.js.map +1 -1
- package/lib/template/app-player/popin-end/summary.js +53 -13
- package/lib/template/app-player/popin-end/summary.js.map +1 -1
- package/lib/template/app-player/popin-header/index.js +65 -15
- package/lib/template/app-player/popin-header/index.js.map +1 -1
- package/lib/template/app-player/popin-no-access/index.js +9 -2
- package/lib/template/app-player/popin-no-access/index.js.map +1 -1
- package/lib/template/app-review/demo-ts/index.js +8 -2
- package/lib/template/app-review/demo-ts/index.js.map +1 -1
- package/lib/template/app-review/demo-ts/index.native.js +8 -2
- package/lib/template/app-review/demo-ts/index.native.js.map +1 -1
- package/lib/template/app-review/demo-ts/typings.js +6 -2
- package/lib/template/app-review/demo-ts/typings.js.map +1 -1
- package/lib/template/app-review/index.js +11 -2
- package/lib/template/app-review/index.js.map +1 -1
- package/lib/template/app-review/index.native.js +19 -6
- package/lib/template/app-review/index.native.js.map +1 -1
- package/lib/template/app-review/onboarding/index.js +6 -2
- package/lib/template/app-review/onboarding/index.js.map +1 -1
- package/lib/template/app-review/onboarding/index.native.js +6 -2
- package/lib/template/app-review/onboarding/index.native.js.map +1 -1
- package/lib/template/app-review/player/background-review.js +8 -2
- package/lib/template/app-review/player/background-review.js.map +1 -1
- package/lib/template/app-review/player/index.js +16 -2
- package/lib/template/app-review/player/index.js.map +1 -1
- package/lib/template/app-review/player/index.native.js +21 -4
- package/lib/template/app-review/player/index.native.js.map +1 -1
- package/lib/template/app-review/player/prop-types.js +11 -4
- package/lib/template/app-review/player/prop-types.js.map +1 -1
- package/lib/template/app-review/prop-types.js +8 -4
- package/lib/template/app-review/prop-types.js.map +1 -1
- package/lib/template/app-review/skills/index.js +13 -2
- package/lib/template/app-review/skills/index.js.map +1 -1
- package/lib/template/app-review/skills/index.native.js +21 -4
- package/lib/template/app-review/skills/index.native.js.map +1 -1
- package/lib/template/app-review/skills/prop-types.js +7 -2
- package/lib/template/app-review/skills/prop-types.js.map +1 -1
- package/lib/template/app-review/template-context.js +18 -3
- package/lib/template/app-review/template-context.js.map +1 -1
- package/lib/template/back-office/brand-create/index.js +11 -2
- package/lib/template/back-office/brand-create/index.js.map +1 -1
- package/lib/template/back-office/brand-list/index.js +21 -4
- package/lib/template/back-office/brand-list/index.js.map +1 -1
- package/lib/template/back-office/brand-update/index.js +75 -39
- package/lib/template/back-office/brand-update/index.js.map +1 -1
- package/lib/template/back-office/dashboard-preview/dashboard-popin.js +15 -2
- package/lib/template/back-office/dashboard-preview/dashboard-popin.js.map +1 -1
- package/lib/template/back-office/dashboard-preview/index.js +33 -2
- package/lib/template/back-office/dashboard-preview/index.js.map +1 -1
- package/lib/template/back-office/layout/index.js +12 -2
- package/lib/template/back-office/layout/index.js.map +1 -1
- package/lib/template/battle-requests/index.js +15 -4
- package/lib/template/battle-requests/index.js.map +1 -1
- package/lib/template/certification-detail/index.js +28 -4
- package/lib/template/certification-detail/index.js.map +1 -1
- package/lib/template/certifications/index.js +22 -7
- package/lib/template/certifications/index.js.map +1 -1
- package/lib/template/cockpit/jw-uploader/index.js +14 -4
- package/lib/template/cockpit/jw-uploader/index.js.map +1 -1
- package/lib/template/common/authors/index.js +22 -4
- package/lib/template/common/authors/index.js.map +1 -1
- package/lib/template/common/coorp-header/content.js +9 -2
- package/lib/template/common/coorp-header/content.js.map +1 -1
- package/lib/template/common/coorp-header/index.js +10 -2
- package/lib/template/common/coorp-header/index.js.map +1 -1
- package/lib/template/common/dashboard/index.js +37 -3
- package/lib/template/common/dashboard/index.js.map +1 -1
- package/lib/template/common/discipline/index.js +26 -4
- package/lib/template/common/discipline/index.js.map +1 -1
- package/lib/template/common/faq-article-page/index.js +14 -4
- package/lib/template/common/faq-article-page/index.js.map +1 -1
- package/lib/template/common/faq-article-page/types.js +7 -2
- package/lib/template/common/faq-article-page/types.js.map +1 -1
- package/lib/template/common/faq-cards-page/index.js +15 -3
- package/lib/template/common/faq-cards-page/index.js.map +1 -1
- package/lib/template/common/faq-cards-page/types.js +8 -2
- package/lib/template/common/faq-cards-page/types.js.map +1 -1
- package/lib/template/common/faq-page/index.js +15 -3
- package/lib/template/common/faq-page/index.js.map +1 -1
- package/lib/template/common/faq-page/types.js +10 -2
- package/lib/template/common/faq-page/types.js.map +1 -1
- package/lib/template/common/privacy-policy-page/index.js +15 -3
- package/lib/template/common/privacy-policy-page/index.js.map +1 -1
- package/lib/template/common/privacy-policy-page/types.js +10 -2
- package/lib/template/common/privacy-policy-page/types.js.map +1 -1
- package/lib/template/common/search-page/index.js +23 -5
- package/lib/template/common/search-page/index.js.map +1 -1
- package/lib/template/external-course/index.js +31 -8
- package/lib/template/external-course/index.js.map +1 -1
- package/lib/template/mobile-login/confirm-email-sent/index.native.js +24 -6
- package/lib/template/mobile-login/confirm-email-sent/index.native.js.map +1 -1
- package/lib/template/mobile-login/qr-code-scanner/index.native.js +28 -12
- package/lib/template/mobile-login/qr-code-scanner/index.native.js.map +1 -1
- package/lib/template/mobile-login/receive-email/index.native.js +18 -4
- package/lib/template/mobile-login/receive-email/index.native.js.map +1 -1
- package/lib/template/mobile-login/welcome/index.native.js +26 -6
- package/lib/template/mobile-login/welcome/index.native.js.map +1 -1
- package/lib/template/my-learning/index.js +49 -5
- package/lib/template/my-learning/index.js.map +1 -1
- package/lib/template/playlist-detail/index.js +25 -4
- package/lib/template/playlist-detail/index.js.map +1 -1
- package/lib/template/review-dashboard-skills/index.js +11 -2
- package/lib/template/review-dashboard-skills/index.js.map +1 -1
- package/lib/template/skill-detail/all-courses.js +34 -5
- package/lib/template/skill-detail/all-courses.js.map +1 -1
- package/lib/template/skill-detail/continue-learning.js +21 -6
- package/lib/template/skill-detail/continue-learning.js.map +1 -1
- package/lib/template/skill-detail/index.js +27 -4
- package/lib/template/skill-detail/index.js.map +1 -1
- package/lib/template/teams-dashboard/index.js +21 -5
- package/lib/template/teams-dashboard/index.js.map +1 -1
- package/lib/util/bubbling.js +4 -1
- package/lib/util/bubbling.js.map +1 -1
- package/lib/util/build-query-string.js +7 -2
- package/lib/util/build-query-string.js.map +1 -1
- package/lib/util/button-icons.js +7 -2
- package/lib/util/button-icons.js.map +1 -1
- package/lib/util/check-is-mobile.js +2 -0
- package/lib/util/check-is-mobile.js.map +1 -1
- package/lib/util/closest-step.js +9 -1
- package/lib/util/closest-step.js.map +1 -1
- package/lib/util/constants.js +2 -1
- package/lib/util/constants.js.map +1 -1
- package/lib/util/external-content.js +10 -3
- package/lib/util/external-content.js.map +1 -1
- package/lib/util/get-class-state.js +5 -1
- package/lib/util/get-class-state.js.map +1 -1
- package/lib/util/get-clean-uri.js +4 -1
- package/lib/util/get-clean-uri.js.map +1 -1
- package/lib/util/get-resized-image.js +15 -6
- package/lib/util/get-resized-image.js.map +1 -1
- package/lib/util/get-shadow-box-color-from-primary.js +3 -0
- package/lib/util/get-shadow-box-color-from-primary.js.map +1 -1
- package/lib/util/image.js +8 -2
- package/lib/util/image.js.map +1 -1
- package/lib/util/navigation.js +16 -3
- package/lib/util/navigation.js.map +1 -1
- package/lib/util/parse-template-string.js +12 -2
- package/lib/util/parse-template-string.js.map +1 -1
- package/lib/util/proptypes.js +27 -6
- package/lib/util/proptypes.js.map +1 -1
- package/lib/util/render-with-context.js +23 -10
- package/lib/util/render-with-context.js.map +1 -1
- package/lib/util/search-value-included.js +9 -2
- package/lib/util/search-value-included.js.map +1 -1
- package/lib/util/shallow-compare.js +7 -2
- package/lib/util/shallow-compare.js.map +1 -1
- package/lib/util/time-format.js +4 -0
- package/lib/util/time-format.js.map +1 -1
- package/lib/util/use-mobile-keyboard-visibility.js +8 -1
- package/lib/util/use-mobile-keyboard-visibility.js.map +1 -1
- package/lib/variables/analytics.js +2 -1
- package/lib/variables/analytics.js.map +1 -1
- package/lib/variables/brand.native.js +2 -1
- package/lib/variables/brand.native.js.map +1 -1
- package/lib/variables/colors.css +3 -0
- package/lib/variables/colors.js +2 -1
- package/lib/variables/colors.js.map +1 -1
- package/lib/variables/default-mobile-translations.js +2 -1
- package/lib/variables/default-mobile-translations.js.map +1 -1
- package/lib/variables/shadow.js +3 -1
- package/lib/variables/shadow.js.map +1 -1
- package/lib/variables/theme.native.js +6 -2
- package/lib/variables/theme.native.js.map +1 -1
- package/lib/variables/vibration.js +2 -1
- package/lib/variables/vibration.js.map +1 -1
- package/package.json +3 -3
package/es/util/proptypes.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"proptypes.js","names":["PropTypes","split","trim","includes","every","stringMatching","_ColorPropType","_HexPropType","isEmpty","head","URL_REGEXP","UrlPropType","PATH_REGEXP","PathPropType","SrcPropType","oneOfType","FilesPropType","props","propName","componentName","validFilesTypes","propValue","filesTypes","isValid","type","Error","ColorPropType","HexPropType"],"sources":["../../src/util/proptypes.js"],"sourcesContent":["import PropTypes from 'prop-types';\nimport split from 'lodash/fp/split';\nimport trim from 'lodash/fp/trim';\nimport includes from 'lodash/fp/includes';\nimport every from 'lodash/fp/every';\nimport stringMatching from 'extended-proptypes/lib/validators/stringMatching';\n\nimport _ColorPropType from 'extended-proptypes/lib/validators/color';\nimport _HexPropType from 'extended-proptypes/lib/validators/hex';\nimport isEmpty from 'lodash/fp/isEmpty';\nimport head from 'lodash/fp/head';\n\nconst URL_REGEXP =\n /^(http(s)?:\\/\\/.)[-a-zA-Z0-9@:%._\\\\+~#=]{2,256}\\.[a-z]{2,6}\\b([-a-zA-Z0-9@:%_\\\\+.~#?&//=]*)$/;\nexport const UrlPropType = stringMatching(URL_REGEXP);\n\nconst PATH_REGEXP = /^\\/([-a-zA-Z0-9@:%_\\\\+.~#?&//=]*)$/;\nexport const PathPropType = stringMatching(PATH_REGEXP);\n\nexport const SrcPropType = PropTypes.oneOfType([UrlPropType, PathPropType]);\n\nexport const FilesPropType = (props, propName, componentName) => {\n const validFilesTypes = [\n 'image/jpeg',\n 'image/png',\n 'image/svg+xml',\n 'image/*',\n 'application/pdf',\n 'application/zip',\n 'text/csv'\n ];\n\n const propValue = props[propName];\n const filesTypes = split(',', propValue);\n const isValid =\n isEmpty(head(filesTypes)) || every(type => includes(trim(type), validFilesTypes), filesTypes);\n if (isValid) return null;\n\n return new Error(\n `Invalid prop value: ${propValue}, at component: ${componentName}. Expected a valid image type: image/jpeg, image/png, image/* image/svg+xml or application/pdf.`\n );\n};\n\nexport const ColorPropType = _ColorPropType;\nexport const HexPropType = _HexPropType;\n"],"mappings":"AAAA,OAAOA,
|
|
1
|
+
{"version":3,"file":"proptypes.js","names":["PropTypes","split","trim","includes","every","stringMatching","_ColorPropType","_HexPropType","isEmpty","head","URL_REGEXP","UrlPropType","PATH_REGEXP","PathPropType","SrcPropType","oneOfType","FilesPropType","props","propName","componentName","validFilesTypes","propValue","filesTypes","isValid","type","Error","ColorPropType","HexPropType"],"sources":["../../src/util/proptypes.js"],"sourcesContent":["import PropTypes from 'prop-types';\nimport split from 'lodash/fp/split';\nimport trim from 'lodash/fp/trim';\nimport includes from 'lodash/fp/includes';\nimport every from 'lodash/fp/every';\nimport stringMatching from 'extended-proptypes/lib/validators/stringMatching';\n\nimport _ColorPropType from 'extended-proptypes/lib/validators/color';\nimport _HexPropType from 'extended-proptypes/lib/validators/hex';\nimport isEmpty from 'lodash/fp/isEmpty';\nimport head from 'lodash/fp/head';\n\nconst URL_REGEXP =\n /^(http(s)?:\\/\\/.)[-a-zA-Z0-9@:%._\\\\+~#=]{2,256}\\.[a-z]{2,6}\\b([-a-zA-Z0-9@:%_\\\\+.~#?&//=]*)$/;\nexport const UrlPropType = stringMatching(URL_REGEXP);\n\nconst PATH_REGEXP = /^\\/([-a-zA-Z0-9@:%_\\\\+.~#?&//=]*)$/;\nexport const PathPropType = stringMatching(PATH_REGEXP);\n\nexport const SrcPropType = PropTypes.oneOfType([UrlPropType, PathPropType]);\n\nexport const FilesPropType = (props, propName, componentName) => {\n const validFilesTypes = [\n 'image/jpeg',\n 'image/png',\n 'image/svg+xml',\n 'image/*',\n 'application/pdf',\n 'application/zip',\n 'text/csv'\n ];\n\n const propValue = props[propName];\n const filesTypes = split(',', propValue);\n const isValid =\n isEmpty(head(filesTypes)) || every(type => includes(trim(type), validFilesTypes), filesTypes);\n if (isValid) return null;\n\n return new Error(\n `Invalid prop value: ${propValue}, at component: ${componentName}. Expected a valid image type: image/jpeg, image/png, image/* image/svg+xml or application/pdf.`\n );\n};\n\nexport const ColorPropType = _ColorPropType;\nexport const HexPropType = _HexPropType;\n"],"mappings":"AAAA,OAAOA,SAAP,MAAsB,YAAtB;AACA,OAAOC,KAAP,MAAkB,iBAAlB;AACA,OAAOC,IAAP,MAAiB,gBAAjB;AACA,OAAOC,QAAP,MAAqB,oBAArB;AACA,OAAOC,KAAP,MAAkB,iBAAlB;AACA,OAAOC,cAAP,MAA2B,kDAA3B;AAEA,OAAOC,cAAP,MAA2B,yCAA3B;AACA,OAAOC,YAAP,MAAyB,uCAAzB;AACA,OAAOC,OAAP,MAAoB,mBAApB;AACA,OAAOC,IAAP,MAAiB,gBAAjB;AAEA,MAAMC,UAAU,GACd,8FADF;AAEA,OAAO,MAAMC,WAAW,GAAGN,cAAc,CAACK,UAAD,CAAlC;AAEP,MAAME,WAAW,GAAG,oCAApB;AACA,OAAO,MAAMC,YAAY,GAAGR,cAAc,CAACO,WAAD,CAAnC;AAEP,OAAO,MAAME,WAAW,GAAGd,SAAS,CAACe,SAAV,CAAoB,CAACJ,WAAD,EAAcE,YAAd,CAApB,CAApB;AAEP,OAAO,MAAMG,aAAa,GAAG,CAACC,KAAD,EAAQC,QAAR,EAAkBC,aAAlB,KAAoC;EAC/D,MAAMC,eAAe,GAAG,CACtB,YADsB,EAEtB,WAFsB,EAGtB,eAHsB,EAItB,SAJsB,EAKtB,iBALsB,EAMtB,iBANsB,EAOtB,UAPsB,CAAxB;EAUA,MAAMC,SAAS,GAAGJ,KAAK,CAACC,QAAD,CAAvB;EACA,MAAMI,UAAU,GAAGrB,KAAK,CAAC,GAAD,EAAMoB,SAAN,CAAxB;EACA,MAAME,OAAO,GACXf,OAAO,CAACC,IAAI,CAACa,UAAD,CAAL,CAAP,IAA6BlB,KAAK,CAACoB,IAAI,IAAIrB,QAAQ,CAACD,IAAI,CAACsB,IAAD,CAAL,EAAaJ,eAAb,CAAjB,EAAgDE,UAAhD,CADpC;EAEA,IAAIC,OAAJ,EAAa,OAAO,IAAP;EAEb,OAAO,IAAIE,KAAJ,CACJ,uBAAsBJ,SAAU,mBAAkBF,aAAc,iGAD5D,CAAP;AAGD,CApBM;AAsBP,OAAO,MAAMO,aAAa,GAAGpB,cAAtB;AACP,OAAO,MAAMqB,WAAW,GAAGpB,YAApB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
function _extends() {
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
2
3
|
import React from 'react';
|
|
3
4
|
import PropTypes from 'prop-types';
|
|
4
5
|
import { render } from '@testing-library/react';
|
|
@@ -10,17 +11,18 @@ export const renderWithContext = (component, options = {}) => {
|
|
|
10
11
|
context = {},
|
|
11
12
|
useLegacyProvider = false,
|
|
12
13
|
...renderOptions
|
|
13
|
-
} = options;
|
|
14
|
-
|
|
14
|
+
} = options; // uses mockTranslate as a default translate function
|
|
15
|
+
|
|
15
16
|
const {
|
|
16
17
|
translate = mockTranslate,
|
|
17
18
|
...rest
|
|
18
19
|
} = context;
|
|
20
|
+
|
|
19
21
|
const wrapper = ({
|
|
20
22
|
children
|
|
21
23
|
}) => {
|
|
22
|
-
const hasContextTypes = useLegacyProvider || has(['type', 'contextTypes'], children);
|
|
23
|
-
|
|
24
|
+
const hasContextTypes = useLegacyProvider || has(['type', 'contextTypes'], children); // eslint-disable-next-line no-console
|
|
25
|
+
|
|
24
26
|
if (!hasContextTypes) console.log('ContextTypes not found, using WebContext');
|
|
25
27
|
return hasContextTypes ? /*#__PURE__*/React.createElement(Provider, _extends({}, rest, {
|
|
26
28
|
translate: translate
|
|
@@ -28,11 +30,11 @@ export const renderWithContext = (component, options = {}) => {
|
|
|
28
30
|
translate: translate
|
|
29
31
|
}), children);
|
|
30
32
|
};
|
|
33
|
+
|
|
31
34
|
wrapper.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
32
35
|
children: PropTypes.node
|
|
33
36
|
} : {};
|
|
34
|
-
return render(component, {
|
|
35
|
-
...renderOptions,
|
|
37
|
+
return render(component, { ...renderOptions,
|
|
36
38
|
wrapper
|
|
37
39
|
});
|
|
38
40
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render-with-context.js","names":["React","PropTypes","render","has","mockTranslate","Provider","WebContext","renderWithContext","component","options","context","useLegacyProvider","renderOptions","translate","rest","wrapper","children","hasContextTypes","console","log","
|
|
1
|
+
{"version":3,"file":"render-with-context.js","names":["React","PropTypes","render","has","mockTranslate","Provider","WebContext","renderWithContext","component","options","context","useLegacyProvider","renderOptions","translate","rest","wrapper","children","hasContextTypes","console","log","propTypes","node"],"sources":["../../src/util/render-with-context.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {render} from '@testing-library/react';\nimport has from 'lodash/fp/has';\nimport {mockTranslate} from '@coorpacademy/translate';\nimport Provider, {WebContext} from '../atom/provider';\n\nexport const renderWithContext = (component, options = {}) => {\n const {context = {}, useLegacyProvider = false, ...renderOptions} = options;\n // uses mockTranslate as a default translate function\n const {translate = mockTranslate, ...rest} = context;\n\n const wrapper = ({children}) => {\n const hasContextTypes = useLegacyProvider || has(['type', 'contextTypes'], children);\n // eslint-disable-next-line no-console\n if (!hasContextTypes) console.log('ContextTypes not found, using WebContext');\n return hasContextTypes ? (\n <Provider {...rest} translate={translate}>\n {children}\n </Provider>\n ) : (\n <WebContext {...rest} translate={translate}>\n {children}\n </WebContext>\n );\n };\n\n wrapper.propTypes = {\n children: PropTypes.node\n };\n\n return render(component, {\n ...renderOptions,\n wrapper\n });\n};\n"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,SAAQC,MAAR,QAAqB,wBAArB;AACA,OAAOC,GAAP,MAAgB,eAAhB;AACA,SAAQC,aAAR,QAA4B,yBAA5B;AACA,OAAOC,QAAP,IAAkBC,UAAlB,QAAmC,kBAAnC;AAEA,OAAO,MAAMC,iBAAiB,GAAG,CAACC,SAAD,EAAYC,OAAO,GAAG,EAAtB,KAA6B;EAC5D,MAAM;IAACC,OAAO,GAAG,EAAX;IAAeC,iBAAiB,GAAG,KAAnC;IAA0C,GAAGC;EAA7C,IAA8DH,OAApE,CAD4D,CAE5D;;EACA,MAAM;IAACI,SAAS,GAAGT,aAAb;IAA4B,GAAGU;EAA/B,IAAuCJ,OAA7C;;EAEA,MAAMK,OAAO,GAAG,CAAC;IAACC;EAAD,CAAD,KAAgB;IAC9B,MAAMC,eAAe,GAAGN,iBAAiB,IAAIR,GAAG,CAAC,CAAC,MAAD,EAAS,cAAT,CAAD,EAA2Ba,QAA3B,CAAhD,CAD8B,CAE9B;;IACA,IAAI,CAACC,eAAL,EAAsBC,OAAO,CAACC,GAAR,CAAY,0CAAZ;IACtB,OAAOF,eAAe,gBACpB,oBAAC,QAAD,eAAcH,IAAd;MAAoB,SAAS,EAAED;IAA/B,IACGG,QADH,CADoB,gBAKpB,oBAAC,UAAD,eAAgBF,IAAhB;MAAsB,SAAS,EAAED;IAAjC,IACGG,QADH,CALF;EASD,CAbD;;EAeAD,OAAO,CAACK,SAAR,2CAAoB;IAClBJ,QAAQ,EAAEf,SAAS,CAACoB;EADF,CAApB;EAIA,OAAOnB,MAAM,CAACM,SAAD,EAAY,EACvB,GAAGI,aADoB;IAEvBG;EAFuB,CAAZ,CAAb;AAID,CA5BM"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import _pipe from "lodash/fp/pipe";
|
|
2
2
|
import _toLower from "lodash/fp/toLower";
|
|
3
3
|
import _includes from "lodash/fp/includes";
|
|
4
|
+
|
|
4
5
|
const searchValueIncluded = (skill, value) => {
|
|
5
6
|
return _pipe(_toLower, _includes(_toLower(value)))(skill);
|
|
6
7
|
};
|
|
8
|
+
|
|
7
9
|
export default searchValueIncluded;
|
|
8
10
|
//# sourceMappingURL=search-value-included.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-value-included.js","names":["searchValueIncluded","skill","value"
|
|
1
|
+
{"version":3,"file":"search-value-included.js","names":["searchValueIncluded","skill","value"],"sources":["../../src/util/search-value-included.js"],"sourcesContent":["import {includes, toLower, pipe} from 'lodash/fp';\n\nconst searchValueIncluded = (skill, value) => {\n return pipe(toLower, includes(toLower(value)))(skill);\n};\n\nexport default searchValueIncluded;\n"],"mappings":";;;;AAEA,MAAMA,mBAAmB,GAAG,CAACC,KAAD,EAAQC,KAAR,KAAkB;EAC5C,OAAO,gBAAc,UAAS,SAAQA,KAAR,CAAT,CAAd,EAAwCD,KAAxC,CAAP;AACD,CAFD;;AAIA,eAAeD,mBAAf"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _isEqual from "lodash/fp/isEqual";
|
|
2
|
+
|
|
2
3
|
/**
|
|
3
4
|
* Does a shallow comparison for props, state and context
|
|
4
5
|
* See also https://facebook.github.io/react/docs/shallow-compare.html
|
|
@@ -7,5 +8,6 @@ import _isEqual from "lodash/fp/isEqual";
|
|
|
7
8
|
const shallowCompare = (instance, nextProps, nextState, nextContext) => {
|
|
8
9
|
return !(_isEqual(instance.props, nextProps) && _isEqual(instance.state, nextState) && _isEqual(instance.context, nextContext));
|
|
9
10
|
};
|
|
11
|
+
|
|
10
12
|
export default shallowCompare;
|
|
11
13
|
//# sourceMappingURL=shallow-compare.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shallow-compare.js","names":["shallowCompare","instance","nextProps","nextState","nextContext","
|
|
1
|
+
{"version":3,"file":"shallow-compare.js","names":["shallowCompare","instance","nextProps","nextState","nextContext","props","state","context"],"sources":["../../src/util/shallow-compare.js"],"sourcesContent":["import {isEqual} from 'lodash/fp';\n\n/**\n * Does a shallow comparison for props, state and context\n * See also https://facebook.github.io/react/docs/shallow-compare.html\n * from https://github.com/facebook/react/blob/master/src/addons/shallowCompare.js\n */\nconst shallowCompare = (instance, nextProps, nextState, nextContext) => {\n return !(\n isEqual(instance.props, nextProps) &&\n isEqual(instance.state, nextState) &&\n isEqual(instance.context, nextContext)\n );\n};\n\nexport default shallowCompare;\n"],"mappings":";;AAEA;AACA;AACA;AACA;AACA;AACA,MAAMA,cAAc,GAAG,CAACC,QAAD,EAAWC,SAAX,EAAsBC,SAAtB,EAAiCC,WAAjC,KAAiD;EACtE,OAAO,EACL,SAAQH,QAAQ,CAACI,KAAjB,EAAwBH,SAAxB,KACA,SAAQD,QAAQ,CAACK,KAAjB,EAAwBH,SAAxB,CADA,IAEA,SAAQF,QAAQ,CAACM,OAAjB,EAA0BH,WAA1B,CAHK,CAAP;AAKD,CAND;;AAQA,eAAeJ,cAAf"}
|
package/es/util/time-format.js
CHANGED
|
@@ -2,13 +2,17 @@ function formatMinutes(minutes) {
|
|
|
2
2
|
const timeArr = [];
|
|
3
3
|
const hours = Math.floor(minutes / 60);
|
|
4
4
|
const remainingMinutes = `${minutes % 60}`;
|
|
5
|
+
|
|
5
6
|
if (hours > 0) {
|
|
6
7
|
timeArr.push(`${hours}h`);
|
|
7
8
|
}
|
|
9
|
+
|
|
8
10
|
if (remainingMinutes > 0) {
|
|
9
11
|
timeArr.push(`${remainingMinutes.padStart(2, '0')}min`);
|
|
10
12
|
}
|
|
13
|
+
|
|
11
14
|
return timeArr.length > 0 ? timeArr.join(' ') : '0min';
|
|
12
15
|
}
|
|
16
|
+
|
|
13
17
|
export { formatMinutes };
|
|
14
18
|
//# sourceMappingURL=time-format.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time-format.js","names":["formatMinutes","minutes","timeArr","hours","Math","floor","remainingMinutes","push","padStart","length","join"],"sources":["../../src/util/time-format.js"],"sourcesContent":["function formatMinutes(minutes) {\n const timeArr = [];\n const hours = Math.floor(minutes / 60);\n const remainingMinutes = `${minutes % 60}`;\n if (hours > 0) {\n timeArr.push(`${hours}h`);\n }\n if (remainingMinutes > 0) {\n timeArr.push(`${remainingMinutes.padStart(2, '0')}min`);\n }\n return timeArr.length > 0 ? timeArr.join(' ') : '0min';\n}\n\nexport {formatMinutes};\n"],"mappings":"AAAA,SAASA,
|
|
1
|
+
{"version":3,"file":"time-format.js","names":["formatMinutes","minutes","timeArr","hours","Math","floor","remainingMinutes","push","padStart","length","join"],"sources":["../../src/util/time-format.js"],"sourcesContent":["function formatMinutes(minutes) {\n const timeArr = [];\n const hours = Math.floor(minutes / 60);\n const remainingMinutes = `${minutes % 60}`;\n if (hours > 0) {\n timeArr.push(`${hours}h`);\n }\n if (remainingMinutes > 0) {\n timeArr.push(`${remainingMinutes.padStart(2, '0')}min`);\n }\n return timeArr.length > 0 ? timeArr.join(' ') : '0min';\n}\n\nexport {formatMinutes};\n"],"mappings":"AAAA,SAASA,aAAT,CAAuBC,OAAvB,EAAgC;EAC9B,MAAMC,OAAO,GAAG,EAAhB;EACA,MAAMC,KAAK,GAAGC,IAAI,CAACC,KAAL,CAAWJ,OAAO,GAAG,EAArB,CAAd;EACA,MAAMK,gBAAgB,GAAI,GAAEL,OAAO,GAAG,EAAG,EAAzC;;EACA,IAAIE,KAAK,GAAG,CAAZ,EAAe;IACbD,OAAO,CAACK,IAAR,CAAc,GAAEJ,KAAM,GAAtB;EACD;;EACD,IAAIG,gBAAgB,GAAG,CAAvB,EAA0B;IACxBJ,OAAO,CAACK,IAAR,CAAc,GAAED,gBAAgB,CAACE,QAAjB,CAA0B,CAA1B,EAA6B,GAA7B,CAAkC,KAAlD;EACD;;EACD,OAAON,OAAO,CAACO,MAAR,GAAiB,CAAjB,GAAqBP,OAAO,CAACQ,IAAR,CAAa,GAAb,CAArB,GAAyC,MAAhD;AACD;;AAED,SAAQV,aAAR"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { useEffect, useState } from 'react';
|
|
2
2
|
import { Keyboard, Platform } from 'react-native';
|
|
3
|
+
|
|
3
4
|
const useMobileKeyboardVisibility = () => {
|
|
4
5
|
const [isKeyboardVisible, setKeyboardVisible] = useState(false);
|
|
5
6
|
useEffect(() => {
|
|
@@ -16,5 +17,6 @@ const useMobileKeyboardVisibility = () => {
|
|
|
16
17
|
}, []);
|
|
17
18
|
return isKeyboardVisible;
|
|
18
19
|
};
|
|
20
|
+
|
|
19
21
|
export default useMobileKeyboardVisibility;
|
|
20
22
|
//# sourceMappingURL=use-mobile-keyboard-visibility.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-mobile-keyboard-visibility.js","names":["useEffect","useState","Keyboard","Platform","useMobileKeyboardVisibility","isKeyboardVisible","setKeyboardVisible","showListener","addListener","OS","hideListener","remove"],"sources":["../../src/util/use-mobile-keyboard-visibility.tsx"],"sourcesContent":["import {useEffect, useState} from 'react';\nimport {Keyboard, Platform} from 'react-native';\n\nconst useMobileKeyboardVisibility = () => {\n const [isKeyboardVisible, setKeyboardVisible] = useState<boolean>(false);\n\n useEffect(() => {\n const showListener = Keyboard.addListener(\n Platform.OS === 'ios' ? 'keyboardWillShow' : 'keyboardDidShow',\n () => {\n setKeyboardVisible(true);\n }\n );\n\n const hideListener = Keyboard.addListener(\n Platform.OS === 'ios' ? 'keyboardWillHide' : 'keyboardDidHide',\n () => {\n setKeyboardVisible(false);\n }\n );\n\n return () => {\n showListener.remove();\n hideListener.remove();\n };\n }, []);\n\n return isKeyboardVisible;\n};\n\nexport default useMobileKeyboardVisibility;\n"],"mappings":"AAAA,SAAQA,
|
|
1
|
+
{"version":3,"file":"use-mobile-keyboard-visibility.js","names":["useEffect","useState","Keyboard","Platform","useMobileKeyboardVisibility","isKeyboardVisible","setKeyboardVisible","showListener","addListener","OS","hideListener","remove"],"sources":["../../src/util/use-mobile-keyboard-visibility.tsx"],"sourcesContent":["import {useEffect, useState} from 'react';\nimport {Keyboard, Platform} from 'react-native';\n\nconst useMobileKeyboardVisibility = () => {\n const [isKeyboardVisible, setKeyboardVisible] = useState<boolean>(false);\n\n useEffect(() => {\n const showListener = Keyboard.addListener(\n Platform.OS === 'ios' ? 'keyboardWillShow' : 'keyboardDidShow',\n () => {\n setKeyboardVisible(true);\n }\n );\n\n const hideListener = Keyboard.addListener(\n Platform.OS === 'ios' ? 'keyboardWillHide' : 'keyboardDidHide',\n () => {\n setKeyboardVisible(false);\n }\n );\n\n return () => {\n showListener.remove();\n hideListener.remove();\n };\n }, []);\n\n return isKeyboardVisible;\n};\n\nexport default useMobileKeyboardVisibility;\n"],"mappings":"AAAA,SAAQA,SAAR,EAAmBC,QAAnB,QAAkC,OAAlC;AACA,SAAQC,QAAR,EAAkBC,QAAlB,QAAiC,cAAjC;;AAEA,MAAMC,2BAA2B,GAAG,MAAM;EACxC,MAAM,CAACC,iBAAD,EAAoBC,kBAApB,IAA0CL,QAAQ,CAAU,KAAV,CAAxD;EAEAD,SAAS,CAAC,MAAM;IACd,MAAMO,YAAY,GAAGL,QAAQ,CAACM,WAAT,CACnBL,QAAQ,CAACM,EAAT,KAAgB,KAAhB,GAAwB,kBAAxB,GAA6C,iBAD1B,EAEnB,MAAM;MACJH,kBAAkB,CAAC,IAAD,CAAlB;IACD,CAJkB,CAArB;IAOA,MAAMI,YAAY,GAAGR,QAAQ,CAACM,WAAT,CACnBL,QAAQ,CAACM,EAAT,KAAgB,KAAhB,GAAwB,kBAAxB,GAA6C,iBAD1B,EAEnB,MAAM;MACJH,kBAAkB,CAAC,KAAD,CAAlB;IACD,CAJkB,CAArB;IAOA,OAAO,MAAM;MACXC,YAAY,CAACI,MAAb;MACAD,YAAY,CAACC,MAAb;IACD,CAHD;EAID,CAnBQ,EAmBN,EAnBM,CAAT;EAqBA,OAAON,iBAAP;AACD,CAzBD;;AA2BA,eAAeD,2BAAf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"analytics.js","names":["ANALYTICS_EVENT_TYPE","PRESS","SWIPE","LONG_PRESS","SLIDE","MEDIA_VIEWED","START_PROGRESSION","OPEN_SELECT","CLOSE_SELECT","INPUT_BLUR","INPUT_FOCUS","FINISH_PROGRESSION","SIGN_IN","SIGN_OUT","NAVIGATE","VALIDATE_ANSWER","PERMISSION","NOTIFICATIONS_MAYBE_LATER","NOTIFICATIONS_YES_NOTIFY_ME","NOTIFICATIONS"],"sources":["../../src/variables/analytics.tsx"],"sourcesContent":["export const ANALYTICS_EVENT_TYPE = {\n PRESS: 'press',\n SWIPE: 'swipe',\n LONG_PRESS: 'longPress',\n SLIDE: 'slide',\n MEDIA_VIEWED: 'mediaViewed',\n START_PROGRESSION: 'startProgression',\n OPEN_SELECT: 'openSelect',\n CLOSE_SELECT: 'closeSelect',\n INPUT_BLUR: 'inputBlur',\n INPUT_FOCUS: 'inputFocus',\n FINISH_PROGRESSION: 'finishProgression',\n SIGN_IN: 'signIn',\n SIGN_OUT: 'signOut',\n NAVIGATE: 'navigate',\n VALIDATE_ANSWER: 'validateAnswer',\n PERMISSION: 'permission',\n NOTIFICATIONS_MAYBE_LATER: 'notificationsMaybeLater',\n NOTIFICATIONS_YES_NOTIFY_ME: 'notificationsYesNotifyMe',\n NOTIFICATIONS: 'notifications'\n};\n\nexport type Analytics = {\n logEvent: (name: string, options: {id?: string; questionType?: string}) => void;\n};\n\nexport type AnalyticsEventParams = {\n [key: string]: string | number;\n};\n"],"mappings":"AAAA,OAAO,MAAMA,oBAAoB,GAAG;EAClCC,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"analytics.js","names":["ANALYTICS_EVENT_TYPE","PRESS","SWIPE","LONG_PRESS","SLIDE","MEDIA_VIEWED","START_PROGRESSION","OPEN_SELECT","CLOSE_SELECT","INPUT_BLUR","INPUT_FOCUS","FINISH_PROGRESSION","SIGN_IN","SIGN_OUT","NAVIGATE","VALIDATE_ANSWER","PERMISSION","NOTIFICATIONS_MAYBE_LATER","NOTIFICATIONS_YES_NOTIFY_ME","NOTIFICATIONS"],"sources":["../../src/variables/analytics.tsx"],"sourcesContent":["export const ANALYTICS_EVENT_TYPE = {\n PRESS: 'press',\n SWIPE: 'swipe',\n LONG_PRESS: 'longPress',\n SLIDE: 'slide',\n MEDIA_VIEWED: 'mediaViewed',\n START_PROGRESSION: 'startProgression',\n OPEN_SELECT: 'openSelect',\n CLOSE_SELECT: 'closeSelect',\n INPUT_BLUR: 'inputBlur',\n INPUT_FOCUS: 'inputFocus',\n FINISH_PROGRESSION: 'finishProgression',\n SIGN_IN: 'signIn',\n SIGN_OUT: 'signOut',\n NAVIGATE: 'navigate',\n VALIDATE_ANSWER: 'validateAnswer',\n PERMISSION: 'permission',\n NOTIFICATIONS_MAYBE_LATER: 'notificationsMaybeLater',\n NOTIFICATIONS_YES_NOTIFY_ME: 'notificationsYesNotifyMe',\n NOTIFICATIONS: 'notifications'\n};\n\nexport type Analytics = {\n logEvent: (name: string, options: {id?: string; questionType?: string}) => void;\n};\n\nexport type AnalyticsEventParams = {\n [key: string]: string | number;\n};\n"],"mappings":"AAAA,OAAO,MAAMA,oBAAoB,GAAG;EAClCC,KAAK,EAAE,OAD2B;EAElCC,KAAK,EAAE,OAF2B;EAGlCC,UAAU,EAAE,WAHsB;EAIlCC,KAAK,EAAE,OAJ2B;EAKlCC,YAAY,EAAE,aALoB;EAMlCC,iBAAiB,EAAE,kBANe;EAOlCC,WAAW,EAAE,YAPqB;EAQlCC,YAAY,EAAE,aARoB;EASlCC,UAAU,EAAE,WATsB;EAUlCC,WAAW,EAAE,YAVqB;EAWlCC,kBAAkB,EAAE,mBAXc;EAYlCC,OAAO,EAAE,QAZyB;EAalCC,QAAQ,EAAE,SAbwB;EAclCC,QAAQ,EAAE,UAdwB;EAelCC,eAAe,EAAE,gBAfiB;EAgBlCC,UAAU,EAAE,YAhBsB;EAiBlCC,yBAAyB,EAAE,yBAjBO;EAkBlCC,2BAA2B,EAAE,0BAlBK;EAmBlCC,aAAa,EAAE;AAnBmB,CAA7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"brand.native.js","names":["defaultBrandTheme"],"sources":["../../src/variables/brand.native.ts"],"sourcesContent":["export type Brand = {\n name?: string;\n host?: string;\n contentCategoryName?: string;\n colors?: {\n primary: string;\n };\n hero?: string;\n images?: {\n 'logo-mobile': string;\n };\n youtube?: {\n apiKey: string;\n };\n supportedLanguages?: Array<string>;\n defaultLanguage?: string;\n env?: string;\n};\n\nexport const defaultBrandTheme: Brand = {};\n"],"mappings":"AAmBA,OAAO,MAAMA,iBAAwB,GAAG,
|
|
1
|
+
{"version":3,"file":"brand.native.js","names":["defaultBrandTheme"],"sources":["../../src/variables/brand.native.ts"],"sourcesContent":["export type Brand = {\n name?: string;\n host?: string;\n contentCategoryName?: string;\n colors?: {\n primary: string;\n };\n hero?: string;\n images?: {\n 'logo-mobile': string;\n };\n youtube?: {\n apiKey: string;\n };\n supportedLanguages?: Array<string>;\n defaultLanguage?: string;\n env?: string;\n};\n\nexport const defaultBrandTheme: Brand = {};\n"],"mappings":"AAmBA,OAAO,MAAMA,iBAAwB,GAAG,EAAjC"}
|
package/es/variables/colors.css
CHANGED
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
@value cm_blue_50: #f1f6fe;
|
|
31
31
|
@value cm_blue_200: #74A5F6;
|
|
32
32
|
@value cm_blue_600: #0051d6;
|
|
33
|
+
@value cm_blue_700 #0042AD;
|
|
33
34
|
@value cm_blue_900: #06265B;
|
|
34
35
|
@value cm_bleu_article: #365FCD;
|
|
35
36
|
@value cm_grey_50: #FAFAFA;
|
|
@@ -72,6 +73,8 @@
|
|
|
72
73
|
@value box_shadow_light_dark: rgba(0, 0, 0, 0.12);
|
|
73
74
|
@value box_shadow_medium_dark: rgba(0, 0, 0, 0.2);
|
|
74
75
|
@value box_shadow_orange_700: rgba(255, 84, 31, 0.15);
|
|
76
|
+
@value box_shadow_blue_700: rgba(0, 66, 173, 0.15); ;
|
|
77
|
+
|
|
75
78
|
@value light_blue: #ADC9F5;
|
|
76
79
|
@value negative_100: #FCDADA;
|
|
77
80
|
@value go1_backgound: #144953;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colors.js","names":["COLORS","gray","negative","cm_negative_200","positive","cm_positive_200","white","cm_grey_800","cm_primary_blue","cm_grey_500","cm_yellow_400","brand"],"sources":["../../src/variables/colors.ts"],"sourcesContent":["export const COLORS = {\n gray: '#EAEAEB',\n negative: '#ed3436',\n cm_negative_200: '#B81400',\n positive: '#35CC7F',\n cm_positive_200: '#05944F',\n white: '#ffffff',\n cm_grey_800: '#171721',\n cm_primary_blue: '#0061FF',\n cm_grey_500: '#515161',\n cm_yellow_400: '#bd7e00',\n brand: '#00B0FF'\n} as const;\n\nexport type Colors = typeof COLORS;\n"],"mappings":"AAAA,OAAO,MAAMA,MAAM,GAAG;EACpBC,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"colors.js","names":["COLORS","gray","negative","cm_negative_200","positive","cm_positive_200","white","cm_grey_800","cm_primary_blue","cm_grey_500","cm_yellow_400","brand"],"sources":["../../src/variables/colors.ts"],"sourcesContent":["export const COLORS = {\n gray: '#EAEAEB',\n negative: '#ed3436',\n cm_negative_200: '#B81400',\n positive: '#35CC7F',\n cm_positive_200: '#05944F',\n white: '#ffffff',\n cm_grey_800: '#171721',\n cm_primary_blue: '#0061FF',\n cm_grey_500: '#515161',\n cm_yellow_400: '#bd7e00',\n brand: '#00B0FF'\n} as const;\n\nexport type Colors = typeof COLORS;\n"],"mappings":"AAAA,OAAO,MAAMA,MAAM,GAAG;EACpBC,IAAI,EAAE,SADc;EAEpBC,QAAQ,EAAE,SAFU;EAGpBC,eAAe,EAAE,SAHG;EAIpBC,QAAQ,EAAE,SAJU;EAKpBC,eAAe,EAAE,SALG;EAMpBC,KAAK,EAAE,SANa;EAOpBC,WAAW,EAAE,SAPO;EAQpBC,eAAe,EAAE,SARG;EASpBC,WAAW,EAAE,SATO;EAUpBC,aAAa,EAAE,SAVK;EAWpBC,KAAK,EAAE;AAXa,CAAf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default-mobile-translations.js","names":["defaultMobileTranslations","accessTheLesson","appPodcast","podcast","podcasts","playlist","home","courseMode","allPlaylists","seeMore","podcastCoorpacademy","podcastCourseMode","podcastMode","switchText","switchCourseText","cancelSwitch","switchOk","seeLess","play","noResult","allEpisodes","seeAllEpisodes","addToFavorites","removeFromFavorites","shareEpisode","close","errorNetwork","bottomNavigation","search","favorites","byPlaylists","searchForPodcasts","searchTitle","searchText","searchSubText","settings","wifi","high","medium","low","mobile","title","addedToFavorites","removedFromFavorites","errorFavoriteAdd","errorFavorite","errorFavoriteRemove","infoNewFeature","message","cta","appReview","ariaLabel","presentation","text","button","labelList","skills","tooltip","questions","lifes","allright","listTitle","listAriaLabel","card","buttonText","noSkills","article","authenticationMagicLinkHeader","authenticationMagicLinkStepOneDescription","authenticationMagicLinkStepTwoDescription","authenticationMagicLinkStepThreeDescription","authenticationMagicLinkTitle","authenticationQRCodeHeader","authenticationQRCodeStepOneDescription","authenticationQRCodeStepTwoDescription","authenticationQRCodeStepThreeDescription","authenticationQRCodeTitle","authorizeNotifications","askForHelp","backToHome","bonus","cancel","clue","clueStarsToLoose","congratulations","connectionLost","connectionRestored","context","correction","currentlyDoingReminder","dataLost","didYouKnowThat","finishCourse","finishCourseWordings","description","finishLearning","forYou","gameOver","getAnExtralife","goodAnswer","goodJob","goToQuestion","highscore","howToSignIn","iWantIt","keyPoint","lesson","logOut","needHelp","new","next","nextChapter","nextLevel","noResults","noResultsDescription","notifications","ok","ooops","open","openBrowser","openSettings","ouch","outOfLives","notificationSamples","permission","permissionCamera","permissionNotificationHeadline","permissionNotificationDescription","permissionNotificationAuthorize","maybeLater","platformHasBeenDisabled","question","quit","reactivatePlatform","refresh","refreshEnjoyLearning","refreshNotWorking","relatedSubjects","resumeLearning","retryChapter","retryLevel","scanQRCode","scorm","externalFinishCourse","seeClue","selectSomethingBelow","startDemo","startLearning","selectAnAnswer","signInDesktop","signInMobile","step","suggestion","suggestionWordings","typeHere","validate","version","video","videoLoadingError","unlockNextLevel","upgrade","upgradeDescription","winAdditionalStars","welcome","welcomeDescription","welcomeUser","wrongAnswer","yesNotifyMe","yourAnswer","yourAnswers"],"sources":["../../src/variables/default-mobile-translations.ts"],"sourcesContent":["type NotificationWording = {\n title: string;\n description: string;\n};\n\nexport type Translations = {\n accessTheLesson: string;\n appPodcast: {\n infoNewFeature: {\n title: string;\n message: string;\n cta: string;\n };\n podcast: string;\n podcasts: string;\n playlist: string;\n home: string;\n courseMode: string;\n allPlaylists: string;\n seeMore: string;\n podcastCoorpacademy: string;\n podcastCourseMode: string;\n podcastMode: string;\n switchText: string;\n switchCourseText: string;\n cancelSwitch: string;\n switchOk: string;\n seeLess: string;\n play: string;\n noResult: string;\n allEpisodes: string;\n seeAllEpisodes: string;\n addToFavorites: string;\n removeFromFavorites: string;\n shareEpisode: string;\n close: string;\n errorNetwork: string;\n bottomNavigation: {\n home: string;\n search: string;\n favorites: string;\n podcasts: string;\n };\n search: {\n byPlaylists: string;\n searchForPodcasts: string;\n searchTitle: string;\n searchText: string;\n searchSubText: string;\n };\n settings: {\n settings: string;\n wifi: string;\n high: string;\n medium: string;\n low: string;\n mobile: string;\n };\n favorites: {\n title: string;\n podcasts: string;\n addedToFavorites: string;\n removedFromFavorites: string;\n errorFavoriteAdd: string;\n errorFavorite: string;\n errorFavoriteRemove: string;\n };\n };\n appReview: {\n ariaLabel: string;\n presentation: {\n ariaLabel: string;\n title: string;\n text: string;\n button: string;\n labelList: {\n skills: {\n text: string;\n tooltip: string;\n };\n questions: {\n text: string;\n tooltip: string;\n };\n lifes: {\n text: string;\n tooltip: string;\n };\n allright: {\n text: string;\n tooltip: string;\n };\n };\n };\n listTitle: string;\n listAriaLabel: string;\n card: {\n ariaLabel: string;\n text: string;\n buttonText: string;\n };\n noSkills: {\n title: string;\n text: string;\n };\n };\n article: string;\n authenticationMagicLinkHeader: string;\n authenticationMagicLinkStepOneDescription: string;\n authenticationMagicLinkStepTwoDescription: string;\n authenticationMagicLinkStepThreeDescription: string;\n authenticationMagicLinkTitle: string;\n authenticationQRCodeHeader: string;\n authenticationQRCodeStepOneDescription: string;\n authenticationQRCodeStepTwoDescription: string;\n authenticationQRCodeStepThreeDescription: string;\n authenticationQRCodeTitle: string;\n authorizeNotifications: string;\n askForHelp: string;\n backToHome: string;\n bonus: string;\n cancel: string;\n clue: string;\n clueStarsToLoose: string;\n congratulations: string;\n connectionLost: string;\n connectionRestored: string;\n context: string;\n correction: string;\n dataLost: string;\n didYouKnowThat: string;\n finishCourse: string;\n finishCourseWordings: NotificationWording[];\n finishLearning: string;\n forYou: string;\n gameOver: string;\n getAnExtralife: string;\n goodAnswer: string;\n goodJob: string;\n goToQuestion: string;\n highscore: string;\n howToSignIn: string;\n iWantIt: string;\n keyPoint: string;\n lesson: string;\n logOut: string;\n needHelp: string;\n new: string;\n next: string;\n nextLevel: string;\n nextChapter: string;\n noResults: string;\n noResultsDescription: string;\n ok: string;\n ooops: string;\n open: string;\n openBrowser: string;\n openSettings: string;\n ouch: string;\n outOfLives: string;\n permission: string;\n permissionCamera: string;\n notifications: string;\n notificationSamples: NotificationWording[];\n permissionNotificationHeadline: string;\n permissionNotificationDescription: string;\n permissionNotificationAuthorize: string;\n currentlyDoingReminder: string;\n yesNotifyMe: string;\n maybeLater: string;\n platformHasBeenDisabled: string;\n podcast: string;\n question: string;\n quit: string;\n reactivatePlatform: string;\n refresh: string;\n refreshEnjoyLearning: string;\n refreshNotWorking: string;\n resumeLearning: string;\n retryLevel: string;\n retryChapter: string;\n relatedSubjects: string;\n scanQRCode: string;\n scorm: string;\n externalFinishCourse: string;\n search: string;\n seeClue: string;\n selectAnAnswer: string;\n selectSomethingBelow: string;\n settings: string;\n signInDesktop: string;\n signInMobile: string;\n startDemo: string;\n startLearning: string;\n step: string;\n suggestion: string;\n suggestionWordings: NotificationWording[];\n typeHere: string;\n unlockNextLevel: string;\n upgrade: string;\n upgradeDescription: string;\n validate: string;\n version: string;\n video: string;\n videoLoadingError: string;\n welcome: string;\n welcomeDescription: string;\n welcomeUser: string;\n winAdditionalStars: string;\n wrongAnswer: string;\n yourAnswer: string;\n yourAnswers: string;\n};\n\nconst defaultMobileTranslations: Translations = {\n accessTheLesson: 'Access the lesson',\n appPodcast: {\n podcast: 'Podcast',\n podcasts: 'Podcasts',\n playlist: 'Playlist',\n home: 'Home',\n courseMode: 'Course Mode',\n allPlaylists: 'All Playlists',\n seeMore: 'See more',\n podcastCoorpacademy: 'Coorpacademy',\n podcastCourseMode: 'Course mode',\n podcastMode: 'Podcast mode',\n switchText: 'Switching to Course mode will interrupt the listening.',\n switchCourseText: 'You are about to switch on Podcast mode',\n cancelSwitch: 'No, cancel',\n switchOk: 'Yes, switch',\n seeLess: 'See less',\n play: 'Play',\n noResult: 'No results!',\n allEpisodes: 'All episodes',\n seeAllEpisodes: 'See all episode',\n addToFavorites: 'Add to my favorites',\n removeFromFavorites: 'Remove from my favorites',\n shareEpisode: 'Share this episode',\n close: 'Close',\n errorNetwork: 'something went wrong',\n bottomNavigation: {\n home: 'Home',\n search: 'Search',\n favorites: 'Favorites',\n podcasts: 'podcasts'\n },\n search: {\n byPlaylists: 'By playlists',\n searchForPodcasts: 'Search for podcasts',\n searchTitle: 'Search',\n searchText: 'No results for',\n searchSubText: 'Please check the spelling or use other keywords'\n },\n settings: {\n settings: 'Settings',\n wifi: 'Wifi audio quality',\n high: 'High quality',\n medium: 'Medium quality',\n low: 'Low quality',\n mobile: 'Mobile audio quality'\n },\n favorites: {\n title: 'Favorites',\n podcasts: 'podcasts',\n addedToFavorites: 'Added to your favorites',\n removedFromFavorites: 'Removed from your favorites',\n errorFavoriteAdd: 'Could not add to your favorites. Please try again.',\n errorFavorite: 'There was an error',\n errorFavoriteRemove: 'Could not remove from your favorites. Please try again.'\n },\n infoNewFeature: {\n title: 'Introducing the new Podcast mode',\n message:\n 'Click on the button at the top of your app to discover a whole new audio experience',\n cta: 'Start learning'\n }\n },\n appReview: {\n ariaLabel: 'Review Skills Template',\n presentation: {\n ariaLabel: 'Review Presentation Container',\n title: 'What is<br/>Revision Mode ?',\n text: 'Information vanishes from your mind as soon as it enters it? It’s perfectly normal: there is no retention without repetition! To keep your knowledge in the long term, use the Revision Mode to refresh your memory!',\n button: '',\n labelList: {\n skills: {text: 'Choose 1 skill', tooltip: 'You can review one skill at a time.'},\n questions: {\n text: 'Answer 5 questions',\n tooltip: 'Answer the 5 questions correctly to validate your revision mode session.'\n },\n lifes: {\n text: 'You have infinite live',\n tooltip: 'You can answer as many times as you like to complete your session.'\n },\n allright: {\n text: 'Get it all right',\n tooltip: 'To validate your session, you must get a correct answer to each question.'\n }\n }\n },\n listTitle: 'Skills you can review',\n listAriaLabel: 'Review Skills Container',\n card: {\n ariaLabel: 'Skill Card',\n text: '{{total}} questions to review',\n buttonText: 'Review this skill'\n },\n noSkills: {\n title: 'You have no skill to revise yet',\n text: 'First you need to complete courses before you can review different skills.'\n }\n },\n article: 'Documents',\n authenticationMagicLinkHeader:\n 'Click on the link you received by email to connect to your platform',\n authenticationMagicLinkStepOneDescription:\n 'Go to your <b>professional mailbox</b> with this phone',\n authenticationMagicLinkStepTwoDescription:\n '<b>Open the email</b> with the invitation to download the Coorpacademy App',\n authenticationMagicLinkStepThreeDescription: 'Click on the button <b>\"Connect to the App\"</b>',\n authenticationMagicLinkTitle: 'Magic link',\n authenticationQRCodeHeader:\n \"Didn't receive an email? That's fine! We'll use a computer to verify your identity on the web platform\",\n authenticationQRCodeStepOneDescription:\n 'Connect to your learning platform <b>with a computer</b>',\n authenticationQRCodeStepTwoDescription:\n 'Go to <b>your Account</b> <br/>in the upper right-hand corner',\n authenticationQRCodeStepThreeDescription:\n '<b>Voilà!</b><br/>Scan your QR code using the button below',\n authenticationQRCodeTitle: 'QR Code',\n authorizeNotifications: 'Authorize notifications',\n askForHelp: 'Ask for help',\n backToHome: 'Back to home',\n bonus: 'Bonus!',\n cancel: 'Cancel',\n clue: 'Clue',\n clueStarsToLoose:\n 'Unlocking the clue reduces the stars you can gain on this question by {{count}} (if you get it right)',\n congratulations: 'Congratulations!',\n connectionLost: 'No Internet connection',\n connectionRestored: 'You are now connected to the Internet',\n context: 'Context',\n correction: 'Correction',\n currentlyDoingReminder: 'Currently doing reminder',\n dataLost: 'Your data seems to be lost',\n didYouKnowThat: 'Did you know that?',\n finishCourse: 'Finish Course',\n finishCourseWordings: [\n {\n title: \"Let's gets it done {{givenName}}! 🚀\",\n description: 'Complete this course: \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: 'Your mission, should you choose to accept it 😎',\n description: 'Finish your course: \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: '{{givenName}}, I bet you can do it! 💪',\n description: 'Finish the course: \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: 'Ready to learn {{givenName}}? 💪',\n description: 'Let\\'s complete \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: '{{givenName}}, you are close to complete your course 🙃',\n description: 'Let\\'s finish \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: 'Do you accept the challenge {{givenName}}? 💪',\n description: 'Complete the course: \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: '{{givenName}}, your challenge of the day! 😉',\n description: 'Complete the course: \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: \"{{givenName}}, it's time to learn! 😉\",\n description: 'Continue your course: \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: 'How about learning {{givenName}}? 🚀',\n description: 'Complete the course: \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: \"Once it's done, it's done 🙃\",\n description: 'Complete the course: \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: 'Your course is almost completed! ✓',\n description: 'Complete the course: \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: '{{givenName}}, you are so close! 🙃',\n description: 'Just a few questions to complete \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: 'Come on {{givenName}}, almost finished ☑',\n description: 'Complete your course: \\\\\"{{contentName}}\\\\\"'\n }\n ],\n finishLearning: 'Continue this one first',\n forYou: 'Our top picks for you',\n gameOver: 'Game over',\n getAnExtralife: 'Get an extra life by viewing the lesson',\n goodAnswer: 'Good answer',\n goodJob: 'Good job!',\n goToQuestion: 'Go to question',\n highscore: 'You have a new highscore<br><b>you just won {{score}} stars</b>',\n howToSignIn: 'Did you receive an email to download the app?',\n iWantIt: 'I want it !',\n keyPoint: 'Key point',\n lesson: 'Lesson',\n logOut: 'Log out',\n needHelp: 'Need help?',\n new: 'new',\n next: 'Next',\n nextChapter: 'Next chapter',\n nextLevel: 'Next level',\n noResults: 'No results',\n noResultsDescription: 'Your search did not have any results.<br/>Try searching other keywords.',\n notifications: 'Notifications',\n ok: 'OK',\n ooops: 'Ooops...',\n open: 'Open',\n openBrowser: 'Open <b>my mailbox</b>',\n openSettings: 'Open settings',\n ouch: 'Ouch...',\n outOfLives: 'You are out of lives!',\n notificationSamples: [\n {title: 'Challenge of the day 👊', description: 'Start the course<br><b>Online Customer</b>'}\n ],\n permission: 'Permission',\n permissionCamera:\n 'We need to access your camera in order to scan your QR code and authenticate you.',\n permissionNotificationHeadline: 'We help you stay motivated!',\n permissionNotificationDescription:\n 'Get notifications and stay on top of your goals. We promise not to blow up your phone a million times a day.',\n permissionNotificationAuthorize: 'Authorize notifications',\n maybeLater: 'Maybe later',\n platformHasBeenDisabled: 'The app has been disabled for your platform',\n podcast: 'Podcasts',\n question: 'Question',\n quit: 'Quit',\n reactivatePlatform:\n 'if you want to reactivate it, contact your manager or click on the link below and we will pass the message on',\n refresh: 'Refresh',\n refreshEnjoyLearning:\n 'in the network between Saturn and the Earth, please refresh in order to enjoy learning',\n refreshNotWorking: 'Refresh not working?',\n relatedSubjects: 'Recommended for you:',\n resumeLearning: 'Continue Learning',\n retryChapter: 'Retry chapter',\n retryLevel: 'Retry level',\n scanQRCode: 'Scan your <b>QR code</b>',\n scorm: 'Animated resources',\n externalFinishCourse: 'I have completed this course',\n search: 'Search',\n seeClue: 'See clue',\n selectSomethingBelow: 'Select something below',\n settings: 'Settings',\n startDemo: 'No account? <a href=\"/\"><b><u>Start trial!</u></b></a>',\n startLearning: 'You should start with this one',\n selectAnAnswer: 'Select an answer',\n signInDesktop: 'No',\n signInMobile: 'Yes',\n step: 'Step',\n suggestion: 'Course recommendations',\n suggestionWordings: [\n {\n title: '{{givenName}}, here is a course for you! 👀',\n description: 'Find out with this course \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: 'In the mood for learning {{givenName}}? 🚀',\n description: 'Check out \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: 'Your mission, should you choose to accept it 😎',\n description: 'Check out \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: '{{givenName}}, your challenge of the day awaits you! 😉',\n description: 'Start the course \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: '{{givenName}}, take on the challenge 💪',\n description: 'Start the course \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: '{{givenName}}, broaden your horizons!',\n description: 'Find out more about \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: \"{{givenName}}, it's time to learn! 😉\",\n description: 'Start the course \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: \"It's time to (re) launch {{givenName}} 🚀\",\n description: 'Start this course \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: '{{givenName}}, I bet you can do it! 💪',\n description: 'Start the course \\\\\"{{contentName}}\\\\\"'\n }\n ],\n typeHere: 'Type here',\n validate: 'Submit',\n version: 'Version',\n video: 'Videos',\n videoLoadingError: 'An error occurred while loading the video, please try again.',\n unlockNextLevel: 'You have just unlocked<br><b>{{levelName}} level</b>',\n upgrade: 'Upgrade',\n upgradeDescription:\n 'Your application has been updated! Please download the latest version to enjoy it.',\n winAdditionalStars:\n 'Win {{count}} additional stars in this chapter the first time you view a lesson!',\n welcome: 'Welcome',\n welcomeDescription: 'This app is linked to your account on your company’s Learning Platform.',\n welcomeUser: 'Welcome, {{displayname}}!',\n wrongAnswer: 'Wrong answer',\n yesNotifyMe: 'Yes, notify me',\n yourAnswer: 'Your answer:',\n yourAnswers: 'Your answers:'\n};\n\nexport default defaultMobileTranslations;\n"],"mappings":"AAsNA,MAAMA,yBAAuC,GAAG;EAC9CC,eAAe,EAAE,mBAAmB;EACpCC,UAAU,EAAE;IACVC,OAAO,EAAE,SAAS;IAClBC,QAAQ,EAAE,UAAU;IACpBC,QAAQ,EAAE,UAAU;IACpBC,IAAI,EAAE,MAAM;IACZC,UAAU,EAAE,aAAa;IACzBC,YAAY,EAAE,eAAe;IAC7BC,OAAO,EAAE,UAAU;IACnBC,mBAAmB,EAAE,cAAc;IACnCC,iBAAiB,EAAE,aAAa;IAChCC,WAAW,EAAE,cAAc;IAC3BC,UAAU,EAAE,wDAAwD;IACpEC,gBAAgB,EAAE,yCAAyC;IAC3DC,YAAY,EAAE,YAAY;IAC1BC,QAAQ,EAAE,aAAa;IACvBC,OAAO,EAAE,UAAU;IACnBC,IAAI,EAAE,MAAM;IACZC,QAAQ,EAAE,aAAa;IACvBC,WAAW,EAAE,cAAc;IAC3BC,cAAc,EAAE,iBAAiB;IACjCC,cAAc,EAAE,qBAAqB;IACrCC,mBAAmB,EAAE,0BAA0B;IAC/CC,YAAY,EAAE,oBAAoB;IAClCC,KAAK,EAAE,OAAO;IACdC,YAAY,EAAE,sBAAsB;IACpCC,gBAAgB,EAAE;MAChBrB,IAAI,EAAE,MAAM;MACZsB,MAAM,EAAE,QAAQ;MAChBC,SAAS,E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DqD,WAAW,EAAE;EACf,CAAC,EACD;IACErD,KAAK,EAAE,iDAAiD;IACxDqD,WAAW,EAAE;EACf,CAAC,EACD;IACErD,KAAK,EAAE,yDAAyD;IAChEqD,WAAW,EAAE;EACf,CAAC,EACD;IACErD,KAAK,EAAE,yCAAyC;IAChDqD,WAAW,EAAE;EACf,CAAC,EACD;IACErD,KAAK,EAAE,uCAAuC;IAC9CqD,WAAW,EAAE;EACf,CAAC,EACD;IACErD,KAAK,EAAE,uCAAuC;IAC9CqD,WAAW,EAAE;EACf,CAAC,EACD;IACErD,KAAK,EAAE,2CAA2C;IAClDqD,WAAW,EAAE;EACf,CAAC,EACD;IACErD,KAAK,EAAE,wCAAwC;IAC/CqD,WAAW,EAAE;EACf,CAAC,CACF;EACD4D,QAAQ,EAAE,WAAW;EACrBC,QAAQ,EAAE,QAAQ;EAClBC,OAAO,EAAE,SAAS;EAClBC,KAAK,EAAE,QAAQ;EACfC,iBAAiB,EAAE,8DAA8D;EACjFC,eAAe,EAAE,sDAAsD;EACvEC,OAAO,EAAE,SAAS;EAClBC,kBAAkB,EAChB,oFAAoF;EACtFC,kBAAkB,EAChB,kFAAkF;EACpFC,OAAO,EAAE,SAAS;EAClBC,kBAAkB,EAAE,yEAAyE;EAC7FC,WAAW,EAAE,2BAA2B;EACxCC,WAAW,EAAE,cAAc;EAC3BC,WAAW,EAAE,gBAAgB;EAC7BC,UAAU,EAAE,cAAc;EAC1BC,WAAW,EAAE;AACf,CAAC;AAED,eAAezK,yBAAyB","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"default-mobile-translations.js","names":["defaultMobileTranslations","accessTheLesson","appPodcast","podcast","podcasts","playlist","home","courseMode","allPlaylists","seeMore","podcastCoorpacademy","podcastCourseMode","podcastMode","switchText","switchCourseText","cancelSwitch","switchOk","seeLess","play","noResult","allEpisodes","seeAllEpisodes","addToFavorites","removeFromFavorites","shareEpisode","close","errorNetwork","bottomNavigation","search","favorites","byPlaylists","searchForPodcasts","searchTitle","searchText","searchSubText","settings","wifi","high","medium","low","mobile","title","addedToFavorites","removedFromFavorites","errorFavoriteAdd","errorFavorite","errorFavoriteRemove","infoNewFeature","message","cta","appReview","ariaLabel","presentation","text","button","labelList","skills","tooltip","questions","lifes","allright","listTitle","listAriaLabel","card","buttonText","noSkills","article","authenticationMagicLinkHeader","authenticationMagicLinkStepOneDescription","authenticationMagicLinkStepTwoDescription","authenticationMagicLinkStepThreeDescription","authenticationMagicLinkTitle","authenticationQRCodeHeader","authenticationQRCodeStepOneDescription","authenticationQRCodeStepTwoDescription","authenticationQRCodeStepThreeDescription","authenticationQRCodeTitle","authorizeNotifications","askForHelp","backToHome","bonus","cancel","clue","clueStarsToLoose","congratulations","connectionLost","connectionRestored","context","correction","currentlyDoingReminder","dataLost","didYouKnowThat","finishCourse","finishCourseWordings","description","finishLearning","forYou","gameOver","getAnExtralife","goodAnswer","goodJob","goToQuestion","highscore","howToSignIn","iWantIt","keyPoint","lesson","logOut","needHelp","new","next","nextChapter","nextLevel","noResults","noResultsDescription","notifications","ok","ooops","open","openBrowser","openSettings","ouch","outOfLives","notificationSamples","permission","permissionCamera","permissionNotificationHeadline","permissionNotificationDescription","permissionNotificationAuthorize","maybeLater","platformHasBeenDisabled","question","quit","reactivatePlatform","refresh","refreshEnjoyLearning","refreshNotWorking","relatedSubjects","resumeLearning","retryChapter","retryLevel","scanQRCode","scorm","externalFinishCourse","seeClue","selectSomethingBelow","startDemo","startLearning","selectAnAnswer","signInDesktop","signInMobile","step","suggestion","suggestionWordings","typeHere","validate","version","video","videoLoadingError","unlockNextLevel","upgrade","upgradeDescription","winAdditionalStars","welcome","welcomeDescription","welcomeUser","wrongAnswer","yesNotifyMe","yourAnswer","yourAnswers"],"sources":["../../src/variables/default-mobile-translations.ts"],"sourcesContent":["type NotificationWording = {\n title: string;\n description: string;\n};\n\nexport type Translations = {\n accessTheLesson: string;\n appPodcast: {\n infoNewFeature: {\n title: string;\n message: string;\n cta: string;\n };\n podcast: string;\n podcasts: string;\n playlist: string;\n home: string;\n courseMode: string;\n allPlaylists: string;\n seeMore: string;\n podcastCoorpacademy: string;\n podcastCourseMode: string;\n podcastMode: string;\n switchText: string;\n switchCourseText: string;\n cancelSwitch: string;\n switchOk: string;\n seeLess: string;\n play: string;\n noResult: string;\n allEpisodes: string;\n seeAllEpisodes: string;\n addToFavorites: string;\n removeFromFavorites: string;\n shareEpisode: string;\n close: string;\n errorNetwork: string;\n bottomNavigation: {\n home: string;\n search: string;\n favorites: string;\n podcasts: string;\n };\n search: {\n byPlaylists: string;\n searchForPodcasts: string;\n searchTitle: string;\n searchText: string;\n searchSubText: string;\n };\n settings: {\n settings: string;\n wifi: string;\n high: string;\n medium: string;\n low: string;\n mobile: string;\n };\n favorites: {\n title: string;\n podcasts: string;\n addedToFavorites: string;\n removedFromFavorites: string;\n errorFavoriteAdd: string;\n errorFavorite: string;\n errorFavoriteRemove: string;\n };\n };\n appReview: {\n ariaLabel: string;\n presentation: {\n ariaLabel: string;\n title: string;\n text: string;\n button: string;\n labelList: {\n skills: {\n text: string;\n tooltip: string;\n };\n questions: {\n text: string;\n tooltip: string;\n };\n lifes: {\n text: string;\n tooltip: string;\n };\n allright: {\n text: string;\n tooltip: string;\n };\n };\n };\n listTitle: string;\n listAriaLabel: string;\n card: {\n ariaLabel: string;\n text: string;\n buttonText: string;\n };\n noSkills: {\n title: string;\n text: string;\n };\n };\n article: string;\n authenticationMagicLinkHeader: string;\n authenticationMagicLinkStepOneDescription: string;\n authenticationMagicLinkStepTwoDescription: string;\n authenticationMagicLinkStepThreeDescription: string;\n authenticationMagicLinkTitle: string;\n authenticationQRCodeHeader: string;\n authenticationQRCodeStepOneDescription: string;\n authenticationQRCodeStepTwoDescription: string;\n authenticationQRCodeStepThreeDescription: string;\n authenticationQRCodeTitle: string;\n authorizeNotifications: string;\n askForHelp: string;\n backToHome: string;\n bonus: string;\n cancel: string;\n clue: string;\n clueStarsToLoose: string;\n congratulations: string;\n connectionLost: string;\n connectionRestored: string;\n context: string;\n correction: string;\n dataLost: string;\n didYouKnowThat: string;\n finishCourse: string;\n finishCourseWordings: NotificationWording[];\n finishLearning: string;\n forYou: string;\n gameOver: string;\n getAnExtralife: string;\n goodAnswer: string;\n goodJob: string;\n goToQuestion: string;\n highscore: string;\n howToSignIn: string;\n iWantIt: string;\n keyPoint: string;\n lesson: string;\n logOut: string;\n needHelp: string;\n new: string;\n next: string;\n nextLevel: string;\n nextChapter: string;\n noResults: string;\n noResultsDescription: string;\n ok: string;\n ooops: string;\n open: string;\n openBrowser: string;\n openSettings: string;\n ouch: string;\n outOfLives: string;\n permission: string;\n permissionCamera: string;\n notifications: string;\n notificationSamples: NotificationWording[];\n permissionNotificationHeadline: string;\n permissionNotificationDescription: string;\n permissionNotificationAuthorize: string;\n currentlyDoingReminder: string;\n yesNotifyMe: string;\n maybeLater: string;\n platformHasBeenDisabled: string;\n podcast: string;\n question: string;\n quit: string;\n reactivatePlatform: string;\n refresh: string;\n refreshEnjoyLearning: string;\n refreshNotWorking: string;\n resumeLearning: string;\n retryLevel: string;\n retryChapter: string;\n relatedSubjects: string;\n scanQRCode: string;\n scorm: string;\n externalFinishCourse: string;\n search: string;\n seeClue: string;\n selectAnAnswer: string;\n selectSomethingBelow: string;\n settings: string;\n signInDesktop: string;\n signInMobile: string;\n startDemo: string;\n startLearning: string;\n step: string;\n suggestion: string;\n suggestionWordings: NotificationWording[];\n typeHere: string;\n unlockNextLevel: string;\n upgrade: string;\n upgradeDescription: string;\n validate: string;\n version: string;\n video: string;\n videoLoadingError: string;\n welcome: string;\n welcomeDescription: string;\n welcomeUser: string;\n winAdditionalStars: string;\n wrongAnswer: string;\n yourAnswer: string;\n yourAnswers: string;\n};\n\nconst defaultMobileTranslations: Translations = {\n accessTheLesson: 'Access the lesson',\n appPodcast: {\n podcast: 'Podcast',\n podcasts: 'Podcasts',\n playlist: 'Playlist',\n home: 'Home',\n courseMode: 'Course Mode',\n allPlaylists: 'All Playlists',\n seeMore: 'See more',\n podcastCoorpacademy: 'Coorpacademy',\n podcastCourseMode: 'Course mode',\n podcastMode: 'Podcast mode',\n switchText: 'Switching to Course mode will interrupt the listening.',\n switchCourseText: 'You are about to switch on Podcast mode',\n cancelSwitch: 'No, cancel',\n switchOk: 'Yes, switch',\n seeLess: 'See less',\n play: 'Play',\n noResult: 'No results!',\n allEpisodes: 'All episodes',\n seeAllEpisodes: 'See all episode',\n addToFavorites: 'Add to my favorites',\n removeFromFavorites: 'Remove from my favorites',\n shareEpisode: 'Share this episode',\n close: 'Close',\n errorNetwork: 'something went wrong',\n bottomNavigation: {\n home: 'Home',\n search: 'Search',\n favorites: 'Favorites',\n podcasts: 'podcasts'\n },\n search: {\n byPlaylists: 'By playlists',\n searchForPodcasts: 'Search for podcasts',\n searchTitle: 'Search',\n searchText: 'No results for',\n searchSubText: 'Please check the spelling or use other keywords'\n },\n settings: {\n settings: 'Settings',\n wifi: 'Wifi audio quality',\n high: 'High quality',\n medium: 'Medium quality',\n low: 'Low quality',\n mobile: 'Mobile audio quality'\n },\n favorites: {\n title: 'Favorites',\n podcasts: 'podcasts',\n addedToFavorites: 'Added to your favorites',\n removedFromFavorites: 'Removed from your favorites',\n errorFavoriteAdd: 'Could not add to your favorites. Please try again.',\n errorFavorite: 'There was an error',\n errorFavoriteRemove: 'Could not remove from your favorites. Please try again.'\n },\n infoNewFeature: {\n title: 'Introducing the new Podcast mode',\n message:\n 'Click on the button at the top of your app to discover a whole new audio experience',\n cta: 'Start learning'\n }\n },\n appReview: {\n ariaLabel: 'Review Skills Template',\n presentation: {\n ariaLabel: 'Review Presentation Container',\n title: 'What is<br/>Revision Mode ?',\n text: 'Information vanishes from your mind as soon as it enters it? It’s perfectly normal: there is no retention without repetition! To keep your knowledge in the long term, use the Revision Mode to refresh your memory!',\n button: '',\n labelList: {\n skills: {text: 'Choose 1 skill', tooltip: 'You can review one skill at a time.'},\n questions: {\n text: 'Answer 5 questions',\n tooltip: 'Answer the 5 questions correctly to validate your revision mode session.'\n },\n lifes: {\n text: 'You have infinite live',\n tooltip: 'You can answer as many times as you like to complete your session.'\n },\n allright: {\n text: 'Get it all right',\n tooltip: 'To validate your session, you must get a correct answer to each question.'\n }\n }\n },\n listTitle: 'Skills you can review',\n listAriaLabel: 'Review Skills Container',\n card: {\n ariaLabel: 'Skill Card',\n text: '{{total}} questions to review',\n buttonText: 'Review this skill'\n },\n noSkills: {\n title: 'You have no skill to revise yet',\n text: 'First you need to complete courses before you can review different skills.'\n }\n },\n article: 'Documents',\n authenticationMagicLinkHeader:\n 'Click on the link you received by email to connect to your platform',\n authenticationMagicLinkStepOneDescription:\n 'Go to your <b>professional mailbox</b> with this phone',\n authenticationMagicLinkStepTwoDescription:\n '<b>Open the email</b> with the invitation to download the Coorpacademy App',\n authenticationMagicLinkStepThreeDescription: 'Click on the button <b>\"Connect to the App\"</b>',\n authenticationMagicLinkTitle: 'Magic link',\n authenticationQRCodeHeader:\n \"Didn't receive an email? That's fine! We'll use a computer to verify your identity on the web platform\",\n authenticationQRCodeStepOneDescription:\n 'Connect to your learning platform <b>with a computer</b>',\n authenticationQRCodeStepTwoDescription:\n 'Go to <b>your Account</b> <br/>in the upper right-hand corner',\n authenticationQRCodeStepThreeDescription:\n '<b>Voilà!</b><br/>Scan your QR code using the button below',\n authenticationQRCodeTitle: 'QR Code',\n authorizeNotifications: 'Authorize notifications',\n askForHelp: 'Ask for help',\n backToHome: 'Back to home',\n bonus: 'Bonus!',\n cancel: 'Cancel',\n clue: 'Clue',\n clueStarsToLoose:\n 'Unlocking the clue reduces the stars you can gain on this question by {{count}} (if you get it right)',\n congratulations: 'Congratulations!',\n connectionLost: 'No Internet connection',\n connectionRestored: 'You are now connected to the Internet',\n context: 'Context',\n correction: 'Correction',\n currentlyDoingReminder: 'Currently doing reminder',\n dataLost: 'Your data seems to be lost',\n didYouKnowThat: 'Did you know that?',\n finishCourse: 'Finish Course',\n finishCourseWordings: [\n {\n title: \"Let's gets it done {{givenName}}! 🚀\",\n description: 'Complete this course: \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: 'Your mission, should you choose to accept it 😎',\n description: 'Finish your course: \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: '{{givenName}}, I bet you can do it! 💪',\n description: 'Finish the course: \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: 'Ready to learn {{givenName}}? 💪',\n description: 'Let\\'s complete \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: '{{givenName}}, you are close to complete your course 🙃',\n description: 'Let\\'s finish \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: 'Do you accept the challenge {{givenName}}? 💪',\n description: 'Complete the course: \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: '{{givenName}}, your challenge of the day! 😉',\n description: 'Complete the course: \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: \"{{givenName}}, it's time to learn! 😉\",\n description: 'Continue your course: \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: 'How about learning {{givenName}}? 🚀',\n description: 'Complete the course: \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: \"Once it's done, it's done 🙃\",\n description: 'Complete the course: \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: 'Your course is almost completed! ✓',\n description: 'Complete the course: \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: '{{givenName}}, you are so close! 🙃',\n description: 'Just a few questions to complete \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: 'Come on {{givenName}}, almost finished ☑',\n description: 'Complete your course: \\\\\"{{contentName}}\\\\\"'\n }\n ],\n finishLearning: 'Continue this one first',\n forYou: 'Our top picks for you',\n gameOver: 'Game over',\n getAnExtralife: 'Get an extra life by viewing the lesson',\n goodAnswer: 'Good answer',\n goodJob: 'Good job!',\n goToQuestion: 'Go to question',\n highscore: 'You have a new highscore<br><b>you just won {{score}} stars</b>',\n howToSignIn: 'Did you receive an email to download the app?',\n iWantIt: 'I want it !',\n keyPoint: 'Key point',\n lesson: 'Lesson',\n logOut: 'Log out',\n needHelp: 'Need help?',\n new: 'new',\n next: 'Next',\n nextChapter: 'Next chapter',\n nextLevel: 'Next level',\n noResults: 'No results',\n noResultsDescription: 'Your search did not have any results.<br/>Try searching other keywords.',\n notifications: 'Notifications',\n ok: 'OK',\n ooops: 'Ooops...',\n open: 'Open',\n openBrowser: 'Open <b>my mailbox</b>',\n openSettings: 'Open settings',\n ouch: 'Ouch...',\n outOfLives: 'You are out of lives!',\n notificationSamples: [\n {title: 'Challenge of the day 👊', description: 'Start the course<br><b>Online Customer</b>'}\n ],\n permission: 'Permission',\n permissionCamera:\n 'We need to access your camera in order to scan your QR code and authenticate you.',\n permissionNotificationHeadline: 'We help you stay motivated!',\n permissionNotificationDescription:\n 'Get notifications and stay on top of your goals. We promise not to blow up your phone a million times a day.',\n permissionNotificationAuthorize: 'Authorize notifications',\n maybeLater: 'Maybe later',\n platformHasBeenDisabled: 'The app has been disabled for your platform',\n podcast: 'Podcasts',\n question: 'Question',\n quit: 'Quit',\n reactivatePlatform:\n 'if you want to reactivate it, contact your manager or click on the link below and we will pass the message on',\n refresh: 'Refresh',\n refreshEnjoyLearning:\n 'in the network between Saturn and the Earth, please refresh in order to enjoy learning',\n refreshNotWorking: 'Refresh not working?',\n relatedSubjects: 'Recommended for you:',\n resumeLearning: 'Continue Learning',\n retryChapter: 'Retry chapter',\n retryLevel: 'Retry level',\n scanQRCode: 'Scan your <b>QR code</b>',\n scorm: 'Animated resources',\n externalFinishCourse: 'I have completed this course',\n search: 'Search',\n seeClue: 'See clue',\n selectSomethingBelow: 'Select something below',\n settings: 'Settings',\n startDemo: 'No account? <a href=\"/\"><b><u>Start trial!</u></b></a>',\n startLearning: 'You should start with this one',\n selectAnAnswer: 'Select an answer',\n signInDesktop: 'No',\n signInMobile: 'Yes',\n step: 'Step',\n suggestion: 'Course recommendations',\n suggestionWordings: [\n {\n title: '{{givenName}}, here is a course for you! 👀',\n description: 'Find out with this course \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: 'In the mood for learning {{givenName}}? 🚀',\n description: 'Check out \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: 'Your mission, should you choose to accept it 😎',\n description: 'Check out \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: '{{givenName}}, your challenge of the day awaits you! 😉',\n description: 'Start the course \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: '{{givenName}}, take on the challenge 💪',\n description: 'Start the course \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: '{{givenName}}, broaden your horizons!',\n description: 'Find out more about \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: \"{{givenName}}, it's time to learn! 😉\",\n description: 'Start the course \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: \"It's time to (re) launch {{givenName}} 🚀\",\n description: 'Start this course \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: '{{givenName}}, I bet you can do it! 💪',\n description: 'Start the course \\\\\"{{contentName}}\\\\\"'\n }\n ],\n typeHere: 'Type here',\n validate: 'Submit',\n version: 'Version',\n video: 'Videos',\n videoLoadingError: 'An error occurred while loading the video, please try again.',\n unlockNextLevel: 'You have just unlocked<br><b>{{levelName}} level</b>',\n upgrade: 'Upgrade',\n upgradeDescription:\n 'Your application has been updated! Please download the latest version to enjoy it.',\n winAdditionalStars:\n 'Win {{count}} additional stars in this chapter the first time you view a lesson!',\n welcome: 'Welcome',\n welcomeDescription: 'This app is linked to your account on your company’s Learning Platform.',\n welcomeUser: 'Welcome, {{displayname}}!',\n wrongAnswer: 'Wrong answer',\n yesNotifyMe: 'Yes, notify me',\n yourAnswer: 'Your answer:',\n yourAnswers: 'Your answers:'\n};\n\nexport default defaultMobileTranslations;\n"],"mappings":"AAsNA,MAAMA,yBAAuC,GAAG;EAC9CC,eAAe,EAAE,mBAD6B;EAE9CC,UAAU,EAAE;IACVC,OAAO,EAAE,SADC;IAEVC,QAAQ,EAAE,UAFA;IAGVC,QAAQ,EAAE,UAHA;IAIVC,IAAI,EAAE,MAJI;IAKVC,UAAU,EAAE,aALF;IAMVC,YAA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;EAFf,CArBkB,EAyBlB;IACErD,KAAK,EAAE,uCADT;IAEEqD,WAAW,EAAE;EAFf,CAzBkB,EA6BlB;IACErD,KAAK,EAAE,2CADT;IAEEqD,WAAW,EAAE;EAFf,CA7BkB,EAiClB;IACErD,KAAK,EAAE,wCADT;IAEEqD,WAAW,EAAE;EAFf,CAjCkB,CA/P0B;EAqS9C4D,QAAQ,EAAE,WArSoC;EAsS9CC,QAAQ,EAAE,QAtSoC;EAuS9CC,OAAO,EAAE,SAvSqC;EAwS9CC,KAAK,EAAE,QAxSuC;EAyS9CC,iBAAiB,EAAE,8DAzS2B;EA0S9CC,eAAe,EAAE,sDA1S6B;EA2S9CC,OAAO,EAAE,SA3SqC;EA4S9CC,kBAAkB,EAChB,oFA7S4C;EA8S9CC,kBAAkB,EAChB,kFA/S4C;EAgT9CC,OAAO,EAAE,SAhTqC;EAiT9CC,kBAAkB,EAAE,yEAjT0B;EAkT9CC,WAAW,EAAE,2BAlTiC;EAmT9CC,WAAW,EAAE,cAnTiC;EAoT9CC,WAAW,EAAE,gBApTiC;EAqT9CC,UAAU,EAAE,cArTkC;EAsT9CC,WAAW,EAAE;AAtTiC,CAAhD;AAyTA,eAAezK,yBAAf"}
|
package/es/variables/shadow.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shadow.js","names":["BOX_STYLE","shadowColor","shadowOpacity","shadowOffset","width","height","shadowRadius","elevation","backgroundColor"],"sources":["../../src/variables/shadow.ts"],"sourcesContent":["export type BoxStyle = {\n shadowColor: string;\n shadowOpacity: number;\n shadowOffset: {width: number; height: number};\n shadowRadius: number;\n elevation: number;\n backgroundColor: string;\n};\n\nexport const BOX_STYLE: BoxStyle = {\n shadowColor: '#14171A',\n shadowOpacity: 0.15,\n shadowOffset: {width: 0, height: 0},\n shadowRadius: 8,\n elevation: 4,\n backgroundColor: 'rgba(0,0,0,0.015)' // fix shadow not visible bug on android\n};\n"],"mappings":"AASA,OAAO,MAAMA,SAAmB,GAAG;EACjCC,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"shadow.js","names":["BOX_STYLE","shadowColor","shadowOpacity","shadowOffset","width","height","shadowRadius","elevation","backgroundColor"],"sources":["../../src/variables/shadow.ts"],"sourcesContent":["export type BoxStyle = {\n shadowColor: string;\n shadowOpacity: number;\n shadowOffset: {width: number; height: number};\n shadowRadius: number;\n elevation: number;\n backgroundColor: string;\n};\n\nexport const BOX_STYLE: BoxStyle = {\n shadowColor: '#14171A',\n shadowOpacity: 0.15,\n shadowOffset: {width: 0, height: 0},\n shadowRadius: 8,\n elevation: 4,\n backgroundColor: 'rgba(0,0,0,0.015)' // fix shadow not visible bug on android\n};\n"],"mappings":"AASA,OAAO,MAAMA,SAAmB,GAAG;EACjCC,WAAW,EAAE,SADoB;EAEjCC,aAAa,EAAE,IAFkB;EAGjCC,YAAY,EAAE;IAACC,KAAK,EAAE,CAAR;IAAWC,MAAM,EAAE;EAAnB,CAHmB;EAIjCC,YAAY,EAAE,CAJmB;EAKjCC,SAAS,EAAE,CALsB;EAMjCC,eAAe,EAAE,mBANgB,CAMI;;AANJ,CAA5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.native.js","names":["COLORS","HTML_ANCHOR_TEXT_COLOR","cm_primary_blue","defaultTheme","colors","border","gray","extra","lighter","light","lightMedium","medium","dark","extraDark","text","primary","secondary","cta","negative","positive","white","black","battle","notification","salmon","podcast","background","cm_grey_800","spacing","micro","tiny","small","base","large","xlarge","radius","common","card","regular","search","button","thumbnail","fontWeight","semiBold","bold","extraBold","fontSize","extraSmall","xxlarge","xxxlarge","letterSpacing","header"],"sources":["../../src/variables/theme.native.ts"],"sourcesContent":["import {TextStyle} from 'react-native';\nimport {COLORS} from './colors';\n\nexport type SpaceType = 'micro' | 'tiny' | 'small' | 'base' | 'medium' | 'large' | 'xlarge';\n\nexport const HTML_ANCHOR_TEXT_COLOR = '#002BDB';\n\nconst {cm_primary_blue} = COLORS;\n\nexport type Colors = {\n border: string;\n gray: {\n extra: string;\n light: string;\n lighter: string;\n lightMedium: string;\n medium: string;\n dark: string;\n extraDark: string;\n };\n podcast: {\n background: string;\n primary: string;\n };\n text: {\n primary: string;\n secondary: string;\n };\n cta: string;\n negative: string;\n positive: string;\n white: string;\n black: string;\n battle: string;\n notification: string;\n salmon: string;\n};\n\nexport type Theme = {\n colors: Colors;\n spacing: {\n micro: number;\n tiny: number;\n small: number;\n base: number;\n medium: number;\n large: number;\n xlarge: number;\n };\n radius: {\n button: number;\n common: number;\n card: number;\n medium: number;\n regular: number;\n search: number;\n thumbnail: number;\n };\n fontWeight: {\n regular: TextStyle['fontWeight'];\n semiBold: TextStyle['fontWeight'];\n bold: TextStyle['fontWeight'];\n extraBold: TextStyle['fontWeight'];\n };\n fontSize: {\n extraSmall: TextStyle['fontSize'];\n small: TextStyle['fontSize'];\n medium: TextStyle['fontSize'];\n regular: TextStyle['fontSize'];\n large: TextStyle['fontSize'];\n xlarge: TextStyle['fontSize'];\n xxlarge: TextStyle['fontSize'];\n xxxlarge: TextStyle['fontSize'];\n };\n letterSpacing: {\n header: number;\n };\n};\n\nconst defaultTheme: Theme = {\n colors: {\n border: 'rgba(0, 0, 0, 0.1)',\n gray: {\n extra: '#FAFAFA',\n lighter: '#F4F4F5',\n light: '#ededed',\n lightMedium: '#CFD8DC',\n medium: '#90A4AE',\n dark: '#546E7A',\n extraDark: '#323232'\n },\n text: {\n primary: '#06265B',\n secondary: '#FFFFFF'\n },\n cta: cm_primary_blue,\n negative: COLORS.negative,\n positive: COLORS.positive,\n white: '#FFFFFF',\n black: '#14171A',\n battle: '#FFDE03',\n notification: '#FF7043',\n salmon: '#FDE2E5',\n podcast: {\n background: COLORS.cm_grey_800,\n primary: '#FF541F'\n }\n },\n spacing: {\n micro: 4,\n tiny: 8,\n small: 16,\n base: 24,\n medium: 32,\n large: 48,\n xlarge: 64\n },\n radius: {\n common: 3,\n card: 5,\n regular: 8,\n medium: 12,\n search: 24,\n button: 32,\n thumbnail: 1000\n },\n fontWeight: {\n regular: '400',\n semiBold: '500',\n bold: '700',\n extraBold: '900'\n },\n fontSize: {\n extraSmall: 10,\n small: 12,\n medium: 13,\n regular: 15,\n large: 17,\n xlarge: 22,\n xxlarge: 28,\n xxxlarge: 40\n },\n letterSpacing: {\n header: 5\n }\n};\n\nexport default defaultTheme;\n"],"mappings":"AACA,SAAQA,
|
|
1
|
+
{"version":3,"file":"theme.native.js","names":["COLORS","HTML_ANCHOR_TEXT_COLOR","cm_primary_blue","defaultTheme","colors","border","gray","extra","lighter","light","lightMedium","medium","dark","extraDark","text","primary","secondary","cta","negative","positive","white","black","battle","notification","salmon","podcast","background","cm_grey_800","spacing","micro","tiny","small","base","large","xlarge","radius","common","card","regular","search","button","thumbnail","fontWeight","semiBold","bold","extraBold","fontSize","extraSmall","xxlarge","xxxlarge","letterSpacing","header"],"sources":["../../src/variables/theme.native.ts"],"sourcesContent":["import {TextStyle} from 'react-native';\nimport {COLORS} from './colors';\n\nexport type SpaceType = 'micro' | 'tiny' | 'small' | 'base' | 'medium' | 'large' | 'xlarge';\n\nexport const HTML_ANCHOR_TEXT_COLOR = '#002BDB';\n\nconst {cm_primary_blue} = COLORS;\n\nexport type Colors = {\n border: string;\n gray: {\n extra: string;\n light: string;\n lighter: string;\n lightMedium: string;\n medium: string;\n dark: string;\n extraDark: string;\n };\n podcast: {\n background: string;\n primary: string;\n };\n text: {\n primary: string;\n secondary: string;\n };\n cta: string;\n negative: string;\n positive: string;\n white: string;\n black: string;\n battle: string;\n notification: string;\n salmon: string;\n};\n\nexport type Theme = {\n colors: Colors;\n spacing: {\n micro: number;\n tiny: number;\n small: number;\n base: number;\n medium: number;\n large: number;\n xlarge: number;\n };\n radius: {\n button: number;\n common: number;\n card: number;\n medium: number;\n regular: number;\n search: number;\n thumbnail: number;\n };\n fontWeight: {\n regular: TextStyle['fontWeight'];\n semiBold: TextStyle['fontWeight'];\n bold: TextStyle['fontWeight'];\n extraBold: TextStyle['fontWeight'];\n };\n fontSize: {\n extraSmall: TextStyle['fontSize'];\n small: TextStyle['fontSize'];\n medium: TextStyle['fontSize'];\n regular: TextStyle['fontSize'];\n large: TextStyle['fontSize'];\n xlarge: TextStyle['fontSize'];\n xxlarge: TextStyle['fontSize'];\n xxxlarge: TextStyle['fontSize'];\n };\n letterSpacing: {\n header: number;\n };\n};\n\nconst defaultTheme: Theme = {\n colors: {\n border: 'rgba(0, 0, 0, 0.1)',\n gray: {\n extra: '#FAFAFA',\n lighter: '#F4F4F5',\n light: '#ededed',\n lightMedium: '#CFD8DC',\n medium: '#90A4AE',\n dark: '#546E7A',\n extraDark: '#323232'\n },\n text: {\n primary: '#06265B',\n secondary: '#FFFFFF'\n },\n cta: cm_primary_blue,\n negative: COLORS.negative,\n positive: COLORS.positive,\n white: '#FFFFFF',\n black: '#14171A',\n battle: '#FFDE03',\n notification: '#FF7043',\n salmon: '#FDE2E5',\n podcast: {\n background: COLORS.cm_grey_800,\n primary: '#FF541F'\n }\n },\n spacing: {\n micro: 4,\n tiny: 8,\n small: 16,\n base: 24,\n medium: 32,\n large: 48,\n xlarge: 64\n },\n radius: {\n common: 3,\n card: 5,\n regular: 8,\n medium: 12,\n search: 24,\n button: 32,\n thumbnail: 1000\n },\n fontWeight: {\n regular: '400',\n semiBold: '500',\n bold: '700',\n extraBold: '900'\n },\n fontSize: {\n extraSmall: 10,\n small: 12,\n medium: 13,\n regular: 15,\n large: 17,\n xlarge: 22,\n xxlarge: 28,\n xxxlarge: 40\n },\n letterSpacing: {\n header: 5\n }\n};\n\nexport default defaultTheme;\n"],"mappings":"AACA,SAAQA,MAAR,QAAqB,UAArB;AAIA,OAAO,MAAMC,sBAAsB,GAAG,SAA/B;AAEP,MAAM;EAACC;AAAD,IAAoBF,MAA1B;AAwEA,MAAMG,YAAmB,GAAG;EAC1BC,MAAM,EAAE;IACNC,MAAM,EAAE,oBADF;IAENC,IAAI,EAAE;MACJC,KAAK,EAAE,SADH;MAEJC,OAA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JD;IAKRL,KAAK,EAAE,EALC;IAMRC,MAAM,EAAE,EANA;IAORc,OAAO,EAAE,EAPD;IAQRC,QAAQ,EAAE;EARF,CArDgB;EA+D1BC,aAAa,EAAE;IACbC,MAAM,EAAE;EADK;AA/DW,CAA5B;AAoEA,eAAehD,YAAf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vibration.js","names":["VIBRATION_TYPE","SELECTION","IMPACT_LIGHT","IMPACT_MEDIUM","IMPACT_HEAVY","NOTIFICATION_SUCCESS","NOTIFICATION_WARNING","NOTIFICATION_ERROR"],"sources":["../../src/variables/vibration.ts"],"sourcesContent":["export type VibrationType =\n | 'selection'\n | 'impactLight'\n | 'impactMedium'\n | 'impactHeavy'\n | 'notificationSuccess'\n | 'notificationWarning'\n | 'notificationError';\n\nexport const VIBRATION_TYPE: {\n [key in\n | 'SELECTION'\n | 'IMPACT_LIGHT'\n | 'IMPACT_MEDIUM'\n | 'IMPACT_HEAVY'\n | 'NOTIFICATION_SUCCESS'\n | 'NOTIFICATION_WARNING'\n | 'NOTIFICATION_ERROR']?: VibrationType;\n} = {\n SELECTION: 'selection',\n IMPACT_LIGHT: 'impactLight',\n IMPACT_MEDIUM: 'impactMedium',\n IMPACT_HEAVY: 'impactHeavy',\n NOTIFICATION_SUCCESS: 'notificationSuccess',\n NOTIFICATION_WARNING: 'notificationWarning',\n NOTIFICATION_ERROR: 'notificationError'\n};\n\nexport type Vibration = {\n VIBRATION_TYPE: typeof VIBRATION_TYPE;\n vibrate: (arg0: VibrationType | void) => void;\n};\n"],"mappings":"AASA,OAAO,MAAMA,cASZ,GAAG;EACFC,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"vibration.js","names":["VIBRATION_TYPE","SELECTION","IMPACT_LIGHT","IMPACT_MEDIUM","IMPACT_HEAVY","NOTIFICATION_SUCCESS","NOTIFICATION_WARNING","NOTIFICATION_ERROR"],"sources":["../../src/variables/vibration.ts"],"sourcesContent":["export type VibrationType =\n | 'selection'\n | 'impactLight'\n | 'impactMedium'\n | 'impactHeavy'\n | 'notificationSuccess'\n | 'notificationWarning'\n | 'notificationError';\n\nexport const VIBRATION_TYPE: {\n [key in\n | 'SELECTION'\n | 'IMPACT_LIGHT'\n | 'IMPACT_MEDIUM'\n | 'IMPACT_HEAVY'\n | 'NOTIFICATION_SUCCESS'\n | 'NOTIFICATION_WARNING'\n | 'NOTIFICATION_ERROR']?: VibrationType;\n} = {\n SELECTION: 'selection',\n IMPACT_LIGHT: 'impactLight',\n IMPACT_MEDIUM: 'impactMedium',\n IMPACT_HEAVY: 'impactHeavy',\n NOTIFICATION_SUCCESS: 'notificationSuccess',\n NOTIFICATION_WARNING: 'notificationWarning',\n NOTIFICATION_ERROR: 'notificationError'\n};\n\nexport type Vibration = {\n VIBRATION_TYPE: typeof VIBRATION_TYPE;\n vibrate: (arg0: VibrationType | void) => void;\n};\n"],"mappings":"AASA,OAAO,MAAMA,cASZ,GAAG;EACFC,SAAS,EAAE,WADT;EAEFC,YAAY,EAAE,aAFZ;EAGFC,aAAa,EAAE,cAHb;EAIFC,YAAY,EAAE,aAJZ;EAKFC,oBAAoB,EAAE,qBALpB;EAMFC,oBAAoB,EAAE,qBANpB;EAOFC,kBAAkB,EAAE;AAPlB,CATG"}
|
|
@@ -2,25 +2,42 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.default = void 0;
|
|
5
|
+
|
|
5
6
|
var _keys2 = _interopRequireDefault(require("lodash/fp/keys"));
|
|
7
|
+
|
|
6
8
|
var _isEmpty2 = _interopRequireDefault(require("lodash/fp/isEmpty"));
|
|
9
|
+
|
|
7
10
|
var _isNil2 = _interopRequireDefault(require("lodash/fp/isNil"));
|
|
11
|
+
|
|
8
12
|
var _noop2 = _interopRequireDefault(require("lodash/fp/noop"));
|
|
13
|
+
|
|
9
14
|
var _react = _interopRequireWildcard(require("react"));
|
|
15
|
+
|
|
10
16
|
var _reactAutosuggest = _interopRequireDefault(require("react-autosuggest"));
|
|
17
|
+
|
|
11
18
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
19
|
+
|
|
12
20
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
21
|
+
|
|
13
22
|
var _novaIcons = require("@coorpacademy/nova-icons");
|
|
23
|
+
|
|
14
24
|
var _getClassState = _interopRequireDefault(require("../../util/get-class-state"));
|
|
25
|
+
|
|
15
26
|
var _style = _interopRequireDefault(require("./style.css"));
|
|
16
|
-
|
|
17
|
-
function
|
|
18
|
-
|
|
27
|
+
|
|
28
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
29
|
+
|
|
30
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
31
|
+
|
|
32
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
33
|
+
|
|
19
34
|
const THEME_STYLE = {
|
|
20
35
|
coorpmanager: _style.default.coorpmanager,
|
|
21
36
|
default: _style.default.default
|
|
22
37
|
};
|
|
38
|
+
|
|
23
39
|
const renderSuggestion = suggestion => /*#__PURE__*/_react.default.createElement("span", null, suggestion.name);
|
|
40
|
+
|
|
24
41
|
const Autocomplete = props => {
|
|
25
42
|
const {
|
|
26
43
|
placeholder = '',
|
|
@@ -71,8 +88,7 @@ const Autocomplete = props => {
|
|
|
71
88
|
className: _style.default.leftIcon
|
|
72
89
|
}) : null;
|
|
73
90
|
const errorText = theme === 'coorpmanager' && error ? /*#__PURE__*/_react.default.createElement("div", {
|
|
74
|
-
className: _style.default.errorText
|
|
75
|
-
// eslint-disable-next-line react/no-danger
|
|
91
|
+
className: _style.default.errorText // eslint-disable-next-line react/no-danger
|
|
76
92
|
,
|
|
77
93
|
dangerouslySetInnerHTML: {
|
|
78
94
|
__html: errorMessage
|
|
@@ -104,6 +120,7 @@ const Autocomplete = props => {
|
|
|
104
120
|
onSuggestionSelected: handleSuggestionsSelected
|
|
105
121
|
}), errorIconView, errorText)), descriptionView);
|
|
106
122
|
};
|
|
123
|
+
|
|
107
124
|
Autocomplete.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
108
125
|
title: _propTypes.default.string,
|
|
109
126
|
placeholder: _propTypes.default.string,
|
|
@@ -124,5 +141,6 @@ Autocomplete.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
124
141
|
onBlur: _propTypes.default.func,
|
|
125
142
|
onSuggestionSelected: _propTypes.default.func
|
|
126
143
|
} : {};
|
|
127
|
-
var _default =
|
|
144
|
+
var _default = Autocomplete;
|
|
145
|
+
exports.default = _default;
|
|
128
146
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_reactAutosuggest","_interopRequireDefault","_propTypes","_classnames","_novaIcons","_getClassState","_style","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","THEME_STYLE","coorpmanager","style","renderSuggestion","suggestion","createElement","name","Autocomplete","props","placeholder","value","description","required","modified","error","errorMessage","suggestions","onInput","_noop2","onFetch","onClear","onBlur","onSuggestionSelected","title","propsTitle","theme","mainClass","useMemo","className","getClassState","handleInput","useCallback","handleBlur","selectedSuggestion","handleSuggestionsFetchRequested","handleSuggestionsClearRequested","handleSuggestionsSelected","data","inputProps","onChange","descriptionView","toolTipView","infoIconWrapper","NovaCompositionCoorpacademyInformationIcon","infoIcon","descriptionLabel","errorIconView","NovaSolidStatusClose","leftIcon","errorText","dangerouslySetInnerHTML","__html","classnames","_isNil2","isNoTitle","_isEmpty2","noValue","inputContainer","container","input","suggestionsContainer","suggestionsContainerOpen","suggestionsList","suggestionHighlighted","onSuggestionsFetchRequested","onSuggestionsClearRequested","getSuggestionValue","focusInputOnSuggestionClick","propTypes","process","env","NODE_ENV","PropTypes","string","bool","arrayOf","shape","oneOfType","number","oneOf","_keys2","func","_default","exports"],"sources":["../../../src/atom/autocomplete/index.js"],"sourcesContent":["import React, {useCallback, useMemo} from 'react';\nimport Autosuggest from 'react-autosuggest';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport {noop, isNil, isEmpty, keys} from 'lodash/fp';\nimport {\n NovaSolidStatusClose as ErrorIcon,\n NovaCompositionCoorpacademyInformationIcon as InfoIcon\n} from '@coorpacademy/nova-icons';\nimport getClassState from '../../util/get-class-state';\nimport style from './style.css';\n\nconst THEME_STYLE = {\n coorpmanager: style.coorpmanager,\n default: style.default\n};\n\nconst renderSuggestion = suggestion => <span>{suggestion.name}</span>;\n\nconst Autocomplete = props => {\n const {\n placeholder = '',\n value,\n description,\n required,\n modified = false,\n error = false,\n errorMessage,\n suggestions = [],\n onInput = noop,\n onFetch = noop,\n onClear = noop,\n onBlur = noop,\n onSuggestionSelected = noop,\n title: propsTitle,\n theme = 'default'\n } = props;\n\n const mainClass = THEME_STYLE[theme];\n const title = useMemo(() => `${propsTitle}${required ? '*' : ''}`, [propsTitle, required]);\n const className = useMemo(\n () => getClassState(style.default, style.modified, style.error, modified, error),\n [modified, error]\n );\n\n const handleInput = useCallback(\n e => {\n onInput(e);\n },\n [onInput]\n );\n const handleBlur = useCallback(\n (e, selectedSuggestion) => onBlur(e, selectedSuggestion),\n [onBlur]\n );\n const handleSuggestionsFetchRequested = useCallback(e => onFetch(e), [onFetch]);\n const handleSuggestionsClearRequested = useCallback(e => onClear(e), [onClear]);\n const handleSuggestionsSelected = useCallback(\n (e, data) => onSuggestionSelected(data),\n [onSuggestionSelected]\n );\n\n const inputProps = {\n placeholder,\n value,\n onChange: noop,\n onBlur: handleBlur,\n onInput: handleInput,\n 'data-testid': 'autocomplete-input'\n };\n\n const descriptionView =\n description && theme !== 'coorpmanager' ? (\n <div className={style.description}>{description}</div>\n ) : null;\n\n const toolTipView =\n description && theme === 'coorpmanager' ? (\n <div className={style.infoIconWrapper}>\n <InfoIcon className={style.infoIcon} />\n <div className={style.descriptionLabel}>{description}</div>\n </div>\n ) : null;\n\n const errorIconView =\n theme === 'coorpmanager' && error ? <ErrorIcon className={style.leftIcon} /> : null;\n\n const errorText =\n theme === 'coorpmanager' && error ? (\n <div\n className={style.errorText}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: errorMessage}}\n />\n ) : null;\n return (\n <div className={classnames(mainClass, className, isNil(propsTitle) && style.isNoTitle)}>\n <label>\n <span className={classnames(style.title, isEmpty(value) && style.noValue)}>\n {title}\n {toolTipView}\n </span>\n <div className={style.inputContainer}>\n <Autosuggest\n theme={{\n container: style.container,\n input: style.input,\n suggestionsContainer: style.suggestionsContainer,\n suggestionsContainerOpen: style.suggestionsContainerOpen,\n suggestionsList: style.suggestionsList,\n suggestion: style.suggestion,\n suggestionHighlighted: style.suggestionHighlighted\n }}\n suggestions={suggestions}\n onSuggestionsFetchRequested={handleSuggestionsFetchRequested}\n onSuggestionsClearRequested={handleSuggestionsClearRequested}\n getSuggestionValue={noop}\n renderSuggestion={renderSuggestion}\n inputProps={inputProps}\n focusInputOnSuggestionClick={false}\n onSuggestionSelected={handleSuggestionsSelected}\n />\n {errorIconView}\n {errorText}\n </div>\n </label>\n {descriptionView}\n </div>\n );\n};\n\nAutocomplete.propTypes = {\n title: PropTypes.string,\n placeholder: PropTypes.string,\n value: PropTypes.string,\n description: PropTypes.string,\n required: PropTypes.bool,\n modified: PropTypes.bool,\n error: PropTypes.bool,\n errorMessage: PropTypes.string,\n suggestions: PropTypes.arrayOf(\n PropTypes.shape({\n name: PropTypes.string,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number])\n })\n ),\n theme: PropTypes.oneOf(keys(THEME_STYLE)),\n onInput: PropTypes.func,\n onFetch: PropTypes.func,\n onClear: PropTypes.func,\n onBlur: PropTypes.func,\n onSuggestionSelected: PropTypes.func\n};\n\nexport default Autocomplete;\n"],"mappings":";;;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,iBAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,UAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,WAAA,GAAAF,sBAAA,CAAAF,OAAA;AAEA,IAAAK,UAAA,GAAAL,OAAA;AAIA,IAAAM,cAAA,GAAAJ,sBAAA,CAAAF,OAAA;AACA,IAAAO,MAAA,GAAAL,sBAAA,CAAAF,OAAA;AAAgC,SAAAQ,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAV,wBAAAU,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAA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AAEc;EAA0B,CACjD,CAAC,EACDU,aAAa,EACbG,SACE,CACA,CAAC,EACPT,eACE,CAAC;AAEV,CAAC;AAEDjC,YAAY,CAAC6D,SAAS,GAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA,oBAAG;EACvBhD,KAAK,EAAEiD,kBAAS,CAACC,MAAM;EACvBhE,WAAW,EAAE+D,kBAAS,CAACC,MAAM;EAC7B/D,KAAK,EAAE8D,kBAAS,CAACC,MAAM;EACvB9D,WAAW,EAAE6D,kBAAS,CAACC,MAAM;EAC7B7D,QAAQ,EAAE4D,kBAAS,CAACE,IAAI;EACxB7D,QAAQ,EAAE2D,kBAAS,CAACE,IAAI;EACxB5D,KAAK,EAAE0D,kBAAS,CAACE,IAAI;EACrB3D,YAAY,EAAEyD,kBAAS,CAACC,MAAM;EAC9BzD,WAAW,EAAEwD,kBAAS,CAACG,OAAO,CAC5BH,kBAAS,CAACI,KAAK,CAAC;IACdtE,IAAI,EAAEkE,kBAAS,CAACC,MAAM;IACtB/D,KAAK,EAAE8D,kBAAS,CAACK,SAAS,CAAC,CAACL,kBAAS,CAACC,MAAM,EAAED,kBAAS,CAACM,MAAM,CAAC;EACjE,CAAC,CACH,CAAC;EACDrD,KAAK,EAAE+C,kBAAS,CAACO,KAAK,CAAC,IAAAC,MAAA,CAAA9F,OAAA,EAAKc,WAAW,CAAC,CAAC;EACzCiB,OAAO,EAAEuD,kBAAS,CAACS,IAAI;EACvB9D,OAAO,EAAEqD,kBAAS,CAACS,IAAI;EACvB7D,OAAO,EAAEoD,kBAAS,CAACS,IAAI;EACvB5D,MAAM,EAAEmD,kBAAS,CAACS,IAAI;EACtB3D,oBAAoB,EAAEkD,kBAAS,CAACS;AAClC,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAjG,OAAA,GAEaqB,YAAY","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"index.js","names":["THEME_STYLE","coorpmanager","style","default","renderSuggestion","suggestion","name","Autocomplete","props","placeholder","value","description","required","modified","error","errorMessage","suggestions","onInput","onFetch","onClear","onBlur","onSuggestionSelected","title","propsTitle","theme","mainClass","useMemo","className","getClassState","handleInput","useCallback","e","handleBlur","selectedSuggestion","handleSuggestionsFetchRequested","handleSuggestionsClearRequested","handleSuggestionsSelected","data","inputProps","onChange","descriptionView","toolTipView","infoIconWrapper","infoIcon","descriptionLabel","errorIconView","leftIcon","errorText","__html","classnames","isNoTitle","noValue","inputContainer","container","input","suggestionsContainer","suggestionsContainerOpen","suggestionsList","suggestionHighlighted","propTypes","PropTypes","string","bool","arrayOf","shape","oneOfType","number","oneOf","func"],"sources":["../../../src/atom/autocomplete/index.js"],"sourcesContent":["import React, {useCallback, useMemo} from 'react';\nimport Autosuggest from 'react-autosuggest';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport {noop, isNil, isEmpty, keys} from 'lodash/fp';\nimport {\n NovaSolidStatusClose as ErrorIcon,\n NovaCompositionCoorpacademyInformationIcon as InfoIcon\n} from '@coorpacademy/nova-icons';\nimport getClassState from '../../util/get-class-state';\nimport style from './style.css';\n\nconst THEME_STYLE = {\n coorpmanager: style.coorpmanager,\n default: style.default\n};\n\nconst renderSuggestion = suggestion => <span>{suggestion.name}</span>;\n\nconst Autocomplete = props => {\n const {\n placeholder = '',\n value,\n description,\n required,\n modified = false,\n error = false,\n errorMessage,\n suggestions = [],\n onInput = noop,\n onFetch = noop,\n onClear = noop,\n onBlur = noop,\n onSuggestionSelected = noop,\n title: propsTitle,\n theme = 'default'\n } = props;\n\n const mainClass = THEME_STYLE[theme];\n const title = useMemo(() => `${propsTitle}${required ? '*' : ''}`, [propsTitle, required]);\n const className = useMemo(\n () => getClassState(style.default, style.modified, style.error, modified, error),\n [modified, error]\n );\n\n const handleInput = useCallback(\n e => {\n onInput(e);\n },\n [onInput]\n );\n const handleBlur = useCallback(\n (e, selectedSuggestion) => onBlur(e, selectedSuggestion),\n [onBlur]\n );\n const handleSuggestionsFetchRequested = useCallback(e => onFetch(e), [onFetch]);\n const handleSuggestionsClearRequested = useCallback(e => onClear(e), [onClear]);\n const handleSuggestionsSelected = useCallback(\n (e, data) => onSuggestionSelected(data),\n [onSuggestionSelected]\n );\n\n const inputProps = {\n placeholder,\n value,\n onChange: noop,\n onBlur: handleBlur,\n onInput: handleInput,\n 'data-testid': 'autocomplete-input'\n };\n\n const descriptionView =\n description && theme !== 'coorpmanager' ? (\n <div className={style.description}>{description}</div>\n ) : null;\n\n const toolTipView =\n description && theme === 'coorpmanager' ? (\n <div className={style.infoIconWrapper}>\n <InfoIcon className={style.infoIcon} />\n <div className={style.descriptionLabel}>{description}</div>\n </div>\n ) : null;\n\n const errorIconView =\n theme === 'coorpmanager' && error ? <ErrorIcon className={style.leftIcon} /> : null;\n\n const errorText =\n theme === 'coorpmanager' && error ? (\n <div\n className={style.errorText}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: errorMessage}}\n />\n ) : null;\n return (\n <div className={classnames(mainClass, className, isNil(propsTitle) && style.isNoTitle)}>\n <label>\n <span className={classnames(style.title, isEmpty(value) && style.noValue)}>\n {title}\n {toolTipView}\n </span>\n <div className={style.inputContainer}>\n <Autosuggest\n theme={{\n container: style.container,\n input: style.input,\n suggestionsContainer: style.suggestionsContainer,\n suggestionsContainerOpen: style.suggestionsContainerOpen,\n suggestionsList: style.suggestionsList,\n suggestion: style.suggestion,\n suggestionHighlighted: style.suggestionHighlighted\n }}\n suggestions={suggestions}\n onSuggestionsFetchRequested={handleSuggestionsFetchRequested}\n onSuggestionsClearRequested={handleSuggestionsClearRequested}\n getSuggestionValue={noop}\n renderSuggestion={renderSuggestion}\n inputProps={inputProps}\n focusInputOnSuggestionClick={false}\n onSuggestionSelected={handleSuggestionsSelected}\n />\n {errorIconView}\n {errorText}\n </div>\n </label>\n {descriptionView}\n </div>\n );\n};\n\nAutocomplete.propTypes = {\n title: PropTypes.string,\n placeholder: PropTypes.string,\n value: PropTypes.string,\n description: PropTypes.string,\n required: PropTypes.bool,\n modified: PropTypes.bool,\n error: PropTypes.bool,\n errorMessage: PropTypes.string,\n suggestions: PropTypes.arrayOf(\n PropTypes.shape({\n name: PropTypes.string,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number])\n })\n ),\n theme: PropTypes.oneOf(keys(THEME_STYLE)),\n onInput: PropTypes.func,\n onFetch: PropTypes.func,\n onClear: PropTypes.func,\n onBlur: PropTypes.func,\n onSuggestionSelected: PropTypes.func\n};\n\nexport default Autocomplete;\n"],"mappings":";;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;AAEA;;AAIA;;AACA;;;;;;;;AAEA,MAAMA,WAAW,GAAG;EAClBC,YAAY,EAAEC,cAAA,CAAMD,YADF;EAElBE,OAAO,EAAED,cAAA,CAAMC;AAFG,CAApB;;AAKA,MAAMC,gBAAgB,GAAGC,UAAU,iBAAI,2CAAOA,UAAU,CAACC,IAAlB,CAAvC;;AAEA,MAAMC,YAAY,GAAGC,KAAK,IAAI;EAC5B,MAAM;IACJC,WAAW,GAAG,EADV;IAEJC,KAFI;IAGJC,WAHI;IAIJC,QAJI;IAKJC,QAAQ,GAAG,KALP;IAMJC,KAAK,GAAG,KANJ;IAOJC,YAPI;IAQJC,WAAW,GAAG,EARV;IASJC,OAAO,iBATH;IAUJC,OAAO,iBAVH;IAWJC,OAAO,iBAXH;IAYJC,MAAM,iBAZF;IAaJC,oBAAoB,iBAbhB;IAcJC,KAAK,EAAEC,UAdH;IAeJC,KAAK,GAAG;EAfJ,IAgBFhB,KAhBJ;EAkBA,MAAMiB,SAAS,GAAGzB,WAAW,CAACwB,KAAD,CAA7B;EACA,MAAMF,KAAK,GAAG,IAAAI,cAAA,EAAQ,MAAO,GAAEH,UAAW,GAAEX,QAAQ,GAAG,GAAH,GAAS,EAAG,EAAlD,EAAqD,CAACW,UAAD,EAAaX,QAAb,CAArD,CAAd;EACA,MAAMe,SAAS,GAAG,IAAAD,cAAA,EAChB,MAAM,IAAAE,sBAAA,EAAc1B,cAA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