@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
package/es/atom/range/index.js
CHANGED
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
import _clamp from "lodash/fp/clamp";
|
|
2
2
|
import _set from "lodash/fp/set";
|
|
3
3
|
import _noop from "lodash/fp/noop";
|
|
4
|
-
|
|
5
|
-
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); }
|
|
6
|
-
|
|
7
4
|
import React from 'react';
|
|
8
5
|
import PropTypes from 'prop-types';
|
|
9
6
|
import Handle from './handle';
|
|
10
7
|
import style from './style.css';
|
|
11
|
-
|
|
12
8
|
const valueOnTrack = (track, x) => {
|
|
13
9
|
const {
|
|
14
10
|
left,
|
|
@@ -16,7 +12,6 @@ const valueOnTrack = (track, x) => {
|
|
|
16
12
|
} = track.getBoundingClientRect();
|
|
17
13
|
return _clamp(0, 1, (x - left) / (right - left));
|
|
18
14
|
};
|
|
19
|
-
|
|
20
15
|
const extractStateFromProps = props => {
|
|
21
16
|
const {
|
|
22
17
|
multi = false,
|
|
@@ -27,7 +22,6 @@ const extractStateFromProps = props => {
|
|
|
27
22
|
value: multi ? value : [0, value]
|
|
28
23
|
};
|
|
29
24
|
};
|
|
30
|
-
|
|
31
25
|
const RenderHandles = props => {
|
|
32
26
|
const {
|
|
33
27
|
left,
|
|
@@ -65,7 +59,6 @@ const RenderHandles = props => {
|
|
|
65
59
|
HammerForTesting: HammerForTestingMax
|
|
66
60
|
})));
|
|
67
61
|
};
|
|
68
|
-
|
|
69
62
|
RenderHandles.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
70
63
|
left: PropTypes.number,
|
|
71
64
|
right: PropTypes.number,
|
|
@@ -78,7 +71,6 @@ RenderHandles.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
78
71
|
HammerForTestingMin: Handle.propTypes.HammerForTesting,
|
|
79
72
|
HammerForTestingMax: Handle.propTypes.HammerForTesting
|
|
80
73
|
} : {};
|
|
81
|
-
|
|
82
74
|
class Range extends React.Component {
|
|
83
75
|
static getDerivedStateFromProps(props, state) {
|
|
84
76
|
const {
|
|
@@ -87,12 +79,12 @@ class Range extends React.Component {
|
|
|
87
79
|
if (pending) return null;
|
|
88
80
|
return extractStateFromProps(props);
|
|
89
81
|
}
|
|
90
|
-
|
|
91
82
|
constructor(props, context) {
|
|
92
83
|
super(props, context);
|
|
93
|
-
this.state =
|
|
84
|
+
this.state = {
|
|
85
|
+
...extractStateFromProps(props),
|
|
94
86
|
pending: false
|
|
95
|
-
}
|
|
87
|
+
};
|
|
96
88
|
this.handleClick = this.handleClick.bind(this);
|
|
97
89
|
this.setRefTrack = this.setRefTrack.bind(this);
|
|
98
90
|
this.handleMinChange = this.handleMinChange.bind(this);
|
|
@@ -100,46 +92,38 @@ class Range extends React.Component {
|
|
|
100
92
|
this.handleMinChangeEnd = this.handleMinChangeEnd.bind(this);
|
|
101
93
|
this.handleMaxChangeEnd = this.handleMaxChangeEnd.bind(this);
|
|
102
94
|
}
|
|
103
|
-
|
|
104
95
|
setRefTrack(track) {
|
|
105
96
|
this.track = track;
|
|
106
97
|
}
|
|
107
|
-
|
|
108
98
|
handleMinChange(e) {
|
|
109
99
|
e.srcEvent.stopPropagation();
|
|
110
100
|
e.srcEvent.preventDefault();
|
|
111
101
|
const newValue = valueOnTrack(this.track, e.center.x);
|
|
112
102
|
return this.handleChange(newValue, 0, true);
|
|
113
103
|
}
|
|
114
|
-
|
|
115
104
|
handleMaxChange(e) {
|
|
116
105
|
e.srcEvent.stopPropagation();
|
|
117
106
|
e.srcEvent.preventDefault();
|
|
118
107
|
const newValue = valueOnTrack(this.track, e.center.x);
|
|
119
108
|
return this.handleChange(newValue, 1, true);
|
|
120
109
|
}
|
|
121
|
-
|
|
122
110
|
handleMinChangeEnd(e) {
|
|
123
111
|
e.srcEvent.stopPropagation();
|
|
124
112
|
e.srcEvent.preventDefault();
|
|
125
113
|
const newValue = valueOnTrack(this.track, e.center.x);
|
|
126
114
|
return this.handleChange(newValue, 0, false);
|
|
127
115
|
}
|
|
128
|
-
|
|
129
116
|
handleMaxChangeEnd(e) {
|
|
130
117
|
e.srcEvent.stopPropagation();
|
|
131
118
|
e.srcEvent.preventDefault();
|
|
132
119
|
const newValue = valueOnTrack(this.track, e.center.x);
|
|
133
120
|
return this.handleChange(newValue, 1, false);
|
|
134
121
|
}
|
|
135
|
-
|
|
136
122
|
handleChange(value, valueIndex, pending) {
|
|
137
123
|
const {
|
|
138
124
|
value: prevValue
|
|
139
125
|
} = this.state;
|
|
140
|
-
|
|
141
126
|
const newValue = _set(valueIndex, value, prevValue);
|
|
142
|
-
|
|
143
127
|
const [minValue, maxValue] = newValue;
|
|
144
128
|
const nextValue = minValue > maxValue ? prevValue : newValue;
|
|
145
129
|
this.triggerChange(nextValue, pending);
|
|
@@ -148,7 +132,6 @@ class Range extends React.Component {
|
|
|
148
132
|
value: pending ? nextValue : extractStateFromProps(this.props).value
|
|
149
133
|
});
|
|
150
134
|
}
|
|
151
|
-
|
|
152
135
|
triggerChange(newValues, pending) {
|
|
153
136
|
const {
|
|
154
137
|
onChange = _noop,
|
|
@@ -158,7 +141,6 @@ class Range extends React.Component {
|
|
|
158
141
|
const handle = pending ? onChange : onChangeEnd;
|
|
159
142
|
return handle(multi ? newValues : newValues[1]);
|
|
160
143
|
}
|
|
161
|
-
|
|
162
144
|
handleClick(e) {
|
|
163
145
|
e.stopPropagation();
|
|
164
146
|
e.preventDefault();
|
|
@@ -169,16 +151,13 @@ class Range extends React.Component {
|
|
|
169
151
|
const x = e.clientX;
|
|
170
152
|
const newValue = valueOnTrack(this.track, x);
|
|
171
153
|
if (!multi) return this.handleChange(newValue, 1, false);
|
|
172
|
-
|
|
173
154
|
if (left === right) {
|
|
174
155
|
const isClickToTheLeft = left - newValue > 0;
|
|
175
156
|
return this.handleChange(newValue, isClickToTheLeft ? 0 : 1, false);
|
|
176
157
|
}
|
|
177
|
-
|
|
178
158
|
const closestHandle = Math.abs(newValue - left) < Math.abs(newValue - right) ? 0 : 1;
|
|
179
159
|
return this.handleChange(newValue, closestHandle, false);
|
|
180
160
|
}
|
|
181
|
-
|
|
182
161
|
render() {
|
|
183
162
|
const {
|
|
184
163
|
multi = false,
|
|
@@ -223,9 +202,7 @@ class Range extends React.Component {
|
|
|
223
202
|
onHandleMaxChangeEnd: this.handleMaxChangeEnd
|
|
224
203
|
})));
|
|
225
204
|
}
|
|
226
|
-
|
|
227
205
|
}
|
|
228
|
-
|
|
229
206
|
Range.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
230
207
|
onChange: PropTypes.func,
|
|
231
208
|
onChangeEnd: PropTypes.func,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["React","PropTypes","Handle","style","valueOnTrack","track","x","left","right","getBoundingClientRect","extractStateFromProps","props","multi","value","RenderHandles","pending","onHandleMinChange","onHandleMinChangeEnd","onHandleMaxChange","onHandleMaxChangeEnd","HammerForTestingMin","HammerForTestingMax","handle","animatedHandle","propTypes","number","bool","func","HammerForTesting","Range","Component","getDerivedStateFromProps","state","constructor","context","handleClick","bind","setRefTrack","handleMinChange","handleMaxChange","handleMinChangeEnd","handleMaxChangeEnd","e","srcEvent","stopPropagation","preventDefault","newValue","center","handleChange","valueIndex","prevValue","minValue","maxValue","nextValue","triggerChange","setState","newValues","onChange","onChangeEnd","clientX","isClickToTheLeft","closestHandle","Math","abs","render","railWidth","railLeft","railStyle","backgroundColor","width","containerWrapper","container","rail","animatedRail","oneOfType","arrayOf"],"sources":["../../../src/atom/range/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {noop, set, clamp} from 'lodash/fp';\nimport Handle from './handle';\nimport style from './style.css';\n\nconst valueOnTrack = (track, x) => {\n const {left, right} = track.getBoundingClientRect();\n return clamp(0, 1, (x - left) / (right - left));\n};\n\nconst extractStateFromProps = props => {\n const {multi = false, value = multi ? [0, 1] : 0} = props;\n return {\n multi,\n value: multi ? value : [0, value]\n };\n};\n\nconst RenderHandles = props => {\n const {\n left,\n right,\n multi = false,\n pending,\n onHandleMinChange,\n onHandleMinChangeEnd,\n onHandleMaxChange,\n onHandleMaxChangeEnd,\n HammerForTestingMin,\n HammerForTestingMax\n } = props;\n\n return (\n <div data-testid=\"handles\">\n {multi ? (\n <span\n className={pending ? style.handle : style.animatedHandle}\n style={{left: `${left * 100}%`}}\n >\n <Handle\n axis=\"x\"\n onPan={onHandleMinChange}\n onPanEnd={onHandleMinChangeEnd}\n HammerForTesting={HammerForTestingMin}\n />\n </span>\n ) : null}\n <span\n className={pending ? style.handle : style.animatedHandle}\n style={{left: `${right * 100}%`}}\n >\n <Handle\n axis=\"x\"\n onPan={onHandleMaxChange}\n onPanEnd={onHandleMaxChangeEnd}\n HammerForTesting={HammerForTestingMax}\n />\n </span>\n </div>\n );\n};\n\nRenderHandles.propTypes = {\n left: PropTypes.number,\n right: PropTypes.number,\n multi: PropTypes.bool,\n pending: PropTypes.bool,\n onHandleMinChange: PropTypes.func,\n onHandleMinChangeEnd: PropTypes.func,\n onHandleMaxChange: PropTypes.func,\n onHandleMaxChangeEnd: PropTypes.func,\n HammerForTestingMin: Handle.propTypes.HammerForTesting,\n HammerForTestingMax: Handle.propTypes.HammerForTesting\n};\n\nclass Range extends React.Component {\n static propTypes = {\n onChange: PropTypes.func,\n onChangeEnd: PropTypes.func,\n multi: PropTypes.bool,\n HammerForTestingMin: RenderHandles.propTypes.HammerForTestingMin,\n HammerForTestingMax: RenderHandles.propTypes.HammerForTestingMax,\n // eslint-disable-next-line react/no-unused-prop-types\n value: PropTypes.oneOfType([PropTypes.number, PropTypes.arrayOf(PropTypes.number)])\n };\n\n static getDerivedStateFromProps(props, state) {\n const {pending} = state;\n\n if (pending) return null;\n\n return extractStateFromProps(props);\n }\n\n constructor(props, context) {\n super(props, context);\n\n this.state = {\n ...extractStateFromProps(props),\n pending: false\n };\n\n this.handleClick = this.handleClick.bind(this);\n this.setRefTrack = this.setRefTrack.bind(this);\n this.handleMinChange = this.handleMinChange.bind(this);\n this.handleMaxChange = this.handleMaxChange.bind(this);\n this.handleMinChangeEnd = this.handleMinChangeEnd.bind(this);\n this.handleMaxChangeEnd = this.handleMaxChangeEnd.bind(this);\n }\n\n setRefTrack(track) {\n this.track = track;\n }\n\n handleMinChange(e) {\n e.srcEvent.stopPropagation();\n e.srcEvent.preventDefault();\n const newValue = valueOnTrack(this.track, e.center.x);\n return this.handleChange(newValue, 0, true);\n }\n\n handleMaxChange(e) {\n e.srcEvent.stopPropagation();\n e.srcEvent.preventDefault();\n const newValue = valueOnTrack(this.track, e.center.x);\n return this.handleChange(newValue, 1, true);\n }\n\n handleMinChangeEnd(e) {\n e.srcEvent.stopPropagation();\n e.srcEvent.preventDefault();\n const newValue = valueOnTrack(this.track, e.center.x);\n return this.handleChange(newValue, 0, false);\n }\n\n handleMaxChangeEnd(e) {\n e.srcEvent.stopPropagation();\n e.srcEvent.preventDefault();\n const newValue = valueOnTrack(this.track, e.center.x);\n return this.handleChange(newValue, 1, false);\n }\n\n handleChange(value, valueIndex, pending) {\n const {value: prevValue} = this.state;\n\n const newValue = set(valueIndex, value, prevValue);\n\n const [minValue, maxValue] = newValue;\n\n const nextValue = minValue > maxValue ? prevValue : newValue;\n\n this.triggerChange(nextValue, pending);\n return this.setState({\n pending,\n value: pending ? nextValue : extractStateFromProps(this.props).value\n });\n }\n\n triggerChange(newValues, pending) {\n const {onChange = noop, onChangeEnd = onChange, multi = false} = this.props;\n\n const handle = pending ? onChange : onChangeEnd;\n\n return handle(multi ? newValues : newValues[1]);\n }\n\n handleClick(e) {\n e.stopPropagation();\n e.preventDefault();\n const {\n value: [left, right],\n multi\n } = this.state;\n const x = e.clientX;\n const newValue = valueOnTrack(this.track, x);\n\n if (!multi) return this.handleChange(newValue, 1, false);\n\n if (left === right) {\n const isClickToTheLeft = left - newValue > 0;\n return this.handleChange(newValue, isClickToTheLeft ? 0 : 1, false);\n }\n\n const closestHandle = Math.abs(newValue - left) < Math.abs(newValue - right) ? 0 : 1;\n return this.handleChange(newValue, closestHandle, false);\n }\n\n render() {\n const {\n multi = false,\n value: [left, right],\n pending\n } = this.state;\n const railWidth = right - left;\n const railLeft = left;\n const railStyle = {\n backgroundColor: '#9999A8',\n width: `${railWidth * 100}%`,\n left: `${railLeft * 100}%`\n };\n\n const {HammerForTestingMin, HammerForTestingMax} = this.props;\n\n return (\n <div data-testid=\"slider\" className={style.containerWrapper} onClick={this.handleClick}>\n <div className={style.container}>\n <div\n data-testid=\"track\"\n className={style.track}\n data-name=\"sliderTrack\"\n ref={this.setRefTrack}\n />\n <div className={pending ? style.rail : style.animatedRail} style={railStyle} />\n <RenderHandles\n HammerForTestingMin={HammerForTestingMin}\n HammerForTestingMax={HammerForTestingMax}\n left={left}\n right={right}\n pending={pending}\n multi={multi}\n onHandleMinChange={this.handleMinChange}\n onHandleMinChangeEnd={this.handleMinChangeEnd}\n onHandleMaxChange={this.handleMaxChange}\n onHandleMaxChangeEnd={this.handleMaxChangeEnd}\n />\n </div>\n </div>\n );\n }\n}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CAAwBH,mBAL5B;EAMjB;EACAR,KAAK,EAAEZ,SAAS,CAACyE,SAAV,CAAoB,CAACzE,SAAS,CAACwB,MAAX,EAAmBxB,SAAS,CAAC0E,OAAV,CAAkB1E,SAAS,CAACwB,MAA5B,CAAnB,CAApB;AAPU,C;AA2JrB,eAAeI,KAAf"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["React","PropTypes","Handle","style","valueOnTrack","track","x","left","right","getBoundingClientRect","_clamp","extractStateFromProps","props","multi","value","RenderHandles","pending","onHandleMinChange","onHandleMinChangeEnd","onHandleMaxChange","onHandleMaxChangeEnd","HammerForTestingMin","HammerForTestingMax","createElement","className","handle","animatedHandle","axis","onPan","onPanEnd","HammerForTesting","propTypes","process","env","NODE_ENV","number","bool","func","Range","Component","getDerivedStateFromProps","state","constructor","context","handleClick","bind","setRefTrack","handleMinChange","handleMaxChange","handleMinChangeEnd","handleMaxChangeEnd","e","srcEvent","stopPropagation","preventDefault","newValue","center","handleChange","valueIndex","prevValue","_set","minValue","maxValue","nextValue","triggerChange","setState","newValues","onChange","_noop","onChangeEnd","clientX","isClickToTheLeft","closestHandle","Math","abs","render","railWidth","railLeft","railStyle","backgroundColor","width","containerWrapper","onClick","container","ref","rail","animatedRail","oneOfType","arrayOf"],"sources":["../../../src/atom/range/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {noop, set, clamp} from 'lodash/fp';\nimport Handle from './handle';\nimport style from './style.css';\n\nconst valueOnTrack = (track, x) => {\n const {left, right} = track.getBoundingClientRect();\n return clamp(0, 1, (x - left) / (right - left));\n};\n\nconst extractStateFromProps = props => {\n const {multi = false, value = multi ? [0, 1] : 0} = props;\n return {\n multi,\n value: multi ? value : [0, value]\n };\n};\n\nconst RenderHandles = props => {\n const {\n left,\n right,\n multi = false,\n pending,\n onHandleMinChange,\n onHandleMinChangeEnd,\n onHandleMaxChange,\n onHandleMaxChangeEnd,\n HammerForTestingMin,\n HammerForTestingMax\n } = props;\n\n return (\n <div data-testid=\"handles\">\n {multi ? (\n <span\n className={pending ? style.handle : style.animatedHandle}\n style={{left: `${left * 100}%`}}\n >\n <Handle\n axis=\"x\"\n onPan={onHandleMinChange}\n onPanEnd={onHandleMinChangeEnd}\n HammerForTesting={HammerForTestingMin}\n />\n </span>\n ) : null}\n <span\n className={pending ? style.handle : style.animatedHandle}\n style={{left: `${right * 100}%`}}\n >\n <Handle\n axis=\"x\"\n onPan={onHandleMaxChange}\n onPanEnd={onHandleMaxChangeEnd}\n HammerForTesting={HammerForTestingMax}\n />\n </span>\n </div>\n );\n};\n\nRenderHandles.propTypes = {\n left: PropTypes.number,\n right: PropTypes.number,\n multi: PropTypes.bool,\n pending: PropTypes.bool,\n onHandleMinChange: PropTypes.func,\n onHandleMinChangeEnd: PropTypes.func,\n onHandleMaxChange: PropTypes.func,\n onHandleMaxChangeEnd: PropTypes.func,\n HammerForTestingMin: Handle.propTypes.HammerForTesting,\n HammerForTestingMax: Handle.propTypes.HammerForTesting\n};\n\nclass Range extends React.Component {\n static propTypes = {\n onChange: PropTypes.func,\n onChangeEnd: PropTypes.func,\n multi: PropTypes.bool,\n HammerForTestingMin: RenderHandles.propTypes.HammerForTestingMin,\n HammerForTestingMax: RenderHandles.propTypes.HammerForTestingMax,\n // eslint-disable-next-line react/no-unused-prop-types\n value: PropTypes.oneOfType([PropTypes.number, PropTypes.arrayOf(PropTypes.number)])\n };\n\n static getDerivedStateFromProps(props, state) {\n const {pending} = state;\n\n if (pending) return null;\n\n return extractStateFromProps(props);\n }\n\n constructor(props, context) {\n super(props, context);\n\n this.state = {\n ...extractStateFromProps(props),\n pending: false\n };\n\n this.handleClick = this.handleClick.bind(this);\n this.setRefTrack = this.setRefTrack.bind(this);\n this.handleMinChange = this.handleMinChange.bind(this);\n this.handleMaxChange = this.handleMaxChange.bind(this);\n this.handleMinChangeEnd = this.handleMinChangeEnd.bind(this);\n this.handleMaxChangeEnd = this.handleMaxChangeEnd.bind(this);\n }\n\n setRefTrack(track) {\n this.track = track;\n }\n\n handleMinChange(e) {\n e.srcEvent.stopPropagation();\n e.srcEvent.preventDefault();\n const newValue = valueOnTrack(this.track, e.center.x);\n return this.handleChange(newValue, 0, true);\n }\n\n handleMaxChange(e) {\n e.srcEvent.stopPropagation();\n e.srcEvent.preventDefault();\n const newValue = valueOnTrack(this.track, e.center.x);\n return this.handleChange(newValue, 1, true);\n }\n\n handleMinChangeEnd(e) {\n e.srcEvent.stopPropagation();\n e.srcEvent.preventDefault();\n const newValue = valueOnTrack(this.track, e.center.x);\n return this.handleChange(newValue, 0, false);\n }\n\n handleMaxChangeEnd(e) {\n e.srcEvent.stopPropagation();\n e.srcEvent.preventDefault();\n const newValue = valueOnTrack(this.track, e.center.x);\n return this.handleChange(newValue, 1, false);\n }\n\n handleChange(value, valueIndex, pending) {\n const {value: prevValue} = this.state;\n\n const newValue = set(valueIndex, value, prevValue);\n\n const [minValue, maxValue] = newValue;\n\n const nextValue = minValue > maxValue ? prevValue : newValue;\n\n this.triggerChange(nextValue, pending);\n return this.setState({\n pending,\n value: pending ? nextValue : extractStateFromProps(this.props).value\n });\n }\n\n triggerChange(newValues, pending) {\n const {onChange = noop, onChangeEnd = onChange, multi = false} = this.props;\n\n const handle = pending ? onChange : onChangeEnd;\n\n return handle(multi ? newValues : newValues[1]);\n }\n\n handleClick(e) {\n e.stopPropagation();\n e.preventDefault();\n const {\n value: [left, right],\n multi\n } = this.state;\n const x = e.clientX;\n const newValue = valueOnTrack(this.track, x);\n\n if (!multi) return this.handleChange(newValue, 1, false);\n\n if (left === right) {\n const isClickToTheLeft = left - newValue > 0;\n return this.handleChange(newValue, isClickToTheLeft ? 0 : 1, false);\n }\n\n const closestHandle = Math.abs(newValue - left) < Math.abs(newValue - right) ? 0 : 1;\n return this.handleChange(newValue, closestHandle, false);\n }\n\n render() {\n const {\n multi = false,\n value: [left, right],\n pending\n } = this.state;\n const railWidth = right - left;\n const railLeft = left;\n const railStyle = {\n backgroundColor: '#9999A8',\n width: `${railWidth * 100}%`,\n left: `${railLeft * 100}%`\n };\n\n const {HammerForTestingMin, HammerForTestingMax} = this.props;\n\n return (\n <div data-testid=\"slider\" className={style.containerWrapper} onClick={this.handleClick}>\n <div className={style.container}>\n <div\n data-testid=\"track\"\n className={style.track}\n data-name=\"sliderTrack\"\n ref={this.setRefTrack}\n />\n <div className={pending ? style.rail : style.animatedRail} style={railStyle} />\n <RenderHandles\n HammerForTestingMin={HammerForTestingMin}\n HammerForTestingMax={HammerForTestingMax}\n left={left}\n right={right}\n pending={pending}\n multi={multi}\n onHandleMinChange={this.handleMinChange}\n onHandleMinChangeEnd={this.handleMinChangeEnd}\n onHandleMaxChange={this.handleMaxChange}\n onHandleMaxChangeEnd={this.handleMaxChangeEnd}\n />\n </div>\n </div>\n );\n }\n}\n\nexport default Range;\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAElC,OAAOC,MAAM,MAAM,UAAU;AAC7B,OAAOC,KAAK,MAAM,aAAa;AAE/B,MAAMC,YAAY,GAAGA,CAACC,KAAK,EAAEC,CAAC,KAAK;EACjC,MAAM;IAACC,IAAI;IAAEC;EAAK,CAAC,GAAGH,KAAK,CAACI,qBAAqB,CAAC,CAAC;EACnD,OAAOC,MAAA,CAAM,CAAC,EAAE,CAAC,EAAE,CAACJ,CAAC,GAAGC,IAAI,KAAKC,KAAK,GAAGD,IAAI,CAAC,CAAC;AACjD,CAAC;AAED,MAAMI,qBAAqB,GAAGC,KAAK,IAAI;EACrC,MAAM;IAACC,KAAK,GAAG,KAAK;IAAEC,KAAK,GAAGD,KAAK,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;EAAC,CAAC,GAAGD,KAAK;EACzD,OAAO;IACLC,KAAK;IACLC,KAAK,EAAED,KAAK,GAAGC,KAAK,GAAG,CAAC,CAAC,EAAEA,KAAK;EAClC,CAAC;AACH,CAAC;AAED,MAAMC,aAAa,GAAGH,KAAK,I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S,CAACsF,SAAS,CAAC,CAACtF,SAAS,CAACkC,MAAM,EAAElC,SAAS,CAACuF,OAAO,CAACvF,SAAS,CAACkC,MAAM,CAAC,CAAC;AACpF,CAAC;AAmJH,eAAeG,KAAK","ignoreList":[]}
|
|
@@ -20,7 +20,6 @@ const TYPES = {
|
|
|
20
20
|
icon: PlayIcon
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
|
-
|
|
24
23
|
const ResourceMiniature = (props, context) => {
|
|
25
24
|
const {
|
|
26
25
|
skin
|
|
@@ -33,11 +32,8 @@ const ResourceMiniature = (props, context) => {
|
|
|
33
32
|
selected = false
|
|
34
33
|
} = props;
|
|
35
34
|
const descriptionClassName = selected ? style.selectedDescription : style.description;
|
|
36
|
-
|
|
37
35
|
const white = _get('common.white', skin);
|
|
38
|
-
|
|
39
36
|
const primary = _get('common.primary', skin);
|
|
40
|
-
|
|
41
37
|
const posterOutlineColor = selected ? primary : white;
|
|
42
38
|
const Icon = TYPES[type].icon;
|
|
43
39
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -60,14 +56,14 @@ const ResourceMiniature = (props, context) => {
|
|
|
60
56
|
},
|
|
61
57
|
className: style.icon
|
|
62
58
|
}) : null), /*#__PURE__*/React.createElement("div", {
|
|
63
|
-
className: classnames(descriptionClassName, style.innerHTML)
|
|
59
|
+
className: classnames(descriptionClassName, style.innerHTML)
|
|
60
|
+
// eslint-disable-next-line react/no-danger
|
|
64
61
|
,
|
|
65
62
|
dangerouslySetInnerHTML: {
|
|
66
63
|
__html: description
|
|
67
64
|
}
|
|
68
65
|
}));
|
|
69
66
|
};
|
|
70
|
-
|
|
71
67
|
ResourceMiniature.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
72
68
|
type: PropTypes.oneOf(_keys(TYPES)),
|
|
73
69
|
selected: PropTypes.bool,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["React","PropTypes","NovaSolidAudioAudioControlPlay","PlayIcon","NovaLineFilesOfficeFileOfficePdf","PDFIcon","NovaCompositionCoorpacademyMicrophone","PodcastIcon","classnames","Provider","style","TYPES","pdf","icon","audio","video","ResourceMiniature","props","context","skin","type","description","poster","onClick","handleOnClick","selected","descriptionClassName","selectedDescription","white","primary","posterOutlineColor","Icon","posterWrapper","borderColor","backgroundImage","color","innerHTML","__html","propTypes","oneOf","bool","string","func","contextTypes","childContextTypes"],"sources":["../../../src/atom/resource-miniature/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {get, keys} from 'lodash/fp';\nimport {\n NovaSolidAudioAudioControlPlay as PlayIcon,\n NovaLineFilesOfficeFileOfficePdf as PDFIcon,\n NovaCompositionCoorpacademyMicrophone as PodcastIcon\n} from '@coorpacademy/nova-icons';\nimport classnames from 'classnames';\nimport Provider from '../provider';\nimport style from './style.css';\n\nconst TYPES = {\n pdf: {style: style.pdf, icon: PDFIcon},\n audio: {style: style.audio, icon: PodcastIcon},\n video: {style: style.video, icon: PlayIcon}\n};\n\nconst ResourceMiniature = (props, context) => {\n const {skin} = context;\n const {type, description, poster, onClick: handleOnClick, selected = false} = props;\n const descriptionClassName = selected ? style.selectedDescription : style.description;\n const white = get('common.white', skin);\n const primary = get('common.primary', skin);\n const posterOutlineColor = selected ? primary : white;\n const Icon = TYPES[type].icon;\n return (\n <div className={TYPES[type].style} onClick={handleOnClick} data-type={type}>\n <div className={style.posterWrapper} style={{borderColor: posterOutlineColor}}>\n <div className={style.poster} style={{backgroundImage: `url(${poster})`}} />\n {!selected ? <Icon style={{color: white}} className={style.icon} /> : null}\n </div>\n <div\n className={classnames(descriptionClassName, style.innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: description}}\n />\n </div>\n );\n};\n\nResourceMiniature.propTypes = {\n type: PropTypes.oneOf(keys(TYPES)),\n selected: PropTypes.bool,\n description: PropTypes.string,\n poster: PropTypes.string,\n onClick: PropTypes.func\n};\n\nResourceMiniature.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nexport default ResourceMiniature;\n"],"mappings":";;AAAA,OAAOA,
|
|
1
|
+
{"version":3,"file":"index.js","names":["React","PropTypes","NovaSolidAudioAudioControlPlay","PlayIcon","NovaLineFilesOfficeFileOfficePdf","PDFIcon","NovaCompositionCoorpacademyMicrophone","PodcastIcon","classnames","Provider","style","TYPES","pdf","icon","audio","video","ResourceMiniature","props","context","skin","type","description","poster","onClick","handleOnClick","selected","descriptionClassName","selectedDescription","white","_get","primary","posterOutlineColor","Icon","createElement","className","posterWrapper","borderColor","backgroundImage","color","innerHTML","dangerouslySetInnerHTML","__html","propTypes","process","env","NODE_ENV","oneOf","_keys","bool","string","func","contextTypes","childContextTypes"],"sources":["../../../src/atom/resource-miniature/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {get, keys} from 'lodash/fp';\nimport {\n NovaSolidAudioAudioControlPlay as PlayIcon,\n NovaLineFilesOfficeFileOfficePdf as PDFIcon,\n NovaCompositionCoorpacademyMicrophone as PodcastIcon\n} from '@coorpacademy/nova-icons';\nimport classnames from 'classnames';\nimport Provider from '../provider';\nimport style from './style.css';\n\nconst TYPES = {\n pdf: {style: style.pdf, icon: PDFIcon},\n audio: {style: style.audio, icon: PodcastIcon},\n video: {style: style.video, icon: PlayIcon}\n};\n\nconst ResourceMiniature = (props, context) => {\n const {skin} = context;\n const {type, description, poster, onClick: handleOnClick, selected = false} = props;\n const descriptionClassName = selected ? style.selectedDescription : style.description;\n const white = get('common.white', skin);\n const primary = get('common.primary', skin);\n const posterOutlineColor = selected ? primary : white;\n const Icon = TYPES[type].icon;\n return (\n <div className={TYPES[type].style} onClick={handleOnClick} data-type={type}>\n <div className={style.posterWrapper} style={{borderColor: posterOutlineColor}}>\n <div className={style.poster} style={{backgroundImage: `url(${poster})`}} />\n {!selected ? <Icon style={{color: white}} className={style.icon} /> : null}\n </div>\n <div\n className={classnames(descriptionClassName, style.innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: description}}\n />\n </div>\n );\n};\n\nResourceMiniature.propTypes = {\n type: PropTypes.oneOf(keys(TYPES)),\n selected: PropTypes.bool,\n description: PropTypes.string,\n poster: PropTypes.string,\n onClick: PropTypes.func\n};\n\nResourceMiniature.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nexport default ResourceMiniature;\n"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAElC,SACEC,8BAA8B,IAAIC,QAAQ,EAC1CC,gCAAgC,IAAIC,OAAO,EAC3CC,qCAAqC,IAAIC,WAAW,QAC/C,0BAA0B;AACjC,OAAOC,UAAU,MAAM,YAAY;AACnC,OAAOC,QAAQ,MAAM,aAAa;AAClC,OAAOC,KAAK,MAAM,aAAa;AAE/B,MAAMC,KAAK,GAAG;EACZC,GAAG,EAAE;IAACF,KAAK,EAAEA,KAAK,CAACE,GAAG;IAAEC,IAAI,EAAER;EAAO,CAAC;EACtCS,KAAK,EAAE;IAACJ,KAAK,EAAEA,KAAK,CAACI,KAAK;IAAED,IAAI,EAAEN;EAAW,CAAC;EAC9CQ,KAAK,EAAE;IAACL,KAAK,EAAEA,KAAK,CAACK,KAAK;IAAEF,IAAI,EAAEV;EAAQ;AAC5C,CAAC;AAED,MAAMa,iBAAiB,GAAGA,CAACC,KAAK,EAAEC,OAAO,KAAK;EAC5C,MAAM;IAACC;EAAI,CAAC,GAAGD,OAAO;EACtB,MAAM;IAACE,IAAI;IAAEC,WAAW;IAAEC,MAAM;IAAEC,OAAO,EAAEC,aAAa;IAAEC,QAAQ,GAAG;EAAK,CAAC,GAAGR,KAAK;EACnF,MAAMS,oBAAoB,GAAGD,QAAQ,GAAGf,KAAK,CAACiB,mBAAmB,GAAGjB,KAAK,CAACW,WAAW;EACrF,MAAMO,KAAK,GAAGC,IAAA,CAAI,cAAc,EAAEV,IAAI,CAAC;EACvC,MAAMW,OAAO,GAAGD,IAAA,CAA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B1B,OAAO,EAAEtB,SAAS,CAACiD;AACrB,CAAC;AAEDlC,iBAAiB,CAACmC,YAAY,GAAG;EAC/BhC,IAAI,EAAEV,QAAQ,CAAC2C,iBAAiB,CAACjC;AACnC,CAAC;AAED,eAAeH,iBAAiB","ignoreList":[]}
|
|
@@ -12,24 +12,21 @@ const ICONS = {
|
|
|
12
12
|
lifes: HeartIcon,
|
|
13
13
|
allright: CheckIcon
|
|
14
14
|
};
|
|
15
|
-
|
|
16
15
|
const ReviewIcon = ({
|
|
17
16
|
icon
|
|
18
17
|
}) => {
|
|
19
18
|
const Icon = getOr(null, icon, ICONS);
|
|
20
|
-
/* istanbul ignore next */
|
|
21
19
|
|
|
20
|
+
/* istanbul ignore next */
|
|
22
21
|
if (!Icon) {
|
|
23
22
|
return /*#__PURE__*/React.createElement("div", {
|
|
24
23
|
className: style.labelIcon
|
|
25
24
|
});
|
|
26
25
|
}
|
|
27
|
-
|
|
28
26
|
return /*#__PURE__*/React.createElement(Icon, {
|
|
29
27
|
className: style.labelIcon
|
|
30
28
|
});
|
|
31
29
|
};
|
|
32
|
-
|
|
33
30
|
const ReviewListItemWrapper = ({
|
|
34
31
|
iconKey,
|
|
35
32
|
label
|
|
@@ -50,7 +47,6 @@ const ReviewListItemWrapper = ({
|
|
|
50
47
|
"aria-label": label.moreDetailsAriaLabel
|
|
51
48
|
}));
|
|
52
49
|
};
|
|
53
|
-
|
|
54
50
|
const ReviewPresentation = props => {
|
|
55
51
|
const {
|
|
56
52
|
'aria-label': ariaLabel,
|
|
@@ -62,13 +58,15 @@ const ReviewPresentation = props => {
|
|
|
62
58
|
className: style.reviewWrapper,
|
|
63
59
|
"aria-label": ariaLabel
|
|
64
60
|
}, /*#__PURE__*/React.createElement("div", {
|
|
65
|
-
className: style.reviewTitle
|
|
61
|
+
className: style.reviewTitle
|
|
62
|
+
// eslint-disable-next-line react/no-danger
|
|
66
63
|
,
|
|
67
64
|
dangerouslySetInnerHTML: {
|
|
68
65
|
__html: reviewTitle
|
|
69
66
|
}
|
|
70
67
|
}), /*#__PURE__*/React.createElement("div", {
|
|
71
|
-
className: style.reviewText
|
|
68
|
+
className: style.reviewText
|
|
69
|
+
// eslint-disable-next-line react/no-danger
|
|
72
70
|
,
|
|
73
71
|
dangerouslySetInnerHTML: {
|
|
74
72
|
__html: reviewText
|
|
@@ -89,7 +87,6 @@ const ReviewPresentation = props => {
|
|
|
89
87
|
}));
|
|
90
88
|
}, labelsList)));
|
|
91
89
|
};
|
|
92
|
-
|
|
93
90
|
ReviewIcon.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
94
91
|
icon: PropTypes.string
|
|
95
92
|
} : {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["React","PropTypes","getOr","map","NovaSolidStatusCheckCircle2","CheckIcon","NovaSolidVoteRewardsVoteHeart","HeartIcon","NovaSolidInterfaceFeedbackInterfaceQuestionMark","QuestionIcon","NovaLineSelectionCursorsCursorArrowTarget","TargetIcon","ToolTip","style","propTypes","ICONS","skills","questions","lifes","allright","ReviewIcon","icon","Icon","labelIcon","ReviewListItemWrapper","iconKey","label","reviewListItemWrapper","reviewListText","text","tooltipText","closeToolTipInformationTextAriaLabel","moreDetailsAriaLabel","ReviewPresentation","props","ariaLabel","reviewTitle","reviewText","labelsList","reviewWrapper","__html","reviewListWrapper","convert","cap","key","reviewList","string","shape"],"sources":["../../../src/atom/review-presentation/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport getOr from 'lodash/fp/getOr';\nimport map from 'lodash/fp/map';\nimport {\n NovaSolidStatusCheckCircle2 as CheckIcon,\n NovaSolidVoteRewardsVoteHeart as HeartIcon,\n NovaSolidInterfaceFeedbackInterfaceQuestionMark as QuestionIcon,\n NovaLineSelectionCursorsCursorArrowTarget as TargetIcon\n} from '@coorpacademy/nova-icons';\nimport ToolTip from '../tooltip';\nimport style from './style.css';\nimport propTypes from './prop-types';\n\nconst ICONS = {\n skills: TargetIcon,\n questions: QuestionIcon,\n lifes: HeartIcon,\n allright: CheckIcon\n};\n\nconst ReviewIcon = ({icon}) => {\n const Icon = getOr(null, icon, ICONS);\n\n /* istanbul ignore next */\n if (!Icon) {\n return <div className={style.labelIcon} />;\n }\n return <Icon className={style.labelIcon} />;\n};\n\nconst ReviewListItemWrapper = ({iconKey, label}) => {\n return (\n <div className={style.reviewListItemWrapper} data-tip data-for=\"reviewListItem\" tabIndex={0}>\n <div className={style.reviewListText}>\n <ReviewIcon icon={iconKey} /> {label.text}\n </div>\n <ToolTip\n TooltipContent={label.tooltipText}\n closeToolTipInformationTextAriaLabel={label.closeToolTipInformationTextAriaLabel}\n data-testid={`review-list-item-tooltip-button-${iconKey}`}\n aria-label={label.moreDetailsAriaLabel}\n />\n </div>\n );\n};\n\nconst ReviewPresentation = props => {\n const {'aria-label': ariaLabel, reviewTitle, reviewText, labelsList} = props;\n\n return (\n <div className={style.reviewWrapper} aria-label={ariaLabel}>\n <div\n className={style.reviewTitle}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: reviewTitle}}\n />\n <div\n className={style.reviewText}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: reviewText}}\n />\n <ul className={style.reviewListWrapper}>\n {map.convert({cap: false})((label, key) => {\n return (\n <li key={`step-${key}`} className={style.reviewList}>\n <ReviewListItemWrapper\n iconKey={key}\n label={label}\n tooltipText={label.tooltipText}\n aria-label={label.moreDetailsAriaLabel}\n />\n </li>\n );\n }, labelsList)}\n </ul>\n </div>\n );\n};\n\nReviewIcon.propTypes = {\n icon: PropTypes.string\n};\n\nReviewListItemWrapper.propTypes = {\n iconKey: PropTypes.string,\n label: PropTypes.shape({\n tooltipText: ToolTip.propTypes.tooltipText,\n moreDetailsAriaLabel: ToolTip.propTypes['aria-label'],\n closeToolTipInformationTextAriaLabel: ToolTip.propTypes.closeToolTipInformationTextAriaLabel,\n text: PropTypes.string\n })\n};\n\nReviewPresentation.propTypes = propTypes;\n\nexport default ReviewPresentation;\n"],"mappings":"AAAA,OAAOA,
|
|
1
|
+
{"version":3,"file":"index.js","names":["React","PropTypes","getOr","map","NovaSolidStatusCheckCircle2","CheckIcon","NovaSolidVoteRewardsVoteHeart","HeartIcon","NovaSolidInterfaceFeedbackInterfaceQuestionMark","QuestionIcon","NovaLineSelectionCursorsCursorArrowTarget","TargetIcon","ToolTip","style","propTypes","ICONS","skills","questions","lifes","allright","ReviewIcon","icon","Icon","createElement","className","labelIcon","ReviewListItemWrapper","iconKey","label","reviewListItemWrapper","tabIndex","reviewListText","text","TooltipContent","tooltipText","closeToolTipInformationTextAriaLabel","moreDetailsAriaLabel","ReviewPresentation","props","ariaLabel","reviewTitle","reviewText","labelsList","reviewWrapper","dangerouslySetInnerHTML","__html","reviewListWrapper","convert","cap","key","reviewList","process","env","NODE_ENV","string","shape"],"sources":["../../../src/atom/review-presentation/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport getOr from 'lodash/fp/getOr';\nimport map from 'lodash/fp/map';\nimport {\n NovaSolidStatusCheckCircle2 as CheckIcon,\n NovaSolidVoteRewardsVoteHeart as HeartIcon,\n NovaSolidInterfaceFeedbackInterfaceQuestionMark as QuestionIcon,\n NovaLineSelectionCursorsCursorArrowTarget as TargetIcon\n} from '@coorpacademy/nova-icons';\nimport ToolTip from '../tooltip';\nimport style from './style.css';\nimport propTypes from './prop-types';\n\nconst ICONS = {\n skills: TargetIcon,\n questions: QuestionIcon,\n lifes: HeartIcon,\n allright: CheckIcon\n};\n\nconst ReviewIcon = ({icon}) => {\n const Icon = getOr(null, icon, ICONS);\n\n /* istanbul ignore next */\n if (!Icon) {\n return <div className={style.labelIcon} />;\n }\n return <Icon className={style.labelIcon} />;\n};\n\nconst ReviewListItemWrapper = ({iconKey, label}) => {\n return (\n <div className={style.reviewListItemWrapper} data-tip data-for=\"reviewListItem\" tabIndex={0}>\n <div className={style.reviewListText}>\n <ReviewIcon icon={iconKey} /> {label.text}\n </div>\n <ToolTip\n TooltipContent={label.tooltipText}\n closeToolTipInformationTextAriaLabel={label.closeToolTipInformationTextAriaLabel}\n data-testid={`review-list-item-tooltip-button-${iconKey}`}\n aria-label={label.moreDetailsAriaLabel}\n />\n </div>\n );\n};\n\nconst ReviewPresentation = props => {\n const {'aria-label': ariaLabel, reviewTitle, reviewText, labelsList} = props;\n\n return (\n <div className={style.reviewWrapper} aria-label={ariaLabel}>\n <div\n className={style.reviewTitle}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: reviewTitle}}\n />\n <div\n className={style.reviewText}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: reviewText}}\n />\n <ul className={style.reviewListWrapper}>\n {map.convert({cap: false})((label, key) => {\n return (\n <li key={`step-${key}`} className={style.reviewList}>\n <ReviewListItemWrapper\n iconKey={key}\n label={label}\n tooltipText={label.tooltipText}\n aria-label={label.moreDetailsAriaLabel}\n />\n </li>\n );\n }, labelsList)}\n </ul>\n </div>\n );\n};\n\nReviewIcon.propTypes = {\n icon: PropTypes.string\n};\n\nReviewListItemWrapper.propTypes = {\n iconKey: PropTypes.string,\n label: PropTypes.shape({\n tooltipText: ToolTip.propTypes.tooltipText,\n moreDetailsAriaLabel: ToolTip.propTypes['aria-label'],\n closeToolTipInformationTextAriaLabel: ToolTip.propTypes.closeToolTipInformationTextAriaLabel,\n text: PropTypes.string\n })\n};\n\nReviewPresentation.propTypes = propTypes;\n\nexport default ReviewPresentation;\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAClC,OAAOC,KAAK,MAAM,iBAAiB;AACnC,OAAOC,GAAG,MAAM,eAAe;AAC/B,SACEC,2BAA2B,IAAIC,SAAS,EACxCC,6BAA6B,IAAIC,SAAS,EAC1CC,+CAA+C,IAAIC,YAAY,EAC/DC,yCAAyC,IAAIC,UAAU,QAClD,0BAA0B;AACjC,OAAOC,OAAO,MAAM,Y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SAAS,CAACqD,MAAM;EACzB1B,KAAK,EAAE3B,SAAS,CAACsD,KAAK,CAAC;IACrBrB,WAAW,EAAEtB,OAAO,CAACE,SAAS,CAACoB,WAAW;IAC1CE,oBAAoB,EAAExB,OAAO,CAACE,SAAS,CAAC,YAAY,CAAC;IACrDqB,oCAAoC,EAAEvB,OAAO,CAACE,SAAS,CAACqB,oCAAoC;IAC5FH,IAAI,EAAE/B,SAAS,CAACqD;EAClB,CAAC;AACH,CAAC;AAEDjB,kBAAkB,CAACvB,SAAS,GAAAqC,OAAA,CAAAC,GAAA,CAAAC,QAAA,oBAAGvC,SAAS;AAExC,eAAeuB,kBAAkB","ignoreList":[]}
|
|
@@ -4,7 +4,6 @@ import { NovaLineSelectionCursorsCursorArrowTarget as TargetIcon, NovaSolidInter
|
|
|
4
4
|
import { useTemplateContext } from '../../template/app-review/template-context';
|
|
5
5
|
import Touchable from '../../hoc/touchable/index.native';
|
|
6
6
|
import Html from '../html/index.native';
|
|
7
|
-
|
|
8
7
|
const createStyleSheet = (brandTheme, theme) => StyleSheet.create({
|
|
9
8
|
container: {
|
|
10
9
|
backgroundColor: theme.colors.white,
|
|
@@ -69,7 +68,6 @@ const createStyleSheet = (brandTheme, theme) => StyleSheet.create({
|
|
|
69
68
|
color: '#fff'
|
|
70
69
|
}
|
|
71
70
|
});
|
|
72
|
-
|
|
73
71
|
const Tip = props => {
|
|
74
72
|
const templateContext = useTemplateContext();
|
|
75
73
|
const [styleSheet, setStylesheet] = useState(null);
|
|
@@ -83,14 +81,11 @@ const Tip = props => {
|
|
|
83
81
|
} = props;
|
|
84
82
|
useEffect(() => {
|
|
85
83
|
const _stylesheet = createStyleSheet(brandTheme, theme);
|
|
86
|
-
|
|
87
84
|
setStylesheet(_stylesheet);
|
|
88
85
|
}, [brandTheme, theme]);
|
|
89
|
-
|
|
90
86
|
if (!styleSheet) {
|
|
91
87
|
return null;
|
|
92
88
|
}
|
|
93
|
-
|
|
94
89
|
return /*#__PURE__*/React.createElement(View, {
|
|
95
90
|
style: styleSheet.tip
|
|
96
91
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
@@ -102,7 +97,6 @@ const Tip = props => {
|
|
|
102
97
|
style: styleSheet.tipText
|
|
103
98
|
}, text));
|
|
104
99
|
};
|
|
105
|
-
|
|
106
100
|
const Onboarding = props => {
|
|
107
101
|
const templateContext = useTemplateContext();
|
|
108
102
|
const [styleSheet, setStylesheet] = useState(null);
|
|
@@ -116,14 +110,14 @@ const Onboarding = props => {
|
|
|
116
110
|
} = props;
|
|
117
111
|
useEffect(() => {
|
|
118
112
|
const _stylesheet = createStyleSheet(brandTheme, theme);
|
|
119
|
-
|
|
120
113
|
setStylesheet(_stylesheet);
|
|
121
|
-
}, [brandTheme, theme]);
|
|
114
|
+
}, [brandTheme, theme]);
|
|
115
|
+
|
|
116
|
+
// ------------------------------------
|
|
122
117
|
|
|
123
118
|
if (!styleSheet) {
|
|
124
119
|
return null;
|
|
125
120
|
}
|
|
126
|
-
|
|
127
121
|
return /*#__PURE__*/React.createElement(View, {
|
|
128
122
|
style: styleSheet.container
|
|
129
123
|
}, /*#__PURE__*/React.createElement(Html, {
|
|
@@ -155,6 +149,5 @@ const Onboarding = props => {
|
|
|
155
149
|
style: styleSheet.buttonText
|
|
156
150
|
}, translations.ok)));
|
|
157
151
|
};
|
|
158
|
-
|
|
159
152
|
export default Onboarding;
|
|
160
153
|
//# sourceMappingURL=index.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.native.js","names":["React","useState","useEffect","View","StyleSheet","Text","NovaLineSelectionCursorsCursorArrowTarget","TargetIcon","NovaSolidInterfaceFeedbackInterfaceQuestionMark","QuestionMarkIcon","NovaSolidStatusCheckCircle2","CheckCircle2Icon","NovaCompositionCoorpacademyVoteHeartOutline","HeartIcon","useTemplateContext","Touchable","Html","createStyleSheet","brandTheme","theme","create","container","backgroundColor","colors","white","justifyContent","flex","padding","paddingTop","paddingBottom","title","height","width","fontSize","xxlarge","fontWeight","bold","lineHeight","color","text","primary","marginBottom","textContainer","marginTop","large","opacity","tips","tip","flexDirection","overflow","alignItems","borderRadius","gray","extra","spacing","micro","tipText","icon","margin","button","cta","buttonText","alignSelf","Tip","props","templateContext","styleSheet","setStylesheet","Icon","_stylesheet","Onboarding","translations","onPress","appReview","presentation","labelList","skills","questions","lifes","allright","ok"],"sources":["../../../src/atom/review-presentation/index.native.tsx"],"sourcesContent":["import React, {useState, useEffect} from 'react';\nimport {View, StyleSheet, Text, ViewStyle, TextStyle} from 'react-native';\nimport {\n NovaLineSelectionCursorsCursorArrowTarget as TargetIcon,\n NovaSolidInterfaceFeedbackInterfaceQuestionMark as QuestionMarkIcon,\n NovaSolidStatusCheckCircle2 as CheckCircle2Icon,\n NovaCompositionCoorpacademyVoteHeartOutline as HeartIcon\n} from '@coorpacademy/nova-icons';\n\nimport {useTemplateContext} from '../../template/app-review/template-context';\nimport {Theme} from '../../variables/theme.native';\nimport Touchable from '../../hoc/touchable/index.native';\nimport Html from '../html/index.native';\nimport {Brand} from '../../variables/brand.native';\nimport {OnboardingProps, TipProps} from './prop-types';\n\ntype StyleSheetType = {\n container: ViewStyle;\n title: TextStyle;\n text: TextStyle;\n textContainer: ViewStyle;\n tips: ViewStyle;\n tip: ViewStyle;\n tipText: TextStyle;\n icon: ViewStyle;\n button: ViewStyle;\n buttonText: TextStyle;\n};\n\nconst createStyleSheet = (brandTheme: Brand, theme: Theme): StyleSheetType =>\n StyleSheet.create({\n container: {\n backgroundColor: theme.colors.white,\n justifyContent: 'space-between',\n flex: 1,\n padding: 20,\n paddingTop: 20,\n paddingBottom: 100\n },\n title: {\n height: 72,\n width: 268,\n fontSize: theme.fontSize.xxlarge,\n fontWeight: theme.fontWeight.bold,\n lineHeight: 36,\n color: theme.colors.text.primary,\n marginBottom: 32\n },\n textContainer: {\n marginTop: 8\n },\n text: {\n fontSize: theme.fontSize.large,\n color: theme.colors.text.primary,\n opacity: 0.7\n },\n tips: {\n marginTop: 32,\n height: 230,\n justifyContent: 'center'\n },\n tip: {\n flexDirection: 'row',\n overflow: 'hidden',\n alignItems: 'center',\n height: 54,\n borderRadius: 8,\n backgroundColor: theme.colors.gray.extra,\n marginTop: theme.spacing.micro,\n marginBottom: theme.spacing.micro\n },\n tipText: {\n fontSize: 16,\n lineHeight: 22,\n color: theme.colors.text.primary\n },\n icon: {\n margin: 10\n },\n button: {\n height: 52,\n borderRadius: 7,\n marginBottom: 32,\n marginTop: 16,\n backgroundColor: brandTheme?.colors?.primary || theme.colors.cta,\n justifyContent: 'center'\n },\n buttonText: {\n alignSelf: 'center',\n fontWeight: theme.fontWeight.bold,\n fontSize: theme.fontSize.large,\n color: '#fff'\n }\n });\n\nconst Tip = (props: TipProps) => {\n const templateContext = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n const {brandTheme, theme} = templateContext;\n const {Icon, text} = 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 <View style={styleSheet.tip}>\n <Icon height={16} width={16} style={styleSheet.icon} color={theme.colors.text.primary} />\n <Text style={styleSheet.tipText}>{text}</Text>\n </View>\n );\n};\n\nconst Onboarding = (props: OnboardingProps) => {\n const templateContext = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n const {brandTheme, theme, translations} = templateContext;\n const {onPress} = props;\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(brandTheme, theme);\n setStylesheet(_stylesheet);\n }, [brandTheme, theme]);\n\n // ------------------------------------\n\n if (!styleSheet) {\n return null;\n }\n\n return (\n <View style={styleSheet.container}>\n <Html style={styleSheet.title}>{translations.appReview.presentation.title}</Html>\n\n <View style={styleSheet.textContainer}>\n <Html style={styleSheet.text}>{translations.appReview.presentation.text}</Html>\n </View>\n\n <View style={styleSheet.tips}>\n <Tip Icon={TargetIcon} text={translations.appReview.presentation.labelList.skills.text} />\n <Tip\n Icon={QuestionMarkIcon}\n text={translations.appReview.presentation.labelList.questions.text}\n />\n <Tip Icon={HeartIcon} text={translations.appReview.presentation.labelList.lifes.text} />\n <Tip\n Icon={CheckCircle2Icon}\n text={translations.appReview.presentation.labelList.allright.text}\n />\n </View>\n <Touchable\n testID=\"button-quit-revision-onboarding\"\n onPress={onPress}\n analyticsID=\"button-start\"\n style={styleSheet.button}\n >\n <Text style={styleSheet.buttonText}>{translations.ok}</Text>\n </Touchable>\n </View>\n );\n};\n\nexport default Onboarding;\n"],"mappings":"AAAA,OAAOA,KAAP,IAAeC,QAAf,EAAyBC,SAAzB,QAAyC,OAAzC;AACA,SAAQC,IAAR,EAAcC,UAAd,EAA0BC,IAA1B,QAA2D,cAA3D;AACA,SACEC,yCAAyC,IAAIC,UAD/C,EAEEC,+CAA+C,IAAIC,gBAFrD,EAGEC,2BAA2B,IAAIC,gBAHjC,EAIEC,2CAA2C,IAAIC,SAJjD,QAKO,0BALP;AAOA,SAAQC,kBAAR,QAAiC,4CAAjC;AAEA,OAAOC,SAAP,MAAsB,kCAAtB;AACA,OAAOC,IAAP,MAAiB,sBAAjB;;AAiBA,MAAMC,gBAAgB,GAAG,CAACC,UAAD,EAAoBC,KAApB,KACvBf,UAAU,CAACgB,MAAX,CAAkB;EAChBC,SAAS,EAAE;IACTC,eAAe,EAAEH,KAAK,CAACI,MAAN,CAAaC,KADrB;IAETC,cAAc,EAAE,eAFP;IAGTC,IAAI,EAAE,CAHG;IAITC,OAAO,EAAE,EAJA;IAKTC,UAAU,EAAE,EALH;IAMTC,aAAa,EAAE;EANN,CADK;EAShBC,KAAK,EAAE;IACLC,MAAM,EAAE,EADH;IAELC,KAAK,EAAE,GAFF;IAGLC,QAAQ,EAAEd,KAAK,CAACc,QAAN,CAAeC,OAHpB;IAILC,UAAU,EAAEhB,KAAK,CAACgB,UAAN,CAAiBC,IAJxB;IAKLC,UAAU,EAAE,EALP;IAMLC,KAAK,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AC,GAAD;IACE,IAAI,EAAE5B,gBADR;IAEE,IAAI,EAAE4D,YAAY,CAACE,SAAb,CAAuBC,YAAvB,CAAoCC,SAApC,CAA8CI,QAA9C,CAAuDxC;EAF/D,EAPF,CAPF,eAmBE,oBAAC,SAAD;IACE,MAAM,EAAC,iCADT;IAEE,OAAO,EAAEiC,OAFX;IAGE,WAAW,EAAC,cAHd;IAIE,KAAK,EAAEN,UAAU,CAACP;EAJpB,gBAME,oBAAC,IAAD;IAAM,KAAK,EAAEO,UAAU,CAACL;EAAxB,GAAqCU,YAAY,CAACS,EAAlD,CANF,CAnBF,CADF;AA8BD,CA/CD;;AAiDA,eAAeV,UAAf"}
|
|
1
|
+
{"version":3,"file":"index.native.js","names":["React","useState","useEffect","View","StyleSheet","Text","NovaLineSelectionCursorsCursorArrowTarget","TargetIcon","NovaSolidInterfaceFeedbackInterfaceQuestionMark","QuestionMarkIcon","NovaSolidStatusCheckCircle2","CheckCircle2Icon","NovaCompositionCoorpacademyVoteHeartOutline","HeartIcon","useTemplateContext","Touchable","Html","createStyleSheet","brandTheme","theme","create","container","backgroundColor","colors","white","justifyContent","flex","padding","paddingTop","paddingBottom","title","height","width","fontSize","xxlarge","fontWeight","bold","lineHeight","color","text","primary","marginBottom","textContainer","marginTop","large","opacity","tips","tip","flexDirection","overflow","alignItems","borderRadius","gray","extra","spacing","micro","tipText","icon","margin","button","cta","buttonText","alignSelf","Tip","props","templateContext","styleSheet","setStylesheet","Icon","_stylesheet","createElement","style","Onboarding","translations","onPress","appReview","presentation","labelList","skills","questions","lifes","allright","testID","analyticsID","ok"],"sources":["../../../src/atom/review-presentation/index.native.tsx"],"sourcesContent":["import React, {useState, useEffect} from 'react';\nimport {View, StyleSheet, Text, ViewStyle, TextStyle} from 'react-native';\nimport {\n NovaLineSelectionCursorsCursorArrowTarget as TargetIcon,\n NovaSolidInterfaceFeedbackInterfaceQuestionMark as QuestionMarkIcon,\n NovaSolidStatusCheckCircle2 as CheckCircle2Icon,\n NovaCompositionCoorpacademyVoteHeartOutline as HeartIcon\n} from '@coorpacademy/nova-icons';\n\nimport {useTemplateContext} from '../../template/app-review/template-context';\nimport {Theme} from '../../variables/theme.native';\nimport Touchable from '../../hoc/touchable/index.native';\nimport Html from '../html/index.native';\nimport {Brand} from '../../variables/brand.native';\nimport {OnboardingProps, TipProps} from './prop-types';\n\ntype StyleSheetType = {\n container: ViewStyle;\n title: TextStyle;\n text: TextStyle;\n textContainer: ViewStyle;\n tips: ViewStyle;\n tip: ViewStyle;\n tipText: TextStyle;\n icon: ViewStyle;\n button: ViewStyle;\n buttonText: TextStyle;\n};\n\nconst createStyleSheet = (brandTheme: Brand, theme: Theme): StyleSheetType =>\n StyleSheet.create({\n container: {\n backgroundColor: theme.colors.white,\n justifyContent: 'space-between',\n flex: 1,\n padding: 20,\n paddingTop: 20,\n paddingBottom: 100\n },\n title: {\n height: 72,\n width: 268,\n fontSize: theme.fontSize.xxlarge,\n fontWeight: theme.fontWeight.bold,\n lineHeight: 36,\n color: theme.colors.text.primary,\n marginBottom: 32\n },\n textContainer: {\n marginTop: 8\n },\n text: {\n fontSize: theme.fontSize.large,\n color: theme.colors.text.primary,\n opacity: 0.7\n },\n tips: {\n marginTop: 32,\n height: 230,\n justifyContent: 'center'\n },\n tip: {\n flexDirection: 'row',\n overflow: 'hidden',\n alignItems: 'center',\n height: 54,\n borderRadius: 8,\n backgroundColor: theme.colors.gray.extra,\n marginTop: theme.spacing.micro,\n marginBottom: theme.spacing.micro\n },\n tipText: {\n fontSize: 16,\n lineHeight: 22,\n color: theme.colors.text.primary\n },\n icon: {\n margin: 10\n },\n button: {\n height: 52,\n borderRadius: 7,\n marginBottom: 32,\n marginTop: 16,\n backgroundColor: brandTheme?.colors?.primary || theme.colors.cta,\n justifyContent: 'center'\n },\n buttonText: {\n alignSelf: 'center',\n fontWeight: theme.fontWeight.bold,\n fontSize: theme.fontSize.large,\n color: '#fff'\n }\n });\n\nconst Tip = (props: TipProps) => {\n const templateContext = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n const {brandTheme, theme} = templateContext;\n const {Icon, text} = 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 <View style={styleSheet.tip}>\n <Icon height={16} width={16} style={styleSheet.icon} color={theme.colors.text.primary} />\n <Text style={styleSheet.tipText}>{text}</Text>\n </View>\n );\n};\n\nconst Onboarding = (props: OnboardingProps) => {\n const templateContext = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n const {brandTheme, theme, translations} = templateContext;\n const {onPress} = props;\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(brandTheme, theme);\n setStylesheet(_stylesheet);\n }, [brandTheme, theme]);\n\n // ------------------------------------\n\n if (!styleSheet) {\n return null;\n }\n\n return (\n <View style={styleSheet.container}>\n <Html style={styleSheet.title}>{translations.appReview.presentation.title}</Html>\n\n <View style={styleSheet.textContainer}>\n <Html style={styleSheet.text}>{translations.appReview.presentation.text}</Html>\n </View>\n\n <View style={styleSheet.tips}>\n <Tip Icon={TargetIcon} text={translations.appReview.presentation.labelList.skills.text} />\n <Tip\n Icon={QuestionMarkIcon}\n text={translations.appReview.presentation.labelList.questions.text}\n />\n <Tip Icon={HeartIcon} text={translations.appReview.presentation.labelList.lifes.text} />\n <Tip\n Icon={CheckCircle2Icon}\n text={translations.appReview.presentation.labelList.allright.text}\n />\n </View>\n <Touchable\n testID=\"button-quit-revision-onboarding\"\n onPress={onPress}\n analyticsID=\"button-start\"\n style={styleSheet.button}\n >\n <Text style={styleSheet.buttonText}>{translations.ok}</Text>\n </Touchable>\n </View>\n );\n};\n\nexport default Onboarding;\n"],"mappings":"AAAA,OAAOA,KAAK,IAAGC,QAAQ,EAAEC,SAAS,QAAO,OAAO;AAChD,SAAQC,IAAI,EAAEC,UAAU,EAAEC,IAAI,QAA6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EAAC,cAAc;IAC1BZ,KAAK,EAAEL,UAAU,CAACP;EAAO,gBAEzB3D,KAAA,CAAAsE,aAAA,CAACjE,IAAI;IAACkE,KAAK,EAAEL,UAAU,CAACL;EAAW,GAAEY,YAAY,CAACW,EAAS,CAClD,CACP,CAAC;AAEX,CAAC;AAED,eAAeZ,UAAU","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prop-types.js","names":["PropTypes","levelItem","shape","text","string","tooltipText","moreDetailsAreaLabel","closeToolTipInformationTextAriaLabel","propTypes","reviewTitle","reviewText","labelsList","skills","questions","lifes","allright","OnboardingPropsTypes","onPress","func","TipPropsTypes","Icon","any"],"sources":["../../../src/atom/review-presentation/prop-types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport {ColorValue, GestureResponderEvent, ViewStyle} from 'react-native';\n\nconst levelItem = PropTypes.shape({\n text: PropTypes.string,\n tooltipText: PropTypes.string,\n moreDetailsAreaLabel: PropTypes.string,\n closeToolTipInformationTextAriaLabel: PropTypes.string\n});\n\nconst propTypes = {\n 'aria-label': PropTypes.string,\n reviewTitle: PropTypes.string,\n reviewText: PropTypes.string,\n labelsList: PropTypes.shape({\n skills: levelItem,\n questions: levelItem,\n lifes: levelItem,\n allright: levelItem\n })\n};\n\nexport default propTypes;\n\nexport const OnboardingPropsTypes = {\n onPress: PropTypes.func\n};\n\nexport const TipPropsTypes = {\n text: PropTypes.string,\n Icon: PropTypes.any\n};\n\nexport type OnboardingProps = {\n 'aria-label'?: string | undefined;\n reviewTitle?: string | undefined;\n reviewText?: string | undefined;\n labelsList?: {\n skills?:\n | {\n text?: string | undefined;\n tooltipText?: string | undefined;\n 'aria-label'?: string | undefined;\n }\n | undefined;\n questions?: {\n text?: string | undefined;\n tooltipText?: string | undefined;\n 'aria-label'?: string | undefined;\n };\n lifes?:\n | {\n text?: string | undefined;\n tooltipText?: string | undefined;\n 'aria-label'?: string | undefined;\n }\n | undefined;\n allright?:\n | {\n text?: string | undefined;\n tooltipText?: string | undefined;\n 'aria-label'?: string | undefined;\n }\n | undefined;\n };\n onPress: (event: GestureResponderEvent) => void;\n};\n\nexport type TipProps = {\n text: string | undefined;\n Icon: React.FC<{height: number; width: number; style: ViewStyle; color: ColorValue}>;\n};\n"],"mappings":"AAAA,OAAOA,
|
|
1
|
+
{"version":3,"file":"prop-types.js","names":["PropTypes","levelItem","shape","text","string","tooltipText","moreDetailsAreaLabel","closeToolTipInformationTextAriaLabel","propTypes","reviewTitle","reviewText","labelsList","skills","questions","lifes","allright","OnboardingPropsTypes","onPress","func","TipPropsTypes","Icon","any"],"sources":["../../../src/atom/review-presentation/prop-types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport {ColorValue, GestureResponderEvent, ViewStyle} from 'react-native';\n\nconst levelItem = PropTypes.shape({\n text: PropTypes.string,\n tooltipText: PropTypes.string,\n moreDetailsAreaLabel: PropTypes.string,\n closeToolTipInformationTextAriaLabel: PropTypes.string\n});\n\nconst propTypes = {\n 'aria-label': PropTypes.string,\n reviewTitle: PropTypes.string,\n reviewText: PropTypes.string,\n labelsList: PropTypes.shape({\n skills: levelItem,\n questions: levelItem,\n lifes: levelItem,\n allright: levelItem\n })\n};\n\nexport default propTypes;\n\nexport const OnboardingPropsTypes = {\n onPress: PropTypes.func\n};\n\nexport const TipPropsTypes = {\n text: PropTypes.string,\n Icon: PropTypes.any\n};\n\nexport type OnboardingProps = {\n 'aria-label'?: string | undefined;\n reviewTitle?: string | undefined;\n reviewText?: string | undefined;\n labelsList?: {\n skills?:\n | {\n text?: string | undefined;\n tooltipText?: string | undefined;\n 'aria-label'?: string | undefined;\n }\n | undefined;\n questions?: {\n text?: string | undefined;\n tooltipText?: string | undefined;\n 'aria-label'?: string | undefined;\n };\n lifes?:\n | {\n text?: string | undefined;\n tooltipText?: string | undefined;\n 'aria-label'?: string | undefined;\n }\n | undefined;\n allright?:\n | {\n text?: string | undefined;\n tooltipText?: string | undefined;\n 'aria-label'?: string | undefined;\n }\n | undefined;\n };\n onPress: (event: GestureResponderEvent) => void;\n};\n\nexport type TipProps = {\n text: string | undefined;\n Icon: React.FC<{height: number; width: number; style: ViewStyle; color: ColorValue}>;\n};\n"],"mappings":"AAAA,OAAOA,SAAS,MAAM,YAAY;AAGlC,MAAMC,SAAS,GAAGD,SAAS,CAACE,KAAK,CAAC;EAChCC,IAAI,EAAEH,SAAS,CAACI,MAAM;EACtBC,WAAW,EAAEL,SAAS,CAACI,MAAM;EAC7BE,oBAAoB,EAAEN,SAAS,CAACI,MAAM;EACtCG,oCAAoC,EAAEP,SAAS,CAACI;AAClD,CAAC,CAAC;AAEF,MAAMI,SAAS,GAAG;EAChB,YAAY,EAAER,SAAS,CAACI,MAAM;EAC9BK,WAAW,EAAET,SAAS,CAACI,MAAM;EAC7BM,UAAU,EAAEV,SAAS,CAACI,MAAM;EAC5BO,UAAU,EAAEX,SAAS,CAACE,KAAK,CAAC;IAC1BU,MAAM,EAAEX,SAAS;IACjBY,SAAS,EAAEZ,SAAS;IACpBa,KAAK,EAAEb,SAAS;IAChBc,QAAQ,EAAEd;EACZ,CAAC;AACH,CAAC;AAED,eAAeO,SAAS;AAExB,OAAO,MAAMQ,oBAAoB,GAAG;EAClCC,OAAO,EAAEjB,SAAS,CAACkB;AACrB,CAAC;AAED,OAAO,MAAMC,aAAa,GAAG;EAC3BhB,IAAI,EAAEH,SAAS,CAACI,MAAM;EACtBgB,IAAI,EAAEpB,SAAS,CAACqB;AAClB,CAAC","ignoreList":[]}
|