@coorpacademy/components 10.27.4 → 10.27.5-alpha.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/atom/autocomplete/index.d.ts +1 -1
- package/es/atom/autocomplete/index.js.map +1 -1
- package/es/atom/avatar/index.js.map +1 -1
- package/es/atom/button/index.js +1 -1
- package/es/atom/button/index.js.map +1 -1
- package/es/atom/button-link/index.js +1 -1
- package/es/atom/button-link/index.js.map +1 -1
- package/es/atom/button-link-icon-only/index.js +1 -1
- package/es/atom/button-link-icon-only/index.js.map +1 -1
- package/es/atom/button-menu/index.js +1 -1
- package/es/atom/button-menu/index.js.map +1 -1
- package/es/atom/card-image-preview/index.js.map +1 -1
- package/es/atom/catalog-section/index.js.map +1 -1
- package/es/atom/centered-text/index.js.map +1 -1
- package/es/atom/checkbox/index.js +2 -3
- package/es/atom/checkbox/index.js.map +1 -1
- package/es/atom/checkbox-with-title/index.js.map +1 -1
- package/es/atom/chips/index.js.map +1 -1
- package/es/atom/choice/index.native.d.ts +0 -1
- package/es/atom/choice/index.native.d.ts.map +1 -1
- package/es/atom/choice/index.native.js +1 -1
- package/es/atom/choice/index.native.js.map +1 -1
- package/es/atom/clue/index.js.map +1 -1
- package/es/atom/content-badge/index.js.map +1 -1
- package/es/atom/cta/index.js.map +1 -1
- package/es/atom/difficulty-level/index.js.map +1 -1
- package/es/atom/drag-and-drop/index.js +1 -1
- package/es/atom/drag-and-drop/index.js.map +1 -1
- package/es/atom/empty-search-result/index.js.map +1 -1
- package/es/atom/gradient/index.native.js.map +1 -1
- package/es/atom/header-back-button/index.native.d.ts +0 -1
- package/es/atom/header-back-button/index.native.d.ts.map +1 -1
- package/es/atom/header-back-button/index.native.js.map +1 -1
- package/es/atom/header-back-icon/index.native.d.ts +0 -1
- package/es/atom/header-back-icon/index.native.d.ts.map +1 -1
- package/es/atom/header-back-icon/index.native.js.map +1 -1
- package/es/atom/html/index.native.d.ts +0 -1
- package/es/atom/html/index.native.d.ts.map +1 -1
- package/es/atom/html/index.native.js +6 -6
- package/es/atom/html/index.native.js.map +1 -1
- package/es/atom/image-background/index.native.js +4 -7
- package/es/atom/image-background/index.native.js.map +1 -1
- package/es/atom/image-upload/index.js +2 -2
- package/es/atom/image-upload/index.js.map +1 -1
- package/es/atom/input-checkbox/index.js.map +1 -1
- package/es/atom/input-color/index.js.map +1 -1
- package/es/atom/input-doublestep/index.js +1 -1
- package/es/atom/input-doublestep/index.js.map +1 -1
- package/es/atom/input-html/index.js.map +1 -1
- package/es/atom/input-html/input-preview.js.map +1 -1
- package/es/atom/input-readonly/index.js.map +1 -1
- package/es/atom/input-search/index.js.map +1 -1
- package/es/atom/input-switch/index.js.map +1 -1
- package/es/atom/input-text/index.js.map +1 -1
- package/es/atom/input-text-with-title/index.js +2 -2
- package/es/atom/input-text-with-title/index.js.map +1 -1
- package/es/atom/input-textarea/index.js.map +1 -1
- package/es/atom/label/index.js.map +1 -1
- package/es/atom/life/index.js.map +1 -1
- package/es/atom/link/index.js +3 -4
- package/es/atom/link/index.js.map +1 -1
- package/es/atom/loader/index.js.map +1 -1
- package/es/atom/lottie-wrapper/index.js +4 -4
- 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.map +1 -1
- package/es/atom/picture/index.js +1 -1
- package/es/atom/picture/index.js.map +1 -1
- package/es/atom/picture-background/index.d.ts +3 -3
- package/es/atom/picture-background/index.js.map +1 -1
- package/es/atom/promo-code/index.js.map +1 -1
- package/es/atom/provider/index.d.ts +1 -1
- package/es/atom/provider/index.js.map +1 -1
- package/es/atom/provider/web-context.js +3 -5
- package/es/atom/provider/web-context.js.map +1 -1
- package/es/atom/radio-group/index.js +1 -1
- package/es/atom/radio-group/index.js.map +1 -1
- package/es/atom/radio-group/item.js.map +1 -1
- package/es/atom/range/handle.js.map +1 -1
- package/es/atom/range/index.d.ts +1 -1
- package/es/atom/range/index.js +2 -2
- package/es/atom/range/index.js.map +1 -1
- package/es/atom/resource-miniature/index.js.map +1 -1
- package/es/atom/review-background/index.js.map +1 -1
- package/es/atom/review-background/prop-types.js.map +1 -1
- package/es/atom/review-header-step-item/index.d.ts +0 -1
- package/es/atom/review-header-step-item/index.d.ts.map +1 -1
- package/es/atom/review-header-step-item/index.js.map +1 -1
- package/es/atom/review-header-step-item/index.native.d.ts +0 -1
- package/es/atom/review-header-step-item/index.native.d.ts.map +1 -1
- package/es/atom/review-header-step-item/index.native.js.map +1 -1
- package/es/atom/review-header-step-item/types.js.map +1 -1
- package/es/atom/review-presentation/index.js.map +1 -1
- package/es/atom/review-presentation/index.native.d.ts +0 -1
- package/es/atom/review-presentation/index.native.d.ts.map +1 -1
- 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.d.ts +2 -2
- package/es/atom/select/index.js +1 -1
- package/es/atom/select/index.js.map +1 -1
- package/es/atom/select-modal/index.native.d.ts +0 -1
- package/es/atom/select-modal/index.native.d.ts.map +1 -1
- package/es/atom/select-modal/index.native.js.map +1 -1
- package/es/atom/slide/index.js +1 -1
- package/es/atom/slide/index.js.map +1 -1
- package/es/atom/social-link/index.js.map +1 -1
- package/es/atom/space/index.native.d.ts +0 -1
- package/es/atom/space/index.native.d.ts.map +1 -1
- package/es/atom/space/index.native.js.map +1 -1
- package/es/atom/spinner/index.js.map +1 -1
- package/es/atom/tab/index.js.map +1 -1
- package/es/atom/tab-content/index.js.map +1 -1
- package/es/atom/tag/index.js.map +1 -1
- package/es/atom/text/index.native.js +1 -1
- package/es/atom/text/index.native.js.map +1 -1
- package/es/atom/title/index.js.map +1 -1
- package/es/atom/video-upload/index.js +2 -2
- package/es/atom/video-upload/index.js.map +1 -1
- package/es/atom/wizard-steps/index.js.map +1 -1
- package/es/globals.d.js.map +1 -1
- package/es/hoc/animation/index.js.map +1 -1
- package/es/hoc/animation-scheduler/index.js +3 -3
- package/es/hoc/animation-scheduler/index.js.map +1 -1
- package/es/hoc/modal/index.native.js.map +1 -1
- package/es/hoc/modal/select/index.native.d.ts +0 -1
- package/es/hoc/modal/select/index.native.d.ts.map +1 -1
- package/es/hoc/modal/select/index.native.js.map +1 -1
- package/es/hoc/modal/select-item/index.native.d.ts +0 -1
- package/es/hoc/modal/select-item/index.native.d.ts.map +1 -1
- package/es/hoc/modal/select-item/index.native.js.map +1 -1
- package/es/hoc/swapper/index.js +2 -4
- package/es/hoc/swapper/index.js.map +1 -1
- package/es/hoc/touchable/index.native.js +2 -2
- package/es/hoc/touchable/index.native.js.map +1 -1
- package/es/hoc/transition/index.js +1 -1
- package/es/hoc/transition/index.js.map +1 -1
- package/es/index.js.map +1 -1
- package/es/molecule/add-to-my-list/index.js +1 -1
- package/es/molecule/add-to-my-list/index.js.map +1 -1
- package/es/molecule/answer/index.js +2 -3
- package/es/molecule/answer/index.js.map +1 -1
- package/es/molecule/answer/index.native.d.ts +0 -1
- package/es/molecule/answer/index.native.d.ts.map +1 -1
- package/es/molecule/answer/index.native.js.map +1 -1
- package/es/molecule/answer/prop-types.d.ts +6 -6
- package/es/molecule/answer/prop-types.js +2 -2
- package/es/molecule/answer/prop-types.js.map +1 -1
- package/es/molecule/audio/index.js.map +1 -1
- package/es/molecule/banner/index.js.map +1 -1
- package/es/molecule/battle-request/index.js.map +1 -1
- package/es/molecule/brand-card/description.js.map +1 -1
- package/es/molecule/brand-card/index.js.map +1 -1
- package/es/molecule/brand-card-create/index.js.map +1 -1
- package/es/molecule/brand-create-form/index.d.ts +2 -2
- package/es/molecule/brand-create-form/index.js.map +1 -1
- package/es/molecule/brand-download-box/index.js.map +1 -1
- package/es/molecule/brand-form-group/index.d.ts +9 -9
- package/es/molecule/brand-form-group/index.js +20 -20
- package/es/molecule/brand-form-group/index.js.map +1 -1
- package/es/molecule/brand-logo/index.native.d.ts +0 -1
- package/es/molecule/brand-logo/index.native.d.ts.map +1 -1
- package/es/molecule/brand-logo/index.native.js +2 -2
- package/es/molecule/brand-logo/index.native.js.map +1 -1
- package/es/molecule/brand-tabs/index.js.map +1 -1
- package/es/molecule/brand-upload-box/index.js.map +1 -1
- package/es/molecule/breadcrumbs/index.js.map +1 -1
- package/es/molecule/bullet-point-menu-button/index.js.map +1 -1
- package/es/molecule/card/customer.js.map +1 -1
- package/es/molecule/card/favorite.js.map +1 -1
- package/es/molecule/card/index.js +2 -2
- package/es/molecule/card/index.js.map +1 -1
- package/es/molecule/card/notification.js.map +1 -1
- package/es/molecule/card/selectable.js.map +1 -1
- package/es/molecule/card-content/index.js.map +1 -1
- package/es/molecule/card-with-button/index.d.ts +1 -1
- package/es/molecule/card-with-button/index.js.map +1 -1
- package/es/molecule/cm-popin/index.js.map +1 -1
- package/es/molecule/cm-popin/types.js.map +1 -1
- package/es/molecule/cookie-banner/index.js.map +1 -1
- package/es/molecule/coorp-manager-roles/index.js +2 -2
- package/es/molecule/coorp-manager-roles/index.js.map +1 -1
- package/es/molecule/course-section/index.js.map +1 -1
- package/es/molecule/course-sections/index.js +2 -2
- package/es/molecule/course-sections/index.js.map +1 -1
- package/es/molecule/dashboard/battle-request-list/index.js +1 -1
- package/es/molecule/dashboard/battle-request-list/index.js.map +1 -1
- package/es/molecule/dashboard/cards-list/index.js +1 -1
- package/es/molecule/dashboard/cards-list/index.js.map +1 -1
- package/es/molecule/dashboard/news-list/index.js +1 -1
- package/es/molecule/dashboard/news-list/index.js.map +1 -1
- package/es/molecule/dashboard/review-banner/index.js +3 -3
- package/es/molecule/dashboard/review-banner/index.js.map +1 -1
- package/es/molecule/dashboard/start-battle/index.js +1 -1
- package/es/molecule/dashboard/start-battle/index.js.map +1 -1
- package/es/molecule/discipline-cta/index.js.map +1 -1
- package/es/molecule/discipline-header/index.js.map +1 -1
- package/es/molecule/discipline-partners/index.js.map +1 -1
- package/es/molecule/discipline-scope/index.js.map +1 -1
- package/es/molecule/drag-and-drop/index.js +2 -2
- 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 +2 -2
- package/es/molecule/drag-and-drop/upload-report.js.map +1 -1
- package/es/molecule/drag-and-drop-wrapper/index.js.map +1 -1
- package/es/molecule/draggable/index.js.map +1 -1
- package/es/molecule/draggable-list/index.js +1 -1
- package/es/molecule/draggable-list/index.js.map +1 -1
- package/es/molecule/external-content-button/index.js.map +1 -1
- package/es/molecule/external-content-viewer/index.js.map +1 -1
- package/es/molecule/feedback/index.js +2 -2
- package/es/molecule/feedback/index.js.map +1 -1
- package/es/molecule/filters/filters-wrapper.js +1 -1
- package/es/molecule/filters/filters-wrapper.js.map +1 -1
- package/es/molecule/filters/index.d.ts +1 -1
- package/es/molecule/filters/index.js.map +1 -1
- package/es/molecule/forum/forum-comment/index.js.map +1 -1
- package/es/molecule/forum/forum-post/index.js.map +1 -1
- package/es/molecule/forum/forum-thread/index.js +1 -1
- package/es/molecule/forum/forum-thread/index.js.map +1 -1
- package/es/molecule/forum/post-conditions.js.map +1 -1
- package/es/molecule/go1-banner/index.js.map +1 -1
- package/es/molecule/hero/index.js.map +1 -1
- package/es/molecule/input-text-with-titled-checkbox/index.js.map +1 -1
- package/es/molecule/list-badges/index.js.map +1 -1
- package/es/molecule/login-alert/index.js.map +1 -1
- package/es/molecule/menu-list/index.js.map +1 -1
- package/es/molecule/message-popin/index.js.map +1 -1
- package/es/molecule/modal/index.js.map +1 -1
- package/es/molecule/module-bubble/index.js.map +1 -1
- package/es/molecule/module-card/index.js +1 -1
- package/es/molecule/module-card/index.js.map +1 -1
- package/es/molecule/news/index.js +1 -1
- package/es/molecule/news/index.js.map +1 -1
- package/es/molecule/notification-banner/index.js.map +1 -1
- package/es/molecule/pagination/index.js.map +1 -1
- package/es/molecule/payment-form/index.js.map +1 -1
- package/es/molecule/pdf/index.js.map +1 -1
- package/es/molecule/popin/index.js +2 -2
- package/es/molecule/popin/index.js.map +1 -1
- package/es/molecule/product-card/index.js.map +1 -1
- package/es/molecule/progress-bar/index.d.ts +1 -1
- package/es/molecule/progress-bar/index.js +2 -2
- package/es/molecule/progress-bar/index.js.map +1 -1
- package/es/molecule/questions/drop-down/index.d.ts +1 -1
- package/es/molecule/questions/drop-down/index.js.map +1 -1
- package/es/molecule/questions/free-text/index.js +3 -3
- package/es/molecule/questions/free-text/index.js.map +1 -1
- package/es/molecule/questions/free-text/index.native.d.ts +0 -1
- package/es/molecule/questions/free-text/index.native.d.ts.map +1 -1
- package/es/molecule/questions/free-text/index.native.js +3 -3
- package/es/molecule/questions/free-text/index.native.js.map +1 -1
- package/es/molecule/questions/mobile/draggable/index.native.d.ts +0 -1
- package/es/molecule/questions/mobile/draggable/index.native.d.ts.map +1 -1
- package/es/molecule/questions/mobile/draggable/index.native.js.map +1 -1
- package/es/molecule/questions/mobile/slider/index.native.d.ts +0 -1
- package/es/molecule/questions/mobile/slider/index.native.d.ts.map +1 -1
- package/es/molecule/questions/mobile/slider/index.native.js +2 -2
- package/es/molecule/questions/mobile/slider/index.native.js.map +1 -1
- package/es/molecule/questions/mobile/switch/index.native.d.ts +0 -1
- package/es/molecule/questions/mobile/switch/index.native.d.ts.map +1 -1
- package/es/molecule/questions/mobile/switch/index.native.js.map +1 -1
- package/es/molecule/questions/mobile/template/index.native.d.ts +0 -1
- package/es/molecule/questions/mobile/template/index.native.d.ts.map +1 -1
- package/es/molecule/questions/mobile/template/index.native.js +3 -3
- package/es/molecule/questions/mobile/template/index.native.js.map +1 -1
- package/es/molecule/questions/qcm/index.js +1 -1
- package/es/molecule/questions/qcm/index.js.map +1 -1
- package/es/molecule/questions/qcm-drag/index.js.map +1 -1
- package/es/molecule/questions/qcm-graphic/index.js +1 -1
- package/es/molecule/questions/qcm-graphic/index.js.map +1 -1
- package/es/molecule/questions/question-range/index.d.ts +1 -1
- package/es/molecule/questions/question-range/index.js +3 -4
- package/es/molecule/questions/question-range/index.js.map +1 -1
- package/es/molecule/questions/template/index.d.ts +3 -12
- package/es/molecule/questions/template/index.js +3 -4
- 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.map +1 -1
- package/es/molecule/quick-access-cards-group/index.js.map +1 -1
- package/es/molecule/resource-player/index.d.ts +2 -2
- package/es/molecule/resource-player/index.js +2 -3
- package/es/molecule/resource-player/index.js.map +1 -1
- package/es/molecule/review-card-congrats/index.js +1 -1
- 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 +3 -3
- package/es/molecule/review-correction-popin/index.js.map +1 -1
- package/es/molecule/review-correction-popin/prop-types.js.map +1 -1
- package/es/molecule/review-header-steps/index.js +1 -1
- 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 +1 -1
- package/es/molecule/scope-content/index.js.map +1 -1
- package/es/molecule/scope-tabs/index.js +1 -1
- package/es/molecule/scope-tabs/index.js.map +1 -1
- package/es/molecule/search-form/index.js +1 -1
- package/es/molecule/search-form/index.js.map +1 -1
- package/es/molecule/select-multiple/index.d.ts +2 -2
- package/es/molecule/select-multiple/index.js +4 -4
- package/es/molecule/select-multiple/index.js.map +1 -1
- package/es/molecule/setup-cohort-item/index.js +1 -1
- package/es/molecule/setup-cohort-item/index.js.map +1 -1
- package/es/molecule/setup-section/index.js +2 -2
- package/es/molecule/setup-section/index.js.map +1 -1
- package/es/molecule/setup-sections/index.js.map +1 -1
- package/es/molecule/setup-slide/index.d.ts +3 -3
- package/es/molecule/setup-slide/index.js +9 -9
- package/es/molecule/setup-slide/index.js.map +1 -1
- package/es/molecule/setup-slider/index.d.ts +3 -3
- package/es/molecule/setup-slider/index.js +1 -1
- package/es/molecule/setup-slider/index.js.map +1 -1
- package/es/molecule/share/index.js +1 -1
- package/es/molecule/share/index.js.map +1 -1
- package/es/molecule/skill-card/index.js.map +1 -1
- package/es/molecule/skill-card/prop-types.js.map +1 -1
- package/es/molecule/ssmenu-list/index.js.map +1 -1
- package/es/molecule/subscription-freemium/index.js.map +1 -1
- package/es/molecule/subscription-premium/index.js.map +1 -1
- package/es/molecule/table/index.d.ts +2 -2
- package/es/molecule/table/index.js.map +1 -1
- package/es/molecule/teams-popin/index.js.map +1 -1
- package/es/molecule/theme-image/index.js.map +1 -1
- package/es/molecule/title-and-checkbox-wrapper/index.d.ts +2 -2
- package/es/molecule/title-and-checkbox-wrapper/index.js +3 -3
- package/es/molecule/title-and-checkbox-wrapper/index.js.map +1 -1
- package/es/molecule/titled-checkbox/index.d.ts +2 -2
- package/es/molecule/titled-checkbox/index.js.map +1 -1
- package/es/molecule/unsubscribe/index.js.map +1 -1
- package/es/molecule/vertical-tabs/index.js.map +1 -1
- package/es/molecule/video-iframe/index.d.ts.map +1 -1
- package/es/molecule/video-iframe/index.js +2 -2
- package/es/molecule/video-iframe/index.js.map +1 -1
- package/es/molecule/video-player/index.js +2 -4
- 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 +3 -3
- 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.d.ts +3 -3
- package/es/molecule/video-player/vimeo.js +2 -2
- package/es/molecule/video-player/vimeo.js.map +1 -1
- package/es/molecule/wizard-summary/index.d.ts +2 -2
- package/es/molecule/wizard-summary/index.js.map +1 -1
- package/es/organism/accordion/container/index.js +1 -1
- package/es/organism/accordion/container/index.js.map +1 -1
- package/es/organism/accordion/coorp-manager/index.js +2 -2
- package/es/organism/accordion/coorp-manager/index.js.map +1 -1
- package/es/organism/accordion/coorp-manager/part/index.js +1 -1
- package/es/organism/accordion/coorp-manager/part/index.js.map +1 -1
- package/es/organism/accordion/part/index.js.map +1 -1
- package/es/organism/accordion/toggler/index.js +2 -2
- package/es/organism/accordion/toggler/index.js.map +1 -1
- package/es/organism/brand-analytics/analytics-popin.js.map +1 -1
- package/es/organism/brand-analytics/index.d.ts +3 -3
- package/es/organism/brand-analytics/index.js.map +1 -1
- package/es/organism/brand-dashboard/index.js +1 -1
- package/es/organism/brand-dashboard/index.js.map +1 -1
- package/es/organism/brand-form/index.d.ts +9 -9
- package/es/organism/brand-form/index.js.map +1 -1
- package/es/organism/brand-table/index.d.ts +2 -2
- package/es/organism/brand-table/index.js.map +1 -1
- package/es/organism/brand-upload/index.d.ts +2 -2
- package/es/organism/brand-upload/index.js +1 -1
- package/es/organism/brand-upload/index.js.map +1 -1
- package/es/organism/cards-grid/index.js.map +1 -1
- package/es/organism/cart/index.js.map +1 -1
- package/es/organism/content-translation/index.js +3 -3
- package/es/organism/content-translation/index.js.map +1 -1
- package/es/organism/course-selection/index.js +1 -1
- package/es/organism/course-selection/index.js.map +1 -1
- package/es/organism/discussion/index.js +1 -1
- package/es/organism/discussion/index.js.map +1 -1
- package/es/organism/get-the-app/index.js +3 -3
- package/es/organism/get-the-app/index.js.map +1 -1
- package/es/organism/grid-list/index.js.map +1 -1
- package/es/organism/header/index.d.ts +2 -2
- package/es/organism/header/index.js.map +1 -1
- package/es/organism/header-v2/index.native.d.ts +0 -1
- package/es/organism/header-v2/index.native.d.ts.map +1 -1
- package/es/organism/header-v2/index.native.js.map +1 -1
- package/es/organism/hero/index.js.map +1 -1
- package/es/organism/list-item/index.js.map +1 -1
- package/es/organism/list-items/index.js.map +1 -1
- package/es/organism/mobile-navigation/index.native.js.map +1 -1
- package/es/organism/mooc/image-slider/index.js +1 -1
- package/es/organism/mooc/image-slider/index.js.map +1 -1
- package/es/organism/mooc-footer/index.js.map +1 -1
- package/es/organism/mooc-header/index.js +1 -1
- package/es/organism/mooc-header/index.js.map +1 -1
- package/es/organism/podcast-popin-intro/index.native.d.ts +0 -1
- package/es/organism/podcast-popin-intro/index.native.d.ts.map +1 -1
- package/es/organism/podcast-popin-intro/index.native.js.map +1 -1
- package/es/organism/popin/index.js.map +1 -1
- package/es/organism/resource-browser/index.js +1 -1
- package/es/organism/resource-browser/index.js.map +1 -1
- package/es/organism/review-congrats/index.js +1 -1
- package/es/organism/review-congrats/index.js.map +1 -1
- package/es/organism/review-congrats/prop-types.js.map +1 -1
- package/es/organism/review-header/index.js.map +1 -1
- package/es/organism/review-header/index.native.d.ts +0 -1
- package/es/organism/review-header/index.native.d.ts.map +1 -1
- package/es/organism/review-header/index.native.js +1 -1
- package/es/organism/review-header/index.native.js.map +1 -1
- package/es/organism/review-header/types.js.map +1 -1
- package/es/organism/review-skills/index.js.map +1 -1
- package/es/organism/review-skills/prop-types.js +3 -3
- package/es/organism/review-skills/prop-types.js.map +1 -1
- package/es/organism/review-slide/index.js +1 -1
- package/es/organism/review-slide/index.js.map +1 -1
- package/es/organism/review-slide/index.native.d.ts +0 -1
- package/es/organism/review-slide/index.native.d.ts.map +1 -1
- package/es/organism/review-slide/index.native.js.map +1 -1
- package/es/organism/review-slide/prop-types.d.ts +8 -8
- package/es/organism/review-slide/prop-types.js.map +1 -1
- package/es/organism/review-stacked-slides/index.js +6 -3
- package/es/organism/review-stacked-slides/index.js.map +1 -1
- package/es/organism/review-stacked-slides/index.native.d.ts +0 -1
- package/es/organism/review-stacked-slides/index.native.d.ts.map +1 -1
- package/es/organism/review-stacked-slides/index.native.js +6 -3
- package/es/organism/review-stacked-slides/index.native.js.map +1 -1
- package/es/organism/review-stacked-slides/prop-types.d.ts +22 -22
- package/es/organism/review-stacked-slides/prop-types.js.map +1 -1
- package/es/organism/rewards-form/index.d.ts +2 -2
- package/es/organism/rewards-form/index.js +1 -3
- package/es/organism/rewards-form/index.js.map +1 -1
- package/es/organism/search-and-chips-results/index.js +1 -1
- package/es/organism/search-and-chips-results/index.js.map +1 -1
- package/es/organism/settings/index.js +3 -4
- package/es/organism/settings/index.js.map +1 -1
- package/es/organism/setup-header/index.js.map +1 -1
- package/es/organism/sidebar/index.d.ts +5 -29
- package/es/organism/sidebar/index.js +11 -12
- package/es/organism/sidebar/index.js.map +1 -1
- package/es/organism/slider/index.d.ts +1 -1
- package/es/organism/slider/index.d.ts.map +1 -1
- package/es/organism/slider/index.js.map +1 -1
- package/es/organism/user-preferences/index.js +3 -4
- package/es/organism/user-preferences/index.js.map +1 -1
- package/es/organism/wizard-contents/index.d.ts +19 -19
- package/es/organism/wizard-contents/index.js +8 -8
- package/es/organism/wizard-contents/index.js.map +1 -1
- package/es/template/activity/engine-stars.js.map +1 -1
- package/es/template/activity/index.d.ts +3 -3
- package/es/template/activity/index.js +2 -2
- package/es/template/activity/index.js.map +1 -1
- package/es/template/activity/progression-item.js.map +1 -1
- package/es/template/activity/stars-summary.d.ts +2 -2
- package/es/template/activity/stars-summary.js +1 -1
- package/es/template/activity/stars-summary.js.map +1 -1
- package/es/template/app-player/loading/index.js.map +1 -1
- package/es/template/app-player/player/index.js +1 -1
- package/es/template/app-player/player/index.js.map +1 -1
- package/es/template/app-player/player/slides/footer/index.js +2 -2
- package/es/template/app-player/player/slides/footer/index.js.map +1 -1
- package/es/template/app-player/player/slides/header/index.js.map +1 -1
- package/es/template/app-player/player/slides/header/learner.d.ts +4 -4
- package/es/template/app-player/player/slides/header/learner.js +1 -1
- package/es/template/app-player/player/slides/header/learner.js.map +1 -1
- package/es/template/app-player/player/slides/header/lives.js.map +1 -1
- package/es/template/app-player/player/slides/header/microlearning.js.map +1 -1
- package/es/template/app-player/player/slides/index.d.ts +6 -6
- package/es/template/app-player/player/slides/index.js +12 -15
- package/es/template/app-player/player/slides/index.js.map +1 -1
- package/es/template/app-player/popin-correction/index.js +3 -4
- package/es/template/app-player/popin-correction/index.js.map +1 -1
- package/es/template/app-player/popin-end/index.js +1 -1
- package/es/template/app-player/popin-end/index.js.map +1 -1
- package/es/template/app-player/popin-end/summary.js +12 -15
- package/es/template/app-player/popin-end/summary.js.map +1 -1
- package/es/template/app-player/popin-header/index.js +4 -5
- package/es/template/app-player/popin-header/index.js.map +1 -1
- package/es/template/app-player/popin-no-access/index.js.map +1 -1
- package/es/template/app-review/demo-ts/index.js.map +1 -1
- package/es/template/app-review/demo-ts/index.native.d.ts +0 -1
- package/es/template/app-review/demo-ts/index.native.d.ts.map +1 -1
- 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.d.ts +22 -23
- package/es/template/app-review/index.d.ts.map +1 -1
- package/es/template/app-review/index.js +1 -1
- package/es/template/app-review/index.js.map +1 -1
- package/es/template/app-review/index.native.d.ts +0 -1
- package/es/template/app-review/index.native.d.ts.map +1 -1
- 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/index.js.map +1 -1
- package/es/template/app-review/player/index.native.d.ts +0 -1
- package/es/template/app-review/player/index.native.d.ts.map +1 -1
- package/es/template/app-review/player/index.native.js.map +1 -1
- package/es/template/app-review/player/prop-types.d.ts +22 -22
- package/es/template/app-review/player/prop-types.js +1 -1
- package/es/template/app-review/player/prop-types.js.map +1 -1
- package/es/template/app-review/prop-types.d.ts +22 -22
- package/es/template/app-review/prop-types.js +1 -1
- package/es/template/app-review/prop-types.js.map +1 -1
- package/es/template/app-review/skills/index.js.map +1 -1
- package/es/template/app-review/skills/index.native.d.ts +0 -1
- package/es/template/app-review/skills/index.native.d.ts.map +1 -1
- 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/skills/stories.js.map +1 -1
- package/es/template/app-review/template-context.js +1 -1
- 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 +2 -4
- package/es/template/back-office/brand-list/index.js.map +1 -1
- package/es/template/back-office/brand-update/index.d.ts +39 -39
- package/es/template/back-office/brand-update/index.js +9 -9
- package/es/template/back-office/brand-update/index.js.map +1 -1
- package/es/template/back-office/dashboard-preview/dashboard-popin.js.map +1 -1
- package/es/template/back-office/dashboard-preview/index.js.map +1 -1
- package/es/template/back-office/layout/index.js.map +1 -1
- package/es/template/battle-requests/index.d.ts +2 -2
- package/es/template/battle-requests/index.js.map +1 -1
- package/es/template/cockpit/jw-uploader/index.js +2 -2
- package/es/template/cockpit/jw-uploader/index.js.map +1 -1
- package/es/template/common/authors/index.js.map +1 -1
- package/es/template/common/coorp-header/content.js.map +1 -1
- package/es/template/common/coorp-header/index.js.map +1 -1
- package/es/template/common/dashboard/index.d.ts +1 -1
- package/es/template/common/dashboard/index.js +1 -1
- package/es/template/common/dashboard/index.js.map +1 -1
- package/es/template/common/discipline/index.js.map +1 -1
- package/es/template/common/search-page/index.d.ts +1 -1
- package/es/template/common/search-page/index.js +1 -1
- package/es/template/common/search-page/index.js.map +1 -1
- package/es/template/external-course/index.d.ts.map +1 -1
- package/es/template/external-course/index.js.map +1 -1
- package/es/template/review-dashboard-skills/index.js.map +1 -1
- package/es/template/teams-dashboard/index.js +1 -1
- package/es/template/teams-dashboard/index.js.map +1 -1
- package/es/util/bubbling.js.map +1 -1
- package/es/util/build-query-string.js.map +1 -1
- package/es/util/button-icons.js.map +1 -1
- 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.map +1 -1
- package/es/util/get-clean-uri.js.map +1 -1
- package/es/util/get-resized-image.js +3 -3
- package/es/util/get-resized-image.js.map +1 -1
- package/es/util/get-shadow-box-color-from-primary.js.map +1 -1
- package/es/util/image.js.map +1 -1
- package/es/util/navigation.js.map +1 -1
- 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 +4 -7
- package/es/util/render-with-context.js.map +1 -1
- package/es/util/shallow-compare.js.map +1 -1
- package/es/variables/analytics.js.map +1 -1
- package/es/variables/brand.native.js.map +1 -1
- package/es/variables/colors.js.map +1 -1
- package/es/variables/default-mobile-translations.js.map +1 -1
- package/es/variables/shadow.js.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.d.ts +1 -1
- package/lib/atom/autocomplete/index.js +2 -2
- package/lib/atom/autocomplete/index.js.map +1 -1
- package/lib/atom/avatar/index.js.map +1 -1
- package/lib/atom/button/index.js +1 -1
- package/lib/atom/button/index.js.map +1 -1
- package/lib/atom/button-link/index.js +3 -3
- package/lib/atom/button-link/index.js.map +1 -1
- package/lib/atom/button-link-icon-only/index.js +3 -3
- package/lib/atom/button-link-icon-only/index.js.map +1 -1
- package/lib/atom/button-menu/index.js +3 -3
- package/lib/atom/button-menu/index.js.map +1 -1
- package/lib/atom/card-image-preview/index.js.map +1 -1
- package/lib/atom/catalog-section/index.js.map +1 -1
- package/lib/atom/centered-text/index.js.map +1 -1
- package/lib/atom/checkbox/index.js +4 -6
- package/lib/atom/checkbox/index.js.map +1 -1
- package/lib/atom/checkbox-with-title/index.js +2 -2
- package/lib/atom/checkbox-with-title/index.js.map +1 -1
- package/lib/atom/chips/index.js +2 -2
- package/lib/atom/chips/index.js.map +1 -1
- package/lib/atom/choice/index.native.d.ts +0 -1
- package/lib/atom/choice/index.native.d.ts.map +1 -1
- package/lib/atom/choice/index.native.js +3 -3
- package/lib/atom/choice/index.native.js.map +1 -1
- package/lib/atom/clue/index.js.map +1 -1
- package/lib/atom/content-badge/index.js.map +1 -1
- package/lib/atom/cta/index.js.map +1 -1
- package/lib/atom/difficulty-level/index.js.map +1 -1
- package/lib/atom/drag-and-drop/index.js +1 -1
- package/lib/atom/drag-and-drop/index.js.map +1 -1
- package/lib/atom/empty-search-result/index.js.map +1 -1
- package/lib/atom/gradient/index.native.js.map +1 -1
- package/lib/atom/header-back-button/index.native.d.ts +0 -1
- package/lib/atom/header-back-button/index.native.d.ts.map +1 -1
- package/lib/atom/header-back-button/index.native.js +3 -3
- package/lib/atom/header-back-button/index.native.js.map +1 -1
- package/lib/atom/header-back-icon/index.native.d.ts +0 -1
- package/lib/atom/header-back-icon/index.native.d.ts.map +1 -1
- package/lib/atom/header-back-icon/index.native.js.map +1 -1
- package/lib/atom/html/index.native.d.ts +0 -1
- package/lib/atom/html/index.native.d.ts.map +1 -1
- package/lib/atom/html/index.native.js +8 -8
- package/lib/atom/html/index.native.js.map +1 -1
- package/lib/atom/image-background/index.native.js +4 -7
- package/lib/atom/image-background/index.native.js.map +1 -1
- package/lib/atom/image-upload/index.js +4 -4
- package/lib/atom/image-upload/index.js.map +1 -1
- package/lib/atom/input-checkbox/index.js +2 -2
- package/lib/atom/input-checkbox/index.js.map +1 -1
- package/lib/atom/input-color/index.js +2 -2
- package/lib/atom/input-color/index.js.map +1 -1
- package/lib/atom/input-doublestep/index.js +3 -3
- package/lib/atom/input-doublestep/index.js.map +1 -1
- package/lib/atom/input-html/index.js.map +1 -1
- package/lib/atom/input-html/input-preview.js.map +1 -1
- package/lib/atom/input-readonly/index.js.map +1 -1
- package/lib/atom/input-search/index.js +2 -2
- package/lib/atom/input-search/index.js.map +1 -1
- package/lib/atom/input-switch/index.js +2 -2
- package/lib/atom/input-switch/index.js.map +1 -1
- package/lib/atom/input-text/index.js +2 -2
- package/lib/atom/input-text/index.js.map +1 -1
- package/lib/atom/input-text-with-title/index.js +2 -2
- package/lib/atom/input-text-with-title/index.js.map +1 -1
- package/lib/atom/input-textarea/index.js +2 -2
- package/lib/atom/input-textarea/index.js.map +1 -1
- package/lib/atom/label/index.js.map +1 -1
- package/lib/atom/life/index.js.map +1 -1
- package/lib/atom/link/index.js +3 -5
- package/lib/atom/link/index.js.map +1 -1
- package/lib/atom/loader/index.js.map +1 -1
- package/lib/atom/lottie-wrapper/index.js +7 -7
- package/lib/atom/lottie-wrapper/index.js.map +1 -1
- package/lib/atom/lottie-wrapper/prop-types.js.map +1 -1
- package/lib/atom/notification/index.js.map +1 -1
- package/lib/atom/picture/index.js +1 -1
- package/lib/atom/picture/index.js.map +1 -1
- package/lib/atom/picture-background/index.d.ts +3 -3
- package/lib/atom/picture-background/index.js.map +1 -1
- package/lib/atom/promo-code/index.js.map +1 -1
- package/lib/atom/provider/index.d.ts +1 -1
- package/lib/atom/provider/index.js +2 -2
- package/lib/atom/provider/index.js.map +1 -1
- package/lib/atom/provider/web-context.js +6 -8
- package/lib/atom/provider/web-context.js.map +1 -1
- package/lib/atom/radio-group/index.js +1 -1
- package/lib/atom/radio-group/index.js.map +1 -1
- package/lib/atom/radio-group/item.js.map +1 -1
- package/lib/atom/range/handle.js +2 -2
- package/lib/atom/range/handle.js.map +1 -1
- package/lib/atom/range/index.d.ts +1 -1
- package/lib/atom/range/index.js +2 -2
- package/lib/atom/range/index.js.map +1 -1
- package/lib/atom/resource-miniature/index.js.map +1 -1
- package/lib/atom/review-background/index.js.map +1 -1
- package/lib/atom/review-background/prop-types.js.map +1 -1
- package/lib/atom/review-header-step-item/index.d.ts +0 -1
- package/lib/atom/review-header-step-item/index.d.ts.map +1 -1
- package/lib/atom/review-header-step-item/index.js.map +1 -1
- package/lib/atom/review-header-step-item/index.native.d.ts +0 -1
- package/lib/atom/review-header-step-item/index.native.d.ts.map +1 -1
- package/lib/atom/review-header-step-item/index.native.js +2 -2
- package/lib/atom/review-header-step-item/index.native.js.map +1 -1
- package/lib/atom/review-header-step-item/types.js.map +1 -1
- package/lib/atom/review-presentation/index.js.map +1 -1
- package/lib/atom/review-presentation/index.native.d.ts +0 -1
- package/lib/atom/review-presentation/index.native.d.ts.map +1 -1
- package/lib/atom/review-presentation/index.native.js +2 -2
- package/lib/atom/review-presentation/index.native.js.map +1 -1
- package/lib/atom/review-presentation/prop-types.js +1 -1
- package/lib/atom/review-presentation/prop-types.js.map +1 -1
- package/lib/atom/select/index.d.ts +2 -2
- package/lib/atom/select/index.js +3 -3
- package/lib/atom/select/index.js.map +1 -1
- package/lib/atom/select-modal/index.native.d.ts +0 -1
- package/lib/atom/select-modal/index.native.d.ts.map +1 -1
- package/lib/atom/select-modal/index.native.js +2 -2
- package/lib/atom/select-modal/index.native.js.map +1 -1
- package/lib/atom/slide/index.js +1 -1
- package/lib/atom/slide/index.js.map +1 -1
- package/lib/atom/social-link/index.js.map +1 -1
- package/lib/atom/space/index.native.d.ts +0 -1
- package/lib/atom/space/index.native.d.ts.map +1 -1
- package/lib/atom/space/index.native.js +2 -2
- package/lib/atom/space/index.native.js.map +1 -1
- package/lib/atom/spinner/index.js.map +1 -1
- package/lib/atom/tab/index.js +2 -2
- package/lib/atom/tab/index.js.map +1 -1
- package/lib/atom/tab-content/index.js.map +1 -1
- package/lib/atom/tag/index.js.map +1 -1
- package/lib/atom/text/index.native.js +3 -3
- package/lib/atom/text/index.native.js.map +1 -1
- package/lib/atom/title/index.js.map +1 -1
- package/lib/atom/video-upload/index.js +2 -2
- package/lib/atom/video-upload/index.js.map +1 -1
- package/lib/atom/wizard-steps/index.js.map +1 -1
- package/lib/globals.d.js.map +1 -1
- package/lib/hoc/animation/index.js +1 -1
- package/lib/hoc/animation/index.js.map +1 -1
- package/lib/hoc/animation-scheduler/index.js +4 -4
- package/lib/hoc/animation-scheduler/index.js.map +1 -1
- package/lib/hoc/modal/index.native.js +2 -2
- package/lib/hoc/modal/index.native.js.map +1 -1
- package/lib/hoc/modal/select/index.native.d.ts +0 -1
- package/lib/hoc/modal/select/index.native.d.ts.map +1 -1
- package/lib/hoc/modal/select/index.native.js +2 -2
- package/lib/hoc/modal/select/index.native.js.map +1 -1
- package/lib/hoc/modal/select-item/index.native.d.ts +0 -1
- package/lib/hoc/modal/select-item/index.native.d.ts.map +1 -1
- package/lib/hoc/modal/select-item/index.native.js +2 -2
- package/lib/hoc/modal/select-item/index.native.js.map +1 -1
- package/lib/hoc/swapper/index.js +3 -5
- package/lib/hoc/swapper/index.js.map +1 -1
- package/lib/hoc/touchable/index.native.js +4 -4
- package/lib/hoc/touchable/index.native.js.map +1 -1
- package/lib/hoc/transition/index.js +3 -3
- package/lib/hoc/transition/index.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/molecule/add-to-my-list/index.js +4 -4
- package/lib/molecule/add-to-my-list/index.js.map +1 -1
- package/lib/molecule/answer/index.js +4 -6
- package/lib/molecule/answer/index.js.map +1 -1
- package/lib/molecule/answer/index.native.d.ts +0 -1
- package/lib/molecule/answer/index.native.d.ts.map +1 -1
- package/lib/molecule/answer/index.native.js.map +1 -1
- package/lib/molecule/answer/prop-types.d.ts +6 -6
- package/lib/molecule/answer/prop-types.js +3 -3
- package/lib/molecule/answer/prop-types.js.map +1 -1
- package/lib/molecule/audio/index.js.map +1 -1
- package/lib/molecule/banner/index.js.map +1 -1
- package/lib/molecule/battle-request/index.js.map +1 -1
- package/lib/molecule/brand-card/description.js.map +1 -1
- package/lib/molecule/brand-card/index.js.map +1 -1
- package/lib/molecule/brand-card-create/index.js.map +1 -1
- package/lib/molecule/brand-create-form/index.d.ts +2 -2
- package/lib/molecule/brand-create-form/index.js +2 -2
- package/lib/molecule/brand-create-form/index.js.map +1 -1
- package/lib/molecule/brand-download-box/index.js.map +1 -1
- package/lib/molecule/brand-form-group/index.d.ts +9 -9
- package/lib/molecule/brand-form-group/index.js +20 -20
- package/lib/molecule/brand-form-group/index.js.map +1 -1
- package/lib/molecule/brand-logo/index.native.d.ts +0 -1
- package/lib/molecule/brand-logo/index.native.d.ts.map +1 -1
- package/lib/molecule/brand-logo/index.native.js +2 -2
- package/lib/molecule/brand-logo/index.native.js.map +1 -1
- package/lib/molecule/brand-tabs/index.js.map +1 -1
- package/lib/molecule/brand-upload-box/index.js.map +1 -1
- package/lib/molecule/breadcrumbs/index.js.map +1 -1
- package/lib/molecule/bullet-point-menu-button/index.js +2 -2
- package/lib/molecule/bullet-point-menu-button/index.js.map +1 -1
- package/lib/molecule/card/customer.js.map +1 -1
- package/lib/molecule/card/favorite.js.map +1 -1
- package/lib/molecule/card/index.js +4 -4
- package/lib/molecule/card/index.js.map +1 -1
- package/lib/molecule/card/notification.js.map +1 -1
- package/lib/molecule/card/selectable.js.map +1 -1
- package/lib/molecule/card-content/index.js.map +1 -1
- package/lib/molecule/card-with-button/index.d.ts +1 -1
- package/lib/molecule/card-with-button/index.js.map +1 -1
- package/lib/molecule/cm-popin/index.js.map +1 -1
- package/lib/molecule/cm-popin/types.js.map +1 -1
- package/lib/molecule/cookie-banner/index.js.map +1 -1
- package/lib/molecule/coorp-manager-roles/index.js +2 -2
- package/lib/molecule/coorp-manager-roles/index.js.map +1 -1
- package/lib/molecule/course-section/index.js.map +1 -1
- package/lib/molecule/course-sections/index.js +2 -2
- package/lib/molecule/course-sections/index.js.map +1 -1
- package/lib/molecule/dashboard/battle-request-list/index.js +1 -1
- package/lib/molecule/dashboard/battle-request-list/index.js.map +1 -1
- package/lib/molecule/dashboard/cards-list/index.js +1 -1
- package/lib/molecule/dashboard/cards-list/index.js.map +1 -1
- package/lib/molecule/dashboard/news-list/index.js +1 -1
- package/lib/molecule/dashboard/news-list/index.js.map +1 -1
- package/lib/molecule/dashboard/review-banner/index.js +3 -3
- package/lib/molecule/dashboard/review-banner/index.js.map +1 -1
- package/lib/molecule/dashboard/start-battle/index.js +1 -1
- package/lib/molecule/dashboard/start-battle/index.js.map +1 -1
- package/lib/molecule/discipline-cta/index.js.map +1 -1
- package/lib/molecule/discipline-header/index.js.map +1 -1
- package/lib/molecule/discipline-partners/index.js.map +1 -1
- package/lib/molecule/discipline-scope/index.js.map +1 -1
- package/lib/molecule/drag-and-drop/index.js +4 -4
- package/lib/molecule/drag-and-drop/index.js.map +1 -1
- package/lib/molecule/drag-and-drop/overlay.js.map +1 -1
- package/lib/molecule/drag-and-drop/placeholder.js.map +1 -1
- package/lib/molecule/drag-and-drop/upload-report.js +4 -4
- package/lib/molecule/drag-and-drop/upload-report.js.map +1 -1
- package/lib/molecule/drag-and-drop-wrapper/index.js.map +1 -1
- package/lib/molecule/draggable/index.js +2 -2
- package/lib/molecule/draggable/index.js.map +1 -1
- package/lib/molecule/draggable-list/index.js +3 -3
- package/lib/molecule/draggable-list/index.js.map +1 -1
- package/lib/molecule/external-content-button/index.js.map +1 -1
- package/lib/molecule/external-content-viewer/index.js.map +1 -1
- package/lib/molecule/feedback/index.js +4 -4
- package/lib/molecule/feedback/index.js.map +1 -1
- package/lib/molecule/filters/filters-wrapper.js +1 -1
- package/lib/molecule/filters/filters-wrapper.js.map +1 -1
- package/lib/molecule/filters/index.d.ts +1 -1
- package/lib/molecule/filters/index.js.map +1 -1
- package/lib/molecule/forum/forum-comment/index.js.map +1 -1
- package/lib/molecule/forum/forum-post/index.js.map +1 -1
- package/lib/molecule/forum/forum-thread/index.js +1 -1
- package/lib/molecule/forum/forum-thread/index.js.map +1 -1
- package/lib/molecule/forum/post-conditions.js.map +1 -1
- package/lib/molecule/go1-banner/index.js.map +1 -1
- package/lib/molecule/hero/index.js +2 -2
- package/lib/molecule/hero/index.js.map +1 -1
- package/lib/molecule/input-text-with-titled-checkbox/index.js.map +1 -1
- package/lib/molecule/list-badges/index.js.map +1 -1
- package/lib/molecule/login-alert/index.js.map +1 -1
- package/lib/molecule/menu-list/index.js.map +1 -1
- package/lib/molecule/message-popin/index.js.map +1 -1
- package/lib/molecule/modal/index.js.map +1 -1
- package/lib/molecule/module-bubble/index.js.map +1 -1
- package/lib/molecule/module-card/index.js +1 -1
- package/lib/molecule/module-card/index.js.map +1 -1
- package/lib/molecule/news/index.js +1 -1
- package/lib/molecule/news/index.js.map +1 -1
- package/lib/molecule/notification-banner/index.js.map +1 -1
- package/lib/molecule/pagination/index.js.map +1 -1
- package/lib/molecule/payment-form/index.js.map +1 -1
- package/lib/molecule/pdf/index.js.map +1 -1
- package/lib/molecule/popin/index.js +4 -4
- package/lib/molecule/popin/index.js.map +1 -1
- package/lib/molecule/product-card/index.js.map +1 -1
- package/lib/molecule/progress-bar/index.d.ts +1 -1
- package/lib/molecule/progress-bar/index.js +2 -2
- package/lib/molecule/progress-bar/index.js.map +1 -1
- package/lib/molecule/questions/drop-down/index.d.ts +1 -1
- package/lib/molecule/questions/drop-down/index.js +2 -2
- package/lib/molecule/questions/drop-down/index.js.map +1 -1
- package/lib/molecule/questions/free-text/index.js +5 -5
- package/lib/molecule/questions/free-text/index.js.map +1 -1
- package/lib/molecule/questions/free-text/index.native.d.ts +0 -1
- package/lib/molecule/questions/free-text/index.native.d.ts.map +1 -1
- package/lib/molecule/questions/free-text/index.native.js +5 -5
- package/lib/molecule/questions/free-text/index.native.js.map +1 -1
- package/lib/molecule/questions/mobile/draggable/index.native.d.ts +0 -1
- package/lib/molecule/questions/mobile/draggable/index.native.d.ts.map +1 -1
- package/lib/molecule/questions/mobile/draggable/index.native.js +2 -2
- package/lib/molecule/questions/mobile/draggable/index.native.js.map +1 -1
- package/lib/molecule/questions/mobile/slider/index.native.d.ts +0 -1
- package/lib/molecule/questions/mobile/slider/index.native.d.ts.map +1 -1
- package/lib/molecule/questions/mobile/slider/index.native.js +4 -4
- package/lib/molecule/questions/mobile/slider/index.native.js.map +1 -1
- package/lib/molecule/questions/mobile/switch/index.native.d.ts +0 -1
- package/lib/molecule/questions/mobile/switch/index.native.d.ts.map +1 -1
- package/lib/molecule/questions/mobile/switch/index.native.js +2 -2
- package/lib/molecule/questions/mobile/switch/index.native.js.map +1 -1
- package/lib/molecule/questions/mobile/template/index.native.d.ts +0 -1
- package/lib/molecule/questions/mobile/template/index.native.d.ts.map +1 -1
- package/lib/molecule/questions/mobile/template/index.native.js +5 -5
- package/lib/molecule/questions/mobile/template/index.native.js.map +1 -1
- package/lib/molecule/questions/qcm/index.js +3 -3
- package/lib/molecule/questions/qcm/index.js.map +1 -1
- package/lib/molecule/questions/qcm-drag/index.js +2 -2
- package/lib/molecule/questions/qcm-drag/index.js.map +1 -1
- package/lib/molecule/questions/qcm-graphic/index.js +3 -3
- package/lib/molecule/questions/qcm-graphic/index.js.map +1 -1
- package/lib/molecule/questions/question-range/index.d.ts +1 -1
- package/lib/molecule/questions/question-range/index.js +5 -7
- package/lib/molecule/questions/question-range/index.js.map +1 -1
- package/lib/molecule/questions/template/index.d.ts +3 -12
- package/lib/molecule/questions/template/index.js +3 -5
- package/lib/molecule/questions/template/index.js.map +1 -1
- package/lib/molecule/questions/types.js.map +1 -1
- package/lib/molecule/quick-access-card/index.js.map +1 -1
- package/lib/molecule/quick-access-cards-group/index.js.map +1 -1
- package/lib/molecule/resource-player/index.d.ts +2 -2
- package/lib/molecule/resource-player/index.js +3 -5
- package/lib/molecule/resource-player/index.js.map +1 -1
- package/lib/molecule/review-card-congrats/index.js +4 -4
- package/lib/molecule/review-card-congrats/index.js.map +1 -1
- package/lib/molecule/review-card-congrats/prop-types.js.map +1 -1
- package/lib/molecule/review-correction-popin/index.js +3 -3
- package/lib/molecule/review-correction-popin/index.js.map +1 -1
- package/lib/molecule/review-correction-popin/prop-types.js.map +1 -1
- package/lib/molecule/review-header-steps/index.js +1 -1
- package/lib/molecule/review-header-steps/index.js.map +1 -1
- package/lib/molecule/review-header-steps/prop-types.js.map +1 -1
- package/lib/molecule/scope-content/index.js +1 -1
- package/lib/molecule/scope-content/index.js.map +1 -1
- package/lib/molecule/scope-tabs/index.js +3 -3
- package/lib/molecule/scope-tabs/index.js.map +1 -1
- package/lib/molecule/search-form/index.js +3 -3
- package/lib/molecule/search-form/index.js.map +1 -1
- package/lib/molecule/select-multiple/index.d.ts +2 -2
- package/lib/molecule/select-multiple/index.js +7 -7
- package/lib/molecule/select-multiple/index.js.map +1 -1
- package/lib/molecule/setup-cohort-item/index.js +1 -1
- package/lib/molecule/setup-cohort-item/index.js.map +1 -1
- package/lib/molecule/setup-section/index.js +2 -2
- package/lib/molecule/setup-section/index.js.map +1 -1
- package/lib/molecule/setup-sections/index.js.map +1 -1
- package/lib/molecule/setup-slide/index.d.ts +3 -3
- package/lib/molecule/setup-slide/index.js +9 -9
- package/lib/molecule/setup-slide/index.js.map +1 -1
- package/lib/molecule/setup-slider/index.d.ts +3 -3
- package/lib/molecule/setup-slider/index.js +1 -1
- package/lib/molecule/setup-slider/index.js.map +1 -1
- package/lib/molecule/share/index.js +4 -4
- package/lib/molecule/share/index.js.map +1 -1
- package/lib/molecule/skill-card/index.js +2 -2
- package/lib/molecule/skill-card/index.js.map +1 -1
- package/lib/molecule/skill-card/prop-types.js.map +1 -1
- package/lib/molecule/ssmenu-list/index.js.map +1 -1
- package/lib/molecule/subscription-freemium/index.js.map +1 -1
- package/lib/molecule/subscription-premium/index.js.map +1 -1
- package/lib/molecule/table/index.d.ts +2 -2
- package/lib/molecule/table/index.js.map +1 -1
- package/lib/molecule/teams-popin/index.js.map +1 -1
- package/lib/molecule/theme-image/index.js.map +1 -1
- package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +2 -2
- package/lib/molecule/title-and-checkbox-wrapper/index.js +3 -3
- package/lib/molecule/title-and-checkbox-wrapper/index.js.map +1 -1
- package/lib/molecule/titled-checkbox/index.d.ts +2 -2
- package/lib/molecule/titled-checkbox/index.js +2 -2
- package/lib/molecule/titled-checkbox/index.js.map +1 -1
- package/lib/molecule/unsubscribe/index.js.map +1 -1
- package/lib/molecule/vertical-tabs/index.js.map +1 -1
- package/lib/molecule/video-iframe/index.d.ts.map +1 -1
- package/lib/molecule/video-iframe/index.js +2 -2
- package/lib/molecule/video-iframe/index.js.map +1 -1
- package/lib/molecule/video-player/index.js +2 -4
- package/lib/molecule/video-player/index.js.map +1 -1
- package/lib/molecule/video-player/jwplayer-prop-types.js.map +1 -1
- package/lib/molecule/video-player/jwplayer.js +3 -3
- package/lib/molecule/video-player/jwplayer.js.map +1 -1
- package/lib/molecule/video-player/prop-types.js.map +1 -1
- package/lib/molecule/video-player/vimeo.d.ts +3 -3
- package/lib/molecule/video-player/vimeo.js +2 -2
- package/lib/molecule/video-player/vimeo.js.map +1 -1
- package/lib/molecule/wizard-summary/index.d.ts +2 -2
- package/lib/molecule/wizard-summary/index.js +2 -2
- package/lib/molecule/wizard-summary/index.js.map +1 -1
- package/lib/organism/accordion/container/index.js +3 -3
- package/lib/organism/accordion/container/index.js.map +1 -1
- package/lib/organism/accordion/coorp-manager/index.js +4 -4
- package/lib/organism/accordion/coorp-manager/index.js.map +1 -1
- package/lib/organism/accordion/coorp-manager/part/index.js +1 -1
- package/lib/organism/accordion/coorp-manager/part/index.js.map +1 -1
- package/lib/organism/accordion/part/index.js.map +1 -1
- package/lib/organism/accordion/toggler/index.js +2 -2
- package/lib/organism/accordion/toggler/index.js.map +1 -1
- package/lib/organism/brand-analytics/analytics-popin.js.map +1 -1
- package/lib/organism/brand-analytics/index.d.ts +3 -3
- package/lib/organism/brand-analytics/index.js.map +1 -1
- package/lib/organism/brand-dashboard/index.js +1 -1
- package/lib/organism/brand-dashboard/index.js.map +1 -1
- package/lib/organism/brand-form/index.d.ts +9 -9
- package/lib/organism/brand-form/index.js +2 -2
- package/lib/organism/brand-form/index.js.map +1 -1
- package/lib/organism/brand-table/index.d.ts +2 -2
- package/lib/organism/brand-table/index.js.map +1 -1
- package/lib/organism/brand-upload/index.d.ts +2 -2
- package/lib/organism/brand-upload/index.js +1 -1
- package/lib/organism/brand-upload/index.js.map +1 -1
- package/lib/organism/cards-grid/index.js.map +1 -1
- package/lib/organism/cart/index.js.map +1 -1
- package/lib/organism/content-translation/index.js +3 -3
- package/lib/organism/content-translation/index.js.map +1 -1
- package/lib/organism/course-selection/index.js +1 -1
- package/lib/organism/course-selection/index.js.map +1 -1
- package/lib/organism/discussion/index.js +1 -1
- package/lib/organism/discussion/index.js.map +1 -1
- package/lib/organism/get-the-app/index.js +3 -3
- package/lib/organism/get-the-app/index.js.map +1 -1
- package/lib/organism/grid-list/index.js.map +1 -1
- package/lib/organism/header/index.d.ts +2 -2
- package/lib/organism/header/index.js.map +1 -1
- package/lib/organism/header-v2/index.native.d.ts +0 -1
- package/lib/organism/header-v2/index.native.d.ts.map +1 -1
- package/lib/organism/header-v2/index.native.js +2 -2
- package/lib/organism/header-v2/index.native.js.map +1 -1
- package/lib/organism/hero/index.js.map +1 -1
- package/lib/organism/list-item/index.js.map +1 -1
- package/lib/organism/list-items/index.js.map +1 -1
- package/lib/organism/mobile-navigation/index.native.js +2 -2
- package/lib/organism/mobile-navigation/index.native.js.map +1 -1
- package/lib/organism/mooc/image-slider/index.js +1 -1
- package/lib/organism/mooc/image-slider/index.js.map +1 -1
- package/lib/organism/mooc-footer/index.js.map +1 -1
- package/lib/organism/mooc-header/index.js +1 -1
- package/lib/organism/mooc-header/index.js.map +1 -1
- package/lib/organism/podcast-popin-intro/index.native.d.ts +0 -1
- package/lib/organism/podcast-popin-intro/index.native.d.ts.map +1 -1
- package/lib/organism/podcast-popin-intro/index.native.js +2 -2
- package/lib/organism/podcast-popin-intro/index.native.js.map +1 -1
- package/lib/organism/popin/index.js.map +1 -1
- package/lib/organism/resource-browser/index.js +1 -1
- package/lib/organism/resource-browser/index.js.map +1 -1
- package/lib/organism/review-congrats/index.js +4 -4
- package/lib/organism/review-congrats/index.js.map +1 -1
- package/lib/organism/review-congrats/prop-types.js.map +1 -1
- package/lib/organism/review-header/index.js.map +1 -1
- package/lib/organism/review-header/index.native.d.ts +0 -1
- package/lib/organism/review-header/index.native.d.ts.map +1 -1
- package/lib/organism/review-header/index.native.js +1 -1
- package/lib/organism/review-header/index.native.js.map +1 -1
- package/lib/organism/review-header/types.js.map +1 -1
- package/lib/organism/review-skills/index.js +2 -2
- package/lib/organism/review-skills/index.js.map +1 -1
- package/lib/organism/review-skills/prop-types.js +3 -3
- package/lib/organism/review-skills/prop-types.js.map +1 -1
- package/lib/organism/review-slide/index.js +3 -3
- package/lib/organism/review-slide/index.js.map +1 -1
- package/lib/organism/review-slide/index.native.d.ts +0 -1
- package/lib/organism/review-slide/index.native.d.ts.map +1 -1
- package/lib/organism/review-slide/index.native.js +2 -2
- package/lib/organism/review-slide/index.native.js.map +1 -1
- package/lib/organism/review-slide/prop-types.d.ts +8 -8
- package/lib/organism/review-slide/prop-types.js.map +1 -1
- package/lib/organism/review-stacked-slides/index.js +6 -3
- package/lib/organism/review-stacked-slides/index.js.map +1 -1
- package/lib/organism/review-stacked-slides/index.native.d.ts +0 -1
- package/lib/organism/review-stacked-slides/index.native.d.ts.map +1 -1
- package/lib/organism/review-stacked-slides/index.native.js +6 -3
- package/lib/organism/review-stacked-slides/index.native.js.map +1 -1
- package/lib/organism/review-stacked-slides/prop-types.d.ts +22 -22
- package/lib/organism/review-stacked-slides/prop-types.js +2 -2
- package/lib/organism/review-stacked-slides/prop-types.js.map +1 -1
- package/lib/organism/rewards-form/index.d.ts +2 -2
- package/lib/organism/rewards-form/index.js +1 -3
- package/lib/organism/rewards-form/index.js.map +1 -1
- package/lib/organism/search-and-chips-results/index.js +1 -1
- package/lib/organism/search-and-chips-results/index.js.map +1 -1
- package/lib/organism/settings/index.js +3 -5
- package/lib/organism/settings/index.js.map +1 -1
- package/lib/organism/setup-header/index.js.map +1 -1
- package/lib/organism/sidebar/index.d.ts +5 -29
- package/lib/organism/sidebar/index.js +14 -16
- package/lib/organism/sidebar/index.js.map +1 -1
- package/lib/organism/slider/index.d.ts +1 -1
- package/lib/organism/slider/index.d.ts.map +1 -1
- package/lib/organism/slider/index.js.map +1 -1
- package/lib/organism/user-preferences/index.js +3 -5
- package/lib/organism/user-preferences/index.js.map +1 -1
- package/lib/organism/wizard-contents/index.d.ts +19 -19
- package/lib/organism/wizard-contents/index.js +8 -8
- package/lib/organism/wizard-contents/index.js.map +1 -1
- package/lib/template/activity/engine-stars.js.map +1 -1
- package/lib/template/activity/index.d.ts +3 -3
- package/lib/template/activity/index.js +2 -2
- package/lib/template/activity/index.js.map +1 -1
- package/lib/template/activity/progression-item.js +2 -2
- package/lib/template/activity/progression-item.js.map +1 -1
- package/lib/template/activity/stars-summary.d.ts +2 -2
- package/lib/template/activity/stars-summary.js +1 -1
- package/lib/template/activity/stars-summary.js.map +1 -1
- package/lib/template/app-player/loading/index.js.map +1 -1
- package/lib/template/app-player/player/index.js +1 -1
- package/lib/template/app-player/player/index.js.map +1 -1
- package/lib/template/app-player/player/slides/footer/index.js +2 -2
- package/lib/template/app-player/player/slides/footer/index.js.map +1 -1
- package/lib/template/app-player/player/slides/header/index.js.map +1 -1
- package/lib/template/app-player/player/slides/header/learner.d.ts +4 -4
- package/lib/template/app-player/player/slides/header/learner.js +1 -1
- package/lib/template/app-player/player/slides/header/learner.js.map +1 -1
- package/lib/template/app-player/player/slides/header/lives.js.map +1 -1
- package/lib/template/app-player/player/slides/header/microlearning.js.map +1 -1
- package/lib/template/app-player/player/slides/index.d.ts +6 -6
- package/lib/template/app-player/player/slides/index.js +12 -16
- package/lib/template/app-player/player/slides/index.js.map +1 -1
- package/lib/template/app-player/popin-correction/index.js +5 -7
- package/lib/template/app-player/popin-correction/index.js.map +1 -1
- package/lib/template/app-player/popin-end/index.js +1 -1
- package/lib/template/app-player/popin-end/index.js.map +1 -1
- package/lib/template/app-player/popin-end/summary.js +12 -16
- package/lib/template/app-player/popin-end/summary.js.map +1 -1
- package/lib/template/app-player/popin-header/index.js +6 -8
- package/lib/template/app-player/popin-header/index.js.map +1 -1
- package/lib/template/app-player/popin-no-access/index.js.map +1 -1
- package/lib/template/app-review/demo-ts/index.js.map +1 -1
- package/lib/template/app-review/demo-ts/index.native.d.ts +0 -1
- package/lib/template/app-review/demo-ts/index.native.d.ts.map +1 -1
- package/lib/template/app-review/demo-ts/index.native.js.map +1 -1
- package/lib/template/app-review/demo-ts/typings.js.map +1 -1
- package/lib/template/app-review/index.d.ts +22 -23
- package/lib/template/app-review/index.d.ts.map +1 -1
- package/lib/template/app-review/index.js +1 -1
- package/lib/template/app-review/index.js.map +1 -1
- package/lib/template/app-review/index.native.d.ts +0 -1
- package/lib/template/app-review/index.native.d.ts.map +1 -1
- package/lib/template/app-review/index.native.js +2 -2
- package/lib/template/app-review/index.native.js.map +1 -1
- package/lib/template/app-review/onboarding/index.js.map +1 -1
- package/lib/template/app-review/onboarding/index.native.js.map +1 -1
- package/lib/template/app-review/player/index.js.map +1 -1
- package/lib/template/app-review/player/index.native.d.ts +0 -1
- package/lib/template/app-review/player/index.native.d.ts.map +1 -1
- package/lib/template/app-review/player/index.native.js +2 -2
- package/lib/template/app-review/player/index.native.js.map +1 -1
- package/lib/template/app-review/player/prop-types.d.ts +22 -22
- package/lib/template/app-review/player/prop-types.js +1 -1
- package/lib/template/app-review/player/prop-types.js.map +1 -1
- package/lib/template/app-review/prop-types.d.ts +22 -22
- package/lib/template/app-review/prop-types.js +1 -1
- package/lib/template/app-review/prop-types.js.map +1 -1
- package/lib/template/app-review/skills/index.js.map +1 -1
- package/lib/template/app-review/skills/index.native.d.ts +0 -1
- package/lib/template/app-review/skills/index.native.d.ts.map +1 -1
- package/lib/template/app-review/skills/index.native.js +2 -2
- package/lib/template/app-review/skills/index.native.js.map +1 -1
- package/lib/template/app-review/skills/prop-types.js +1 -1
- package/lib/template/app-review/skills/prop-types.js.map +1 -1
- package/lib/template/app-review/skills/stories.js.map +1 -1
- package/lib/template/app-review/template-context.js +3 -3
- package/lib/template/app-review/template-context.js.map +1 -1
- package/lib/template/back-office/brand-create/index.js.map +1 -1
- package/lib/template/back-office/brand-list/index.js +2 -4
- package/lib/template/back-office/brand-list/index.js.map +1 -1
- package/lib/template/back-office/brand-update/index.d.ts +39 -39
- package/lib/template/back-office/brand-update/index.js +9 -9
- package/lib/template/back-office/brand-update/index.js.map +1 -1
- package/lib/template/back-office/dashboard-preview/dashboard-popin.js.map +1 -1
- package/lib/template/back-office/dashboard-preview/index.js.map +1 -1
- package/lib/template/back-office/layout/index.js.map +1 -1
- package/lib/template/battle-requests/index.d.ts +2 -2
- package/lib/template/battle-requests/index.js.map +1 -1
- package/lib/template/cockpit/jw-uploader/index.js +2 -2
- package/lib/template/cockpit/jw-uploader/index.js.map +1 -1
- package/lib/template/common/authors/index.js.map +1 -1
- package/lib/template/common/coorp-header/content.js.map +1 -1
- package/lib/template/common/coorp-header/index.js.map +1 -1
- package/lib/template/common/dashboard/index.d.ts +1 -1
- package/lib/template/common/dashboard/index.js +1 -1
- package/lib/template/common/dashboard/index.js.map +1 -1
- package/lib/template/common/discipline/index.js +2 -2
- package/lib/template/common/discipline/index.js.map +1 -1
- package/lib/template/common/search-page/index.d.ts +1 -1
- package/lib/template/common/search-page/index.js +1 -1
- package/lib/template/common/search-page/index.js.map +1 -1
- package/lib/template/external-course/index.d.ts.map +1 -1
- package/lib/template/external-course/index.js.map +1 -1
- package/lib/template/review-dashboard-skills/index.js.map +1 -1
- package/lib/template/teams-dashboard/index.js +3 -3
- package/lib/template/teams-dashboard/index.js.map +1 -1
- package/lib/util/bubbling.js.map +1 -1
- package/lib/util/build-query-string.js.map +1 -1
- package/lib/util/button-icons.js.map +1 -1
- package/lib/util/closest-step.js.map +1 -1
- package/lib/util/constants.js.map +1 -1
- package/lib/util/external-content.js +1 -1
- package/lib/util/external-content.js.map +1 -1
- package/lib/util/get-class-state.js.map +1 -1
- package/lib/util/get-clean-uri.js.map +1 -1
- package/lib/util/get-resized-image.js +3 -3
- package/lib/util/get-resized-image.js.map +1 -1
- package/lib/util/get-shadow-box-color-from-primary.js.map +1 -1
- package/lib/util/image.js.map +1 -1
- package/lib/util/navigation.js.map +1 -1
- package/lib/util/parse-template-string.js.map +1 -1
- package/lib/util/proptypes.js +1 -1
- package/lib/util/proptypes.js.map +1 -1
- package/lib/util/render-with-context.js +4 -7
- package/lib/util/render-with-context.js.map +1 -1
- package/lib/util/shallow-compare.js.map +1 -1
- package/lib/variables/analytics.js.map +1 -1
- package/lib/variables/brand.native.js.map +1 -1
- package/lib/variables/colors.js.map +1 -1
- package/lib/variables/default-mobile-translations.js.map +1 -1
- package/lib/variables/shadow.js.map +1 -1
- package/lib/variables/theme.native.js.map +1 -1
- package/lib/variables/vibration.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
_excluded2 = ["translate"];
|
|
3
|
-
|
|
4
|
-
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); }
|
|
1
|
+
function _extends() { _extends = Object.assign || 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); }
|
|
5
2
|
|
|
6
3
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
7
4
|
|
|
@@ -14,13 +11,13 @@ export const renderWithContext = (component, _ref) => {
|
|
|
14
11
|
let {
|
|
15
12
|
context
|
|
16
13
|
} = _ref,
|
|
17
|
-
renderOptions = _objectWithoutPropertiesLoose(_ref,
|
|
14
|
+
renderOptions = _objectWithoutPropertiesLoose(_ref, ["context"]);
|
|
18
15
|
|
|
19
16
|
// uses mockTranslate as a default translate function
|
|
20
17
|
const {
|
|
21
18
|
translate = mockTranslate
|
|
22
19
|
} = context,
|
|
23
|
-
rest = _objectWithoutPropertiesLoose(context,
|
|
20
|
+
rest = _objectWithoutPropertiesLoose(context, ["translate"]);
|
|
24
21
|
|
|
25
22
|
const wrapper = ({
|
|
26
23
|
children
|
|
@@ -31,7 +28,7 @@ export const renderWithContext = (component, _ref) => {
|
|
|
31
28
|
wrapper.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
32
29
|
children: PropTypes.node
|
|
33
30
|
} : {};
|
|
34
|
-
return render(component, _extends({}, renderOptions, {
|
|
31
|
+
return render(component, _extends(_extends({}, renderOptions), {}, {
|
|
35
32
|
wrapper
|
|
36
33
|
}));
|
|
37
34
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../../src/util/render-with-context.js"],"names":["React","PropTypes","render","mockTranslate","Provider","renderWithContext","component","context","renderOptions","translate","rest","wrapper","children","propTypes","node"],"mappings":";;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,SAAQC,MAAR,QAAqB,wBAArB;AACA,SAAQC,aAAR,QAA4B,yBAA5B;AACA,OAAOC,QAAP,MAAqB,kBAArB;AAEA,OAAO,MAAMC,iBAAiB,GAAG,CAACC,SAAD,WAA4C;AAAA,MAAhC;AAACC,IAAAA;AAAD,GAAgC;AAAA,MAAnBC,aAAmB;;AAC3E;AACA,QAAM;AAACC,IAAAA,SAAS,GAAGN;AAAb,MAAuCI,OAA7C;AAAA,QAAqCG,IAArC,iCAA6CH,OAA7C;;AAEA,QAAMI,OAAO,GAAG,CAAC;AAACC,IAAAA;AAAD,GAAD,kBACd,oBAAC,QAAD,eAAcF,IAAd;AAAoB,IAAA,SAAS,EAAED;AAA/B,MACGG,QADH,CADF;;AAMAD,EAAAA,OAAO,CAACE,SAAR,2CAAoB;AAClBD,IAAAA,QAAQ,EAAEX,SAAS,CAACa;AADF,GAApB;AAIA,SAAOZ,MAAM,CAACI,SAAD,wBACRE,aADQ;AAEXG,IAAAA;AAFW,KAAb;AAID,CAlBM","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {render} from '@testing-library/react';\nimport {mockTranslate} from '@coorpacademy/translate';\nimport Provider from '../atom/provider';\n\nexport const renderWithContext = (component, {context, ...renderOptions}) => {\n // uses mockTranslate as a default translate function\n const {translate = mockTranslate, ...rest} = context;\n\n const wrapper = ({children}) => (\n <Provider {...rest} translate={translate}>\n {children}\n </Provider>\n );\n\n wrapper.propTypes = {\n children: PropTypes.node\n };\n\n return render(component, {\n ...renderOptions,\n wrapper\n });\n};\n"],"file":"render-with-context.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../../src/util/shallow-compare.js"],"names":["shallowCompare","instance","nextProps","nextState","nextContext","props","state","context"],"mappings":";;AAEA;;;;;AAKA,MAAMA,cAAc,GAAG,CAACC,QAAD,EAAWC,SAAX,EAAsBC,SAAtB,EAAiCC,WAAjC,KAAiD;AACtE,SAAO,EACL,SAAQH,QAAQ,CAACI,KAAjB,EAAwBH,SAAxB,KACA,SAAQD,QAAQ,CAACK,KAAjB,EAAwBH,SAAxB,CADA,IAEA,SAAQF,QAAQ,CAACM,OAAjB,EAA0BH,WAA1B,CAHK,CAAP;AAKD,CAND;;AAQA,eAAeJ,cAAf","sourcesContent":["import {isEqual} from 'lodash/fp';\n\n/**\n * Does a shallow comparison for props, state and context\n * See also https://facebook.github.io/react/docs/shallow-compare.html\n * from https://github.com/facebook/react/blob/master/src/addons/shallowCompare.js\n */\nconst shallowCompare = (instance, nextProps, nextState, nextContext) => {\n return !(\n isEqual(instance.props, nextProps) &&\n isEqual(instance.state, nextState) &&\n isEqual(instance.context, nextContext)\n );\n};\n\nexport default shallowCompare;\n"],"file":"shallow-compare.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../../src/variables/analytics.tsx"],"names":["ANALYTICS_EVENT_TYPE","PRESS","SWIPE","LONG_PRESS","SLIDE","MEDIA_VIEWED","START_PROGRESSION","OPEN_SELECT","CLOSE_SELECT","INPUT_BLUR","INPUT_FOCUS","FINISH_PROGRESSION","SIGN_IN","SIGN_OUT","NAVIGATE","VALIDATE_ANSWER","PERMISSION","NOTIFICATIONS_MAYBE_LATER","NOTIFICATIONS_YES_NOTIFY_ME","NOTIFICATIONS"],"mappings":"AAAA,OAAO,MAAMA,oBAAoB,GAAG;AAClCC,EAAAA,KAAK,EAAE,OAD2B;AAElCC,EAAAA,KAAK,EAAE,OAF2B;AAGlCC,EAAAA,UAAU,EAAE,WAHsB;AAIlCC,EAAAA,KAAK,EAAE,OAJ2B;AAKlCC,EAAAA,YAAY,EAAE,aALoB;AAMlCC,EAAAA,iBAAiB,EAAE,kBANe;AAOlCC,EAAAA,WAAW,EAAE,YAPqB;AAQlCC,EAAAA,YAAY,EAAE,aARoB;AASlCC,EAAAA,UAAU,EAAE,WATsB;AAUlCC,EAAAA,WAAW,EAAE,YAVqB;AAWlCC,EAAAA,kBAAkB,EAAE,mBAXc;AAYlCC,EAAAA,OAAO,EAAE,QAZyB;AAalCC,EAAAA,QAAQ,EAAE,SAbwB;AAclCC,EAAAA,QAAQ,EAAE,UAdwB;AAelCC,EAAAA,eAAe,EAAE,gBAfiB;AAgBlCC,EAAAA,UAAU,EAAE,YAhBsB;AAiBlCC,EAAAA,yBAAyB,EAAE,yBAjBO;AAkBlCC,EAAAA,2BAA2B,EAAE,0BAlBK;AAmBlCC,EAAAA,aAAa,EAAE;AAnBmB,CAA7B","sourcesContent":["export const ANALYTICS_EVENT_TYPE = {\n PRESS: 'press',\n SWIPE: 'swipe',\n LONG_PRESS: 'longPress',\n SLIDE: 'slide',\n MEDIA_VIEWED: 'mediaViewed',\n START_PROGRESSION: 'startProgression',\n OPEN_SELECT: 'openSelect',\n CLOSE_SELECT: 'closeSelect',\n INPUT_BLUR: 'inputBlur',\n INPUT_FOCUS: 'inputFocus',\n FINISH_PROGRESSION: 'finishProgression',\n SIGN_IN: 'signIn',\n SIGN_OUT: 'signOut',\n NAVIGATE: 'navigate',\n VALIDATE_ANSWER: 'validateAnswer',\n PERMISSION: 'permission',\n NOTIFICATIONS_MAYBE_LATER: 'notificationsMaybeLater',\n NOTIFICATIONS_YES_NOTIFY_ME: 'notificationsYesNotifyMe',\n NOTIFICATIONS: 'notifications'\n};\n\nexport type Analytics = {\n logEvent: (name: string, options: {id?: string; questionType?: string}) => void;\n};\n\nexport type AnalyticsEventParams = {\n [key: string]: string | number;\n};\n"],"file":"analytics.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../../src/variables/brand.native.ts"],"names":["defaultBrandTheme"],"mappings":"AAmBA,OAAO,MAAMA,iBAAwB,GAAG,EAAjC","sourcesContent":["export type Brand = {\n name?: string;\n host?: string;\n contentCategoryName?: string;\n colors?: {\n primary: string;\n };\n hero?: string;\n images?: {\n 'logo-mobile': string;\n };\n youtube?: {\n apiKey: string;\n };\n supportedLanguages?: Array<string>;\n defaultLanguage?: string;\n env?: string;\n};\n\nexport const defaultBrandTheme: Brand = {};\n"],"file":"brand.native.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../../src/variables/colors.ts"],"names":["COLORS","gray","negative","positive"],"mappings":"AAMA,OAAO,MAAMA,MAAc,GAAG;AAC5BC,EAAAA,IAAI,EAAE,SADsB;AAE5BC,EAAAA,QAAQ,EAAE,SAFkB;AAG5BC,EAAAA,QAAQ,EAAE;AAHkB,CAAvB","sourcesContent":["type Colors = {\n gray: string;\n negative: string;\n positive: string;\n};\n\nexport const COLORS: Colors = {\n gray: '#EAEAEB',\n negative: '#ed3436',\n positive: '#35CC7F'\n};\n"],"file":"colors.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default-mobile-translations.js","names":["defaultMobileTranslations","accessTheLesson","appPodcast","podcast","podcasts","playlist","home","courseMode","allPlaylists","seeMore","podcastCoorpacademy","podcastCourseMode","podcastMode","switchText","switchCourseText","cancelSwitch","switchOk","seeLess","play","noResult","allEpisodes","seeAllEpisodes","addToFavorites","removeFromFavorites","shareEpisode","close","errorNetwork","bottomNavigation","search","favorites","byPlaylists","searchForPodcasts","searchTitle","searchText","searchSubText","settings","wifi","high","medium","low","mobile","title","addedToFavorites","removedFromFavorites","errorFavoriteAdd","errorFavorite","errorFavoriteRemove","infoNewFeature","message","cta","appReview","ariaLabel","presentation","text","button","labelList","skills","tooltip","questions","lifes","allright","listTitle","listAriaLabel","card","buttonText","noSkills","article","authenticationMagicLinkHeader","authenticationMagicLinkStepOneDescription","authenticationMagicLinkStepTwoDescription","authenticationMagicLinkStepThreeDescription","authenticationMagicLinkTitle","authenticationQRCodeHeader","authenticationQRCodeStepOneDescription","authenticationQRCodeStepTwoDescription","authenticationQRCodeStepThreeDescription","authenticationQRCodeTitle","authorizeNotifications","askForHelp","backToHome","bonus","cancel","clue","clueStarsToLoose","congratulations","connectionLost","connectionRestored","context","correction","currentlyDoingReminder","dataLost","didYouKnowThat","finishCourse","finishCourseWordings","description","finishLearning","forYou","gameOver","getAnExtralife","goodAnswer","goodJob","goToQuestion","highscore","howToSignIn","iWantIt","keyPoint","lesson","logOut","needHelp","new","next","nextChapter","nextLevel","noResults","noResultsDescription","notifications","ok","ooops","open","openBrowser","openSettings","ouch","outOfLives","notificationSamples","permission","permissionCamera","permissionNotificationHeadline","permissionNotificationDescription","permissionNotificationAuthorize","maybeLater","platformHasBeenDisabled","question","quit","reactivatePlatform","refresh","refreshEnjoyLearning","refreshNotWorking","relatedSubjects","resumeLearning","retryChapter","retryLevel","scanQRCode","scorm","externalFinishCourse","seeClue","selectSomethingBelow","startDemo","startLearning","selectAnAnswer","signInDesktop","signInMobile","step","suggestion","suggestionWordings","typeHere","validate","version","video","videoLoadingError","unlockNextLevel","upgrade","upgradeDescription","winAdditionalStars","welcome","welcomeDescription","welcomeUser","wrongAnswer","yesNotifyMe","yourAnswer","yourAnswers"],"sources":["../../src/variables/default-mobile-translations.ts"],"sourcesContent":["type NotificationWording = {\n title: string;\n description: string;\n};\n\nexport type Translations = {\n accessTheLesson: string;\n appPodcast: {\n infoNewFeature: {\n title: string;\n message: string;\n cta: string;\n };\n podcast: string;\n podcasts: string;\n playlist: string;\n home: string;\n courseMode: string;\n allPlaylists: string;\n seeMore: string;\n podcastCoorpacademy: string;\n podcastCourseMode: string;\n podcastMode: string;\n switchText: string;\n switchCourseText: string;\n cancelSwitch: string;\n switchOk: string;\n seeLess: string;\n play: string;\n noResult: string;\n allEpisodes: string;\n seeAllEpisodes: string;\n addToFavorites: string;\n removeFromFavorites: string;\n shareEpisode: string;\n close: string;\n errorNetwork: string;\n bottomNavigation: {\n home: string;\n search: string;\n favorites: string;\n podcasts: string;\n };\n search: {\n byPlaylists: string;\n searchForPodcasts: string;\n searchTitle: string;\n searchText: string;\n searchSubText: string;\n };\n settings: {\n settings: string;\n wifi: string;\n high: string;\n medium: string;\n low: string;\n mobile: string;\n };\n favorites: {\n title: string;\n podcasts: string;\n addedToFavorites: string;\n removedFromFavorites: string;\n errorFavoriteAdd: string;\n errorFavorite: string;\n errorFavoriteRemove: string;\n };\n };\n appReview: {\n ariaLabel: string;\n presentation: {\n ariaLabel: string;\n title: string;\n text: string;\n button: string;\n labelList: {\n skills: {\n text: string;\n tooltip: string;\n };\n questions: {\n text: string;\n tooltip: string;\n };\n lifes: {\n text: string;\n tooltip: string;\n };\n allright: {\n text: string;\n tooltip: string;\n };\n };\n };\n listTitle: string;\n listAriaLabel: string;\n card: {\n ariaLabel: string;\n text: string;\n buttonText: string;\n };\n noSkills: {\n title: string;\n text: string;\n };\n };\n article: string;\n authenticationMagicLinkHeader: string;\n authenticationMagicLinkStepOneDescription: string;\n authenticationMagicLinkStepTwoDescription: string;\n authenticationMagicLinkStepThreeDescription: string;\n authenticationMagicLinkTitle: string;\n authenticationQRCodeHeader: string;\n authenticationQRCodeStepOneDescription: string;\n authenticationQRCodeStepTwoDescription: string;\n authenticationQRCodeStepThreeDescription: string;\n authenticationQRCodeTitle: string;\n authorizeNotifications: string;\n askForHelp: string;\n backToHome: string;\n bonus: string;\n cancel: string;\n clue: string;\n clueStarsToLoose: string;\n congratulations: string;\n connectionLost: string;\n connectionRestored: string;\n context: string;\n correction: string;\n dataLost: string;\n didYouKnowThat: string;\n finishCourse: string;\n finishCourseWordings: NotificationWording[];\n finishLearning: string;\n forYou: string;\n gameOver: string;\n getAnExtralife: string;\n goodAnswer: string;\n goodJob: string;\n goToQuestion: string;\n highscore: string;\n howToSignIn: string;\n iWantIt: string;\n keyPoint: string;\n lesson: string;\n logOut: string;\n needHelp: string;\n new: string;\n next: string;\n nextLevel: string;\n nextChapter: string;\n noResults: string;\n noResultsDescription: string;\n ok: string;\n ooops: string;\n open: string;\n openBrowser: string;\n openSettings: string;\n ouch: string;\n outOfLives: string;\n permission: string;\n permissionCamera: string;\n notifications: string;\n notificationSamples: NotificationWording[];\n permissionNotificationHeadline: string;\n permissionNotificationDescription: string;\n permissionNotificationAuthorize: string;\n currentlyDoingReminder: string;\n yesNotifyMe: string;\n maybeLater: string;\n platformHasBeenDisabled: string;\n podcast: string;\n question: string;\n quit: string;\n reactivatePlatform: string;\n refresh: string;\n refreshEnjoyLearning: string;\n refreshNotWorking: string;\n resumeLearning: string;\n retryLevel: string;\n retryChapter: string;\n relatedSubjects: string;\n scanQRCode: string;\n scorm: string;\n externalFinishCourse: string;\n search: string;\n seeClue: string;\n selectAnAnswer: string;\n selectSomethingBelow: string;\n settings: string;\n signInDesktop: string;\n signInMobile: string;\n startDemo: string;\n startLearning: string;\n step: string;\n suggestion: string;\n suggestionWordings: NotificationWording[];\n typeHere: string;\n unlockNextLevel: string;\n upgrade: string;\n upgradeDescription: string;\n validate: string;\n version: string;\n video: string;\n videoLoadingError: string;\n welcome: string;\n welcomeDescription: string;\n welcomeUser: string;\n winAdditionalStars: string;\n wrongAnswer: string;\n yourAnswer: string;\n yourAnswers: string;\n};\n\nconst defaultMobileTranslations: Translations = {\n accessTheLesson: 'Access the lesson',\n appPodcast: {\n podcast: 'Podcast',\n podcasts: 'Podcasts',\n playlist: 'Playlist',\n home: 'Home',\n courseMode: 'Course Mode',\n allPlaylists: 'All Playlists',\n seeMore: 'See more',\n podcastCoorpacademy: 'Coorpacademy',\n podcastCourseMode: 'Course mode',\n podcastMode: 'Podcast mode',\n switchText: 'Switching to Course mode will interrupt the listening.',\n switchCourseText: 'You are about to switch on Podcast mode',\n cancelSwitch: 'No, cancel',\n switchOk: 'Yes, switch',\n seeLess: 'See less',\n play: 'Play',\n noResult: 'No results!',\n allEpisodes: 'All episodes',\n seeAllEpisodes: 'See all episode',\n addToFavorites: 'Add to my favorites',\n removeFromFavorites: 'Remove from my favorites',\n shareEpisode: 'Share this episode',\n close: 'Close',\n errorNetwork: 'something went wrong',\n bottomNavigation: {\n home: 'Home',\n search: 'Search',\n favorites: 'Favorites',\n podcasts: 'podcasts'\n },\n search: {\n byPlaylists: 'By playlists',\n searchForPodcasts: 'Search for podcasts',\n searchTitle: 'Search',\n searchText: 'No results for',\n searchSubText: 'Please check the spelling or use other keywords'\n },\n settings: {\n settings: 'Settings',\n wifi: 'Wifi audio quality',\n high: 'High quality',\n medium: 'Medium quality',\n low: 'Low quality',\n mobile: 'Mobile audio quality'\n },\n favorites: {\n title: 'Favorites',\n podcasts: 'podcasts',\n addedToFavorites: 'Added to your favorites',\n removedFromFavorites: 'Removed from your favorites',\n errorFavoriteAdd: 'Could not add to your favorites. Please try again.',\n errorFavorite: 'There was an error',\n errorFavoriteRemove: 'Could not remove from your favorites. Please try again.'\n },\n infoNewFeature: {\n title: 'Introducing the new Podcast mode',\n message:\n 'Click on the button at the top of your app to discover a whole new audio experience',\n cta: 'Start learning'\n }\n },\n appReview: {\n ariaLabel: 'Review Skills Template',\n presentation: {\n ariaLabel: 'Review Presentation Container',\n title: 'What is<br/>Revision Mode ?',\n text: 'Information vanishes from your mind as soon as it enters it? It’s perfectly normal: there is no retention without repetition! To keep your knowledge in the long term, use the Revision Mode to refresh your memory!',\n button: '',\n labelList: {\n skills: {text: 'Choose 1 skill', tooltip: 'You can review one skill at a time.'},\n questions: {\n text: 'Answer 5 questions',\n tooltip: 'Answer the 5 questions correctly to validate your revision mode session.'\n },\n lifes: {\n text: 'You have infinite live',\n tooltip: 'You can answer as many times as you like to complete your session.'\n },\n allright: {\n text: 'Get it all right',\n tooltip: 'To validate your session, you must get a correct answer to each question.'\n }\n }\n },\n listTitle: 'Skills you can review',\n listAriaLabel: 'Review Skills Container',\n card: {\n ariaLabel: 'Skill Card',\n text: '{{total}} questions to review',\n buttonText: 'Review this skill'\n },\n noSkills: {\n title: 'You have no skill to revise yet',\n text: 'First you need to complete courses before you can review different skills.'\n }\n },\n article: 'Documents',\n authenticationMagicLinkHeader:\n 'Click on the link you received by email to connect to your platform',\n authenticationMagicLinkStepOneDescription:\n 'Go to your <b>professional mailbox</b> with this phone',\n authenticationMagicLinkStepTwoDescription:\n '<b>Open the email</b> with the invitation to download the Coorpacademy App',\n authenticationMagicLinkStepThreeDescription: 'Click on the button <b>\"Connect to the App\"</b>',\n authenticationMagicLinkTitle: 'Magic link',\n authenticationQRCodeHeader:\n \"Didn't receive an email? That's fine! We'll use a computer to verify your identity on the web platform\",\n authenticationQRCodeStepOneDescription:\n 'Connect to your learning platform <b>with a computer</b>',\n authenticationQRCodeStepTwoDescription:\n 'Go to <b>your Account</b> <br/>in the upper right-hand corner',\n authenticationQRCodeStepThreeDescription:\n '<b>Voilà!</b><br/>Scan your QR code using the button below',\n authenticationQRCodeTitle: 'QR Code',\n authorizeNotifications: 'Authorize notifications',\n askForHelp: 'Ask for help',\n backToHome: 'Back to home',\n bonus: 'Bonus!',\n cancel: 'Cancel',\n clue: 'Clue',\n clueStarsToLoose:\n 'Unlocking the clue reduces the stars you can gain on this question by {{count}} (if you get it right)',\n congratulations: 'Congratulations!',\n connectionLost: 'No Internet connection',\n connectionRestored: 'You are now connected to the Internet',\n context: 'Context',\n correction: 'Correction',\n currentlyDoingReminder: 'Currently doing reminder',\n dataLost: 'Your data seems to be lost',\n didYouKnowThat: 'Did you know that?',\n finishCourse: 'Finish Course',\n finishCourseWordings: [\n {\n title: \"Let's gets it done {{givenName}}! 🚀\",\n description: 'Complete this course: \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: 'Your mission, should you choose to accept it 😎',\n description: 'Finish your course: \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: '{{givenName}}, I bet you can do it! 💪',\n description: 'Finish the course: \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: 'Ready to learn {{givenName}}? 💪',\n description: 'Let\\'s complete \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: '{{givenName}}, you are close to complete your course 🙃',\n description: 'Let\\'s finish \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: 'Do you accept the challenge {{givenName}}? 💪',\n description: 'Complete the course: \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: '{{givenName}}, your challenge of the day! 😉',\n description: 'Complete the course: \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: \"{{givenName}}, it's time to learn! 😉\",\n description: 'Continue your course: \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: 'How about learning {{givenName}}? 🚀',\n description: 'Complete the course: \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: \"Once it's done, it's done 🙃\",\n description: 'Complete the course: \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: 'Your course is almost completed! ✓',\n description: 'Complete the course: \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: '{{givenName}}, you are so close! 🙃',\n description: 'Just a few questions to complete \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: 'Come on {{givenName}}, almost finished ☑',\n description: 'Complete your course: \\\\\"{{contentName}}\\\\\"'\n }\n ],\n finishLearning: 'Continue this one first',\n forYou: 'Our top picks for you',\n gameOver: 'Game over',\n getAnExtralife: 'Get an extra life by viewing the lesson',\n goodAnswer: 'Good answer',\n goodJob: 'Good job!',\n goToQuestion: 'Go to question',\n highscore: 'You have a new highscore<br><b>you just won {{score}} stars</b>',\n howToSignIn: 'Did you receive an email to download the app?',\n iWantIt: 'I want it !',\n keyPoint: 'Key point',\n lesson: 'Lesson',\n logOut: 'Log out',\n needHelp: 'Need help?',\n new: 'new',\n next: 'Next',\n nextChapter: 'Next chapter',\n nextLevel: 'Next level',\n noResults: 'No results',\n noResultsDescription: 'Your search did not have any results.<br/>Try searching other keywords.',\n notifications: 'Notifications',\n ok: 'OK',\n ooops: 'Ooops...',\n open: 'Open',\n openBrowser: 'Open <b>my mailbox</b>',\n openSettings: 'Open settings',\n ouch: 'Ouch...',\n outOfLives: 'You are out of lives!',\n notificationSamples: [\n {title: 'Challenge of the day 👊', description: 'Start the course<br><b>Online Customer</b>'}\n ],\n permission: 'Permission',\n permissionCamera:\n 'We need to access your camera in order to scan your QR code and authenticate you.',\n permissionNotificationHeadline: 'We help you stay motivated!',\n permissionNotificationDescription:\n 'Get notifications and stay on top of your goals. We promise not to blow up your phone a million times a day.',\n permissionNotificationAuthorize: 'Authorize notifications',\n maybeLater: 'Maybe later',\n platformHasBeenDisabled: 'The app has been disabled for your platform',\n podcast: 'Podcasts',\n question: 'Question',\n quit: 'Quit',\n reactivatePlatform:\n 'if you want to reactivate it, contact your manager or click on the link below and we will pass the message on',\n refresh: 'Refresh',\n refreshEnjoyLearning:\n 'in the network between Saturn and the Earth, please refresh in order to enjoy learning',\n refreshNotWorking: 'Refresh not working?',\n relatedSubjects: 'Recommended for you:',\n resumeLearning: 'Continue Learning',\n retryChapter: 'Retry chapter',\n retryLevel: 'Retry level',\n scanQRCode: 'Scan your <b>QR code</b>',\n scorm: 'Animated resources',\n externalFinishCourse: 'I have completed this course',\n search: 'Search',\n seeClue: 'See clue',\n selectSomethingBelow: 'Select something below',\n settings: 'Settings',\n startDemo: 'No account? <a href=\"/\"><b><u>Start trial!</u></b></a>',\n startLearning: 'You should start with this one',\n selectAnAnswer: 'Select an answer',\n signInDesktop: 'No',\n signInMobile: 'Yes',\n step: 'Step',\n suggestion: 'Course recommendations',\n suggestionWordings: [\n {\n title: '{{givenName}}, here is a course for you! 👀',\n description: 'Find out with this course \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: 'In the mood for learning {{givenName}}? 🚀',\n description: 'Check out \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: 'Your mission, should you choose to accept it 😎',\n description: 'Check out \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: '{{givenName}}, your challenge of the day awaits you! 😉',\n description: 'Start the course \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: '{{givenName}}, take on the challenge 💪',\n description: 'Start the course \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: '{{givenName}}, broaden your horizons!',\n description: 'Find out more about \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: \"{{givenName}}, it's time to learn! 😉\",\n description: 'Start the course \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: \"It's time to (re) launch {{givenName}} 🚀\",\n description: 'Start this course \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: '{{givenName}}, I bet you can do it! 💪',\n description: 'Start the course \\\\\"{{contentName}}\\\\\"'\n }\n ],\n typeHere: 'Type here',\n validate: 'Submit',\n version: 'Version',\n video: 'Videos',\n videoLoadingError: 'An error occurred while loading the video, please try again.',\n unlockNextLevel: 'You have just unlocked<br><b>{{levelName}} level</b>',\n upgrade: 'Upgrade',\n upgradeDescription:\n 'Your application has been updated! Please download the latest version to enjoy it.',\n winAdditionalStars:\n 'Win {{count}} additional stars in this chapter the first time you view a lesson!',\n welcome: 'Welcome',\n welcomeDescription: 'This app is linked to your account on your company’s Learning Platform.',\n welcomeUser: 'Welcome, {{displayname}}!',\n wrongAnswer: 'Wrong answer',\n yesNotifyMe: 'Yes, notify me',\n yourAnswer: 'Your answer:',\n yourAnswers: 'Your answers:'\n};\n\nexport default defaultMobileTranslations;\n"],"mappings":"AAsNA,MAAMA,yBAAuC,GAAG;EAC9CC,eAAe,EAAE,mBAD6B;EAE9CC,UAAU,EAAE;IACVC,OAAO,EAAE,SADC;IAEVC,QAAQ,EAAE,UAFA;IAGVC,QAAQ,EAAE,UAHA;IAIVC,IAAI,EAAE,MAJI;IAKVC,UAAU,EAAE,aALF;IAMVC,YAAY,EAAE,eANJ;IAOVC,OAAO,EAAE,UAPC;IAQVC,mBAAmB,EAAE,cARX;IASVC,iBAAiB,EAAE,aATT;IAUVC,WAAW,EAAE,cAVH;IAWVC,UAAU,EAAE,wDAXF;IAYVC,gBAAgB,EAAE,yCAZR;IAaVC,YAAY,EAAE,YAbJ;IAcVC,QAAQ,EAAE,aAdA;IAeVC,OAAO,EAAE,UAfC;IAgBVC,IAAI,EAAE,MAhBI;IAiBVC,QAAQ,EAAE,aAjBA;IAkBVC,WA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AwS9CC,KAAK,EAAE,QAxSuC;EAyS9CC,iBAAiB,EAAE,8DAzS2B;EA0S9CC,eAAe,EAAE,sDA1S6B;EA2S9CC,OAAO,EAAE,SA3SqC;EA4S9CC,kBAAkB,EAChB,oFA7S4C;EA8S9CC,kBAAkB,EAChB,kFA/S4C;EAgT9CC,OAAO,EAAE,SAhTqC;EAiT9CC,kBAAkB,EAAE,yEAjT0B;EAkT9CC,WAAW,EAAE,2BAlTiC;EAmT9CC,WAAW,EAAE,cAnTiC;EAoT9CC,WAAW,EAAE,gBApTiC;EAqT9CC,UAAU,EAAE,cArTkC;EAsT9CC,WAAW,EAAE;AAtTiC,CAAhD;AAyTA,eAAezK,yBAAf"}
|
|
1
|
+
{"version":3,"sources":["../../src/variables/default-mobile-translations.ts"],"names":["defaultMobileTranslations","accessTheLesson","appPodcast","podcast","podcasts","playlist","home","courseMode","allPlaylists","seeMore","podcastCoorpacademy","podcastCourseMode","podcastMode","switchText","switchCourseText","cancelSwitch","switchOk","seeLess","play","noResult","allEpisodes","seeAllEpisodes","addToFavorites","removeFromFavorites","shareEpisode","close","errorNetwork","bottomNavigation","search","favorites","byPlaylists","searchForPodcasts","searchTitle","searchText","searchSubText","settings","wifi","high","medium","low","mobile","title","addedToFavorites","removedFromFavorites","errorFavoriteAdd","errorFavorite","errorFavoriteRemove","infoNewFeature","message","cta","appReview","ariaLabel","presentation","text","button","labelList","skills","tooltip","questions","lifes","allright","listTitle","listAriaLabel","card","buttonText","noSkills","article","authenticationMagicLinkHeader","authenticationMagicLinkStepOneDescription","authenticationMagicLinkStepTwoDescription","authenticationMagicLinkStepThreeDescription","authenticationMagicLinkTitle","authenticationQRCodeHeader","authenticationQRCodeStepOneDescription","authenticationQRCodeStepTwoDescription","authenticationQRCodeStepThreeDescription","authenticationQRCodeTitle","authorizeNotifications","askForHelp","backToHome","bonus","cancel","clue","clueStarsToLoose","congratulations","connectionLost","connectionRestored","context","correction","currentlyDoingReminder","dataLost","didYouKnowThat","finishCourse","finishCourseWordings","description","finishLearning","forYou","gameOver","getAnExtralife","goodAnswer","goodJob","goToQuestion","highscore","howToSignIn","iWantIt","keyPoint","lesson","logOut","needHelp","new","next","nextChapter","nextLevel","noResults","noResultsDescription","notifications","ok","ooops","open","openBrowser","openSettings","ouch","outOfLives","notificationSamples","permission","permissionCamera","permissionNotificationHeadline","permissionNotificationDescription","permissionNotificationAuthorize","maybeLater","platformHasBeenDisabled","question","quit","reactivatePlatform","refresh","refreshEnjoyLearning","refreshNotWorking","relatedSubjects","resumeLearning","retryChapter","retryLevel","scanQRCode","scorm","externalFinishCourse","seeClue","selectSomethingBelow","startDemo","startLearning","selectAnAnswer","signInDesktop","signInMobile","step","suggestion","suggestionWordings","typeHere","validate","version","video","videoLoadingError","unlockNextLevel","upgrade","upgradeDescription","winAdditionalStars","welcome","welcomeDescription","welcomeUser","wrongAnswer","yesNotifyMe","yourAnswer","yourAnswers"],"mappings":"AAsNA,MAAMA,yBAAuC,GAAG;AAC9CC,EAAAA,eAAe,EAAE,mBAD6B;AAE9CC,EAAAA,UAAU,EAAE;AACVC,IAAAA,OAAO,EAAE,SADC;AAEVC,IAAAA,QAAQ,EAAE,UAFA;AAGVC,IAAAA,QAAQ,EAAE,UAHA;AAIVC,IAAAA,IAAI,EAAE,MAJI;AAKVC,IAAAA,UAAU,EAAE,aALF;AAMVC,IAAAA,YAAY,EAAE,eANJ;AAOVC,IAAAA,OAAO,EAAE,UAPC;AAQVC,IAAAA,mBAAmB,EAAE,cARX;AASVC,IAAAA,iBAAiB,EAAE,aATT;AAUVC,IAAAA,WAAW,EAAE,cAVH;AAWVC,IAAAA,UAAU,EAAE,wDAXF;AAYVC,IAAAA,gBAAgB,EAAE,yCAZR;AAaVC,IAAAA,YAAY,EAAE,YAbJ;AAcVC,IAAAA,QAAQ,EAAE,aAdA;AAeVC,IAAAA,OAAO,EAAE,UAfC;AAgBVC,IAAAA,IAAI,EAAE,MAhBI;AAiBVC,IAAAA,QAAQ,EAAE,aAj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AK,EAAE,2CADT;AAEEqD,IAAAA,WAAW,EAAE;AAFf,GA7BkB,EAiClB;AACErD,IAAAA,KAAK,EAAE,wCADT;AAEEqD,IAAAA,WAAW,EAAE;AAFf,GAjCkB,CA/P0B;AAqS9C4D,EAAAA,QAAQ,EAAE,WArSoC;AAsS9CC,EAAAA,QAAQ,EAAE,QAtSoC;AAuS9CC,EAAAA,OAAO,EAAE,SAvSqC;AAwS9CC,EAAAA,KAAK,EAAE,QAxSuC;AAyS9CC,EAAAA,iBAAiB,EAAE,8DAzS2B;AA0S9CC,EAAAA,eAAe,EAAE,sDA1S6B;AA2S9CC,EAAAA,OAAO,EAAE,SA3SqC;AA4S9CC,EAAAA,kBAAkB,EAChB,oFA7S4C;AA8S9CC,EAAAA,kBAAkB,EAChB,kFA/S4C;AAgT9CC,EAAAA,OAAO,EAAE,SAhTqC;AAiT9CC,EAAAA,kBAAkB,EAAE,yEAjT0B;AAkT9CC,EAAAA,WAAW,EAAE,2BAlTiC;AAmT9CC,EAAAA,WAAW,EAAE,cAnTiC;AAoT9CC,EAAAA,WAAW,EAAE,gBApTiC;AAqT9CC,EAAAA,UAAU,EAAE,cArTkC;AAsT9CC,EAAAA,WAAW,EAAE;AAtTiC,CAAhD;AAyTA,eAAezK,yBAAf","sourcesContent":["type NotificationWording = {\n title: string;\n description: string;\n};\n\nexport type Translations = {\n accessTheLesson: string;\n appPodcast: {\n infoNewFeature: {\n title: string;\n message: string;\n cta: string;\n };\n podcast: string;\n podcasts: string;\n playlist: string;\n home: string;\n courseMode: string;\n allPlaylists: string;\n seeMore: string;\n podcastCoorpacademy: string;\n podcastCourseMode: string;\n podcastMode: string;\n switchText: string;\n switchCourseText: string;\n cancelSwitch: string;\n switchOk: string;\n seeLess: string;\n play: string;\n noResult: string;\n allEpisodes: string;\n seeAllEpisodes: string;\n addToFavorites: string;\n removeFromFavorites: string;\n shareEpisode: string;\n close: string;\n errorNetwork: string;\n bottomNavigation: {\n home: string;\n search: string;\n favorites: string;\n podcasts: string;\n };\n search: {\n byPlaylists: string;\n searchForPodcasts: string;\n searchTitle: string;\n searchText: string;\n searchSubText: string;\n };\n settings: {\n settings: string;\n wifi: string;\n high: string;\n medium: string;\n low: string;\n mobile: string;\n };\n favorites: {\n title: string;\n podcasts: string;\n addedToFavorites: string;\n removedFromFavorites: string;\n errorFavoriteAdd: string;\n errorFavorite: string;\n errorFavoriteRemove: string;\n };\n };\n appReview: {\n ariaLabel: string;\n presentation: {\n ariaLabel: string;\n title: string;\n text: string;\n button: string;\n labelList: {\n skills: {\n text: string;\n tooltip: string;\n };\n questions: {\n text: string;\n tooltip: string;\n };\n lifes: {\n text: string;\n tooltip: string;\n };\n allright: {\n text: string;\n tooltip: string;\n };\n };\n };\n listTitle: string;\n listAriaLabel: string;\n card: {\n ariaLabel: string;\n text: string;\n buttonText: string;\n };\n noSkills: {\n title: string;\n text: string;\n };\n };\n article: string;\n authenticationMagicLinkHeader: string;\n authenticationMagicLinkStepOneDescription: string;\n authenticationMagicLinkStepTwoDescription: string;\n authenticationMagicLinkStepThreeDescription: string;\n authenticationMagicLinkTitle: string;\n authenticationQRCodeHeader: string;\n authenticationQRCodeStepOneDescription: string;\n authenticationQRCodeStepTwoDescription: string;\n authenticationQRCodeStepThreeDescription: string;\n authenticationQRCodeTitle: string;\n authorizeNotifications: string;\n askForHelp: string;\n backToHome: string;\n bonus: string;\n cancel: string;\n clue: string;\n clueStarsToLoose: string;\n congratulations: string;\n connectionLost: string;\n connectionRestored: string;\n context: string;\n correction: string;\n dataLost: string;\n didYouKnowThat: string;\n finishCourse: string;\n finishCourseWordings: NotificationWording[];\n finishLearning: string;\n forYou: string;\n gameOver: string;\n getAnExtralife: string;\n goodAnswer: string;\n goodJob: string;\n goToQuestion: string;\n highscore: string;\n howToSignIn: string;\n iWantIt: string;\n keyPoint: string;\n lesson: string;\n logOut: string;\n needHelp: string;\n new: string;\n next: string;\n nextLevel: string;\n nextChapter: string;\n noResults: string;\n noResultsDescription: string;\n ok: string;\n ooops: string;\n open: string;\n openBrowser: string;\n openSettings: string;\n ouch: string;\n outOfLives: string;\n permission: string;\n permissionCamera: string;\n notifications: string;\n notificationSamples: NotificationWording[];\n permissionNotificationHeadline: string;\n permissionNotificationDescription: string;\n permissionNotificationAuthorize: string;\n currentlyDoingReminder: string;\n yesNotifyMe: string;\n maybeLater: string;\n platformHasBeenDisabled: string;\n podcast: string;\n question: string;\n quit: string;\n reactivatePlatform: string;\n refresh: string;\n refreshEnjoyLearning: string;\n refreshNotWorking: string;\n resumeLearning: string;\n retryLevel: string;\n retryChapter: string;\n relatedSubjects: string;\n scanQRCode: string;\n scorm: string;\n externalFinishCourse: string;\n search: string;\n seeClue: string;\n selectAnAnswer: string;\n selectSomethingBelow: string;\n settings: string;\n signInDesktop: string;\n signInMobile: string;\n startDemo: string;\n startLearning: string;\n step: string;\n suggestion: string;\n suggestionWordings: NotificationWording[];\n typeHere: string;\n unlockNextLevel: string;\n upgrade: string;\n upgradeDescription: string;\n validate: string;\n version: string;\n video: string;\n videoLoadingError: string;\n welcome: string;\n welcomeDescription: string;\n welcomeUser: string;\n winAdditionalStars: string;\n wrongAnswer: string;\n yourAnswer: string;\n yourAnswers: string;\n};\n\nconst defaultMobileTranslations: Translations = {\n accessTheLesson: 'Access the lesson',\n appPodcast: {\n podcast: 'Podcast',\n podcasts: 'Podcasts',\n playlist: 'Playlist',\n home: 'Home',\n courseMode: 'Course Mode',\n allPlaylists: 'All Playlists',\n seeMore: 'See more',\n podcastCoorpacademy: 'Coorpacademy',\n podcastCourseMode: 'Course mode',\n podcastMode: 'Podcast mode',\n switchText: 'Switching to Course mode will interrupt the listening.',\n switchCourseText: 'You are about to switch on Podcast mode',\n cancelSwitch: 'No, cancel',\n switchOk: 'Yes, switch',\n seeLess: 'See less',\n play: 'Play',\n noResult: 'No results!',\n allEpisodes: 'All episodes',\n seeAllEpisodes: 'See all episode',\n addToFavorites: 'Add to my favorites',\n removeFromFavorites: 'Remove from my favorites',\n shareEpisode: 'Share this episode',\n close: 'Close',\n errorNetwork: 'something went wrong',\n bottomNavigation: {\n home: 'Home',\n search: 'Search',\n favorites: 'Favorites',\n podcasts: 'podcasts'\n },\n search: {\n byPlaylists: 'By playlists',\n searchForPodcasts: 'Search for podcasts',\n searchTitle: 'Search',\n searchText: 'No results for',\n searchSubText: 'Please check the spelling or use other keywords'\n },\n settings: {\n settings: 'Settings',\n wifi: 'Wifi audio quality',\n high: 'High quality',\n medium: 'Medium quality',\n low: 'Low quality',\n mobile: 'Mobile audio quality'\n },\n favorites: {\n title: 'Favorites',\n podcasts: 'podcasts',\n addedToFavorites: 'Added to your favorites',\n removedFromFavorites: 'Removed from your favorites',\n errorFavoriteAdd: 'Could not add to your favorites. Please try again.',\n errorFavorite: 'There was an error',\n errorFavoriteRemove: 'Could not remove from your favorites. Please try again.'\n },\n infoNewFeature: {\n title: 'Introducing the new Podcast mode',\n message:\n 'Click on the button at the top of your app to discover a whole new audio experience',\n cta: 'Start learning'\n }\n },\n appReview: {\n ariaLabel: 'Review Skills Template',\n presentation: {\n ariaLabel: 'Review Presentation Container',\n title: 'What is<br/>Revision Mode ?',\n text: 'Information vanishes from your mind as soon as it enters it? It’s perfectly normal: there is no retention without repetition! To keep your knowledge in the long term, use the Revision Mode to refresh your memory!',\n button: '',\n labelList: {\n skills: {text: 'Choose 1 skill', tooltip: 'You can review one skill at a time.'},\n questions: {\n text: 'Answer 5 questions',\n tooltip: 'Answer the 5 questions correctly to validate your revision mode session.'\n },\n lifes: {\n text: 'You have infinite live',\n tooltip: 'You can answer as many times as you like to complete your session.'\n },\n allright: {\n text: 'Get it all right',\n tooltip: 'To validate your session, you must get a correct answer to each question.'\n }\n }\n },\n listTitle: 'Skills you can review',\n listAriaLabel: 'Review Skills Container',\n card: {\n ariaLabel: 'Skill Card',\n text: '{{total}} questions to review',\n buttonText: 'Review this skill'\n },\n noSkills: {\n title: 'You have no skill to revise yet',\n text: 'First you need to complete courses before you can review different skills.'\n }\n },\n article: 'Documents',\n authenticationMagicLinkHeader:\n 'Click on the link you received by email to connect to your platform',\n authenticationMagicLinkStepOneDescription:\n 'Go to your <b>professional mailbox</b> with this phone',\n authenticationMagicLinkStepTwoDescription:\n '<b>Open the email</b> with the invitation to download the Coorpacademy App',\n authenticationMagicLinkStepThreeDescription: 'Click on the button <b>\"Connect to the App\"</b>',\n authenticationMagicLinkTitle: 'Magic link',\n authenticationQRCodeHeader:\n \"Didn't receive an email? That's fine! We'll use a computer to verify your identity on the web platform\",\n authenticationQRCodeStepOneDescription:\n 'Connect to your learning platform <b>with a computer</b>',\n authenticationQRCodeStepTwoDescription:\n 'Go to <b>your Account</b> <br/>in the upper right-hand corner',\n authenticationQRCodeStepThreeDescription:\n '<b>Voilà!</b><br/>Scan your QR code using the button below',\n authenticationQRCodeTitle: 'QR Code',\n authorizeNotifications: 'Authorize notifications',\n askForHelp: 'Ask for help',\n backToHome: 'Back to home',\n bonus: 'Bonus!',\n cancel: 'Cancel',\n clue: 'Clue',\n clueStarsToLoose:\n 'Unlocking the clue reduces the stars you can gain on this question by {{count}} (if you get it right)',\n congratulations: 'Congratulations!',\n connectionLost: 'No Internet connection',\n connectionRestored: 'You are now connected to the Internet',\n context: 'Context',\n correction: 'Correction',\n currentlyDoingReminder: 'Currently doing reminder',\n dataLost: 'Your data seems to be lost',\n didYouKnowThat: 'Did you know that?',\n finishCourse: 'Finish Course',\n finishCourseWordings: [\n {\n title: \"Let's gets it done {{givenName}}! 🚀\",\n description: 'Complete this course: \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: 'Your mission, should you choose to accept it 😎',\n description: 'Finish your course: \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: '{{givenName}}, I bet you can do it! 💪',\n description: 'Finish the course: \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: 'Ready to learn {{givenName}}? 💪',\n description: 'Let\\'s complete \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: '{{givenName}}, you are close to complete your course 🙃',\n description: 'Let\\'s finish \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: 'Do you accept the challenge {{givenName}}? 💪',\n description: 'Complete the course: \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: '{{givenName}}, your challenge of the day! 😉',\n description: 'Complete the course: \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: \"{{givenName}}, it's time to learn! 😉\",\n description: 'Continue your course: \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: 'How about learning {{givenName}}? 🚀',\n description: 'Complete the course: \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: \"Once it's done, it's done 🙃\",\n description: 'Complete the course: \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: 'Your course is almost completed! ✓',\n description: 'Complete the course: \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: '{{givenName}}, you are so close! 🙃',\n description: 'Just a few questions to complete \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: 'Come on {{givenName}}, almost finished ☑',\n description: 'Complete your course: \\\\\"{{contentName}}\\\\\"'\n }\n ],\n finishLearning: 'Continue this one first',\n forYou: 'Our top picks for you',\n gameOver: 'Game over',\n getAnExtralife: 'Get an extra life by viewing the lesson',\n goodAnswer: 'Good answer',\n goodJob: 'Good job!',\n goToQuestion: 'Go to question',\n highscore: 'You have a new highscore<br><b>you just won {{score}} stars</b>',\n howToSignIn: 'Did you receive an email to download the app?',\n iWantIt: 'I want it !',\n keyPoint: 'Key point',\n lesson: 'Lesson',\n logOut: 'Log out',\n needHelp: 'Need help?',\n new: 'new',\n next: 'Next',\n nextChapter: 'Next chapter',\n nextLevel: 'Next level',\n noResults: 'No results',\n noResultsDescription: 'Your search did not have any results.<br/>Try searching other keywords.',\n notifications: 'Notifications',\n ok: 'OK',\n ooops: 'Ooops...',\n open: 'Open',\n openBrowser: 'Open <b>my mailbox</b>',\n openSettings: 'Open settings',\n ouch: 'Ouch...',\n outOfLives: 'You are out of lives!',\n notificationSamples: [\n {title: 'Challenge of the day 👊', description: 'Start the course<br><b>Online Customer</b>'}\n ],\n permission: 'Permission',\n permissionCamera:\n 'We need to access your camera in order to scan your QR code and authenticate you.',\n permissionNotificationHeadline: 'We help you stay motivated!',\n permissionNotificationDescription:\n 'Get notifications and stay on top of your goals. We promise not to blow up your phone a million times a day.',\n permissionNotificationAuthorize: 'Authorize notifications',\n maybeLater: 'Maybe later',\n platformHasBeenDisabled: 'The app has been disabled for your platform',\n podcast: 'Podcasts',\n question: 'Question',\n quit: 'Quit',\n reactivatePlatform:\n 'if you want to reactivate it, contact your manager or click on the link below and we will pass the message on',\n refresh: 'Refresh',\n refreshEnjoyLearning:\n 'in the network between Saturn and the Earth, please refresh in order to enjoy learning',\n refreshNotWorking: 'Refresh not working?',\n relatedSubjects: 'Recommended for you:',\n resumeLearning: 'Continue Learning',\n retryChapter: 'Retry chapter',\n retryLevel: 'Retry level',\n scanQRCode: 'Scan your <b>QR code</b>',\n scorm: 'Animated resources',\n externalFinishCourse: 'I have completed this course',\n search: 'Search',\n seeClue: 'See clue',\n selectSomethingBelow: 'Select something below',\n settings: 'Settings',\n startDemo: 'No account? <a href=\"/\"><b><u>Start trial!</u></b></a>',\n startLearning: 'You should start with this one',\n selectAnAnswer: 'Select an answer',\n signInDesktop: 'No',\n signInMobile: 'Yes',\n step: 'Step',\n suggestion: 'Course recommendations',\n suggestionWordings: [\n {\n title: '{{givenName}}, here is a course for you! 👀',\n description: 'Find out with this course \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: 'In the mood for learning {{givenName}}? 🚀',\n description: 'Check out \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: 'Your mission, should you choose to accept it 😎',\n description: 'Check out \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: '{{givenName}}, your challenge of the day awaits you! 😉',\n description: 'Start the course \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: '{{givenName}}, take on the challenge 💪',\n description: 'Start the course \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: '{{givenName}}, broaden your horizons!',\n description: 'Find out more about \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: \"{{givenName}}, it's time to learn! 😉\",\n description: 'Start the course \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: \"It's time to (re) launch {{givenName}} 🚀\",\n description: 'Start this course \\\\\"{{contentName}}\\\\\"'\n },\n {\n title: '{{givenName}}, I bet you can do it! 💪',\n description: 'Start the course \\\\\"{{contentName}}\\\\\"'\n }\n ],\n typeHere: 'Type here',\n validate: 'Submit',\n version: 'Version',\n video: 'Videos',\n videoLoadingError: 'An error occurred while loading the video, please try again.',\n unlockNextLevel: 'You have just unlocked<br><b>{{levelName}} level</b>',\n upgrade: 'Upgrade',\n upgradeDescription:\n 'Your application has been updated! Please download the latest version to enjoy it.',\n winAdditionalStars:\n 'Win {{count}} additional stars in this chapter the first time you view a lesson!',\n welcome: 'Welcome',\n welcomeDescription: 'This app is linked to your account on your company’s Learning Platform.',\n welcomeUser: 'Welcome, {{displayname}}!',\n wrongAnswer: 'Wrong answer',\n yesNotifyMe: 'Yes, notify me',\n yourAnswer: 'Your answer:',\n yourAnswers: 'Your answers:'\n};\n\nexport default defaultMobileTranslations;\n"],"file":"default-mobile-translations.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../../src/variables/shadow.ts"],"names":["BOX_STYLE","shadowColor","shadowOpacity","shadowOffset","width","height","shadowRadius","elevation","backgroundColor"],"mappings":"AASA,OAAO,MAAMA,SAAmB,GAAG;AACjCC,EAAAA,WAAW,EAAE,SADoB;AAEjCC,EAAAA,aAAa,EAAE,IAFkB;AAGjCC,EAAAA,YAAY,EAAE;AAACC,IAAAA,KAAK,EAAE,CAAR;AAAWC,IAAAA,MAAM,EAAE;AAAnB,GAHmB;AAIjCC,EAAAA,YAAY,EAAE,CAJmB;AAKjCC,EAAAA,SAAS,EAAE,CALsB;AAMjCC,EAAAA,eAAe,EAAE,mBANgB,CAMI;;AANJ,CAA5B","sourcesContent":["export type BoxStyle = {\n shadowColor: string;\n shadowOpacity: number;\n shadowOffset: {width: number; height: number};\n shadowRadius: number;\n elevation: number;\n backgroundColor: string;\n};\n\nexport const BOX_STYLE: BoxStyle = {\n shadowColor: '#14171A',\n shadowOpacity: 0.15,\n shadowOffset: {width: 0, height: 0},\n shadowRadius: 8,\n elevation: 4,\n backgroundColor: 'rgba(0,0,0,0.015)' // fix shadow not visible bug on android\n};\n"],"file":"shadow.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../../src/variables/theme.native.ts"],"names":["COLORS","HTML_ANCHOR_TEXT_COLOR","defaultTheme","colors","border","gray","extra","lighter","light","lightMedium","medium","dark","extraDark","text","primary","secondary","cta","negative","positive","white","black","battle","notification","salmon","podcast","background","spacing","micro","tiny","small","base","large","xlarge","radius","common","card","regular","search","button","thumbnail","fontWeight","semiBold","bold","extraBold","fontSize","extraSmall","xxlarge","xxxlarge","letterSpacing","header"],"mappings":"AACA,SAAQA,MAAR,QAAqB,UAArB;AAIA,OAAO,MAAMC,sBAAsB,GAAG,SAA/B;AAwEP,MAAMC,YAAmB,GAAG;AAC1BC,EAAAA,MAAM,EAAE;AACNC,IAAAA,MAAM,EAAE,oBADF;AAENC,IAAAA,IAAI,EAAE;AACJC,MAAAA,KAAK,EAAE,SADH;AAEJC,MAAAA,OAAO,EAAE,SAFL;AAGJC,MAAAA,KAAK,EAAE,SAHH;AAIJC,MAAAA,WAAW,EAAE,SAJT;AAKJC,MAAAA,MAAM,EAAE,SALJ;AAMJC,MAAAA,IAAI,EAAE,SANF;AAOJC,MAAAA,SAAS,EAAE;AAPP,KAFA;AAWNC,IAAAA,IAAI,EAAE;AACJC,MAAAA,OAAO,EAAE,SADL;AAEJC,MAAAA,SAAS,EAAE;AAFP,KAXA;AAeNC,IAAAA,GAAG,EAAE,SAfC;AAgBNC,IAAAA,QAAQ,EAAEjB,MAAM,CAACiB,QAhBX;AAiBNC,IAAAA,QAAQ,EAAElB,MAA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APD;AAQRC,IAAAA,QAAQ,EAAE;AARF,GArDgB;AA+D1BC,EAAAA,aAAa,EAAE;AACbC,IAAAA,MAAM,EAAE;AADK;AA/DW,CAA5B;AAoEA,eAAe/C,YAAf","sourcesContent":["import {TextStyle} from 'react-native';\nimport {COLORS} from './colors';\n\nexport type SpaceType = 'micro' | 'tiny' | 'small' | 'base' | 'medium' | 'large' | 'xlarge';\n\nexport const HTML_ANCHOR_TEXT_COLOR = '#002BDB';\n\nexport type Colors = {\n border: string;\n gray: {\n extra: string;\n light: string;\n lighter: string;\n lightMedium: string;\n medium: string;\n dark: string;\n extraDark: string;\n };\n podcast: {\n background: string;\n primary: string;\n };\n text: {\n primary: string;\n secondary: string;\n };\n cta: string;\n negative: string;\n positive: string;\n white: string;\n black: string;\n battle: string;\n notification: string;\n salmon: string;\n};\n\nexport type Theme = {\n colors: Colors;\n spacing: {\n micro: number;\n tiny: number;\n small: number;\n base: number;\n medium: number;\n large: number;\n xlarge: number;\n };\n radius: {\n button: number;\n common: number;\n card: number;\n medium: number;\n regular: number;\n search: number;\n thumbnail: number;\n };\n fontWeight: {\n regular: TextStyle['fontWeight'];\n semiBold: TextStyle['fontWeight'];\n bold: TextStyle['fontWeight'];\n extraBold: TextStyle['fontWeight'];\n };\n fontSize: {\n extraSmall: TextStyle['fontSize'];\n small: TextStyle['fontSize'];\n medium: TextStyle['fontSize'];\n regular: TextStyle['fontSize'];\n large: TextStyle['fontSize'];\n xlarge: TextStyle['fontSize'];\n xxlarge: TextStyle['fontSize'];\n xxxlarge: TextStyle['fontSize'];\n };\n letterSpacing: {\n header: number;\n };\n};\n\nconst defaultTheme: Theme = {\n colors: {\n border: 'rgba(0, 0, 0, 0.1)',\n gray: {\n extra: '#FAFAFA',\n lighter: '#F4F4F5',\n light: '#ededed',\n lightMedium: '#CFD8DC',\n medium: '#90A4AE',\n dark: '#546E7A',\n extraDark: '#323232'\n },\n text: {\n primary: '#06265B',\n secondary: '#FFFFFF'\n },\n cta: '#0061FF',\n negative: COLORS.negative,\n positive: COLORS.positive,\n white: '#FFFFFF',\n black: '#14171A',\n battle: '#FFDE03',\n notification: '#FF7043',\n salmon: '#FDE2E5',\n podcast: {\n background: '#171721',\n primary: '#FF541F'\n }\n },\n spacing: {\n micro: 4,\n tiny: 8,\n small: 16,\n base: 24,\n medium: 32,\n large: 48,\n xlarge: 64\n },\n radius: {\n common: 3,\n card: 5,\n regular: 8,\n medium: 12,\n search: 24,\n button: 32,\n thumbnail: 1000\n },\n fontWeight: {\n regular: '400',\n semiBold: '500',\n bold: '700',\n extraBold: '900'\n },\n fontSize: {\n extraSmall: 10,\n small: 12,\n medium: 13,\n regular: 15,\n large: 17,\n xlarge: 22,\n xxlarge: 28,\n xxxlarge: 40\n },\n letterSpacing: {\n header: 5\n }\n};\n\nexport default defaultTheme;\n"],"file":"theme.native.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../../src/variables/vibration.ts"],"names":["VIBRATION_TYPE","SELECTION","IMPACT_LIGHT","IMPACT_MEDIUM","IMPACT_HEAVY","NOTIFICATION_SUCCESS","NOTIFICATION_WARNING","NOTIFICATION_ERROR"],"mappings":"AASA,OAAO,MAAMA,cASZ,GAAG;AACFC,EAAAA,SAAS,EAAE,WADT;AAEFC,EAAAA,YAAY,EAAE,aAFZ;AAGFC,EAAAA,aAAa,EAAE,cAHb;AAIFC,EAAAA,YAAY,EAAE,aAJZ;AAKFC,EAAAA,oBAAoB,EAAE,qBALpB;AAMFC,EAAAA,oBAAoB,EAAE,qBANpB;AAOFC,EAAAA,kBAAkB,EAAE;AAPlB,CATG","sourcesContent":["export type VibrationType =\n | 'selection'\n | 'impactLight'\n | 'impactMedium'\n | 'impactHeavy'\n | 'notificationSuccess'\n | 'notificationWarning'\n | 'notificationError';\n\nexport const VIBRATION_TYPE: {\n [key in\n | 'SELECTION'\n | 'IMPACT_LIGHT'\n | 'IMPACT_MEDIUM'\n | 'IMPACT_HEAVY'\n | 'NOTIFICATION_SUCCESS'\n | 'NOTIFICATION_WARNING'\n | 'NOTIFICATION_ERROR']?: VibrationType;\n} = {\n SELECTION: 'selection',\n IMPACT_LIGHT: 'impactLight',\n IMPACT_MEDIUM: 'impactMedium',\n IMPACT_HEAVY: 'impactHeavy',\n NOTIFICATION_SUCCESS: 'notificationSuccess',\n NOTIFICATION_WARNING: 'notificationWarning',\n NOTIFICATION_ERROR: 'notificationError'\n};\n\nexport type Vibration = {\n VIBRATION_TYPE: typeof VIBRATION_TYPE;\n vibrate: (arg0: VibrationType | void) => void;\n};\n"],"file":"vibration.js"}
|
|
@@ -11,7 +11,7 @@ declare namespace Autocomplete {
|
|
|
11
11
|
const error: PropTypes.Requireable<boolean>;
|
|
12
12
|
const suggestions: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
13
13
|
name: PropTypes.Requireable<string>;
|
|
14
|
-
value: PropTypes.Requireable<
|
|
14
|
+
value: PropTypes.Requireable<string | number>;
|
|
15
15
|
}> | null | undefined)[]>;
|
|
16
16
|
const onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
17
17
|
const onFetch: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -19,9 +19,9 @@ var _getClassState = _interopRequireDefault(require("../../util/get-class-state"
|
|
|
19
19
|
|
|
20
20
|
var _style = _interopRequireDefault(require("./style.css"));
|
|
21
21
|
|
|
22
|
-
function _getRequireWildcardCache(
|
|
22
|
+
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
|
|
23
23
|
|
|
24
|
-
function _interopRequireWildcard(obj
|
|
24
|
+
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (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; }
|
|
25
25
|
|
|
26
26
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
27
27
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../../../src/atom/autocomplete/index.js"],"names":["renderSuggestion","suggestion","name","Autocomplete","props","placeholder","value","description","required","modified","error","suggestions","onChange","onFetch","onClear","onBlur","onSuggestionSelected","title","propsTitle","className","style","default","handleChange","e","handleBlur","selectedSuggestion","handleSuggestionsFetchRequested","handleSuggestionsClearRequested","handleSuggestionsSelected","data","inputProps","isNoTitle","container","input","suggestionsContainer","suggestionsContainerOpen","suggestionsList","suggestionHighlighted","propTypes","PropTypes","string","bool","arrayOf","shape","oneOfType","number","func"],"mappings":";;;;;;;;;AAAA;;AACA;;AACA;;AACA;;AAEA;;AACA;;;;;;;;AAEA,MAAMA,gBAAgB,GAAGC,UAAU,iBAAI,2CAAOA,UAAU,CAACC,IAAlB,CAAvC;;AAEA,MAAMC,YAAY,GAAGC,KAAK,IAAI;AAC5B,QAAM;AACJC,IAAAA,WAAW,GAAG,EADV;AAEJC,IAAAA,KAFI;AAGJC,IAAAA,WAHI;AAIJC,IAAAA,QAJI;AAKJC,IAAAA,QAAQ,GAAG,KALP;AAMJC,IAAAA,KAAK,GAAG,KANJ;AAOJC,IAAAA,WAAW,GAAG,EAPV;AAQJC,IAAAA,QAAQ,iBARJ;AASJC,IAAAA,OAAO,iBATH;AAUJC,IAAAA,OAAO,iBAVH;AAWJC,IAAAA,MAAM,iBAXF;AAYJC,IAAAA,oBAAoB,iBAZhB;AAaJC,IAAAA,KAAK,EAAEC;AAbH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D,mBAAUM,MAA7B,CAApB;AAFO,GAAhB,CADW,CARU;AAcvBjC,EAAAA,QAAQ,EAAE2B,mBAAUO,IAdG;AAevBjC,EAAAA,OAAO,EAAE0B,mBAAUO,IAfI;AAgBvBhC,EAAAA,OAAO,EAAEyB,mBAAUO,IAhBI;AAiBvB/B,EAAAA,MAAM,EAAEwB,mBAAUO,IAjBK;AAkBvB9B,EAAAA,oBAAoB,EAAEuB,mBAAUO;AAlBT,CAAzB;eAqBe3C,Y","sourcesContent":["import React, {useMemo} from 'react';\nimport Autosuggest from 'react-autosuggest';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport {noop, isNil} from 'lodash/fp';\nimport getClassState from '../../util/get-class-state';\nimport style from './style.css';\n\nconst renderSuggestion = suggestion => <span>{suggestion.name}</span>;\n\nconst Autocomplete = props => {\n const {\n placeholder = '',\n value,\n description,\n required,\n modified = false,\n error = false,\n suggestions = [],\n onChange = noop,\n onFetch = noop,\n onClear = noop,\n onBlur = noop,\n onSuggestionSelected = noop,\n title: propsTitle\n } = props;\n\n const title = `${propsTitle}${required ? ' *' : ''}`;\n const className = getClassState(style.default, style.modified, style.error, modified, error);\n\n const handleChange = useMemo(() => e => onChange(e), [onChange]);\n const handleBlur = useMemo(\n () => (e, selectedSuggestion) => onBlur(e, selectedSuggestion),\n [onBlur]\n );\n const handleSuggestionsFetchRequested = useMemo(() => e => onFetch(e), [onFetch]);\n const handleSuggestionsClearRequested = useMemo(() => e => onClear(e), [onClear]);\n const handleSuggestionsSelected = useMemo(\n () => (e, data) => onSuggestionSelected(data),\n [onSuggestionSelected]\n );\n\n const inputProps = {\n placeholder,\n value,\n onChange: handleChange,\n onBlur: handleBlur\n };\n\n return (\n <div className={classnames(className, isNil(title) && style.isNoTitle)}>\n <label>\n <span className={style.title}>{title}</span>\n <div>\n <Autosuggest\n theme={{\n container: style.container,\n input: style.input,\n suggestionsContainer: style.suggestionsContainer,\n suggestionsContainerOpen: style.suggestionsContainerOpen,\n suggestionsList: style.suggestionsList,\n suggestion: style.suggestion,\n suggestionHighlighted: style.suggestionHighlighted\n }}\n suggestions={suggestions}\n onSuggestionsFetchRequested={handleSuggestionsFetchRequested}\n onSuggestionsClearRequested={handleSuggestionsClearRequested}\n getSuggestionValue={noop}\n renderSuggestion={renderSuggestion}\n inputProps={inputProps}\n focusInputOnSuggestionClick={false}\n onSuggestionSelected={handleSuggestionsSelected}\n />\n </div>\n </label>\n <div className={style.description}>{description}</div>\n </div>\n );\n};\n\nAutocomplete.propTypes = {\n title: PropTypes.string,\n placeholder: PropTypes.string,\n value: PropTypes.string,\n description: PropTypes.string,\n required: PropTypes.bool,\n modified: PropTypes.bool,\n error: PropTypes.bool,\n suggestions: PropTypes.arrayOf(\n PropTypes.shape({\n name: PropTypes.string,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number])\n })\n ),\n onChange: PropTypes.func,\n onFetch: PropTypes.func,\n onClear: PropTypes.func,\n onBlur: PropTypes.func,\n onSuggestionSelected: PropTypes.func\n};\n\nexport default Autocomplete;\n"],"file":"index.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../../../src/atom/avatar/index.js"],"names":["Avatar","url","style","container","circle","avatar","avatarImg","iconBubble","icon","propTypes","PropTypes","string","isRequired"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;;;AAEA,MAAMA,MAAM,GAAG,CAAC;AAACC,EAAAA;AAAD,CAAD,KAAW;AACxB,sBACE;AAAK,IAAA,SAAS,EAAEC,eAAMC;AAAtB,kBACE;AAAK,IAAA,SAAS,EAAED,eAAME;AAAtB,kBACE;AAAK,IAAA,SAAS,EAAEF,eAAMG;AAAtB,kBACE;AAAK,IAAA,SAAS,EAAEH,eAAMI,SAAtB;AAAiC,IAAA,GAAG,EAAEL;AAAtC,IADF,CADF,CADF,eAME;AAAK,IAAA,SAAS,EAAEC,eAAMK;AAAtB,kBACE,6BAAC,0CAAD;AAAU,IAAA,KAAK,EAAC,MAAhB;AAAuB,IAAA,SAAS,EAAEL,eAAMM;AAAxC,IADF,CANF,CADF;AAYD,CAbD;;AAeAR,MAAM,CAACS,SAAP,2CAAmB;AACjBR,EAAAA,GAAG,EAAES,mBAAUC,MAAV,CAAiBC;AADL,CAAnB;eAIeZ,M","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {NovaCompositionCoorpacademyBolt as BoltIcon} from '@coorpacademy/nova-icons';\nimport style from './style.css';\n\nconst Avatar = ({url}) => {\n return (\n <div className={style.container}>\n <div className={style.circle}>\n <div className={style.avatar}>\n <img className={style.avatarImg} src={url} />\n </div>\n </div>\n <div className={style.iconBubble}>\n <BoltIcon color=\"#fff\" className={style.icon} />\n </div>\n </div>\n );\n};\n\nAvatar.propTypes = {\n url: PropTypes.string.isRequired\n};\n\nexport default Avatar;\n"],"file":"index.js"}
|
package/lib/atom/button/index.js
CHANGED
|
@@ -17,7 +17,7 @@ var _style = _interopRequireDefault(require("./style.css"));
|
|
|
17
17
|
|
|
18
18
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19
19
|
|
|
20
|
-
function _extends() { _extends = Object.assign
|
|
20
|
+
function _extends() { _extends = Object.assign || 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); }
|
|
21
21
|
|
|
22
22
|
const ButtonContent = props => {
|
|
23
23
|
const {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../../../src/atom/button/index.js"],"names":["ButtonContent","props","color","submitValue","disabled","download","href","target","onClick","className","cssStyle","button","children","type","style","dataName","anchorClassName","disabledAnchor","anchorOnClick","anchorHref","inputClassName","buttonDisabled","propTypes","ColorPropType","PropTypes","string","bool","oneOf","func","node","shape","Button","buttonContentClassName","isLinkDisabled","cNames","buttonCont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yBAAW,CAACC,eAASC,MAAV,EAAkBF,SAAlB,CAAX,CAFF;AAGA,sBACE;AAAK,IAAA,SAAS,EAAEyB;AAAhB,kBACE,6BAAC,aAAD,eACMjC,KADN;AAEE,IAAA,IAAI,EAAEY,IAFR;AAGE,IAAA,SAAS,EAAEmB,sBAAsB,GAAGA,sBAAH,GAA4BtB,eAASyB,aAHxE;AAIE,IAAA,KAAK,eACArB,KADA;AAJP,MAQGF,QARH,CADF,CADF;AAcD,CA1BD;;AA4BAmB,MAAM,CAACT,SAAP,2CAAmB;AACjBpB,EAAAA,KAAK,EAAEqB,wBADU;AAEjBpB,EAAAA,WAAW,EAAEqB,mBAAUC,MAFN;AAGjBrB,EAAAA,QAAQ,EAAEoB,mBAAUE,IAHH;AAIjBO,EAAAA,cAAc,EAAET,mBAAUE,IAJT;AAKjBpB,EAAAA,IAAI,EAAEkB,mBAAUC,MALC;AAMjBpB,EAAAA,QAAQ,EAAEmB,mBAAUE,IANH;AAOjBnB,EAAAA,MAAM,EAAEiB,mBAAUG,KAAV,CAAgB,CAAC,OAAD,EAAU,QAAV,EAAoB,SAApB,EAA+B,MAA/B,CAAhB,CAPS;AAQjBd,EAAAA,IAAI,EAAEW,mBAAUC,MARC;AASjBjB,EAAAA,OAAO,EAAEgB,mBAAUI,IATF;AAUjBhB,EAAAA,QAAQ,EAAEY,mBAAUK,IAVH;AAWjBpB,EAAAA,SAAS,EAAEe,mBAAUC,MAXJ;AAYjBO,EAAAA,sBAAsB,EAAER,mBAAUC,MAZjB;AAajBX,EAAAA,KAAK,EAAEU,mBAAUM,KAAV,CAAgB,EAAhB,CAbU;AAcjB,eAAaN,mBAAUC;AAdN,CAAnB;eAiBeM,M","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport {ColorPropType} from '../../util/proptypes';\nimport Link from '../link';\nimport cssStyle from './style.css';\n\nconst ButtonContent = props => {\n const {\n color,\n submitValue,\n disabled,\n download,\n href,\n target,\n onClick,\n className = cssStyle.button,\n children,\n type,\n style,\n 'data-name': dataName\n } = props;\n const anchorClassName = (disabled && `${className} ${cssStyle.disabledAnchor}`) || className;\n const anchorOnClick = (disabled && null) || onClick;\n const anchorHref = (disabled && null) || href;\n const inputClassName = (disabled && `${className} ${cssStyle.buttonDisabled}`) || className;\n\n switch (type) {\n case 'link':\n return (\n <Link\n data-name={dataName}\n href={anchorHref}\n download={download}\n onClick={anchorOnClick}\n target={target}\n className={anchorClassName}\n style={style}\n >\n {submitValue || children || 'submit'}\n </Link>\n );\n\n case 'a':\n return (\n <a\n data-name={dataName}\n href={anchorHref}\n target={target}\n className={anchorClassName}\n onClick={anchorOnClick}\n style={style}\n >\n {submitValue || children}\n </a>\n );\n\n default:\n return (\n <input\n data-name={dataName}\n type={type}\n value={submitValue}\n disabled={disabled}\n onClick={onClick}\n className={inputClassName}\n style={{\n color,\n ...style\n }}\n />\n );\n }\n};\n\nButtonContent.propTypes = {\n color: ColorPropType,\n submitValue: PropTypes.string,\n disabled: PropTypes.bool,\n href: PropTypes.string,\n download: PropTypes.bool,\n target: PropTypes.oneOf(['_self', '_blank', '_parent', '_top']),\n type: PropTypes.string,\n onClick: PropTypes.func,\n children: PropTypes.node,\n className: PropTypes.string,\n style: PropTypes.shape({}),\n 'data-name': PropTypes.string\n};\n\nconst Button = props => {\n const {\n className,\n buttonContentClassName,\n isLinkDisabled,\n type = 'submit',\n children,\n style\n } = props;\n const cNames =\n (isLinkDisabled && classnames([cssStyle.disabledAnchor, className])) ||\n classnames([cssStyle.button, className]);\n return (\n <div className={cNames}>\n <ButtonContent\n {...props}\n type={type}\n className={buttonContentClassName ? buttonContentClassName : cssStyle.buttonContent}\n style={{\n ...style\n }}\n >\n {children}\n </ButtonContent>\n </div>\n );\n};\n\nButton.propTypes = {\n color: ColorPropType,\n submitValue: PropTypes.string,\n disabled: PropTypes.bool,\n isLinkDisabled: PropTypes.bool,\n href: PropTypes.string,\n download: PropTypes.bool,\n target: PropTypes.oneOf(['_self', '_blank', '_parent', '_top']),\n type: PropTypes.string,\n onClick: PropTypes.func,\n children: PropTypes.node,\n className: PropTypes.string,\n buttonContentClassName: PropTypes.string,\n style: PropTypes.shape({}),\n 'data-name': PropTypes.string\n};\n\nexport default Button;\n"],"file":"index.js"}
|
|
@@ -21,13 +21,13 @@ var _buttonIcons = require("../../util/button-icons");
|
|
|
21
21
|
|
|
22
22
|
var _style = _interopRequireDefault(require("./style.css"));
|
|
23
23
|
|
|
24
|
-
function _getRequireWildcardCache(
|
|
24
|
+
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
|
|
25
25
|
|
|
26
|
-
function _interopRequireWildcard(obj
|
|
26
|
+
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (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; }
|
|
27
27
|
|
|
28
28
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
29
29
|
|
|
30
|
-
function _extends() { _extends = Object.assign
|
|
30
|
+
function _extends() { _extends = Object.assign || 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); }
|
|
31
31
|
|
|
32
32
|
const getButtonContent = (icon, label) => {
|
|
33
33
|
const {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../../../src/atom/button-link/index.js"],"names":["getButtonContent","icon","label","type","position","Icon","ICONS","style","buttonContent","ButtonLink","props","disabled","dataName","ariaLabel","link","onClick","className","customStyle","contentView","styleButton","button","primary","secondary","tertiary","text","dangerous","handleOnClick","propTypes","PropTypes","oneOf","string","shape","func","href","download","bool","target"],"mappings":";;;;;;;;;;;AAAA;;AACA;;AAEA;;AACA;;AACA;;AACA;;;;;;;;;;AAEA,MAAMA,gBAAgB,GAAG,CAACC,IAAD,EAAOC,KAAP,KAAiB;AACxC,QAAM;AAACC,IAAAA,IAAD;AAAOC,IAAAA;AAAP,MAAmBH,IAAzB;AACA,QAAMI,IAAI,GAAG,qBAAM,IAAN,EAAYF,IAAZ,EAAkBG,kBAAlB,CAAb;;AAEA,MAAI,CAACD,IAAL,EAAW;AACT,wBACE;AAAK,MAAA,SAAS,EAAEE,eAAMC;AAAtB,oBACE;AAAM,MAAA,SAAS,EAAED,eAAML;AAAvB,OAA+BA,KAA/B,CADF,CADF;AAKD;;AAED,sBACE;AAAK,IAAA,SAAS,EAAEK,eAAMC;AAAtB,KACGJ,QAAQ,KAAK,MAAb,gBAAsB,6BAAC,IAAD;AAAM,IAAA,SAAS,EAAEG,eAAMN;AAAvB,IAAtB,GAAwD,IAD3D,eAEE;AAAM,IAAA,SAAS,EAAEM,eAAML;AAAvB,KAA+BA,KAA/B,CAFF,EAGGE,QAAQ,KAAK,OAAb,gBAAuB,6BAAC,IAAD;AAAM,IAAA,SAAS,EAAEG,eAAMN;AAAvB,IAAvB,GAAyD,IAH5D,CADF;AAOD,CAnBD;;AAqBA,MAAMQ,UAAU,GAAGC,KAAK,IAAI;AAC1B,QAAM;AACJP,IAAAA,IADI;AAEJD,IAAAA,KAFI;AAGJS,IAAAA,QAHI;AAIJV,IAAAA,IAAI,GAAG,EAJH;AAKJ,iBAAaW,QALT;AAMJ,kBAAcC,SANV;AAOJC,IAAAA,IAPI;AAQJC,IAAAA,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,UAAzB,EAAqC,MAArC,EAA6C,WAA7C,CAAhB,CADe;AAErB3B,EAAAA,KAAK,EAAE0B,mBAAUE,MAFI;AAGrB,gBAAcF,mBAAUE,MAHH;AAIrB,eAAaF,mBAAUE,MAJF;AAKrB7B,EAAAA,IAAI,EAAE2B,mBAAUG,KAAV,CAAgB;AACpB3B,IAAAA,QAAQ,EAAEwB,mBAAUC,KAAV,CAAgB,CAAC,OAAD,EAAU,MAAV,CAAhB,CADU;AAEpB1B,IAAAA,IAAI,EAAEyB,mBAAUC,KAAV,CAAgB,oBAAKvB,kBAAL,CAAhB;AAFc,GAAhB,CALe;AASrBS,EAAAA,OAAO,EAAEa,mBAAUI,IATE;AAUrBlB,EAAAA,IAAI,EAAEc,mBAAUG,KAAV,CAAgB;AACpBE,IAAAA,IAAI,EAAEL,mBAAUE,MADI;AAEpBI,IAAAA,QAAQ,EAAEN,mBAAUO,IAFA;AAGpBC,IAAAA,MAAM,EAAER,mBAAUC,KAAV,CAAgB,CAAC,OAAD,EAAU,QAAV,EAAoB,SAApB,EAA+B,MAA/B,CAAhB;AAHY,GAAhB,CAVe;AAerBlB,EAAAA,QAAQ,EAAEiB,mBAAUO,IAfC;AAgBrBnB,EAAAA,SAAS,EAAEY,mBAAUE,MAhBA;AAiBrBb,EAAAA,WAAW,EAAEW,mBAAUG,KAAV,CAAgB,EAAhB;AAjBQ,CAAvB;eAoBetB,U","sourcesContent":["import React, {useCallback} from 'react';\nimport PropTypes from 'prop-types';\nimport {getOr, keys, noop} from 'lodash/fp';\nimport classnames from 'classnames';\nimport Link from '../link';\nimport {ICONS} from '../../util/button-icons';\nimport style from './style.css';\n\nconst getButtonContent = (icon, label) => {\n const {type, position} = icon;\n const Icon = getOr(null, type, ICONS);\n\n if (!Icon) {\n return (\n <div className={style.buttonContent}>\n <span className={style.label}>{label}</span>\n </div>\n );\n }\n\n return (\n <div className={style.buttonContent}>\n {position === 'left' ? <Icon className={style.icon} /> : null}\n <span className={style.label}>{label}</span>\n {position === 'right' ? <Icon className={style.icon} /> : null}\n </div>\n );\n};\n\nconst ButtonLink = props => {\n const {\n type,\n label,\n disabled,\n icon = {},\n 'data-name': dataName,\n 'aria-label': ariaLabel,\n link,\n onClick = noop,\n className,\n customStyle\n } = props;\n const contentView = getButtonContent(icon, label);\n const styleButton = classnames(\n className,\n style.button,\n type === 'primary' && style.primary,\n type === 'secondary' && style.secondary,\n type === 'tertiary' && style.tertiary,\n type === 'text' && style.text,\n type === 'dangerous' && style.dangerous,\n link && style.link,\n disabled && style.disabled\n );\n\n const handleOnClick = useCallback(() => onClick(), [onClick]);\n\n if (link) {\n return (\n <Link\n {...link}\n style={customStyle}\n className={styleButton}\n data-name={dataName}\n aria-label={ariaLabel || label}\n title={ariaLabel || label}\n >\n {contentView}\n </Link>\n );\n }\n\n return (\n <button\n type=\"button\"\n aria-label={ariaLabel || label}\n title={ariaLabel || label}\n data-name={dataName}\n style={customStyle}\n className={styleButton}\n onClick={handleOnClick}\n >\n {contentView}\n </button>\n );\n};\n\nButtonLink.propTypes = {\n type: PropTypes.oneOf(['primary', 'secondary', 'tertiary', 'text', 'dangerous']),\n label: PropTypes.string,\n 'aria-label': PropTypes.string,\n 'data-name': PropTypes.string,\n icon: PropTypes.shape({\n position: PropTypes.oneOf(['right', 'left']),\n type: PropTypes.oneOf(keys(ICONS))\n }),\n onClick: PropTypes.func,\n link: PropTypes.shape({\n href: PropTypes.string,\n download: PropTypes.bool,\n target: PropTypes.oneOf(['_self', '_blank', '_parent', '_top'])\n }),\n disabled: PropTypes.bool,\n className: PropTypes.string,\n customStyle: PropTypes.shape({})\n};\n\nexport default ButtonLink;\n"],"file":"index.js"}
|
|
@@ -19,13 +19,13 @@ var _link = _interopRequireDefault(require("../link"));
|
|
|
19
19
|
|
|
20
20
|
var _style = _interopRequireDefault(require("./style.css"));
|
|
21
21
|
|
|
22
|
-
function _getRequireWildcardCache(
|
|
22
|
+
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
|
|
23
23
|
|
|
24
|
-
function _interopRequireWildcard(obj
|
|
24
|
+
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (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; }
|
|
25
25
|
|
|
26
26
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
27
27
|
|
|
28
|
-
function _extends() { _extends = Object.assign
|
|
28
|
+
function _extends() { _extends = Object.assign || 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); }
|
|
29
29
|
|
|
30
30
|
const getButtonContent = icon => {
|
|
31
31
|
const Icon = (0, _getOr2.default)(null, icon, _buttonIcons.ICONS);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../../../src/atom/button-link-icon-only/index.js"],"names":["getButtonContent","icon","Icon","ICONS","style","buttonContent","getSizeStyle","size","small","responsive","default","ButtonLinkIconOnly","props","disabled","dataName","ariaLabel","link","onClick","className","contentView","styleButton","handleOnClick","propTypes","PropTypes","oneOf","string","func","shape","href","download","bool","target"],"mappings":";;;;;;;;;AAAA;;AACA;;AAEA;;AACA;;AACA;;AACA;;;;;;;;;;AAEA,MAAMA,gBAAgB,GAAGC,IAAI,IAAI;AAC/B,Q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AA,IAAI,EAAC,QADP;AAEE,kBAAYJ,SAFd;AAGE,iBAAWD,QAHb;AAIE,IAAA,KAAK,EAAEC,SAJT;AAKE,IAAA,SAAS,EAAEK,WALb;AAME,IAAA,OAAO,EAAEC;AANX,KAQGF,WARH,CADF;AAYD,CA/CD;;AAiDAR,kBAAkB,CAACW,SAAnB,2CAA+B;AAC7Bf,EAAAA,IAAI,EAAEgB,mBAAUC,KAAV,CAAgB,CAAC,SAAD,EAAY,OAAZ,EAAqB,YAArB,CAAhB,CADuB;AAE7B,gBAAcD,mBAAUE,MAFK;AAG7B,eAAaF,mBAAUE,MAHM;AAI7BxB,EAAAA,IAAI,EAAEsB,mBAAUC,KAAV,CAAgB,oBAAKrB,kBAAL,CAAhB,CAJuB;AAK7Bc,EAAAA,OAAO,EAAEM,mBAAUG,IALU;AAM7BV,EAAAA,IAAI,EAAEO,mBAAUI,KAAV,CAAgB;AACpBC,IAAAA,IAAI,EAAEL,mBAAUE,MADI;AAEpBI,IAAAA,QAAQ,EAAEN,mBAAUO,IAFA;AAGpBC,IAAAA,MAAM,EAAER,mBAAUC,KAAV,CAAgB,CAAC,OAAD,EAAU,QAAV,EAAoB,SAApB,EAA+B,MAA/B,CAAhB;AAHY,GAAhB,CANuB;AAW7BX,EAAAA,QAAQ,EAAEU,mBAAUO,IAXS;AAY7BZ,EAAAA,SAAS,EAAEK,mBAAUE;AAZQ,CAA/B;eAeed,kB","sourcesContent":["import React, {useMemo} from 'react';\nimport PropTypes from 'prop-types';\nimport {getOr, keys} from 'lodash/fp';\nimport classnames from 'classnames';\nimport {ICONS} from '../../util/button-icons';\nimport Link from '../link';\nimport style from './style.css';\n\nconst getButtonContent = icon => {\n const Icon = getOr(null, icon, ICONS);\n\n if (!Icon) {\n return <div className={style.buttonContent} />;\n }\n\n return (\n <div className={style.buttonContent}>\n <Icon className={style.icon} />\n </div>\n );\n};\n\nconst getSizeStyle = size => {\n switch (size) {\n case 'small':\n return style.small;\n case 'responsive':\n return style.responsive;\n default:\n return style.default;\n }\n};\n\nconst ButtonLinkIconOnly = props => {\n const {\n size = 'default',\n disabled,\n icon,\n 'data-name': dataName,\n 'aria-label': ariaLabel,\n link,\n onClick,\n className\n } = props;\n const contentView = getButtonContent(icon);\n const styleButton = classnames(\n getSizeStyle(size),\n link && style.link,\n disabled && style.disabled,\n className\n );\n\n const handleOnClick = useMemo(() => () => onClick(), [onClick]);\n\n if (link) {\n return (\n <Link\n {...link}\n className={styleButton}\n data-name={dataName}\n aria-label={ariaLabel}\n title={ariaLabel}\n >\n {contentView}\n </Link>\n );\n }\n\n return (\n <button\n type=\"button\"\n aria-label={ariaLabel}\n data-name={dataName}\n title={ariaLabel}\n className={styleButton}\n onClick={handleOnClick}\n >\n {contentView}\n </button>\n );\n};\n\nButtonLinkIconOnly.propTypes = {\n size: PropTypes.oneOf(['default', 'small', 'responsive']),\n 'aria-label': PropTypes.string,\n 'data-name': PropTypes.string,\n icon: PropTypes.oneOf(keys(ICONS)),\n onClick: PropTypes.func,\n link: PropTypes.shape({\n href: PropTypes.string,\n download: PropTypes.bool,\n target: PropTypes.oneOf(['_self', '_blank', '_parent', '_top'])\n }),\n disabled: PropTypes.bool,\n className: PropTypes.string\n};\n\nexport default ButtonLinkIconOnly;\n"],"file":"index.js"}
|
|
@@ -15,11 +15,11 @@ var _style = _interopRequireDefault(require("./style.css"));
|
|
|
15
15
|
|
|
16
16
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
17
|
|
|
18
|
-
function _getRequireWildcardCache(
|
|
18
|
+
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
|
|
19
19
|
|
|
20
|
-
function _interopRequireWildcard(obj
|
|
20
|
+
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (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; }
|
|
21
21
|
|
|
22
|
-
function _extends() { _extends = Object.assign
|
|
22
|
+
function _extends() { _extends = Object.assign || 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); }
|
|
23
23
|
|
|
24
24
|
const Button = props => {
|
|
25
25
|
const {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../../../src/atom/button-menu/index.js"],"names":["Button","props","dataName","disabled","label","onClick","type","styleButton","style","button","default","dangerous","handleOnClick","buttonContent","propTypes","PropTypes","string","bool","isRequired","func","oneOf","ButtonMenu","buttons","buildButton","index","buttonList","map","convert","cap","arrayOf","shape"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;AAEA,MAAMA,MAAM,GAAGC,KAAK,IAAI;AACtB,QAAM;AAAC,iBAAaC,QAAd;AAAwBC,IAAAA,QAAxB;AAAkCC,IAAAA,KAAlC;AAAyCC,IAAAA,OAAzC;AAAkDC,IAAAA,IAAI,GAAG;AAAzD,MAAsEL,KAA5E;AACA,QAAMM,WAAW,GAAG,yBAClBC,eAAMC,MADY,EAElBH,IAAI,KAAK,SAAT,IAAsBE,eAAME,OAFV,EAGlBJ,IAAI,KAAK,WAAT,IAAwBE,eAAMG,SAHZ,EAIlBR,QAAQ,IAAIK,eAAML,QAJA,CAApB;AAOA,QAAMS,aAAa,GAAG,wBAAY,MAAMP,OAA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ZD;;AAcAJ,UAAU,CAACP,SAAX,2CAAuB;AACrBQ,EAAAA,OAAO,EAAEP,mBAAUc,OAAV,CAAkBd,mBAAUe,KAAV,CAAgB9B,MAAM,CAACc,SAAvB,CAAlB,EAAqDI,UADzC;AAErB,eAAaH,mBAAUC;AAFF,CAAvB;eAKeK,U","sourcesContent":["import React, {useMemo, useCallback} from 'react';\nimport PropTypes from 'prop-types';\nimport map from 'lodash/fp/map';\nimport classnames from 'classnames';\nimport style from './style.css';\n\nconst Button = props => {\n const {'data-name': dataName, disabled, label, onClick, type = 'default'} = props;\n const styleButton = classnames(\n style.button,\n type === 'default' && style.default,\n type === 'dangerous' && style.dangerous,\n disabled && style.disabled\n );\n\n const handleOnClick = useCallback(() => onClick(), [onClick]);\n return (\n <button\n type=\"button\"\n aria-label={label}\n title={label}\n data-name={dataName}\n className={styleButton}\n onClick={handleOnClick}\n >\n <div className={style.buttonContent}>\n <span className={style.label}>{label}</span>\n </div>\n </button>\n );\n};\n\nButton.propTypes = {\n 'data-name': PropTypes.string,\n disabled: PropTypes.bool,\n label: PropTypes.string.isRequired,\n onClick: PropTypes.func.isRequired,\n type: PropTypes.oneOf(['default', 'dangerous'])\n};\n\nconst ButtonMenu = props => {\n const {buttons, 'data-name': dataName} = props;\n const buildButton = useCallback((button, index) => {\n return <Button {...button} key={button.label + index} />;\n }, []);\n\n const buttonList = useMemo(\n () => map.convert({cap: false})(buildButton, buttons),\n [buttons, buildButton]\n );\n\n return <div data-name={dataName}>{buttonList}</div>;\n};\n\nButtonMenu.propTypes = {\n buttons: PropTypes.arrayOf(PropTypes.shape(Button.propTypes)).isRequired,\n 'data-name': PropTypes.string\n};\n\nexport default ButtonMenu;\n"],"file":"index.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../../../src/atom/card-image-preview/index.js"],"names":["CardImagePreview","image","skin","whiteColor","emptyIcon","style","backgroundImage","contextTypes","Provider","childContextTypes","propTypes","PropTypes","string"],"mappings":";;;;;;;AAAA;;AACA;;AAEA;;AACA;;AAEA;;;;AAEA,MAAMA,gBAAgB,GAAG,CAAC;AAACC,EAAAA;AAAD,CAAD,EAAU;AAACC,EAAAA;AAAD,CAAV,KAAqB;AAC5C,QAAMC,UAAU,GAAG,mBAAI,cAAJ,EAAoBD,IAApB,CAAnB;AACA,QAAME,SAAS,GAAG,CAACH,KAAD,gBAAS,6BAAC,8CAAD;AAAc,IAAA,SAAS,EAAEI,eAAMD,SAA/B;AAA0C,IAAA,KAAK,EAAED;AAAjD,IAAT,GAA2E,IAA7F;AAEA,sBACE;AACE,IAAA,SAAS,EAAEE,eAAMJ,KADnB;AAEE,IAAA,KAAK,EAAE;AACLK,MAAAA,eAAe,EAAEL,KAAK,GAAI,QAAOA,KAAM,IAAjB,GAAuB;AADxC,KAFT;AAKE,iBAAU;AALZ,KAOGG,SAPH,CADF;AAWD,CAfD;;AAiBAJ,gBAAgB,CAACO,YAAjB,GAAgC;AAC9BL,EAAAA,IAAI,EAAEM,kBAASC,iBAAT,CAA2BP;AADH,CAAhC;AAIAF,gBAAgB,CAACU,SAAjB,2CAA6B;AAC3BT,EAAAA,KAAK,EAAEU,mBAAUC;AADU,CAA7B;eAGeZ,gB","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {get} from 'lodash/fp';\nimport {NovaCompositionCoorpacademyPictures as PicturesIcon} from '@coorpacademy/nova-icons';\nimport Provider from '../provider';\n\nimport style from './style.css';\n\nconst CardImagePreview = ({image}, {skin}) => {\n const whiteColor = get('common.white', skin);\n const emptyIcon = !image ? <PicturesIcon className={style.emptyIcon} color={whiteColor} /> : null;\n\n return (\n <div\n className={style.image}\n style={{\n backgroundImage: image ? `url('${image}')` : 'none'\n }}\n data-name=\"card-image-preview\"\n >\n {emptyIcon}\n </div>\n );\n};\n\nCardImagePreview.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nCardImagePreview.propTypes = {\n image: PropTypes.string\n};\nexport default CardImagePreview;\n"],"file":"index.js"}
|