@coorpacademy/components 11.32.52 → 11.33.1
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.js +0 -2
- 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.js +0 -4
- 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.css +3 -0
- package/es/variables/colors.js.map +1 -1
- package/es/variables/default-mobile-translations.js.map +1 -1
- package/es/variables/shadow.js +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.js +4 -25
- 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.js +4 -27
- 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.css +3 -0
- 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
|
@@ -2,35 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.fetchAndLoadAnimation = exports.default = void 0;
|
|
5
|
-
|
|
6
5
|
var _react = _interopRequireWildcard(require("react"));
|
|
7
|
-
|
|
8
6
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
9
|
-
|
|
10
7
|
var _lottieWeb = _interopRequireDefault(require("lottie-web"));
|
|
11
|
-
|
|
12
8
|
var _includes = _interopRequireDefault(require("lodash/fp/includes"));
|
|
13
|
-
|
|
14
9
|
var _isNil = _interopRequireDefault(require("lodash/fp/isNil"));
|
|
15
|
-
|
|
16
10
|
var _keys = _interopRequireDefault(require("lodash/fp/keys"));
|
|
17
|
-
|
|
18
11
|
var _omit = _interopRequireDefault(require("lodash/fp/omit"));
|
|
19
|
-
|
|
20
12
|
var _isomorphicUnfetch = _interopRequireDefault(require("isomorphic-unfetch"));
|
|
21
|
-
|
|
22
13
|
var _style = _interopRequireDefault(require("./style.css"));
|
|
23
|
-
|
|
24
14
|
var _propTypes = _interopRequireWildcard(require("./prop-types"));
|
|
25
|
-
|
|
26
|
-
function
|
|
27
|
-
|
|
28
|
-
function
|
|
29
|
-
|
|
30
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
31
|
-
|
|
32
|
-
function _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); }
|
|
33
|
-
|
|
15
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
17
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
18
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
34
19
|
const fetchAndLoadAnimation = async (_lottie, _fetch, animationSrc, containerRef, loop, animationClassnames, hideOnTransparent, autoplay) => {
|
|
35
20
|
const animationUrl = new URL(animationSrc).toString();
|
|
36
21
|
const fetchResult = await _fetch(animationUrl, {
|
|
@@ -40,7 +25,6 @@ const fetchAndLoadAnimation = async (_lottie, _fetch, animationSrc, containerRef
|
|
|
40
25
|
}
|
|
41
26
|
});
|
|
42
27
|
const animationData = await fetchResult.json();
|
|
43
|
-
|
|
44
28
|
const animation = _lottie.loadAnimation && _lottie.loadAnimation({
|
|
45
29
|
container: containerRef.current,
|
|
46
30
|
// the dom element that will contain the animation
|
|
@@ -52,15 +36,11 @@ const fetchAndLoadAnimation = async (_lottie, _fetch, animationSrc, containerRef
|
|
|
52
36
|
className: animationClassnames,
|
|
53
37
|
hideOnTransparent,
|
|
54
38
|
preserveAspectRatio: 'xMidYMid meet' // same options as a preserveAspectRatio prop
|
|
55
|
-
|
|
56
39
|
}
|
|
57
40
|
});
|
|
58
|
-
|
|
59
41
|
return animation;
|
|
60
42
|
};
|
|
61
|
-
|
|
62
43
|
exports.fetchAndLoadAnimation = fetchAndLoadAnimation;
|
|
63
|
-
|
|
64
44
|
const LottieWrapper = props => {
|
|
65
45
|
const {
|
|
66
46
|
className,
|
|
@@ -79,8 +59,9 @@ const LottieWrapper = props => {
|
|
|
79
59
|
hideOnTransparent = true
|
|
80
60
|
} = rendererSettings;
|
|
81
61
|
const containerRef = (0, _react.useRef)(null);
|
|
82
|
-
const isCancelledRef = (0, _react.useRef)(null);
|
|
62
|
+
const isCancelledRef = (0, _react.useRef)(null);
|
|
83
63
|
|
|
64
|
+
// lottie's animation instance
|
|
84
65
|
const [animationItem, setAnimationItem] = (0, _react.useState)(null);
|
|
85
66
|
const [isAnimationVisible, setIsAnimationVisible] = (0, _react.useState)(autoplay);
|
|
86
67
|
const wrapperClassName = (0, _react.useMemo)(() => (0, _classnames.default)(className, _style.default.lottieContainer), [className]);
|
|
@@ -89,7 +70,6 @@ const LottieWrapper = props => {
|
|
|
89
70
|
if ((0, _includes.default)(animationControl, (0, _keys.default)((0, _omit.default)('loading', _propTypes.ANIMATION_CONTROL))) && !autoplay) {
|
|
90
71
|
setIsAnimationVisible(true);
|
|
91
72
|
/* istanbul ignore next */
|
|
92
|
-
|
|
93
73
|
if (animationItem) animationItem[animationControl]();
|
|
94
74
|
if (animationControl === _propTypes.ANIMATION_CONTROL.stop) setIsAnimationVisible(false);
|
|
95
75
|
}
|
|
@@ -103,13 +83,10 @@ const LottieWrapper = props => {
|
|
|
103
83
|
(0, _isNil.default)(isCancelledRef.current) && setAnimationItem(animation);
|
|
104
84
|
}
|
|
105
85
|
};
|
|
106
|
-
|
|
107
86
|
loadAnimation();
|
|
108
87
|
return () => {
|
|
109
88
|
isCancelledRef.current = true;
|
|
110
|
-
return animationItem &&
|
|
111
|
-
/* istanbul ignore next */
|
|
112
|
-
window.lottie.destroy(animationItem.name);
|
|
89
|
+
return animationItem && /* istanbul ignore next */window.lottie.destroy(animationItem.name);
|
|
113
90
|
};
|
|
114
91
|
}, [lottieAnimationClassName, containerRef, hideOnTransparent, loop, animationSrc, animationItem, autoplay]);
|
|
115
92
|
const accessibilityProps = ariaLabel ? {
|
|
@@ -123,20 +100,20 @@ const LottieWrapper = props => {
|
|
|
123
100
|
ref: containerRef,
|
|
124
101
|
"data-name": dataName,
|
|
125
102
|
className: wrapperClassName,
|
|
126
|
-
style:
|
|
127
|
-
width
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
103
|
+
style: {
|
|
104
|
+
...(width && {
|
|
105
|
+
width: `${width}px`,
|
|
106
|
+
maxWidth: `${width}px`
|
|
107
|
+
}),
|
|
108
|
+
...(height && {
|
|
109
|
+
height: `${height}px`,
|
|
110
|
+
maxHeight: `${height}px`
|
|
111
|
+
}),
|
|
133
112
|
opacity: isAnimationVisible ? 1 : 0,
|
|
134
113
|
transition: 'opacity 0.25s ease-in'
|
|
135
|
-
}
|
|
114
|
+
}
|
|
136
115
|
}));
|
|
137
116
|
};
|
|
138
|
-
|
|
139
117
|
LottieWrapper.propTypes = process.env.NODE_ENV !== "production" ? _propTypes.default : {};
|
|
140
|
-
var _default = LottieWrapper;
|
|
141
|
-
exports.default = _default;
|
|
118
|
+
var _default = exports.default = LottieWrapper;
|
|
142
119
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["fetchAndLoadAnimation","_lottie","_fetch","animationSrc","containerRef","loop","animationClassnames","hideOnTransparent","autoplay","animationUrl","URL","toString","fetchResult","headers","animationData","json","animation","loadAnimation","container","current","renderer","rendererSettings","className","preserveAspectRatio","LottieWrapper","props","dataName","ariaLabel","width","height","animationControl","animationClassName","useRef","isCancelledRef","animationItem","setAnimationItem","useState","isAnimationVisible","setIsAnimationVisible","wrapperClassName","useMemo","classnames","style","lottieContainer","lottieAnimationClassName","useEffect","includes","keys","omit","ANIMATION_CONTROL","stop","window","lottie","unfetch","isNil","destroy","name","accessibilityProps","role","maxWidth","maxHeight","opacity","transition","propTypes"],"sources":["../../../src/atom/lottie-wrapper/index.js"],"sourcesContent":["import React, {useMemo, useRef, useEffect, useState} from 'react';\nimport classnames from 'classnames';\nimport lottie from 'lottie-web';\nimport includes from 'lodash/fp/includes';\nimport isNil from 'lodash/fp/isNil';\nimport keys from 'lodash/fp/keys';\nimport omit from 'lodash/fp/omit';\nimport unfetch from 'isomorphic-unfetch';\nimport style from './style.css';\nimport propTypes, {ANIMATION_CONTROL} from './prop-types';\n\nexport const fetchAndLoadAnimation = async (\n _lottie,\n _fetch,\n animationSrc,\n containerRef,\n loop,\n animationClassnames,\n hideOnTransparent,\n autoplay\n) => {\n const animationUrl = new URL(animationSrc).toString();\n const fetchResult = await _fetch(animationUrl, {\n headers: {\n 'X-Requested-With': 'XMLHttpRequest',\n 'Content-Type': 'application/json'\n }\n });\n\n const animationData = await fetchResult.json();\n\n const animation =\n _lottie.loadAnimation &&\n _lottie.loadAnimation({\n container: containerRef.current, // the dom element that will contain the animation\n renderer: 'svg',\n autoplay,\n loop,\n animationData,\n rendererSettings: {\n className: animationClassnames,\n hideOnTransparent,\n preserveAspectRatio: 'xMidYMid meet' // same options as a preserveAspectRatio prop\n }\n });\n return animation;\n};\n\nconst LottieWrapper = props => {\n const {\n className,\n 'data-name': dataName,\n 'aria-label': ariaLabel,\n animationSrc,\n loop = false,\n rendererSettings = {},\n width,\n height,\n autoplay = true,\n animationControl\n } = props;\n const {className: animationClassName, hideOnTransparent = true} = rendererSettings;\n\n const containerRef = useRef(null);\n const isCancelledRef = useRef(null);\n\n // lottie's animation instance\n const [animationItem, setAnimationItem] = useState(null);\n\n const [isAnimationVisible, setIsAnimationVisible] = useState(autoplay);\n\n const wrapperClassName = useMemo(() => classnames(className, style.lottieContainer), [className]);\n\n const lottieAnimationClassName = useMemo(\n () => classnames(animationClassName, style.animation),\n [animationClassName]\n );\n\n useEffect(() => {\n if (includes(animationControl, keys(omit('loading', ANIMATION_CONTROL))) && !autoplay) {\n setIsAnimationVisible(true);\n /* istanbul ignore next */\n if (animationItem) animationItem[animationControl]();\n if (animationControl === ANIMATION_CONTROL.stop) setIsAnimationVisible(false);\n }\n }, [animationControl, animationItem, autoplay]);\n\n useEffect(() => {\n const loadAnimation = async () => {\n /* istanbul ignore else */\n if (!animationItem && typeof window !== 'undefined') {\n window.lottie = lottie;\n const animation = await fetchAndLoadAnimation(\n window.lottie,\n unfetch,\n animationSrc,\n containerRef,\n loop,\n lottieAnimationClassName,\n hideOnTransparent,\n autoplay\n );\n\n isNil(isCancelledRef.current) && setAnimationItem(animation);\n }\n };\n\n loadAnimation();\n return () => {\n isCancelledRef.current = true;\n return animationItem && /* istanbul ignore next */ window.lottie.destroy(animationItem.name);\n };\n }, [\n lottieAnimationClassName,\n containerRef,\n hideOnTransparent,\n loop,\n animationSrc,\n animationItem,\n autoplay\n ]);\n\n const accessibilityProps = ariaLabel\n ? {\n 'aria-label': ariaLabel,\n role: 'img'\n }\n : {\n 'aria-hidden': 'true',\n role: 'presentation'\n };\n\n return (\n <div\n {...accessibilityProps}\n ref={containerRef}\n data-name={dataName}\n className={wrapperClassName}\n style={{\n ...(width && {\n width: `${width}px`,\n maxWidth: `${width}px`\n }),\n ...(height && {\n height: `${height}px`,\n maxHeight: `${height}px`\n }),\n opacity: isAnimationVisible ? 1 : 0,\n transition: 'opacity 0.25s ease-in'\n }}\n />\n );\n};\n\nLottieWrapper.propTypes = propTypes;\n\nexport default LottieWrapper;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;AAEO,MAAMA,qBAAqB,GAAG,OACnCC,OADmC,EAEnCC,MAFmC,EAGnCC,YAHmC,EAInCC,YAJmC,EAKnCC,IALmC,EAMnCC,mBANmC,EAOnCC,iBAPmC,EAQnCC,QARmC,KAShC;EACH,MAAMC,YAAY,GAAG,IAAIC,GAAJ,CAAQP,YAAR,EAAsBQ,QAAtB,EAArB;EACA,MAAMC,WAAW,GAAG,MAAMV,MAAM,CAACO,YAAD,EAAe;IAC7CI,OAAO,EAAE;MACP,oBAAoB,gBADb;MAEP,gBAAgB;IAFT;EADoC,CAAf,CAAhC;EAOA,MAAMC,aAAa,GAAG,MAAMF,WAAW,CAACG,IAAZ,EAA5B;;EAEA,MAAMC,SAAS,GACbf,OAAO,CAACgB,aAAR,IACAhB,OAAO,CAACgB,aAAR,CAAsB;IACpBC,SAAS,EAAEd,YAAY,CAACe,OADJ;IACa;IACjCC,QAAQ,EAAE,KAFU;IAGpBZ,QAHoB;IAIpBH,IAJoB;IAKpBS,aALoB;IAMpBO,gBAAgB,EAAE;MAChBC,SAAS,EAAEhB,mBADK;MAEhBC,iBAFgB;MAGhBgB,mBAAmB,EAAE,eAHL,CAGqB;;IAHrB;EANE,CAAtB,CAFF;;EAcA,OAAOP,SAAP;AACD,CA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AAK,EAAG,GAAEA,KAAM,IADL;MAEX+B,QAAQ,EAAG,GAAE/B,KAAM;IAFR,CADV,EAKCC,MAAM,IAAI;MACZA,MAAM,EAAG,GAAEA,MAAO,IADN;MAEZ+B,SAAS,EAAG,GAAE/B,MAAO;IAFT,CALX;MASHgC,OAAO,EAAExB,kBAAkB,GAAG,CAAH,GAAO,CAT/B;MAUHyB,UAAU,EAAE;IAVT;EALP,GADF;AAoBD,CAxGD;;AA0GAtC,aAAa,CAACuC,SAAd,2CAA0BA,kBAA1B;eAEevC,a"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_classnames","_interopRequireDefault","_lottieWeb","_includes","_isNil","_keys","_omit","_isomorphicUnfetch","_style","_propTypes","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_extends","assign","bind","arguments","length","apply","fetchAndLoadAnimation","_lottie","_fetch","animationSrc","containerRef","loop","animationClassnames","hideOnTransparent","autoplay","animationUrl","URL","toString","fetchResult","headers","animationData","json","animation","loadAnimation","container","current","renderer","rendererSettings","className","preserveAspectRatio","exports","LottieWrapper","props","dataName","ariaLabel","width","height","animationControl","animationClassName","useRef","isCancelledRef","animationItem","setAnimationItem","useState","isAnimationVisible","setIsAnimationVisible","wrapperClassName","useMemo","classnames","style","lottieContainer","lottieAnimationClassName","useEffect","includes","keys","omit","ANIMATION_CONTROL","stop","window","lottie","unfetch","isNil","destroy","name","accessibilityProps","role","createElement","ref","maxWidth","maxHeight","opacity","transition","propTypes","process","env","NODE_ENV","_default"],"sources":["../../../src/atom/lottie-wrapper/index.js"],"sourcesContent":["import React, {useMemo, useRef, useEffect, useState} from 'react';\nimport classnames from 'classnames';\nimport lottie from 'lottie-web';\nimport includes from 'lodash/fp/includes';\nimport isNil from 'lodash/fp/isNil';\nimport keys from 'lodash/fp/keys';\nimport omit from 'lodash/fp/omit';\nimport unfetch from 'isomorphic-unfetch';\nimport style from './style.css';\nimport propTypes, {ANIMATION_CONTROL} from './prop-types';\n\nexport const fetchAndLoadAnimation = async (\n _lottie,\n _fetch,\n animationSrc,\n containerRef,\n loop,\n animationClassnames,\n hideOnTransparent,\n autoplay\n) => {\n const animationUrl = new URL(animationSrc).toString();\n const fetchResult = await _fetch(animationUrl, {\n headers: {\n 'X-Requested-With': 'XMLHttpRequest',\n 'Content-Type': 'application/json'\n }\n });\n\n const animationData = await fetchResult.json();\n\n const animation =\n _lottie.loadAnimation &&\n _lottie.loadAnimation({\n container: containerRef.current, // the dom element that will contain the animation\n renderer: 'svg',\n autoplay,\n loop,\n animationData,\n rendererSettings: {\n className: animationClassnames,\n hideOnTransparent,\n preserveAspectRatio: 'xMidYMid meet' // same options as a preserveAspectRatio prop\n }\n });\n return animation;\n};\n\nconst LottieWrapper = props => {\n const {\n className,\n 'data-name': dataName,\n 'aria-label': ariaLabel,\n animationSrc,\n loop = false,\n rendererSettings = {},\n width,\n height,\n autoplay = true,\n animationControl\n } = props;\n const {className: animationClassName, hideOnTransparent = true} = rendererSettings;\n\n const containerRef = useRef(null);\n const isCancelledRef = useRef(null);\n\n // lottie's animation instance\n const [animationItem, setAnimationItem] = useState(null);\n\n const [isAnimationVisible, setIsAnimationVisible] = useState(autoplay);\n\n const wrapperClassName = useMemo(() => classnames(className, style.lottieContainer), [className]);\n\n const lottieAnimationClassName = useMemo(\n () => classnames(animationClassName, style.animation),\n [animationClassName]\n );\n\n useEffect(() => {\n if (includes(animationControl, keys(omit('loading', ANIMATION_CONTROL))) && !autoplay) {\n setIsAnimationVisible(true);\n /* istanbul ignore next */\n if (animationItem) animationItem[animationControl]();\n if (animationControl === ANIMATION_CONTROL.stop) setIsAnimationVisible(false);\n }\n }, [animationControl, animationItem, autoplay]);\n\n useEffect(() => {\n const loadAnimation = async () => {\n /* istanbul ignore else */\n if (!animationItem && typeof window !== 'undefined') {\n window.lottie = lottie;\n const animation = await fetchAndLoadAnimation(\n window.lottie,\n unfetch,\n animationSrc,\n containerRef,\n loop,\n lottieAnimationClassName,\n hideOnTransparent,\n autoplay\n );\n\n isNil(isCancelledRef.current) && setAnimationItem(animation);\n }\n };\n\n loadAnimation();\n return () => {\n isCancelledRef.current = true;\n return animationItem && /* istanbul ignore next */ window.lottie.destroy(animationItem.name);\n };\n }, [\n lottieAnimationClassName,\n containerRef,\n hideOnTransparent,\n loop,\n animationSrc,\n animationItem,\n autoplay\n ]);\n\n const accessibilityProps = ariaLabel\n ? {\n 'aria-label': ariaLabel,\n role: 'img'\n }\n : {\n 'aria-hidden': 'true',\n role: 'presentation'\n };\n\n return (\n <div\n {...accessibilityProps}\n ref={containerRef}\n data-name={dataName}\n className={wrapperClassName}\n style={{\n ...(width && {\n width: `${width}px`,\n maxWidth: `${width}px`\n }),\n ...(height && {\n height: `${height}px`,\n maxHeight: `${height}px`\n }),\n opacity: isAnimationVisible ? 1 : 0,\n transition: 'opacity 0.25s ease-in'\n }}\n />\n );\n};\n\nLottieWrapper.propTypes = propTypes;\n\nexport default LottieWrapper;\n"],"mappings":";;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,WAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,UAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,SAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,MAAA,GAAAH,sBAAA,CAAAF,OAAA;AACA,IAAAM,KAAA,GAAAJ,sBAAA,CAAAF,OAAA;AACA,IAAAO,KAAA,GAAAL,sBAAA,CAAAF,OAAA;AACA,IAAAQ,kBAAA,GAAAN,sBAAA,CAAAF,OAAA;AACA,IAAAS,MAAA,GAAAP,sBAAA,CAAAF,OAAA;AACA,IAAAU,UAAA,GAAAX,uBAAA,CAAAC,OAAA;AAA0D,SAAAE,uBAAAS,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OA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AQ,EAAE,GAAGjC,KAAK;MACpB,CAAC,CAAC;MACF,IAAIC,MAAM,IAAI;QACZA,MAAM,EAAE,GAAGA,MAAM,IAAI;QACrBiC,SAAS,EAAE,GAAGjC,MAAM;MACtB,CAAC,CAAC;MACFkC,OAAO,EAAE1B,kBAAkB,GAAG,CAAC,GAAG,CAAC;MACnC2B,UAAU,EAAE;IACd;EAAE,EACH,CAAC;AAEN,CAAC;AAEDxC,aAAa,CAACyC,SAAS,GAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA,oBAAGH,kBAAS;AAAC,IAAAI,QAAA,GAAA9C,OAAA,CAAAhD,OAAA,GAErBiD,aAAa","ignoreList":[]}
|
|
@@ -2,20 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.default = exports.ANIMATION_CONTROL = void 0;
|
|
5
|
-
|
|
6
5
|
var _keys = _interopRequireDefault(require("lodash/fp/keys"));
|
|
7
|
-
|
|
8
6
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
const ANIMATION_CONTROL = {
|
|
7
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
8
|
+
const ANIMATION_CONTROL = exports.ANIMATION_CONTROL = {
|
|
13
9
|
play: 'play',
|
|
14
10
|
pause: 'pause',
|
|
15
11
|
stop: 'stop',
|
|
16
12
|
loading: 'loading'
|
|
17
13
|
};
|
|
18
|
-
exports.ANIMATION_CONTROL = ANIMATION_CONTROL;
|
|
19
14
|
const propTypes = {
|
|
20
15
|
'aria-label': _propTypes.default.string,
|
|
21
16
|
'data-name': _propTypes.default.string,
|
|
@@ -31,6 +26,5 @@ const propTypes = {
|
|
|
31
26
|
autoplay: _propTypes.default.bool,
|
|
32
27
|
animationControl: _propTypes.default.oneOf((0, _keys.default)(ANIMATION_CONTROL))
|
|
33
28
|
};
|
|
34
|
-
var _default = propTypes;
|
|
35
|
-
exports.default = _default;
|
|
29
|
+
var _default = exports.default = propTypes;
|
|
36
30
|
//# sourceMappingURL=prop-types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prop-types.js","names":["ANIMATION_CONTROL","play","pause","stop","loading","propTypes","PropTypes","string","animationSrc","isRequired","loop","bool","rendererSettings","shape","hideOnTransparent","className","height","number","width","autoplay","animationControl","oneOf","keys"],"sources":["../../../src/atom/lottie-wrapper/prop-types.ts"],"sourcesContent":["import keys from 'lodash/fp/keys';\nimport PropTypes from 'prop-types';\n\nexport type LottieAnimationProps = {\n 'aria-label'?: string;\n 'data-name'?: string;\n animationSrc: string;\n loop?: boolean;\n rendererSettings?: {\n hideOnTransparent?: boolean;\n className?: string;\n };\n height?: number;\n width?: number;\n className?: string;\n autoplay?: boolean;\n animationControl?: 'play' | 'pause' | 'stop' | 'loading';\n};\n\nexport const ANIMATION_CONTROL = {\n play: 'play',\n pause: 'pause',\n stop: 'stop',\n loading: 'loading'\n};\n\nconst propTypes = {\n 'aria-label': PropTypes.string,\n 'data-name': PropTypes.string,\n animationSrc: PropTypes.string.isRequired,\n loop: PropTypes.bool,\n rendererSettings: PropTypes.shape({\n hideOnTransparent: PropTypes.bool,\n className: PropTypes.string\n }),\n height: PropTypes.number,\n width: PropTypes.number,\n className: PropTypes.string,\n autoplay: PropTypes.bool,\n animationControl: PropTypes.oneOf(keys(ANIMATION_CONTROL))\n};\n\nexport default propTypes;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"prop-types.js","names":["_keys","_interopRequireDefault","require","_propTypes","e","__esModule","default","ANIMATION_CONTROL","exports","play","pause","stop","loading","propTypes","PropTypes","string","animationSrc","isRequired","loop","bool","rendererSettings","shape","hideOnTransparent","className","height","number","width","autoplay","animationControl","oneOf","keys","_default"],"sources":["../../../src/atom/lottie-wrapper/prop-types.ts"],"sourcesContent":["import keys from 'lodash/fp/keys';\nimport PropTypes from 'prop-types';\n\nexport type LottieAnimationProps = {\n 'aria-label'?: string;\n 'data-name'?: string;\n animationSrc: string;\n loop?: boolean;\n rendererSettings?: {\n hideOnTransparent?: boolean;\n className?: string;\n };\n height?: number;\n width?: number;\n className?: string;\n autoplay?: boolean;\n animationControl?: 'play' | 'pause' | 'stop' | 'loading';\n};\n\nexport const ANIMATION_CONTROL = {\n play: 'play',\n pause: 'pause',\n stop: 'stop',\n loading: 'loading'\n};\n\nconst propTypes = {\n 'aria-label': PropTypes.string,\n 'data-name': PropTypes.string,\n animationSrc: PropTypes.string.isRequired,\n loop: PropTypes.bool,\n rendererSettings: PropTypes.shape({\n hideOnTransparent: PropTypes.bool,\n className: PropTypes.string\n }),\n height: PropTypes.number,\n width: PropTypes.number,\n className: PropTypes.string,\n autoplay: PropTypes.bool,\n animationControl: PropTypes.oneOf(keys(ANIMATION_CONTROL))\n};\n\nexport default propTypes;\n"],"mappings":";;;;AAAA,IAAAA,KAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AAAmC,SAAAD,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAkB5B,MAAMG,iBAAiB,GAAAC,OAAA,CAAAD,iBAAA,GAAG;EAC/BE,IAAI,EAAE,MAAM;EACZC,KAAK,EAAE,OAAO;EACdC,IAAI,EAAE,MAAM;EACZC,OAAO,EAAE;AACX,CAAC;AAED,MAAMC,SAAS,GAAG;EAChB,YAAY,EAAEC,kBAAS,CAACC,MAAM;EAC9B,WAAW,EAAED,kBAAS,CAACC,MAAM;EAC7BC,YAAY,EAAEF,kBAAS,CAACC,MAAM,CAACE,UAAU;EACzCC,IAAI,EAAEJ,kBAAS,CAACK,IAAI;EACpBC,gBAAgB,EAAEN,kBAAS,CAACO,KAAK,CAAC;IAChCC,iBAAiB,EAAER,kBAAS,CAACK,IAAI;IACjCI,SAAS,EAAET,kBAAS,CAACC;EACvB,CAAC,CAAC;EACFS,MAAM,EAAEV,kBAAS,CAACW,MAAM;EACxBC,KAAK,EAAEZ,kBAAS,CAACW,MAAM;EACvBF,SAAS,EAAET,kBAAS,CAACC,MAAM;EAC3BY,QAAQ,EAAEb,kBAAS,CAACK,IAAI;EACxBS,gBAAgB,EAAEd,kBAAS,CAACe,KAAK,CAAC,IAAAC,aAAI,EAACvB,iBAAiB,CAAC;AAC3D,CAAC;AAAC,IAAAwB,QAAA,GAAAvB,OAAA,CAAAF,OAAA,GAEaO,SAAS","ignoreList":[]}
|
|
@@ -2,23 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.default = void 0;
|
|
5
|
-
|
|
6
5
|
var _keys2 = _interopRequireDefault(require("lodash/fp/keys"));
|
|
7
|
-
|
|
8
6
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
7
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
|
-
|
|
12
8
|
var _style = _interopRequireDefault(require("./style.css"));
|
|
13
|
-
|
|
14
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
-
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
10
|
const notificationStyle = {
|
|
17
11
|
warning: _style.default.warning,
|
|
18
12
|
error: _style.default.error,
|
|
19
13
|
success: _style.default.success
|
|
20
14
|
};
|
|
21
|
-
|
|
22
15
|
const NotificationComponent = props => {
|
|
23
16
|
const {
|
|
24
17
|
type,
|
|
@@ -29,11 +22,9 @@ const NotificationComponent = props => {
|
|
|
29
22
|
className: className
|
|
30
23
|
}, /*#__PURE__*/_react.default.createElement("span", null, "!"), message);
|
|
31
24
|
};
|
|
32
|
-
|
|
33
25
|
NotificationComponent.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
34
26
|
type: _propTypes.default.oneOf((0, _keys2.default)(notificationStyle)).isRequired,
|
|
35
27
|
message: _propTypes.default.string.isRequired
|
|
36
28
|
} : {};
|
|
37
|
-
var _default = NotificationComponent;
|
|
38
|
-
exports.default = _default;
|
|
29
|
+
var _default = exports.default = NotificationComponent;
|
|
39
30
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["notificationStyle","warning","style","error","success","NotificationComponent","props","type","message","className","propTypes","PropTypes","oneOf","isRequired","string"],"sources":["../../../src/atom/notification/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {keys} from 'lodash/fp';\nimport style from './style.css';\n\nconst notificationStyle = {\n warning: style.warning,\n error: style.error,\n success: style.success\n};\n\nconst NotificationComponent = props => {\n const {type, message} = props;\n\n const className = type ? notificationStyle[type] : style.message;\n\n return (\n <div className={className}>\n <span>!</span>\n {message}\n </div>\n );\n};\n\nNotificationComponent.propTypes = {\n type: PropTypes.oneOf(keys(notificationStyle)).isRequired,\n message: PropTypes.string.isRequired\n};\nexport default NotificationComponent;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","_propTypes","_style","e","__esModule","default","notificationStyle","warning","style","error","success","NotificationComponent","props","type","message","className","createElement","propTypes","process","env","NODE_ENV","PropTypes","oneOf","_keys2","isRequired","string","_default","exports"],"sources":["../../../src/atom/notification/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {keys} from 'lodash/fp';\nimport style from './style.css';\n\nconst notificationStyle = {\n warning: style.warning,\n error: style.error,\n success: style.success\n};\n\nconst NotificationComponent = props => {\n const {type, message} = props;\n\n const className = type ? notificationStyle[type] : style.message;\n\n return (\n <div className={className}>\n <span>!</span>\n {message}\n </div>\n );\n};\n\nNotificationComponent.propTypes = {\n type: PropTypes.oneOf(keys(notificationStyle)).isRequired,\n message: PropTypes.string.isRequired\n};\nexport default NotificationComponent;\n"],"mappings":";;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AAEA,IAAAE,MAAA,GAAAH,sBAAA,CAAAC,OAAA;AAAgC,SAAAD,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEhC,MAAMG,iBAAiB,GAAG;EACxBC,OAAO,EAAEC,cAAK,CAACD,OAAO;EACtBE,KAAK,EAAED,cAAK,CAACC,KAAK;EAClBC,OAAO,EAAEF,cAAK,CAACE;AACjB,CAAC;AAED,MAAMC,qBAAqB,GAAGC,KAAK,IAAI;EACrC,MAAM;IAACC,IAAI;IAAEC;EAAO,CAAC,GAAGF,KAAK;EAE7B,MAAMG,SAAS,GAAGF,IAAI,GAAGP,iBAAiB,CAACO,IAAI,CAAC,GAAGL,cAAK,CAACM,OAAO;EAEhE,oBACEhB,MAAA,CAAAO,OAAA,CAAAW,aAAA;IAAKD,SAAS,EAAEA;EAAU,gBACxBjB,MAAA,CAAAO,OAAA,CAAAW,aAAA,eAAM,GAAO,CAAC,EACbF,OACE,CAAC;AAEV,CAAC;AAEDH,qBAAqB,CAACM,SAAS,GAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA,oBAAG;EAChCP,IAAI,EAAEQ,kBAAS,CAACC,KAAK,CAAC,IAAAC,MAAA,CAAAlB,OAAA,EAAKC,iBAAiB,CAAC,CAAC,CAACkB,UAAU;EACzDV,OAAO,EAAEO,kBAAS,CAACI,MAAM,CAACD;AAC5B,CAAC;AAAC,IAAAE,QAAA,GAAAC,OAAA,CAAAtB,OAAA,GACaM,qBAAqB","ignoreList":[]}
|
|
@@ -2,42 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.default = void 0;
|
|
5
|
-
|
|
6
5
|
var _toPairs2 = _interopRequireDefault(require("lodash/fp/toPairs"));
|
|
7
|
-
|
|
8
6
|
var _set2 = _interopRequireDefault(require("lodash/fp/set"));
|
|
9
|
-
|
|
10
7
|
var _pipe2 = _interopRequireDefault(require("lodash/fp/pipe"));
|
|
11
|
-
|
|
12
8
|
var _map2 = _interopRequireDefault(require("lodash/fp/map"));
|
|
13
|
-
|
|
14
9
|
var _join2 = _interopRequireDefault(require("lodash/fp/join"));
|
|
15
|
-
|
|
16
10
|
var _isObject2 = _interopRequireDefault(require("lodash/fp/isObject"));
|
|
17
|
-
|
|
18
11
|
var _isNil2 = _interopRequireDefault(require("lodash/fp/isNil"));
|
|
19
|
-
|
|
20
12
|
var _get2 = _interopRequireDefault(require("lodash/fp/get"));
|
|
21
|
-
|
|
22
13
|
var _filter2 = _interopRequireDefault(require("lodash/fp/filter"));
|
|
23
|
-
|
|
24
14
|
var _react = _interopRequireDefault(require("react"));
|
|
25
|
-
|
|
26
15
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
27
|
-
|
|
28
16
|
var _proptypes = require("../../util/proptypes");
|
|
29
|
-
|
|
30
17
|
var _style = _interopRequireDefault(require("./style.css"));
|
|
31
|
-
|
|
32
|
-
function
|
|
33
|
-
|
|
34
|
-
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); }
|
|
35
|
-
|
|
18
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
19
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
36
20
|
const toSrcSet = src => {
|
|
37
21
|
if (!(0, _isObject2.default)(src)) return {};
|
|
38
22
|
return (0, _pipe2.default)((0, _set2.default)('srcSet', (0, _pipe2.default)(_toPairs2.default, (0, _filter2.default)(([key, url]) => url), (0, _map2.default)(([key, url]) => `${url} ${key}`), (0, _join2.default)(','))(src)), (0, _set2.default)('src', (0, _get2.default)('1x', src)))({});
|
|
39
23
|
};
|
|
40
|
-
|
|
41
24
|
const toSetAlt = alt => {
|
|
42
25
|
return alt ? {
|
|
43
26
|
alt
|
|
@@ -46,26 +29,21 @@ const toSetAlt = alt => {
|
|
|
46
29
|
'aria-hidden': true
|
|
47
30
|
};
|
|
48
31
|
};
|
|
49
|
-
|
|
50
32
|
const Picture = props => {
|
|
51
33
|
const {
|
|
52
34
|
src,
|
|
53
35
|
alt
|
|
54
36
|
} = props;
|
|
55
|
-
|
|
56
37
|
if ((0, _isNil2.default)(src)) {
|
|
57
38
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
58
39
|
className: _style.default.empty
|
|
59
40
|
});
|
|
60
41
|
}
|
|
61
|
-
|
|
62
42
|
return /*#__PURE__*/_react.default.createElement("img", _extends({}, props, toSrcSet(src), toSetAlt(alt)));
|
|
63
43
|
};
|
|
64
|
-
|
|
65
44
|
Picture.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
66
45
|
src: _propTypes.default.oneOfType([_proptypes.SrcPropType, _propTypes.default.objectOf(_proptypes.SrcPropType)]),
|
|
67
46
|
alt: _propTypes.default.string
|
|
68
47
|
} : {};
|
|
69
|
-
var _default = Picture;
|
|
70
|
-
exports.default = _default;
|
|
48
|
+
var _default = exports.default = Picture;
|
|
71
49
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["toSrcSet","src","key","url","toSetAlt","alt","Picture","props","style","empty","propTypes","PropTypes","oneOfType","SrcPropType","objectOf","string"],"sources":["../../../src/atom/picture/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {filter, get, isNil, isObject, join, map, pipe, set, toPairs} from 'lodash/fp';\nimport {SrcPropType} from '../../util/proptypes';\nimport style from './style.css';\n\nconst toSrcSet = src => {\n if (!isObject(src)) return {};\n return pipe(\n set(\n 'srcSet',\n pipe(\n toPairs,\n filter(([key, url]) => url),\n map(([key, url]) => `${url} ${key}`),\n join(',')\n )(src)\n ),\n set('src', get('1x', src))\n )({});\n};\n\nconst toSetAlt = alt => {\n return alt ? {alt} : {alt: '', 'aria-hidden': true};\n};\n\nconst Picture = props => {\n const {src, alt} = props;\n if (isNil(src)) {\n return <div className={style.empty} />;\n }\n return <img {...props} {...toSrcSet(src)} {...toSetAlt(alt)} />;\n};\n\nPicture.propTypes = {\n src: PropTypes.oneOfType([SrcPropType, PropTypes.objectOf(SrcPropType)]),\n alt: PropTypes.string\n};\n\nexport default Picture;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","_propTypes","_proptypes","_style","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","toSrcSet","src","_isObject2","_pipe2","_set2","_toPairs2","_filter2","key","url","_map2","_join2","_get2","toSetAlt","alt","Picture","props","_isNil2","createElement","className","style","empty","propTypes","process","env","NODE_ENV","PropTypes","oneOfType","SrcPropType","objectOf","string","_default","exports"],"sources":["../../../src/atom/picture/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {filter, get, isNil, isObject, join, map, pipe, set, toPairs} from 'lodash/fp';\nimport {SrcPropType} from '../../util/proptypes';\nimport style from './style.css';\n\nconst toSrcSet = src => {\n if (!isObject(src)) return {};\n return pipe(\n set(\n 'srcSet',\n pipe(\n toPairs,\n filter(([key, url]) => url),\n map(([key, url]) => `${url} ${key}`),\n join(',')\n )(src)\n ),\n set('src', get('1x', src))\n )({});\n};\n\nconst toSetAlt = alt => {\n return alt ? {alt} : {alt: '', 'aria-hidden': true};\n};\n\nconst Picture = props => {\n const {src, alt} = props;\n if (isNil(src)) {\n return <div className={style.empty} />;\n }\n return <img {...props} {...toSrcSet(src)} {...toSetAlt(alt)} />;\n};\n\nPicture.propTypes = {\n src: PropTypes.oneOfType([Sr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__esModule = true;
|
|
4
4
|
exports.default = void 0;
|
|
5
|
-
|
|
6
5
|
var _keys2 = _interopRequireDefault(require("lodash/fp/keys"));
|
|
7
|
-
|
|
8
6
|
var _isObject2 = _interopRequireDefault(require("lodash/fp/isObject"));
|
|
9
|
-
|
|
10
7
|
var _react = _interopRequireDefault(require("react"));
|
|
11
|
-
|
|
12
8
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
|
-
|
|
14
9
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
15
|
-
|
|
16
10
|
var _style = _interopRequireDefault(require("./style.css"));
|
|
17
|
-
|
|
18
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19
|
-
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
20
12
|
const viewStyle = {
|
|
21
13
|
cover: _style.default.cover,
|
|
22
14
|
contain: _style.default.contain
|
|
23
15
|
};
|
|
24
|
-
|
|
25
16
|
const PictureBackground = props => {
|
|
26
17
|
const {
|
|
27
18
|
src,
|
|
@@ -56,13 +47,11 @@ const PictureBackground = props => {
|
|
|
56
47
|
style: style
|
|
57
48
|
}, pictureView);
|
|
58
49
|
};
|
|
59
|
-
|
|
60
50
|
PictureBackground.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
61
51
|
view: _propTypes.default.oneOf((0, _keys2.default)(viewStyle)),
|
|
62
52
|
src: _propTypes.default.oneOfType([_propTypes.default.objectOf(_propTypes.default.string), _propTypes.default.string.isRequired]),
|
|
63
53
|
style: _propTypes.default.objectOf(_propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.number])),
|
|
64
54
|
alt: _propTypes.default.string
|
|
65
55
|
} : {};
|
|
66
|
-
var _default = PictureBackground;
|
|
67
|
-
exports.default = _default;
|
|
56
|
+
var _default = exports.default = PictureBackground;
|
|
68
57
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["viewStyle","cover","cssStyle","contain","PictureBackground","props","src","view","style","alt","mobile","desktop","bgStyle","pictureView","deviceView","mobileContainer","classnames","picture","desktopContainer","
|
|
1
|
+
{"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","_propTypes","_classnames","_style","e","__esModule","default","viewStyle","cover","cssStyle","contain","PictureBackground","props","src","view","style","alt","mobile","desktop","bgStyle","pictureView","_isObject2","createElement","className","deviceView","mobileContainer","classnames","picture","desktopContainer","wrapper","propTypes","process","env","NODE_ENV","PropTypes","oneOf","_keys2","oneOfType","objectOf","string","isRequired","number","_default","exports"],"sources":["../../../src/atom/picture-background/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport {isObject, keys} from 'lodash/fp';\nimport cssStyle from './style.css';\n\nconst viewStyle = {\n cover: cssStyle.cover,\n contain: cssStyle.contain\n};\n\nconst PictureBackground = props => {\n const {src, view, style, alt = ''} = props;\n const mobile = src.mobile;\n const desktop = src.desktop;\n const bgStyle = viewStyle[view];\n\n const pictureView = isObject(src) ? (\n <div className={cssStyle.deviceView}>\n <div className={cssStyle.mobileContainer}>\n <img className={classnames(cssStyle.picture, bgStyle)} src={mobile} alt={alt} />\n </div>\n <div className={cssStyle.desktopContainer}>\n <img className={classnames(cssStyle.picture, bgStyle)} src={desktop} alt={alt} />\n </div>\n </div>\n ) : (\n <img className={classnames(cssStyle.default, bgStyle)} src={src} alt={alt} />\n );\n\n return (\n <div className={cssStyle.wrapper} style={style}>\n {pictureView}\n </div>\n );\n};\n\nPictureBackground.propTypes = {\n view: PropTypes.oneOf(keys(viewStyle)),\n src: PropTypes.oneOfType([PropTypes.objectOf(PropTypes.string), PropTypes.string.isRequired]),\n style: PropTypes.objectOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number])),\n alt: PropTypes.string\n};\n\nexport default PictureBackground;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,I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EAACjB,cAAQ,CAACkB,OAAO,EAAER,OAAO,CAAE;IAACN,GAAG,EAAEK,OAAQ;IAACF,GAAG,EAAEA;EAAI,CAAE,CAC7E,CACF,CAAC,gBAENlB,MAAA,CAAAQ,OAAA,CAAAgB,aAAA;IAAKC,SAAS,EAAE,IAAAG,mBAAU,EAACjB,cAAQ,CAACH,OAAO,EAAEa,OAAO,CAAE;IAACN,GAAG,EAAEA,GAAI;IAACG,GAAG,EAAEA;EAAI,CAAE,CAC7E;EAED,oBACElB,MAAA,CAAAQ,OAAA,CAAAgB,aAAA;IAAKC,SAAS,EAAEd,cAAQ,CAACoB,OAAQ;IAACd,KAAK,EAAEA;EAAM,GAC5CK,WACE,CAAC;AAEV,CAAC;AAEDT,iBAAiB,CAACmB,SAAS,GAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA,oBAAG;EAC5BnB,IAAI,EAAEoB,kBAAS,CAACC,KAAK,CAAC,IAAAC,MAAA,CAAA9B,OAAA,EAAKC,SAAS,CAAC,CAAC;EACtCM,GAAG,EAAEqB,kBAAS,CAACG,SAAS,CAAC,CAACH,kBAAS,CAACI,QAAQ,CAACJ,kBAAS,CAACK,MAAM,CAAC,EAAEL,kBAAS,CAACK,MAAM,CAACC,UAAU,CAAC,CAAC;EAC7FzB,KAAK,EAAEmB,kBAAS,CAACI,QAAQ,CAACJ,kBAAS,CAACG,SAAS,CAAC,CAACH,kBAAS,CAACK,MAAM,EAAEL,kBAAS,CAACO,MAAM,CAAC,CAAC,CAAC;EACpFzB,GAAG,EAAEkB,kBAAS,CAACK;AACjB,CAAC;AAAC,IAAAG,QAAA,GAAAC,OAAA,CAAArC,OAAA,GAEaK,iBAAiB","ignoreList":[]}
|
|
@@ -2,17 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.default = void 0;
|
|
5
|
-
|
|
6
5
|
var _react = _interopRequireDefault(require("react"));
|
|
7
|
-
|
|
8
6
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
-
|
|
10
7
|
var _provider = _interopRequireDefault(require("../provider"));
|
|
11
|
-
|
|
12
8
|
var _style = _interopRequireDefault(require("./style.css"));
|
|
13
|
-
|
|
14
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
-
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
10
|
const PromoCode = (props, context) => {
|
|
17
11
|
const {
|
|
18
12
|
promoCodeDescription,
|
|
@@ -46,7 +40,6 @@ const PromoCode = (props, context) => {
|
|
|
46
40
|
className: _style.default.promoCodeError
|
|
47
41
|
}, "-", promoCodeError) : null);
|
|
48
42
|
};
|
|
49
|
-
|
|
50
43
|
PromoCode.contextTypes = {
|
|
51
44
|
translate: _provider.default.childContextTypes.translate
|
|
52
45
|
};
|
|
@@ -56,6 +49,5 @@ PromoCode.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
56
49
|
onValidate: _propTypes.default.func.isRequired,
|
|
57
50
|
handlePromoCodeChange: _propTypes.default.func.isRequired
|
|
58
51
|
} : {};
|
|
59
|
-
var _default = PromoCode;
|
|
60
|
-
exports.default = _default;
|
|
52
|
+
var _default = exports.default = PromoCode;
|
|
61
53
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["PromoCode","props","context","promoCodeDescription","promoCodeError","onValidate","handlePromoCodeChange","translate","style","promoCode","promoCodeInputAndButton","promoCodeInput","promoCodeButtonOnError","promoCodeButtonOnSuccess","promoCodeButton","contextTypes","Provider","childContextTypes","propTypes","PropTypes","string","func","isRequired"],"sources":["../../../src/atom/promo-code/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport Provider from '../provider';\nimport style from './style.css';\n\nconst PromoCode = (props, context) => {\n const {promoCodeDescription, promoCodeError, onValidate, handlePromoCodeChange} = props;\n\n const {translate} = context;\n\n return (\n <div className={style.promoCode}>\n <div className={style.promoCodeInputAndButton}>\n <input\n type=\"text\"\n placeholder={translate('zuora_discount_code')}\n className={`\n ${style.promoCodeInput}\n ${promoCodeError && style.promoCodeButtonOnError}\n ${promoCodeDescription && style.promoCodeButtonOnSuccess}\n `}\n onChange={handlePromoCodeChange}\n />\n <button type=\"submit\" onClick={onValidate} className={style.promoCodeButton}>\n {translate('zuora_discount_code_submit')}\n </button>\n </div>\n {promoCodeDescription ? (\n <div className={style.promoCodeDescription}>-{promoCodeDescription}</div>\n ) : null}\n {promoCodeError ? <div className={style.promoCodeError}>-{promoCodeError}</div> : null}\n </div>\n );\n};\n\nPromoCode.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nPromoCode.propTypes = {\n promoCodeDescription: PropTypes.string,\n promoCodeError: PropTypes.string,\n onValidate: PropTypes.func.isRequired,\n handlePromoCodeChange: PropTypes.func.isRequired\n};\n\nexport default PromoCode;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","_propTypes","_provider","_style","e","__esModule","default","PromoCode","props","context","promoCodeDescription","promoCodeError","onValidate","handlePromoCodeChange","translate","createElement","className","style","promoCode","promoCodeInputAndButton","type","placeholder","promoCodeInput","promoCodeButtonOnError","promoCodeButtonOnSuccess","onChange","onClick","promoCodeButton","contextTypes","Provider","childContextTypes","propTypes","process","env","NODE_ENV","PropTypes","string","func","isRequired","_default","exports"],"sources":["../../../src/atom/promo-code/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport Provider from '../provider';\nimport style from './style.css';\n\nconst PromoCode = (props, context) => {\n const {promoCodeDescription, promoCodeError, onValidate, handlePromoCodeChange} = props;\n\n const {translate} = context;\n\n return (\n <div className={style.promoCode}>\n <div className={style.promoCodeInputAndButton}>\n <input\n type=\"text\"\n placeholder={translate('zuora_discount_code')}\n className={`\n ${style.promoCodeInput}\n ${promoCodeError && style.promoCodeButtonOnError}\n ${promoCodeDescription && style.promoCodeButtonOnSuccess}\n `}\n onChange={handlePromoCodeChange}\n />\n <button type=\"submit\" onClick={onValidate} className={style.promoCodeButton}>\n {translate('zuora_discount_code_submit')}\n </button>\n </div>\n {promoCodeDescription ? (\n <div className={style.promoCodeDescription}>-{promoCodeDescription}</div>\n ) : null}\n {promoCodeError ? <div className={style.promoCodeError}>-{promoCodeError}</div> : null}\n </div>\n );\n};\n\nPromoCode.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nPromoCode.propTypes = {\n promoCodeDescription: PropTypes.string,\n promoCodeError: PropTypes.string,\n onValidate: PropTypes.func.isRequired,\n handlePromoCodeChange: PropTypes.func.isRequired\n};\n\nexport default PromoCode;\n"],"mappings":";;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,SAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,MAAA,GAAAJ,sBAAA,CAAAC,OAAA;AAAgC,SAAAD,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEhC,MAAMG,SAAS,GAAGA,CAACC,KAAK,EAAEC,OAAO,KAAK;EACpC,MAAM;IAACC,oBAAoB;IAAEC,cAAc;IAAEC,UAAU;IAAEC;EAAqB,CAAC,GAAGL,KAAK;EAEvF,MAAM;IAACM;EAAS,CAAC,GAAGL,OAAO;EAE3B,oBACEX,MAAA,CAAAQ,OAAA,CAAAS,aAAA;IAAKC,SAAS,EAAEC,cAAK,CAACC;EAAU,gBAC9BpB,MAAA,CAAAQ,OAAA,CAAAS,aAAA;IAAKC,SAAS,EAAEC,cAAK,CAACE;EAAwB,gBAC5CrB,MAAA,CAAAQ,OAAA,CAAAS,aAAA;IACEK,IAAI,EAAC,MAAM;IACXC,WAAW,EAAEP,SAAS,CAAC,qBAAqB,CAAE;IAC9CE,SAAS,EAAE;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