@coorpacademy/components 11.32.52-alpha.65 → 11.33.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 +2 -4
- package/es/atom/autocomplete/index.js.map +1 -1
- package/es/atom/avatar/index.js +0 -2
- package/es/atom/avatar/index.js.map +1 -1
- package/es/atom/battle-opponent/index.js +7 -11
- 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 +9 -16
- package/es/atom/button/index.js.map +1 -1
- package/es/atom/button/index.native.js +4 -9
- package/es/atom/button/index.native.js.map +1 -1
- package/es/atom/button-link/index.js +8 -16
- 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 +3 -13
- package/es/atom/button-link-icon/index.js.map +1 -1
- package/es/atom/button-menu/index.js +3 -7
- 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 +0 -3
- package/es/atom/card-image-preview/index.js.map +1 -1
- package/es/atom/catalog-section/index.js +0 -2
- package/es/atom/catalog-section/index.js.map +1 -1
- package/es/atom/centered-text/index.js +0 -2
- package/es/atom/centered-text/index.js.map +1 -1
- package/es/atom/checkbox/index.js +4 -12
- package/es/atom/checkbox/index.js.map +1 -1
- package/es/atom/checkbox-with-title/index.js +0 -4
- package/es/atom/checkbox-with-title/index.js.map +1 -1
- package/es/atom/chip/index.js +8 -7
- package/es/atom/chip/index.js.map +1 -1
- package/es/atom/chips/index.js +1 -2
- package/es/atom/chips/index.js.map +1 -1
- package/es/atom/choice/index.native.js +11 -21
- package/es/atom/choice/index.native.js.map +1 -1
- package/es/atom/circular-progress-bar/index.js +0 -3
- 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 +4 -18
- package/es/atom/clue/index.js.map +1 -1
- package/es/atom/content-badge/index.js +0 -2
- package/es/atom/content-badge/index.js.map +1 -1
- package/es/atom/cta/index.js +0 -7
- 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 +0 -7
- package/es/atom/difficulty-level/index.js.map +1 -1
- package/es/atom/drag-and-drop/index.js +1 -18
- package/es/atom/drag-and-drop/index.js.map +1 -1
- package/es/atom/empty-search-result/index.js +0 -2
- package/es/atom/empty-search-result/index.js.map +1 -1
- package/es/atom/gradient/index.native.js +0 -7
- package/es/atom/gradient/index.native.js.map +1 -1
- package/es/atom/header-back-button/index.native.js +0 -6
- package/es/atom/header-back-button/index.native.js.map +1 -1
- package/es/atom/header-back-icon/index.native.js +0 -2
- package/es/atom/header-back-icon/index.native.js.map +1 -1
- package/es/atom/html/index.native.js +27 -22
- package/es/atom/html/index.native.js.map +1 -1
- package/es/atom/icon/index.js +6 -4
- package/es/atom/icon/index.js.map +1 -1
- package/es/atom/image-background/index.native.js +12 -29
- package/es/atom/image-background/index.native.js.map +1 -1
- package/es/atom/input-checkbox/index.js +0 -4
- package/es/atom/input-checkbox/index.js.map +1 -1
- package/es/atom/input-color/index.js +0 -2
- package/es/atom/input-color/index.js.map +1 -1
- package/es/atom/input-doublestep/index.js +12 -22
- package/es/atom/input-doublestep/index.js.map +1 -1
- package/es/atom/input-file-draggable/index.js +4 -7
- package/es/atom/input-file-draggable/index.js.map +1 -1
- package/es/atom/input-html/index.js +0 -4
- package/es/atom/input-html/index.js.map +1 -1
- package/es/atom/input-html/input-preview.js +2 -3
- package/es/atom/input-html/input-preview.js.map +1 -1
- package/es/atom/input-readonly/index.js +0 -2
- package/es/atom/input-readonly/index.js.map +1 -1
- package/es/atom/input-search/index.js +0 -2
- package/es/atom/input-search/index.js.map +1 -1
- package/es/atom/input-switch/index.js +1 -11
- package/es/atom/input-switch/index.js.map +1 -1
- package/es/atom/input-text/index.js +2 -3
- package/es/atom/input-text/index.js.map +1 -1
- package/es/atom/input-text-with-title/index.js +3 -6
- package/es/atom/input-text-with-title/index.js.map +1 -1
- package/es/atom/input-textarea/index.js +2 -3
- package/es/atom/input-textarea/index.js.map +1 -1
- package/es/atom/label/index.js +0 -2
- package/es/atom/label/index.js.map +1 -1
- package/es/atom/life/index.js +0 -7
- package/es/atom/life/index.js.map +1 -1
- package/es/atom/link/index.js +16 -22
- package/es/atom/link/index.js.map +1 -1
- package/es/atom/loader/index.js +0 -2
- package/es/atom/loader/index.js.map +1 -1
- package/es/atom/loader/index.native.js +2 -12
- package/es/atom/loader/index.native.js.map +1 -1
- package/es/atom/lottie-wrapper/index.js +14 -21
- 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 +0 -2
- package/es/atom/notification/index.js.map +1 -1
- package/es/atom/picture/index.js +1 -9
- package/es/atom/picture/index.js.map +1 -1
- package/es/atom/picture-background/index.js +0 -2
- package/es/atom/picture-background/index.js.map +1 -1
- package/es/atom/promo-code/index.js +0 -2
- package/es/atom/promo-code/index.js.map +1 -1
- package/es/atom/provider/index.js +8 -25
- package/es/atom/provider/index.js.map +1 -1
- package/es/atom/provider/web-context.js +4 -14
- package/es/atom/provider/web-context.js.map +1 -1
- package/es/atom/radio-group/index.js +1 -9
- package/es/atom/radio-group/index.js.map +1 -1
- package/es/atom/radio-group/item.js +0 -7
- package/es/atom/radio-group/item.js.map +1 -1
- package/es/atom/radio-with-title/index.js +1 -7
- 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 +11 -18
- package/es/atom/range/handle.js.map +1 -1
- package/es/atom/range/index.js +3 -26
- package/es/atom/range/index.js.map +1 -1
- package/es/atom/resource-miniature/index.js +2 -6
- package/es/atom/resource-miniature/index.js.map +1 -1
- package/es/atom/review-presentation/index.js +5 -8
- package/es/atom/review-presentation/index.js.map +1 -1
- package/es/atom/review-presentation/index.native.js +3 -10
- 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 +17 -18
- package/es/atom/select/index.js.map +1 -1
- package/es/atom/select-icon/index.js +0 -5
- package/es/atom/select-icon/index.js.map +1 -1
- package/es/atom/select-modal/index.native.js +7 -16
- package/es/atom/select-modal/index.native.js.map +1 -1
- package/es/atom/slide/index.js +1 -4
- package/es/atom/slide/index.js.map +1 -1
- package/es/atom/social-link/index.js +0 -2
- package/es/atom/social-link/index.js.map +1 -1
- package/es/atom/space/index.native.js +0 -2
- package/es/atom/space/index.native.js.map +1 -1
- package/es/atom/spinner/index.js +0 -2
- package/es/atom/spinner/index.js.map +1 -1
- package/es/atom/status-item/index.js +1 -13
- package/es/atom/status-item/index.js.map +1 -1
- package/es/atom/status-item/index.native.js +0 -14
- 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 +0 -2
- package/es/atom/tab/index.js.map +1 -1
- package/es/atom/tab-content/index.js +0 -2
- package/es/atom/tab-content/index.js.map +1 -1
- package/es/atom/tag/index.js +6 -14
- package/es/atom/tag/index.js.map +1 -1
- package/es/atom/text/index.native.js +3 -8
- package/es/atom/text/index.native.js.map +1 -1
- package/es/atom/title/index.js +1 -17
- package/es/atom/title/index.js.map +1 -1
- package/es/atom/title/types.js.map +1 -1
- package/es/atom/tooltip/index.js +3 -9
- package/es/atom/tooltip/index.js.map +1 -1
- package/es/atom/video-upload/index.js +3 -6
- package/es/atom/video-upload/index.js.map +1 -1
- package/es/atom/wizard-steps/index.js +0 -2
- package/es/atom/wizard-steps/index.js.map +1 -1
- package/es/globals.d.js.map +1 -1
- package/es/hoc/animation/index.js +0 -11
- package/es/hoc/animation/index.js.map +1 -1
- package/es/hoc/animation-scheduler/index.js +0 -18
- package/es/hoc/animation-scheduler/index.js.map +1 -1
- package/es/hoc/modal/index.native.js +0 -6
- package/es/hoc/modal/index.native.js.map +1 -1
- package/es/hoc/modal/select/index.native.js +0 -10
- package/es/hoc/modal/select/index.native.js.map +1 -1
- package/es/hoc/modal/select-item/index.native.js +4 -11
- package/es/hoc/modal/select-item/index.native.js.map +1 -1
- package/es/hoc/swapper/index.js +4 -17
- package/es/hoc/swapper/index.js.map +1 -1
- package/es/hoc/touchable/index.native.js +4 -9
- 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 +0 -4
- 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 +0 -7
- package/es/molecule/add-to-my-list/index.js.map +1 -1
- package/es/molecule/answer/index.js +4 -26
- package/es/molecule/answer/index.js.map +1 -1
- package/es/molecule/answer/index.native.js +0 -11
- package/es/molecule/answer/index.native.js.map +1 -1
- package/es/molecule/answer/prop-types.js +3 -6
- package/es/molecule/answer/prop-types.js.map +1 -1
- package/es/molecule/audio/index.js +8 -18
- package/es/molecule/audio/index.js.map +1 -1
- package/es/molecule/banner/index.js +0 -11
- package/es/molecule/banner/index.js.map +1 -1
- package/es/molecule/base-modal/index.js +5 -18
- package/es/molecule/base-modal/index.js.map +1 -1
- package/es/molecule/battle-opponent-list/index.js +1 -4
- 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 +2 -6
- package/es/molecule/battle-request/index.js.map +1 -1
- package/es/molecule/brand-card/description.js +0 -2
- package/es/molecule/brand-card/description.js.map +1 -1
- package/es/molecule/brand-card/index.js +0 -2
- package/es/molecule/brand-card/index.js.map +1 -1
- package/es/molecule/brand-card-create/index.js +0 -2
- package/es/molecule/brand-card-create/index.js.map +1 -1
- package/es/molecule/brand-create-form/index.js +0 -2
- package/es/molecule/brand-create-form/index.js.map +1 -1
- package/es/molecule/brand-download-box/index.js +0 -4
- package/es/molecule/brand-download-box/index.js.map +1 -1
- package/es/molecule/brand-form-group/index.js +49 -62
- package/es/molecule/brand-form-group/index.js.map +1 -1
- package/es/molecule/brand-logo/index.native.js +3 -8
- package/es/molecule/brand-logo/index.native.js.map +1 -1
- package/es/molecule/brand-tabs/index.js +0 -4
- package/es/molecule/brand-tabs/index.js.map +1 -1
- package/es/molecule/brand-upload-box/index.js +0 -11
- package/es/molecule/brand-upload-box/index.js.map +1 -1
- package/es/molecule/breadcrumbs/index.js +0 -6
- package/es/molecule/breadcrumbs/index.js.map +1 -1
- package/es/molecule/bulk-infos/index.js +1 -5
- 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 +0 -6
- 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 +0 -3
- 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 +0 -2
- package/es/molecule/card/customer.js.map +1 -1
- package/es/molecule/card/favorite.js +8 -13
- package/es/molecule/card/favorite.js.map +1 -1
- package/es/molecule/card/index.js +3 -22
- package/es/molecule/card/index.js.map +1 -1
- package/es/molecule/card/notification.js +0 -5
- package/es/molecule/card/notification.js.map +1 -1
- package/es/molecule/card/selectable.js +0 -2
- package/es/molecule/card/selectable.js.map +1 -1
- package/es/molecule/card-congrats/index.native.js +4 -12
- 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 +2 -13
- package/es/molecule/card-content/index.js.map +1 -1
- package/es/molecule/card-with-button/index.js +0 -6
- package/es/molecule/card-with-button/index.js.map +1 -1
- package/es/molecule/certification-card/index.js +0 -2
- package/es/molecule/certification-card/index.js.map +1 -1
- package/es/molecule/cm-popin/index.js +4 -14
- package/es/molecule/cm-popin/index.js.map +1 -1
- package/es/molecule/cm-popin/index.native.js +0 -6
- 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 +0 -4
- package/es/molecule/cookie-banner/index.js.map +1 -1
- package/es/molecule/coorp-manager-roles/index.js +3 -6
- 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 +0 -2
- package/es/molecule/course-section/index.js.map +1 -1
- package/es/molecule/course-sections/index.js +3 -9
- 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 +16 -60
- 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 +4 -6
- 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 +4 -6
- 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 +0 -5
- package/es/molecule/discipline-associated-skills/index.js.map +1 -1
- package/es/molecule/discipline-cta/index.js +0 -4
- package/es/molecule/discipline-cta/index.js.map +1 -1
- package/es/molecule/discipline-header/index.js +9 -15
- package/es/molecule/discipline-header/index.js.map +1 -1
- package/es/molecule/discipline-partners/index.js +0 -11
- package/es/molecule/discipline-partners/index.js.map +1 -1
- package/es/molecule/discipline-scope/index.js +0 -2
- package/es/molecule/discipline-scope/index.js.map +1 -1
- package/es/molecule/drag-and-drop/index.js +4 -6
- 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 +4 -16
- package/es/molecule/drag-and-drop/upload-report.js.map +1 -1
- package/es/molecule/drag-and-drop-wrapper/index.js +0 -4
- package/es/molecule/drag-and-drop-wrapper/index.js.map +1 -1
- package/es/molecule/draggable/index.js +0 -4
- package/es/molecule/draggable/index.js.map +1 -1
- package/es/molecule/draggable-list/index.js +1 -4
- package/es/molecule/draggable-list/index.js.map +1 -1
- package/es/molecule/errors-table/index.js +2 -5
- 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 +0 -2
- 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 +0 -2
- 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 +8 -25
- package/es/molecule/expandible-actionable-table/index.js.map +1 -1
- package/es/molecule/expandible-actionable-table/types.js +11 -9
- package/es/molecule/expandible-actionable-table/types.js.map +1 -1
- package/es/molecule/external-content-button/index.js +11 -16
- package/es/molecule/external-content-button/index.js.map +1 -1
- package/es/molecule/external-content-viewer/index.js +0 -2
- package/es/molecule/external-content-viewer/index.js.map +1 -1
- package/es/molecule/feedback/index.js +12 -13
- package/es/molecule/feedback/index.js.map +1 -1
- package/es/molecule/filters/filters-wrapper.js +1 -14
- package/es/molecule/filters/filters-wrapper.js.map +1 -1
- package/es/molecule/filters/index.js +4 -17
- package/es/molecule/filters/index.js.map +1 -1
- package/es/molecule/forum/forum-comment/index.js +0 -5
- package/es/molecule/forum/forum-comment/index.js.map +1 -1
- package/es/molecule/forum/forum-post/index.js +0 -6
- package/es/molecule/forum/forum-post/index.js.map +1 -1
- package/es/molecule/forum/forum-thread/index.js +1 -5
- 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 +0 -4
- 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 +0 -5
- package/es/molecule/icon-picker-modal/index.js.map +1 -1
- package/es/molecule/icon-picker-modal/use-icon-search.js +0 -2
- package/es/molecule/icon-picker-modal/use-icon-search.js.map +1 -1
- package/es/molecule/input-text-with-titled-checkbox/index.js +0 -2
- package/es/molecule/input-text-with-titled-checkbox/index.js.map +1 -1
- package/es/molecule/learner-skill-card/index.js +0 -4
- package/es/molecule/learner-skill-card/index.js.map +1 -1
- package/es/molecule/learning-priority-card/index.js +0 -4
- 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 +4 -14
- package/es/molecule/learning-priority-modal/index.js.map +1 -1
- package/es/molecule/learning-priority-setup-item/index.js +0 -6
- package/es/molecule/learning-priority-setup-item/index.js.map +1 -1
- package/es/molecule/learning-profile-radar-chart/index.js +18 -50
- package/es/molecule/learning-profile-radar-chart/index.js.map +1 -1
- package/es/molecule/learning-profile-radar-chart/types.js +5 -2
- package/es/molecule/learning-profile-radar-chart/types.js.map +1 -1
- package/es/molecule/list-badges/index.js +0 -2
- package/es/molecule/list-badges/index.js.map +1 -1
- package/es/molecule/login-alert/index.js +2 -3
- package/es/molecule/login-alert/index.js.map +1 -1
- package/es/molecule/menu-links/index.js +0 -4
- 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 +0 -2
- package/es/molecule/menu-list/index.js.map +1 -1
- package/es/molecule/message-popin/index.js +0 -2
- package/es/molecule/message-popin/index.js.map +1 -1
- package/es/molecule/modal/index.js +6 -7
- package/es/molecule/modal/index.js.map +1 -1
- package/es/molecule/module-bubble/index.js +0 -6
- package/es/molecule/module-bubble/index.js.map +1 -1
- package/es/molecule/module-card/index.js +3 -8
- package/es/molecule/module-card/index.js.map +1 -1
- package/es/molecule/news/index.js +1 -4
- package/es/molecule/news/index.js.map +1 -1
- package/es/molecule/notification-banner/index.js +0 -7
- package/es/molecule/notification-banner/index.js.map +1 -1
- package/es/molecule/pagination/index.js +0 -2
- package/es/molecule/pagination/index.js.map +1 -1
- package/es/molecule/payment-form/index.js +3 -16
- package/es/molecule/payment-form/index.js.map +1 -1
- package/es/molecule/pdf/index.js +2 -6
- package/es/molecule/pdf/index.js.map +1 -1
- package/es/molecule/playlist-detail-cover/index.js +0 -2
- package/es/molecule/playlist-detail-cover/index.js.map +1 -1
- package/es/molecule/popin/index.js +5 -10
- package/es/molecule/popin/index.js.map +1 -1
- package/es/molecule/privacy-policy-contact/index.js +2 -3
- 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 +0 -4
- package/es/molecule/product-card/index.js.map +1 -1
- package/es/molecule/progress-bar/index.js +3 -9
- package/es/molecule/progress-bar/index.js.map +1 -1
- package/es/molecule/progress-wrapper/index.js +7 -14
- package/es/molecule/progress-wrapper/index.js.map +1 -1
- package/es/molecule/questions/drop-down/index.js +0 -4
- package/es/molecule/questions/drop-down/index.js.map +1 -1
- package/es/molecule/questions/free-text/index.js +11 -16
- package/es/molecule/questions/free-text/index.js.map +1 -1
- package/es/molecule/questions/free-text/index.native.js +16 -16
- package/es/molecule/questions/free-text/index.native.js.map +1 -1
- package/es/molecule/questions/mobile/draggable/index.native.js +0 -11
- package/es/molecule/questions/mobile/draggable/index.native.js.map +1 -1
- package/es/molecule/questions/mobile/slider/index.native.js +6 -13
- package/es/molecule/questions/mobile/slider/index.native.js.map +1 -1
- package/es/molecule/questions/mobile/switch/index.native.js +0 -13
- package/es/molecule/questions/mobile/switch/index.native.js.map +1 -1
- package/es/molecule/questions/mobile/template/index.native.js +4 -21
- package/es/molecule/questions/mobile/template/index.native.js.map +1 -1
- package/es/molecule/questions/qcm/index.js +8 -11
- package/es/molecule/questions/qcm/index.js.map +1 -1
- package/es/molecule/questions/qcm-drag/index.js +2 -13
- package/es/molecule/questions/qcm-drag/index.js.map +1 -1
- package/es/molecule/questions/qcm-graphic/index.js +5 -10
- package/es/molecule/questions/qcm-graphic/index.js.map +1 -1
- package/es/molecule/questions/question-range/index.js +12 -19
- package/es/molecule/questions/question-range/index.js.map +1 -1
- package/es/molecule/questions/template/index.js +9 -21
- 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 +0 -28
- package/es/molecule/quick-access-card/index.js.map +1 -1
- package/es/molecule/quick-access-cards-group/index.js +0 -4
- package/es/molecule/quick-access-cards-group/index.js.map +1 -1
- package/es/molecule/resource-player/index.js +17 -37
- package/es/molecule/resource-player/index.js.map +1 -1
- package/es/molecule/review-card-congrats/index.js +3 -8
- 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 -13
- package/es/molecule/review-correction-popin/index.js.map +1 -1
- package/es/molecule/review-correction-popin/index.native.js +4 -11
- 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 +0 -2
- 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 +7 -22
- package/es/molecule/scope-content/index.js.map +1 -1
- package/es/molecule/scope-tabs/index.js +1 -7
- package/es/molecule/scope-tabs/index.js.map +1 -1
- package/es/molecule/search-form/index.js +1 -7
- package/es/molecule/search-form/index.js.map +1 -1
- package/es/molecule/select-multiple/index.js +11 -25
- package/es/molecule/select-multiple/index.js.map +1 -1
- package/es/molecule/setup-cohort-item/index.js +12 -15
- package/es/molecule/setup-cohort-item/index.js.map +1 -1
- package/es/molecule/setup-section/index.js +4 -13
- package/es/molecule/setup-section/index.js.map +1 -1
- package/es/molecule/setup-sections/index.js +0 -3
- package/es/molecule/setup-sections/index.js.map +1 -1
- package/es/molecule/setup-slider/index.js +27 -41
- package/es/molecule/setup-slider/index.js.map +1 -1
- package/es/molecule/share/index.js +6 -15
- package/es/molecule/share/index.js.map +1 -1
- package/es/molecule/skill-card/index.js +0 -3
- package/es/molecule/skill-card/index.js.map +1 -1
- package/es/molecule/skill-card/index.native.js +0 -6
- 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 +1 -9
- package/es/molecule/skill-picker-modal/index.js.map +1 -1
- package/es/molecule/skills-chart-side-information-item/index.js +0 -2
- package/es/molecule/skills-chart-side-information-item/index.js.map +1 -1
- package/es/molecule/skills-chart-side-information-panel/index.js +1 -6
- package/es/molecule/skills-chart-side-information-panel/index.js.map +1 -1
- package/es/molecule/ssmenu-list/index.js +0 -2
- package/es/molecule/ssmenu-list/index.js.map +1 -1
- package/es/molecule/subscription-freemium/index.js +0 -2
- package/es/molecule/subscription-freemium/index.js.map +1 -1
- package/es/molecule/subscription-premium/index.js +0 -6
- package/es/molecule/subscription-premium/index.js.map +1 -1
- package/es/molecule/table/index.js +1 -19
- package/es/molecule/table/index.js.map +1 -1
- package/es/molecule/teams-popin/index.js +0 -2
- package/es/molecule/teams-popin/index.js.map +1 -1
- package/es/molecule/theme-image/index.js +0 -2
- package/es/molecule/theme-image/index.js.map +1 -1
- package/es/molecule/title-and-checkbox-wrapper/index.js +13 -12
- package/es/molecule/title-and-checkbox-wrapper/index.js.map +1 -1
- package/es/molecule/title-radio-wrapper/index.js +0 -4
- 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 +0 -2
- package/es/molecule/titled-checkbox/index.js.map +1 -1
- package/es/molecule/translation-modal/index.js +19 -17
- package/es/molecule/translation-modal/index.js.map +1 -1
- package/es/molecule/unsubscribe/index.js +0 -2
- package/es/molecule/unsubscribe/index.js.map +1 -1
- package/es/molecule/vertical-tabs/index.js +0 -4
- package/es/molecule/vertical-tabs/index.js.map +1 -1
- package/es/molecule/video-iframe/index.js +8 -17
- package/es/molecule/video-iframe/index.js.map +1 -1
- package/es/molecule/video-player/index.js +73 -93
- 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 +9 -34
- 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 +14 -56
- package/es/molecule/video-player/vimeo.js.map +1 -1
- package/es/molecule/video-player-mobile/index.native.js +3 -13
- package/es/molecule/video-player-mobile/index.native.js.map +1 -1
- package/es/molecule/wizard-summary/index.js +2 -18
- package/es/molecule/wizard-summary/index.js.map +1 -1
- package/es/organism/accordion/container/index.js +1 -10
- package/es/organism/accordion/container/index.js.map +1 -1
- package/es/organism/accordion/coorp-manager/index.js +3 -15
- package/es/organism/accordion/coorp-manager/index.js.map +1 -1
- package/es/organism/accordion/coorp-manager/part/index.js +3 -12
- package/es/organism/accordion/coorp-manager/part/index.js.map +1 -1
- package/es/organism/accordion/part/index.js +0 -5
- package/es/organism/accordion/part/index.js.map +1 -1
- package/es/organism/accordion/toggler/index.js +2 -13
- package/es/organism/accordion/toggler/index.js.map +1 -1
- package/es/organism/brand-analytics/analytics-popin.js +0 -6
- package/es/organism/brand-analytics/analytics-popin.js.map +1 -1
- package/es/organism/brand-analytics/index.js +0 -11
- package/es/organism/brand-analytics/index.js.map +1 -1
- package/es/organism/brand-dashboard/index.js +1 -4
- package/es/organism/brand-dashboard/index.js.map +1 -1
- package/es/organism/brand-form/index.js +0 -6
- package/es/organism/brand-form/index.js.map +1 -1
- package/es/organism/brand-learning-priorities/index.js +3 -6
- package/es/organism/brand-learning-priorities/index.js.map +1 -1
- package/es/organism/brand-table/index.js +0 -2
- package/es/organism/brand-table/index.js.map +1 -1
- package/es/organism/brand-upload/index.js +1 -5
- package/es/organism/brand-upload/index.js.map +1 -1
- package/es/organism/cards-grid/index.js +0 -4
- package/es/organism/cards-grid/index.js.map +1 -1
- package/es/organism/cart/index.js +0 -2
- package/es/organism/cart/index.js.map +1 -1
- package/es/organism/content-translation/index.js +7 -10
- package/es/organism/content-translation/index.js.map +1 -1
- package/es/organism/course-selection/index.js +1 -9
- package/es/organism/course-selection/index.js.map +1 -1
- package/es/organism/discussion/index.js +3 -5
- package/es/organism/discussion/index.js.map +1 -1
- package/es/organism/get-the-app/index.js +7 -22
- package/es/organism/get-the-app/index.js.map +1 -1
- package/es/organism/grid-list/index.js +0 -2
- package/es/organism/grid-list/index.js.map +1 -1
- package/es/organism/header/index.js +0 -2
- package/es/organism/header/index.js.map +1 -1
- package/es/organism/header-v2/index.native.js +3 -6
- package/es/organism/header-v2/index.native.js.map +1 -1
- package/es/organism/hero/index.js +0 -4
- package/es/organism/hero/index.js.map +1 -1
- package/es/organism/list-item/index.js +1 -8
- package/es/organism/list-item/index.js.map +1 -1
- package/es/organism/list-items/index.js +6 -11
- package/es/organism/list-items/index.js.map +1 -1
- package/es/organism/mobile-intro-popin/index.native.js +0 -6
- package/es/organism/mobile-intro-popin/index.native.js.map +1 -1
- package/es/organism/mobile-navigation/index.native.js +0 -7
- package/es/organism/mobile-navigation/index.native.js.map +1 -1
- package/es/organism/mooc/image-slider/index.js +1 -6
- package/es/organism/mooc/image-slider/index.js.map +1 -1
- package/es/organism/mooc-footer/index.js +10 -9
- package/es/organism/mooc-footer/index.js.map +1 -1
- package/es/organism/mooc-header/index.js +26 -74
- package/es/organism/mooc-header/index.js.map +1 -1
- package/es/organism/popin/index.js +0 -5
- package/es/organism/popin/index.js.map +1 -1
- package/es/organism/resource-browser/index.js +1 -11
- package/es/organism/resource-browser/index.js.map +1 -1
- package/es/organism/review-congrats/index.js +2 -6
- package/es/organism/review-congrats/index.js.map +1 -1
- package/es/organism/review-congrats/index.native.js +14 -19
- 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 +0 -2
- package/es/organism/review-header/index.js.map +1 -1
- package/es/organism/review-header/index.native.js +1 -4
- 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 +0 -2
- package/es/organism/review-no-skills/index.js.map +1 -1
- package/es/organism/review-no-skills/index.native.js +0 -6
- 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 +0 -2
- package/es/organism/review-skills/index.js.map +1 -1
- package/es/organism/review-skills/index.native.js +0 -3
- 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 +6 -14
- package/es/organism/review-slide/index.js.map +1 -1
- package/es/organism/review-slide/index.native.js +8 -16
- package/es/organism/review-slide/index.native.js.map +1 -1
- package/es/organism/review-slide/prop-types.js +0 -1
- package/es/organism/review-slide/prop-types.js.map +1 -1
- package/es/organism/review-stacked-slides/index.js +2 -9
- package/es/organism/review-stacked-slides/index.js.map +1 -1
- package/es/organism/review-stacked-slides/index.native.js +6 -11
- 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 +4 -12
- package/es/organism/rewards-form/index.js.map +1 -1
- package/es/organism/search-and-chips-results/index.js +1 -7
- package/es/organism/search-and-chips-results/index.js.map +1 -1
- package/es/organism/select-opponents/index.js +2 -3
- 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 +8 -15
- package/es/organism/settings/index.js.map +1 -1
- package/es/organism/setup-header/index.js +0 -5
- package/es/organism/setup-header/index.js.map +1 -1
- package/es/organism/sidebar/index.js +27 -40
- package/es/organism/sidebar/index.js.map +1 -1
- package/es/organism/slider/index.js +2 -18
- package/es/organism/slider/index.js.map +1 -1
- package/es/organism/title-and-input/index.js +1 -7
- 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 -17
- package/es/organism/user-preferences/index.js.map +1 -1
- package/es/organism/wizard-contents/index.js +24 -30
- package/es/organism/wizard-contents/index.js.map +1 -1
- package/es/template/activity/engine-stars.js +7 -19
- package/es/template/activity/engine-stars.js.map +1 -1
- package/es/template/activity/index.js +6 -7
- package/es/template/activity/index.js.map +1 -1
- package/es/template/activity/progression-item.js +2 -7
- package/es/template/activity/progression-item.js.map +1 -1
- package/es/template/activity/stars-summary.js +1 -14
- package/es/template/activity/stars-summary.js.map +1 -1
- package/es/template/app-player/loading/index.js +0 -2
- package/es/template/app-player/loading/index.js.map +1 -1
- package/es/template/app-player/player/index.js +1 -4
- package/es/template/app-player/player/index.js.map +1 -1
- package/es/template/app-player/player/slides/footer/index.js +26 -39
- package/es/template/app-player/player/slides/footer/index.js.map +1 -1
- package/es/template/app-player/player/slides/header/index.js +0 -2
- package/es/template/app-player/player/slides/header/index.js.map +1 -1
- package/es/template/app-player/player/slides/header/learner.js +5 -15
- package/es/template/app-player/player/slides/header/learner.js.map +1 -1
- package/es/template/app-player/player/slides/header/lives.js +0 -3
- package/es/template/app-player/player/slides/header/lives.js.map +1 -1
- package/es/template/app-player/player/slides/header/microlearning.js +3 -7
- package/es/template/app-player/player/slides/header/microlearning.js.map +1 -1
- package/es/template/app-player/player/slides/index.js +44 -94
- package/es/template/app-player/player/slides/index.js.map +1 -1
- package/es/template/app-player/popin-correction/index.js +17 -43
- package/es/template/app-player/popin-correction/index.js.map +1 -1
- package/es/template/app-player/popin-end/index.js +1 -6
- package/es/template/app-player/popin-end/index.js.map +1 -1
- package/es/template/app-player/popin-end/summary.js +34 -72
- package/es/template/app-player/popin-end/summary.js.map +1 -1
- package/es/template/app-player/popin-header/index.js +17 -52
- package/es/template/app-player/popin-header/index.js.map +1 -1
- package/es/template/app-player/popin-no-access/index.js +0 -2
- package/es/template/app-player/popin-no-access/index.js.map +1 -1
- package/es/template/app-review/demo-ts/index.js +0 -2
- package/es/template/app-review/demo-ts/index.js.map +1 -1
- package/es/template/app-review/demo-ts/index.native.js +0 -2
- 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 +0 -3
- package/es/template/app-review/index.js.map +1 -1
- package/es/template/app-review/index.native.js +2 -4
- 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 +0 -2
- package/es/template/app-review/player/background-review.js.map +1 -1
- package/es/template/app-review/player/index.js +0 -2
- package/es/template/app-review/player/index.js.map +1 -1
- package/es/template/app-review/player/index.native.js +0 -6
- package/es/template/app-review/player/index.native.js.map +1 -1
- package/es/template/app-review/player/prop-types.js +3 -3
- package/es/template/app-review/player/prop-types.js.map +1 -1
- package/es/template/app-review/prop-types.js +3 -3
- package/es/template/app-review/prop-types.js.map +1 -1
- package/es/template/app-review/skills/index.js +0 -2
- package/es/template/app-review/skills/index.js.map +1 -1
- package/es/template/app-review/skills/index.native.js +0 -6
- 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 +0 -5
- 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 -13
- package/es/template/back-office/brand-list/index.js.map +1 -1
- package/es/template/back-office/brand-update/index.js +44 -46
- package/es/template/back-office/brand-update/index.js.map +1 -1
- package/es/template/back-office/dashboard-preview/dashboard-popin.js +0 -5
- package/es/template/back-office/dashboard-preview/dashboard-popin.js.map +1 -1
- package/es/template/back-office/dashboard-preview/index.js +0 -14
- package/es/template/back-office/dashboard-preview/index.js.map +1 -1
- package/es/template/back-office/layout/index.js +0 -3
- package/es/template/back-office/layout/index.js.map +1 -1
- package/es/template/battle-requests/index.js +2 -3
- package/es/template/battle-requests/index.js.map +1 -1
- package/es/template/certification-detail/index.js +0 -2
- package/es/template/certification-detail/index.js.map +1 -1
- package/es/template/certifications/index.js +4 -7
- package/es/template/certifications/index.js.map +1 -1
- package/es/template/cockpit/jw-uploader/index.js +3 -6
- package/es/template/cockpit/jw-uploader/index.js.map +1 -1
- package/es/template/common/authors/index.js +6 -14
- package/es/template/common/authors/index.js.map +1 -1
- package/es/template/common/coorp-header/content.js +0 -4
- package/es/template/common/coorp-header/content.js.map +1 -1
- package/es/template/common/coorp-header/index.js +0 -2
- package/es/template/common/coorp-header/index.js.map +1 -1
- package/es/template/common/dashboard/index.js +1 -17
- package/es/template/common/dashboard/index.js.map +1 -1
- package/es/template/common/discipline/index.js +0 -2
- 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 +1 -5
- 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 +1 -4
- 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 +1 -4
- 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 +1 -7
- package/es/template/common/search-page/index.js.map +1 -1
- package/es/template/external-course/index.js +5 -10
- package/es/template/external-course/index.js.map +1 -1
- package/es/template/mobile-login/confirm-email-sent/index.native.js +2 -7
- 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 +10 -9
- package/es/template/mobile-login/qr-code-scanner/index.native.js.map +1 -1
- package/es/template/mobile-login/receive-email/index.native.js +0 -2
- package/es/template/mobile-login/receive-email/index.native.js.map +1 -1
- package/es/template/mobile-login/welcome/index.native.js +3 -7
- package/es/template/mobile-login/welcome/index.native.js.map +1 -1
- package/es/template/my-learning/index.js +1 -20
- package/es/template/my-learning/index.js.map +1 -1
- package/es/template/playlist-detail/index.d.ts +4 -4
- package/es/template/playlist-detail/index.js +2 -4
- package/es/template/playlist-detail/index.js.map +1 -1
- package/es/template/review-dashboard-skills/index.js +0 -2
- package/es/template/review-dashboard-skills/index.js.map +1 -1
- package/es/template/skill-detail/all-courses.js +1 -12
- package/es/template/skill-detail/all-courses.js.map +1 -1
- package/es/template/skill-detail/continue-learning.js +2 -5
- package/es/template/skill-detail/continue-learning.js.map +1 -1
- package/es/template/skill-detail/index.d.ts +4 -4
- package/es/template/skill-detail/index.js +2 -6
- package/es/template/skill-detail/index.js.map +1 -1
- package/es/template/teams-dashboard/index.js +1 -5
- package/es/template/teams-dashboard/index.js.map +1 -1
- package/es/util/bubbling.js +0 -1
- package/es/util/bubbling.js.map +1 -1
- package/es/util/build-query-string.js +0 -2
- 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 +0 -6
- 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 +0 -2
- package/es/util/get-class-state.js.map +1 -1
- package/es/util/get-clean-uri.js +0 -1
- package/es/util/get-clean-uri.js.map +1 -1
- package/es/util/get-resized-image.js +6 -12
- package/es/util/get-resized-image.js.map +1 -1
- package/es/util/get-shadow-box-color-from-primary.js +2 -1
- package/es/util/get-shadow-box-color-from-primary.js.map +1 -1
- package/es/util/image.js +0 -4
- package/es/util/image.js.map +1 -1
- package/es/util/navigation.js +0 -9
- package/es/util/navigation.js.map +1 -1
- package/es/util/parse-template-string.js +0 -6
- 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 +13 -21
- package/es/util/render-with-context.js.map +1 -1
- package/es/util/search-value-included.js +0 -2
- package/es/util/search-value-included.js.map +1 -1
- package/es/util/shallow-compare.js +0 -2
- package/es/util/shallow-compare.js.map +1 -1
- package/es/util/time-format.js +0 -4
- package/es/util/time-format.js.map +1 -1
- package/es/util/use-mobile-keyboard-visibility.js +0 -2
- 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.js.map +1 -1
- package/es/variables/default-mobile-translations.js.map +1 -1
- package/es/variables/shadow.js +0 -1
- 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 +6 -24
- package/lib/atom/autocomplete/index.js.map +1 -1
- package/lib/atom/avatar/index.js +2 -10
- package/lib/atom/avatar/index.js.map +1 -1
- package/lib/atom/battle-opponent/index.js +11 -28
- package/lib/atom/battle-opponent/index.js.map +1 -1
- package/lib/atom/battle-opponent/prop-types.js +2 -6
- package/lib/atom/battle-opponent/prop-types.js.map +1 -1
- package/lib/atom/button/index.js +13 -31
- package/lib/atom/button/index.js.map +1 -1
- package/lib/atom/button/index.native.js +8 -22
- package/lib/atom/button/index.native.js.map +1 -1
- package/lib/atom/button-link/index.js +12 -32
- package/lib/atom/button-link/index.js.map +1 -1
- package/lib/atom/button-link/types.js +2 -8
- package/lib/atom/button-link/types.js.map +1 -1
- package/lib/atom/button-link-icon/index.js +5 -28
- package/lib/atom/button-link-icon/index.js.map +1 -1
- package/lib/atom/button-menu/index.js +7 -20
- package/lib/atom/button-menu/index.js.map +1 -1
- package/lib/atom/button-menu/types.js +3 -8
- package/lib/atom/button-menu/types.js.map +1 -1
- package/lib/atom/card-image-preview/index.js +2 -12
- package/lib/atom/card-image-preview/index.js.map +1 -1
- package/lib/atom/catalog-section/index.js +2 -9
- package/lib/atom/catalog-section/index.js.map +1 -1
- package/lib/atom/centered-text/index.js +2 -9
- package/lib/atom/centered-text/index.js.map +1 -1
- package/lib/atom/checkbox/index.js +8 -23
- package/lib/atom/checkbox/index.js.map +1 -1
- package/lib/atom/checkbox-with-title/index.js +4 -16
- package/lib/atom/checkbox-with-title/index.js.map +1 -1
- package/lib/atom/chip/index.js +12 -29
- package/lib/atom/chip/index.js.map +1 -1
- package/lib/atom/chips/index.js +5 -15
- package/lib/atom/chips/index.js.map +1 -1
- package/lib/atom/choice/index.native.js +15 -36
- package/lib/atom/choice/index.native.js.map +1 -1
- package/lib/atom/circular-progress-bar/index.js +4 -15
- package/lib/atom/circular-progress-bar/index.js.map +1 -1
- package/lib/atom/circular-progress-bar/types.js +2 -6
- package/lib/atom/circular-progress-bar/types.js.map +1 -1
- package/lib/atom/clue/index.js +6 -26
- package/lib/atom/clue/index.js.map +1 -1
- package/lib/atom/content-badge/index.js +2 -11
- package/lib/atom/content-badge/index.js.map +1 -1
- package/lib/atom/cta/index.js +4 -23
- package/lib/atom/cta/index.js.map +1 -1
- package/lib/atom/cta/prop-types.js +2 -7
- package/lib/atom/cta/prop-types.js.map +1 -1
- package/lib/atom/difficulty-level/index.js +2 -17
- package/lib/atom/difficulty-level/index.js.map +1 -1
- package/lib/atom/drag-and-drop/index.js +3 -31
- package/lib/atom/drag-and-drop/index.js.map +1 -1
- package/lib/atom/empty-search-result/index.js +2 -9
- package/lib/atom/empty-search-result/index.js.map +1 -1
- package/lib/atom/gradient/index.native.js +2 -14
- package/lib/atom/gradient/index.native.js.map +1 -1
- package/lib/atom/header-back-button/index.native.js +7 -27
- package/lib/atom/header-back-button/index.native.js.map +1 -1
- package/lib/atom/header-back-icon/index.native.js +2 -10
- package/lib/atom/header-back-icon/index.native.js.map +1 -1
- package/lib/atom/html/index.native.js +31 -36
- package/lib/atom/html/index.native.js.map +1 -1
- package/lib/atom/icon/index.js +11 -33
- package/lib/atom/icon/index.js.map +1 -1
- package/lib/atom/image-background/index.native.js +14 -41
- package/lib/atom/image-background/index.native.js.map +1 -1
- package/lib/atom/input-checkbox/index.js +4 -20
- package/lib/atom/input-checkbox/index.js.map +1 -1
- package/lib/atom/input-color/index.js +4 -15
- package/lib/atom/input-color/index.js.map +1 -1
- package/lib/atom/input-doublestep/index.js +16 -39
- package/lib/atom/input-doublestep/index.js.map +1 -1
- package/lib/atom/input-file-draggable/index.js +8 -22
- package/lib/atom/input-file-draggable/index.js.map +1 -1
- package/lib/atom/input-html/index.js +4 -18
- package/lib/atom/input-html/index.js.map +1 -1
- package/lib/atom/input-html/input-preview.js +4 -11
- package/lib/atom/input-html/input-preview.js.map +1 -1
- package/lib/atom/input-readonly/index.js +2 -9
- package/lib/atom/input-readonly/index.js.map +1 -1
- package/lib/atom/input-search/index.js +4 -18
- package/lib/atom/input-search/index.js.map +1 -1
- package/lib/atom/input-switch/index.js +5 -22
- package/lib/atom/input-switch/index.js.map +1 -1
- package/lib/atom/input-text/index.js +6 -22
- package/lib/atom/input-text/index.js.map +1 -1
- package/lib/atom/input-text-with-title/index.js +5 -14
- package/lib/atom/input-text-with-title/index.js.map +1 -1
- package/lib/atom/input-textarea/index.js +6 -21
- package/lib/atom/input-textarea/index.js.map +1 -1
- package/lib/atom/label/index.js +2 -10
- package/lib/atom/label/index.js.map +1 -1
- package/lib/atom/life/index.js +2 -18
- package/lib/atom/life/index.js.map +1 -1
- package/lib/atom/link/index.js +20 -36
- package/lib/atom/link/index.js.map +1 -1
- package/lib/atom/loader/index.js +2 -11
- package/lib/atom/loader/index.js.map +1 -1
- package/lib/atom/loader/index.native.js +5 -22
- package/lib/atom/loader/index.native.js.map +1 -1
- package/lib/atom/lottie-wrapper/index.js +18 -41
- package/lib/atom/lottie-wrapper/index.js.map +1 -1
- package/lib/atom/lottie-wrapper/prop-types.js +3 -9
- package/lib/atom/lottie-wrapper/prop-types.js.map +1 -1
- package/lib/atom/notification/index.js +2 -11
- package/lib/atom/notification/index.js.map +1 -1
- package/lib/atom/picture/index.js +3 -25
- package/lib/atom/picture/index.js.map +1 -1
- package/lib/atom/picture-background/index.js +2 -13
- package/lib/atom/picture-background/index.js.map +1 -1
- package/lib/atom/promo-code/index.js +2 -10
- package/lib/atom/promo-code/index.js.map +1 -1
- package/lib/atom/provider/index.js +12 -39
- package/lib/atom/provider/index.js.map +1 -1
- package/lib/atom/provider/web-context.js +7 -23
- package/lib/atom/provider/web-context.js.map +1 -1
- package/lib/atom/radio-group/index.js +3 -17
- package/lib/atom/radio-group/index.js.map +1 -1
- package/lib/atom/radio-group/item.js +2 -17
- package/lib/atom/radio-group/item.js.map +1 -1
- package/lib/atom/radio-with-title/index.js +5 -17
- package/lib/atom/radio-with-title/index.js.map +1 -1
- package/lib/atom/radio-with-title/types.js +2 -7
- package/lib/atom/radio-with-title/types.js.map +1 -1
- package/lib/atom/range/handle.js +15 -31
- package/lib/atom/range/handle.js.map +1 -1
- package/lib/atom/range/index.js +5 -34
- package/lib/atom/range/index.js.map +1 -1
- package/lib/atom/resource-miniature/index.js +4 -16
- package/lib/atom/resource-miniature/index.js.map +1 -1
- package/lib/atom/review-presentation/index.js +7 -21
- package/lib/atom/review-presentation/index.js.map +1 -1
- package/lib/atom/review-presentation/index.native.js +7 -24
- package/lib/atom/review-presentation/index.native.js.map +1 -1
- package/lib/atom/review-presentation/prop-types.js +4 -11
- package/lib/atom/review-presentation/prop-types.js.map +1 -1
- package/lib/atom/select/index.js +23 -49
- package/lib/atom/select/index.js.map +1 -1
- package/lib/atom/select-icon/index.js +4 -20
- package/lib/atom/select-icon/index.js.map +1 -1
- package/lib/atom/select-modal/index.native.js +11 -35
- package/lib/atom/select-modal/index.native.js.map +1 -1
- package/lib/atom/slide/index.js +3 -12
- package/lib/atom/slide/index.js.map +1 -1
- package/lib/atom/social-link/index.js +2 -11
- package/lib/atom/social-link/index.js.map +1 -1
- package/lib/atom/space/index.native.js +3 -11
- package/lib/atom/space/index.native.js.map +1 -1
- package/lib/atom/spinner/index.js +2 -8
- package/lib/atom/spinner/index.js.map +1 -1
- package/lib/atom/status-item/index.js +5 -27
- package/lib/atom/status-item/index.js.map +1 -1
- package/lib/atom/status-item/index.native.js +3 -24
- package/lib/atom/status-item/index.native.js.map +1 -1
- package/lib/atom/status-item/types.js +2 -6
- package/lib/atom/status-item/types.js.map +1 -1
- package/lib/atom/tab/index.js +4 -14
- package/lib/atom/tab/index.js.map +1 -1
- package/lib/atom/tab-content/index.js +2 -10
- package/lib/atom/tab-content/index.js.map +1 -1
- package/lib/atom/tag/index.js +8 -25
- package/lib/atom/tag/index.js.map +1 -1
- package/lib/atom/text/index.native.js +5 -16
- package/lib/atom/text/index.native.js.map +1 -1
- package/lib/atom/title/index.js +3 -26
- package/lib/atom/title/index.js.map +1 -1
- package/lib/atom/title/types.js +2 -0
- package/lib/atom/title/types.js.map +1 -1
- package/lib/atom/tooltip/index.js +7 -30
- package/lib/atom/tooltip/index.js.map +1 -1
- package/lib/atom/video-upload/index.js +5 -14
- package/lib/atom/video-upload/index.js.map +1 -1
- package/lib/atom/wizard-steps/index.js +2 -10
- package/lib/atom/wizard-steps/index.js.map +1 -1
- package/lib/globals.d.js.map +1 -1
- package/lib/hoc/animation/index.js +29 -75
- package/lib/hoc/animation/index.js.map +1 -1
- package/lib/hoc/animation-scheduler/index.js +2 -42
- package/lib/hoc/animation-scheduler/index.js.map +1 -1
- package/lib/hoc/modal/index.native.js +5 -21
- package/lib/hoc/modal/index.native.js.map +1 -1
- package/lib/hoc/modal/select/index.native.js +4 -24
- package/lib/hoc/modal/select/index.native.js.map +1 -1
- package/lib/hoc/modal/select-item/index.native.js +8 -24
- package/lib/hoc/modal/select-item/index.native.js.map +1 -1
- package/lib/hoc/swapper/index.js +6 -26
- package/lib/hoc/swapper/index.js.map +1 -1
- package/lib/hoc/touchable/index.native.js +7 -20
- package/lib/hoc/touchable/index.native.js.map +1 -1
- package/lib/hoc/transition/child-prop-types.js +2 -6
- package/lib/hoc/transition/child-prop-types.js.map +1 -1
- package/lib/hoc/transition/index.js +4 -17
- package/lib/hoc/transition/index.js.map +1 -1
- package/lib/hoc/transition/transition-prop-types.js +2 -6
- package/lib/hoc/transition/transition-prop-types.js.map +1 -1
- package/lib/index.js +1 -14
- package/lib/index.js.map +1 -1
- package/lib/molecule/add-to-my-list/index.js +4 -27
- package/lib/molecule/add-to-my-list/index.js.map +1 -1
- package/lib/molecule/answer/index.js +8 -48
- package/lib/molecule/answer/index.js.map +1 -1
- package/lib/molecule/answer/index.native.js +2 -17
- package/lib/molecule/answer/index.native.js.map +1 -1
- package/lib/molecule/answer/prop-types.js +9 -27
- package/lib/molecule/answer/prop-types.js.map +1 -1
- package/lib/molecule/audio/index.js +10 -27
- package/lib/molecule/audio/index.js.map +1 -1
- package/lib/molecule/banner/index.js +4 -35
- package/lib/molecule/banner/index.js.map +1 -1
- package/lib/molecule/base-modal/index.js +9 -31
- package/lib/molecule/base-modal/index.js.map +1 -1
- package/lib/molecule/battle-opponent-list/index.js +5 -19
- package/lib/molecule/battle-opponent-list/index.js.map +1 -1
- package/lib/molecule/battle-opponent-list/prop-types.js +2 -6
- package/lib/molecule/battle-opponent-list/prop-types.js.map +1 -1
- package/lib/molecule/battle-request/index.js +4 -16
- package/lib/molecule/battle-request/index.js.map +1 -1
- package/lib/molecule/brand-card/description.js +2 -10
- package/lib/molecule/brand-card/description.js.map +1 -1
- package/lib/molecule/brand-card/index.js +2 -13
- package/lib/molecule/brand-card/index.js.map +1 -1
- package/lib/molecule/brand-card-create/index.js +2 -10
- package/lib/molecule/brand-card-create/index.js.map +1 -1
- package/lib/molecule/brand-create-form/index.js +4 -16
- package/lib/molecule/brand-create-form/index.js.map +1 -1
- package/lib/molecule/brand-download-box/index.js +2 -13
- package/lib/molecule/brand-download-box/index.js.map +1 -1
- package/lib/molecule/brand-form-group/index.js +53 -100
- package/lib/molecule/brand-form-group/index.js.map +1 -1
- package/lib/molecule/brand-logo/index.native.js +5 -17
- package/lib/molecule/brand-logo/index.native.js.map +1 -1
- package/lib/molecule/brand-tabs/index.js +2 -14
- package/lib/molecule/brand-tabs/index.js.map +1 -1
- package/lib/molecule/brand-upload-box/index.js +2 -20
- package/lib/molecule/brand-upload-box/index.js.map +1 -1
- package/lib/molecule/breadcrumbs/index.js +2 -16
- package/lib/molecule/breadcrumbs/index.js.map +1 -1
- package/lib/molecule/bulk-infos/index.js +3 -15
- package/lib/molecule/bulk-infos/index.js.map +1 -1
- package/lib/molecule/bulk-infos/types.js +2 -7
- package/lib/molecule/bulk-infos/types.js.map +1 -1
- package/lib/molecule/bulk-progress-bar/index.js +2 -17
- package/lib/molecule/bulk-progress-bar/index.js.map +1 -1
- package/lib/molecule/bulk-progress-bar/types.js +2 -6
- package/lib/molecule/bulk-progress-bar/types.js.map +1 -1
- package/lib/molecule/bullet-point-menu-button/index.js +4 -20
- package/lib/molecule/bullet-point-menu-button/index.js.map +1 -1
- package/lib/molecule/bullet-point-menu-button/types.js +2 -7
- package/lib/molecule/bullet-point-menu-button/types.js.map +1 -1
- package/lib/molecule/card/customer.js +3 -14
- package/lib/molecule/card/customer.js.map +1 -1
- package/lib/molecule/card/favorite.js +12 -30
- package/lib/molecule/card/favorite.js.map +1 -1
- package/lib/molecule/card/index.js +9 -45
- package/lib/molecule/card/index.js.map +1 -1
- package/lib/molecule/card/notification.js +2 -15
- package/lib/molecule/card/notification.js.map +1 -1
- package/lib/molecule/card/selectable.js +2 -12
- package/lib/molecule/card/selectable.js.map +1 -1
- package/lib/molecule/card-congrats/index.native.js +8 -25
- package/lib/molecule/card-congrats/index.native.js.map +1 -1
- package/lib/molecule/card-congrats/types.js +2 -0
- package/lib/molecule/card-congrats/types.js.map +1 -1
- package/lib/molecule/card-content/index.js +6 -33
- package/lib/molecule/card-content/index.js.map +1 -1
- package/lib/molecule/card-with-button/index.js +2 -15
- package/lib/molecule/card-with-button/index.js.map +1 -1
- package/lib/molecule/certification-card/index.js +2 -13
- package/lib/molecule/certification-card/index.js.map +1 -1
- package/lib/molecule/cm-popin/index.js +8 -38
- package/lib/molecule/cm-popin/index.js.map +1 -1
- package/lib/molecule/cm-popin/index.native.js +4 -20
- package/lib/molecule/cm-popin/index.native.js.map +1 -1
- package/lib/molecule/cm-popin/types.js +2 -14
- package/lib/molecule/cm-popin/types.js.map +1 -1
- package/lib/molecule/cookie-banner/index.js +2 -13
- package/lib/molecule/cookie-banner/index.js.map +1 -1
- package/lib/molecule/coorp-manager-roles/index.js +5 -14
- package/lib/molecule/coorp-manager-roles/index.js.map +1 -1
- package/lib/molecule/coorpmanager-base-banner/index.js +6 -12
- package/lib/molecule/coorpmanager-base-banner/index.js.map +1 -1
- package/lib/molecule/course-section/index.js +2 -12
- package/lib/molecule/course-section/index.js.map +1 -1
- package/lib/molecule/course-sections/index.js +5 -22
- package/lib/molecule/course-sections/index.js.map +1 -1
- package/lib/molecule/dashboard/battle-request-list/index.js +2 -10
- package/lib/molecule/dashboard/battle-request-list/index.js.map +1 -1
- package/lib/molecule/dashboard/cards-list/index.js +20 -77
- package/lib/molecule/dashboard/cards-list/index.js.map +1 -1
- package/lib/molecule/dashboard/cards-list/prop-types.js +2 -0
- package/lib/molecule/dashboard/cards-list/prop-types.js.map +1 -1
- package/lib/molecule/dashboard/learning-profile-banner/index.js +6 -17
- package/lib/molecule/dashboard/learning-profile-banner/index.js.map +1 -1
- package/lib/molecule/dashboard/news-list/index.js +2 -13
- package/lib/molecule/dashboard/news-list/index.js.map +1 -1
- package/lib/molecule/dashboard/review-banner/index.js +6 -16
- package/lib/molecule/dashboard/review-banner/index.js.map +1 -1
- package/lib/molecule/dashboard/start-battle/index.js +2 -12
- package/lib/molecule/dashboard/start-battle/index.js.map +1 -1
- package/lib/molecule/discipline-associated-skills/index.js +4 -23
- package/lib/molecule/discipline-associated-skills/index.js.map +1 -1
- package/lib/molecule/discipline-cta/index.js +2 -14
- package/lib/molecule/discipline-cta/index.js.map +1 -1
- package/lib/molecule/discipline-header/index.js +11 -28
- package/lib/molecule/discipline-header/index.js.map +1 -1
- package/lib/molecule/discipline-partners/index.js +2 -24
- package/lib/molecule/discipline-partners/index.js.map +1 -1
- package/lib/molecule/discipline-scope/index.js +2 -10
- package/lib/molecule/discipline-scope/index.js.map +1 -1
- package/lib/molecule/drag-and-drop/index.js +8 -28
- package/lib/molecule/drag-and-drop/index.js.map +1 -1
- package/lib/molecule/drag-and-drop/overlay.js +2 -13
- package/lib/molecule/drag-and-drop/overlay.js.map +1 -1
- package/lib/molecule/drag-and-drop/placeholder.js +2 -10
- package/lib/molecule/drag-and-drop/placeholder.js.map +1 -1
- package/lib/molecule/drag-and-drop/upload-report.js +8 -38
- package/lib/molecule/drag-and-drop/upload-report.js.map +1 -1
- package/lib/molecule/drag-and-drop-wrapper/index.js +2 -11
- package/lib/molecule/drag-and-drop-wrapper/index.js.map +1 -1
- package/lib/molecule/draggable/index.js +4 -16
- package/lib/molecule/draggable/index.js.map +1 -1
- package/lib/molecule/draggable-list/index.js +5 -20
- package/lib/molecule/draggable-list/index.js.map +1 -1
- package/lib/molecule/errors-table/index.js +4 -13
- package/lib/molecule/errors-table/index.js.map +1 -1
- package/lib/molecule/errors-table/types.js +2 -8
- package/lib/molecule/errors-table/types.js.map +1 -1
- package/lib/molecule/expandable-item/index.js +3 -14
- package/lib/molecule/expandable-item/index.js.map +1 -1
- package/lib/molecule/expandable-item/types.js +2 -6
- package/lib/molecule/expandable-item/types.js.map +1 -1
- package/lib/molecule/expandable-list/index.js +2 -10
- package/lib/molecule/expandable-list/index.js.map +1 -1
- package/lib/molecule/expandable-list/types.js +2 -7
- package/lib/molecule/expandable-list/types.js.map +1 -1
- package/lib/molecule/expandible-actionable-table/index.js +12 -46
- package/lib/molecule/expandible-actionable-table/index.js.map +1 -1
- package/lib/molecule/expandible-actionable-table/types.js +13 -20
- package/lib/molecule/expandible-actionable-table/types.js.map +1 -1
- package/lib/molecule/external-content-button/index.js +13 -25
- package/lib/molecule/external-content-button/index.js.map +1 -1
- package/lib/molecule/external-content-viewer/index.js +2 -12
- package/lib/molecule/external-content-viewer/index.js.map +1 -1
- package/lib/molecule/feedback/index.js +16 -28
- package/lib/molecule/feedback/index.js.map +1 -1
- package/lib/molecule/filters/filters-wrapper.js +3 -26
- package/lib/molecule/filters/filters-wrapper.js.map +1 -1
- package/lib/molecule/filters/index.js +6 -25
- package/lib/molecule/filters/index.js.map +1 -1
- package/lib/molecule/forum/forum-comment/index.js +2 -17
- package/lib/molecule/forum/forum-comment/index.js.map +1 -1
- package/lib/molecule/forum/forum-post/index.js +2 -18
- package/lib/molecule/forum/forum-post/index.js.map +1 -1
- package/lib/molecule/forum/forum-thread/index.js +3 -13
- package/lib/molecule/forum/forum-thread/index.js.map +1 -1
- package/lib/molecule/forum/post-conditions.js +2 -7
- package/lib/molecule/forum/post-conditions.js.map +1 -1
- package/lib/molecule/go1-banner/index.js +6 -12
- package/lib/molecule/go1-banner/index.js.map +1 -1
- package/lib/molecule/hero/index.js +4 -18
- package/lib/molecule/hero/index.js.map +1 -1
- package/lib/molecule/hero/types.js +2 -8
- package/lib/molecule/hero/types.js.map +1 -1
- package/lib/molecule/icon-picker-modal/index.js +4 -30
- package/lib/molecule/icon-picker-modal/index.js.map +1 -1
- package/lib/molecule/icon-picker-modal/use-icon-search.js +2 -14
- package/lib/molecule/icon-picker-modal/use-icon-search.js.map +1 -1
- package/lib/molecule/input-text-with-titled-checkbox/index.js +2 -11
- package/lib/molecule/input-text-with-titled-checkbox/index.js.map +1 -1
- package/lib/molecule/learner-skill-card/index.js +2 -17
- package/lib/molecule/learner-skill-card/index.js.map +1 -1
- package/lib/molecule/learning-priority-card/index.js +4 -19
- package/lib/molecule/learning-priority-card/index.js.map +1 -1
- package/lib/molecule/learning-priority-card/types.js +2 -6
- package/lib/molecule/learning-priority-card/types.js.map +1 -1
- package/lib/molecule/learning-priority-modal/index.js +8 -36
- package/lib/molecule/learning-priority-modal/index.js.map +1 -1
- package/lib/molecule/learning-priority-setup-item/index.js +4 -20
- package/lib/molecule/learning-priority-setup-item/index.js.map +1 -1
- package/lib/molecule/learning-profile-radar-chart/index.js +22 -76
- package/lib/molecule/learning-profile-radar-chart/index.js.map +1 -1
- package/lib/molecule/learning-profile-radar-chart/types.js +7 -13
- package/lib/molecule/learning-profile-radar-chart/types.js.map +1 -1
- package/lib/molecule/list-badges/index.js +2 -11
- package/lib/molecule/list-badges/index.js.map +1 -1
- package/lib/molecule/login-alert/index.js +4 -11
- package/lib/molecule/login-alert/index.js.map +1 -1
- package/lib/molecule/menu-links/index.js +4 -21
- package/lib/molecule/menu-links/index.js.map +1 -1
- package/lib/molecule/menu-links/types.js +2 -6
- package/lib/molecule/menu-links/types.js.map +1 -1
- package/lib/molecule/menu-list/index.js +2 -13
- package/lib/molecule/menu-list/index.js.map +1 -1
- package/lib/molecule/message-popin/index.js +2 -9
- package/lib/molecule/message-popin/index.js.map +1 -1
- package/lib/molecule/modal/index.js +8 -16
- package/lib/molecule/modal/index.js.map +1 -1
- package/lib/molecule/module-bubble/index.js +2 -15
- package/lib/molecule/module-bubble/index.js.map +1 -1
- package/lib/molecule/module-card/index.js +5 -16
- package/lib/molecule/module-card/index.js.map +1 -1
- package/lib/molecule/news/index.js +3 -14
- package/lib/molecule/news/index.js.map +1 -1
- package/lib/molecule/notification-banner/index.js +2 -17
- package/lib/molecule/notification-banner/index.js.map +1 -1
- package/lib/molecule/pagination/index.js +2 -10
- package/lib/molecule/pagination/index.js.map +1 -1
- package/lib/molecule/payment-form/index.js +5 -24
- package/lib/molecule/payment-form/index.js.map +1 -1
- package/lib/molecule/pdf/index.js +4 -15
- package/lib/molecule/pdf/index.js.map +1 -1
- package/lib/molecule/playlist-detail-cover/index.js +4 -15
- package/lib/molecule/playlist-detail-cover/index.js.map +1 -1
- package/lib/molecule/popin/index.js +9 -22
- package/lib/molecule/popin/index.js.map +1 -1
- package/lib/molecule/privacy-policy-contact/index.js +5 -14
- package/lib/molecule/privacy-policy-contact/index.js.map +1 -1
- package/lib/molecule/privacy-policy-contact/types.js +2 -6
- package/lib/molecule/privacy-policy-contact/types.js.map +1 -1
- package/lib/molecule/product-card/index.js +2 -11
- package/lib/molecule/product-card/index.js.map +1 -1
- package/lib/molecule/progress-bar/index.js +5 -15
- package/lib/molecule/progress-bar/index.js.map +1 -1
- package/lib/molecule/progress-wrapper/index.js +9 -33
- package/lib/molecule/progress-wrapper/index.js.map +1 -1
- package/lib/molecule/questions/drop-down/index.js +4 -15
- package/lib/molecule/questions/drop-down/index.js.map +1 -1
- package/lib/molecule/questions/free-text/index.js +15 -28
- package/lib/molecule/questions/free-text/index.js.map +1 -1
- package/lib/molecule/questions/free-text/index.native.js +19 -27
- package/lib/molecule/questions/free-text/index.native.js.map +1 -1
- package/lib/molecule/questions/mobile/draggable/index.native.js +4 -23
- package/lib/molecule/questions/mobile/draggable/index.native.js.map +1 -1
- package/lib/molecule/questions/mobile/slider/index.native.js +10 -27
- package/lib/molecule/questions/mobile/slider/index.native.js.map +1 -1
- package/lib/molecule/questions/mobile/switch/index.native.js +4 -31
- package/lib/molecule/questions/mobile/switch/index.native.js.map +1 -1
- package/lib/molecule/questions/mobile/template/index.native.js +8 -39
- package/lib/molecule/questions/mobile/template/index.native.js.map +1 -1
- package/lib/molecule/questions/qcm/index.js +12 -27
- package/lib/molecule/questions/qcm/index.js.map +1 -1
- package/lib/molecule/questions/qcm-drag/index.js +6 -29
- package/lib/molecule/questions/qcm-drag/index.js.map +1 -1
- package/lib/molecule/questions/qcm-graphic/index.js +9 -22
- package/lib/molecule/questions/qcm-graphic/index.js.map +1 -1
- package/lib/molecule/questions/question-range/index.js +16 -32
- package/lib/molecule/questions/question-range/index.js.map +1 -1
- package/lib/molecule/questions/template/index.js +11 -32
- package/lib/molecule/questions/template/index.js.map +1 -1
- package/lib/molecule/questions/types.js +2 -0
- package/lib/molecule/questions/types.js.map +1 -1
- package/lib/molecule/quick-access-card/index.js +2 -40
- package/lib/molecule/quick-access-card/index.js.map +1 -1
- package/lib/molecule/quick-access-cards-group/index.js +2 -13
- package/lib/molecule/quick-access-cards-group/index.js.map +1 -1
- package/lib/molecule/resource-player/index.js +25 -61
- package/lib/molecule/resource-player/index.js.map +1 -1
- package/lib/molecule/review-card-congrats/index.js +7 -29
- package/lib/molecule/review-card-congrats/index.js.map +1 -1
- package/lib/molecule/review-card-congrats/prop-types.js +2 -7
- package/lib/molecule/review-card-congrats/prop-types.js.map +1 -1
- package/lib/molecule/review-correction-popin/index.js +14 -29
- package/lib/molecule/review-correction-popin/index.js.map +1 -1
- package/lib/molecule/review-correction-popin/index.native.js +8 -27
- package/lib/molecule/review-correction-popin/index.native.js.map +1 -1
- package/lib/molecule/review-correction-popin/prop-types.js +2 -6
- package/lib/molecule/review-correction-popin/prop-types.js.map +1 -1
- package/lib/molecule/review-header-steps/index.js +2 -13
- package/lib/molecule/review-header-steps/index.js.map +1 -1
- package/lib/molecule/review-header-steps/prop-types.js +2 -7
- package/lib/molecule/review-header-steps/prop-types.js.map +1 -1
- package/lib/molecule/scope-content/index.js +9 -29
- package/lib/molecule/scope-content/index.js.map +1 -1
- package/lib/molecule/scope-tabs/index.js +5 -24
- package/lib/molecule/scope-tabs/index.js.map +1 -1
- package/lib/molecule/search-form/index.js +5 -18
- package/lib/molecule/search-form/index.js.map +1 -1
- package/lib/molecule/select-multiple/index.js +15 -47
- package/lib/molecule/select-multiple/index.js.map +1 -1
- package/lib/molecule/setup-cohort-item/index.js +14 -25
- package/lib/molecule/setup-cohort-item/index.js.map +1 -1
- package/lib/molecule/setup-section/index.js +6 -22
- package/lib/molecule/setup-section/index.js.map +1 -1
- package/lib/molecule/setup-sections/index.js +2 -13
- package/lib/molecule/setup-sections/index.js.map +1 -1
- package/lib/molecule/setup-slider/index.js +29 -61
- package/lib/molecule/setup-slider/index.js.map +1 -1
- package/lib/molecule/share/index.js +10 -34
- package/lib/molecule/share/index.js.map +1 -1
- package/lib/molecule/skill-card/index.js +4 -18
- package/lib/molecule/skill-card/index.js.map +1 -1
- package/lib/molecule/skill-card/index.native.js +3 -16
- package/lib/molecule/skill-card/index.native.js.map +1 -1
- package/lib/molecule/skill-card/prop-types.js +2 -6
- package/lib/molecule/skill-card/prop-types.js.map +1 -1
- package/lib/molecule/skill-picker-modal/index.js +5 -25
- package/lib/molecule/skill-picker-modal/index.js.map +1 -1
- package/lib/molecule/skills-chart-side-information-item/index.js +2 -11
- package/lib/molecule/skills-chart-side-information-item/index.js.map +1 -1
- package/lib/molecule/skills-chart-side-information-panel/index.js +3 -13
- package/lib/molecule/skills-chart-side-information-panel/index.js.map +1 -1
- package/lib/molecule/ssmenu-list/index.js +2 -9
- package/lib/molecule/ssmenu-list/index.js.map +1 -1
- package/lib/molecule/subscription-freemium/index.js +2 -10
- package/lib/molecule/subscription-freemium/index.js.map +1 -1
- package/lib/molecule/subscription-premium/index.js +2 -14
- package/lib/molecule/subscription-premium/index.js.map +1 -1
- package/lib/molecule/table/index.js +3 -32
- package/lib/molecule/table/index.js.map +1 -1
- package/lib/molecule/teams-popin/index.js +2 -13
- package/lib/molecule/teams-popin/index.js.map +1 -1
- package/lib/molecule/theme-image/index.js +2 -11
- package/lib/molecule/theme-image/index.js.map +1 -1
- package/lib/molecule/title-and-checkbox-wrapper/index.js +15 -26
- package/lib/molecule/title-and-checkbox-wrapper/index.js.map +1 -1
- package/lib/molecule/title-radio-wrapper/index.js +2 -15
- package/lib/molecule/title-radio-wrapper/index.js.map +1 -1
- package/lib/molecule/title-radio-wrapper/types.js +2 -9
- package/lib/molecule/title-radio-wrapper/types.js.map +1 -1
- package/lib/molecule/titled-checkbox/index.js +4 -16
- package/lib/molecule/titled-checkbox/index.js.map +1 -1
- package/lib/molecule/translation-modal/index.js +23 -33
- package/lib/molecule/translation-modal/index.js.map +1 -1
- package/lib/molecule/unsubscribe/index.js +2 -11
- package/lib/molecule/unsubscribe/index.js.map +1 -1
- package/lib/molecule/vertical-tabs/index.js +2 -17
- package/lib/molecule/vertical-tabs/index.js.map +1 -1
- package/lib/molecule/video-iframe/index.js +10 -28
- package/lib/molecule/video-iframe/index.js.map +1 -1
- package/lib/molecule/video-player/index.js +75 -104
- package/lib/molecule/video-player/index.js.map +1 -1
- package/lib/molecule/video-player/jwplayer-prop-types.js +2 -7
- package/lib/molecule/video-player/jwplayer-prop-types.js.map +1 -1
- package/lib/molecule/video-player/jwplayer.js +11 -44
- package/lib/molecule/video-player/jwplayer.js.map +1 -1
- package/lib/molecule/video-player/prop-types.js +3 -9
- package/lib/molecule/video-player/prop-types.js.map +1 -1
- package/lib/molecule/video-player/vimeo.js +20 -62
- package/lib/molecule/video-player/vimeo.js.map +1 -1
- package/lib/molecule/video-player-mobile/index.native.js +5 -24
- package/lib/molecule/video-player-mobile/index.native.js.map +1 -1
- package/lib/molecule/wizard-summary/index.js +6 -33
- package/lib/molecule/wizard-summary/index.js.map +1 -1
- package/lib/organism/accordion/container/index.js +5 -24
- package/lib/organism/accordion/container/index.js.map +1 -1
- package/lib/organism/accordion/coorp-manager/index.js +7 -28
- package/lib/organism/accordion/coorp-manager/index.js.map +1 -1
- package/lib/organism/accordion/coorp-manager/part/index.js +5 -26
- package/lib/organism/accordion/coorp-manager/part/index.js.map +1 -1
- package/lib/organism/accordion/part/index.js +2 -15
- package/lib/organism/accordion/part/index.js.map +1 -1
- package/lib/organism/accordion/toggler/index.js +4 -25
- package/lib/organism/accordion/toggler/index.js.map +1 -1
- package/lib/organism/brand-analytics/analytics-popin.js +2 -17
- package/lib/organism/brand-analytics/analytics-popin.js.map +1 -1
- package/lib/organism/brand-analytics/index.js +2 -25
- package/lib/organism/brand-analytics/index.js.map +1 -1
- package/lib/organism/brand-dashboard/index.js +3 -14
- package/lib/organism/brand-dashboard/index.js.map +1 -1
- package/lib/organism/brand-form/index.js +4 -23
- package/lib/organism/brand-form/index.js.map +1 -1
- package/lib/organism/brand-learning-priorities/index.js +7 -23
- package/lib/organism/brand-learning-priorities/index.js.map +1 -1
- package/lib/organism/brand-table/index.js +2 -15
- package/lib/organism/brand-table/index.js.map +1 -1
- package/lib/organism/brand-upload/index.js +3 -17
- package/lib/organism/brand-upload/index.js.map +1 -1
- package/lib/organism/cards-grid/index.js +2 -12
- package/lib/organism/cards-grid/index.js.map +1 -1
- package/lib/organism/cart/index.js +2 -14
- package/lib/organism/cart/index.js.map +1 -1
- package/lib/organism/content-translation/index.js +9 -22
- package/lib/organism/content-translation/index.js.map +1 -1
- package/lib/organism/course-selection/index.js +3 -22
- package/lib/organism/course-selection/index.js.map +1 -1
- package/lib/organism/discussion/index.js +5 -18
- package/lib/organism/discussion/index.js.map +1 -1
- package/lib/organism/get-the-app/index.js +9 -30
- package/lib/organism/get-the-app/index.js.map +1 -1
- package/lib/organism/grid-list/index.js +2 -9
- package/lib/organism/grid-list/index.js.map +1 -1
- package/lib/organism/header/index.js +2 -12
- package/lib/organism/header/index.js.map +1 -1
- package/lib/organism/header-v2/index.native.js +8 -24
- package/lib/organism/header-v2/index.native.js.map +1 -1
- package/lib/organism/hero/index.js +2 -14
- package/lib/organism/hero/index.js.map +1 -1
- package/lib/organism/list-item/index.js +3 -25
- package/lib/organism/list-item/index.js.map +1 -1
- package/lib/organism/list-items/index.js +8 -27
- package/lib/organism/list-items/index.js.map +1 -1
- package/lib/organism/mobile-intro-popin/index.native.js +4 -20
- package/lib/organism/mobile-intro-popin/index.native.js.map +1 -1
- package/lib/organism/mobile-navigation/index.native.js +4 -21
- package/lib/organism/mobile-navigation/index.native.js.map +1 -1
- package/lib/organism/mooc/image-slider/index.js +3 -13
- package/lib/organism/mooc/image-slider/index.js.map +1 -1
- package/lib/organism/mooc-footer/index.js +12 -25
- package/lib/organism/mooc-footer/index.js.map +1 -1
- package/lib/organism/mooc-header/index.js +28 -86
- package/lib/organism/mooc-header/index.js.map +1 -1
- package/lib/organism/popin/index.js +2 -15
- package/lib/organism/popin/index.js.map +1 -1
- package/lib/organism/resource-browser/index.js +3 -20
- package/lib/organism/resource-browser/index.js.map +1 -1
- package/lib/organism/review-congrats/index.js +6 -22
- package/lib/organism/review-congrats/index.js.map +1 -1
- package/lib/organism/review-congrats/index.native.js +18 -36
- package/lib/organism/review-congrats/index.native.js.map +1 -1
- package/lib/organism/review-congrats/prop-types.js +2 -8
- package/lib/organism/review-congrats/prop-types.js.map +1 -1
- package/lib/organism/review-header/index.js +4 -18
- package/lib/organism/review-header/index.js.map +1 -1
- package/lib/organism/review-header/index.native.js +3 -14
- package/lib/organism/review-header/index.native.js.map +1 -1
- package/lib/organism/review-header/types.js +2 -7
- package/lib/organism/review-header/types.js.map +1 -1
- package/lib/organism/review-no-skills/index.js +2 -10
- package/lib/organism/review-no-skills/index.js.map +1 -1
- package/lib/organism/review-no-skills/index.native.js +3 -16
- package/lib/organism/review-no-skills/index.native.js.map +1 -1
- package/lib/organism/review-no-skills/prop-types.js +2 -6
- package/lib/organism/review-no-skills/prop-types.js.map +1 -1
- package/lib/organism/review-skills/index.js +2 -11
- package/lib/organism/review-skills/index.js.map +1 -1
- package/lib/organism/review-skills/index.native.js +2 -11
- package/lib/organism/review-skills/index.native.js.map +1 -1
- package/lib/organism/review-skills/prop-types.js +2 -7
- package/lib/organism/review-skills/prop-types.js.map +1 -1
- package/lib/organism/review-slide/index.js +10 -34
- package/lib/organism/review-slide/index.js.map +1 -1
- package/lib/organism/review-slide/index.native.js +12 -39
- package/lib/organism/review-slide/index.native.js.map +1 -1
- package/lib/organism/review-slide/prop-types.js +3 -12
- package/lib/organism/review-slide/prop-types.js.map +1 -1
- package/lib/organism/review-stacked-slides/index.js +5 -23
- package/lib/organism/review-stacked-slides/index.js.map +1 -1
- package/lib/organism/review-stacked-slides/index.native.js +10 -26
- package/lib/organism/review-stacked-slides/index.native.js.map +1 -1
- package/lib/organism/review-stacked-slides/prop-types.js +4 -11
- package/lib/organism/review-stacked-slides/prop-types.js.map +1 -1
- package/lib/organism/rewards-form/index.js +6 -21
- package/lib/organism/rewards-form/index.js.map +1 -1
- package/lib/organism/search-and-chips-results/index.js +3 -19
- package/lib/organism/search-and-chips-results/index.js.map +1 -1
- package/lib/organism/select-opponents/index.js +2 -12
- package/lib/organism/select-opponents/index.js.map +1 -1
- package/lib/organism/select-opponents/types.js +3 -9
- package/lib/organism/select-opponents/types.js.map +1 -1
- package/lib/organism/settings/index.js +10 -31
- package/lib/organism/settings/index.js.map +1 -1
- package/lib/organism/setup-header/index.js +2 -18
- package/lib/organism/setup-header/index.js.map +1 -1
- package/lib/organism/sidebar/index.js +31 -77
- package/lib/organism/sidebar/index.js.map +1 -1
- package/lib/organism/slider/index.js +4 -27
- package/lib/organism/slider/index.js.map +1 -1
- package/lib/organism/title-and-input/index.js +3 -18
- package/lib/organism/title-and-input/index.js.map +1 -1
- package/lib/organism/title-and-input/types.js +2 -10
- package/lib/organism/title-and-input/types.js.map +1 -1
- package/lib/organism/user-preferences/index.js +11 -33
- package/lib/organism/user-preferences/index.js.map +1 -1
- package/lib/organism/wizard-contents/index.js +26 -54
- package/lib/organism/wizard-contents/index.js.map +1 -1
- package/lib/template/activity/engine-stars.js +11 -34
- package/lib/template/activity/engine-stars.js.map +1 -1
- package/lib/template/activity/index.js +10 -34
- package/lib/template/activity/index.js.map +1 -1
- package/lib/template/activity/progression-item.js +6 -22
- package/lib/template/activity/progression-item.js.map +1 -1
- package/lib/template/activity/stars-summary.js +5 -28
- package/lib/template/activity/stars-summary.js.map +1 -1
- package/lib/template/app-player/loading/index.js +2 -11
- package/lib/template/app-player/loading/index.js.map +1 -1
- package/lib/template/app-player/player/index.js +3 -13
- package/lib/template/app-player/player/index.js.map +1 -1
- package/lib/template/app-player/player/slides/footer/index.js +28 -46
- package/lib/template/app-player/player/slides/footer/index.js.map +1 -1
- package/lib/template/app-player/player/slides/header/index.js +3 -14
- package/lib/template/app-player/player/slides/header/index.js.map +1 -1
- package/lib/template/app-player/player/slides/header/learner.js +7 -24
- package/lib/template/app-player/player/slides/header/learner.js.map +1 -1
- package/lib/template/app-player/player/slides/header/lives.js +2 -12
- package/lib/template/app-player/player/slides/header/lives.js.map +1 -1
- package/lib/template/app-player/player/slides/header/microlearning.js +5 -18
- package/lib/template/app-player/player/slides/header/microlearning.js.map +1 -1
- package/lib/template/app-player/player/slides/index.js +48 -127
- package/lib/template/app-player/player/slides/index.js.map +1 -1
- package/lib/template/app-player/popin-correction/index.js +21 -64
- package/lib/template/app-player/popin-correction/index.js.map +1 -1
- package/lib/template/app-player/popin-end/index.js +3 -16
- package/lib/template/app-player/popin-end/index.js.map +1 -1
- package/lib/template/app-player/popin-end/summary.js +36 -90
- package/lib/template/app-player/popin-end/summary.js.map +1 -1
- package/lib/template/app-player/popin-header/index.js +21 -78
- package/lib/template/app-player/popin-header/index.js.map +1 -1
- package/lib/template/app-player/popin-no-access/index.js +2 -9
- package/lib/template/app-player/popin-no-access/index.js.map +1 -1
- package/lib/template/app-review/demo-ts/index.js +2 -8
- package/lib/template/app-review/demo-ts/index.js.map +1 -1
- package/lib/template/app-review/demo-ts/index.native.js +2 -8
- package/lib/template/app-review/demo-ts/index.native.js.map +1 -1
- package/lib/template/app-review/demo-ts/typings.js +2 -6
- package/lib/template/app-review/demo-ts/typings.js.map +1 -1
- package/lib/template/app-review/index.js +2 -11
- package/lib/template/app-review/index.js.map +1 -1
- package/lib/template/app-review/index.native.js +6 -19
- package/lib/template/app-review/index.native.js.map +1 -1
- package/lib/template/app-review/onboarding/index.js +2 -6
- package/lib/template/app-review/onboarding/index.js.map +1 -1
- package/lib/template/app-review/onboarding/index.native.js +2 -6
- package/lib/template/app-review/onboarding/index.native.js.map +1 -1
- package/lib/template/app-review/player/background-review.js +2 -8
- package/lib/template/app-review/player/background-review.js.map +1 -1
- package/lib/template/app-review/player/index.js +2 -16
- package/lib/template/app-review/player/index.js.map +1 -1
- package/lib/template/app-review/player/index.native.js +4 -21
- package/lib/template/app-review/player/index.native.js.map +1 -1
- package/lib/template/app-review/player/prop-types.js +5 -13
- package/lib/template/app-review/player/prop-types.js.map +1 -1
- package/lib/template/app-review/prop-types.js +5 -10
- package/lib/template/app-review/prop-types.js.map +1 -1
- package/lib/template/app-review/skills/index.js +2 -13
- package/lib/template/app-review/skills/index.js.map +1 -1
- package/lib/template/app-review/skills/index.native.js +4 -21
- package/lib/template/app-review/skills/index.native.js.map +1 -1
- package/lib/template/app-review/skills/prop-types.js +2 -7
- package/lib/template/app-review/skills/prop-types.js.map +1 -1
- package/lib/template/app-review/template-context.js +3 -18
- package/lib/template/app-review/template-context.js.map +1 -1
- package/lib/template/back-office/brand-create/index.js +2 -11
- package/lib/template/back-office/brand-create/index.js.map +1 -1
- package/lib/template/back-office/brand-list/index.js +7 -29
- package/lib/template/back-office/brand-list/index.js.map +1 -1
- package/lib/template/back-office/brand-update/index.js +46 -77
- package/lib/template/back-office/brand-update/index.js.map +1 -1
- package/lib/template/back-office/dashboard-preview/dashboard-popin.js +2 -15
- package/lib/template/back-office/dashboard-preview/dashboard-popin.js.map +1 -1
- package/lib/template/back-office/dashboard-preview/index.js +2 -33
- package/lib/template/back-office/dashboard-preview/index.js.map +1 -1
- package/lib/template/back-office/layout/index.js +2 -12
- package/lib/template/back-office/layout/index.js.map +1 -1
- package/lib/template/battle-requests/index.js +4 -15
- package/lib/template/battle-requests/index.js.map +1 -1
- package/lib/template/certification-detail/index.js +4 -28
- package/lib/template/certification-detail/index.js.map +1 -1
- package/lib/template/certifications/index.js +8 -23
- package/lib/template/certifications/index.js.map +1 -1
- package/lib/template/cockpit/jw-uploader/index.js +5 -17
- package/lib/template/cockpit/jw-uploader/index.js.map +1 -1
- package/lib/template/common/authors/index.js +8 -25
- package/lib/template/common/authors/index.js.map +1 -1
- package/lib/template/common/coorp-header/content.js +2 -9
- package/lib/template/common/coorp-header/content.js.map +1 -1
- package/lib/template/common/coorp-header/index.js +2 -10
- package/lib/template/common/coorp-header/index.js.map +1 -1
- package/lib/template/common/dashboard/index.js +3 -37
- package/lib/template/common/dashboard/index.js.map +1 -1
- package/lib/template/common/discipline/index.js +4 -26
- package/lib/template/common/discipline/index.js.map +1 -1
- package/lib/template/common/faq-article-page/index.js +4 -14
- package/lib/template/common/faq-article-page/index.js.map +1 -1
- package/lib/template/common/faq-article-page/types.js +2 -7
- package/lib/template/common/faq-article-page/types.js.map +1 -1
- package/lib/template/common/faq-cards-page/index.js +3 -15
- package/lib/template/common/faq-cards-page/index.js.map +1 -1
- package/lib/template/common/faq-cards-page/types.js +2 -8
- package/lib/template/common/faq-cards-page/types.js.map +1 -1
- package/lib/template/common/faq-page/index.js +3 -15
- package/lib/template/common/faq-page/index.js.map +1 -1
- package/lib/template/common/faq-page/types.js +2 -10
- package/lib/template/common/faq-page/types.js.map +1 -1
- package/lib/template/common/privacy-policy-page/index.js +3 -15
- package/lib/template/common/privacy-policy-page/index.js.map +1 -1
- package/lib/template/common/privacy-policy-page/types.js +2 -10
- package/lib/template/common/privacy-policy-page/types.js.map +1 -1
- package/lib/template/common/search-page/index.js +5 -23
- package/lib/template/common/search-page/index.js.map +1 -1
- package/lib/template/external-course/index.js +9 -33
- package/lib/template/external-course/index.js.map +1 -1
- package/lib/template/mobile-login/confirm-email-sent/index.native.js +6 -24
- 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 +12 -28
- package/lib/template/mobile-login/qr-code-scanner/index.native.js.map +1 -1
- package/lib/template/mobile-login/receive-email/index.native.js +4 -18
- package/lib/template/mobile-login/receive-email/index.native.js.map +1 -1
- package/lib/template/mobile-login/welcome/index.native.js +6 -26
- package/lib/template/mobile-login/welcome/index.native.js.map +1 -1
- package/lib/template/my-learning/index.js +5 -49
- package/lib/template/my-learning/index.js.map +1 -1
- package/lib/template/playlist-detail/index.d.ts +4 -4
- package/lib/template/playlist-detail/index.js +6 -27
- package/lib/template/playlist-detail/index.js.map +1 -1
- package/lib/template/review-dashboard-skills/index.js +2 -11
- package/lib/template/review-dashboard-skills/index.js.map +1 -1
- package/lib/template/skill-detail/all-courses.js +5 -34
- package/lib/template/skill-detail/all-courses.js.map +1 -1
- package/lib/template/skill-detail/continue-learning.js +6 -21
- package/lib/template/skill-detail/continue-learning.js.map +1 -1
- package/lib/template/skill-detail/index.d.ts +4 -4
- package/lib/template/skill-detail/index.js +6 -29
- package/lib/template/skill-detail/index.js.map +1 -1
- package/lib/template/teams-dashboard/index.js +5 -21
- package/lib/template/teams-dashboard/index.js.map +1 -1
- package/lib/util/bubbling.js +1 -4
- package/lib/util/bubbling.js.map +1 -1
- package/lib/util/build-query-string.js +2 -7
- package/lib/util/build-query-string.js.map +1 -1
- package/lib/util/button-icons.js +2 -7
- package/lib/util/button-icons.js.map +1 -1
- package/lib/util/check-is-mobile.js +0 -2
- package/lib/util/check-is-mobile.js.map +1 -1
- package/lib/util/closest-step.js +1 -9
- package/lib/util/closest-step.js.map +1 -1
- package/lib/util/constants.js +1 -2
- package/lib/util/constants.js.map +1 -1
- package/lib/util/external-content.js +3 -10
- package/lib/util/external-content.js.map +1 -1
- package/lib/util/get-class-state.js +1 -5
- package/lib/util/get-class-state.js.map +1 -1
- package/lib/util/get-clean-uri.js +1 -4
- package/lib/util/get-clean-uri.js.map +1 -1
- package/lib/util/get-resized-image.js +8 -19
- package/lib/util/get-resized-image.js.map +1 -1
- package/lib/util/get-shadow-box-color-from-primary.js +0 -3
- package/lib/util/get-shadow-box-color-from-primary.js.map +1 -1
- package/lib/util/image.js +2 -8
- package/lib/util/image.js.map +1 -1
- package/lib/util/navigation.js +3 -16
- package/lib/util/navigation.js.map +1 -1
- package/lib/util/parse-template-string.js +2 -12
- package/lib/util/parse-template-string.js.map +1 -1
- package/lib/util/proptypes.js +6 -27
- package/lib/util/proptypes.js.map +1 -1
- package/lib/util/render-with-context.js +16 -35
- package/lib/util/render-with-context.js.map +1 -1
- package/lib/util/search-value-included.js +2 -9
- package/lib/util/search-value-included.js.map +1 -1
- package/lib/util/shallow-compare.js +2 -7
- package/lib/util/shallow-compare.js.map +1 -1
- package/lib/util/time-format.js +0 -4
- package/lib/util/time-format.js.map +1 -1
- package/lib/util/use-mobile-keyboard-visibility.js +1 -8
- package/lib/util/use-mobile-keyboard-visibility.js.map +1 -1
- package/lib/variables/analytics.js +1 -2
- package/lib/variables/analytics.js.map +1 -1
- package/lib/variables/brand.native.js +1 -2
- package/lib/variables/brand.native.js.map +1 -1
- package/lib/variables/colors.js +1 -2
- package/lib/variables/colors.js.map +1 -1
- package/lib/variables/default-mobile-translations.js +1 -2
- package/lib/variables/default-mobile-translations.js.map +1 -1
- package/lib/variables/shadow.js +1 -3
- package/lib/variables/shadow.js.map +1 -1
- package/lib/variables/theme.native.js +2 -6
- package/lib/variables/theme.native.js.map +1 -1
- package/lib/variables/vibration.js +1 -2
- package/lib/variables/vibration.js.map +1 -1
- package/package.json +16 -29
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
2
|
-
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
3
2
|
import React from 'react';
|
|
4
3
|
import PropTypes from 'prop-types';
|
|
5
4
|
import isNil from 'lodash/fp/isNil';
|
|
@@ -12,7 +11,6 @@ import SelectMultiple from '../../molecule/select-multiple';
|
|
|
12
11
|
import ExpandibleActionableTable from '../../molecule/expandible-actionable-table';
|
|
13
12
|
import Loader from '../../atom/loader';
|
|
14
13
|
import style from './style.css';
|
|
15
|
-
|
|
16
14
|
const buildListItemsView = (content, ariaLabel, selectMultiple) => {
|
|
17
15
|
const {
|
|
18
16
|
items,
|
|
@@ -22,7 +20,8 @@ const buildListItemsView = (content, ariaLabel, selectMultiple) => {
|
|
|
22
20
|
tableHeader
|
|
23
21
|
} = content;
|
|
24
22
|
const itemsView = isDraggable && items.length > 1 ? /*#__PURE__*/React.createElement(DraggableList, {
|
|
25
|
-
items: items.map(item =>
|
|
23
|
+
items: items.map(item => ({
|
|
24
|
+
...item,
|
|
26
25
|
contentType: itemType
|
|
27
26
|
})),
|
|
28
27
|
itemType: "list-item",
|
|
@@ -61,21 +60,17 @@ const buildListItemsView = (content, ariaLabel, selectMultiple) => {
|
|
|
61
60
|
"data-name": 'content-list'
|
|
62
61
|
}, itemsView));
|
|
63
62
|
};
|
|
64
|
-
|
|
65
63
|
const buildContentView = (content, ariaLabel, selectMultiple) => {
|
|
66
64
|
const {
|
|
67
65
|
type
|
|
68
66
|
} = content;
|
|
69
|
-
|
|
70
67
|
switch (type) {
|
|
71
68
|
case 'list':
|
|
72
69
|
return buildListItemsView(content, ariaLabel, selectMultiple);
|
|
73
|
-
|
|
74
70
|
case 'expandible-actionable-table':
|
|
75
71
|
return /*#__PURE__*/React.createElement(ExpandibleActionableTable, content);
|
|
76
72
|
}
|
|
77
73
|
};
|
|
78
|
-
|
|
79
74
|
const ListItems = ({
|
|
80
75
|
title,
|
|
81
76
|
buttonLink,
|
|
@@ -104,7 +99,6 @@ const ListItems = ({
|
|
|
104
99
|
theme: "coorpmanager"
|
|
105
100
|
})) : contentView);
|
|
106
101
|
};
|
|
107
|
-
|
|
108
102
|
ListItems.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
109
103
|
'aria-label': PropTypes.string,
|
|
110
104
|
buttonLink: PropTypes.shape(ButtonLink.propTypes),
|
|
@@ -116,9 +110,10 @@ ListItems.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
116
110
|
onDrop: PropTypes.func,
|
|
117
111
|
isDraggable: PropTypes.bool,
|
|
118
112
|
tableHeader: PropTypes.arrayOf(PropTypes.string)
|
|
119
|
-
}), PropTypes.shape(
|
|
113
|
+
}), PropTypes.shape({
|
|
114
|
+
...ExpandibleActionableTable.propTypes,
|
|
120
115
|
type: PropTypes.oneOf(['expandible-actionable-table'])
|
|
121
|
-
})
|
|
116
|
+
})]),
|
|
122
117
|
title: PropTypes.string,
|
|
123
118
|
isFetching: PropTypes.bool
|
|
124
119
|
} : {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["React","PropTypes","isNil","isEmpty","ListItem","DraggableList","Title","ButtonLink","SelectMultiple","ExpandibleActionableTable","Loader","style","buildListItemsView","content","ariaLabel","selectMultiple","items","itemType","onDrop","isDraggable","tableHeader","itemsView","length","map","item","contentType","index","id","tableHeaderView","tableHeaderWrapper","dataColumnsWrapper","tableHeaderItem","flexGrow","flexShrink","flexBasis","settings","list","listWithSelectMultiple","buildContentView","type","ListItems","title","buttonLink","isFetching","contentView","header","actionsWrapper","loaderContainer","loader","propTypes","string","shape","oneOfType","arrayOf","oneOf","func","bool"],"sources":["../../../src/organism/list-items/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport isNil from 'lodash/fp/isNil';\nimport isEmpty from 'lodash/fp/isEmpty';\nimport ListItem from '../list-item';\nimport DraggableList from '../../molecule/draggable-list';\nimport Title from '../../atom/title';\nimport ButtonLink from '../../atom/button-link';\nimport SelectMultiple from '../../molecule/select-multiple';\nimport ExpandibleActionableTable from '../../molecule/expandible-actionable-table';\nimport Loader from '../../atom/loader';\nimport style from './style.css';\n\nconst buildListItemsView = (content, ariaLabel, selectMultiple) => {\n const {items, itemType, onDrop, isDraggable = false, tableHeader} = content;\n const itemsView =\n isDraggable && items.length > 1 ? (\n <DraggableList\n items={items.map(item => ({...item, contentType: itemType}))}\n itemType=\"list-item\"\n onDrop={onDrop}\n />\n ) : (\n items.map((item, index) => (\n <li key={item.id} className={style.item} data-name={`content-${index}`}>\n <ListItem {...item} order={null} contentType={itemType} />\n </li>\n ))\n );\n const tableHeaderView =\n !isNil(tableHeader) && !isEmpty(tableHeader) ? (\n <div className={style.tableHeaderWrapper}>\n <div className={style.dataColumnsWrapper}>\n {tableHeader.map((tableHeaderItem, index) => (\n <div\n key={`tableHeadeColumn-key-${index}`}\n className={style.tableHeaderItem}\n data-name={`tableHeader-${index}`}\n style={\n index === 0\n ? {flexGrow: 2, flexShrink: 0, flexBasis: 0}\n : {flexGrow: 1, flexShrink: 0, flexBasis: 0}\n }\n >\n {tableHeaderItem}\n </div>\n ))}\n </div>\n <div className={style.settings}>{''}</div>\n </div>\n ) : null;\n return (\n <div>\n {tableHeaderView}\n <ul\n className={!selectMultiple ? style.list : style.listWithSelectMultiple}\n aria-label={ariaLabel}\n data-name={'content-list'}\n >\n {itemsView}\n </ul>\n </div>\n );\n};\n\nconst buildContentView = (content, ariaLabel, selectMultiple) => {\n const {type} = content;\n switch (type) {\n case 'list':\n return buildListItemsView(content, ariaLabel, selectMultiple);\n case 'expandible-actionable-table':\n return <ExpandibleActionableTable {...content} />;\n }\n};\n\nconst ListItems = ({\n title,\n buttonLink,\n selectMultiple,\n content,\n 'aria-label': ariaLabel,\n isFetching\n}) => {\n const contentView = buildContentView(content, ariaLabel, selectMultiple);\n return (\n <div>\n <div className={style.header}>\n <div className={style.title}>\n <Title title={title} type={'form-group'} data-name={'list-title'} />\n </div>\n <div className={style.actionsWrapper}>\n {selectMultiple ? (\n <div className={style.selectMultiple}>\n <SelectMultiple {...selectMultiple} />\n </div>\n ) : null}\n\n <ButtonLink {...buttonLink} />\n </div>\n </div>\n {isFetching ? (\n <div className={style.loaderContainer}>\n <Loader className={style.loader} theme=\"coorpmanager\" />\n </div>\n ) : (\n contentView\n )}\n </div>\n );\n};\n\nListItems.propTypes = {\n 'aria-label': PropTypes.string,\n buttonLink: PropTypes.shape(ButtonLink.propTypes),\n selectMultiple: PropTypes.shape(SelectMultiple.propTypes),\n content: PropTypes.oneOfType([\n PropTypes.shape({\n items: PropTypes.arrayOf(PropTypes.shape(ListItem.propTypes)),\n type: PropTypes.oneOf(['list']),\n itemType: PropTypes.string,\n onDrop: PropTypes.func,\n isDraggable: PropTypes.bool,\n tableHeader: PropTypes.arrayOf(PropTypes.string)\n }),\n PropTypes.shape({\n ...ExpandibleActionableTable.propTypes,\n type: PropTypes.oneOf(['expandible-actionable-table'])\n })\n ]),\n title: PropTypes.string,\n isFetching: PropTypes.bool\n};\n\nexport default ListItems;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","names":["React","PropTypes","isNil","isEmpty","ListItem","DraggableList","Title","ButtonLink","SelectMultiple","ExpandibleActionableTable","Loader","style","buildListItemsView","content","ariaLabel","selectMultiple","items","itemType","onDrop","isDraggable","tableHeader","itemsView","length","createElement","map","item","contentType","index","key","id","className","_extends","order","tableHeaderView","tableHeaderWrapper","dataColumnsWrapper","tableHeaderItem","flexGrow","flexShrink","flexBasis","settings","list","listWithSelectMultiple","buildContentView","type","ListItems","title","buttonLink","isFetching","contentView","header","actionsWrapper","loaderContainer","loader","theme","propTypes","process","env","NODE_ENV","string","shape","oneOfType","arrayOf","oneOf","func","bool"],"sources":["../../../src/organism/list-items/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport isNil from 'lodash/fp/isNil';\nimport isEmpty from 'lodash/fp/isEmpty';\nimport ListItem from '../list-item';\nimport DraggableList from '../../molecule/draggable-list';\nimport Title from '../../atom/title';\nimport ButtonLink from '../../atom/button-link';\nimport SelectMultiple from '../../molecule/select-multiple';\nimport ExpandibleActionableTable from '../../molecule/expandible-actionable-table';\nimport Loader from '../../atom/loader';\nimport style from './style.css';\n\nconst buildListItemsView = (content, ariaLabel, selectMultiple) => {\n const {items, itemType, onDrop, isDraggable = false, tableHeader} = content;\n const itemsView =\n isDraggable && items.length > 1 ? (\n <DraggableList\n items={items.map(item => ({...item, contentType: itemType}))}\n itemType=\"list-item\"\n onDrop={onDrop}\n />\n ) : (\n items.map((item, index) => (\n <li key={item.id} className={style.item} data-name={`content-${index}`}>\n <ListItem {...item} order={null} contentType={itemType} />\n </li>\n ))\n );\n const tableHeaderView =\n !isNil(tableHeader) && !isEmpty(tableHeader) ? (\n <div className={style.tableHeaderWrapper}>\n <div className={style.dataColumnsWrapper}>\n {tableHeader.map((tableHeaderItem, index) => (\n <div\n key={`tableHeadeColumn-key-${index}`}\n className={style.tableHeaderItem}\n data-name={`tableHeader-${index}`}\n style={\n index === 0\n ? {flexGrow: 2, flexShrink: 0, flexBasis: 0}\n : {flexGrow: 1, flexShrink: 0, flexBasis: 0}\n }\n >\n {tableHeaderItem}\n </div>\n ))}\n </div>\n <div className={style.settings}>{''}</div>\n </div>\n ) : null;\n return (\n <div>\n {tableHeaderView}\n <ul\n className={!selectMultiple ? style.list : style.listWithSelectMultiple}\n aria-label={ariaLabel}\n data-name={'content-list'}\n >\n {itemsView}\n </ul>\n </div>\n );\n};\n\nconst buildContentView = (content, ariaLabel, selectMultiple) => {\n const {type} = content;\n switch (type) {\n case 'list':\n return buildListItemsView(content, ariaLabel, selectMultiple);\n case 'expandible-actionable-table':\n return <ExpandibleActionableTable {...content} />;\n }\n};\n\nconst ListItems = ({\n title,\n buttonLink,\n selectMultiple,\n content,\n 'aria-label': ariaLabel,\n isFetching\n}) => {\n const contentView = buildContentView(content, ariaLabel, selectMultiple);\n return (\n <div>\n <div className={style.header}>\n <div className={style.title}>\n <Title title={title} type={'form-group'} data-name={'list-title'} />\n </div>\n <div className={style.actionsWrapper}>\n {selectMultiple ? (\n <div className={style.selectMultiple}>\n <SelectMultiple {...selectMultiple} />\n </div>\n ) : null}\n\n <ButtonLink {...buttonLink} />\n </div>\n </div>\n {isFetching ? (\n <div className={style.loaderContainer}>\n <Loader className={style.loader} theme=\"coorpmanager\" />\n </div>\n ) : (\n contentView\n )}\n </div>\n );\n};\n\nListItems.propTypes = {\n 'aria-label': PropTypes.string,\n buttonLink: PropTypes.shape(ButtonLink.propTypes),\n selectMultiple: PropTypes.shape(SelectMultiple.propTypes),\n content: PropTypes.oneOfType([\n PropTypes.shape({\n items: PropTypes.arrayOf(PropTypes.shape(ListItem.propTypes)),\n type: PropTypes.oneOf(['list']),\n itemType: PropTypes.string,\n onDrop: PropTypes.func,\n isDraggable: PropTypes.bool,\n tableHeader: PropTypes.arrayOf(PropTypes.string)\n }),\n PropTypes.shape({\n ...ExpandibleActionableTable.propTypes,\n type: PropTypes.oneOf(['expandible-actionable-table'])\n })\n ]),\n title: PropTypes.string,\n isFetching: PropTypes.bool\n};\n\nexport default ListItems;\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAClC,OAAOC,KAAK,MAAM,iBAAiB;AACnC,OAAOC,OAAO,MAAM,mBAAmB;AACvC,OAAOC,QAAQ,MAAM,cAAc;AACnC,OAAOC,aAAa,MAAM,+BAA+B;AACzD,OAAOC,KAAK,MAAM,kBAAkB;AACpC,OAAOC,UAAU,MAAM,wBAAwB;AAC/C,OAAOC,cAAc,MAAM,gCAAgC;AAC3D,OAAOC,yBAAyB,MAAM,4CAA4C;AAClF,OAAOC,MAAM,MAAM,mBAAmB;AACtC,OAAOC,KAAK,MAAM,aAAa;AAE/B,MAAMC,kBAAkB,GAAGA,CAACC,OAAO,EAAEC,SAAS,EAAEC,cAAc,KAAK;EACjE,MAAM;IAACC,KAAK;IAAEC,QAAQ;IAAEC,MAAM;IAAEC,WAAW,GAAG,KAAK;IAAEC;EAAW,CAAC,GAAGP,OAAO;EAC3E,MAAMQ,SAAS,GACbF,WAAW,IAAIH,KAAK,CAACM,MAAM,GAAG,CAAC,gBAC7BtB,KAAA,CAAAuB,aAAA,CAAClB,aAAa;IACZW,KAAK,EAAEA,KAAK,CAACQ,GAAG,CAACC,IAAI,KAAK;MAAC,GAAGA,IAAI;MAAEC,WAAW,EAAET;IAAQ,CAAC,CAAC,CAAE;IAC7DA,QAAQ,EAAC,WAAW;IACpBC,MAAM,EAAEA;EAAO,CAChB,CAAC,GAEFF,KAAK,CAACQ,GAAG,CAAC,CAACC,IAAI,EAAEE,KAAK,kBACpB3B,KAAA,CAAAuB,aAAA;IAAIK,GAAG,EAAEH,IAAI,CAACI,EAAG;IAACC,SAAS,EAAEnB,KAAK,CAACc,IAAK;IAAC,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{ NovaSolidStatusClose as CloseIcon } from '@coorpacademy/nova-icons';
|
|
5
5
|
import { useTemplateContext } from '../../template/app-review/template-context';
|
|
6
6
|
import Touchable from '../../hoc/touchable/index.native';
|
|
7
|
-
|
|
8
7
|
const createStyleSheet = (brandTheme, theme) => StyleSheet.create({
|
|
9
8
|
popin: {
|
|
10
9
|
position: 'absolute',
|
|
@@ -92,7 +91,6 @@ const createStyleSheet = (brandTheme, theme) => StyleSheet.create({
|
|
|
92
91
|
fill: '#aeaeae'
|
|
93
92
|
}
|
|
94
93
|
});
|
|
95
|
-
|
|
96
94
|
const PopinIntro = props => {
|
|
97
95
|
const templateContext = useTemplateContext();
|
|
98
96
|
const [styleSheet, setStylesheet] = useState(null);
|
|
@@ -109,14 +107,11 @@ const PopinIntro = props => {
|
|
|
109
107
|
} = props;
|
|
110
108
|
useEffect(() => {
|
|
111
109
|
const _stylesheet = createStyleSheet(brandTheme, theme);
|
|
112
|
-
|
|
113
110
|
setStylesheet(_stylesheet);
|
|
114
111
|
}, [brandTheme, theme]);
|
|
115
|
-
|
|
116
112
|
if (!styleSheet) {
|
|
117
113
|
return null;
|
|
118
114
|
}
|
|
119
|
-
|
|
120
115
|
return /*#__PURE__*/React.createElement(Modal, {
|
|
121
116
|
isVisible: isVisible,
|
|
122
117
|
style: styleSheet.popin,
|
|
@@ -147,6 +142,5 @@ const PopinIntro = props => {
|
|
|
147
142
|
style: styleSheet.closeIcon
|
|
148
143
|
}))));
|
|
149
144
|
};
|
|
150
|
-
|
|
151
145
|
export default PopinIntro;
|
|
152
146
|
//# sourceMappingURL=index.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.native.js","names":["React","useState","useEffect","StyleSheet","Text","View","Modal","NovaSolidStatusClose","CloseIcon","useTemplateContext","Touchable","createStyleSheet","brandTheme","theme","create","popin","position","top","bottom","justifyContent","alignItems","content","backgroundColor","borderRadius","paddingVertical","iconWrapper","width","height","marginBottom","icon","alignSelf","fill","colors","primary","title","textAlign","lineHeight","fontWeight","fontSize","marginHorizontal","marginVertical","description1","description2","paddingHorizontal","button","padding","marginTop","buttonText","color","bold","fontFamily","closeButton","right","flex","closeIcon","PopinIntro","props","templateContext","styleSheet","setStylesheet","isVisible","onValidate","onCancel","locales","Icon","_stylesheet","cta"],"sources":["../../../src/organism/mobile-intro-popin/index.native.tsx"],"sourcesContent":["import React, {useState, useEffect, FC} from 'react';\nimport {StyleSheet, ViewStyle, Text, TextStyle, View, GestureResponderEvent} from 'react-native';\nimport Modal from 'react-native-modal';\nimport {NovaSolidStatusClose as CloseIcon} from '@coorpacademy/nova-icons';\n\nimport {useTemplateContext} from '../../template/app-review/template-context';\nimport Touchable from '../../hoc/touchable/index.native';\n\nimport type {Theme} from '../../variables/theme.native';\nimport type {Brand} from '../../variables/brand.native';\n\nexport type Props = {\n isVisible: boolean;\n locales: {\n title: string;\n description1: string;\n description2: string;\n cta: string;\n };\n Icon?: FC<{style: ViewStyle}>;\n onValidate: (event: GestureResponderEvent) => void;\n onCancel: (event: GestureResponderEvent) => void;\n};\n\ntype StyleSheetType = {\n popin: ViewStyle;\n content: ViewStyle;\n icon: ViewStyle;\n iconWrapper: ViewStyle;\n button: ViewStyle;\n buttonText: TextStyle;\n closeButton: ViewStyle;\n closeIcon: ViewStyle;\n title: TextStyle;\n description1: TextStyle;\n description2: TextStyle;\n};\n\nconst createStyleSheet = (brandTheme: Brand, theme: Theme) =>\n StyleSheet.create({\n popin: {\n position: 'absolute',\n top: 0,\n bottom: 0,\n justifyContent: 'center',\n alignItems: 'center'\n },\n content: {\n backgroundColor: '#fff',\n justifyContent: 'space-between',\n alignItems: 'center',\n borderRadius: 8,\n paddingVertical: 24\n },\n iconWrapper: {\n width: 100,\n height: 100,\n backgroundColor: '#FFEFEB',\n justifyContent: 'center',\n borderRadius: 60,\n marginBottom: 12\n },\n icon: {\n alignSelf: 'center',\n width: 60,\n height: 60,\n fill: brandTheme.colors?.primary\n },\n title: {\n textAlign: 'center',\n lineHeight: 24,\n fontWeight: '700',\n fontSize: 20,\n marginHorizontal: 24,\n marginVertical: 12\n },\n description1: {\n textAlign: 'center',\n lineHeight: 19,\n fontWeight: '300',\n fontSize: 14,\n marginHorizontal: 24,\n marginVertical: 12\n },\n description2: {\n textAlign: 'center',\n lineHeight: 19,\n fontWeight: '700',\n fontSize: 16,\n paddingHorizontal: 48,\n marginVertical: 12\n },\n button: {\n height: 44,\n backgroundColor: brandTheme.colors?.primary,\n borderRadius: 7,\n justifyContent: 'center',\n padding: 12,\n paddingVertical: 12,\n marginTop: 12\n },\n buttonText: {\n alignSelf: 'center',\n color: '#FFFFFF',\n fontWeight: theme.fontWeight.bold,\n fontFamily: 'System',\n fontSize: 14,\n lineHeight: 20\n },\n closeButton: {\n position: 'absolute',\n top: 0,\n right: 0,\n width: 45,\n height: 45,\n padding: 10,\n flex: 1,\n justifyContent: 'center',\n alignItems: 'center'\n },\n closeIcon: {\n width: '100%',\n height: '100%',\n fill: '#aeaeae'\n }\n });\n\nconst PopinIntro = (props: Props) => {\n const templateContext = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n const {brandTheme, theme} = templateContext;\n const {isVisible, onValidate, onCancel, locales, Icon} = props;\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(brandTheme, theme);\n setStylesheet(_stylesheet);\n }, [brandTheme, theme]);\n\n if (!styleSheet) {\n return null;\n }\n\n return (\n <Modal isVisible={isVisible} style={styleSheet.popin} testID=\"intro-popin\">\n <View style={styleSheet.content}>\n {Icon ? (\n <View style={styleSheet.iconWrapper}>\n <Icon style={styleSheet.icon} />\n </View>\n ) : null}\n <Text style={styleSheet.title}>{locales.title}</Text>\n <Text style={styleSheet.description1}>{locales.description1}</Text>\n <Text style={styleSheet.description2}>{locales.description2}</Text>\n <Touchable\n style={styleSheet.button}\n onPress={onValidate}\n testID=\"intro-popin-validate-button\"\n >\n <Text style={styleSheet.buttonText}>{locales.cta}</Text>\n </Touchable>\n <Touchable\n style={styleSheet.closeButton}\n onPress={onCancel}\n testID=\"intro-popin-cancel-button\"\n >\n <CloseIcon style={styleSheet.closeIcon} />\n </Touchable>\n </View>\n </Modal>\n );\n};\n\nexport type PopinIntroProps = Props;\nexport default PopinIntro;\n"],"mappings":"AAAA,OAAOA,
|
|
1
|
+
{"version":3,"file":"index.native.js","names":["React","useState","useEffect","StyleSheet","Text","View","Modal","NovaSolidStatusClose","CloseIcon","useTemplateContext","Touchable","createStyleSheet","brandTheme","theme","create","popin","position","top","bottom","justifyContent","alignItems","content","backgroundColor","borderRadius","paddingVertical","iconWrapper","width","height","marginBottom","icon","alignSelf","fill","colors","primary","title","textAlign","lineHeight","fontWeight","fontSize","marginHorizontal","marginVertical","description1","description2","paddingHorizontal","button","padding","marginTop","buttonText","color","bold","fontFamily","closeButton","right","flex","closeIcon","PopinIntro","props","templateContext","styleSheet","setStylesheet","isVisible","onValidate","onCancel","locales","Icon","_stylesheet","createElement","style","testID","onPress","cta"],"sources":["../../../src/organism/mobile-intro-popin/index.native.tsx"],"sourcesContent":["import React, {useState, useEffect, FC} from 'react';\nimport {StyleSheet, ViewStyle, Text, TextStyle, View, GestureResponderEvent} from 'react-native';\nimport Modal from 'react-native-modal';\nimport {NovaSolidStatusClose as CloseIcon} from '@coorpacademy/nova-icons';\n\nimport {useTemplateContext} from '../../template/app-review/template-context';\nimport Touchable from '../../hoc/touchable/index.native';\n\nimport type {Theme} from '../../variables/theme.native';\nimport type {Brand} from '../../variables/brand.native';\n\nexport type Props = {\n isVisible: boolean;\n locales: {\n title: string;\n description1: string;\n description2: string;\n cta: string;\n };\n Icon?: FC<{style: ViewStyle}>;\n onValidate: (event: GestureResponderEvent) => void;\n onCancel: (event: GestureResponderEvent) => void;\n};\n\ntype StyleSheetType = {\n popin: ViewStyle;\n content: ViewStyle;\n icon: ViewStyle;\n iconWrapper: ViewStyle;\n button: ViewStyle;\n buttonText: TextStyle;\n closeButton: ViewStyle;\n closeIcon: ViewStyle;\n title: TextStyle;\n description1: TextStyle;\n description2: TextStyle;\n};\n\nconst createStyleSheet = (brandTheme: Brand, theme: Theme) =>\n StyleSheet.create({\n popin: {\n position: 'absolute',\n top: 0,\n bottom: 0,\n justifyContent: 'center',\n alignItems: 'center'\n },\n content: {\n backgroundColor: '#fff',\n justifyContent: 'space-between',\n alignItems: 'center',\n borderRadius: 8,\n paddingVertical: 24\n },\n iconWrapper: {\n width: 100,\n height: 100,\n backgroundColor: '#FFEFEB',\n justifyContent: 'center',\n borderRadius: 60,\n marginBottom: 12\n },\n icon: {\n alignSelf: 'center',\n width: 60,\n height: 60,\n fill: brandTheme.colors?.primary\n },\n title: {\n textAlign: 'center',\n lineHeight: 24,\n fontWeight: '700',\n fontSize: 20,\n marginHorizontal: 24,\n marginVertical: 12\n },\n description1: {\n textAlign: 'center',\n lineHeight: 19,\n fontWeight: '300',\n fontSize: 14,\n marginHorizontal: 24,\n marginVertical: 12\n },\n description2: {\n textAlign: 'center',\n lineHeight: 19,\n fontWeight: '700',\n fontSize: 16,\n paddingHorizontal: 48,\n marginVertical: 12\n },\n button: {\n height: 44,\n backgroundColor: brandTheme.colors?.primary,\n borderRadius: 7,\n justifyContent: 'center',\n padding: 12,\n paddingVertical: 12,\n marginTop: 12\n },\n buttonText: {\n alignSelf: 'center',\n color: '#FFFFFF',\n fontWeight: theme.fontWeight.bold,\n fontFamily: 'System',\n fontSize: 14,\n lineHeight: 20\n },\n closeButton: {\n position: 'absolute',\n top: 0,\n right: 0,\n width: 45,\n height: 45,\n padding: 10,\n flex: 1,\n justifyContent: 'center',\n alignItems: 'center'\n },\n closeIcon: {\n width: '100%',\n height: '100%',\n fill: '#aeaeae'\n }\n });\n\nconst PopinIntro = (props: Props) => {\n const templateContext = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n const {brandTheme, theme} = templateContext;\n const {isVisible, onValidate, onCancel, locales, Icon} = props;\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(brandTheme, theme);\n setStylesheet(_stylesheet);\n }, [brandTheme, theme]);\n\n if (!styleSheet) {\n return null;\n }\n\n return (\n <Modal isVisible={isVisible} style={styleSheet.popin} testID=\"intro-popin\">\n <View style={styleSheet.content}>\n {Icon ? (\n <View style={styleSheet.iconWrapper}>\n <Icon style={styleSheet.icon} />\n </View>\n ) : null}\n <Text style={styleSheet.title}>{locales.title}</Text>\n <Text style={styleSheet.description1}>{locales.description1}</Text>\n <Text style={styleSheet.description2}>{locales.description2}</Text>\n <Touchable\n style={styleSheet.button}\n onPress={onValidate}\n testID=\"intro-popin-validate-button\"\n >\n <Text style={styleSheet.buttonText}>{locales.cta}</Text>\n </Touchable>\n <Touchable\n style={styleSheet.closeButton}\n onPress={onCancel}\n testID=\"intro-popin-cancel-button\"\n >\n <CloseIcon style={styleSheet.closeIcon} />\n </Touchable>\n </View>\n </Modal>\n );\n};\n\nexport type PopinIntroProps = Props;\nexport default PopinIntro;\n"],"mappings":"AAAA,OAAOA,KAAK,IAAGC,QAAQ,EAAEC,SAAS,QAAW,OAAO;AACpD,SAAQC,UAAU,EAAaC,IAAI,EAAaC,IAAI,QAA8B,cAAc;AAChG,OAAOC,KAAK,MAAM,oBAAoB;AACtC,SAAQC,oBAAoB,IAAIC,SAAS,QAAO,0BAA0B;AAE1E,SAAQC,kBAAkB,QAAO,4CAA4C;AAC7E,OAAOC,SAAS,MAAM,kCAAkC;AAgCxD,MAAMC,gBAAgB,GAAGA,CAACC,UAAiB,EAAEC,KAAY,KACvDV,UAAU,CAACW,MAAM,CAAC;EAChBC,KAAK,EAAE;IACLC,QAAQ,EAAE,UAAU;IACpBC,GAAG,EAAE,CAAC;IACNC,MAAM,EAAE,CAAC;IACTC,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE;EACd,CAAC;EACDC,OAAO,EAAE;IACPC,eAAe,EAAE,MAAM;IACvBH,cAAc,EAAE,eAAe;IAC/BC,UAAU,EAAE,QAAQ;IACpBG,YAAY,EAAE,CAAC;IACfC,eAA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Q,GAC7B2C,IAAI,gBACHhE,KAAA,CAAAkE,aAAA,CAAC7D,IAAI;IAAC8D,KAAK,EAAET,UAAU,CAACjC;EAAY,gBAClCzB,KAAA,CAAAkE,aAAA,CAACF,IAAI;IAACG,KAAK,EAAET,UAAU,CAAC7B;EAAK,CAAE,CAC3B,CAAC,GACL,IAAI,eACR7B,KAAA,CAAAkE,aAAA,CAAC9D,IAAI;IAAC+D,KAAK,EAAET,UAAU,CAACxB;EAAM,GAAE6B,OAAO,CAAC7B,KAAY,CAAC,eACrDlC,KAAA,CAAAkE,aAAA,CAAC9D,IAAI;IAAC+D,KAAK,EAAET,UAAU,CAACjB;EAAa,GAAEsB,OAAO,CAACtB,YAAmB,CAAC,eACnEzC,KAAA,CAAAkE,aAAA,CAAC9D,IAAI;IAAC+D,KAAK,EAAET,UAAU,CAAChB;EAAa,GAAEqB,OAAO,CAACrB,YAAmB,CAAC,eACnE1C,KAAA,CAAAkE,aAAA,CAACxD,SAAS;IACRyD,KAAK,EAAET,UAAU,CAACd,MAAO;IACzByB,OAAO,EAAER,UAAW;IACpBO,MAAM,EAAC;EAA6B,gBAEpCpE,KAAA,CAAAkE,aAAA,CAAC9D,IAAI;IAAC+D,KAAK,EAAET,UAAU,CAACX;EAAW,GAAEgB,OAAO,CAACO,GAAU,CAC9C,CAAC,eACZtE,KAAA,CAAAkE,aAAA,CAACxD,SAAS;IACRyD,KAAK,EAAET,UAAU,CAACP,WAAY;IAC9BkB,OAAO,EAAEP,QAAS;IAClBM,MAAM,EAAC;EAA2B,gBAElCpE,KAAA,CAAAkE,aAAA,CAAC1D,SAAS;IAAC2D,KAAK,EAAET,UAAU,CAACJ;EAAU,CAAE,CAChC,CACP,CACD,CAAC;AAEZ,CAAC;AAGD,eAAeC,UAAU","ignoreList":[]}
|
|
@@ -4,7 +4,6 @@ import { BlurView } from '@react-native-community/blur';
|
|
|
4
4
|
import { NovaCompositionNavigationNavBar as BlurredShadow } from '@coorpacademy/nova-icons';
|
|
5
5
|
import { useTemplateContext } from '../../template/app-review/template-context';
|
|
6
6
|
import Touchable from '../../hoc/touchable/index.native';
|
|
7
|
-
|
|
8
7
|
const createStyleSheet = theme => StyleSheet.create({
|
|
9
8
|
container: {
|
|
10
9
|
position: 'absolute',
|
|
@@ -73,7 +72,6 @@ const createStyleSheet = theme => StyleSheet.create({
|
|
|
73
72
|
}]
|
|
74
73
|
}
|
|
75
74
|
});
|
|
76
|
-
|
|
77
75
|
const Button = ({
|
|
78
76
|
testID,
|
|
79
77
|
title,
|
|
@@ -102,7 +100,6 @@ const Button = ({
|
|
|
102
100
|
color: theme.colors.cta,
|
|
103
101
|
style: styles.dotShadow
|
|
104
102
|
})) : null);
|
|
105
|
-
|
|
106
103
|
const NavigationBar = ({
|
|
107
104
|
items,
|
|
108
105
|
selectedItemIndex
|
|
@@ -114,14 +111,11 @@ const NavigationBar = ({
|
|
|
114
111
|
} = templateContext;
|
|
115
112
|
useEffect(() => {
|
|
116
113
|
const _stylesheet = createStyleSheet(theme);
|
|
117
|
-
|
|
118
114
|
setStylesheet(_stylesheet);
|
|
119
115
|
}, [theme]);
|
|
120
|
-
|
|
121
116
|
if (!styleSheet) {
|
|
122
117
|
return null;
|
|
123
118
|
}
|
|
124
|
-
|
|
125
119
|
return /*#__PURE__*/React.createElement(View, {
|
|
126
120
|
style: styleSheet.container
|
|
127
121
|
}, /*#__PURE__*/React.createElement(View, {
|
|
@@ -144,6 +138,5 @@ const NavigationBar = ({
|
|
|
144
138
|
});
|
|
145
139
|
})));
|
|
146
140
|
};
|
|
147
|
-
|
|
148
141
|
export default NavigationBar;
|
|
149
142
|
//# sourceMappingURL=index.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.native.js","names":["React","useState","useEffect","View","StyleSheet","Text","Platform","BlurView","NovaCompositionNavigationNavBar","BlurredShadow","useTemplateContext","Touchable","createStyleSheet","theme","create","container","position","bottom","paddingTop","paddingBottom","paddingHorizontal","width","shadowColor","shadowOffset","height","shadowOpacity","shadowRadius","elevation","blur","top","left","right","navbar","flexDirection","justifyContent","alignSelf","overflow","borderRadius","backgroundColor","OS","colors","gray","light","button","alignItems","flex","maxWidth","marginTop","spacing","small","buttonText","fontSize","lineHeight","color","text","primary","dot","cta","dotShadow","transform","rotateX","scaleX","Button","testID","title","selected","Icon","styles","onPress","NavigationBar","items","selectedItemIndex","templateContext","styleSheet","setStylesheet","_stylesheet","map","prop","index","handlePress","action","label","icon"],"sources":["../../../src/organism/mobile-navigation/index.native.tsx"],"sourcesContent":["import React, {useState, useEffect, FC} from 'react';\nimport {\n View,\n StyleSheet,\n Text,\n ViewStyle,\n TextStyle,\n GestureResponderEvent,\n Platform\n} from 'react-native';\nimport {BlurView} from '@react-native-community/blur';\n\nimport {NovaCompositionNavigationNavBar as BlurredShadow} from '@coorpacademy/nova-icons';\n\nimport {useTemplateContext} from '../../template/app-review/template-context';\nimport Touchable from '../../hoc/touchable/index.native';\nimport {Theme} from '../../variables/theme.native';\n\ninterface ButtonProps {\n title: string;\n testID: string;\n selected: boolean;\n Icon: FC<{height: number; width: number; color?: string}>;\n styles: StyleSheetType;\n theme: Theme;\n onPress: (event: GestureResponderEvent) => void;\n}\n\nexport type NavItemType = {\n label: string;\n icon: ButtonProps['Icon'];\n action: (event: GestureResponderEvent) => void;\n};\n\nexport interface Props {\n testID?: string;\n items: Array<NavItemType>;\n selectedItemIndex: number;\n}\n\ntype StyleSheetType = {\n container: ViewStyle;\n navbar: ViewStyle;\n blur: ViewStyle;\n button: ViewStyle;\n buttonText: TextStyle;\n dot: ViewStyle;\n dotShadow: ViewStyle;\n};\n\nconst createStyleSheet = (theme: Theme): StyleSheetType =>\n StyleSheet.create({\n container: {\n position: 'absolute',\n bottom: 0,\n paddingTop: 10,\n paddingBottom: 34,\n paddingHorizontal: 20,\n width: '100%',\n shadowColor: '#000',\n shadowOffset: {\n width: 0,\n height: 2\n },\n shadowOpacity: 0.15,\n shadowRadius: 3,\n elevation: 4\n },\n blur: {\n position: 'absolute',\n top: 0,\n bottom: 0,\n left: 0,\n right: 0\n },\n navbar: {\n flexDirection: 'row',\n justifyContent: 'space-between',\n alignSelf: 'center',\n overflow: 'hidden',\n height: 66,\n borderRadius: 12,\n backgroundColor: Platform.OS === 'ios' ? theme.colors.gray.light : '#edededee'\n },\n button: {\n alignItems: 'center',\n flex: 1,\n height: '100%',\n maxWidth: 110,\n marginTop: theme.spacing.small\n },\n buttonText: {\n fontSize: theme.fontSize.small,\n lineHeight: 26,\n // height: 11,\n color: theme.colors.text.primary\n },\n dot: {\n width: 8,\n height: 8,\n borderRadius: 8,\n backgroundColor: theme.colors.cta,\n marginTop: 3,\n position: 'absolute',\n alignSelf: 'center'\n },\n dotShadow: {\n marginTop: -87,\n width: 200,\n height: 100,\n position: 'absolute',\n alignSelf: 'center',\n transform: [{rotateX: '180deg'}, {scaleX: 0.7}]\n }\n });\n\nconst Button = ({testID, title, selected, Icon, styles, theme, onPress}: ButtonProps) => (\n <Touchable testID={testID} style={styles.button} onPress={onPress}>\n <View style={{alignItems: 'center'}}>\n <Icon\n height={16}\n width={16}\n color={selected ? theme.colors.cta : theme.colors.text.primary}\n />\n <Text style={styles.buttonText}>{title}</Text>\n </View>\n {selected ? (\n <View>\n <View style={styles.dot} />\n <BlurredShadow color={theme.colors.cta} style={styles.dotShadow} />\n </View>\n ) : null}\n </Touchable>\n);\n\nconst NavigationBar = ({items, selectedItemIndex}: Props) => {\n const templateContext = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n const {theme} = templateContext;\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(theme);\n setStylesheet(_stylesheet);\n }, [theme]);\n\n if (!styleSheet) {\n return null;\n }\n\n return (\n <View style={styleSheet.container}>\n <View style={styleSheet.navbar}>\n {Platform.OS === 'ios' ? (\n <BlurView style={styleSheet.blur} blurAmount={75} blurType=\"xlight\" />\n ) : null}\n {items.map((prop, index) => {\n const handlePress = prop.action;\n return (\n <Button\n key={`button-${prop.label}`}\n title={prop.label}\n Icon={prop.icon}\n onPress={handlePress}\n selected={index === selectedItemIndex}\n testID={`navigationButton_${index}`}\n styles={styleSheet}\n theme={theme}\n />\n );\n })}\n </View>\n </View>\n );\n};\n\nexport default NavigationBar;\n"],"mappings":"AAAA,OAAOA,
|
|
1
|
+
{"version":3,"file":"index.native.js","names":["React","useState","useEffect","View","StyleSheet","Text","Platform","BlurView","NovaCompositionNavigationNavBar","BlurredShadow","useTemplateContext","Touchable","createStyleSheet","theme","create","container","position","bottom","paddingTop","paddingBottom","paddingHorizontal","width","shadowColor","shadowOffset","height","shadowOpacity","shadowRadius","elevation","blur","top","left","right","navbar","flexDirection","justifyContent","alignSelf","overflow","borderRadius","backgroundColor","OS","colors","gray","light","button","alignItems","flex","maxWidth","marginTop","spacing","small","buttonText","fontSize","lineHeight","color","text","primary","dot","cta","dotShadow","transform","rotateX","scaleX","Button","testID","title","selected","Icon","styles","onPress","createElement","style","NavigationBar","items","selectedItemIndex","templateContext","styleSheet","setStylesheet","_stylesheet","blurAmount","blurType","map","prop","index","handlePress","action","key","label","icon"],"sources":["../../../src/organism/mobile-navigation/index.native.tsx"],"sourcesContent":["import React, {useState, useEffect, FC} from 'react';\nimport {\n View,\n StyleSheet,\n Text,\n ViewStyle,\n TextStyle,\n GestureResponderEvent,\n Platform\n} from 'react-native';\nimport {BlurView} from '@react-native-community/blur';\n\nimport {NovaCompositionNavigationNavBar as BlurredShadow} from '@coorpacademy/nova-icons';\n\nimport {useTemplateContext} from '../../template/app-review/template-context';\nimport Touchable from '../../hoc/touchable/index.native';\nimport {Theme} from '../../variables/theme.native';\n\ninterface ButtonProps {\n title: string;\n testID: string;\n selected: boolean;\n Icon: FC<{height: number; width: number; color?: string}>;\n styles: StyleSheetType;\n theme: Theme;\n onPress: (event: GestureResponderEvent) => void;\n}\n\nexport type NavItemType = {\n label: string;\n icon: ButtonProps['Icon'];\n action: (event: GestureResponderEvent) => void;\n};\n\nexport interface Props {\n testID?: string;\n items: Array<NavItemType>;\n selectedItemIndex: number;\n}\n\ntype StyleSheetType = {\n container: ViewStyle;\n navbar: ViewStyle;\n blur: ViewStyle;\n button: ViewStyle;\n buttonText: TextStyle;\n dot: ViewStyle;\n dotShadow: ViewStyle;\n};\n\nconst createStyleSheet = (theme: Theme): StyleSheetType =>\n StyleSheet.create({\n container: {\n position: 'absolute',\n bottom: 0,\n paddingTop: 10,\n paddingBottom: 34,\n paddingHorizontal: 20,\n width: '100%',\n shadowColor: '#000',\n shadowOffset: {\n width: 0,\n height: 2\n },\n shadowOpacity: 0.15,\n shadowRadius: 3,\n elevation: 4\n },\n blur: {\n position: 'absolute',\n top: 0,\n bottom: 0,\n left: 0,\n right: 0\n },\n navbar: {\n flexDirection: 'row',\n justifyContent: 'space-between',\n alignSelf: 'center',\n overflow: 'hidden',\n height: 66,\n borderRadius: 12,\n backgroundColor: Platform.OS === 'ios' ? theme.colors.gray.light : '#edededee'\n },\n button: {\n alignItems: 'center',\n flex: 1,\n height: '100%',\n maxWidth: 110,\n marginTop: theme.spacing.small\n },\n buttonText: {\n fontSize: theme.fontSize.small,\n lineHeight: 26,\n // height: 11,\n color: theme.colors.text.primary\n },\n dot: {\n width: 8,\n height: 8,\n borderRadius: 8,\n backgroundColor: theme.colors.cta,\n marginTop: 3,\n position: 'absolute',\n alignSelf: 'center'\n },\n dotShadow: {\n marginTop: -87,\n width: 200,\n height: 100,\n position: 'absolute',\n alignSelf: 'center',\n transform: [{rotateX: '180deg'}, {scaleX: 0.7}]\n }\n });\n\nconst Button = ({testID, title, selected, Icon, styles, theme, onPress}: ButtonProps) => (\n <Touchable testID={testID} style={styles.button} onPress={onPress}>\n <View style={{alignItems: 'center'}}>\n <Icon\n height={16}\n width={16}\n color={selected ? theme.colors.cta : theme.colors.text.primary}\n />\n <Text style={styles.buttonText}>{title}</Text>\n </View>\n {selected ? (\n <View>\n <View style={styles.dot} />\n <BlurredShadow color={theme.colors.cta} style={styles.dotShadow} />\n </View>\n ) : null}\n </Touchable>\n);\n\nconst NavigationBar = ({items, selectedItemIndex}: Props) => {\n const templateContext = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n const {theme} = templateContext;\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(theme);\n setStylesheet(_stylesheet);\n }, [theme]);\n\n if (!styleSheet) {\n return null;\n }\n\n return (\n <View style={styleSheet.container}>\n <View style={styleSheet.navbar}>\n {Platform.OS === 'ios' ? (\n <BlurView style={styleSheet.blur} blurAmount={75} blurType=\"xlight\" />\n ) : null}\n {items.map((prop, index) => {\n const handlePress = prop.action;\n return (\n <Button\n key={`button-${prop.label}`}\n title={prop.label}\n Icon={prop.icon}\n onPress={handlePress}\n selected={index === selectedItemIndex}\n testID={`navigationButton_${index}`}\n styles={styleSheet}\n theme={theme}\n />\n );\n })}\n </View>\n </View>\n );\n};\n\nexport default NavigationBar;\n"],"mappings":"AAAA,OAAOA,KAAK,IAAGC,QAAQ,EAAEC,SAAS,QAAW,OAAO;AACpD,SACEC,IAAI,EACJC,UAAU,EACVC,IAAI,EAIJC,QAAQ,QACH,cAAc;AACrB,SAAQC,QAAQ,QAAO,8BAA8B;AAErD,SAAQC,+BAA+B,IAAIC,aAAa,QAAO,0BAA0B;AAEzF,SAAQC,kBAAkB,QAAO,4CAA4C;AAC7E,OAAOC,SAAS,MAAM,kCAAkC;AAmCxD,MAAMC,gBAAgB,GAAIC,KAAY,IACpCT,UAAU,CAACU,MAAM,CAAC;EAChBC,SAAS,EAAE;IACTC,QAAQ,EAAE,UAAU;IACpBC,MAAM,EAAE,CAAC;IACTC,UAAU,EAAE,EAAE;IACdC,aAAa,EAAE,EAAE;IACjBC,iBAAiB,EAAE,EAAE;IACrBC,KAAK,EAAE,MAAM;IACbC,WAAW,EAAE,MAAM;IACnBC,YAAY,EAAE;MACZF,KAAK,EAAE,CAAC;MACRG,MAAM,EAAE;IACV,CAAC;IACDC,aAAa,EAAE,IAAI;IACnBC,YAAY,E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EX,CAAC;AAED,eAAe0D,aAAa","ignoreList":[]}
|
|
@@ -1,22 +1,17 @@
|
|
|
1
1
|
import _map from "lodash/fp/map";
|
|
2
|
-
|
|
3
|
-
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); }
|
|
4
|
-
|
|
2
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
5
3
|
import React from 'react';
|
|
6
4
|
import PropTypes from 'prop-types';
|
|
7
5
|
import Slide from '../../../atom/slide';
|
|
8
6
|
import Slider from '../../slider';
|
|
9
|
-
|
|
10
7
|
const ImageSlider = ({
|
|
11
8
|
slides = []
|
|
12
9
|
}) => {
|
|
13
10
|
const allSlides = _map(slide => /*#__PURE__*/React.createElement(Slide, _extends({}, slide, {
|
|
14
11
|
key: slide.title
|
|
15
12
|
})), slides);
|
|
16
|
-
|
|
17
13
|
return /*#__PURE__*/React.createElement(Slider, null, allSlides);
|
|
18
14
|
};
|
|
19
|
-
|
|
20
15
|
ImageSlider.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
21
16
|
slides: PropTypes.arrayOf(PropTypes.shape(Slide.propTypes))
|
|
22
17
|
} : {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["React","PropTypes","Slide","Slider","ImageSlider","slides","allSlides","slide","title","propTypes","arrayOf","shape"],"sources":["../../../../src/organism/mooc/image-slider/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {map} from 'lodash/fp';\nimport Slide from '../../../atom/slide';\nimport Slider from '../../slider';\n\nconst ImageSlider = ({slides = []}) => {\n const allSlides = map(slide => <Slide {...slide} key={slide.title} />, slides);\n return <Slider>{allSlides}</Slider>;\n};\n\nImageSlider.propTypes = {\n slides: PropTypes.arrayOf(PropTypes.shape(Slide.propTypes))\n};\n\nexport default ImageSlider;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","names":["React","PropTypes","Slide","Slider","ImageSlider","slides","allSlides","_map","slide","createElement","_extends","key","title","propTypes","process","env","NODE_ENV","arrayOf","shape"],"sources":["../../../../src/organism/mooc/image-slider/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {map} from 'lodash/fp';\nimport Slide from '../../../atom/slide';\nimport Slider from '../../slider';\n\nconst ImageSlider = ({slides = []}) => {\n const allSlides = map(slide => <Slide {...slide} key={slide.title} />, slides);\n return <Slider>{allSlides}</Slider>;\n};\n\nImageSlider.propTypes = {\n slides: PropTypes.arrayOf(PropTypes.shape(Slide.propTypes))\n};\n\nexport default ImageSlider;\n"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAElC,OAAOC,KAAK,MAAM,qBAAqB;AACvC,OAAOC,MAAM,MAAM,cAAc;AAEjC,MAAMC,WAAW,GAAGA,CAAC;EAACC,MAAM,GAAG;AAAE,CAAC,KAAK;EACrC,MAAMC,SAAS,GAAGC,IAAA,CAAIC,KAAK,iBAAIR,KAAA,CAAAS,aAAA,CAACP,KAAK,EAAAQ,QAAA,KAAKF,KAAK;IAAEG,GAAG,EAAEH,KAAK,CAACI;EAAM,EAAE,CAAC,EAAEP,MAAM,CAAC;EAC9E,oBAAOL,KAAA,CAAAS,aAAA,CAACN,MAAM,QAAEG,SAAkB,CAAC;AACrC,CAAC;AAEDF,WAAW,CAACS,SAAS,GAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA,oBAAG;EACtBX,MAAM,EAAEJ,SAAS,CAACgB,OAAO,CAAChB,SAAS,CAACiB,KAAK,CAAChB,KAAK,CAACW,SAAS,CAAC;AAC5D,CAAC;AAED,eAAeT,WAAW","ignoreList":[]}
|
|
@@ -7,7 +7,6 @@ import SocialLink from '../../atom/social-link';
|
|
|
7
7
|
import Picture from '../../atom/picture';
|
|
8
8
|
import style from './style.css';
|
|
9
9
|
const socialLinksTypes = process.env.NODE_ENV !== "production" ? ['facebook', 'twitter', 'linkedin', 'youtube', 'instagram'] : {};
|
|
10
|
-
|
|
11
10
|
const StoresLinks = ({
|
|
12
11
|
onAppStoreButtonClick,
|
|
13
12
|
appStoreButtonImageUrl,
|
|
@@ -28,7 +27,6 @@ const StoresLinks = ({
|
|
|
28
27
|
onClick: onPlayStoreButtonClick,
|
|
29
28
|
alt: androidAlt
|
|
30
29
|
}));
|
|
31
|
-
|
|
32
30
|
StoresLinks.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
33
31
|
onAppStoreButtonClick: PropTypes.func,
|
|
34
32
|
appStoreButtonImageUrl: PropTypes.string,
|
|
@@ -37,7 +35,6 @@ StoresLinks.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
37
35
|
'android-alt': PropTypes.string,
|
|
38
36
|
'ios-alt': PropTypes.string
|
|
39
37
|
} : {};
|
|
40
|
-
|
|
41
38
|
function MoocFooter(props) {
|
|
42
39
|
const {
|
|
43
40
|
headSection = {},
|
|
@@ -45,7 +42,9 @@ function MoocFooter(props) {
|
|
|
45
42
|
'logo-aria-label': logoAriaLabel,
|
|
46
43
|
'social-links-aria-label': socialLinksAriaLabel,
|
|
47
44
|
siteMapSections = []
|
|
48
|
-
} = props;
|
|
45
|
+
} = props;
|
|
46
|
+
|
|
47
|
+
// Header section of the footer (the marketing banner)
|
|
49
48
|
|
|
50
49
|
const headSectionView = !_isEmpty(headSection) ? /*#__PURE__*/React.createElement("div", {
|
|
51
50
|
"data-name": "headSpacingContainer",
|
|
@@ -66,17 +65,21 @@ function MoocFooter(props) {
|
|
|
66
65
|
}, headSection.title)), /*#__PURE__*/React.createElement("div", {
|
|
67
66
|
"data-name": "mobile-apps-buttons-wrapper",
|
|
68
67
|
className: style.mobileAppLinks
|
|
69
|
-
}, /*#__PURE__*/React.createElement(StoresLinks
|
|
68
|
+
}, /*#__PURE__*/React.createElement(StoresLinks
|
|
69
|
+
// ignored due to naming conventions in JSX rather than a linting error
|
|
70
70
|
// eslint-disable-next-line react/jsx-handler-names
|
|
71
71
|
, {
|
|
72
72
|
onAppStoreButtonClick: headSection.onAppStoreButtonClick,
|
|
73
73
|
appStoreButtonImageUrl: headSection.appStoreButtonImageUrl,
|
|
74
|
-
playStoreButtonImageUrl: headSection.playStoreButtonImageUrl
|
|
74
|
+
playStoreButtonImageUrl: headSection.playStoreButtonImageUrl
|
|
75
|
+
// eslint-disable-next-line react/jsx-handler-names
|
|
75
76
|
,
|
|
76
77
|
onPlayStoreButtonClick: headSection.onPlayStoreButtonClick,
|
|
77
78
|
"android-alt": headSection['android-alt'],
|
|
78
79
|
"ios-alt": headSection['ios-alt']
|
|
79
|
-
})))) : null;
|
|
80
|
+
})))) : null;
|
|
81
|
+
|
|
82
|
+
// Sitemap section of the footer (contains HELP, TOOLBOX... and other pages, as well as social links)
|
|
80
83
|
|
|
81
84
|
const renderPagesFromSection = pages => {
|
|
82
85
|
return /*#__PURE__*/React.createElement("ul", {
|
|
@@ -98,7 +101,6 @@ function MoocFooter(props) {
|
|
|
98
101
|
}, page.title));
|
|
99
102
|
}));
|
|
100
103
|
};
|
|
101
|
-
|
|
102
104
|
const sections = !_isEmpty(siteMapSections) ? siteMapSections.map((section, index) => {
|
|
103
105
|
return /*#__PURE__*/React.createElement("nav", {
|
|
104
106
|
key: index,
|
|
@@ -144,7 +146,6 @@ function MoocFooter(props) {
|
|
|
144
146
|
"data-name": "mooc-footer"
|
|
145
147
|
}, headSectionView, siteMap);
|
|
146
148
|
}
|
|
147
|
-
|
|
148
149
|
MoocFooter.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
149
150
|
headSection: PropTypes.shape({
|
|
150
151
|
title: PropTypes.string,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["React","PropTypes","NovaCompositionCoorpacademyCoorpApp","CoorpAppLogo","NovaCompositionCoorpacademyCoorpLogo","CoorpLogo","Link","SocialLink","Picture","style","socialLinksTypes","StoresLinks","onAppStoreButtonClick","appStoreButtonImageUrl","playStoreButtonImageUrl","onPlayStoreButtonClick","androidAlt","iosAlt","storeLinksContainer","imgApple","img","propTypes","func","string","MoocFooter","props","headSection","socialLinks","logoAriaLabel","socialLinksAriaLabel","siteMapSections","headSectionView","headSpacingContainer","headSectionWrapper","logoAndLabelWrapper","logoWrapper","coorpAppLogo","marketingLabel","title","mobileAppLinks","renderPagesFromSection","pages","pagesList","map","page","pindex","handleClick","onClick","link","pageLink","target","ariaLabel","sections","section","index","sectionWrapper","sectionTitle","socialLinksView","socialLink","type","socialNetworks","logoSocialNetworksContainer","coorpLogo","socialNetworksWrapper","siteMap","siteMapSpacingContainer","siteMapContainer","sectionsContainer","shape","arrayOf","oneOf"],"sources":["../../../src/organism/mooc-footer/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {isEmpty} from 'lodash/fp';\nimport {\n NovaCompositionCoorpacademyCoorpApp as CoorpAppLogo,\n NovaCompositionCoorpacademyCoorpLogo as CoorpLogo\n} from '@coorpacademy/nova-icons';\nimport Link from '../../atom/link';\nimport SocialLink from '../../atom/social-link';\nimport Picture from '../../atom/picture';\nimport style from './style.css';\n\nconst socialLinksTypes = ['facebook', 'twitter', 'linkedin', 'youtube', 'instagram'];\n\nconst StoresLinks = ({\n onAppStoreButtonClick,\n appStoreButtonImageUrl,\n playStoreButtonImageUrl,\n onPlayStoreButtonClick,\n 'android-alt': androidAlt,\n 'ios-alt': iosAlt\n}) => (\n <div className={style.storeLinksContainer}>\n <Picture\n className={style.imgApple}\n src={appStoreButtonImageUrl}\n onClick={onAppStoreButtonClick}\n alt={iosAlt}\n />\n <Picture\n className={style.img}\n src={playStoreButtonImageUrl}\n onClick={onPlayStoreButtonClick}\n alt={androidAlt}\n />\n </div>\n);\n\nStoresLinks.propTypes = {\n onAppStoreButtonClick: PropTypes.func,\n appStoreButtonImageUrl: PropTypes.string,\n playStoreButtonImageUrl: PropTypes.string,\n onPlayStoreButtonClick: PropTypes.func,\n 'android-alt': PropTypes.string,\n 'ios-alt': PropTypes.string\n};\n\nfunction MoocFooter(props) {\n const {\n headSection = {},\n socialLinks = [],\n 'logo-aria-label': logoAriaLabel,\n 'social-links-aria-label': socialLinksAriaLabel,\n siteMapSections = []\n } = props;\n\n // Header section of the footer (the marketing banner)\n\n const headSectionView = !isEmpty(headSection) ? (\n <div data-name=\"headSpacingContainer\" className={style.headSpacingContainer}>\n <div data-name=\"headSection\" className={style.headSectionWrapper}>\n <div className={style.logoAndLabelWrapper}>\n <div className={style.logoWrapper}>\n <CoorpAppLogo\n className={style.coorpAppLogo}\n aria-label={headSection['logo-aria-label']}\n />\n </div>\n <div data-name=\"mobile-marketing-text\" className={style.marketingLabel}>\n {headSection.title}\n </div>\n </div>\n <div data-name=\"mobile-apps-buttons-wrapper\" className={style.mobileAppLinks}>\n <StoresLinks\n // ignored due to naming conventions in JSX rather than a linting error\n // eslint-disable-next-line react/jsx-handler-names\n onAppStoreButtonClick={headSection.onAppStoreButtonClick}\n appStoreButtonImageUrl={headSection.appStoreButtonImageUrl}\n playStoreButtonImageUrl={headSection.playStoreButtonImageUrl}\n // eslint-disable-next-line react/jsx-handler-names\n onPlayStoreButtonClick={headSection.onPlayStoreButtonClick}\n android-alt={headSection['android-alt']}\n ios-alt={headSection['ios-alt']}\n />\n </div>\n </div>\n </div>\n ) : null;\n\n // Sitemap section of the footer (contains HELP, TOOLBOX... and other pages, as well as social links)\n\n const renderPagesFromSection = pages => {\n return (\n <ul className={style.pagesList} data-name=\"pages-list\">\n {pages.map((page, pindex) => {\n const handleClick = page.onClick;\n return (\n <li key={pindex}>\n <Link\n href={page.link}\n onClick={handleClick}\n title={page.title}\n data-text={page.title}\n className={style.pageLink}\n target={page.target}\n aria-label={page.ariaLabel ? page.ariaLabel : page.title}\n data-name={page.title}\n >\n {page.title}\n </Link>\n </li>\n );\n })}\n </ul>\n );\n };\n\n const sections = !isEmpty(siteMapSections)\n ? siteMapSections.map((section, index) => {\n return (\n <nav key={index} className={style.sectionWrapper}>\n <p className={style.sectionTitle}>{section.title}</p>\n {renderPagesFromSection(section.pages)}\n </nav>\n );\n })\n : null;\n\n const socialLinksView = socialLinks.map((socialLink, index) => {\n return (\n <li className={style.socialLink} key={index}>\n <SocialLink\n type={socialLink.type}\n link={socialLink.link}\n mode=\"footer\"\n aria-label={socialLink['aria-label']}\n />\n </li>\n );\n });\n\n const socialNetworks = (\n <div data-name=\"logo-social-networks-container\" className={style.logoSocialNetworksContainer}>\n <CoorpLogo\n className={style.coorpLogo}\n data-name=\"coorp-social-networks-logo\"\n aria-label={logoAriaLabel}\n />\n <ul\n data-name=\"social-networks-wrapper\"\n className={style.socialNetworksWrapper}\n aria-label={socialLinksAriaLabel}\n >\n {socialLinksView}\n </ul>\n </div>\n );\n\n const siteMap = (\n <div data-name=\"site-map-spacing-container\" className={style.siteMapSpacingContainer}>\n <div data-name=\"site-map\" className={style.siteMapContainer}>\n <div data-name=\"sections\" className={style.sectionsContainer}>\n {sections}\n </div>\n {socialNetworks}\n </div>\n </div>\n );\n\n return (\n <footer data-name=\"mooc-footer\">\n {headSectionView}\n {siteMap}\n </footer>\n );\n}\n\nMoocFooter.propTypes = {\n headSection: PropTypes.shape({\n title: PropTypes.string,\n onAppStoreButtonClick: PropTypes.func,\n appStoreButtonImageUrl: PropTypes.string,\n playStoreButtonImageUrl: PropTypes.string,\n onPlayStoreButtonClick: PropTypes.func,\n 'logo-aria-label': PropTypes.string,\n 'android-alt': PropTypes.string,\n 'ios-alt': PropTypes.string\n }),\n siteMapSections: PropTypes.arrayOf(\n PropTypes.shape({\n title: PropTypes.string,\n pages: PropTypes.arrayOf(\n PropTypes.shape({\n title: PropTypes.string,\n link: PropTypes.string,\n target: PropTypes.string,\n ariaLabel: PropTypes.string\n })\n )\n })\n ),\n socialLinks: PropTypes.arrayOf(\n PropTypes.shape({\n type: PropTypes.oneOf(socialLinksTypes),\n link: PropTypes.string,\n onClick: PropTypes.func,\n 'aria-label': PropTypes.string\n })\n ),\n 'logo-aria-label': PropTypes.string,\n 'social-links-aria-label': PropTypes.string\n};\n\nexport default MoocFooter;\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AAEA,SACEC,mCAAmC,IAAIC,YADzC,EAEEC,oCAAoC,IAAIC,SAF1C,QAGO,0BAHP;AAIA,OAAOC,IAAP,MAAiB,iBAAjB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,OAAP,MAAoB,oBAApB;AACA,OAAOC,KAAP,MAAkB,aAAlB;AAEA,MAAMC,gBAAN,2CAAyB,CAAC,UAAD,EAAa,SAAb,EAAwB,UAAxB,EAAoC,SAApC,EAA+C,WAA/C,CAAzB;;AAEA,MAAMC,WAAW,GAAG,CAAC;EACnBC,qBADmB;EAEnBC,sBAFmB;EAGnBC,uBAHmB;EAInBC,sBAJmB;EAKnB,eAAeC,UALI;EAMnB,WAAWC;AANQ,CAAD,kBAQlB;EAAK,SAAS,EAAER,KAAK,CAACS;AAAtB,gBACE,oBAAC,OAAD;EACE,SAAS,EAAET,KAAK,CAACU,QADnB;EAEE,GAAG,EAAEN,sBAFP;EAGE,OAAO,EAAED,qBAHX;EAIE,GAAG,EAAEK;AAJP,EADF,eAOE,oBAAC,OAAD;EACE,SAAS,EAAER,KAAK,CAACW,GADnB;EAEE,GAAG,EAAEN,uBAFP;EAGE,OAAO,EAAEC,sBAHX;EAIE,GAAG,EAAEC;AAJP,EAPF,CARF;;AAwBAL,WAAW,CAACU,SAAZ,2CAAwB;EACtBT,qBAAqB,EAAEX,SAAS,CAACqB,IADX;EAEtBT,sBAAsB,EAAEZ,SAAS,CAACsB,MAFZ;EAGtBT,uBAA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AAE7B,SAAS,CAACoE,OAAV,CACfpE,SAAS,CAACmE,KAAV,CAAgB;IACd9B,KAAK,EAAErC,SAAS,CAACsB,MADH;IAEdkB,KAAK,EAAExC,SAAS,CAACoE,OAAV,CACLpE,SAAS,CAACmE,KAAV,CAAgB;MACd9B,KAAK,EAAErC,SAAS,CAACsB,MADH;MAEdyB,IAAI,EAAE/C,SAAS,CAACsB,MAFF;MAGd2B,MAAM,EAAEjD,SAAS,CAACsB,MAHJ;MAId4B,SAAS,EAAElD,SAAS,CAACsB;IAJP,CAAhB,CADK;EAFO,CAAhB,CADe,CAXI;EAwBrBI,WAAW,EAAE1B,SAAS,CAACoE,OAAV,CACXpE,SAAS,CAACmE,KAAV,CAAgB;IACdT,IAAI,EAAE1D,SAAS,CAACqE,KAAV,CAAgB5D,gBAAhB,CADQ;IAEdsC,IAAI,EAAE/C,SAAS,CAACsB,MAFF;IAGdwB,OAAO,EAAE9C,SAAS,CAACqB,IAHL;IAId,cAAcrB,SAAS,CAACsB;EAJV,CAAhB,CADW,CAxBQ;EAgCrB,mBAAmBtB,SAAS,CAACsB,MAhCR;EAiCrB,2BAA2BtB,SAAS,CAACsB;AAjChB,CAAvB;AAoCA,eAAeC,UAAf"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["React","PropTypes","NovaCompositionCoorpacademyCoorpApp","CoorpAppLogo","NovaCompositionCoorpacademyCoorpLogo","CoorpLogo","Link","SocialLink","Picture","style","socialLinksTypes","process","env","NODE_ENV","StoresLinks","onAppStoreButtonClick","appStoreButtonImageUrl","playStoreButtonImageUrl","onPlayStoreButtonClick","androidAlt","iosAlt","createElement","className","storeLinksContainer","imgApple","src","onClick","alt","img","propTypes","func","string","MoocFooter","props","headSection","socialLinks","logoAriaLabel","socialLinksAriaLabel","siteMapSections","headSectionView","_isEmpty","headSpacingContainer","headSectionWrapper","logoAndLabelWrapper","logoWrapper","coorpAppLogo","marketingLabel","title","mobileAppLinks","renderPagesFromSection","pages","pagesList","map","page","pindex","handleClick","key","href","link","pageLink","target","ariaLabel","sections","section","index","sectionWrapper","sectionTitle","socialLinksView","socialLink","type","mode","socialNetworks","logoSocialNetworksContainer","coorpLogo","socialNetworksWrapper","siteMap","siteMapSpacingContainer","siteMapContainer","sectionsContainer","shape","arrayOf","oneOf"],"sources":["../../../src/organism/mooc-footer/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {isEmpty} from 'lodash/fp';\nimport {\n NovaCompositionCoorpacademyCoorpApp as CoorpAppLogo,\n NovaCompositionCoorpacademyCoorpLogo as CoorpLogo\n} from '@coorpacademy/nova-icons';\nimport Link from '../../atom/link';\nimport SocialLink from '../../atom/social-link';\nimport Picture from '../../atom/picture';\nimport style from './style.css';\n\nconst socialLinksTypes = ['facebook', 'twitter', 'linkedin', 'youtube', 'instagram'];\n\nconst StoresLinks = ({\n onAppStoreButtonClick,\n appStoreButtonImageUrl,\n playStoreButtonImageUrl,\n onPlayStoreButtonClick,\n 'android-alt': androidAlt,\n 'ios-alt': iosAlt\n}) => (\n <div className={style.storeLinksContainer}>\n <Picture\n className={style.imgApple}\n src={appStoreButtonImageUrl}\n onClick={onAppStoreButtonClick}\n alt={iosAlt}\n />\n <Picture\n className={style.img}\n src={playStoreButtonImageUrl}\n onClick={onPlayStoreButtonClick}\n alt={androidAlt}\n />\n </div>\n);\n\nStoresLinks.propTypes = {\n onAppStoreButtonClick: PropTypes.func,\n appStoreButtonImageUrl: PropTypes.string,\n playStoreButtonImageUrl: PropTypes.string,\n onPlayStoreButtonClick: PropTypes.func,\n 'android-alt': PropTypes.string,\n 'ios-alt': PropTypes.string\n};\n\nfunction MoocFooter(props) {\n const {\n headSection = {},\n socialLinks = [],\n 'logo-aria-label': logoAriaLabel,\n 'social-links-aria-label': socialLinksAriaLabel,\n siteMapSections = []\n } = props;\n\n // Header section of the footer (the marketing banner)\n\n const headSectionView = !isEmpty(headSection) ? (\n <div data-name=\"headSpacingContainer\" className={style.headSpacingContainer}>\n <div data-name=\"headSection\" className={style.headSectionWrapper}>\n <div className={style.logoAndLabelWrapper}>\n <div className={style.logoWrapper}>\n <CoorpAppLogo\n className={style.coorpAppLogo}\n aria-label={headSection['logo-aria-label']}\n />\n </div>\n <div data-name=\"mobile-marketing-text\" className={style.marketingLabel}>\n {headSection.title}\n </div>\n </div>\n <div data-name=\"mobile-apps-buttons-wrapper\" className={style.mobileAppLinks}>\n <StoresLinks\n // ignored due to naming conventions in JSX rather than a linting error\n // eslint-disable-next-line react/jsx-handler-names\n onAppStoreButtonClick={headSection.onAppStoreButtonClick}\n appStoreButtonImageUrl={headSection.appStoreButtonImageUrl}\n playStoreButtonImageUrl={headSection.playStoreButtonImageUrl}\n // eslint-disable-next-line react/jsx-handler-names\n onPlayStoreButtonClick={headSection.onPlayStoreButtonClick}\n android-alt={headSection['android-alt']}\n ios-alt={headSection['ios-alt']}\n />\n </div>\n </div>\n </div>\n ) : null;\n\n // Sitemap section of the footer (contains HELP, TOOLBOX... and other pages, as well as social links)\n\n const renderPagesFromSection = pages => {\n return (\n <ul className={style.pagesList} data-name=\"pages-list\">\n {pages.map((page, pindex) => {\n const handleClick = page.onClick;\n return (\n <li key={pindex}>\n <Link\n href={page.link}\n onClick={handleClick}\n title={page.title}\n data-text={page.title}\n className={style.pageLink}\n target={page.target}\n aria-label={page.ariaLabel ? page.ariaLabel : page.title}\n data-name={page.title}\n >\n {page.title}\n </Link>\n </li>\n );\n })}\n </ul>\n );\n };\n\n const sections = !isEmpty(siteMapSections)\n ? siteMapSections.map((section, index) => {\n return (\n <nav key={index} className={style.sectionWrapper}>\n <p className={style.sectionTitle}>{section.title}</p>\n {renderPagesFromSection(section.pages)}\n </nav>\n );\n })\n : null;\n\n const socialLinksView = socialLinks.map((socialLink, index) => {\n return (\n <li className={style.socialLink} key={index}>\n <SocialLink\n type={socialLink.type}\n link={socialLink.link}\n mode=\"footer\"\n aria-label={socialLink['aria-label']}\n />\n </li>\n );\n });\n\n const socialNetworks = (\n <div data-name=\"logo-social-networks-container\" className={style.logoSocialNetworksContainer}>\n <CoorpLogo\n className={style.coorpLogo}\n data-name=\"coorp-social-networks-logo\"\n aria-label={logoAriaLabel}\n />\n <ul\n data-name=\"social-networks-wrapper\"\n className={style.socialNetworksWrapper}\n aria-label={socialLinksAriaLabel}\n >\n {socialLinksView}\n </ul>\n </div>\n );\n\n const siteMap = (\n <div data-name=\"site-map-spacing-container\" className={style.siteMapSpacingContainer}>\n <div data-name=\"site-map\" className={style.siteMapContainer}>\n <div data-name=\"sections\" className={style.sectionsContainer}>\n {sections}\n </div>\n {socialNetworks}\n </div>\n </div>\n );\n\n return (\n <footer data-name=\"mooc-footer\">\n {headSectionView}\n {siteMap}\n </footer>\n );\n}\n\nMoocFooter.propTypes = {\n headSection: PropTypes.shape({\n title: PropTypes.string,\n onAppStoreButtonClick: PropTypes.func,\n appStoreButtonImageUrl: PropTypes.string,\n playStoreButtonImageUrl: PropTypes.string,\n onPlayStoreButtonClick: PropTypes.func,\n 'logo-aria-label': PropTypes.string,\n 'android-alt': PropTypes.string,\n 'ios-alt': PropTypes.string\n }),\n siteMapSections: PropTypes.arrayOf(\n PropTypes.shape({\n title: PropTypes.string,\n pages: PropTypes.arrayOf(\n PropTypes.shape({\n title: PropTypes.string,\n link: PropTypes.string,\n target: PropTypes.string,\n ariaLabel: PropTypes.string\n })\n )\n })\n ),\n socialLinks: PropTypes.arrayOf(\n PropTypes.shape({\n type: PropTypes.oneOf(socialLinksTypes),\n link: PropTypes.string,\n onClick: PropTypes.func,\n 'aria-label': PropTypes.string\n })\n ),\n 'logo-aria-label': PropTypes.string,\n 'social-links-aria-label': PropTypes.string\n};\n\nexport default MoocFooter;\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAElC,SACEC,mCAAmC,IAAIC,YAAY,EACnDC,oCAAoC,IAAIC,SAAS,QAC5C,0BAA0B;AACjC,OAAOC,IAAI,MAAM,iBAAiB;AAClC,OA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