@coorpacademy/components 11.9.3-alpha.25.24 → 11.9.3-alpha.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/atom/autocomplete/index.js +0 -3
- package/es/atom/autocomplete/index.js.map +1 -1
- package/es/atom/avatar/index.js +0 -2
- package/es/atom/avatar/index.js.map +1 -1
- package/es/atom/button/index.js +0 -8
- package/es/atom/button/index.js.map +1 -1
- package/es/atom/button/index.native.d.ts +1 -1
- package/es/atom/button/index.native.d.ts.map +1 -1
- package/es/atom/button/index.native.js +0 -4
- package/es/atom/button/index.native.js.map +1 -1
- package/es/atom/button-link/index.js +0 -10
- package/es/atom/button-link/index.js.map +1 -1
- package/es/atom/button-link-icon-only/index.js +0 -12
- package/es/atom/button-link-icon-only/index.js.map +1 -1
- package/es/atom/button-menu/index.js +0 -5
- package/es/atom/button-menu/index.js.map +1 -1
- package/es/atom/card-image-preview/index.js +0 -3
- package/es/atom/card-image-preview/index.js.map +1 -1
- package/es/atom/catalog-section/index.js +0 -2
- package/es/atom/catalog-section/index.js.map +1 -1
- package/es/atom/centered-text/index.js +0 -2
- package/es/atom/centered-text/index.js.map +1 -1
- package/es/atom/checkbox/index.js +5 -11
- package/es/atom/checkbox/index.js.map +1 -1
- package/es/atom/checkbox-with-title/index.js +0 -4
- package/es/atom/checkbox-with-title/index.js.map +1 -1
- package/es/atom/chips/index.js +0 -2
- package/es/atom/chips/index.js.map +1 -1
- package/es/atom/choice/index.native.d.ts +1 -1
- package/es/atom/choice/index.native.d.ts.map +1 -1
- package/es/atom/choice/index.native.js +2 -12
- package/es/atom/choice/index.native.js.map +1 -1
- package/es/atom/clue/index.js +0 -14
- package/es/atom/clue/index.js.map +1 -1
- package/es/atom/content-badge/index.js +0 -2
- package/es/atom/content-badge/index.js.map +1 -1
- package/es/atom/cta/index.js +0 -13
- package/es/atom/cta/index.js.map +1 -1
- package/es/atom/difficulty-level/index.js +0 -7
- package/es/atom/difficulty-level/index.js.map +1 -1
- package/es/atom/drag-and-drop/index.js +0 -15
- package/es/atom/drag-and-drop/index.js.map +1 -1
- package/es/atom/empty-search-result/index.js +0 -2
- package/es/atom/empty-search-result/index.js.map +1 -1
- package/es/atom/gradient/index.native.d.ts +1 -1
- package/es/atom/gradient/index.native.d.ts.map +1 -1
- package/es/atom/gradient/index.native.js +0 -7
- package/es/atom/gradient/index.native.js.map +1 -1
- package/es/atom/header-back-button/index.native.d.ts +1 -1
- package/es/atom/header-back-button/index.native.d.ts.map +1 -1
- package/es/atom/header-back-button/index.native.js +0 -6
- package/es/atom/header-back-button/index.native.js.map +1 -1
- package/es/atom/header-back-icon/index.native.d.ts +1 -1
- package/es/atom/header-back-icon/index.native.d.ts.map +1 -1
- package/es/atom/header-back-icon/index.native.js +0 -2
- package/es/atom/header-back-icon/index.native.js.map +1 -1
- package/es/atom/html/index.native.d.ts +1 -1
- package/es/atom/html/index.native.d.ts.map +1 -1
- package/es/atom/html/index.native.js +6 -12
- package/es/atom/html/index.native.js.map +1 -1
- package/es/atom/image-background/index.native.d.ts +1 -1
- package/es/atom/image-background/index.native.d.ts.map +1 -1
- package/es/atom/image-background/index.native.js +11 -24
- package/es/atom/image-background/index.native.js.map +1 -1
- package/es/atom/image-upload/index.js +0 -6
- package/es/atom/image-upload/index.js.map +1 -1
- package/es/atom/input-checkbox/index.js +0 -4
- package/es/atom/input-checkbox/index.js.map +1 -1
- package/es/atom/input-color/index.js +0 -2
- package/es/atom/input-color/index.js.map +1 -1
- package/es/atom/input-doublestep/index.js +0 -14
- package/es/atom/input-doublestep/index.js.map +1 -1
- package/es/atom/input-html/index.js +0 -9
- package/es/atom/input-html/index.js.map +1 -1
- package/es/atom/input-html/input-preview.js +2 -3
- package/es/atom/input-html/input-preview.js.map +1 -1
- package/es/atom/input-readonly/index.js +0 -2
- package/es/atom/input-readonly/index.js.map +1 -1
- package/es/atom/input-search/index.js +0 -2
- package/es/atom/input-search/index.js.map +1 -1
- package/es/atom/input-switch/index.js +0 -8
- package/es/atom/input-switch/index.js.map +1 -1
- package/es/atom/input-text/index.js +2 -3
- package/es/atom/input-text/index.js.map +1 -1
- package/es/atom/input-text-with-title/index.js +0 -3
- package/es/atom/input-text-with-title/index.js.map +1 -1
- package/es/atom/input-textarea/index.js +2 -3
- package/es/atom/input-textarea/index.js.map +1 -1
- package/es/atom/label/index.js +0 -2
- package/es/atom/label/index.js.map +1 -1
- package/es/atom/life/index.js +0 -7
- package/es/atom/life/index.js.map +1 -1
- package/es/atom/link/index.js +7 -24
- package/es/atom/link/index.js.map +1 -1
- package/es/atom/loader/index.js +0 -2
- package/es/atom/loader/index.js.map +1 -1
- package/es/atom/loader/index.native.d.ts +1 -1
- package/es/atom/loader/index.native.d.ts.map +1 -1
- package/es/atom/loader/index.native.js +2 -12
- package/es/atom/loader/index.native.js.map +1 -1
- package/es/atom/lottie-wrapper/index.js +3 -11
- package/es/atom/lottie-wrapper/index.js.map +1 -1
- package/es/atom/lottie-wrapper/prop-types.d.ts +1 -1
- package/es/atom/lottie-wrapper/prop-types.d.ts.map +1 -1
- package/es/atom/lottie-wrapper/prop-types.js.map +1 -1
- package/es/atom/notification/index.js +0 -2
- package/es/atom/notification/index.js.map +1 -1
- package/es/atom/picture/index.js +0 -8
- package/es/atom/picture/index.js.map +1 -1
- package/es/atom/picture-background/index.js +0 -2
- package/es/atom/picture-background/index.js.map +1 -1
- package/es/atom/promo-code/index.js +0 -2
- package/es/atom/promo-code/index.js.map +1 -1
- package/es/atom/provider/index.js +2 -19
- package/es/atom/provider/index.js.map +1 -1
- package/es/atom/provider/web-context.d.ts +3 -3
- package/es/atom/provider/web-context.d.ts.map +1 -1
- package/es/atom/provider/web-context.js +5 -12
- package/es/atom/provider/web-context.js.map +1 -1
- package/es/atom/radio-group/index.js +0 -8
- package/es/atom/radio-group/index.js.map +1 -1
- package/es/atom/radio-group/item.js +0 -7
- package/es/atom/radio-group/item.js.map +1 -1
- package/es/atom/range/handle.js +9 -17
- package/es/atom/range/handle.js.map +1 -1
- package/es/atom/range/index.js +0 -23
- package/es/atom/range/index.js.map +1 -1
- package/es/atom/resource-miniature/index.js +2 -6
- package/es/atom/resource-miniature/index.js.map +1 -1
- package/es/atom/review-header-step-item/index.js +0 -8
- package/es/atom/review-header-step-item/index.js.map +1 -1
- package/es/atom/review-header-step-item/index.native.js +0 -14
- package/es/atom/review-header-step-item/index.native.js.map +1 -1
- package/es/atom/review-header-step-item/types.d.ts +2 -2
- package/es/atom/review-header-step-item/types.d.ts.map +1 -1
- package/es/atom/review-header-step-item/types.js.map +1 -1
- package/es/atom/review-presentation/index.js +5 -8
- package/es/atom/review-presentation/index.js.map +1 -1
- package/es/atom/review-presentation/index.native.js +3 -10
- package/es/atom/review-presentation/index.native.js.map +1 -1
- package/es/atom/review-presentation/prop-types.d.ts +2 -2
- package/es/atom/review-presentation/prop-types.d.ts.map +1 -1
- package/es/atom/review-presentation/prop-types.js.map +1 -1
- package/es/atom/select/index.js +2 -8
- package/es/atom/select/index.js.map +1 -1
- package/es/atom/select-modal/index.native.d.ts +2 -2
- package/es/atom/select-modal/index.native.d.ts.map +1 -1
- package/es/atom/select-modal/index.native.js +0 -11
- package/es/atom/select-modal/index.native.js.map +1 -1
- package/es/atom/slide/index.js +0 -3
- package/es/atom/slide/index.js.map +1 -1
- package/es/atom/social-link/index.js +0 -2
- package/es/atom/social-link/index.js.map +1 -1
- package/es/atom/space/index.native.d.ts +1 -1
- package/es/atom/space/index.native.d.ts.map +1 -1
- package/es/atom/space/index.native.js +0 -2
- package/es/atom/space/index.native.js.map +1 -1
- package/es/atom/spinner/index.js +0 -2
- package/es/atom/spinner/index.js.map +1 -1
- package/es/atom/tab/index.js +0 -2
- package/es/atom/tab/index.js.map +1 -1
- package/es/atom/tab-content/index.js +0 -2
- package/es/atom/tab-content/index.js.map +1 -1
- package/es/atom/tag/index.js +0 -2
- package/es/atom/tag/index.js.map +1 -1
- package/es/atom/text/index.native.d.ts +1 -1
- package/es/atom/text/index.native.d.ts.map +1 -1
- package/es/atom/text/index.native.js +0 -3
- package/es/atom/text/index.native.js.map +1 -1
- package/es/atom/title/index.js +0 -8
- package/es/atom/title/index.js.map +1 -1
- package/es/atom/tooltip/index.js +0 -5
- package/es/atom/tooltip/index.js.map +1 -1
- package/es/atom/video-upload/index.js +0 -3
- package/es/atom/video-upload/index.js.map +1 -1
- package/es/atom/wizard-steps/index.js +0 -2
- package/es/atom/wizard-steps/index.js.map +1 -1
- package/es/hoc/animation/index.js +0 -11
- package/es/hoc/animation/index.js.map +1 -1
- package/es/hoc/animation-scheduler/index.js +0 -18
- package/es/hoc/animation-scheduler/index.js.map +1 -1
- package/es/hoc/modal/index.native.d.ts +1 -1
- package/es/hoc/modal/index.native.d.ts.map +1 -1
- package/es/hoc/modal/index.native.js +0 -6
- package/es/hoc/modal/index.native.js.map +1 -1
- package/es/hoc/modal/select/index.native.d.ts +2 -2
- package/es/hoc/modal/select/index.native.d.ts.map +1 -1
- package/es/hoc/modal/select/index.native.js +0 -10
- package/es/hoc/modal/select/index.native.js.map +1 -1
- package/es/hoc/modal/select-item/index.native.d.ts +1 -1
- package/es/hoc/modal/select-item/index.native.d.ts.map +1 -1
- package/es/hoc/modal/select-item/index.native.js +0 -8
- package/es/hoc/modal/select-item/index.native.js.map +1 -1
- package/es/hoc/swapper/index.js +4 -14
- package/es/hoc/swapper/index.js.map +1 -1
- package/es/hoc/touchable/index.native.d.ts +1 -1
- package/es/hoc/touchable/index.native.d.ts.map +1 -1
- package/es/hoc/touchable/index.native.js +0 -6
- package/es/hoc/touchable/index.native.js.map +1 -1
- package/es/hoc/transition/index.js +0 -4
- 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 +0 -7
- package/es/molecule/add-to-my-list/index.js.map +1 -1
- package/es/molecule/answer/index.d.ts +3 -0
- package/es/molecule/answer/index.d.ts.map +1 -1
- package/es/molecule/answer/index.js +14 -27
- package/es/molecule/answer/index.js.map +1 -1
- package/es/molecule/answer/index.native.js +0 -11
- package/es/molecule/answer/index.native.js.map +1 -1
- package/es/molecule/answer/prop-types.d.ts +3 -3
- package/es/molecule/answer/prop-types.d.ts.map +1 -1
- package/es/molecule/answer/prop-types.js +0 -3
- package/es/molecule/answer/prop-types.js.map +1 -1
- package/es/molecule/audio/index.js +2 -12
- package/es/molecule/audio/index.js.map +1 -1
- package/es/molecule/banner/index.js +0 -2
- package/es/molecule/banner/index.js.map +1 -1
- package/es/molecule/battle-request/index.js +2 -6
- package/es/molecule/battle-request/index.js.map +1 -1
- package/es/molecule/brand-card/description.js +0 -2
- package/es/molecule/brand-card/description.js.map +1 -1
- package/es/molecule/brand-card/index.js +0 -2
- package/es/molecule/brand-card/index.js.map +1 -1
- package/es/molecule/brand-card-create/index.js +0 -2
- package/es/molecule/brand-card-create/index.js.map +1 -1
- package/es/molecule/brand-create-form/index.js +0 -2
- package/es/molecule/brand-create-form/index.js.map +1 -1
- package/es/molecule/brand-download-box/index.js +0 -4
- package/es/molecule/brand-download-box/index.js.map +1 -1
- package/es/molecule/brand-form-group/index.js +0 -29
- package/es/molecule/brand-form-group/index.js.map +1 -1
- package/es/molecule/brand-logo/index.native.js +0 -5
- package/es/molecule/brand-logo/index.native.js.map +1 -1
- package/es/molecule/brand-tabs/index.js +0 -4
- package/es/molecule/brand-tabs/index.js.map +1 -1
- package/es/molecule/brand-upload-box/index.js +0 -11
- package/es/molecule/brand-upload-box/index.js.map +1 -1
- package/es/molecule/breadcrumbs/index.js +0 -6
- package/es/molecule/breadcrumbs/index.js.map +1 -1
- package/es/molecule/bullet-point-menu-button/index.js +0 -2
- package/es/molecule/bullet-point-menu-button/index.js.map +1 -1
- package/es/molecule/card/customer.js +0 -2
- package/es/molecule/card/customer.js.map +1 -1
- package/es/molecule/card/favorite.js +0 -9
- package/es/molecule/card/favorite.js.map +1 -1
- package/es/molecule/card/index.js +0 -21
- package/es/molecule/card/index.js.map +1 -1
- package/es/molecule/card/notification.js +0 -5
- package/es/molecule/card/notification.js.map +1 -1
- package/es/molecule/card/selectable.js +0 -2
- package/es/molecule/card/selectable.js.map +1 -1
- package/es/molecule/card-congrats/index.native.js +0 -7
- package/es/molecule/card-congrats/index.native.js.map +1 -1
- package/es/molecule/card-congrats/types.d.ts +1 -1
- package/es/molecule/card-congrats/types.d.ts.map +1 -1
- package/es/molecule/card-content/index.js +2 -13
- package/es/molecule/card-content/index.js.map +1 -1
- package/es/molecule/card-with-button/index.js +0 -6
- package/es/molecule/card-with-button/index.js.map +1 -1
- package/es/molecule/cm-popin/index.js +4 -10
- package/es/molecule/cm-popin/index.js.map +1 -1
- package/es/molecule/cm-popin/index.native.js +0 -6
- package/es/molecule/cm-popin/index.native.js.map +1 -1
- package/es/molecule/cm-popin/types.d.ts +2 -2
- package/es/molecule/cm-popin/types.d.ts.map +1 -1
- package/es/molecule/cm-popin/types.js.map +1 -1
- package/es/molecule/cookie-banner/index.js +0 -4
- package/es/molecule/cookie-banner/index.js.map +1 -1
- package/es/molecule/coorp-manager-roles/index.js +0 -3
- package/es/molecule/coorp-manager-roles/index.js.map +1 -1
- package/es/molecule/course-section/index.js +0 -2
- package/es/molecule/course-section/index.js.map +1 -1
- package/es/molecule/course-sections/index.js +0 -6
- package/es/molecule/course-sections/index.js.map +1 -1
- package/es/molecule/dashboard/battle-request-list/index.js.map +1 -1
- package/es/molecule/dashboard/cards-list/index.js +2 -49
- package/es/molecule/dashboard/cards-list/index.js.map +1 -1
- package/es/molecule/dashboard/news-list/index.js.map +1 -1
- package/es/molecule/dashboard/review-banner/index.js +0 -3
- package/es/molecule/dashboard/review-banner/index.js.map +1 -1
- package/es/molecule/dashboard/start-battle/index.js.map +1 -1
- package/es/molecule/discipline-cta/index.js +0 -4
- package/es/molecule/discipline-cta/index.js.map +1 -1
- package/es/molecule/discipline-header/index.js +4 -11
- package/es/molecule/discipline-header/index.js.map +1 -1
- package/es/molecule/discipline-partners/index.js +0 -11
- package/es/molecule/discipline-partners/index.js.map +1 -1
- package/es/molecule/discipline-scope/index.js +0 -2
- package/es/molecule/discipline-scope/index.js.map +1 -1
- package/es/molecule/drag-and-drop/index.js +0 -3
- package/es/molecule/drag-and-drop/index.js.map +1 -1
- package/es/molecule/drag-and-drop/overlay.js.map +1 -1
- package/es/molecule/drag-and-drop/placeholder.js.map +1 -1
- package/es/molecule/drag-and-drop/upload-report.js +0 -13
- package/es/molecule/drag-and-drop/upload-report.js.map +1 -1
- package/es/molecule/drag-and-drop-wrapper/index.js +0 -4
- package/es/molecule/drag-and-drop-wrapper/index.js.map +1 -1
- package/es/molecule/draggable/index.js +0 -4
- package/es/molecule/draggable/index.js.map +1 -1
- package/es/molecule/draggable-list/index.js +0 -3
- package/es/molecule/draggable-list/index.js.map +1 -1
- package/es/molecule/empty-state-dashboard/index.js +0 -3
- package/es/molecule/empty-state-dashboard/index.js.map +1 -1
- package/es/molecule/empty-state-dashboard/types.d.ts +1 -1
- package/es/molecule/empty-state-dashboard/types.d.ts.map +1 -1
- package/es/molecule/empty-state-dashboard/types.js.map +1 -1
- package/es/molecule/external-content-button/index.js +0 -5
- package/es/molecule/external-content-button/index.js.map +1 -1
- package/es/molecule/external-content-viewer/index.js +0 -2
- package/es/molecule/external-content-viewer/index.js.map +1 -1
- package/es/molecule/feedback/index.js +6 -9
- package/es/molecule/feedback/index.js.map +1 -1
- package/es/molecule/filters/filters-wrapper.js +0 -13
- package/es/molecule/filters/filters-wrapper.js.map +1 -1
- package/es/molecule/filters/index.js +0 -11
- package/es/molecule/filters/index.js.map +1 -1
- package/es/molecule/forum/forum-comment/index.js +0 -5
- package/es/molecule/forum/forum-comment/index.js.map +1 -1
- package/es/molecule/forum/forum-post/index.js +0 -6
- package/es/molecule/forum/forum-post/index.js.map +1 -1
- package/es/molecule/forum/forum-thread/index.js +0 -4
- package/es/molecule/forum/forum-thread/index.js.map +1 -1
- package/es/molecule/forum/post-conditions.js.map +1 -1
- package/es/molecule/go1-banner/index.js +4 -4
- package/es/molecule/go1-banner/index.js.map +1 -1
- package/es/molecule/hero/index.js +0 -4
- package/es/molecule/hero/index.js.map +1 -1
- package/es/molecule/input-text-with-titled-checkbox/index.js +0 -2
- package/es/molecule/input-text-with-titled-checkbox/index.js.map +1 -1
- package/es/molecule/list-badges/index.js +0 -2
- package/es/molecule/list-badges/index.js.map +1 -1
- package/es/molecule/login-alert/index.js +2 -3
- package/es/molecule/login-alert/index.js.map +1 -1
- package/es/molecule/menu-list/index.js +0 -2
- package/es/molecule/menu-list/index.js.map +1 -1
- package/es/molecule/message-popin/index.js +0 -2
- package/es/molecule/message-popin/index.js.map +1 -1
- package/es/molecule/modal/index.js +6 -7
- package/es/molecule/modal/index.js.map +1 -1
- package/es/molecule/module-bubble/index.js +0 -6
- package/es/molecule/module-bubble/index.js.map +1 -1
- package/es/molecule/module-card/index.js +2 -7
- package/es/molecule/module-card/index.js.map +1 -1
- package/es/molecule/news/index.js +0 -3
- package/es/molecule/news/index.js.map +1 -1
- package/es/molecule/notification-banner/index.js +0 -7
- package/es/molecule/notification-banner/index.js.map +1 -1
- package/es/molecule/pagination/index.js +0 -2
- package/es/molecule/pagination/index.js.map +1 -1
- package/es/molecule/payment-form/index.js +0 -13
- package/es/molecule/payment-form/index.js.map +1 -1
- package/es/molecule/pdf/index.js +2 -6
- package/es/molecule/pdf/index.js.map +1 -1
- package/es/molecule/popin/index.js +2 -7
- package/es/molecule/popin/index.js.map +1 -1
- package/es/molecule/product-card/index.js +0 -4
- package/es/molecule/product-card/index.js.map +1 -1
- package/es/molecule/progress-bar/index.js +0 -6
- package/es/molecule/progress-bar/index.js.map +1 -1
- package/es/molecule/questions/drop-down/index.js +0 -4
- package/es/molecule/questions/drop-down/index.js.map +1 -1
- package/es/molecule/questions/free-text/index.js +0 -6
- package/es/molecule/questions/free-text/index.js.map +1 -1
- package/es/molecule/questions/free-text/index.native.d.ts +1 -1
- package/es/molecule/questions/free-text/index.native.d.ts.map +1 -1
- package/es/molecule/questions/free-text/index.native.js +12 -11
- package/es/molecule/questions/free-text/index.native.js.map +1 -1
- package/es/molecule/questions/mobile/draggable/index.native.js +0 -11
- package/es/molecule/questions/mobile/draggable/index.native.js.map +1 -1
- package/es/molecule/questions/mobile/slider/index.native.d.ts +2 -2
- package/es/molecule/questions/mobile/slider/index.native.d.ts.map +1 -1
- package/es/molecule/questions/mobile/slider/index.native.js +0 -7
- package/es/molecule/questions/mobile/slider/index.native.js.map +1 -1
- package/es/molecule/questions/mobile/switch/index.native.d.ts +1 -1
- package/es/molecule/questions/mobile/switch/index.native.d.ts.map +1 -1
- package/es/molecule/questions/mobile/switch/index.native.js +0 -13
- package/es/molecule/questions/mobile/switch/index.native.js.map +1 -1
- package/es/molecule/questions/mobile/template/index.native.d.ts +1 -1
- package/es/molecule/questions/mobile/template/index.native.d.ts.map +1 -1
- package/es/molecule/questions/mobile/template/index.native.js +0 -16
- package/es/molecule/questions/mobile/template/index.native.js.map +1 -1
- package/es/molecule/questions/qcm/index.js +3 -7
- package/es/molecule/questions/qcm/index.js.map +1 -1
- package/es/molecule/questions/qcm-drag/index.js +4 -14
- package/es/molecule/questions/qcm-drag/index.js.map +1 -1
- package/es/molecule/questions/qcm-graphic/index.js +2 -7
- package/es/molecule/questions/qcm-graphic/index.js.map +1 -1
- package/es/molecule/questions/question-range/index.js +12 -17
- package/es/molecule/questions/question-range/index.js.map +1 -1
- package/es/molecule/questions/template/index.js +5 -16
- package/es/molecule/questions/template/index.js.map +1 -1
- package/es/molecule/questions/types.d.ts +12 -12
- package/es/molecule/questions/types.d.ts.map +1 -1
- package/es/molecule/quick-access-card/index.js +0 -18
- package/es/molecule/quick-access-card/index.js.map +1 -1
- package/es/molecule/quick-access-cards-group/index.js +0 -4
- package/es/molecule/quick-access-cards-group/index.js.map +1 -1
- package/es/molecule/resource-player/index.js +5 -25
- package/es/molecule/resource-player/index.js.map +1 -1
- package/es/molecule/review-card-congrats/index.js +2 -7
- package/es/molecule/review-card-congrats/index.js.map +1 -1
- package/es/molecule/review-card-congrats/prop-types.d.ts +1 -1
- package/es/molecule/review-card-congrats/prop-types.d.ts.map +1 -1
- package/es/molecule/review-card-congrats/prop-types.js.map +1 -1
- package/es/molecule/review-correction-popin/index.js +4 -9
- package/es/molecule/review-correction-popin/index.js.map +1 -1
- package/es/molecule/review-correction-popin/index.native.js +0 -9
- package/es/molecule/review-correction-popin/index.native.js.map +1 -1
- package/es/molecule/review-correction-popin/prop-types.d.ts +3 -3
- package/es/molecule/review-correction-popin/prop-types.d.ts.map +1 -1
- package/es/molecule/review-correction-popin/prop-types.js.map +1 -1
- package/es/molecule/review-header-steps/index.js +0 -3
- package/es/molecule/review-header-steps/index.js.map +1 -1
- package/es/molecule/review-header-steps/prop-types.d.ts +1 -1
- package/es/molecule/review-header-steps/prop-types.d.ts.map +1 -1
- package/es/molecule/review-header-steps/prop-types.js.map +1 -1
- package/es/molecule/scope-content/index.js +6 -21
- package/es/molecule/scope-content/index.js.map +1 -1
- package/es/molecule/scope-tabs/index.js +0 -6
- package/es/molecule/scope-tabs/index.js.map +1 -1
- package/es/molecule/search-form/index.js +0 -6
- package/es/molecule/search-form/index.js.map +1 -1
- package/es/molecule/select-multiple/index.js +2 -18
- package/es/molecule/select-multiple/index.js.map +1 -1
- package/es/molecule/setup-cohort-item/index.js +0 -10
- package/es/molecule/setup-cohort-item/index.js.map +1 -1
- package/es/molecule/setup-section/index.js +0 -10
- package/es/molecule/setup-section/index.js.map +1 -1
- package/es/molecule/setup-sections/index.js +0 -3
- package/es/molecule/setup-sections/index.js.map +1 -1
- package/es/molecule/setup-slide/index.js +0 -17
- package/es/molecule/setup-slide/index.js.map +1 -1
- package/es/molecule/setup-slider/index.js +0 -6
- package/es/molecule/setup-slider/index.js.map +1 -1
- package/es/molecule/share/index.js +6 -15
- package/es/molecule/share/index.js.map +1 -1
- package/es/molecule/skill-card/index.js +0 -3
- package/es/molecule/skill-card/index.js.map +1 -1
- package/es/molecule/skill-card/index.native.js +0 -6
- package/es/molecule/skill-card/index.native.js.map +1 -1
- package/es/molecule/skill-card/prop-types.d.ts +1 -1
- package/es/molecule/skill-card/prop-types.d.ts.map +1 -1
- package/es/molecule/skill-card/prop-types.js.map +1 -1
- package/es/molecule/ssmenu-list/index.js +0 -2
- package/es/molecule/ssmenu-list/index.js.map +1 -1
- package/es/molecule/subscription-freemium/index.js +0 -2
- package/es/molecule/subscription-freemium/index.js.map +1 -1
- package/es/molecule/subscription-premium/index.js +0 -6
- package/es/molecule/subscription-premium/index.js.map +1 -1
- package/es/molecule/table/index.js +0 -18
- package/es/molecule/table/index.js.map +1 -1
- package/es/molecule/teams-popin/index.js +0 -2
- package/es/molecule/teams-popin/index.js.map +1 -1
- package/es/molecule/theme-image/index.js +0 -2
- package/es/molecule/theme-image/index.js.map +1 -1
- package/es/molecule/title-and-checkbox-wrapper/index.js +0 -3
- package/es/molecule/title-and-checkbox-wrapper/index.js.map +1 -1
- package/es/molecule/titled-checkbox/index.js +0 -2
- package/es/molecule/titled-checkbox/index.js.map +1 -1
- package/es/molecule/unsubscribe/index.js +0 -2
- package/es/molecule/unsubscribe/index.js.map +1 -1
- package/es/molecule/vertical-tabs/index.js +0 -4
- package/es/molecule/vertical-tabs/index.js.map +1 -1
- package/es/molecule/video-iframe/index.js +0 -12
- package/es/molecule/video-iframe/index.js.map +1 -1
- package/es/molecule/video-player/index.js +6 -23
- 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 -29
- package/es/molecule/video-player/jwplayer.js.map +1 -1
- package/es/molecule/video-player/prop-types.js.map +1 -1
- package/es/molecule/video-player/vimeo.js +0 -42
- package/es/molecule/video-player/vimeo.js.map +1 -1
- package/es/molecule/wizard-summary/index.js +2 -18
- package/es/molecule/wizard-summary/index.js.map +1 -1
- package/es/organism/accordion/container/index.js +0 -9
- package/es/organism/accordion/container/index.js.map +1 -1
- package/es/organism/accordion/coorp-manager/index.js +0 -13
- package/es/organism/accordion/coorp-manager/index.js.map +1 -1
- package/es/organism/accordion/coorp-manager/part/index.js +0 -10
- package/es/organism/accordion/coorp-manager/part/index.js.map +1 -1
- package/es/organism/accordion/part/index.js +0 -5
- package/es/organism/accordion/part/index.js.map +1 -1
- package/es/organism/accordion/toggler/index.js +0 -11
- package/es/organism/accordion/toggler/index.js.map +1 -1
- package/es/organism/brand-analytics/analytics-popin.js +0 -6
- package/es/organism/brand-analytics/analytics-popin.js.map +1 -1
- package/es/organism/brand-analytics/index.js +0 -11
- package/es/organism/brand-analytics/index.js.map +1 -1
- package/es/organism/brand-dashboard/index.js +0 -3
- package/es/organism/brand-dashboard/index.js.map +1 -1
- package/es/organism/brand-form/index.js +0 -6
- package/es/organism/brand-form/index.js.map +1 -1
- package/es/organism/brand-table/index.js +0 -2
- package/es/organism/brand-table/index.js.map +1 -1
- package/es/organism/brand-upload/index.js +0 -4
- package/es/organism/brand-upload/index.js.map +1 -1
- package/es/organism/cards-grid/index.js +0 -4
- package/es/organism/cards-grid/index.js.map +1 -1
- package/es/organism/cart/index.js +0 -2
- package/es/organism/cart/index.js.map +1 -1
- package/es/organism/content-translation/index.js +0 -5
- package/es/organism/content-translation/index.js.map +1 -1
- package/es/organism/course-selection/index.js +0 -8
- package/es/organism/course-selection/index.js.map +1 -1
- package/es/organism/discussion/index.js +2 -4
- package/es/organism/discussion/index.js.map +1 -1
- package/es/organism/get-the-app/index.js +0 -16
- package/es/organism/get-the-app/index.js.map +1 -1
- package/es/organism/grid-list/index.js +0 -2
- package/es/organism/grid-list/index.js.map +1 -1
- package/es/organism/header/index.js +0 -2
- package/es/organism/header/index.js.map +1 -1
- package/es/organism/header-v2/index.native.js +3 -6
- package/es/organism/header-v2/index.native.js.map +1 -1
- package/es/organism/hero/index.js +0 -4
- package/es/organism/hero/index.js.map +1 -1
- package/es/organism/list-item/index.js +0 -4
- package/es/organism/list-item/index.js.map +1 -1
- package/es/organism/list-items/index.js +0 -3
- package/es/organism/list-items/index.js.map +1 -1
- package/es/organism/mobile-navigation/index.native.d.ts +2 -2
- package/es/organism/mobile-navigation/index.native.d.ts.map +1 -1
- package/es/organism/mobile-navigation/index.native.js +0 -7
- package/es/organism/mobile-navigation/index.native.js.map +1 -1
- package/es/organism/mooc/image-slider/index.js +0 -5
- package/es/organism/mooc/image-slider/index.js.map +1 -1
- package/es/organism/mooc-footer/index.js +10 -9
- package/es/organism/mooc-footer/index.js.map +1 -1
- package/es/organism/mooc-header/index.d.ts +0 -6
- package/es/organism/mooc-header/index.d.ts.map +1 -1
- package/es/organism/mooc-header/index.js +8 -117
- package/es/organism/mooc-header/index.js.map +1 -1
- package/es/organism/mooc-header/style.css +0 -46
- package/es/organism/podcast-popin-intro/index.native.d.ts +2 -2
- package/es/organism/podcast-popin-intro/index.native.d.ts.map +1 -1
- package/es/organism/podcast-popin-intro/index.native.js +0 -6
- package/es/organism/podcast-popin-intro/index.native.js.map +1 -1
- package/es/organism/popin/index.js +0 -5
- package/es/organism/popin/index.js.map +1 -1
- package/es/organism/resource-browser/index.js +0 -10
- package/es/organism/resource-browser/index.js.map +1 -1
- package/es/organism/review-congrats/index.js +1 -5
- package/es/organism/review-congrats/index.js.map +1 -1
- package/es/organism/review-congrats/index.native.js +2 -10
- package/es/organism/review-congrats/index.native.js.map +1 -1
- package/es/organism/review-congrats/prop-types.d.ts +1 -1
- package/es/organism/review-congrats/prop-types.d.ts.map +1 -1
- package/es/organism/review-congrats/prop-types.js.map +1 -1
- package/es/organism/review-header/index.js +0 -2
- package/es/organism/review-header/index.js.map +1 -1
- package/es/organism/review-header/index.native.js +0 -3
- package/es/organism/review-header/index.native.js.map +1 -1
- package/es/organism/review-header/types.d.ts +1 -1
- package/es/organism/review-header/types.d.ts.map +1 -1
- package/es/organism/review-header/types.js.map +1 -1
- package/es/organism/review-no-skills/index.js +0 -2
- package/es/organism/review-no-skills/index.js.map +1 -1
- package/es/organism/review-no-skills/index.native.js +0 -6
- package/es/organism/review-no-skills/index.native.js.map +1 -1
- package/es/organism/review-no-skills/prop-types.d.ts +1 -1
- package/es/organism/review-no-skills/prop-types.d.ts.map +1 -1
- package/es/organism/review-no-skills/prop-types.js.map +1 -1
- package/es/organism/review-skills/index.js +0 -2
- package/es/organism/review-skills/index.js.map +1 -1
- package/es/organism/review-skills/index.native.js +0 -3
- package/es/organism/review-skills/index.native.js.map +1 -1
- package/es/organism/review-skills/prop-types.d.ts +1 -1
- package/es/organism/review-skills/prop-types.d.ts.map +1 -1
- package/es/organism/review-skills/prop-types.js.map +1 -1
- package/es/organism/review-slide/index.js +8 -16
- package/es/organism/review-slide/index.js.map +1 -1
- package/es/organism/review-slide/index.native.js +3 -10
- package/es/organism/review-slide/index.native.js.map +1 -1
- package/es/organism/review-slide/prop-types.d.ts +5 -5
- package/es/organism/review-slide/prop-types.d.ts.map +1 -1
- package/es/organism/review-slide/prop-types.js +1 -1
- package/es/organism/review-slide/prop-types.js.map +1 -1
- package/es/organism/review-stacked-slides/index.js +2 -9
- package/es/organism/review-stacked-slides/index.js.map +1 -1
- package/es/organism/review-stacked-slides/index.native.js +5 -10
- package/es/organism/review-stacked-slides/index.native.js.map +1 -1
- package/es/organism/review-stacked-slides/prop-types.d.ts +1 -1
- package/es/organism/review-stacked-slides/prop-types.d.ts.map +1 -1
- package/es/organism/review-stacked-slides/prop-types.js.map +1 -1
- package/es/organism/rewards-form/index.js +3 -8
- package/es/organism/rewards-form/index.js.map +1 -1
- package/es/organism/search-and-chips-results/index.js +0 -6
- package/es/organism/search-and-chips-results/index.js.map +1 -1
- package/es/organism/settings/index.js +5 -12
- package/es/organism/settings/index.js.map +1 -1
- package/es/organism/setup-header/index.js +0 -5
- package/es/organism/setup-header/index.js.map +1 -1
- package/es/organism/sidebar/index.js +8 -26
- package/es/organism/sidebar/index.js.map +1 -1
- package/es/organism/slider/index.js +2 -18
- package/es/organism/slider/index.js.map +1 -1
- package/es/organism/user-preferences/index.js +5 -13
- package/es/organism/user-preferences/index.js.map +1 -1
- package/es/organism/wizard-contents/index.js +0 -13
- package/es/organism/wizard-contents/index.js.map +1 -1
- package/es/template/activity/engine-stars.js +5 -17
- package/es/template/activity/engine-stars.js.map +1 -1
- package/es/template/activity/index.js +2 -4
- package/es/template/activity/index.js.map +1 -1
- package/es/template/activity/progression-item.js +2 -7
- package/es/template/activity/progression-item.js.map +1 -1
- package/es/template/activity/stars-summary.js +0 -13
- package/es/template/activity/stars-summary.js.map +1 -1
- package/es/template/app-player/loading/index.js +0 -2
- package/es/template/app-player/loading/index.js.map +1 -1
- package/es/template/app-player/player/index.js +0 -3
- package/es/template/app-player/player/index.js.map +1 -1
- package/es/template/app-player/player/slides/footer/index.js +0 -16
- package/es/template/app-player/player/slides/footer/index.js.map +1 -1
- package/es/template/app-player/player/slides/header/index.js +0 -2
- package/es/template/app-player/player/slides/header/index.js.map +1 -1
- package/es/template/app-player/player/slides/header/learner.js +4 -14
- package/es/template/app-player/player/slides/header/learner.js.map +1 -1
- package/es/template/app-player/player/slides/header/lives.js +0 -3
- package/es/template/app-player/player/slides/header/lives.js.map +1 -1
- package/es/template/app-player/player/slides/header/microlearning.js +2 -5
- package/es/template/app-player/player/slides/header/microlearning.js.map +1 -1
- package/es/template/app-player/player/slides/index.js +21 -64
- package/es/template/app-player/player/slides/index.js.map +1 -1
- package/es/template/app-player/popin-correction/index.js +10 -34
- package/es/template/app-player/popin-correction/index.js.map +1 -1
- package/es/template/app-player/popin-end/index.js +0 -5
- package/es/template/app-player/popin-end/index.js.map +1 -1
- package/es/template/app-player/popin-end/summary.js +22 -54
- package/es/template/app-player/popin-end/summary.js.map +1 -1
- package/es/template/app-player/popin-header/index.js +12 -46
- package/es/template/app-player/popin-header/index.js.map +1 -1
- package/es/template/app-player/popin-no-access/index.js +0 -2
- package/es/template/app-player/popin-no-access/index.js.map +1 -1
- package/es/template/app-review/demo-ts/index.js +0 -2
- package/es/template/app-review/demo-ts/index.js.map +1 -1
- package/es/template/app-review/demo-ts/index.native.js +0 -2
- package/es/template/app-review/demo-ts/index.native.js.map +1 -1
- package/es/template/app-review/demo-ts/typings.d.ts +1 -1
- package/es/template/app-review/demo-ts/typings.d.ts.map +1 -1
- package/es/template/app-review/demo-ts/typings.js.map +1 -1
- package/es/template/app-review/index.js +0 -3
- package/es/template/app-review/index.js.map +1 -1
- package/es/template/app-review/index.native.js +2 -4
- package/es/template/app-review/index.native.js.map +1 -1
- package/es/template/app-review/onboarding/index.js.map +1 -1
- package/es/template/app-review/onboarding/index.native.js.map +1 -1
- package/es/template/app-review/player/background-review.js +0 -2
- package/es/template/app-review/player/background-review.js.map +1 -1
- package/es/template/app-review/player/index.js +0 -2
- package/es/template/app-review/player/index.js.map +1 -1
- package/es/template/app-review/player/index.native.js +0 -6
- package/es/template/app-review/player/index.native.js.map +1 -1
- package/es/template/app-review/player/prop-types.d.ts +1 -1
- package/es/template/app-review/player/prop-types.d.ts.map +1 -1
- package/es/template/app-review/player/prop-types.js +0 -1
- package/es/template/app-review/player/prop-types.js.map +1 -1
- package/es/template/app-review/prop-types.d.ts +2 -2
- package/es/template/app-review/prop-types.d.ts.map +1 -1
- package/es/template/app-review/prop-types.js +0 -1
- package/es/template/app-review/prop-types.js.map +1 -1
- package/es/template/app-review/skills/index.js +0 -2
- package/es/template/app-review/skills/index.js.map +1 -1
- package/es/template/app-review/skills/index.native.js +0 -6
- package/es/template/app-review/skills/index.native.js.map +1 -1
- package/es/template/app-review/skills/prop-types.d.ts +1 -1
- package/es/template/app-review/skills/prop-types.d.ts.map +1 -1
- package/es/template/app-review/skills/prop-types.js.map +1 -1
- package/es/template/app-review/template-context.d.ts +5 -5
- package/es/template/app-review/template-context.d.ts.map +1 -1
- package/es/template/app-review/template-context.js +0 -5
- package/es/template/app-review/template-context.js.map +1 -1
- package/es/template/back-office/brand-create/index.js.map +1 -1
- package/es/template/back-office/brand-list/index.js +8 -14
- package/es/template/back-office/brand-list/index.js.map +1 -1
- package/es/template/back-office/brand-update/index.js +4 -25
- package/es/template/back-office/brand-update/index.js.map +1 -1
- package/es/template/back-office/dashboard-preview/dashboard-popin.js +0 -5
- package/es/template/back-office/dashboard-preview/dashboard-popin.js.map +1 -1
- package/es/template/back-office/dashboard-preview/index.js +0 -14
- package/es/template/back-office/dashboard-preview/index.js.map +1 -1
- package/es/template/back-office/layout/index.js +0 -3
- package/es/template/back-office/layout/index.js.map +1 -1
- package/es/template/battle-requests/index.js +2 -3
- package/es/template/battle-requests/index.js.map +1 -1
- package/es/template/cockpit/jw-uploader/index.js +0 -3
- package/es/template/cockpit/jw-uploader/index.js.map +1 -1
- package/es/template/common/authors/index.js +2 -10
- package/es/template/common/authors/index.js.map +1 -1
- package/es/template/common/coorp-header/content.js +0 -4
- package/es/template/common/coorp-header/content.js.map +1 -1
- package/es/template/common/coorp-header/index.js +0 -2
- package/es/template/common/coorp-header/index.js.map +1 -1
- package/es/template/common/dashboard/index.js +0 -13
- package/es/template/common/dashboard/index.js.map +1 -1
- package/es/template/common/discipline/index.js +0 -2
- package/es/template/common/discipline/index.js.map +1 -1
- package/es/template/common/search-page/index.js +0 -6
- package/es/template/common/search-page/index.js.map +1 -1
- package/es/template/external-course/index.js +2 -10
- package/es/template/external-course/index.js.map +1 -1
- package/es/template/review-dashboard-skills/index.js +0 -2
- package/es/template/review-dashboard-skills/index.js.map +1 -1
- package/es/template/teams-dashboard/index.d.ts +0 -2
- package/es/template/teams-dashboard/index.js +0 -4
- package/es/template/teams-dashboard/index.js.map +1 -1
- package/es/util/bubbling.js +0 -1
- package/es/util/bubbling.js.map +1 -1
- package/es/util/build-query-string.d.ts +1 -1
- package/es/util/build-query-string.d.ts.map +1 -1
- package/es/util/build-query-string.js +0 -2
- package/es/util/build-query-string.js.map +1 -1
- package/es/util/button-icons.js.map +1 -1
- package/es/util/closest-step.js +0 -6
- package/es/util/closest-step.js.map +1 -1
- package/es/util/constants.js.map +1 -1
- package/es/util/external-content.js.map +1 -1
- package/es/util/get-class-state.js +0 -2
- package/es/util/get-class-state.js.map +1 -1
- package/es/util/get-clean-uri.js +0 -1
- package/es/util/get-clean-uri.js.map +1 -1
- package/es/util/get-resized-image.js +0 -7
- package/es/util/get-resized-image.js.map +1 -1
- package/es/util/get-shadow-box-color-from-primary.js +2 -1
- package/es/util/get-shadow-box-color-from-primary.js.map +1 -1
- package/es/util/image.js +0 -4
- package/es/util/image.js.map +1 -1
- package/es/util/navigation.js +0 -9
- package/es/util/navigation.js.map +1 -1
- package/es/util/parse-template-string.js +0 -6
- package/es/util/parse-template-string.js.map +1 -1
- package/es/util/proptypes.js.map +1 -1
- package/es/util/render-with-context.js +8 -14
- package/es/util/render-with-context.js.map +1 -1
- package/es/util/shallow-compare.js +0 -2
- package/es/util/shallow-compare.js.map +1 -1
- package/es/variables/analytics.d.ts +2 -2
- package/es/variables/analytics.d.ts.map +1 -1
- package/es/variables/analytics.js.map +1 -1
- package/es/variables/brand.native.d.ts +1 -1
- package/es/variables/brand.native.d.ts.map +1 -1
- package/es/variables/brand.native.js.map +1 -1
- package/es/variables/colors.d.ts +1 -1
- package/es/variables/colors.d.ts.map +1 -1
- package/es/variables/colors.js.map +1 -1
- package/es/variables/default-mobile-translations.d.ts +2 -2
- package/es/variables/default-mobile-translations.d.ts.map +1 -1
- package/es/variables/default-mobile-translations.js.map +1 -1
- package/es/variables/shadow.d.ts +1 -1
- package/es/variables/shadow.d.ts.map +1 -1
- package/es/variables/shadow.js +0 -1
- package/es/variables/shadow.js.map +1 -1
- package/es/variables/theme.native.d.ts +3 -3
- package/es/variables/theme.native.d.ts.map +1 -1
- package/es/variables/theme.native.js.map +1 -1
- package/es/variables/vibration.d.ts +2 -2
- package/es/variables/vibration.d.ts.map +1 -1
- package/es/variables/vibration.js.map +1 -1
- package/lib/atom/autocomplete/index.js +0 -14
- package/lib/atom/autocomplete/index.js.map +1 -1
- package/lib/atom/avatar/index.js +0 -7
- package/lib/atom/avatar/index.js.map +1 -1
- package/lib/atom/button/index.js +0 -15
- package/lib/atom/button/index.js.map +1 -1
- package/lib/atom/button/index.native.d.ts +1 -1
- package/lib/atom/button/index.native.d.ts.map +1 -1
- package/lib/atom/button/index.native.js +0 -12
- package/lib/atom/button/index.native.js.map +1 -1
- package/lib/atom/button-link/index.js +0 -20
- package/lib/atom/button-link/index.js.map +1 -1
- package/lib/atom/button-link-icon-only/index.js +0 -22
- package/lib/atom/button-link-icon-only/index.js.map +1 -1
- package/lib/atom/button-menu/index.js +0 -13
- package/lib/atom/button-menu/index.js.map +1 -1
- package/lib/atom/card-image-preview/index.js +0 -9
- package/lib/atom/card-image-preview/index.js.map +1 -1
- package/lib/atom/catalog-section/index.js +0 -6
- package/lib/atom/catalog-section/index.js.map +1 -1
- package/lib/atom/centered-text/index.js +0 -6
- package/lib/atom/centered-text/index.js.map +1 -1
- package/lib/atom/checkbox/index.js +5 -17
- package/lib/atom/checkbox/index.js.map +1 -1
- package/lib/atom/checkbox-with-title/index.js +0 -11
- package/lib/atom/checkbox-with-title/index.js.map +1 -1
- package/lib/atom/chips/index.js +0 -10
- package/lib/atom/chips/index.js.map +1 -1
- package/lib/atom/choice/index.native.d.ts +1 -1
- package/lib/atom/choice/index.native.d.ts.map +1 -1
- package/lib/atom/choice/index.native.js +2 -22
- package/lib/atom/choice/index.native.js.map +1 -1
- package/lib/atom/clue/index.js +0 -19
- package/lib/atom/clue/index.js.map +1 -1
- package/lib/atom/content-badge/index.js +0 -8
- package/lib/atom/content-badge/index.js.map +1 -1
- package/lib/atom/cta/index.js +0 -21
- package/lib/atom/cta/index.js.map +1 -1
- package/lib/atom/difficulty-level/index.js +0 -14
- package/lib/atom/difficulty-level/index.js.map +1 -1
- package/lib/atom/drag-and-drop/index.js +0 -25
- package/lib/atom/drag-and-drop/index.js.map +1 -1
- package/lib/atom/empty-search-result/index.js +0 -6
- package/lib/atom/empty-search-result/index.js.map +1 -1
- package/lib/atom/gradient/index.native.d.ts +1 -1
- package/lib/atom/gradient/index.native.d.ts.map +1 -1
- package/lib/atom/gradient/index.native.js +0 -11
- package/lib/atom/gradient/index.native.js.map +1 -1
- package/lib/atom/header-back-button/index.native.d.ts +1 -1
- package/lib/atom/header-back-button/index.native.d.ts.map +1 -1
- package/lib/atom/header-back-button/index.native.js +0 -16
- package/lib/atom/header-back-button/index.native.js.map +1 -1
- package/lib/atom/header-back-icon/index.native.d.ts +1 -1
- package/lib/atom/header-back-icon/index.native.d.ts.map +1 -1
- package/lib/atom/header-back-icon/index.native.js +0 -7
- package/lib/atom/header-back-icon/index.native.js.map +1 -1
- package/lib/atom/html/index.native.d.ts +1 -1
- package/lib/atom/html/index.native.d.ts.map +1 -1
- package/lib/atom/html/index.native.js +6 -21
- package/lib/atom/html/index.native.js.map +1 -1
- package/lib/atom/image-background/index.native.d.ts +1 -1
- package/lib/atom/image-background/index.native.d.ts.map +1 -1
- package/lib/atom/image-background/index.native.js +11 -33
- package/lib/atom/image-background/index.native.js.map +1 -1
- package/lib/atom/image-upload/index.js +0 -16
- package/lib/atom/image-upload/index.js.map +1 -1
- package/lib/atom/input-checkbox/index.js +0 -15
- package/lib/atom/input-checkbox/index.js.map +1 -1
- package/lib/atom/input-color/index.js +0 -10
- package/lib/atom/input-color/index.js.map +1 -1
- package/lib/atom/input-doublestep/index.js +0 -25
- package/lib/atom/input-doublestep/index.js.map +1 -1
- package/lib/atom/input-html/index.js +0 -16
- package/lib/atom/input-html/index.js.map +1 -1
- package/lib/atom/input-html/input-preview.js +2 -8
- package/lib/atom/input-html/input-preview.js.map +1 -1
- package/lib/atom/input-readonly/index.js +0 -6
- package/lib/atom/input-readonly/index.js.map +1 -1
- package/lib/atom/input-search/index.js +0 -13
- package/lib/atom/input-search/index.js.map +1 -1
- package/lib/atom/input-switch/index.js +0 -15
- package/lib/atom/input-switch/index.js.map +1 -1
- package/lib/atom/input-text/index.js +2 -17
- package/lib/atom/input-text/index.js.map +1 -1
- package/lib/atom/input-text-with-title/index.js +0 -8
- package/lib/atom/input-text-with-title/index.js.map +1 -1
- package/lib/atom/input-textarea/index.js +2 -16
- package/lib/atom/input-textarea/index.js.map +1 -1
- package/lib/atom/label/index.js +0 -7
- package/lib/atom/label/index.js.map +1 -1
- package/lib/atom/life/index.js +0 -15
- package/lib/atom/life/index.js.map +1 -1
- package/lib/atom/link/index.js +7 -32
- package/lib/atom/link/index.js.map +1 -1
- package/lib/atom/loader/index.js +0 -8
- package/lib/atom/loader/index.js.map +1 -1
- package/lib/atom/loader/index.native.d.ts +1 -1
- package/lib/atom/loader/index.native.d.ts.map +1 -1
- package/lib/atom/loader/index.native.js +2 -18
- package/lib/atom/loader/index.native.js.map +1 -1
- package/lib/atom/lottie-wrapper/index.js +3 -26
- package/lib/atom/lottie-wrapper/index.js.map +1 -1
- package/lib/atom/lottie-wrapper/prop-types.d.ts +1 -1
- package/lib/atom/lottie-wrapper/prop-types.d.ts.map +1 -1
- package/lib/atom/lottie-wrapper/prop-types.js +0 -4
- package/lib/atom/lottie-wrapper/prop-types.js.map +1 -1
- package/lib/atom/notification/index.js +0 -8
- package/lib/atom/notification/index.js.map +1 -1
- package/lib/atom/picture/index.js +0 -21
- package/lib/atom/picture/index.js.map +1 -1
- package/lib/atom/picture-background/index.js +0 -10
- package/lib/atom/picture-background/index.js.map +1 -1
- package/lib/atom/promo-code/index.js +0 -7
- package/lib/atom/promo-code/index.js.map +1 -1
- package/lib/atom/provider/index.js +2 -28
- package/lib/atom/provider/index.js.map +1 -1
- package/lib/atom/provider/web-context.d.ts +3 -3
- package/lib/atom/provider/web-context.d.ts.map +1 -1
- package/lib/atom/provider/web-context.js +6 -18
- package/lib/atom/provider/web-context.js.map +1 -1
- package/lib/atom/radio-group/index.js +0 -13
- package/lib/atom/radio-group/index.js.map +1 -1
- package/lib/atom/radio-group/item.js +0 -14
- package/lib/atom/radio-group/item.js.map +1 -1
- package/lib/atom/range/handle.js +9 -25
- package/lib/atom/range/handle.js.map +1 -1
- package/lib/atom/range/index.js +0 -28
- package/lib/atom/range/index.js.map +1 -1
- package/lib/atom/resource-miniature/index.js +2 -13
- package/lib/atom/resource-miniature/index.js.map +1 -1
- package/lib/atom/review-header-step-item/index.js +0 -15
- package/lib/atom/review-header-step-item/index.js.map +1 -1
- package/lib/atom/review-header-step-item/index.native.js +0 -20
- package/lib/atom/review-header-step-item/index.native.js.map +1 -1
- package/lib/atom/review-header-step-item/types.d.ts +2 -2
- package/lib/atom/review-header-step-item/types.d.ts.map +1 -1
- package/lib/atom/review-header-step-item/types.js +0 -3
- package/lib/atom/review-header-step-item/types.js.map +1 -1
- package/lib/atom/review-presentation/index.js +5 -18
- package/lib/atom/review-presentation/index.js.map +1 -1
- package/lib/atom/review-presentation/index.native.js +3 -19
- package/lib/atom/review-presentation/index.native.js.map +1 -1
- package/lib/atom/review-presentation/prop-types.d.ts +2 -2
- package/lib/atom/review-presentation/prop-types.d.ts.map +1 -1
- package/lib/atom/review-presentation/prop-types.js +0 -4
- package/lib/atom/review-presentation/prop-types.js.map +1 -1
- package/lib/atom/select/index.js +2 -30
- package/lib/atom/select/index.js.map +1 -1
- package/lib/atom/select-modal/index.native.d.ts +2 -2
- package/lib/atom/select-modal/index.native.d.ts.map +1 -1
- package/lib/atom/select-modal/index.native.js +0 -25
- package/lib/atom/select-modal/index.native.js.map +1 -1
- package/lib/atom/slide/index.js +0 -8
- package/lib/atom/slide/index.js.map +1 -1
- package/lib/atom/social-link/index.js +0 -8
- package/lib/atom/social-link/index.js.map +1 -1
- package/lib/atom/space/index.native.d.ts +1 -1
- package/lib/atom/space/index.native.d.ts.map +1 -1
- package/lib/atom/space/index.native.js +0 -7
- package/lib/atom/space/index.native.js.map +1 -1
- package/lib/atom/spinner/index.js +0 -5
- package/lib/atom/spinner/index.js.map +1 -1
- package/lib/atom/tab/index.js +0 -9
- package/lib/atom/tab/index.js.map +1 -1
- package/lib/atom/tab-content/index.js +0 -7
- package/lib/atom/tab-content/index.js.map +1 -1
- package/lib/atom/tag/index.js +0 -8
- package/lib/atom/tag/index.js.map +1 -1
- package/lib/atom/text/index.native.d.ts +1 -1
- package/lib/atom/text/index.native.d.ts.map +1 -1
- package/lib/atom/text/index.native.js +0 -10
- package/lib/atom/text/index.native.js.map +1 -1
- package/lib/atom/title/index.js +0 -12
- package/lib/atom/title/index.js.map +1 -1
- package/lib/atom/tooltip/index.js +0 -16
- package/lib/atom/tooltip/index.js.map +1 -1
- package/lib/atom/video-upload/index.js +0 -8
- package/lib/atom/video-upload/index.js.map +1 -1
- package/lib/atom/wizard-steps/index.js +0 -7
- package/lib/atom/wizard-steps/index.js.map +1 -1
- package/lib/hoc/animation/index.js +0 -18
- package/lib/hoc/animation/index.js.map +1 -1
- package/lib/hoc/animation-scheduler/index.js +0 -39
- package/lib/hoc/animation-scheduler/index.js.map +1 -1
- package/lib/hoc/modal/index.native.d.ts +1 -1
- package/lib/hoc/modal/index.native.d.ts.map +1 -1
- package/lib/hoc/modal/index.native.js +0 -14
- package/lib/hoc/modal/index.native.js.map +1 -1
- package/lib/hoc/modal/select/index.native.d.ts +2 -2
- package/lib/hoc/modal/select/index.native.d.ts.map +1 -1
- package/lib/hoc/modal/select/index.native.js +0 -19
- package/lib/hoc/modal/select/index.native.js.map +1 -1
- package/lib/hoc/modal/select-item/index.native.d.ts +1 -1
- package/lib/hoc/modal/select-item/index.native.d.ts.map +1 -1
- package/lib/hoc/modal/select-item/index.native.js +0 -16
- package/lib/hoc/modal/select-item/index.native.js.map +1 -1
- package/lib/hoc/swapper/index.js +4 -20
- package/lib/hoc/swapper/index.js.map +1 -1
- package/lib/hoc/touchable/index.native.d.ts +1 -1
- package/lib/hoc/touchable/index.native.d.ts.map +1 -1
- package/lib/hoc/touchable/index.native.js +0 -13
- package/lib/hoc/touchable/index.native.js.map +1 -1
- package/lib/hoc/transition/index.js +0 -11
- package/lib/hoc/transition/index.js.map +1 -1
- package/lib/index.js +0 -13
- package/lib/index.js.map +1 -1
- package/lib/molecule/add-to-my-list/index.js +0 -22
- package/lib/molecule/add-to-my-list/index.js.map +1 -1
- package/lib/molecule/answer/index.d.ts +3 -0
- package/lib/molecule/answer/index.d.ts.map +1 -1
- package/lib/molecule/answer/index.js +14 -44
- package/lib/molecule/answer/index.js.map +1 -1
- package/lib/molecule/answer/index.native.js +0 -14
- package/lib/molecule/answer/index.native.js.map +1 -1
- package/lib/molecule/answer/prop-types.d.ts +3 -3
- package/lib/molecule/answer/prop-types.d.ts.map +1 -1
- package/lib/molecule/answer/prop-types.js +0 -13
- package/lib/molecule/answer/prop-types.js.map +1 -1
- package/lib/molecule/audio/index.js +2 -18
- package/lib/molecule/audio/index.js.map +1 -1
- package/lib/molecule/banner/index.js +0 -11
- package/lib/molecule/banner/index.js.map +1 -1
- package/lib/molecule/battle-request/index.js +2 -13
- package/lib/molecule/battle-request/index.js.map +1 -1
- package/lib/molecule/brand-card/description.js +0 -7
- package/lib/molecule/brand-card/description.js.map +1 -1
- package/lib/molecule/brand-card/index.js +0 -10
- package/lib/molecule/brand-card/index.js.map +1 -1
- package/lib/molecule/brand-card-create/index.js +0 -7
- package/lib/molecule/brand-card-create/index.js.map +1 -1
- package/lib/molecule/brand-create-form/index.js +0 -11
- package/lib/molecule/brand-create-form/index.js.map +1 -1
- package/lib/molecule/brand-download-box/index.js +0 -10
- package/lib/molecule/brand-download-box/index.js.map +1 -1
- package/lib/molecule/brand-form-group/index.js +0 -58
- package/lib/molecule/brand-form-group/index.js.map +1 -1
- package/lib/molecule/brand-logo/index.native.js +0 -11
- package/lib/molecule/brand-logo/index.native.js.map +1 -1
- package/lib/molecule/brand-tabs/index.js +0 -10
- package/lib/molecule/brand-tabs/index.js.map +1 -1
- package/lib/molecule/brand-upload-box/index.js +0 -17
- package/lib/molecule/brand-upload-box/index.js.map +1 -1
- package/lib/molecule/breadcrumbs/index.js +0 -13
- package/lib/molecule/breadcrumbs/index.js.map +1 -1
- package/lib/molecule/bullet-point-menu-button/index.js +0 -12
- package/lib/molecule/bullet-point-menu-button/index.js.map +1 -1
- package/lib/molecule/card/customer.js +0 -9
- package/lib/molecule/card/customer.js.map +1 -1
- package/lib/molecule/card/favorite.js +0 -15
- package/lib/molecule/card/favorite.js.map +1 -1
- package/lib/molecule/card/index.js +0 -34
- package/lib/molecule/card/index.js.map +1 -1
- package/lib/molecule/card/notification.js +0 -12
- package/lib/molecule/card/notification.js.map +1 -1
- package/lib/molecule/card/selectable.js +0 -9
- package/lib/molecule/card/selectable.js.map +1 -1
- package/lib/molecule/card-congrats/index.native.js +0 -15
- package/lib/molecule/card-congrats/index.native.js.map +1 -1
- package/lib/molecule/card-congrats/types.d.ts +1 -1
- package/lib/molecule/card-congrats/types.d.ts.map +1 -1
- package/lib/molecule/card-content/index.js +2 -26
- package/lib/molecule/card-content/index.js.map +1 -1
- package/lib/molecule/card-with-button/index.js +0 -12
- package/lib/molecule/card-with-button/index.js.map +1 -1
- package/lib/molecule/cm-popin/index.js +4 -19
- package/lib/molecule/cm-popin/index.js.map +1 -1
- package/lib/molecule/cm-popin/index.native.js +0 -15
- package/lib/molecule/cm-popin/index.native.js.map +1 -1
- package/lib/molecule/cm-popin/types.d.ts +2 -2
- package/lib/molecule/cm-popin/types.d.ts.map +1 -1
- package/lib/molecule/cm-popin/types.js +0 -5
- package/lib/molecule/cm-popin/types.js.map +1 -1
- package/lib/molecule/cookie-banner/index.js +0 -10
- package/lib/molecule/cookie-banner/index.js.map +1 -1
- package/lib/molecule/coorp-manager-roles/index.js +0 -8
- package/lib/molecule/coorp-manager-roles/index.js.map +1 -1
- package/lib/molecule/course-section/index.js +0 -9
- package/lib/molecule/course-section/index.js.map +1 -1
- package/lib/molecule/course-sections/index.js +0 -16
- package/lib/molecule/course-sections/index.js.map +1 -1
- package/lib/molecule/dashboard/battle-request-list/index.js +0 -7
- package/lib/molecule/dashboard/battle-request-list/index.js.map +1 -1
- package/lib/molecule/dashboard/cards-list/index.js +2 -59
- package/lib/molecule/dashboard/cards-list/index.js.map +1 -1
- package/lib/molecule/dashboard/news-list/index.js +0 -10
- package/lib/molecule/dashboard/news-list/index.js.map +1 -1
- package/lib/molecule/dashboard/review-banner/index.js +0 -10
- package/lib/molecule/dashboard/review-banner/index.js.map +1 -1
- package/lib/molecule/dashboard/start-battle/index.js +0 -9
- package/lib/molecule/dashboard/start-battle/index.js.map +1 -1
- package/lib/molecule/discipline-cta/index.js +0 -11
- package/lib/molecule/discipline-cta/index.js.map +1 -1
- package/lib/molecule/discipline-header/index.js +4 -20
- package/lib/molecule/discipline-header/index.js.map +1 -1
- package/lib/molecule/discipline-partners/index.js +0 -21
- package/lib/molecule/discipline-partners/index.js.map +1 -1
- package/lib/molecule/discipline-scope/index.js +0 -7
- package/lib/molecule/discipline-scope/index.js.map +1 -1
- package/lib/molecule/drag-and-drop/index.js +0 -20
- package/lib/molecule/drag-and-drop/index.js.map +1 -1
- package/lib/molecule/drag-and-drop/overlay.js +0 -10
- package/lib/molecule/drag-and-drop/overlay.js.map +1 -1
- package/lib/molecule/drag-and-drop/placeholder.js +0 -7
- package/lib/molecule/drag-and-drop/placeholder.js.map +1 -1
- package/lib/molecule/drag-and-drop/upload-report.js +0 -30
- package/lib/molecule/drag-and-drop/upload-report.js.map +1 -1
- package/lib/molecule/drag-and-drop-wrapper/index.js +0 -8
- package/lib/molecule/drag-and-drop-wrapper/index.js.map +1 -1
- package/lib/molecule/draggable/index.js +0 -11
- package/lib/molecule/draggable/index.js.map +1 -1
- package/lib/molecule/draggable-list/index.js +0 -12
- package/lib/molecule/draggable-list/index.js.map +1 -1
- package/lib/molecule/empty-state-dashboard/index.js +0 -8
- package/lib/molecule/empty-state-dashboard/index.js.map +1 -1
- package/lib/molecule/empty-state-dashboard/types.d.ts +1 -1
- package/lib/molecule/empty-state-dashboard/types.d.ts.map +1 -1
- package/lib/molecule/empty-state-dashboard/types.js +0 -4
- package/lib/molecule/empty-state-dashboard/types.js.map +1 -1
- package/lib/molecule/external-content-button/index.js +0 -11
- package/lib/molecule/external-content-button/index.js.map +1 -1
- package/lib/molecule/external-content-viewer/index.js +0 -9
- package/lib/molecule/external-content-viewer/index.js.map +1 -1
- package/lib/molecule/feedback/index.js +6 -19
- package/lib/molecule/feedback/index.js.map +1 -1
- package/lib/molecule/filters/filters-wrapper.js +0 -22
- package/lib/molecule/filters/filters-wrapper.js.map +1 -1
- package/lib/molecule/filters/index.js +0 -17
- package/lib/molecule/filters/index.js.map +1 -1
- package/lib/molecule/forum/forum-comment/index.js +0 -14
- package/lib/molecule/forum/forum-comment/index.js.map +1 -1
- package/lib/molecule/forum/forum-post/index.js +0 -15
- package/lib/molecule/forum/forum-post/index.js.map +1 -1
- package/lib/molecule/forum/forum-thread/index.js +0 -9
- package/lib/molecule/forum/forum-thread/index.js.map +1 -1
- package/lib/molecule/forum/post-conditions.js +0 -4
- package/lib/molecule/forum/post-conditions.js.map +1 -1
- package/lib/molecule/go1-banner/index.js +4 -9
- package/lib/molecule/go1-banner/index.js.map +1 -1
- package/lib/molecule/hero/index.js +0 -13
- package/lib/molecule/hero/index.js.map +1 -1
- package/lib/molecule/input-text-with-titled-checkbox/index.js +0 -8
- package/lib/molecule/input-text-with-titled-checkbox/index.js.map +1 -1
- package/lib/molecule/list-badges/index.js +0 -8
- package/lib/molecule/list-badges/index.js.map +1 -1
- package/lib/molecule/login-alert/index.js +2 -8
- package/lib/molecule/login-alert/index.js.map +1 -1
- package/lib/molecule/menu-list/index.js +0 -10
- package/lib/molecule/menu-list/index.js.map +1 -1
- package/lib/molecule/message-popin/index.js +0 -6
- package/lib/molecule/message-popin/index.js.map +1 -1
- package/lib/molecule/modal/index.js +6 -13
- package/lib/molecule/modal/index.js.map +1 -1
- package/lib/molecule/module-bubble/index.js +0 -12
- package/lib/molecule/module-bubble/index.js.map +1 -1
- package/lib/molecule/module-card/index.js +2 -12
- package/lib/molecule/module-card/index.js.map +1 -1
- package/lib/molecule/news/index.js +0 -10
- package/lib/molecule/news/index.js.map +1 -1
- package/lib/molecule/notification-banner/index.js +0 -14
- package/lib/molecule/notification-banner/index.js.map +1 -1
- package/lib/molecule/pagination/index.js +0 -7
- package/lib/molecule/pagination/index.js.map +1 -1
- package/lib/molecule/payment-form/index.js +0 -18
- package/lib/molecule/payment-form/index.js.map +1 -1
- package/lib/molecule/pdf/index.js +2 -12
- package/lib/molecule/pdf/index.js.map +1 -1
- package/lib/molecule/popin/index.js +2 -14
- package/lib/molecule/popin/index.js.map +1 -1
- package/lib/molecule/product-card/index.js +0 -8
- package/lib/molecule/product-card/index.js.map +1 -1
- package/lib/molecule/progress-bar/index.js +0 -9
- package/lib/molecule/progress-bar/index.js.map +1 -1
- package/lib/molecule/questions/drop-down/index.js +0 -10
- package/lib/molecule/questions/drop-down/index.js.map +1 -1
- package/lib/molecule/questions/free-text/index.js +0 -13
- package/lib/molecule/questions/free-text/index.js.map +1 -1
- package/lib/molecule/questions/free-text/index.native.d.ts +1 -1
- package/lib/molecule/questions/free-text/index.native.d.ts.map +1 -1
- package/lib/molecule/questions/free-text/index.native.js +12 -18
- package/lib/molecule/questions/free-text/index.native.js.map +1 -1
- package/lib/molecule/questions/mobile/draggable/index.native.js +0 -18
- package/lib/molecule/questions/mobile/draggable/index.native.js.map +1 -1
- package/lib/molecule/questions/mobile/slider/index.native.d.ts +2 -2
- package/lib/molecule/questions/mobile/slider/index.native.d.ts.map +1 -1
- package/lib/molecule/questions/mobile/slider/index.native.js +0 -16
- package/lib/molecule/questions/mobile/slider/index.native.js.map +1 -1
- package/lib/molecule/questions/mobile/switch/index.native.d.ts +1 -1
- package/lib/molecule/questions/mobile/switch/index.native.d.ts.map +1 -1
- package/lib/molecule/questions/mobile/switch/index.native.js +0 -26
- package/lib/molecule/questions/mobile/switch/index.native.js.map +1 -1
- package/lib/molecule/questions/mobile/template/index.native.d.ts +1 -1
- package/lib/molecule/questions/mobile/template/index.native.d.ts.map +1 -1
- package/lib/molecule/questions/mobile/template/index.native.js +0 -29
- package/lib/molecule/questions/mobile/template/index.native.js.map +1 -1
- package/lib/molecule/questions/qcm/index.js +3 -18
- package/lib/molecule/questions/qcm/index.js.map +1 -1
- package/lib/molecule/questions/qcm-drag/index.js +4 -25
- package/lib/molecule/questions/qcm-drag/index.js.map +1 -1
- package/lib/molecule/questions/qcm-graphic/index.js +2 -14
- package/lib/molecule/questions/qcm-graphic/index.js.map +1 -1
- package/lib/molecule/questions/question-range/index.js +12 -25
- package/lib/molecule/questions/question-range/index.js.map +1 -1
- package/lib/molecule/questions/template/index.js +5 -24
- package/lib/molecule/questions/template/index.js.map +1 -1
- package/lib/molecule/questions/types.d.ts +12 -12
- package/lib/molecule/questions/types.d.ts.map +1 -1
- package/lib/molecule/quick-access-card/index.js +0 -24
- package/lib/molecule/quick-access-card/index.js.map +1 -1
- package/lib/molecule/quick-access-cards-group/index.js +0 -10
- package/lib/molecule/quick-access-cards-group/index.js.map +1 -1
- package/lib/molecule/resource-player/index.js +5 -36
- package/lib/molecule/resource-player/index.js.map +1 -1
- package/lib/molecule/review-card-congrats/index.js +2 -23
- package/lib/molecule/review-card-congrats/index.js.map +1 -1
- package/lib/molecule/review-card-congrats/prop-types.d.ts +1 -1
- package/lib/molecule/review-card-congrats/prop-types.d.ts.map +1 -1
- package/lib/molecule/review-card-congrats/prop-types.js +0 -4
- package/lib/molecule/review-card-congrats/prop-types.js.map +1 -1
- package/lib/molecule/review-correction-popin/index.js +4 -16
- package/lib/molecule/review-correction-popin/index.js.map +1 -1
- package/lib/molecule/review-correction-popin/index.native.js +0 -20
- package/lib/molecule/review-correction-popin/index.native.js.map +1 -1
- package/lib/molecule/review-correction-popin/prop-types.d.ts +3 -3
- package/lib/molecule/review-correction-popin/prop-types.d.ts.map +1 -1
- package/lib/molecule/review-correction-popin/prop-types.js +0 -3
- package/lib/molecule/review-correction-popin/prop-types.js.map +1 -1
- package/lib/molecule/review-header-steps/index.js +0 -11
- package/lib/molecule/review-header-steps/index.js.map +1 -1
- package/lib/molecule/review-header-steps/prop-types.d.ts +1 -1
- package/lib/molecule/review-header-steps/prop-types.d.ts.map +1 -1
- package/lib/molecule/review-header-steps/prop-types.js +0 -4
- package/lib/molecule/review-header-steps/prop-types.js.map +1 -1
- package/lib/molecule/scope-content/index.js +6 -25
- package/lib/molecule/scope-content/index.js.map +1 -1
- package/lib/molecule/scope-tabs/index.js +0 -16
- package/lib/molecule/scope-tabs/index.js.map +1 -1
- package/lib/molecule/search-form/index.js +0 -12
- package/lib/molecule/search-form/index.js.map +1 -1
- package/lib/molecule/select-multiple/index.js +2 -35
- package/lib/molecule/select-multiple/index.js.map +1 -1
- package/lib/molecule/setup-cohort-item/index.js +0 -17
- package/lib/molecule/setup-cohort-item/index.js.map +1 -1
- package/lib/molecule/setup-section/index.js +0 -15
- package/lib/molecule/setup-section/index.js.map +1 -1
- package/lib/molecule/setup-sections/index.js +0 -10
- package/lib/molecule/setup-sections/index.js.map +1 -1
- package/lib/molecule/setup-slide/index.js +0 -30
- package/lib/molecule/setup-slide/index.js.map +1 -1
- package/lib/molecule/setup-slider/index.js +0 -11
- package/lib/molecule/setup-slider/index.js.map +1 -1
- package/lib/molecule/share/index.js +6 -29
- package/lib/molecule/share/index.js.map +1 -1
- package/lib/molecule/skill-card/index.js +0 -13
- package/lib/molecule/skill-card/index.js.map +1 -1
- package/lib/molecule/skill-card/index.native.js +0 -12
- package/lib/molecule/skill-card/index.native.js.map +1 -1
- package/lib/molecule/skill-card/prop-types.d.ts +1 -1
- package/lib/molecule/skill-card/prop-types.d.ts.map +1 -1
- package/lib/molecule/skill-card/prop-types.js +0 -3
- package/lib/molecule/skill-card/prop-types.js.map +1 -1
- package/lib/molecule/ssmenu-list/index.js +0 -6
- package/lib/molecule/ssmenu-list/index.js.map +1 -1
- package/lib/molecule/subscription-freemium/index.js +0 -7
- package/lib/molecule/subscription-freemium/index.js.map +1 -1
- package/lib/molecule/subscription-premium/index.js +0 -11
- package/lib/molecule/subscription-premium/index.js.map +1 -1
- package/lib/molecule/table/index.js +0 -28
- package/lib/molecule/table/index.js.map +1 -1
- package/lib/molecule/teams-popin/index.js +0 -10
- package/lib/molecule/teams-popin/index.js.map +1 -1
- package/lib/molecule/theme-image/index.js +0 -8
- package/lib/molecule/theme-image/index.js.map +1 -1
- package/lib/molecule/title-and-checkbox-wrapper/index.js +0 -12
- package/lib/molecule/title-and-checkbox-wrapper/index.js.map +1 -1
- package/lib/molecule/titled-checkbox/index.js +0 -11
- package/lib/molecule/titled-checkbox/index.js.map +1 -1
- package/lib/molecule/unsubscribe/index.js +0 -8
- package/lib/molecule/unsubscribe/index.js.map +1 -1
- package/lib/molecule/vertical-tabs/index.js +0 -14
- package/lib/molecule/vertical-tabs/index.js.map +1 -1
- package/lib/molecule/video-iframe/index.js +0 -19
- package/lib/molecule/video-iframe/index.js.map +1 -1
- package/lib/molecule/video-player/index.js +6 -31
- package/lib/molecule/video-player/index.js.map +1 -1
- package/lib/molecule/video-player/jwplayer-prop-types.js +0 -4
- package/lib/molecule/video-player/jwplayer-prop-types.js.map +1 -1
- package/lib/molecule/video-player/jwplayer.js +3 -36
- package/lib/molecule/video-player/jwplayer.js.map +1 -1
- package/lib/molecule/video-player/prop-types.js +0 -4
- package/lib/molecule/video-player/prop-types.js.map +1 -1
- package/lib/molecule/video-player/vimeo.js +0 -46
- package/lib/molecule/video-player/vimeo.js.map +1 -1
- package/lib/molecule/wizard-summary/index.js +2 -28
- package/lib/molecule/wizard-summary/index.js.map +1 -1
- package/lib/organism/accordion/container/index.js +0 -18
- package/lib/organism/accordion/container/index.js.map +1 -1
- package/lib/organism/accordion/coorp-manager/index.js +0 -21
- package/lib/organism/accordion/coorp-manager/index.js.map +1 -1
- package/lib/organism/accordion/coorp-manager/part/index.js +0 -19
- package/lib/organism/accordion/coorp-manager/part/index.js.map +1 -1
- package/lib/organism/accordion/part/index.js +0 -12
- package/lib/organism/accordion/part/index.js.map +1 -1
- package/lib/organism/accordion/toggler/index.js +0 -20
- package/lib/organism/accordion/toggler/index.js.map +1 -1
- package/lib/organism/brand-analytics/analytics-popin.js +0 -14
- package/lib/organism/brand-analytics/analytics-popin.js.map +1 -1
- package/lib/organism/brand-analytics/index.js +0 -21
- package/lib/organism/brand-analytics/index.js.map +1 -1
- package/lib/organism/brand-dashboard/index.js +0 -10
- package/lib/organism/brand-dashboard/index.js.map +1 -1
- package/lib/organism/brand-form/index.js +0 -18
- package/lib/organism/brand-form/index.js.map +1 -1
- package/lib/organism/brand-table/index.js +0 -12
- package/lib/organism/brand-table/index.js.map +1 -1
- package/lib/organism/brand-upload/index.js +0 -13
- package/lib/organism/brand-upload/index.js.map +1 -1
- package/lib/organism/cards-grid/index.js +0 -9
- package/lib/organism/cards-grid/index.js.map +1 -1
- package/lib/organism/cart/index.js +0 -11
- package/lib/organism/cart/index.js.map +1 -1
- package/lib/organism/content-translation/index.js +0 -14
- package/lib/organism/content-translation/index.js.map +1 -1
- package/lib/organism/course-selection/index.js +0 -18
- package/lib/organism/course-selection/index.js.map +1 -1
- package/lib/organism/discussion/index.js +2 -14
- package/lib/organism/discussion/index.js.map +1 -1
- package/lib/organism/get-the-app/index.js +0 -21
- package/lib/organism/get-the-app/index.js.map +1 -1
- package/lib/organism/grid-list/index.js +0 -6
- package/lib/organism/grid-list/index.js.map +1 -1
- package/lib/organism/header/index.js +0 -9
- package/lib/organism/header/index.js.map +1 -1
- package/lib/organism/header-v2/index.native.js +3 -17
- package/lib/organism/header-v2/index.native.js.map +1 -1
- package/lib/organism/hero/index.js +0 -11
- package/lib/organism/hero/index.js.map +1 -1
- package/lib/organism/list-item/index.js +0 -12
- package/lib/organism/list-item/index.js.map +1 -1
- package/lib/organism/list-items/index.js +0 -10
- package/lib/organism/list-items/index.js.map +1 -1
- package/lib/organism/mobile-navigation/index.native.d.ts +2 -2
- package/lib/organism/mobile-navigation/index.native.d.ts.map +1 -1
- package/lib/organism/mobile-navigation/index.native.js +0 -16
- package/lib/organism/mobile-navigation/index.native.js.map +1 -1
- package/lib/organism/mooc/image-slider/index.js +0 -9
- package/lib/organism/mooc/image-slider/index.js.map +1 -1
- package/lib/organism/mooc-footer/index.js +10 -22
- package/lib/organism/mooc-footer/index.js.map +1 -1
- package/lib/organism/mooc-header/index.d.ts +0 -6
- package/lib/organism/mooc-header/index.d.ts.map +1 -1
- package/lib/organism/mooc-header/index.js +7 -124
- package/lib/organism/mooc-header/index.js.map +1 -1
- package/lib/organism/mooc-header/style.css +0 -46
- package/lib/organism/podcast-popin-intro/index.native.d.ts +2 -2
- package/lib/organism/podcast-popin-intro/index.native.d.ts.map +1 -1
- package/lib/organism/podcast-popin-intro/index.native.js +0 -15
- package/lib/organism/podcast-popin-intro/index.native.js.map +1 -1
- package/lib/organism/popin/index.js +0 -12
- package/lib/organism/popin/index.js.map +1 -1
- package/lib/organism/resource-browser/index.js +0 -16
- package/lib/organism/resource-browser/index.js.map +1 -1
- package/lib/organism/review-congrats/index.js +1 -16
- package/lib/organism/review-congrats/index.js.map +1 -1
- package/lib/organism/review-congrats/index.native.js +2 -22
- package/lib/organism/review-congrats/index.native.js.map +1 -1
- package/lib/organism/review-congrats/prop-types.d.ts +1 -1
- package/lib/organism/review-congrats/prop-types.d.ts.map +1 -1
- package/lib/organism/review-congrats/prop-types.js +0 -5
- package/lib/organism/review-congrats/prop-types.js.map +1 -1
- package/lib/organism/review-header/index.js +0 -10
- package/lib/organism/review-header/index.js.map +1 -1
- package/lib/organism/review-header/index.native.js +0 -10
- package/lib/organism/review-header/index.native.js.map +1 -1
- package/lib/organism/review-header/types.d.ts +1 -1
- package/lib/organism/review-header/types.d.ts.map +1 -1
- package/lib/organism/review-header/types.js +0 -4
- package/lib/organism/review-header/types.js.map +1 -1
- package/lib/organism/review-no-skills/index.js +0 -7
- package/lib/organism/review-no-skills/index.js.map +1 -1
- package/lib/organism/review-no-skills/index.native.js +0 -12
- package/lib/organism/review-no-skills/index.native.js.map +1 -1
- package/lib/organism/review-no-skills/prop-types.d.ts +1 -1
- package/lib/organism/review-no-skills/prop-types.d.ts.map +1 -1
- package/lib/organism/review-no-skills/prop-types.js +0 -3
- package/lib/organism/review-no-skills/prop-types.js.map +1 -1
- package/lib/organism/review-skills/index.js +0 -8
- package/lib/organism/review-skills/index.js.map +1 -1
- package/lib/organism/review-skills/index.native.js +0 -8
- package/lib/organism/review-skills/index.native.js.map +1 -1
- package/lib/organism/review-skills/prop-types.d.ts +1 -1
- package/lib/organism/review-skills/prop-types.d.ts.map +1 -1
- package/lib/organism/review-skills/prop-types.js +0 -4
- package/lib/organism/review-skills/prop-types.js.map +1 -1
- package/lib/organism/review-slide/index.js +8 -31
- package/lib/organism/review-slide/index.js.map +1 -1
- package/lib/organism/review-slide/index.native.js +3 -24
- package/lib/organism/review-slide/index.native.js.map +1 -1
- package/lib/organism/review-slide/prop-types.d.ts +5 -5
- package/lib/organism/review-slide/prop-types.d.ts.map +1 -1
- package/lib/organism/review-slide/prop-types.js +1 -7
- package/lib/organism/review-slide/prop-types.js.map +1 -1
- package/lib/organism/review-stacked-slides/index.js +2 -18
- package/lib/organism/review-stacked-slides/index.js.map +1 -1
- package/lib/organism/review-stacked-slides/index.native.js +5 -20
- package/lib/organism/review-stacked-slides/index.native.js.map +1 -1
- package/lib/organism/review-stacked-slides/prop-types.d.ts +1 -1
- package/lib/organism/review-stacked-slides/prop-types.d.ts.map +1 -1
- package/lib/organism/review-stacked-slides/prop-types.js +0 -6
- package/lib/organism/review-stacked-slides/prop-types.js.map +1 -1
- package/lib/organism/rewards-form/index.js +3 -14
- package/lib/organism/rewards-form/index.js.map +1 -1
- package/lib/organism/search-and-chips-results/index.js +0 -15
- package/lib/organism/search-and-chips-results/index.js.map +1 -1
- package/lib/organism/settings/index.js +5 -25
- package/lib/organism/settings/index.js.map +1 -1
- package/lib/organism/setup-header/index.js +0 -15
- package/lib/organism/setup-header/index.js.map +1 -1
- package/lib/organism/sidebar/index.js +8 -58
- package/lib/organism/sidebar/index.js.map +1 -1
- package/lib/organism/slider/index.js +2 -24
- package/lib/organism/slider/index.js.map +1 -1
- package/lib/organism/user-preferences/index.js +5 -21
- package/lib/organism/user-preferences/index.js.map +1 -1
- package/lib/organism/wizard-contents/index.js +0 -28
- package/lib/organism/wizard-contents/index.js.map +1 -1
- package/lib/template/activity/engine-stars.js +5 -27
- package/lib/template/activity/engine-stars.js.map +1 -1
- package/lib/template/activity/index.js +2 -26
- package/lib/template/activity/index.js.map +1 -1
- package/lib/template/activity/progression-item.js +2 -17
- package/lib/template/activity/progression-item.js.map +1 -1
- package/lib/template/activity/stars-summary.js +0 -22
- package/lib/template/activity/stars-summary.js.map +1 -1
- package/lib/template/app-player/loading/index.js +0 -8
- package/lib/template/app-player/loading/index.js.map +1 -1
- package/lib/template/app-player/player/index.js +0 -9
- package/lib/template/app-player/player/index.js.map +1 -1
- package/lib/template/app-player/player/slides/footer/index.js +0 -20
- package/lib/template/app-player/player/slides/footer/index.js.map +1 -1
- package/lib/template/app-player/player/slides/header/index.js +1 -11
- package/lib/template/app-player/player/slides/header/index.js.map +1 -1
- package/lib/template/app-player/player/slides/header/learner.js +4 -20
- package/lib/template/app-player/player/slides/header/learner.js.map +1 -1
- package/lib/template/app-player/player/slides/header/lives.js +0 -9
- package/lib/template/app-player/player/slides/header/lives.js.map +1 -1
- package/lib/template/app-player/player/slides/header/microlearning.js +2 -12
- package/lib/template/app-player/player/slides/header/microlearning.js.map +1 -1
- package/lib/template/app-player/player/slides/index.js +21 -89
- package/lib/template/app-player/player/slides/index.js.map +1 -1
- package/lib/template/app-player/popin-correction/index.js +10 -50
- package/lib/template/app-player/popin-correction/index.js.map +1 -1
- package/lib/template/app-player/popin-end/index.js +0 -12
- package/lib/template/app-player/popin-end/index.js.map +1 -1
- package/lib/template/app-player/popin-end/summary.js +22 -69
- package/lib/template/app-player/popin-end/summary.js.map +1 -1
- package/lib/template/app-player/popin-header/index.js +12 -67
- package/lib/template/app-player/popin-header/index.js.map +1 -1
- package/lib/template/app-player/popin-no-access/index.js +0 -6
- package/lib/template/app-player/popin-no-access/index.js.map +1 -1
- package/lib/template/app-review/demo-ts/index.js +0 -5
- package/lib/template/app-review/demo-ts/index.js.map +1 -1
- package/lib/template/app-review/demo-ts/index.native.js +0 -5
- package/lib/template/app-review/demo-ts/index.native.js.map +1 -1
- package/lib/template/app-review/demo-ts/typings.d.ts +1 -1
- package/lib/template/app-review/demo-ts/typings.d.ts.map +1 -1
- package/lib/template/app-review/demo-ts/typings.js +0 -3
- package/lib/template/app-review/demo-ts/typings.js.map +1 -1
- package/lib/template/app-review/index.js +0 -8
- package/lib/template/app-review/index.js.map +1 -1
- package/lib/template/app-review/index.native.js +2 -14
- package/lib/template/app-review/index.native.js.map +1 -1
- package/lib/template/app-review/onboarding/index.js +0 -3
- package/lib/template/app-review/onboarding/index.js.map +1 -1
- package/lib/template/app-review/onboarding/index.native.js +0 -3
- package/lib/template/app-review/onboarding/index.native.js.map +1 -1
- package/lib/template/app-review/player/background-review.js +0 -5
- package/lib/template/app-review/player/background-review.js.map +1 -1
- package/lib/template/app-review/player/index.js +0 -13
- package/lib/template/app-review/player/index.js.map +1 -1
- package/lib/template/app-review/player/index.native.js +0 -16
- package/lib/template/app-review/player/index.native.js.map +1 -1
- package/lib/template/app-review/player/prop-types.d.ts +1 -1
- package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
- package/lib/template/app-review/player/prop-types.js +0 -8
- package/lib/template/app-review/player/prop-types.js.map +1 -1
- package/lib/template/app-review/prop-types.d.ts +2 -2
- package/lib/template/app-review/prop-types.d.ts.map +1 -1
- package/lib/template/app-review/prop-types.js +0 -5
- package/lib/template/app-review/prop-types.js.map +1 -1
- package/lib/template/app-review/skills/index.js +0 -10
- package/lib/template/app-review/skills/index.js.map +1 -1
- package/lib/template/app-review/skills/index.native.js +0 -16
- package/lib/template/app-review/skills/index.native.js.map +1 -1
- package/lib/template/app-review/skills/prop-types.d.ts +1 -1
- package/lib/template/app-review/skills/prop-types.d.ts.map +1 -1
- package/lib/template/app-review/skills/prop-types.js +0 -4
- package/lib/template/app-review/skills/prop-types.js.map +1 -1
- package/lib/template/app-review/template-context.d.ts +5 -5
- package/lib/template/app-review/template-context.d.ts.map +1 -1
- package/lib/template/app-review/template-context.js +0 -15
- package/lib/template/app-review/template-context.js.map +1 -1
- package/lib/template/back-office/brand-create/index.js +0 -8
- package/lib/template/back-office/brand-create/index.js.map +1 -1
- package/lib/template/back-office/brand-list/index.js +8 -26
- package/lib/template/back-office/brand-list/index.js.map +1 -1
- package/lib/template/back-office/brand-update/index.js +4 -51
- package/lib/template/back-office/brand-update/index.js.map +1 -1
- package/lib/template/back-office/dashboard-preview/dashboard-popin.js +0 -12
- package/lib/template/back-office/dashboard-preview/dashboard-popin.js.map +1 -1
- package/lib/template/back-office/dashboard-preview/index.js +0 -30
- package/lib/template/back-office/dashboard-preview/index.js.map +1 -1
- package/lib/template/back-office/layout/index.js +0 -8
- package/lib/template/back-office/layout/index.js.map +1 -1
- package/lib/template/battle-requests/index.js +2 -12
- package/lib/template/battle-requests/index.js.map +1 -1
- package/lib/template/cockpit/jw-uploader/index.js +0 -11
- package/lib/template/cockpit/jw-uploader/index.js.map +1 -1
- package/lib/template/common/authors/index.js +2 -18
- package/lib/template/common/authors/index.js.map +1 -1
- package/lib/template/common/coorp-header/content.js +0 -6
- package/lib/template/common/coorp-header/content.js.map +1 -1
- package/lib/template/common/coorp-header/index.js +0 -7
- package/lib/template/common/coorp-header/index.js.map +1 -1
- package/lib/template/common/dashboard/index.js +0 -27
- package/lib/template/common/dashboard/index.js.map +1 -1
- package/lib/template/common/discipline/index.js +0 -20
- package/lib/template/common/discipline/index.js.map +1 -1
- package/lib/template/common/search-page/index.js +0 -14
- package/lib/template/common/search-page/index.js.map +1 -1
- package/lib/template/external-course/index.js +2 -25
- package/lib/template/external-course/index.js.map +1 -1
- package/lib/template/review-dashboard-skills/index.js +0 -8
- package/lib/template/review-dashboard-skills/index.js.map +1 -1
- package/lib/template/teams-dashboard/index.d.ts +0 -2
- package/lib/template/teams-dashboard/index.js +0 -14
- package/lib/template/teams-dashboard/index.js.map +1 -1
- package/lib/util/bubbling.js +0 -2
- package/lib/util/bubbling.js.map +1 -1
- package/lib/util/build-query-string.d.ts +1 -1
- package/lib/util/build-query-string.d.ts.map +1 -1
- package/lib/util/build-query-string.js +0 -4
- package/lib/util/build-query-string.js.map +1 -1
- package/lib/util/button-icons.js +0 -2
- package/lib/util/button-icons.js.map +1 -1
- package/lib/util/closest-step.js +0 -7
- package/lib/util/closest-step.js.map +1 -1
- package/lib/util/constants.js.map +1 -1
- package/lib/util/external-content.js +0 -5
- package/lib/util/external-content.js.map +1 -1
- package/lib/util/get-class-state.js +0 -3
- package/lib/util/get-class-state.js.map +1 -1
- package/lib/util/get-clean-uri.js +0 -2
- package/lib/util/get-clean-uri.js.map +1 -1
- package/lib/util/get-resized-image.js +0 -11
- package/lib/util/get-resized-image.js.map +1 -1
- package/lib/util/get-shadow-box-color-from-primary.js +0 -3
- package/lib/util/get-shadow-box-color-from-primary.js.map +1 -1
- package/lib/util/image.js +0 -5
- package/lib/util/image.js.map +1 -1
- package/lib/util/navigation.js +1 -13
- package/lib/util/navigation.js.map +1 -1
- package/lib/util/parse-template-string.js +0 -9
- package/lib/util/parse-template-string.js.map +1 -1
- package/lib/util/proptypes.js +0 -11
- package/lib/util/proptypes.js.map +1 -1
- package/lib/util/render-with-context.js +8 -22
- package/lib/util/render-with-context.js.map +1 -1
- package/lib/util/shallow-compare.js +0 -4
- package/lib/util/shallow-compare.js.map +1 -1
- package/lib/variables/analytics.d.ts +2 -2
- package/lib/variables/analytics.d.ts.map +1 -1
- package/lib/variables/analytics.js.map +1 -1
- package/lib/variables/brand.native.d.ts +1 -1
- package/lib/variables/brand.native.d.ts.map +1 -1
- package/lib/variables/brand.native.js.map +1 -1
- package/lib/variables/colors.d.ts +1 -1
- package/lib/variables/colors.d.ts.map +1 -1
- package/lib/variables/colors.js.map +1 -1
- package/lib/variables/default-mobile-translations.d.ts +2 -2
- package/lib/variables/default-mobile-translations.d.ts.map +1 -1
- package/lib/variables/default-mobile-translations.js.map +1 -1
- package/lib/variables/shadow.d.ts +1 -1
- package/lib/variables/shadow.d.ts.map +1 -1
- package/lib/variables/shadow.js +0 -1
- package/lib/variables/shadow.js.map +1 -1
- package/lib/variables/theme.native.d.ts +3 -3
- package/lib/variables/theme.native.d.ts.map +1 -1
- package/lib/variables/theme.native.js +0 -2
- package/lib/variables/theme.native.js.map +1 -1
- package/lib/variables/vibration.d.ts +2 -2
- package/lib/variables/vibration.d.ts.map +1 -1
- package/lib/variables/vibration.js.map +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["getGradientBackground","baseColor","gradients","convert","SkillCard","props","context","ariaLabel","skillTitle","skillAriaLabel","buttonLabel","buttonAriaLabel","reviseLabel","reviseAriaLabel","onClick","isCustom","skin","hovered","setHovered","useState","primarySkinColor","getOr","handleMouseOver","useCallback","handleMouseLeave","buttonProps","customStyle","backgroundColor","color","transition","label","titleBackgroundColor","useMemo","titleBackground","style","skillCardWrapper","background","questionReviseText","questionReviseIcon","buttonWrapper","propTypes"],"sources":["../../../src/molecule/skill-card/index.js"],"sourcesContent":["import React, {useCallback, useState, useMemo} from 'react';\nimport {convert} from 'css-color-function';\nimport {NovaSolidInterfaceFeedbackInterfaceQuestionMark as QuestionIcon} from '@coorpacademy/nova-icons';\nimport getOr from 'lodash/fp/getOr';\nimport ButtonLink from '../../atom/button-link';\nimport style from './style.css';\nimport propTypes from './prop-types';\n\nconst getGradientBackground = baseColor => {\n const gradients = [\n convert(`color(${baseColor} lightness(30%))`),\n convert(`color(${baseColor} lightness(47%))`),\n convert(`color(${baseColor} lightness(55%))`)\n ];\n\n return `radial-gradient(62.12% 56.45% at 0% 77.29%, ${gradients[0]} 0%, ${convert(\n `color(${gradients[0]} a(0))`\n )} 100%), radial-gradient(113.85% 103.46% at 93.27% 7.88%, ${gradients[1]} 0%, ${convert(\n `color(${gradients[1]} a(0))`\n )} 100%), radial-gradient(49.66% 49.63% at 78.65% 86.26%, ${gradients[2]} 0%, ${convert(\n `color(${gradients[2]} a(0))`\n )} 100%), ${baseColor}`;\n};\n\nconst SkillCard = (props, context) => {\n const {\n 'aria-label': ariaLabel,\n skillTitle,\n skillAriaLabel,\n buttonLabel,\n buttonAriaLabel,\n reviseLabel,\n reviseAriaLabel,\n onClick,\n isCustom = false\n } = props;\n const {skin} = context;\n const [hovered, setHovered] = useState(false);\n const primarySkinColor = getOr('#00B0FF', 'common.primary', skin);\n\n const handleMouseOver = useCallback(() => setHovered(true), [setHovered]);\n\n const handleMouseLeave = useCallback(() => setHovered(false), [setHovered]);\n\n const buttonProps = {\n customStyle: {\n backgroundColor: hovered ? primarySkinColor : convert(`color(${primarySkinColor} a(0.07))`),\n color: hovered ? '#FFFFFF' : primarySkinColor,\n transition: 'background-color 0.15s ease-in-out, color 0.15s ease-in-out'\n },\n onClick,\n 'aria-label': buttonAriaLabel,\n label: buttonLabel,\n 'data-name': 'skill-card-button'\n };\n\n const titleBackgroundColor = useMemo(\n () => (isCustom ? '#128C72' : primarySkinColor),\n [isCustom, primarySkinColor]\n );\n\n const titleBackground = useMemo(\n () => getGradientBackground(titleBackgroundColor),\n [titleBackgroundColor]\n );\n\n return (\n <div className={style.skillCardWrapper} data-name=\"skill-card-wrapper\" aria-label={ariaLabel}>\n <div\n data-name=\"skill-title\"\n className={style.skillTitle}\n aria-label={skillAriaLabel || skillTitle}\n style={{\n background: titleBackground\n }}\n >\n {skillTitle}\n </div>\n <div data-name=\"card-content-wrapper\">\n <div\n className={style.questionReviseText}\n data-name=\"questions-to-revise-label\"\n aria-label={reviseAriaLabel || reviseLabel}\n >\n <QuestionIcon className={style.questionReviseIcon} width={16} height={16} />\n {reviseLabel}\n </div>\n <div\n className={style.buttonWrapper}\n onMouseOver={handleMouseOver}\n onMouseLeave={handleMouseLeave}\n data-name=\"button-wrapper\"\n >\n <ButtonLink {...buttonProps} />\n </div>\n </div>\n </div>\n );\n};\n\nSkillCard.propTypes = propTypes;\n\nexport default SkillCard;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","names":["getGradientBackground","baseColor","gradients","convert","SkillCard","props","context","ariaLabel","skillTitle","skillAriaLabel","buttonLabel","buttonAriaLabel","reviseLabel","reviseAriaLabel","onClick","isCustom","skin","hovered","setHovered","useState","primarySkinColor","getOr","handleMouseOver","useCallback","handleMouseLeave","buttonProps","customStyle","backgroundColor","color","transition","label","titleBackgroundColor","useMemo","titleBackground","style","skillCardWrapper","background","questionReviseText","questionReviseIcon","buttonWrapper","propTypes"],"sources":["../../../src/molecule/skill-card/index.js"],"sourcesContent":["import React, {useCallback, useState, useMemo} from 'react';\nimport {convert} from 'css-color-function';\nimport {NovaSolidInterfaceFeedbackInterfaceQuestionMark as QuestionIcon} from '@coorpacademy/nova-icons';\nimport getOr from 'lodash/fp/getOr';\nimport ButtonLink from '../../atom/button-link';\nimport style from './style.css';\nimport propTypes from './prop-types';\n\nconst getGradientBackground = baseColor => {\n const gradients = [\n convert(`color(${baseColor} lightness(30%))`),\n convert(`color(${baseColor} lightness(47%))`),\n convert(`color(${baseColor} lightness(55%))`)\n ];\n\n return `radial-gradient(62.12% 56.45% at 0% 77.29%, ${gradients[0]} 0%, ${convert(\n `color(${gradients[0]} a(0))`\n )} 100%), radial-gradient(113.85% 103.46% at 93.27% 7.88%, ${gradients[1]} 0%, ${convert(\n `color(${gradients[1]} a(0))`\n )} 100%), radial-gradient(49.66% 49.63% at 78.65% 86.26%, ${gradients[2]} 0%, ${convert(\n `color(${gradients[2]} a(0))`\n )} 100%), ${baseColor}`;\n};\n\nconst SkillCard = (props, context) => {\n const {\n 'aria-label': ariaLabel,\n skillTitle,\n skillAriaLabel,\n buttonLabel,\n buttonAriaLabel,\n reviseLabel,\n reviseAriaLabel,\n onClick,\n isCustom = false\n } = props;\n const {skin} = context;\n const [hovered, setHovered] = useState(false);\n const primarySkinColor = getOr('#00B0FF', 'common.primary', skin);\n\n const handleMouseOver = useCallback(() => setHovered(true), [setHovered]);\n\n const handleMouseLeave = useCallback(() => setHovered(false), [setHovered]);\n\n const buttonProps = {\n customStyle: {\n backgroundColor: hovered ? primarySkinColor : convert(`color(${primarySkinColor} a(0.07))`),\n color: hovered ? '#FFFFFF' : primarySkinColor,\n transition: 'background-color 0.15s ease-in-out, color 0.15s ease-in-out'\n },\n onClick,\n 'aria-label': buttonAriaLabel,\n label: buttonLabel,\n 'data-name': 'skill-card-button'\n };\n\n const titleBackgroundColor = useMemo(\n () => (isCustom ? '#128C72' : primarySkinColor),\n [isCustom, primarySkinColor]\n );\n\n const titleBackground = useMemo(\n () => getGradientBackground(titleBackgroundColor),\n [titleBackgroundColor]\n );\n\n return (\n <div className={style.skillCardWrapper} data-name=\"skill-card-wrapper\" aria-label={ariaLabel}>\n <div\n data-name=\"skill-title\"\n className={style.skillTitle}\n aria-label={skillAriaLabel || skillTitle}\n style={{\n background: titleBackground\n }}\n >\n {skillTitle}\n </div>\n <div data-name=\"card-content-wrapper\">\n <div\n className={style.questionReviseText}\n data-name=\"questions-to-revise-label\"\n aria-label={reviseAriaLabel || reviseLabel}\n >\n <QuestionIcon className={style.questionReviseIcon} width={16} height={16} />\n {reviseLabel}\n </div>\n <div\n className={style.buttonWrapper}\n onMouseOver={handleMouseOver}\n onMouseLeave={handleMouseLeave}\n data-name=\"button-wrapper\"\n >\n <ButtonLink {...buttonProps} />\n </div>\n </div>\n </div>\n );\n};\n\nSkillCard.propTypes = propTypes;\n\nexport default SkillCard;\n"],"mappings":";;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AAAqC;AAAA;AAAA;AAErC,MAAMA,qBAAqB,GAAGC,SAAS,IAAI;EACzC,MAAMC,SAAS,GAAG,CAChB,IAAAC,yBAAO,EAAE,SAAQF,SAAU,kBAAiB,CAAC,EAC7C,IAAAE,yBAAO,EAAE,SAAQF,SAAU,kBAAiB,CAAC,EAC7C,IAAAE,yBAAO,EAAE,SAAQF,SAAU,kBAAiB,CAAC,CAC9C;EAED,OAAQ,+CAA8CC,SAAS,CAAC,CAAC,CAAE,QAAO,IAAAC,yBAAO,EAC9E,SAAQD,SAAS,CAAC,CAAC,CAAE,QAAO,CAC7B,4DAA2DA,SAAS,CAAC,CAAC,CAAE,QAAO,IAAAC,yB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AG,SAAS,GAAGK,gBAAiB,EAC/C,CAACL,QAAQ,EAAEK,gBAAgB,CAAC,CAC7B;EAED,MAAMa,eAAe,GAAG,IAAAD,cAAO,EAC7B,MAAMhC,qBAAqB,CAAC+B,oBAAoB,CAAC,EACjD,CAACA,oBAAoB,CAAC,CACvB;EAED,oBACE;IAAK,SAAS,EAAEG,cAAK,CAACC,gBAAiB;IAAC,aAAU,oBAAoB;IAAC,cAAY5B;EAAU,gBAC3F;IACE,aAAU,aAAa;IACvB,SAAS,EAAE2B,cAAK,CAAC1B,UAAW;IAC5B,cAAYC,cAAc,IAAID,UAAW;IACzC,KAAK,EAAE;MACL4B,UAAU,EAAEH;IACd;EAAE,GAEDzB,UAAU,CACP,eACN;IAAK,aAAU;EAAsB,gBACnC;IACE,SAAS,EAAE0B,cAAK,CAACG,kBAAmB;IACpC,aAAU,2BAA2B;IACrC,cAAYxB,eAAe,IAAID;EAAY,gBAE3C,6BAAC,0DAAY;IAAC,SAAS,EAAEsB,cAAK,CAACI,kBAAmB;IAAC,KAAK,EAAE,EAAG;IAAC,MAAM,EAAE;EAAG,EAAG,EAC3E1B,WAAW,CACR,eACN;IACE,SAAS,EAAEsB,cAAK,CAACK,aAAc;IAC/B,WAAW,EAAEjB,eAAgB;IAC7B,YAAY,EAAEE,gBAAiB;IAC/B,aAAU;EAAgB,gBAE1B,6BAAC,mBAAU,EAAKC,WAAW,CAAI,CAC3B,CACF,CACF;AAEV,CAAC;AAEDrB,SAAS,CAACoC,SAAS,2CAAGA,kBAAS;AAAC,eAEjBpC,SAAS;AAAA"}
|
|
@@ -2,19 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.default = void 0;
|
|
5
|
-
|
|
6
5
|
var _react = _interopRequireWildcard(require("react"));
|
|
7
|
-
|
|
8
6
|
var _reactNative = require("react-native");
|
|
9
|
-
|
|
10
7
|
var _novaIcons = require("@coorpacademy/nova-icons");
|
|
11
|
-
|
|
12
8
|
var _templateContext = require("../../template/app-review/template-context");
|
|
13
|
-
|
|
14
9
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
15
|
-
|
|
16
10
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
17
|
-
|
|
18
11
|
const createStyleSheet = theme => _reactNative.StyleSheet.create({
|
|
19
12
|
skill: {
|
|
20
13
|
display: 'flex',
|
|
@@ -45,7 +38,6 @@ const createStyleSheet = theme => _reactNative.StyleSheet.create({
|
|
|
45
38
|
color: theme.colors.gray.medium
|
|
46
39
|
}
|
|
47
40
|
});
|
|
48
|
-
|
|
49
41
|
const SkillCard = props => {
|
|
50
42
|
const templateContext = (0, _templateContext.useTemplateContext)();
|
|
51
43
|
const [styleSheet, setStylesheet] = (0, _react.useState)(null);
|
|
@@ -62,14 +54,11 @@ const SkillCard = props => {
|
|
|
62
54
|
} = props;
|
|
63
55
|
(0, _react.useEffect)(() => {
|
|
64
56
|
const _stylesheet = createStyleSheet(theme);
|
|
65
|
-
|
|
66
57
|
setStylesheet(_stylesheet);
|
|
67
58
|
}, [theme]);
|
|
68
|
-
|
|
69
59
|
if (!styleSheet) {
|
|
70
60
|
return null;
|
|
71
61
|
}
|
|
72
|
-
|
|
73
62
|
return /*#__PURE__*/_react.default.createElement(_reactNative.Pressable, {
|
|
74
63
|
style: styleSheet.skill,
|
|
75
64
|
onPress: onClick,
|
|
@@ -89,7 +78,6 @@ const SkillCard = props => {
|
|
|
89
78
|
width: 20
|
|
90
79
|
}));
|
|
91
80
|
};
|
|
92
|
-
|
|
93
81
|
var _default = SkillCard;
|
|
94
82
|
exports.default = _default;
|
|
95
83
|
//# sourceMappingURL=index.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.native.js","names":["createStyleSheet","theme","StyleSheet","create","skill","display","flexDirection","overflow","alignItems","height","borderRadius","backgroundColor","colors","gray","lighter","marginTop","spacing","micro","marginBottom","padding","base","skillTexts","flex","skillTitle","fontSize","fontWeight","lineHeight","color","text","primary","tiny","skillInfo","medium","SkillCard","props","templateContext","useTemplateContext","styleSheet","setStylesheet","useState","skillAriaLabel","reviseLabel","reviseAriaLabel","onClick","buttonAriaLabel","useEffect","_stylesheet"],"sources":["../../../src/molecule/skill-card/index.native.tsx"],"sourcesContent":["import React, {useState, useEffect} from 'react';\nimport {View, Pressable, StyleSheet, Text, ViewStyle, TextStyle} from 'react-native';\nimport {NovaCompositionNavigationArrowRight as ArrowRight} from '@coorpacademy/nova-icons';\nimport {useTemplateContext} from '../../template/app-review/template-context';\nimport {Theme} from '../../variables/theme.native';\nimport {SkillCardProps} from './prop-types';\n\ntype StyleSheetType = {\n skill: ViewStyle;\n skillTexts: TextStyle;\n skillTitle: TextStyle;\n skillInfo: TextStyle;\n};\n\nconst createStyleSheet = (theme: Theme): StyleSheetType =>\n StyleSheet.create({\n skill: {\n display: 'flex',\n flexDirection: 'row',\n overflow: 'hidden',\n alignItems: 'center',\n height: 118,\n borderRadius: 8,\n backgroundColor: theme.colors.gray.lighter,\n marginTop: theme.spacing.micro,\n marginBottom: theme.spacing.micro,\n padding: theme.spacing.base\n },\n skillTexts: {\n flex: 1,\n flexDirection: 'column'\n },\n skillTitle: {\n fontSize: 18,\n fontWeight: '600',\n lineHeight: 22,\n color: theme.colors.text.primary,\n marginBottom: theme.spacing.tiny\n },\n skillInfo: {\n fontSize: 12,\n lineHeight: 16,\n color: theme.colors.gray.medium\n }\n });\n\nconst SkillCard = (props: SkillCardProps) => {\n const templateContext = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n const {theme} = templateContext;\n const {skillTitle, skillAriaLabel, reviseLabel, reviseAriaLabel, onClick, buttonAriaLabel} =\n props;\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(theme);\n setStylesheet(_stylesheet);\n }, [theme]);\n\n if (!styleSheet) {\n return null;\n }\n\n return (\n <Pressable\n style={styleSheet.skill}\n onPress={onClick}\n accessibilityRole=\"button\"\n accessibilityLabel={buttonAriaLabel}\n >\n <View style={styleSheet.skillTexts}>\n <Text style={styleSheet.skillTitle} accessibilityLabel={skillAriaLabel || skillTitle}>\n {skillTitle}\n </Text>\n <Text style={styleSheet.skillInfo} accessibilityLabel={reviseAriaLabel}>\n {reviseLabel}\n </Text>\n </View>\n <ArrowRight color=\"#ededed\" height={20} width={20} />\n </Pressable>\n );\n};\n\nexport default SkillCard;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.native.js","names":["createStyleSheet","theme","StyleSheet","create","skill","display","flexDirection","overflow","alignItems","height","borderRadius","backgroundColor","colors","gray","lighter","marginTop","spacing","micro","marginBottom","padding","base","skillTexts","flex","skillTitle","fontSize","fontWeight","lineHeight","color","text","primary","tiny","skillInfo","medium","SkillCard","props","templateContext","useTemplateContext","styleSheet","setStylesheet","useState","skillAriaLabel","reviseLabel","reviseAriaLabel","onClick","buttonAriaLabel","useEffect","_stylesheet"],"sources":["../../../src/molecule/skill-card/index.native.tsx"],"sourcesContent":["import React, {useState, useEffect} from 'react';\nimport {View, Pressable, StyleSheet, Text, ViewStyle, TextStyle} from 'react-native';\nimport {NovaCompositionNavigationArrowRight as ArrowRight} from '@coorpacademy/nova-icons';\nimport {useTemplateContext} from '../../template/app-review/template-context';\nimport {Theme} from '../../variables/theme.native';\nimport {SkillCardProps} from './prop-types';\n\ntype StyleSheetType = {\n skill: ViewStyle;\n skillTexts: TextStyle;\n skillTitle: TextStyle;\n skillInfo: TextStyle;\n};\n\nconst createStyleSheet = (theme: Theme): StyleSheetType =>\n StyleSheet.create({\n skill: {\n display: 'flex',\n flexDirection: 'row',\n overflow: 'hidden',\n alignItems: 'center',\n height: 118,\n borderRadius: 8,\n backgroundColor: theme.colors.gray.lighter,\n marginTop: theme.spacing.micro,\n marginBottom: theme.spacing.micro,\n padding: theme.spacing.base\n },\n skillTexts: {\n flex: 1,\n flexDirection: 'column'\n },\n skillTitle: {\n fontSize: 18,\n fontWeight: '600',\n lineHeight: 22,\n color: theme.colors.text.primary,\n marginBottom: theme.spacing.tiny\n },\n skillInfo: {\n fontSize: 12,\n lineHeight: 16,\n color: theme.colors.gray.medium\n }\n });\n\nconst SkillCard = (props: SkillCardProps) => {\n const templateContext = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n const {theme} = templateContext;\n const {skillTitle, skillAriaLabel, reviseLabel, reviseAriaLabel, onClick, buttonAriaLabel} =\n props;\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(theme);\n setStylesheet(_stylesheet);\n }, [theme]);\n\n if (!styleSheet) {\n return null;\n }\n\n return (\n <Pressable\n style={styleSheet.skill}\n onPress={onClick}\n accessibilityRole=\"button\"\n accessibilityLabel={buttonAriaLabel}\n >\n <View style={styleSheet.skillTexts}>\n <Text style={styleSheet.skillTitle} accessibilityLabel={skillAriaLabel || skillTitle}>\n {skillTitle}\n </Text>\n <Text style={styleSheet.skillInfo} accessibilityLabel={reviseAriaLabel}>\n {reviseLabel}\n </Text>\n </View>\n <ArrowRight color=\"#ededed\" height={20} width={20} />\n </Pressable>\n );\n};\n\nexport default SkillCard;\n"],"mappings":";;;;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O;IAAEC;EAAe,CAAC,GACxFV,KAAK;EAEP,IAAAW,gBAAS,EAAC,MAAM;IACd,MAAMC,WAAW,GAAG9C,gBAAgB,CAACC,KAAK,CAAC;IAC3CqC,aAAa,CAACQ,WAAW,CAAC;EAC5B,CAAC,EAAE,CAAC7C,KAAK,CAAC,CAAC;EAEX,IAAI,CAACoC,UAAU,EAAE;IACf,OAAO,IAAI;EACb;EAEA,oBACE,6BAAC,sBAAS;IACR,KAAK,EAAEA,UAAU,CAACjC,KAAM;IACxB,OAAO,EAAEuC,OAAQ;IACjB,iBAAiB,EAAC,QAAQ;IAC1B,kBAAkB,EAAEC;EAAgB,gBAEpC,6BAAC,iBAAI;IAAC,KAAK,EAAEP,UAAU,CAAChB;EAAW,gBACjC,6BAAC,iBAAI;IAAC,KAAK,EAAEgB,UAAU,CAACd,UAAW;IAAC,kBAAkB,EAAEiB,cAAc,IAAIjB;EAAW,GAClFA,UAAU,CACN,eACP,6BAAC,iBAAI;IAAC,KAAK,EAAEc,UAAU,CAACN,SAAU;IAAC,kBAAkB,EAAEW;EAAgB,GACpED,WAAW,CACP,CACF,eACP,6BAAC,8CAAU;IAAC,KAAK,EAAC,SAAS;IAAC,MAAM,EAAE,EAAG;IAAC,KAAK,EAAE;EAAG,EAAG,CAC3C;AAEhB,CAAC;AAAC,eAEaR,SAAS;AAAA"}
|
|
@@ -11,7 +11,7 @@ declare const propTypes: {
|
|
|
11
11
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
12
12
|
};
|
|
13
13
|
export default propTypes;
|
|
14
|
-
export
|
|
14
|
+
export type SkillCardProps = {
|
|
15
15
|
'aria-label': string;
|
|
16
16
|
skillTitle: string;
|
|
17
17
|
skillAriaLabel: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/molecule/skill-card/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,QAAA,MAAM,SAAS;;;;;;;;;;CAUd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,
|
|
1
|
+
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/molecule/skill-card/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,QAAA,MAAM,SAAS;;;;;;;;;;CAUd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,MAAM,MAAM,cAAc,GAAG;IAC3B,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC"}
|
|
@@ -2,11 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.default = void 0;
|
|
5
|
-
|
|
6
5
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
7
|
-
|
|
8
6
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
9
|
-
|
|
10
7
|
const propTypes = {
|
|
11
8
|
'aria-label': _propTypes.default.string,
|
|
12
9
|
skillTitle: _propTypes.default.string,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prop-types.js","names":["propTypes","PropTypes","string","skillTitle","skillAriaLabel","buttonLabel","buttonAriaLabel","reviseLabel","reviseAriaLabel","isCustom","bool","onClick","func"],"sources":["../../../src/molecule/skill-card/prop-types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\n\nconst propTypes = {\n 'aria-label': PropTypes.string,\n skillTitle: PropTypes.string,\n skillAriaLabel: PropTypes.string,\n buttonLabel: PropTypes.string,\n buttonAriaLabel: PropTypes.string,\n reviseLabel: PropTypes.string,\n reviseAriaLabel: PropTypes.string,\n isCustom: PropTypes.bool,\n onClick: PropTypes.func\n};\n\nexport default propTypes;\n\nexport type SkillCardProps = {\n 'aria-label': string;\n skillTitle: string;\n skillAriaLabel: string;\n buttonLabel: string;\n buttonAriaLabel: string;\n reviseLabel: string;\n reviseAriaLabel: string;\n isCustom: boolean;\n onClick: () => void;\n};\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"prop-types.js","names":["propTypes","PropTypes","string","skillTitle","skillAriaLabel","buttonLabel","buttonAriaLabel","reviseLabel","reviseAriaLabel","isCustom","bool","onClick","func"],"sources":["../../../src/molecule/skill-card/prop-types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\n\nconst propTypes = {\n 'aria-label': PropTypes.string,\n skillTitle: PropTypes.string,\n skillAriaLabel: PropTypes.string,\n buttonLabel: PropTypes.string,\n buttonAriaLabel: PropTypes.string,\n reviseLabel: PropTypes.string,\n reviseAriaLabel: PropTypes.string,\n isCustom: PropTypes.bool,\n onClick: PropTypes.func\n};\n\nexport default propTypes;\n\nexport type SkillCardProps = {\n 'aria-label': string;\n skillTitle: string;\n skillAriaLabel: string;\n buttonLabel: string;\n buttonAriaLabel: string;\n reviseLabel: string;\n reviseAriaLabel: string;\n isCustom: boolean;\n onClick: () => void;\n};\n"],"mappings":";;;;AAAA;AAAmC;AAEnC,MAAMA,SAAS,GAAG;EAChB,YAAY,EAAEC,kBAAS,CAACC,MAAM;EAC9BC,UAAU,EAAEF,kBAAS,CAACC,MAAM;EAC5BE,cAAc,EAAEH,kBAAS,CAACC,MAAM;EAChCG,WAAW,EAAEJ,kBAAS,CAACC,MAAM;EAC7BI,eAAe,EAAEL,kBAAS,CAACC,MAAM;EACjCK,WAAW,EAAEN,kBAAS,CAACC,MAAM;EAC7BM,eAAe,EAAEP,kBAAS,CAACC,MAAM;EACjCO,QAAQ,EAAER,kBAAS,CAACS,IAAI;EACxBC,OAAO,EAAEV,kBAAS,CAACW;AACrB,CAAC;AAAC,eAEaZ,SAAS;AAAA"}
|
|
@@ -2,15 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.default = void 0;
|
|
5
|
-
|
|
6
5
|
var _react = _interopRequireDefault(require("react"));
|
|
7
|
-
|
|
8
6
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
-
|
|
10
7
|
var _style = _interopRequireDefault(require("./style.css"));
|
|
11
|
-
|
|
12
8
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
-
|
|
14
9
|
const SsMenuList = props => {
|
|
15
10
|
const {
|
|
16
11
|
items = []
|
|
@@ -28,7 +23,6 @@ const SsMenuList = props => {
|
|
|
28
23
|
className: _style.default.list
|
|
29
24
|
}, itemsView);
|
|
30
25
|
};
|
|
31
|
-
|
|
32
26
|
SsMenuList.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
33
27
|
items: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
34
28
|
href: _propTypes.default.string,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["SsMenuList","props","items","itemsView","map","title","href","index","style","item","list","propTypes","PropTypes","arrayOf","shape","string"],"sources":["../../../src/molecule/ssmenu-list/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport style from './style.css';\n\nconst SsMenuList = props => {\n const {items = []} = props;\n const itemsView = items.map(({title, href}, index) => (\n <li key={index} className={style.item}>\n <a href={href}>{title}</a>\n </li>\n ));\n\n return <ul className={style.list}>{itemsView}</ul>;\n};\n\nSsMenuList.propTypes = {\n items: PropTypes.arrayOf(\n PropTypes.shape({\n href: PropTypes.string,\n title: PropTypes.string\n })\n )\n};\n\nexport default SsMenuList;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","names":["SsMenuList","props","items","itemsView","map","title","href","index","style","item","list","propTypes","PropTypes","arrayOf","shape","string"],"sources":["../../../src/molecule/ssmenu-list/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport style from './style.css';\n\nconst SsMenuList = props => {\n const {items = []} = props;\n const itemsView = items.map(({title, href}, index) => (\n <li key={index} className={style.item}>\n <a href={href}>{title}</a>\n </li>\n ));\n\n return <ul className={style.list}>{itemsView}</ul>;\n};\n\nSsMenuList.propTypes = {\n items: PropTypes.arrayOf(\n PropTypes.shape({\n href: PropTypes.string,\n title: PropTypes.string\n })\n )\n};\n\nexport default SsMenuList;\n"],"mappings":";;;;AAAA;AACA;AACA;AAAgC;AAEhC,MAAMA,UAAU,GAAGC,KAAK,IAAI;EAC1B,MAAM;IAACC,KAAK,GAAG;EAAE,CAAC,GAAGD,KAAK;EAC1B,MAAME,SAAS,GAAGD,KAAK,CAACE,GAAG,CAAC,CAAC;IAACC,KAAK;IAAEC;EAAI,CAAC,EAAEC,KAAK,kBAC/C;IAAI,GAAG,EAAEA,KAAM;IAAC,SAAS,EAAEC,cAAK,CAACC;EAAK,gBACpC;IAAG,IAAI,EAAEH;EAAK,GAAED,KAAK,CAAK,CAE7B,CAAC;EAEF,oBAAO;IAAI,SAAS,EAAEG,cAAK,CAACE;EAAK,GAAEP,SAAS,CAAM;AACpD,CAAC;AAEDH,UAAU,CAACW,SAAS,2CAAG;EACrBT,KAAK,EAAEU,kBAAS,CAACC,OAAO,CACtBD,kBAAS,CAACE,KAAK,CAAC;IACdR,IAAI,EAAEM,kBAAS,CAACG,MAAM;IACtBV,KAAK,EAAEO,kBAAS,CAACG;EACnB,CAAC,CAAC;AAEN,CAAC;AAAC,eAEaf,UAAU;AAAA"}
|
|
@@ -2,17 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.default = void 0;
|
|
5
|
-
|
|
6
5
|
var _react = _interopRequireDefault(require("react"));
|
|
7
|
-
|
|
8
6
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
-
|
|
10
7
|
var _provider = _interopRequireDefault(require("../../atom/provider"));
|
|
11
|
-
|
|
12
8
|
var _style = _interopRequireDefault(require("./style.css"));
|
|
13
|
-
|
|
14
9
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
-
|
|
16
10
|
const SubscriptionFreemiumDetails = (props, context) => {
|
|
17
11
|
const {
|
|
18
12
|
onSubscriptionFreemiumButtonClick
|
|
@@ -32,7 +26,6 @@ const SubscriptionFreemiumDetails = (props, context) => {
|
|
|
32
26
|
onClick: onSubscriptionFreemiumButtonClick
|
|
33
27
|
}, translate('subscription_freemium_button')));
|
|
34
28
|
};
|
|
35
|
-
|
|
36
29
|
SubscriptionFreemiumDetails.contextTypes = {
|
|
37
30
|
translate: _provider.default.childContextTypes.translate
|
|
38
31
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["SubscriptionFreemiumDetails","props","context","onSubscriptionFreemiumButtonClick","translate","style","subscriptionFreemium","subscriptionFreemiumTitle","subscriptionFreemiumContent","subscriptionFreemiumButton","contextTypes","Provider","childContextTypes","propTypes","PropTypes","func"],"sources":["../../../src/molecule/subscription-freemium/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport Provider from '../../atom/provider';\nimport style from './style.css';\n\nconst SubscriptionFreemiumDetails = (props, context) => {\n const {onSubscriptionFreemiumButtonClick} = props;\n const {translate} = context;\n\n return (\n <div className={style.subscriptionFreemium}>\n <div className={style.subscriptionFreemiumTitle}>\n {translate('subscription_freemium_title')}\n </div>\n <div className={style.subscriptionFreemiumContent}>\n {translate('subscription_freemium_description')}\n </div>\n <button\n type=\"button\"\n className={style.subscriptionFreemiumButton}\n onClick={onSubscriptionFreemiumButtonClick}\n >\n {translate('subscription_freemium_button')}\n </button>\n </div>\n );\n};\n\nSubscriptionFreemiumDetails.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nSubscriptionFreemiumDetails.propTypes = {\n onSubscriptionFreemiumButtonClick: PropTypes.func\n};\n\nexport default SubscriptionFreemiumDetails;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","names":["SubscriptionFreemiumDetails","props","context","onSubscriptionFreemiumButtonClick","translate","style","subscriptionFreemium","subscriptionFreemiumTitle","subscriptionFreemiumContent","subscriptionFreemiumButton","contextTypes","Provider","childContextTypes","propTypes","PropTypes","func"],"sources":["../../../src/molecule/subscription-freemium/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport Provider from '../../atom/provider';\nimport style from './style.css';\n\nconst SubscriptionFreemiumDetails = (props, context) => {\n const {onSubscriptionFreemiumButtonClick} = props;\n const {translate} = context;\n\n return (\n <div className={style.subscriptionFreemium}>\n <div className={style.subscriptionFreemiumTitle}>\n {translate('subscription_freemium_title')}\n </div>\n <div className={style.subscriptionFreemiumContent}>\n {translate('subscription_freemium_description')}\n </div>\n <button\n type=\"button\"\n className={style.subscriptionFreemiumButton}\n onClick={onSubscriptionFreemiumButtonClick}\n >\n {translate('subscription_freemium_button')}\n </button>\n </div>\n );\n};\n\nSubscriptionFreemiumDetails.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nSubscriptionFreemiumDetails.propTypes = {\n onSubscriptionFreemiumButtonClick: PropTypes.func\n};\n\nexport default SubscriptionFreemiumDetails;\n"],"mappings":";;;;AAAA;AACA;AACA;AACA;AAAgC;AAEhC,MAAMA,2BAA2B,GAAG,CAACC,KAAK,EAAEC,OAAO,KAAK;EACtD,MAAM;IAACC;EAAiC,CAAC,GAAGF,KAAK;EACjD,MAAM;IAACG;EAAS,CAAC,GAAGF,OAAO;EAE3B,oBACE;IAAK,SAAS,EAAEG,cAAK,CAACC;EAAqB,gBACzC;IAAK,SAAS,EAAED,cAAK,CAACE;EAA0B,GAC7CH,SAAS,CAAC,6BAA6B,CAAC,CACrC,eACN;IAAK,SAAS,EAAEC,cAAK,CAACG;EAA4B,GAC/CJ,SAAS,CAAC,mCAAmC,CAAC,CAC3C,eACN;IACE,IAAI,EAAC,QAAQ;IACb,SAAS,EAAEC,cAAK,CAACI,0BAA2B;IAC5C,OAAO,EAAEN;EAAkC,GAE1CC,SAAS,CAAC,8BAA8B,CAAC,CACnC,CACL;AAEV,CAAC;AAEDJ,2BAA2B,CAACU,YAAY,GAAG;EACzCN,SAAS,EAAEO,iBAAQ,CAACC,iBAAiB,CAACR;AACxC,CAAC;AAEDJ,2BAA2B,CAACa,SAAS,2CAAG;EACtCV,iCAAiC,EAAEW,kBAAS,CAACC;AAC/C,CAAC;AAAC,eAEaf,2BAA2B;AAAA"}
|
|
@@ -2,17 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.default = void 0;
|
|
5
|
-
|
|
6
5
|
var _react = _interopRequireDefault(require("react"));
|
|
7
|
-
|
|
8
6
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
-
|
|
10
7
|
var _provider = _interopRequireDefault(require("../../atom/provider"));
|
|
11
|
-
|
|
12
8
|
var _style = _interopRequireDefault(require("./style.css"));
|
|
13
|
-
|
|
14
9
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
-
|
|
16
10
|
const PremiumDescription = ({
|
|
17
11
|
date,
|
|
18
12
|
price
|
|
@@ -26,7 +20,6 @@ const PremiumDescription = ({
|
|
|
26
20
|
className: _style.default.premiumProductDetails
|
|
27
21
|
}, `${part1}${date}${part2}${price}.`);
|
|
28
22
|
};
|
|
29
|
-
|
|
30
23
|
PremiumDescription.contextTypes = {
|
|
31
24
|
translate: _provider.default.childContextTypes.translate
|
|
32
25
|
};
|
|
@@ -34,7 +27,6 @@ PremiumDescription.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
34
27
|
date: _propTypes.default.string,
|
|
35
28
|
price: _propTypes.default.string
|
|
36
29
|
} : {};
|
|
37
|
-
|
|
38
30
|
const PromoCodeDescription = ({
|
|
39
31
|
date
|
|
40
32
|
}, {
|
|
@@ -50,14 +42,12 @@ const PromoCodeDescription = ({
|
|
|
50
42
|
href: "http://coorpacademy.com"
|
|
51
43
|
}, "Coorpacademy.com"));
|
|
52
44
|
};
|
|
53
|
-
|
|
54
45
|
PromoCodeDescription.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
55
46
|
date: _propTypes.default.string
|
|
56
47
|
} : {};
|
|
57
48
|
PromoCodeDescription.contextTypes = {
|
|
58
49
|
translate: _provider.default.childContextTypes.translate
|
|
59
50
|
};
|
|
60
|
-
|
|
61
51
|
const SubscriptionPremiumDetails = (props, context) => {
|
|
62
52
|
const {
|
|
63
53
|
isPromoCode,
|
|
@@ -87,7 +77,6 @@ const SubscriptionPremiumDetails = (props, context) => {
|
|
|
87
77
|
href: `${subscriptionPremiumDescriptionLink}`
|
|
88
78
|
}, translate('subscription_premium_description_part3_with_link'))) : null));
|
|
89
79
|
};
|
|
90
|
-
|
|
91
80
|
SubscriptionPremiumDetails.contextTypes = {
|
|
92
81
|
translate: _provider.default.childContextTypes.translate
|
|
93
82
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["PremiumDescription","date","price","translate","part1","part2","style","premiumProductDetails","contextTypes","Provider","childContextTypes","propTypes","PropTypes","string","PromoCodeDescription","text","homeLink","SubscriptionPremiumDetails","props","context","isPromoCode","subscriptionPremiumDescriptionDate","subscriptionPremiumDescriptionPrice","checkImage","subscriptionPremiumDescriptionLink","Description","premiumTitle","premiumTitleImage","premiumTitleText","cancelSubscriptionText","cancelSubscriptionLink","bool","isRequired"],"sources":["../../../src/molecule/subscription-premium/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport Provider from '../../atom/provider';\nimport style from './style.css';\n\nconst PremiumDescription = ({date, price}, {translate}) => {\n // @TODO use only one template\n const part1 = translate('subscription_premium_description_part1');\n const part2 = translate('subscription_premium_description_part2');\n\n return <div className={style.premiumProductDetails}>{`${part1}${date}${part2}${price}.`}</div>;\n};\n\nPremiumDescription.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nPremiumDescription.propTypes = {\n date: PropTypes.string,\n price: PropTypes.string\n};\n\nconst PromoCodeDescription = ({date}, {translate}) => {\n const text = translate('subscription_promo_code', {date});\n\n return (\n <div className={style.premiumProductDetails}>\n {text}\n <a className={style.homeLink} href=\"http://coorpacademy.com\">\n Coorpacademy.com\n </a>\n </div>\n );\n};\n\nPromoCodeDescription.propTypes = {\n date: PropTypes.string\n};\n\nPromoCodeDescription.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nconst SubscriptionPremiumDetails = (props, context) => {\n const {\n isPromoCode,\n subscriptionPremiumDescriptionDate: date,\n subscriptionPremiumDescriptionPrice: price,\n checkImage,\n subscriptionPremiumDescriptionLink\n } = props;\n\n const {translate} = context;\n const Description = isPromoCode ? PromoCodeDescription : PremiumDescription;\n\n return (\n <div>\n <div className={style.premiumTitle}>\n <img className={style.premiumTitleImage} src={checkImage} />\n <div className={style.premiumTitleText}>{translate('subscription_premium_title')}</div>\n </div>\n <div>\n <Description date={date} price={price} />\n {!isPromoCode ? (\n <div className={style.cancelSubscriptionText}>\n {translate('subscription_premium_description_part3')}\n <a\n className={style.cancelSubscriptionLink}\n href={`${subscriptionPremiumDescriptionLink}`}\n >\n {translate('subscription_premium_description_part3_with_link')}\n </a>\n </div>\n ) : null}\n </div>\n </div>\n );\n};\n\nSubscriptionPremiumDetails.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nSubscriptionPremiumDetails.propTypes = {\n checkImage: PropTypes.string,\n isPromoCode: PropTypes.bool.isRequired,\n subscriptionPremiumDescriptionDate: PropTypes.string,\n subscriptionPremiumDescriptionPrice: PropTypes.string,\n subscriptionPremiumDescriptionLink: PropTypes.string\n};\n\nexport default SubscriptionPremiumDetails;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","names":["PremiumDescription","date","price","translate","part1","part2","style","premiumProductDetails","contextTypes","Provider","childContextTypes","propTypes","PropTypes","string","PromoCodeDescription","text","homeLink","SubscriptionPremiumDetails","props","context","isPromoCode","subscriptionPremiumDescriptionDate","subscriptionPremiumDescriptionPrice","checkImage","subscriptionPremiumDescriptionLink","Description","premiumTitle","premiumTitleImage","premiumTitleText","cancelSubscriptionText","cancelSubscriptionLink","bool","isRequired"],"sources":["../../../src/molecule/subscription-premium/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport Provider from '../../atom/provider';\nimport style from './style.css';\n\nconst PremiumDescription = ({date, price}, {translate}) => {\n // @TODO use only one template\n const part1 = translate('subscription_premium_description_part1');\n const part2 = translate('subscription_premium_description_part2');\n\n return <div className={style.premiumProductDetails}>{`${part1}${date}${part2}${price}.`}</div>;\n};\n\nPremiumDescription.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nPremiumDescription.propTypes = {\n date: PropTypes.string,\n price: PropTypes.string\n};\n\nconst PromoCodeDescription = ({date}, {translate}) => {\n const text = translate('subscription_promo_code', {date});\n\n return (\n <div className={style.premiumProductDetails}>\n {text}\n <a className={style.homeLink} href=\"http://coorpacademy.com\">\n Coorpacademy.com\n </a>\n </div>\n );\n};\n\nPromoCodeDescription.propTypes = {\n date: PropTypes.string\n};\n\nPromoCodeDescription.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nconst SubscriptionPremiumDetails = (props, context) => {\n const {\n isPromoCode,\n subscriptionPremiumDescriptionDate: date,\n subscriptionPremiumDescriptionPrice: price,\n checkImage,\n subscriptionPremiumDescriptionLink\n } = props;\n\n const {translate} = context;\n const Description = isPromoCode ? PromoCodeDescription : PremiumDescription;\n\n return (\n <div>\n <div className={style.premiumTitle}>\n <img className={style.premiumTitleImage} src={checkImage} />\n <div className={style.premiumTitleText}>{translate('subscription_premium_title')}</div>\n </div>\n <div>\n <Description date={date} price={price} />\n {!isPromoCode ? (\n <div className={style.cancelSubscriptionText}>\n {translate('subscription_premium_description_part3')}\n <a\n className={style.cancelSubscriptionLink}\n href={`${subscriptionPremiumDescriptionLink}`}\n >\n {translate('subscription_premium_description_part3_with_link')}\n </a>\n </div>\n ) : null}\n </div>\n </div>\n );\n};\n\nSubscriptionPremiumDetails.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nSubscriptionPremiumDetails.propTypes = {\n checkImage: PropTypes.string,\n isPromoCode: PropTypes.bool.isRequired,\n subscriptionPremiumDescriptionDate: PropTypes.string,\n subscriptionPremiumDescriptionPrice: PropTypes.string,\n subscriptionPremiumDescriptionLink: PropTypes.string\n};\n\nexport default SubscriptionPremiumDetails;\n"],"mappings":";;;;AAAA;AACA;AACA;AACA;AAAgC;AAEhC,MAAMA,kBAAkB,GAAG,CAAC;EAACC,IAAI;EAAEC;AAAK,CAAC,EAAE;EAACC;AAAS,CAAC,KAAK;EACzD;EACA,MAAMC,KAAK,GAAGD,SAAS,CAAC,wCAAwC,CAAC;EACjE,MAAME,KAAK,GAAGF,SAAS,CAAC,wCAAwC,CAAC;EAEjE,oBAAO;IAAK,SAAS,EAAEG,cAAK,CAACC;EAAsB,GAAG,GAAEH,KAAM,GAAEH,IAAK,GAAEI,KAAM,GAAEH,KAAM,GAAE,CAAO;AAChG,CAAC;AAEDF,kBAAkB,CAACQ,YAAY,GAAG;EAChCL,SAAS,EAAEM,iBAAQ,CAACC,iBAAiB,CAACP;AACxC,CAAC;AAEDH,kBAAkB,CAACW,SAAS,2CAAG;EAC7BV,IAAI,EAAEW,kBAAS,CAACC,MAAM;EACtBX,KAAK,EAAEU,kBAAS,CAACC;AACnB,CAAC;AAED,MAAMC,oBAAoB,GAAG,CAAC;EAACb;AAAI,CAAC,EAAE;EAACE;AAAS,CAAC,KAAK;EACpD,MAAMY,IAAI,GAAGZ,SAAS,CAAC,yBAAyB,EAAE;IAACF;EAAI,CAAC,CAAC;EAEzD,oBACE;IAAK,SAAS,EAAEK,cAAK,CAACC;EAAsB,GACzCQ,IAAI,eACL;IAAG,SAAS,EAAET,cAAK,CAACU,QAAS;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AACN,SAAS,2CAAG;EACrCY,UAAU,EAAEX,kBAAS,CAACC,MAAM;EAC5BO,WAAW,EAAER,kBAAS,CAACmB,IAAI,CAACC,UAAU;EACtCX,kCAAkC,EAAET,kBAAS,CAACC,MAAM;EACpDS,mCAAmC,EAAEV,kBAAS,CAACC,MAAM;EACrDW,kCAAkC,EAAEZ,kBAAS,CAACC;AAChD,CAAC;AAAC,eAEaI,0BAA0B;AAAA"}
|
|
@@ -2,33 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.default = void 0;
|
|
5
|
-
|
|
6
5
|
var _isString2 = _interopRequireDefault(require("lodash/fp/isString"));
|
|
7
|
-
|
|
8
6
|
var _get2 = _interopRequireDefault(require("lodash/fp/get"));
|
|
9
|
-
|
|
10
7
|
var _react = _interopRequireDefault(require("react"));
|
|
11
|
-
|
|
12
8
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
13
|
-
|
|
14
9
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
15
|
-
|
|
16
10
|
var _novaIcons = require("@coorpacademy/nova-icons");
|
|
17
|
-
|
|
18
11
|
var _provider = _interopRequireDefault(require("../../atom/provider"));
|
|
19
|
-
|
|
20
12
|
var _checkbox = _interopRequireDefault(require("../../atom/checkbox"));
|
|
21
|
-
|
|
22
13
|
var _link = _interopRequireDefault(require("../../atom/link"));
|
|
23
|
-
|
|
24
14
|
var _style = _interopRequireDefault(require("./style.css"));
|
|
25
|
-
|
|
26
15
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
27
|
-
|
|
28
16
|
const THEMES = {
|
|
29
17
|
COCKPIT: 'cockpit'
|
|
30
18
|
};
|
|
31
|
-
|
|
32
19
|
const createOptionsView = (_options, hasOptions) => {
|
|
33
20
|
const optionsView = _options.map((option, oIndex) => {
|
|
34
21
|
const {
|
|
@@ -43,12 +30,10 @@ const createOptionsView = (_options, hasOptions) => {
|
|
|
43
30
|
onClick: onChange
|
|
44
31
|
}, option.title));
|
|
45
32
|
});
|
|
46
|
-
|
|
47
33
|
return hasOptions ? /*#__PURE__*/_react.default.createElement("div", {
|
|
48
34
|
className: _style.default.options
|
|
49
35
|
}, optionsView) : null;
|
|
50
36
|
};
|
|
51
|
-
|
|
52
37
|
const buildTableContext = (translate, theme, headerTitle) => {
|
|
53
38
|
if (theme === THEMES.COCKPIT) {
|
|
54
39
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
@@ -79,7 +64,6 @@ const buildTableContext = (translate, theme, headerTitle) => {
|
|
|
79
64
|
className: _style.default.label
|
|
80
65
|
}, translate('No status')))));
|
|
81
66
|
}
|
|
82
|
-
|
|
83
67
|
if (headerTitle) {
|
|
84
68
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
85
69
|
className: _style.default.header
|
|
@@ -87,10 +71,8 @@ const buildTableContext = (translate, theme, headerTitle) => {
|
|
|
87
71
|
className: _style.default.title
|
|
88
72
|
}, headerTitle));
|
|
89
73
|
}
|
|
90
|
-
|
|
91
74
|
return null;
|
|
92
75
|
};
|
|
93
|
-
|
|
94
76
|
const Table = (props, context) => {
|
|
95
77
|
const {
|
|
96
78
|
rows = [],
|
|
@@ -135,7 +117,6 @@ const Table = (props, context) => {
|
|
|
135
117
|
}) : null)));
|
|
136
118
|
});
|
|
137
119
|
const tableContext = buildTableContext(translate, theme, headerTitle);
|
|
138
|
-
|
|
139
120
|
if (editable) {
|
|
140
121
|
headerView.unshift( /*#__PURE__*/_react.default.createElement("th", {
|
|
141
122
|
key: "header"
|
|
@@ -143,7 +124,6 @@ const Table = (props, context) => {
|
|
|
143
124
|
className: _style.default.noOptions
|
|
144
125
|
})));
|
|
145
126
|
}
|
|
146
|
-
|
|
147
127
|
const renderIcon = field => {
|
|
148
128
|
switch ((0, _get2.default)('icon', field)) {
|
|
149
129
|
case 'draft':
|
|
@@ -151,30 +131,25 @@ const Table = (props, context) => {
|
|
|
151
131
|
width: 25,
|
|
152
132
|
height: 25
|
|
153
133
|
});
|
|
154
|
-
|
|
155
134
|
case 'validate':
|
|
156
135
|
return /*#__PURE__*/_react.default.createElement(_novaIcons.NovaCompositionCoorpacademyValidate, {
|
|
157
136
|
width: 25,
|
|
158
137
|
height: 25
|
|
159
138
|
});
|
|
160
|
-
|
|
161
139
|
case 'nostatus':
|
|
162
140
|
return /*#__PURE__*/_react.default.createElement("span", {
|
|
163
141
|
className: _style.default.nostatus
|
|
164
142
|
}, '\u26A0️');
|
|
165
|
-
|
|
166
143
|
case 'videosubtitle':
|
|
167
144
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_novaIcons.NovaSolidVideosVideoSubtitle, {
|
|
168
145
|
className: _style.default.videosubtitle,
|
|
169
146
|
width: 25,
|
|
170
147
|
height: 25
|
|
171
148
|
}), field.title);
|
|
172
|
-
|
|
173
149
|
default:
|
|
174
150
|
null;
|
|
175
151
|
}
|
|
176
152
|
};
|
|
177
|
-
|
|
178
153
|
const bodyView = rows.map((row, index) => {
|
|
179
154
|
const {
|
|
180
155
|
fields = [],
|
|
@@ -191,7 +166,6 @@ const Table = (props, context) => {
|
|
|
191
166
|
key: fIndex
|
|
192
167
|
}, (0, _isString2.default)(field) ? field : renderIcon(field));
|
|
193
168
|
});
|
|
194
|
-
|
|
195
169
|
if (editable) {
|
|
196
170
|
tableRows.unshift(
|
|
197
171
|
/*#__PURE__*/
|
|
@@ -206,7 +180,6 @@ const Table = (props, context) => {
|
|
|
206
180
|
width: 16
|
|
207
181
|
}))));
|
|
208
182
|
}
|
|
209
|
-
|
|
210
183
|
return /*#__PURE__*/_react.default.createElement("tr", {
|
|
211
184
|
className: trClasses,
|
|
212
185
|
key: index
|
|
@@ -221,7 +194,6 @@ const Table = (props, context) => {
|
|
|
221
194
|
})
|
|
222
195
|
}, /*#__PURE__*/_react.default.createElement("thead", null, /*#__PURE__*/_react.default.createElement("tr", null, headerView)), /*#__PURE__*/_react.default.createElement("tbody", null, bodyView)));
|
|
223
196
|
};
|
|
224
|
-
|
|
225
197
|
Table.contextTypes = {
|
|
226
198
|
skin: _provider.default.childContextTypes.skin,
|
|
227
199
|
translate: _provider.default.childContextTypes.translate
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["THEMES","COCKPIT","createOptionsView","_options","hasOptions","optionsView","map","option","oIndex","onChange","selected","style","title","options","buildTableContext","translate","theme","headerTitle","header","legend","icon","label","nostatus","Table","props","context","rows","columns","editable","skin","mediumColor","headerView","column","cIndex","filtered","info","length","OptionsIcon","FunnelIcon","ArrowDown","toggle","noOptions","checkbox","optionsIconWrapper","optionsIcon","tableContext","unshift","renderIcon","field","videosubtitle","bodyView","row","index","fields","editHref","trClasses","classnames","highlighted","tableRows","fIndex","mainClass","cockpit","wrapper","table","readonly","contextTypes","Provider","childContextTypes","propTypes","PropTypes","bool","arrayOf","shape","oneOfType","string","isRequired","func","oneOf"],"sources":["../../../src/molecule/table/index.js"],"sourcesContent":["import React from 'react';\nimport classnames from 'classnames';\nimport PropTypes from 'prop-types';\nimport {get, isString} from 'lodash/fp';\nimport {\n NovaCompositionNavigationArrowDown as ArrowDown,\n NovaCompositionCoorpacademyFunnel as FunnelIcon,\n NovaSolidContentEditionPencil1 as PencilIcon,\n NovaCompositionCoorpacademyDraft as DraftIcon,\n NovaCompositionCoorpacademyValidate as ValidateIcon,\n NovaSolidVideosVideoSubtitle as VideoSubtitleIcon\n} from '@coorpacademy/nova-icons';\nimport Provider from '../../atom/provider';\nimport Checkbox from '../../atom/checkbox';\nimport Link from '../../atom/link';\nimport style from './style.css';\n\nconst THEMES = {COCKPIT: 'cockpit'};\n\nconst createOptionsView = (_options, hasOptions) => {\n const optionsView = _options.map((option, oIndex) => {\n const {onChange, selected} = option;\n\n return (\n <div key={oIndex} className={selected ? style.selected : style.option}>\n <button type=\"button\" onClick={onChange}>\n {option.title}\n </button>\n </div>\n );\n });\n\n return hasOptions ? <div className={style.options}>{optionsView}</div> : null;\n};\n\nconst buildTableContext = (translate, theme, headerTitle) => {\n if (theme === THEMES.COCKPIT) {\n return (\n <div className={style.header}>\n <h1 className={style.title}>{headerTitle}</h1>\n <div className={style.legend}>\n <div className={style.icon}>\n <DraftIcon width={25} height={25} />\n <span className={style.label}>{translate('Draft')}</span>\n </div>\n <div className={style.icon}>\n <ValidateIcon width={25} height={25} />\n <span className={style.label}>{translate('Validated')}</span>\n </div>\n <div className={style.icon}>\n <span className={style.nostatus}>{'\\u26A0️'}</span>\n <span className={style.label}>{translate('No status')}</span>\n </div>\n </div>\n </div>\n );\n }\n\n if (headerTitle) {\n return (\n <div className={style.header}>\n <h2 className={style.title}>{headerTitle}</h2>\n </div>\n );\n }\n return null;\n};\n\nconst Table = (props, context) => {\n const {rows = [], columns = [], editable = true, theme, headerTitle = ''} = props;\n const {skin, translate} = context;\n\n const mediumColor = get('common.medium', skin);\n\n const headerView = columns.map((column, cIndex) => {\n const {title, filtered, info = '', options = []} = column;\n\n const hasOptions = options.length > 0;\n\n const OptionsIcon = (hasOptions && (filtered ? FunnelIcon : ArrowDown)) || null;\n\n return (\n <th title={info} key={cIndex}>\n <div className={hasOptions ? style.toggle : style.noOptions}>\n <Checkbox id={title} name={title} checked className={style.checkbox} />\n <label htmlFor={title}>{title}</label>\n {options.length > 0 ? createOptionsView(options, hasOptions) : null}\n <div className={style.optionsIconWrapper}>\n {hasOptions ? (\n <OptionsIcon\n color={mediumColor}\n height={16}\n width={16}\n className={style.optionsIcon}\n />\n ) : null}\n </div>\n </div>\n </th>\n );\n });\n\n const tableContext = buildTableContext(translate, theme, headerTitle);\n\n if (editable) {\n headerView.unshift(\n <th key=\"header\">\n <div className={style.noOptions} />\n </th>\n );\n }\n\n const renderIcon = field => {\n switch (get('icon', field)) {\n case 'draft':\n return <DraftIcon width={25} height={25} />;\n case 'validate':\n return <ValidateIcon width={25} height={25} />;\n case 'nostatus':\n return <span className={style.nostatus}>{'\\u26A0️'}</span>;\n case 'videosubtitle':\n return (\n <>\n <VideoSubtitleIcon className={style.videosubtitle} width={25} height={25} />\n {field.title}\n </>\n );\n default:\n null;\n }\n };\n\n const bodyView = rows.map((row, index) => {\n const {fields = [], editHref} = row;\n const trClasses = classnames({[style.highlighted]: row.highlighted});\n\n const tableRows = fields.map((field, fIndex) => {\n if (!field) return <td key={fIndex}>{''}</td>;\n return <td key={fIndex}>{isString(field) ? field : renderIcon(field)}</td>;\n });\n\n if (editable) {\n tableRows.unshift(\n // TODO restore dropped support of hoverColor={brandColor}\n <td key=\"header\">\n <Link href={editHref}>\n <PencilIcon color={mediumColor} height={16} width={16} />\n </Link>\n </td>\n );\n }\n\n return (\n <tr className={trClasses} key={index}>\n {tableRows}\n </tr>\n );\n });\n\n const mainClass = classnames(theme === THEMES.COCKPIT ? style.cockpit : style.wrapper);\n\n return (\n <div className={mainClass}>\n {tableContext}\n <table className={classnames(style.table, {[style.readonly]: !editable})}>\n <thead>\n <tr>{headerView}</tr>\n </thead>\n <tbody>{bodyView}</tbody>\n </table>\n </div>\n );\n};\n\nTable.contextTypes = {\n skin: Provider.childContextTypes.skin,\n translate: Provider.childContextTypes.translate\n};\n\nTable.propTypes = {\n editable: PropTypes.bool,\n rows: PropTypes.arrayOf(\n PropTypes.shape({\n fields: PropTypes.arrayOf(\n PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.shape({icon: PropTypes.string}),\n PropTypes.shape({icon: PropTypes.string, title: PropTypes.string})\n ])\n ),\n editHref: PropTypes.string,\n highlighted: PropTypes.bool\n })\n ),\n columns: PropTypes.arrayOf(\n PropTypes.shape({\n title: PropTypes.string.isRequired,\n info: PropTypes.string,\n filtered: PropTypes.bool,\n options: PropTypes.arrayOf(\n PropTypes.shape({\n title: PropTypes.string.isRequired,\n onChange: PropTypes.func.isRequired,\n selected: PropTypes.bool.isRequired\n })\n )\n })\n ),\n theme: PropTypes.oneOf([THEMES.COCKPIT]),\n headerTitle: PropTypes.string\n};\n\nexport default Table;\n"],"mappings":";;;;;;;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AO,EAAE0C,kBAAA,CAAUE,OAAV,CACPF,kBAAA,CAAUG,KAAV,CAAgB;IACd5D,KAAK,EAAEyD,kBAAA,CAAUK,MAAV,CAAiBC,UADV;IAEdxC,IAAI,EAAEkC,kBAAA,CAAUK,MAFF;IAGdxC,QAAQ,EAAEmC,kBAAA,CAAUC,IAHN;IAIdzD,OAAO,EAAEwD,kBAAA,CAAUE,OAAV,CACPF,kBAAA,CAAUG,KAAV,CAAgB;MACd5D,KAAK,EAAEyD,kBAAA,CAAUK,MAAV,CAAiBC,UADV;MAEdlE,QAAQ,EAAE4D,kBAAA,CAAUO,IAAV,CAAeD,UAFX;MAGdjE,QAAQ,EAAE2D,kBAAA,CAAUC,IAAV,CAAeK;IAHX,CAAhB,CADO;EAJK,CAAhB,CADO,CAfO;EA6BhB3D,KAAK,EAAEqD,kBAAA,CAAUQ,KAAV,CAAgB,CAAC7E,MAAM,CAACC,OAAR,CAAhB,CA7BS;EA8BhBgB,WAAW,EAAEoD,kBAAA,CAAUK;AA9BP,CAAlB;eAiCenD,K"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["THEMES","COCKPIT","createOptionsView","_options","hasOptions","optionsView","map","option","oIndex","onChange","selected","style","title","options","buildTableContext","translate","theme","headerTitle","header","legend","icon","label","nostatus","Table","props","context","rows","columns","editable","skin","mediumColor","headerView","column","cIndex","filtered","info","length","OptionsIcon","FunnelIcon","ArrowDown","toggle","noOptions","checkbox","optionsIconWrapper","optionsIcon","tableContext","unshift","renderIcon","field","videosubtitle","bodyView","row","index","fields","editHref","trClasses","classnames","highlighted","tableRows","fIndex","mainClass","cockpit","wrapper","table","readonly","contextTypes","Provider","childContextTypes","propTypes","PropTypes","bool","arrayOf","shape","oneOfType","string","isRequired","func","oneOf"],"sources":["../../../src/molecule/table/index.js"],"sourcesContent":["import React from 'react';\nimport classnames from 'classnames';\nimport PropTypes from 'prop-types';\nimport {get, isString} from 'lodash/fp';\nimport {\n NovaCompositionNavigationArrowDown as ArrowDown,\n NovaCompositionCoorpacademyFunnel as FunnelIcon,\n NovaSolidContentEditionPencil1 as PencilIcon,\n NovaCompositionCoorpacademyDraft as DraftIcon,\n NovaCompositionCoorpacademyValidate as ValidateIcon,\n NovaSolidVideosVideoSubtitle as VideoSubtitleIcon\n} from '@coorpacademy/nova-icons';\nimport Provider from '../../atom/provider';\nimport Checkbox from '../../atom/checkbox';\nimport Link from '../../atom/link';\nimport style from './style.css';\n\nconst THEMES = {COCKPIT: 'cockpit'};\n\nconst createOptionsView = (_options, hasOptions) => {\n const optionsView = _options.map((option, oIndex) => {\n const {onChange, selected} = option;\n\n return (\n <div key={oIndex} className={selected ? style.selected : style.option}>\n <button type=\"button\" onClick={onChange}>\n {option.title}\n </button>\n </div>\n );\n });\n\n return hasOptions ? <div className={style.options}>{optionsView}</div> : null;\n};\n\nconst buildTableContext = (translate, theme, headerTitle) => {\n if (theme === THEMES.COCKPIT) {\n return (\n <div className={style.header}>\n <h1 className={style.title}>{headerTitle}</h1>\n <div className={style.legend}>\n <div className={style.icon}>\n <DraftIcon width={25} height={25} />\n <span className={style.label}>{translate('Draft')}</span>\n </div>\n <div className={style.icon}>\n <ValidateIcon width={25} height={25} />\n <span className={style.label}>{translate('Validated')}</span>\n </div>\n <div className={style.icon}>\n <span className={style.nostatus}>{'\\u26A0️'}</span>\n <span className={style.label}>{translate('No status')}</span>\n </div>\n </div>\n </div>\n );\n }\n\n if (headerTitle) {\n return (\n <div className={style.header}>\n <h2 className={style.title}>{headerTitle}</h2>\n </div>\n );\n }\n return null;\n};\n\nconst Table = (props, context) => {\n const {rows = [], columns = [], editable = true, theme, headerTitle = ''} = props;\n const {skin, translate} = context;\n\n const mediumColor = get('common.medium', skin);\n\n const headerView = columns.map((column, cIndex) => {\n const {title, filtered, info = '', options = []} = column;\n\n const hasOptions = options.length > 0;\n\n const OptionsIcon = (hasOptions && (filtered ? FunnelIcon : ArrowDown)) || null;\n\n return (\n <th title={info} key={cIndex}>\n <div className={hasOptions ? style.toggle : style.noOptions}>\n <Checkbox id={title} name={title} checked className={style.checkbox} />\n <label htmlFor={title}>{title}</label>\n {options.length > 0 ? createOptionsView(options, hasOptions) : null}\n <div className={style.optionsIconWrapper}>\n {hasOptions ? (\n <OptionsIcon\n color={mediumColor}\n height={16}\n width={16}\n className={style.optionsIcon}\n />\n ) : null}\n </div>\n </div>\n </th>\n );\n });\n\n const tableContext = buildTableContext(translate, theme, headerTitle);\n\n if (editable) {\n headerView.unshift(\n <th key=\"header\">\n <div className={style.noOptions} />\n </th>\n );\n }\n\n const renderIcon = field => {\n switch (get('icon', field)) {\n case 'draft':\n return <DraftIcon width={25} height={25} />;\n case 'validate':\n return <ValidateIcon width={25} height={25} />;\n case 'nostatus':\n return <span className={style.nostatus}>{'\\u26A0️'}</span>;\n case 'videosubtitle':\n return (\n <>\n <VideoSubtitleIcon className={style.videosubtitle} width={25} height={25} />\n {field.title}\n </>\n );\n default:\n null;\n }\n };\n\n const bodyView = rows.map((row, index) => {\n const {fields = [], editHref} = row;\n const trClasses = classnames({[style.highlighted]: row.highlighted});\n\n const tableRows = fields.map((field, fIndex) => {\n if (!field) return <td key={fIndex}>{''}</td>;\n return <td key={fIndex}>{isString(field) ? field : renderIcon(field)}</td>;\n });\n\n if (editable) {\n tableRows.unshift(\n // TODO restore dropped support of hoverColor={brandColor}\n <td key=\"header\">\n <Link href={editHref}>\n <PencilIcon color={mediumColor} height={16} width={16} />\n </Link>\n </td>\n );\n }\n\n return (\n <tr className={trClasses} key={index}>\n {tableRows}\n </tr>\n );\n });\n\n const mainClass = classnames(theme === THEMES.COCKPIT ? style.cockpit : style.wrapper);\n\n return (\n <div className={mainClass}>\n {tableContext}\n <table className={classnames(style.table, {[style.readonly]: !editable})}>\n <thead>\n <tr>{headerView}</tr>\n </thead>\n <tbody>{bodyView}</tbody>\n </table>\n </div>\n );\n};\n\nTable.contextTypes = {\n skin: Provider.childContextTypes.skin,\n translate: Provider.childContextTypes.translate\n};\n\nTable.propTypes = {\n editable: PropTypes.bool,\n rows: PropTypes.arrayOf(\n PropTypes.shape({\n fields: PropTypes.arrayOf(\n PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.shape({icon: PropTypes.string}),\n PropTypes.shape({icon: PropTypes.string, title: PropTypes.string})\n ])\n ),\n editHref: PropTypes.string,\n highlighted: PropTypes.bool\n })\n ),\n columns: PropTypes.arrayOf(\n PropTypes.shape({\n title: PropTypes.string.isRequired,\n info: PropTypes.string,\n filtered: PropTypes.bool,\n options: PropTypes.arrayOf(\n PropTypes.shape({\n title: PropTypes.string.isRequired,\n onChange: PropTypes.func.isRequired,\n selected: PropTypes.bool.isRequired\n })\n )\n })\n ),\n theme: PropTypes.oneOf([THEMES.COCKPIT]),\n headerTitle: PropTypes.string\n};\n\nexport default Table;\n"],"mappings":";;;;;;AAAA;AACA;AACA;AAEA;AAQA;AACA;AACA;AACA;AAAgC;AAEhC,MAAMA,MAAM,GAAG;EAACC,OAAO,EAAE;AAAS,CAAC;AAEnC,MAAMC,iBAAiB,GAAG,CAACC,QAAQ,EAAEC,UAAU,KAAK;EAClD,MAAMC,WAAW,GAAGF,QAAQ,CAACG,GAAG,CAAC,CAACC,MAAM,EAAEC,MAAM,KAAK;IACnD,MAAM;MAACC,QAAQ;MAAEC;IAAQ,CAAC,GAAGH,MAAM;IAEnC,oBACE;MAAK,GAAG,EAAEC,MAAO;MAAC,SAAS,EAAEE,QAAQ,GAAGC,cAAK,CAACD,QAAQ,GAAGC,cAAK,CAACJ;IAAO,gBACpE;MAAQ,IAAI,EAAC,QAAQ;MAAC,OAAO,EAAEE;IAAS,GACrCF,MAAM,CAACK,KAAK,CACN,CACL;EAEV,CAAC,CAAC;EAEF,OAAOR,UAAU,gBAAG;IAAK,SAAS,EAAEO,cAAK,CAACE;EAAQ,GAAER,WAAW,CAAO,GAAG,IAAI;AAC/E,CAAC;AAED,MAAMS,iBAAiB,GAAG,CAACC,SAAS,EAAEC,KAAK,EAAEC,WAAW,KAAK;EAC3D,IAAID,K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AACK,MAAM,EAChBL,kBAAS,CAACG,KAAK,CAAC;MAACpD,IAAI,EAAEiD,kBAAS,CAACK;IAAM,CAAC,CAAC,EACzCL,kBAAS,CAACG,KAAK,CAAC;MAACpD,IAAI,EAAEiD,kBAAS,CAACK,MAAM;MAAE9D,KAAK,EAAEyD,kBAAS,CAACK;IAAM,CAAC,CAAC,CACnE,CAAC,CACH;IACDpB,QAAQ,EAAEe,kBAAS,CAACK,MAAM;IAC1BjB,WAAW,EAAEY,kBAAS,CAACC;EACzB,CAAC,CAAC,CACH;EACD3C,OAAO,EAAE0C,kBAAS,CAACE,OAAO,CACxBF,kBAAS,CAACG,KAAK,CAAC;IACd5D,KAAK,EAAEyD,kBAAS,CAACK,MAAM,CAACC,UAAU;IAClCxC,IAAI,EAAEkC,kBAAS,CAACK,MAAM;IACtBxC,QAAQ,EAAEmC,kBAAS,CAACC,IAAI;IACxBzD,OAAO,EAAEwD,kBAAS,CAACE,OAAO,CACxBF,kBAAS,CAACG,KAAK,CAAC;MACd5D,KAAK,EAAEyD,kBAAS,CAACK,MAAM,CAACC,UAAU;MAClClE,QAAQ,EAAE4D,kBAAS,CAACO,IAAI,CAACD,UAAU;MACnCjE,QAAQ,EAAE2D,kBAAS,CAACC,IAAI,CAACK;IAC3B,CAAC,CAAC;EAEN,CAAC,CAAC,CACH;EACD3D,KAAK,EAAEqD,kBAAS,CAACQ,KAAK,CAAC,CAAC7E,MAAM,CAACC,OAAO,CAAC,CAAC;EACxCgB,WAAW,EAAEoD,kBAAS,CAACK;AACzB,CAAC;AAAC,eAEanD,KAAK;AAAA"}
|
|
@@ -2,21 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.default = void 0;
|
|
5
|
-
|
|
6
5
|
var _react = _interopRequireDefault(require("react"));
|
|
7
|
-
|
|
8
6
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
-
|
|
10
7
|
var _novaIcons = require("@coorpacademy/nova-icons");
|
|
11
|
-
|
|
12
8
|
var _cta = _interopRequireDefault(require("../../atom/cta"));
|
|
13
|
-
|
|
14
9
|
var _loader = _interopRequireDefault(require("../../atom/loader"));
|
|
15
|
-
|
|
16
10
|
var _style = _interopRequireDefault(require("./style.css"));
|
|
17
|
-
|
|
18
11
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19
|
-
|
|
20
12
|
const ICONS = {
|
|
21
13
|
login: _novaIcons.NovaCompositionCoorpacademySchoolGraduation,
|
|
22
14
|
loginFailed: _novaIcons.NovaCompositionCoorpacademyLoginFailed,
|
|
@@ -24,7 +16,6 @@ const ICONS = {
|
|
|
24
16
|
reload: _novaIcons.NovaCompositionCoorpacademyReload,
|
|
25
17
|
wrong: _novaIcons.NovaCompositionCoorpacademyReload
|
|
26
18
|
};
|
|
27
|
-
|
|
28
19
|
const TeamsPopin = props => {
|
|
29
20
|
const {
|
|
30
21
|
header,
|
|
@@ -85,7 +76,6 @@ const TeamsPopin = props => {
|
|
|
85
76
|
}
|
|
86
77
|
}) : null));
|
|
87
78
|
};
|
|
88
|
-
|
|
89
79
|
TeamsPopin.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
90
80
|
header: _propTypes.default.string,
|
|
91
81
|
content: _propTypes.default.string,
|