@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":["InputSplitScreen","props","context","translate","leftSection","rightSection","buttons","criteriaList","convert","cap","criterion","key","style","field","values","collectionList","collection","buttonList","button","splitDefault","splitLeft","title","required","splitRight","rowBottom","buttonGroup","mandatoryFields","sectionPropTypes","PropTypes","string","isRequired","arrayOf","shape","InputCheckbox","propTypes","bool","contextTypes","Provider","childContextTypes","SetupCohortItem","wrapper","defaultProps"],"sources":["../../../src/molecule/setup-cohort-item/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {map} from 'lodash/fp';\nimport InputCheckbox from '../../atom/input-checkbox';\nimport Button from '../../atom/button';\nimport Provider from '../../atom/provider';\nimport style from './style.css';\n\nconst InputSplitScreen = (props, context) => {\n const {translate} = context;\n const {leftSection, rightSection, buttons} = props;\n const criteriaList = map.convert({cap: false})((criterion, key) => {\n return (\n <div className={style.field} key={key}>\n <InputCheckbox {...criterion} />\n </div>\n );\n }, leftSection.values);\n const collectionList = map.convert({cap: false})((collection, key) => {\n return (\n <div className={style.field} key={key}>\n <InputCheckbox {...collection} />\n </div>\n );\n }, rightSection.values);\n const buttonList = map.convert({cap: false})((button, key) => {\n return (\n <div className={style.button} key={key}>\n <Button {...button} />\n </div>\n );\n }, buttons);\n return (\n <div>\n <div className={style.splitDefault}>\n <div className={style.splitLeft}>\n <p className={style.title}>{`${leftSection.title}${leftSection.required ? '*' : ''}`}</p>\n {criteriaList}\n </div>\n <div className={style.splitRight}>\n <p className={style.title}>\n {`${rightSection.title}${rightSection.required ? '*' : ''}`}\n </p>\n {collectionList}\n </div>\n </div>\n <div className={style.rowBottom}>\n <div className={style.buttonGroup}>{buttonList}</div>\n <p className={style.mandatoryFields}>{translate('mandatory_fields')}</p>\n </div>\n </div>\n );\n};\n\nconst sectionPropTypes = {\n title: PropTypes.string.isRequired,\n values: PropTypes.arrayOf(\n PropTypes.shape({\n ...InputCheckbox.propTypes\n })\n ).isRequired,\n required: PropTypes.bool\n};\n\nInputSplitScreen.propTypes = {\n leftSection: PropTypes.shape({\n ...sectionPropTypes\n }),\n rightSection: PropTypes.shape({\n ...sectionPropTypes\n })\n};\n\nInputSplitScreen.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nconst SetupCohortItem = props => {\n const {field} = props;\n\n return (\n <div className={style.wrapper}>\n <InputSplitScreen {...field} />\n </div>\n );\n};\n\nSetupCohortItem.defaultProps = {\n field: {}\n};\n\nSetupCohortItem.propTypes = {\n field: PropTypes.shape({\n ...InputSplitScreen.propTypes\n })\n};\nexport default SetupCohortItem;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","names":["InputSplitScreen","props","context","translate","leftSection","rightSection","buttons","criteriaList","convert","cap","criterion","key","style","field","values","collectionList","collection","buttonList","button","splitDefault","splitLeft","title","required","splitRight","rowBottom","buttonGroup","mandatoryFields","sectionPropTypes","PropTypes","string","isRequired","arrayOf","shape","InputCheckbox","propTypes","bool","contextTypes","Provider","childContextTypes","SetupCohortItem","wrapper","defaultProps"],"sources":["../../../src/molecule/setup-cohort-item/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {map} from 'lodash/fp';\nimport InputCheckbox from '../../atom/input-checkbox';\nimport Button from '../../atom/button';\nimport Provider from '../../atom/provider';\nimport style from './style.css';\n\nconst InputSplitScreen = (props, context) => {\n const {translate} = context;\n const {leftSection, rightSection, buttons} = props;\n const criteriaList = map.convert({cap: false})((criterion, key) => {\n return (\n <div className={style.field} key={key}>\n <InputCheckbox {...criterion} />\n </div>\n );\n }, leftSection.values);\n const collectionList = map.convert({cap: false})((collection, key) => {\n return (\n <div className={style.field} key={key}>\n <InputCheckbox {...collection} />\n </div>\n );\n }, rightSection.values);\n const buttonList = map.convert({cap: false})((button, key) => {\n return (\n <div className={style.button} key={key}>\n <Button {...button} />\n </div>\n );\n }, buttons);\n return (\n <div>\n <div className={style.splitDefault}>\n <div className={style.splitLeft}>\n <p className={style.title}>{`${leftSection.title}${leftSection.required ? '*' : ''}`}</p>\n {criteriaList}\n </div>\n <div className={style.splitRight}>\n <p className={style.title}>\n {`${rightSection.title}${rightSection.required ? '*' : ''}`}\n </p>\n {collectionList}\n </div>\n </div>\n <div className={style.rowBottom}>\n <div className={style.buttonGroup}>{buttonList}</div>\n <p className={style.mandatoryFields}>{translate('mandatory_fields')}</p>\n </div>\n </div>\n );\n};\n\nconst sectionPropTypes = {\n title: PropTypes.string.isRequired,\n values: PropTypes.arrayOf(\n PropTypes.shape({\n ...InputCheckbox.propTypes\n })\n ).isRequired,\n required: PropTypes.bool\n};\n\nInputSplitScreen.propTypes = {\n leftSection: PropTypes.shape({\n ...sectionPropTypes\n }),\n rightSection: PropTypes.shape({\n ...sectionPropTypes\n })\n};\n\nInputSplitScreen.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nconst SetupCohortItem = props => {\n const {field} = props;\n\n return (\n <div className={style.wrapper}>\n <InputSplitScreen {...field} />\n </div>\n );\n};\n\nSetupCohortItem.defaultProps = {\n field: {}\n};\n\nSetupCohortItem.propTypes = {\n field: PropTypes.shape({\n ...InputSplitScreen.propTypes\n })\n};\nexport default SetupCohortItem;\n"],"mappings":"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"}
|
|
@@ -2,25 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.default = void 0;
|
|
5
|
-
|
|
6
5
|
var _get2 = _interopRequireDefault(require("lodash/fp/get"));
|
|
7
|
-
|
|
8
6
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
7
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
|
-
|
|
12
8
|
var _provider = _interopRequireDefault(require("../../atom/provider"));
|
|
13
|
-
|
|
14
9
|
var _inputSwitch = _interopRequireDefault(require("../../atom/input-switch"));
|
|
15
|
-
|
|
16
10
|
var _radioGroup = _interopRequireDefault(require("../../atom/radio-group"));
|
|
17
|
-
|
|
18
11
|
var _style = _interopRequireDefault(require("./style.css"));
|
|
19
|
-
|
|
20
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
21
|
-
|
|
22
13
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
23
|
-
|
|
24
14
|
const ContentTypesToggler = (props, context) => {
|
|
25
15
|
const {
|
|
26
16
|
skin
|
|
@@ -28,11 +18,9 @@ const ContentTypesToggler = (props, context) => {
|
|
|
28
18
|
const {
|
|
29
19
|
contentTypes
|
|
30
20
|
} = props;
|
|
31
|
-
|
|
32
21
|
if (!contentTypes) {
|
|
33
22
|
return null;
|
|
34
23
|
}
|
|
35
|
-
|
|
36
24
|
const brand = (0, _get2.default)('common.brand', skin);
|
|
37
25
|
const orange = (0, _get2.default)('common.orange', skin);
|
|
38
26
|
const contentTypesColor = (0, _get2.default)('modified', contentTypes) ? orange : brand;
|
|
@@ -42,7 +30,6 @@ const ContentTypesToggler = (props, context) => {
|
|
|
42
30
|
color: contentTypesColor
|
|
43
31
|
})));
|
|
44
32
|
};
|
|
45
|
-
|
|
46
33
|
ContentTypesToggler.contextTypes = {
|
|
47
34
|
skin: _provider.default.childContextTypes.skin
|
|
48
35
|
};
|
|
@@ -51,7 +38,6 @@ ContentTypesToggler.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
51
38
|
modified: _propTypes.default.bool
|
|
52
39
|
}))
|
|
53
40
|
} : {};
|
|
54
|
-
|
|
55
41
|
const SetupSection = (props, context) => {
|
|
56
42
|
const {
|
|
57
43
|
translate
|
|
@@ -73,7 +59,6 @@ const SetupSection = (props, context) => {
|
|
|
73
59
|
className: _style.default.label
|
|
74
60
|
}, translate('Show')), /*#__PURE__*/_react.default.createElement(_inputSwitch.default, display)));
|
|
75
61
|
};
|
|
76
|
-
|
|
77
62
|
SetupSection.contextTypes = {
|
|
78
63
|
translate: _provider.default.childContextTypes.translate,
|
|
79
64
|
skin: _provider.default.childContextTypes.skin
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["ContentTypesToggler","props","context","skin","contentTypes","brand","orange","contentTypesColor","style","contentTypeWrapper","contextTypes","Provider","childContextTypes","propTypes","PropTypes","shape","RadioGroup","modified","bool","SetupSection","translate","title","display","wrapper","settings","label","string","isRequired","onUp","func","onDown","InputSwitch"],"sources":["../../../src/molecule/setup-section/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {get} from 'lodash/fp';\nimport Provider from '../../atom/provider';\nimport InputSwitch from '../../atom/input-switch';\nimport RadioGroup from '../../atom/radio-group';\nimport style from './style.css';\n\nconst ContentTypesToggler = (props, context) => {\n const {skin} = context;\n const {contentTypes} = props;\n\n if (!contentTypes) {\n return null;\n }\n\n const brand = get('common.brand', skin);\n const orange = get('common.orange', skin);\n const contentTypesColor = get('modified', contentTypes) ? orange : brand;\n\n return (\n <div className={style.contentTypeWrapper}>\n <RadioGroup {...contentTypes} color={contentTypesColor} />\n </div>\n );\n};\n\nContentTypesToggler.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nContentTypesToggler.propTypes = {\n contentTypes: PropTypes.shape({\n ...RadioGroup.propTypes,\n modified: PropTypes.bool\n })\n};\n\nconst SetupSection = (props, context) => {\n const {translate} = context;\n\n const {title, display, contentTypes} = props;\n\n return (\n <div className={style.wrapper}>\n <div className={style.title}>{title}</div>\n <div className={style.settings}>\n <ContentTypesToggler contentTypes={contentTypes} />\n <div className={style.label}>{translate('Show')}</div>\n <InputSwitch {...display} />\n </div>\n </div>\n );\n};\n\nSetupSection.contextTypes = {\n translate: Provider.childContextTypes.translate,\n skin: Provider.childContextTypes.skin\n};\n\nSetupSection.propTypes = {\n title: PropTypes.string.isRequired,\n onUp: PropTypes.func,\n onDown: PropTypes.func,\n display: PropTypes.shape(InputSwitch.propTypes),\n contentTypes: ContentTypesToggler.propTypes.contentTypes\n};\n\nexport default SetupSection;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","names":["ContentTypesToggler","props","context","skin","contentTypes","brand","orange","contentTypesColor","style","contentTypeWrapper","contextTypes","Provider","childContextTypes","propTypes","PropTypes","shape","RadioGroup","modified","bool","SetupSection","translate","title","display","wrapper","settings","label","string","isRequired","onUp","func","onDown","InputSwitch"],"sources":["../../../src/molecule/setup-section/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {get} from 'lodash/fp';\nimport Provider from '../../atom/provider';\nimport InputSwitch from '../../atom/input-switch';\nimport RadioGroup from '../../atom/radio-group';\nimport style from './style.css';\n\nconst ContentTypesToggler = (props, context) => {\n const {skin} = context;\n const {contentTypes} = props;\n\n if (!contentTypes) {\n return null;\n }\n\n const brand = get('common.brand', skin);\n const orange = get('common.orange', skin);\n const contentTypesColor = get('modified', contentTypes) ? orange : brand;\n\n return (\n <div className={style.contentTypeWrapper}>\n <RadioGroup {...contentTypes} color={contentTypesColor} />\n </div>\n );\n};\n\nContentTypesToggler.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nContentTypesToggler.propTypes = {\n contentTypes: PropTypes.shape({\n ...RadioGroup.propTypes,\n modified: PropTypes.bool\n })\n};\n\nconst SetupSection = (props, context) => {\n const {translate} = context;\n\n const {title, display, contentTypes} = props;\n\n return (\n <div className={style.wrapper}>\n <div className={style.title}>{title}</div>\n <div className={style.settings}>\n <ContentTypesToggler contentTypes={contentTypes} />\n <div className={style.label}>{translate('Show')}</div>\n <InputSwitch {...display} />\n </div>\n </div>\n );\n};\n\nSetupSection.contextTypes = {\n translate: Provider.childContextTypes.translate,\n skin: Provider.childContextTypes.skin\n};\n\nSetupSection.propTypes = {\n title: PropTypes.string.isRequired,\n onUp: PropTypes.func,\n onDown: PropTypes.func,\n display: PropTypes.shape(InputSwitch.propTypes),\n contentTypes: ContentTypesToggler.propTypes.contentTypes\n};\n\nexport default SetupSection;\n"],"mappings":";;;;;AAAA;AACA;AAEA;AACA;AACA;AACA;AAAgC;AAAA;AAEhC,MAAMA,mBAAmB,GAAG,CAACC,KAAK,EAAEC,OAAO,KAAK;EAC9C,MAAM;IAACC;EAAI,CAAC,GAAGD,OAAO;EACtB,MAAM;IAACE;EAAY,CAAC,GAAGH,KAAK;EAE5B,IAAI,CAACG,YAAY,EAAE;IACjB,OAAO,IAAI;EACb;EAEA,MAAMC,KAAK,GAAG,mBAAI,cAAc,EAAEF,IAAI,CAAC;EACvC,MAAMG,MAAM,GAAG,mBAAI,eAAe,EAAEH,IAAI,CAAC;EACzC,MAAMI,iBAAiB,GAAG,mBAAI,UAAU,EAAEH,YAAY,CAAC,GAAGE,MAAM,GAAGD,KAAK;EAExE,oBACE;IAAK,SAAS,EAAEG,cAAK,CAACC;EAAmB,gBACvC,6BAAC,mBAAU,eAAKL,YAAY;IAAE,KAAK,EAAEG;EAAkB,GAAG,CACtD;AAEV,CAAC;AAEDP,mBAAmB,CAACU,YAAY,GAAG;EACjCP,IAAI,EAAEQ,iBAAQ,CAACC,iBAAiB,CAACT;AACnC,CAAC;AAEDH,mBAAmB,CAACa,SAAS,2CAAG;EAC9BT,YAAY,EAAEU,kBAAS,CAACC,KAAK,cACxBC,mBAAU,CAACH,SAAS;IACvBI,QAAQ,EAAEH,kBAAS,CAACI;EAAI;AAE5B,CAAC;AAED,MAAMC,YAAY,GAAG,CAAClB,KAAK,EAAEC,OAAO,KAAK;EACvC,MAAM;IAACkB;EAAS,CAAC,GAAGlB,OAAO;EAE3B,MAAM;IAACmB,KAAK;IAAEC,OAAO;IAAElB;EAAY,CAAC,GAAGH,KAAK;EAE5C,oBACE;IAAK,SAAS,EAAEO,cAAK,CAACe;EAAQ,gBAC5B;IAAK,SAAS,EAAEf,cAAK,CAACa;EAAM,GAAEA,KAAK,CAAO,eAC1C;IAAK,SAAS,EAAEb,cAAK,CAACgB;EAAS,gBAC7B,6BAAC,mBAAmB;IAAC,YAAY,EAAEpB;EAAa,EAAG,eACnD;IAAK,SAAS,EAAEI,cAAK,CAACiB;EAAM,GAAEL,SAAS,CAAC,MAAM,CAAC,CAAO,eACtD,6BAAC,oBAAW,EAAKE,OAAO,CAAI,CACxB,CACF;AAEV,CAAC;AAEDH,YAAY,CAACT,YAAY,GAAG;EAC1BU,SAAS,EAAET,iBAAQ,CAACC,iBAAiB,CAACQ,SAAS;EAC/CjB,IAAI,EAAEQ,iBAAQ,CAACC,iBAAiB,CAACT;AACnC,CAAC;AAEDgB,YAAY,CAACN,SAAS,2CAAG;EACvBQ,KAAK,EAAEP,kBAAS,CAACY,MAAM,CAACC,UAAU;EAClCC,IAAI,EAAEd,kBAAS,CAACe,IAAI;EACpBC,MAAM,EAAEhB,kBAAS,CAACe,IAAI;EACtBP,OAAO,EAAER,kBAAS,CAACC,KAAK,CAACgB,oBAAW,CAAClB,SAAS,CAAC;EAC/CT,YAAY,EAAEJ,mBAAmB,CAACa,SAAS,CAACT;AAC9C,CAAC;AAAC,eAEae,YAAY;AAAA"}
|
|
@@ -2,25 +2,16 @@
|
|
|
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 _draggableList = _interopRequireDefault(require("../draggable-list"));
|
|
11
|
-
|
|
12
8
|
var _setupSection = _interopRequireDefault(require("../setup-section"));
|
|
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 Loading = () => /*#__PURE__*/_react.default.createElement("div", {
|
|
21
13
|
className: _style.default.loading
|
|
22
14
|
}, /*#__PURE__*/_react.default.createElement(_loader.default, null));
|
|
23
|
-
|
|
24
15
|
const SetupSections = ({
|
|
25
16
|
sections,
|
|
26
17
|
loading,
|
|
@@ -33,7 +24,6 @@ const SetupSections = ({
|
|
|
33
24
|
onDrop: onDrop
|
|
34
25
|
}));
|
|
35
26
|
};
|
|
36
|
-
|
|
37
27
|
SetupSections.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
38
28
|
sections: _propTypes.default.arrayOf(_propTypes.default.shape(_setupSection.default.propTypes)),
|
|
39
29
|
loading: _propTypes.default.bool,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["Loading","style","loading","SetupSections","sections","onDrop","propTypes","PropTypes","arrayOf","shape","SetupSection","bool","func"],"sources":["../../../src/molecule/setup-sections/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport DraggableList from '../draggable-list';\nimport SetupSection from '../setup-section';\nimport Loader from '../../atom/loader';\nimport style from './style.css';\n\nconst Loading = () => (\n <div className={style.loading}>\n <Loader />\n </div>\n);\n\nconst SetupSections = ({sections, loading, onDrop}) => {\n if (loading) return <Loading />;\n\n return (\n <div>\n <DraggableList itemType=\"setup-section\" items={sections} onDrop={onDrop} />\n </div>\n );\n};\n\nSetupSections.propTypes = {\n sections: PropTypes.arrayOf(PropTypes.shape(SetupSection.propTypes)),\n loading: PropTypes.bool,\n onDrop: PropTypes.func\n};\n\nexport default SetupSections;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","names":["Loading","style","loading","SetupSections","sections","onDrop","propTypes","PropTypes","arrayOf","shape","SetupSection","bool","func"],"sources":["../../../src/molecule/setup-sections/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport DraggableList from '../draggable-list';\nimport SetupSection from '../setup-section';\nimport Loader from '../../atom/loader';\nimport style from './style.css';\n\nconst Loading = () => (\n <div className={style.loading}>\n <Loader />\n </div>\n);\n\nconst SetupSections = ({sections, loading, onDrop}) => {\n if (loading) return <Loading />;\n\n return (\n <div>\n <DraggableList itemType=\"setup-section\" items={sections} onDrop={onDrop} />\n </div>\n );\n};\n\nSetupSections.propTypes = {\n sections: PropTypes.arrayOf(PropTypes.shape(SetupSection.propTypes)),\n loading: PropTypes.bool,\n onDrop: PropTypes.func\n};\n\nexport default SetupSections;\n"],"mappings":";;;;AAAA;AACA;AACA;AACA;AACA;AACA;AAAgC;AAEhC,MAAMA,OAAO,GAAG,mBACd;EAAK,SAAS,EAAEC,cAAK,CAACC;AAAQ,gBAC5B,6BAAC,eAAM,OAAG,CAEb;AAED,MAAMC,aAAa,GAAG,CAAC;EAACC,QAAQ;EAAEF,OAAO;EAAEG;AAAM,CAAC,KAAK;EACrD,IAAIH,OAAO,EAAE,oBAAO,6BAAC,OAAO,OAAG;EAE/B,oBACE,uDACE,6BAAC,sBAAa;IAAC,QAAQ,EAAC,eAAe;IAAC,KAAK,EAAEE,QAAS;IAAC,MAAM,EAAEC;EAAO,EAAG,CACvE;AAEV,CAAC;AAEDF,aAAa,CAACG,SAAS,2CAAG;EACxBF,QAAQ,EAAEG,kBAAS,CAACC,OAAO,CAACD,kBAAS,CAACE,KAAK,CAACC,qBAAY,CAACJ,SAAS,CAAC,CAAC;EACpEJ,OAAO,EAAEK,kBAAS,CAACI,IAAI;EACvBN,MAAM,EAAEE,kBAAS,CAACK;AACpB,CAAC;AAAC,eAEaT,aAAa;AAAA"}
|
|
@@ -2,86 +2,59 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.default = void 0;
|
|
5
|
-
|
|
6
5
|
var _map2 = _interopRequireDefault(require("lodash/fp/map"));
|
|
7
|
-
|
|
8
6
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
7
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
|
-
|
|
12
8
|
var _select = _interopRequireDefault(require("../../atom/select"));
|
|
13
|
-
|
|
14
9
|
var _inputReadonly = _interopRequireDefault(require("../../atom/input-readonly"));
|
|
15
|
-
|
|
16
10
|
var _inputText = _interopRequireDefault(require("../../atom/input-text"));
|
|
17
|
-
|
|
18
11
|
var _inputCheckbox = _interopRequireDefault(require("../../atom/input-checkbox"));
|
|
19
|
-
|
|
20
12
|
var _inputDoublestep = _interopRequireDefault(require("../../atom/input-doublestep"));
|
|
21
|
-
|
|
22
13
|
var _inputSwitch = _interopRequireDefault(require("../../atom/input-switch"));
|
|
23
|
-
|
|
24
14
|
var _imageUpload = _interopRequireDefault(require("../../atom/image-upload"));
|
|
25
|
-
|
|
26
15
|
var _setupCohortItem = _interopRequireDefault(require("../setup-cohort-item"));
|
|
27
|
-
|
|
28
16
|
var _messagePopin = _interopRequireDefault(require("../message-popin"));
|
|
29
|
-
|
|
30
17
|
var _style = _interopRequireDefault(require("./style.css"));
|
|
31
|
-
|
|
32
18
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
33
|
-
|
|
34
19
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
35
|
-
|
|
36
20
|
const SetupSlide = props => {
|
|
37
21
|
const {
|
|
38
22
|
fields
|
|
39
23
|
} = props;
|
|
40
|
-
|
|
41
24
|
const buildInput = field => {
|
|
42
25
|
const {
|
|
43
26
|
type
|
|
44
27
|
} = field;
|
|
45
|
-
|
|
46
28
|
switch (type) {
|
|
47
29
|
case 'switch':
|
|
48
30
|
return /*#__PURE__*/_react.default.createElement(_inputSwitch.default, field);
|
|
49
|
-
|
|
50
31
|
case 'select':
|
|
51
32
|
return /*#__PURE__*/_react.default.createElement(_select.default, _extends({}, field, {
|
|
52
33
|
theme: 'coorpmanager'
|
|
53
34
|
}));
|
|
54
|
-
|
|
55
35
|
case 'checkbox':
|
|
56
36
|
return /*#__PURE__*/_react.default.createElement(_inputCheckbox.default, field);
|
|
57
|
-
|
|
58
37
|
case 'image':
|
|
59
38
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
60
39
|
className: _style.default.imageUploadContainer
|
|
61
40
|
}, /*#__PURE__*/_react.default.createElement(_imageUpload.default, field));
|
|
62
|
-
|
|
63
41
|
case 'splitForm':
|
|
64
42
|
return /*#__PURE__*/_react.default.createElement(_setupCohortItem.default, {
|
|
65
43
|
field: field
|
|
66
44
|
});
|
|
67
|
-
|
|
68
45
|
case 'alert':
|
|
69
46
|
return /*#__PURE__*/_react.default.createElement(_messagePopin.default, {
|
|
70
47
|
header: field.title,
|
|
71
48
|
content: field.subtitle
|
|
72
49
|
});
|
|
73
|
-
|
|
74
50
|
case 'readonly':
|
|
75
51
|
return /*#__PURE__*/_react.default.createElement(_inputReadonly.default, field);
|
|
76
|
-
|
|
77
52
|
case 'doublestep':
|
|
78
53
|
return /*#__PURE__*/_react.default.createElement(_inputDoublestep.default, field);
|
|
79
|
-
|
|
80
54
|
default:
|
|
81
55
|
return /*#__PURE__*/_react.default.createElement(_inputText.default, field);
|
|
82
56
|
}
|
|
83
57
|
};
|
|
84
|
-
|
|
85
58
|
const buildField = (field, index) => {
|
|
86
59
|
const input = buildInput(field);
|
|
87
60
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
@@ -89,16 +62,13 @@ const SetupSlide = props => {
|
|
|
89
62
|
key: index
|
|
90
63
|
}, input);
|
|
91
64
|
};
|
|
92
|
-
|
|
93
65
|
const fieldsList = _map2.default.convert({
|
|
94
66
|
cap: false
|
|
95
67
|
})(buildField, fields);
|
|
96
|
-
|
|
97
68
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
98
69
|
className: _style.default.wrapper
|
|
99
70
|
}, fieldsList);
|
|
100
71
|
};
|
|
101
|
-
|
|
102
72
|
SetupSlide.defaultProps = {
|
|
103
73
|
fields: []
|
|
104
74
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["SetupSlide","props","fields","buildInput","field","type","style","imageUploadContainer","title","subtitle","buildField","index","input","fieldsList","convert","cap","wrapper","defaultProps","propTypes","PropTypes","arrayOf","oneOfType","shape","InputSwitch","oneOf","Select","InputCheckbox","ImageUpload","InputReadonly","InputDoublestep","SetupCohortItem","MessagePopin","InputText"],"sources":["../../../src/molecule/setup-slide/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {map} from 'lodash/fp';\nimport Select from '../../atom/select';\nimport InputReadonly from '../../atom/input-readonly';\nimport InputText from '../../atom/input-text';\nimport InputCheckbox from '../../atom/input-checkbox';\nimport InputDoublestep from '../../atom/input-doublestep';\nimport InputSwitch from '../../atom/input-switch';\nimport ImageUpload from '../../atom/image-upload';\nimport SetupCohortItem from '../setup-cohort-item';\nimport MessagePopin from '../message-popin';\nimport style from './style.css';\n\nconst SetupSlide = props => {\n const {fields} = props;\n const buildInput = field => {\n const {type} = field;\n switch (type) {\n case 'switch':\n return <InputSwitch {...field} />;\n case 'select':\n return <Select {...field} theme={'coorpmanager'} />;\n case 'checkbox':\n return <InputCheckbox {...field} />;\n case 'image':\n return (\n <div className={style.imageUploadContainer}>\n <ImageUpload {...field} />\n </div>\n );\n case 'splitForm':\n return <SetupCohortItem field={field} />;\n case 'alert':\n return <MessagePopin header={field.title} content={field.subtitle} />;\n case 'readonly':\n return <InputReadonly {...field} />;\n case 'doublestep':\n return <InputDoublestep {...field} />;\n default:\n return <InputText {...field} />;\n }\n };\n\n const buildField = (field, index) => {\n const input = buildInput(field);\n return (\n <div className={style.field} key={index}>\n {input}\n </div>\n );\n };\n\n const fieldsList = map.convert({cap: false})(buildField, fields);\n\n return <div className={style.wrapper}>{fieldsList}</div>;\n};\n\nSetupSlide.defaultProps = {\n fields: []\n};\n\nSetupSlide.propTypes = {\n fields: PropTypes.arrayOf(\n PropTypes.oneOfType([\n PropTypes.shape({\n ...InputSwitch.propTypes,\n type: PropTypes.oneOf(['switch'])\n }),\n PropTypes.shape({\n ...Select.propTypes,\n type: PropTypes.oneOf(['select'])\n }),\n PropTypes.shape({\n ...InputCheckbox.propTypes,\n type: PropTypes.oneOf(['checkbox'])\n }),\n PropTypes.shape({\n ...ImageUpload.propTypes,\n type: PropTypes.oneOf(['image'])\n }),\n PropTypes.shape({\n ...InputReadonly.propTypes,\n type: PropTypes.oneOf(['readonly'])\n }),\n PropTypes.shape({\n ...InputDoublestep.propTypes,\n type: PropTypes.oneOf(['doublestep'])\n }),\n PropTypes.shape({\n ...SetupCohortItem.propTypes,\n type: PropTypes.oneOf(['splitForm'])\n }),\n PropTypes.shape({\n ...MessagePopin.propTypes,\n type: PropTypes.oneOf(['alert'])\n }),\n PropTypes.shape(InputText.propTypes)\n ])\n )\n};\nexport default SetupSlide;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","names":["SetupSlide","props","fields","buildInput","field","type","style","imageUploadContainer","title","subtitle","buildField","index","input","fieldsList","convert","cap","wrapper","defaultProps","propTypes","PropTypes","arrayOf","oneOfType","shape","InputSwitch","oneOf","Select","InputCheckbox","ImageUpload","InputReadonly","InputDoublestep","SetupCohortItem","MessagePopin","InputText"],"sources":["../../../src/molecule/setup-slide/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {map} from 'lodash/fp';\nimport Select from '../../atom/select';\nimport InputReadonly from '../../atom/input-readonly';\nimport InputText from '../../atom/input-text';\nimport InputCheckbox from '../../atom/input-checkbox';\nimport InputDoublestep from '../../atom/input-doublestep';\nimport InputSwitch from '../../atom/input-switch';\nimport ImageUpload from '../../atom/image-upload';\nimport SetupCohortItem from '../setup-cohort-item';\nimport MessagePopin from '../message-popin';\nimport style from './style.css';\n\nconst SetupSlide = props => {\n const {fields} = props;\n const buildInput = field => {\n const {type} = field;\n switch (type) {\n case 'switch':\n return <InputSwitch {...field} />;\n case 'select':\n return <Select {...field} theme={'coorpmanager'} />;\n case 'checkbox':\n return <InputCheckbox {...field} />;\n case 'image':\n return (\n <div className={style.imageUploadContainer}>\n <ImageUpload {...field} />\n </div>\n );\n case 'splitForm':\n return <SetupCohortItem field={field} />;\n case 'alert':\n return <MessagePopin header={field.title} content={field.subtitle} />;\n case 'readonly':\n return <InputReadonly {...field} />;\n case 'doublestep':\n return <InputDoublestep {...field} />;\n default:\n return <InputText {...field} />;\n }\n };\n\n const buildField = (field, index) => {\n const input = buildInput(field);\n return (\n <div className={style.field} key={index}>\n {input}\n </div>\n );\n };\n\n const fieldsList = map.convert({cap: false})(buildField, fields);\n\n return <div className={style.wrapper}>{fieldsList}</div>;\n};\n\nSetupSlide.defaultProps = {\n fields: []\n};\n\nSetupSlide.propTypes = {\n fields: PropTypes.arrayOf(\n PropTypes.oneOfType([\n PropTypes.shape({\n ...InputSwitch.propTypes,\n type: PropTypes.oneOf(['switch'])\n }),\n PropTypes.shape({\n ...Select.propTypes,\n type: PropTypes.oneOf(['select'])\n }),\n PropTypes.shape({\n ...InputCheckbox.propTypes,\n type: PropTypes.oneOf(['checkbox'])\n }),\n PropTypes.shape({\n ...ImageUpload.propTypes,\n type: PropTypes.oneOf(['image'])\n }),\n PropTypes.shape({\n ...InputReadonly.propTypes,\n type: PropTypes.oneOf(['readonly'])\n }),\n PropTypes.shape({\n ...InputDoublestep.propTypes,\n type: PropTypes.oneOf(['doublestep'])\n }),\n PropTypes.shape({\n ...SetupCohortItem.propTypes,\n type: PropTypes.oneOf(['splitForm'])\n }),\n PropTypes.shape({\n ...MessagePopin.propTypes,\n type: PropTypes.oneOf(['alert'])\n }),\n PropTypes.shape(InputText.propTypes)\n ])\n )\n};\nexport default SetupSlide;\n"],"mappings":";;;;;AAAA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAgC;AAAA;AAEhC,MAAMA,UAAU,GAAGC,KAAK,IAAI;EAC1B,MAAM;IAACC;EAAM,CAAC,GAAGD,KAAK;EACtB,MAAME,UAAU,GAAGC,KAAK,IAAI;IAC1B,MAAM;MAACC;IAAI,CAAC,GAAGD,KAAK;IACpB,QAAQC,IAAI;MACV,KAAK,QAAQ;QACX,oBAAO,6BAAC,oBAAW,EAAKD,KAAK,CAAI;MACnC,KAAK,QAAQ;QACX,oBAAO,6BAAC,eAAM,eAAKA,KAAK;UAAE,KAAK,EAAE;QAAe,GAAG;MACrD,KAAK,UAAU;QACb,oBAAO,6BAAC,sBAAa,EAAKA,KAAK,CAAI;MACrC,KAAK,OAAO;QACV,oBACE;UAAK,SAAS,EAAEE,cAAK,CAACC;QAAqB,gBACzC,6BAAC,oBAAW,EAAKH,KAAK,CAAI,CACtB;MAEV,KAAK,WAAW;QACd,oBAAO,6BAAC,wBAAe;UAAC,KAAK,EAAEA;QAAM,EAAG;MAC1C,KAAK,OAAO;QACV,oBAAO,6BAAC,qBAAY;UAAC,MAAM,EAAEA,KAAK,CAACI,KAAM;UAAC,OAAO,EAAEJ,KAAK,CAACK;QAAS,EAAG;MACvE,KAAK,UAAU;QACb,oBAAO,6BAAC,sBAAa,EAAKL,KAAK,CAAI;MACrC,KAAK,YAAY;QACf,oBAAO,6BAAC,wBAAe,EAAKA,KAAK,CAAI;MACvC;QACE,oBAAO,6BAAC,kBAAS,EAAKA,KAAK,CAAI;IAAC;EAEtC,CAAC;EAED,MAAMM,UAAU,GAAG,CAACN,KAAK,EAAEO,KAAK,KAAK;IACnC,MAAMC,KAAK,GAAGT,UAAU,CAACC,KAAK,CAAC;IAC/B,oBACE;MAAK,SAAS,EAAEE,cAAK,CAACF,KAAM;MAAC,GAAG,EAAEO;IAAM,GACrCC,KAAK,CACF;EAEV,CAAC;EAED,MAAMC,UAAU,GAAG,cAAIC,OAAO,CAAC;IAACC,GAAG,EAAE;EAAK,CAAC,CAAC,CAACL,UAAU,EAAER,MAAM,CAAC;EAEhE,oBAAO;IAAK,SAAS,EAAEI,cAAK,CAACU;EAAQ,GAAEH,UAAU,CAAO;AAC1D,CAAC;AAEDb,UAAU,CAACiB,YAAY,GAAG;EACxBf,MAAM,EAAE;AACV,CAAC;AAEDF,UAAU,CAACkB,SAAS,2CAAG;EACrBhB,MAAM,EAAEiB,kBAAS,CAACC,OAAO,CACvBD,kBAAS,CAACE,SAAS,CAAC,CAClBF,kBAAS,CAACG,KAAK,cACVC,oBAAW,CAACL,SAAS;IACxBb,IAAI,EAAEc,kBAAS,CAACK,KAAK,CAAC,CAAC,QAAQ,CAAC;EAAC,GACjC,EACFL,kBAAS,CAACG,KAAK,cACVG,eAAM,CAACP,SAAS;IACnBb,IAAI,EAAEc,kBAAS,CAACK,KAAK,CAAC,CAAC,QAAQ,CAAC;EAAC,GACjC,EACFL,kBAAS,CAACG,KAAK,cACVI,sBAAa,CAACR,SAAS;IAC1Bb,IAAI,EAAEc,kBAAS,CAACK,KAAK,CAAC,CAAC,UAAU,CAAC;EAAC,GACnC,EACFL,kBAAS,CAACG,KAAK,cACVK,oBAAW,CAACT,SAAS;IACxBb,IAAI,EAAEc,kBAAS,CAACK,KAAK,CAAC,CAAC,OAAO,CAAC;EAAC,GAChC,EACFL,kBAAS,CAACG,KAAK,cACVM,sBAAa,CAACV,SAAS;IAC1Bb,IAAI,EAAEc,kBAAS,CAACK,KAAK,CAAC,CAAC,UAAU,CAAC;EAAC,GACnC,EACFL,kBAAS,CAACG,KAAK,cACVO,wBAAe,CAACX,SAAS;IAC5Bb,IAAI,EAAEc,kBAAS,CAACK,KAAK,CAAC,CAAC,YAAY,CAAC;EAAC,GACrC,EACFL,kBAAS,CAACG,KAAK,cACVQ,wBAAe,CAACZ,SAAS;IAC5Bb,IAAI,EAAEc,kBAAS,CAACK,KAAK,CAAC,CAAC,WAAW,CAAC;EAAC,GACpC,EACFL,kBAAS,CAACG,KAAK,cACVS,qBAAY,CAACb,SAAS;IACzBb,IAAI,EAAEc,kBAAS,CAACK,KAAK,CAAC,CAAC,OAAO,CAAC;EAAC,GAChC,EACFL,kBAAS,CAACG,KAAK,CAACU,kBAAS,CAACd,SAAS,CAAC,CACrC,CAAC;AAEN,CAAC;AAAC,eACalB,UAAU;AAAA"}
|
|
@@ -2,40 +2,29 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.default = void 0;
|
|
5
|
-
|
|
6
5
|
var _map2 = _interopRequireDefault(require("lodash/fp/map"));
|
|
7
|
-
|
|
8
6
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
7
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
|
-
|
|
12
8
|
var _setupSlide = _interopRequireDefault(require("../setup-slide"));
|
|
13
|
-
|
|
14
9
|
var _toggler = _interopRequireDefault(require("../../organism/accordion/toggler"));
|
|
15
|
-
|
|
16
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
|
-
|
|
18
11
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
19
|
-
|
|
20
12
|
const SetupSlider = props => {
|
|
21
13
|
const {
|
|
22
14
|
tabProps = [],
|
|
23
15
|
slides = []
|
|
24
16
|
} = props;
|
|
25
|
-
|
|
26
17
|
const slidesView = _map2.default.convert({
|
|
27
18
|
cap: false
|
|
28
19
|
})((slide, key) => /*#__PURE__*/_react.default.createElement(_setupSlide.default, _extends({}, slide, {
|
|
29
20
|
key: key
|
|
30
21
|
})), slides);
|
|
31
|
-
|
|
32
22
|
return /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_toggler.default, {
|
|
33
23
|
tabProps: tabProps,
|
|
34
24
|
type: 'all',
|
|
35
25
|
theme: 'setup'
|
|
36
26
|
}, slidesView));
|
|
37
27
|
};
|
|
38
|
-
|
|
39
28
|
SetupSlider.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
40
29
|
tabProps: _propTypes.default.arrayOf(_propTypes.default.shape(_toggler.default.propTypes)),
|
|
41
30
|
slides: _propTypes.default.arrayOf(_propTypes.default.shape(_setupSlide.default.propTypes))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["SetupSlider","props","tabProps","slides","slidesView","convert","cap","slide","key","propTypes","PropTypes","arrayOf","shape","Accordion","SetupSlide"],"sources":["../../../src/molecule/setup-slider/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {map} from 'lodash/fp';\nimport SetupSlide from '../setup-slide';\nimport Accordion from '../../organism/accordion/toggler';\n\nconst SetupSlider = props => {\n const {tabProps = [], slides = []} = props;\n const slidesView = map.convert({cap: false})(\n (slide, key) => <SetupSlide {...slide} key={key} />,\n slides\n );\n return (\n <div>\n <Accordion tabProps={tabProps} type={'all'} theme={'setup'}>\n {slidesView}\n </Accordion>\n </div>\n );\n};\n\nSetupSlider.propTypes = {\n tabProps: PropTypes.arrayOf(PropTypes.shape(Accordion.propTypes)),\n slides: PropTypes.arrayOf(PropTypes.shape(SetupSlide.propTypes))\n};\n\nexport default SetupSlider;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","names":["SetupSlider","props","tabProps","slides","slidesView","convert","cap","slide","key","propTypes","PropTypes","arrayOf","shape","Accordion","SetupSlide"],"sources":["../../../src/molecule/setup-slider/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {map} from 'lodash/fp';\nimport SetupSlide from '../setup-slide';\nimport Accordion from '../../organism/accordion/toggler';\n\nconst SetupSlider = props => {\n const {tabProps = [], slides = []} = props;\n const slidesView = map.convert({cap: false})(\n (slide, key) => <SetupSlide {...slide} key={key} />,\n slides\n );\n return (\n <div>\n <Accordion tabProps={tabProps} type={'all'} theme={'setup'}>\n {slidesView}\n </Accordion>\n </div>\n );\n};\n\nSetupSlider.propTypes = {\n tabProps: PropTypes.arrayOf(PropTypes.shape(Accordion.propTypes)),\n slides: PropTypes.arrayOf(PropTypes.shape(SetupSlide.propTypes))\n};\n\nexport default SetupSlider;\n"],"mappings":";;;;;AAAA;AACA;AAEA;AACA;AAAyD;AAAA;AAEzD,MAAMA,WAAW,GAAGC,KAAK,IAAI;EAC3B,MAAM;IAACC,QAAQ,GAAG,EAAE;IAAEC,MAAM,GAAG;EAAE,CAAC,GAAGF,KAAK;EAC1C,MAAMG,UAAU,GAAG,cAAIC,OAAO,CAAC;IAACC,GAAG,EAAE;EAAK,CAAC,CAAC,CAC1C,CAACC,KAAK,EAAEC,GAAG,kBAAK,6BAAC,mBAAU,eAAKD,KAAK;IAAE,GAAG,EAAEC;EAAI,GAAG,EACnDL,MAAM,CACP;EACD,oBACE,uDACE,6BAAC,gBAAS;IAAC,QAAQ,EAAED,QAAS;IAAC,IAAI,EAAE,KAAM;IAAC,KAAK,EAAE;EAAQ,GACxDE,UAAU,CACD,CACR;AAEV,CAAC;AAEDJ,WAAW,CAACS,SAAS,2CAAG;EACtBP,QAAQ,EAAEQ,kBAAS,CAACC,OAAO,CAACD,kBAAS,CAACE,KAAK,CAACC,gBAAS,CAACJ,SAAS,CAAC,CAAC;EACjEN,MAAM,EAAEO,kBAAS,CAACC,OAAO,CAACD,kBAAS,CAACE,KAAK,CAACE,mBAAU,CAACL,SAAS,CAAC;AACjE,CAAC;AAAC,eAEaT,WAAW;AAAA"}
|
|
@@ -2,31 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.default = exports.ShareStatusProvider = exports.ShareFeedback = void 0;
|
|
5
|
-
|
|
6
5
|
var _react = _interopRequireWildcard(require("react"));
|
|
7
|
-
|
|
8
6
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
-
|
|
10
7
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
11
|
-
|
|
12
8
|
var _novaIcons = require("@coorpacademy/nova-icons");
|
|
13
|
-
|
|
14
9
|
var _link = _interopRequireDefault(require("../../atom/link"));
|
|
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
|
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); }
|
|
21
|
-
|
|
22
13
|
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; }
|
|
23
|
-
|
|
24
14
|
const SHARE_STATUS = {
|
|
25
15
|
IDLE: 'IDLE',
|
|
26
16
|
ERROR: 'ERROR',
|
|
27
17
|
SUCCESS: 'SUCCESS'
|
|
28
18
|
};
|
|
29
|
-
|
|
30
19
|
const copyTextViaExecCommand = text => {
|
|
31
20
|
const textarea = document.createElement('textarea');
|
|
32
21
|
textarea.style.border = '0';
|
|
@@ -34,12 +23,12 @@ const copyTextViaExecCommand = text => {
|
|
|
34
23
|
textarea.style.visibility = 'hidden';
|
|
35
24
|
textarea.style.position = 'absolute';
|
|
36
25
|
textarea.setAttribute('readonly', '');
|
|
37
|
-
textarea.value = text;
|
|
38
|
-
// eslint-disable-next-line unicorn/prefer-node-append
|
|
26
|
+
textarea.value = text;
|
|
39
27
|
|
|
28
|
+
// Element.append is not supported on IE11 :/
|
|
29
|
+
// eslint-disable-next-line unicorn/prefer-node-append
|
|
40
30
|
document.body.appendChild(textarea);
|
|
41
31
|
let status = SHARE_STATUS.IDLE;
|
|
42
|
-
|
|
43
32
|
try {
|
|
44
33
|
textarea.select();
|
|
45
34
|
textarea.setSelectionRange(0, textarea.value.length);
|
|
@@ -47,16 +36,14 @@ const copyTextViaExecCommand = text => {
|
|
|
47
36
|
status = SHARE_STATUS.SUCCESS;
|
|
48
37
|
} catch (error) {
|
|
49
38
|
status = SHARE_STATUS.ERROR;
|
|
50
|
-
}
|
|
51
|
-
// eslint-disable-next-line unicorn/prefer-node-remove
|
|
52
|
-
|
|
39
|
+
}
|
|
53
40
|
|
|
41
|
+
// Element.remove is not supported on IE11 :/
|
|
42
|
+
// eslint-disable-next-line unicorn/prefer-node-remove
|
|
54
43
|
document.body.removeChild(textarea);
|
|
55
44
|
return status;
|
|
56
45
|
};
|
|
57
|
-
|
|
58
46
|
const StatusContext = /*#__PURE__*/_react.default.createContext(SHARE_STATUS.IDLE);
|
|
59
|
-
|
|
60
47
|
const ShareStatusProvider = ({
|
|
61
48
|
children
|
|
62
49
|
}) => {
|
|
@@ -64,11 +51,9 @@ const ShareStatusProvider = ({
|
|
|
64
51
|
(0, _react.useEffect)(() => {
|
|
65
52
|
let timeoutId;
|
|
66
53
|
const DURATION = 3000;
|
|
67
|
-
|
|
68
54
|
if (status !== SHARE_STATUS.IDLE) {
|
|
69
55
|
timeoutId = setTimeout(() => setStatus(SHARE_STATUS.IDLE), DURATION);
|
|
70
56
|
}
|
|
71
|
-
|
|
72
57
|
return () => clearTimeout(timeoutId);
|
|
73
58
|
}, [status]);
|
|
74
59
|
const value = (0, _react.useMemo)(() => [status, setStatus], [status]);
|
|
@@ -76,9 +61,7 @@ const ShareStatusProvider = ({
|
|
|
76
61
|
value: value
|
|
77
62
|
}, children);
|
|
78
63
|
};
|
|
79
|
-
|
|
80
64
|
exports.ShareStatusProvider = ShareStatusProvider;
|
|
81
|
-
|
|
82
65
|
const ShareFeedback = ({
|
|
83
66
|
successWording,
|
|
84
67
|
errorWording
|
|
@@ -101,9 +84,7 @@ const ShareFeedback = ({
|
|
|
101
84
|
role: "alert"
|
|
102
85
|
}, errorWording));
|
|
103
86
|
};
|
|
104
|
-
|
|
105
87
|
exports.ShareFeedback = ShareFeedback;
|
|
106
|
-
|
|
107
88
|
const Share = ({
|
|
108
89
|
style,
|
|
109
90
|
text,
|
|
@@ -112,7 +93,6 @@ const Share = ({
|
|
|
112
93
|
const [, setStatus] = (0, _react.useContext)(StatusContext);
|
|
113
94
|
const onClick = (0, _react.useCallback)(async () => {
|
|
114
95
|
const browserSupportsClipboardWriteText = 'clipboard' in navigator && 'writeText' in navigator.clipboard;
|
|
115
|
-
|
|
116
96
|
if (browserSupportsClipboardWriteText) {
|
|
117
97
|
try {
|
|
118
98
|
await navigator.clipboard.writeText(text);
|
|
@@ -120,13 +100,11 @@ const Share = ({
|
|
|
120
100
|
} catch (error) {
|
|
121
101
|
setStatus(SHARE_STATUS.ERROR);
|
|
122
102
|
}
|
|
123
|
-
|
|
124
103
|
return;
|
|
125
104
|
} else {
|
|
126
105
|
const copyStatus = copyTextViaExecCommand(text);
|
|
127
106
|
setStatus(copyStatus);
|
|
128
107
|
}
|
|
129
|
-
|
|
130
108
|
return;
|
|
131
109
|
}, [setStatus, text]);
|
|
132
110
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
@@ -143,7 +121,6 @@ const Share = ({
|
|
|
143
121
|
height: 18
|
|
144
122
|
}), /*#__PURE__*/_react.default.createElement("p", null, wording))));
|
|
145
123
|
};
|
|
146
|
-
|
|
147
124
|
ShareStatusProvider.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
148
125
|
children: _propTypes.default.node
|
|
149
126
|
} : {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["SHARE_STATUS","IDLE","ERROR","SUCCESS","copyTextViaExecCommand","text","textarea","document","createElement","style","border","padding","visibility","position","setAttribute","value","body","appendChild","status","select","setSelectionRange","length","execCommand","error","removeChild","StatusContext","React","createContext","ShareStatusProvider","children","setStatus","useState","useEffect","timeoutId","DURATION","setTimeout","clearTimeout","useMemo","ShareFeedback","successWording","errorWording","useContext","classnames","styles","feedback","errorFeedback","checkIcon","Share","wording","onClick","useCallback","browserSupportsClipboardWriteText","navigator","clipboard","writeText","copyStatus","container","cta","wrapper","shareIcon","propTypes","PropTypes","node","string"],"sources":["../../../src/molecule/share/index.js"],"sourcesContent":["import React, {useState, useMemo, useCallback, useContext, useEffect} from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport {\n NovaCompositionCoorpacademyCheck as CheckIcon,\n NovaCompositionCoorpacademyShare as ShareIcon,\n NovaCompositionCoorpacademyAttention as AttentionIcon\n} from '@coorpacademy/nova-icons';\nimport Link from '../../atom/link';\nimport styles from './style.css';\n\nconst SHARE_STATUS = {\n IDLE: 'IDLE',\n ERROR: 'ERROR',\n SUCCESS: 'SUCCESS'\n};\n\nconst copyTextViaExecCommand = text => {\n const textarea = document.createElement('textarea');\n\n textarea.style.border = '0';\n textarea.style.padding = '0';\n textarea.style.visibility = 'hidden';\n textarea.style.position = 'absolute';\n textarea.setAttribute('readonly', '');\n textarea.value = text;\n\n // Element.append is not supported on IE11 :/\n // eslint-disable-next-line unicorn/prefer-node-append\n document.body.appendChild(textarea);\n let status = SHARE_STATUS.IDLE;\n\n try {\n textarea.select();\n textarea.setSelectionRange(0, textarea.value.length);\n document.execCommand('copy');\n status = SHARE_STATUS.SUCCESS;\n } catch (error) {\n status = SHARE_STATUS.ERROR;\n }\n\n // Element.remove is not supported on IE11 :/\n // eslint-disable-next-line unicorn/prefer-node-remove\n document.body.removeChild(textarea);\n\n return status;\n};\n\nconst StatusContext = React.createContext(SHARE_STATUS.IDLE);\n\nexport const ShareStatusProvider = ({children}) => {\n const [status, setStatus] = useState(SHARE_STATUS.IDLE);\n useEffect(() => {\n let timeoutId;\n const DURATION = 3000;\n if (status !== SHARE_STATUS.IDLE) {\n timeoutId = setTimeout(() => setStatus(SHARE_STATUS.IDLE), DURATION);\n }\n return () => clearTimeout(timeoutId);\n }, [status]);\n\n const value = useMemo(() => [status, setStatus], [status]);\n\n return <StatusContext.Provider value={value}>{children}</StatusContext.Provider>;\n};\n\nexport const ShareFeedback = ({successWording, errorWording}) => {\n const [status] = useContext(StatusContext);\n if (status === SHARE_STATUS.IDLE) return null;\n\n return (\n <div\n className={classnames(styles.feedback, status === SHARE_STATUS.ERROR && styles.errorFeedback)}\n >\n {status === SHARE_STATUS.SUCCESS ? (\n <CheckIcon className={styles.checkIcon} width={13} height={13} />\n ) : (\n <AttentionIcon className={styles.checkIcon} width={13} height={13} />\n )}\n {status === SHARE_STATUS.SUCCESS ? (\n <p role=\"status\">{successWording}</p>\n ) : (\n <p role=\"alert\">{errorWording}</p>\n )}\n </div>\n );\n};\n\nconst Share = ({style, text, wording}) => {\n const [, setStatus] = useContext(StatusContext);\n const onClick = useCallback(async () => {\n const browserSupportsClipboardWriteText =\n 'clipboard' in navigator && 'writeText' in navigator.clipboard;\n if (browserSupportsClipboardWriteText) {\n try {\n await navigator.clipboard.writeText(text);\n setStatus(SHARE_STATUS.SUCCESS);\n } catch (error) {\n setStatus(SHARE_STATUS.ERROR);\n }\n return;\n } else {\n const copyStatus = copyTextViaExecCommand(text);\n setStatus(copyStatus);\n }\n return;\n }, [setStatus, text]);\n\n return (\n <div className={(styles.container, style)}>\n <Link onClick={onClick} className={styles.cta} data-name={'share-button'}>\n <div className={styles.wrapper}>\n <ShareIcon className={styles.shareIcon} width={18} height={18} />\n <p>{wording}</p>\n </div>\n </Link>\n </div>\n );\n};\n\nShareStatusProvider.propTypes = {\n children: PropTypes.node\n};\n\nShareFeedback.propTypes = {\n successWording: PropTypes.string,\n errorWording: PropTypes.string\n};\n\nShare.propTypes = {\n style: PropTypes.string,\n text: PropTypes.string,\n wording: PropTypes.string\n};\n\nexport default Share;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","names":["SHARE_STATUS","IDLE","ERROR","SUCCESS","copyTextViaExecCommand","text","textarea","document","createElement","style","border","padding","visibility","position","setAttribute","value","body","appendChild","status","select","setSelectionRange","length","execCommand","error","removeChild","StatusContext","React","createContext","ShareStatusProvider","children","setStatus","useState","useEffect","timeoutId","DURATION","setTimeout","clearTimeout","useMemo","ShareFeedback","successWording","errorWording","useContext","classnames","styles","feedback","errorFeedback","checkIcon","Share","wording","onClick","useCallback","browserSupportsClipboardWriteText","navigator","clipboard","writeText","copyStatus","container","cta","wrapper","shareIcon","propTypes","PropTypes","node","string"],"sources":["../../../src/molecule/share/index.js"],"sourcesContent":["import React, {useState, useMemo, useCallback, useContext, useEffect} from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport {\n NovaCompositionCoorpacademyCheck as CheckIcon,\n NovaCompositionCoorpacademyShare as ShareIcon,\n NovaCompositionCoorpacademyAttention as AttentionIcon\n} from '@coorpacademy/nova-icons';\nimport Link from '../../atom/link';\nimport styles from './style.css';\n\nconst SHARE_STATUS = {\n IDLE: 'IDLE',\n ERROR: 'ERROR',\n SUCCESS: 'SUCCESS'\n};\n\nconst copyTextViaExecCommand = text => {\n const textarea = document.createElement('textarea');\n\n textarea.style.border = '0';\n textarea.style.padding = '0';\n textarea.style.visibility = 'hidden';\n textarea.style.position = 'absolute';\n textarea.setAttribute('readonly', '');\n textarea.value = text;\n\n // Element.append is not supported on IE11 :/\n // eslint-disable-next-line unicorn/prefer-node-append\n document.body.appendChild(textarea);\n let status = SHARE_STATUS.IDLE;\n\n try {\n textarea.select();\n textarea.setSelectionRange(0, textarea.value.length);\n document.execCommand('copy');\n status = SHARE_STATUS.SUCCESS;\n } catch (error) {\n status = SHARE_STATUS.ERROR;\n }\n\n // Element.remove is not supported on IE11 :/\n // eslint-disable-next-line unicorn/prefer-node-remove\n document.body.removeChild(textarea);\n\n return status;\n};\n\nconst StatusContext = React.createContext(SHARE_STATUS.IDLE);\n\nexport const ShareStatusProvider = ({children}) => {\n const [status, setStatus] = useState(SHARE_STATUS.IDLE);\n useEffect(() => {\n let timeoutId;\n const DURATION = 3000;\n if (status !== SHARE_STATUS.IDLE) {\n timeoutId = setTimeout(() => setStatus(SHARE_STATUS.IDLE), DURATION);\n }\n return () => clearTimeout(timeoutId);\n }, [status]);\n\n const value = useMemo(() => [status, setStatus], [status]);\n\n return <StatusContext.Provider value={value}>{children}</StatusContext.Provider>;\n};\n\nexport const ShareFeedback = ({successWording, errorWording}) => {\n const [status] = useContext(StatusContext);\n if (status === SHARE_STATUS.IDLE) return null;\n\n return (\n <div\n className={classnames(styles.feedback, status === SHARE_STATUS.ERROR && styles.errorFeedback)}\n >\n {status === SHARE_STATUS.SUCCESS ? (\n <CheckIcon className={styles.checkIcon} width={13} height={13} />\n ) : (\n <AttentionIcon className={styles.checkIcon} width={13} height={13} />\n )}\n {status === SHARE_STATUS.SUCCESS ? (\n <p role=\"status\">{successWording}</p>\n ) : (\n <p role=\"alert\">{errorWording}</p>\n )}\n </div>\n );\n};\n\nconst Share = ({style, text, wording}) => {\n const [, setStatus] = useContext(StatusContext);\n const onClick = useCallback(async () => {\n const browserSupportsClipboardWriteText =\n 'clipboard' in navigator && 'writeText' in navigator.clipboard;\n if (browserSupportsClipboardWriteText) {\n try {\n await navigator.clipboard.writeText(text);\n setStatus(SHARE_STATUS.SUCCESS);\n } catch (error) {\n setStatus(SHARE_STATUS.ERROR);\n }\n return;\n } else {\n const copyStatus = copyTextViaExecCommand(text);\n setStatus(copyStatus);\n }\n return;\n }, [setStatus, text]);\n\n return (\n <div className={(styles.container, style)}>\n <Link onClick={onClick} className={styles.cta} data-name={'share-button'}>\n <div className={styles.wrapper}>\n <ShareIcon className={styles.shareIcon} width={18} height={18} />\n <p>{wording}</p>\n </div>\n </Link>\n </div>\n );\n};\n\nShareStatusProvider.propTypes = {\n children: PropTypes.node\n};\n\nShareFeedback.propTypes = {\n successWording: PropTypes.string,\n errorWording: PropTypes.string\n};\n\nShare.propTypes = {\n style: PropTypes.string,\n text: PropTypes.string,\n wording: PropTypes.string\n};\n\nexport default Share;\n"],"mappings":";;;;AAAA;AACA;AACA;AACA;AAKA;AACA;AAAiC;AAAA;AAAA;AAEjC,MAAMA,YAAY,GAAG;EACnBC,IAAI,EAAE,MAAM;EACZC,KAAK,EAAE,OAAO;EACdC,OAAO,EAAE;AACX,CAAC;AAED,MAAMC,sBAAsB,GAAGC,IAAI,IAAI;EACrC,MAAMC,QAAQ,GAAGC,QAAQ,CAACC,aAAa,CAAC,UAAU,CAAC;EAEnDF,QAAQ,CAACG,KAAK,CAACC,MAAM,GAAG,GAAG;EAC3BJ,QAAQ,CAACG,KAAK,CAACE,OAAO,GAAG,GAAG;EAC5BL,QAAQ,CAACG,KAAK,CAACG,UAAU,GAAG,QAAQ;EACpCN,QAAQ,CAACG,KAAK,CAACI,QAAQ,GAAG,UAAU;EACpCP,QAAQ,CAACQ,YAAY,CAAC,UAAU,EAAE,EAAE,CAAC;EACrCR,QAAQ,CAACS,KAAK,GAAGV,IAAI;;EAErB;EACA;EACAE,QAAQ,CAACS,IAAI,CAACC,WAAW,CAACX,QAAQ,CAAC;EACnC,IAAIY,MAAM,GAAGlB,YAAY,CAACC,IAAI;EAE9B,IAAI;IACFK,QAAQ,CAACa,MAAM,EAAE;IACjBb,QAAQ,CAACc,iBAAiB,CAAC,CAAC,EAAEd,QAAQ,CAACS,KAAK,CAACM,MAAM,CAAC;IACpDd,QAAQ,CAACe,WAAW,CAAC,MAAM,CAAC;IAC5BJ,MAAM,GAAGlB,YAAY,CAACG,OAAO;EAC/B,CAAC,CAAC,OAAOoB,KAAK,EAAE;IACdL,MAAM,GAAGlB,YAAY,CAACE,KAAK;EAC7B;;EAEA;EACA;EACAK,QAAQ,CAACS,IAAI,CAACQ,WAAW,CAAClB,QAAQ,CAAC;EAEnC,OAAOY,MAAM;AACf,CAAC;AAED,MAAMO,aAAa,gBAAGC,cAAK,CAACC,aAAa,CAAC3B,YAAY,CAACC,IAAI,CAAC;AAErD,MAAM2B,mBAAmB,GAAG,CAAC;EAACC;AAAQ,CAAC,KAAK;EACjD,MAAM,CAACX,MAAM,EAAEY,SAAS,CAAC,GAAG,IAAAC,eAAQ,EAAC/B,YAAY,CAACC,IAAI,CAAC;EACvD,IAAA+B,gBAAS,EAAC,MAAM;IACd,IAAIC,SAAS;IACb,MAAMC,QAAQ,GAAG,IAAI;IACrB,IAAIhB,MAAM,KAAKlB,YAAY,CAACC,IAAI,EAAE;MAChCgC,SAAS,GAAGE,UAAU,CAAC,MAAML,SAAS,CAAC9B,YAAY,CAACC,IAAI,CAAC,EAAEiC,QAAQ,CAAC;IACtE;IACA,OAAO,MAAME,YAAY,CAACH,SAAS,CAAC;EACtC,CAAC,EAAE,CAACf,MAAM,CAAC,CAAC;EAEZ,MAAMH,KAAK,GAAG,IAAAsB,cAAO,EAAC,MAAM,CAACnB,MAAM,EAAEY,SAAS,CAAC,EAAE,CAACZ,MAAM,CAAC,CAAC;EAE1D,oBAAO,6BAAC,aAAa,CAAC,QAAQ;IAAC,KAAK,EAAEH;EAAM,GAAEc,QAAQ,CAA0B;AAClF,CAAC;AAAC;AAEK,MAAMS,aAAa,GAAG,CAAC;EAACC,cAAc;EAAEC;AAAY,CAAC,KAAK;EAC/D,MAAM,CAACtB,MAAM,CAAC,GAAG,IAAAuB,iBAAU,EAAChB,aAAa,CAAC;EAC1C,IAAIP,MAAM,KAAKlB,YAAY,CAACC,IAAI,EAAE,OAAO,IAAI;EAE7C,oBACE;IACE,SAAS,EAAE,IAAAyC,mBAAU,EAACC,cAAM,CAACC,QAAQ,EAAE1B,MAAM,KAAKlB,YAAY,CAACE,KAAK,IAAIyC,cAAM,CAACE,aAAa;EAAE,GAE7F3B,MAAM,KAAKlB,YAAY,CAACG,OAAO,gBAC9B,6BAAC,2CAAS;IAAC,SAAS,EAAEwC,cAAM,CAACG,SAAU;IAAC,KAAK,EAAE,EAAG;IAAC,MAAM,EAAE;EAAG,EAAG,gBAEjE,6BAAC,+CAAa;IAAC,SAAS,EAAEH,cAAM,CAACG,SAAU;IAAC,KAAK,EAAE,EAAG;IAAC,MAAM,EAAE;EAAG,EACnE,EACA5B,MAAM,KAAKlB,YAAY,CAACG,OAAO,gBAC9B;IAAG,IAAI,EAAC;EAAQ,GAAEoC,cAAc,CAAK,gBAErC;IAAG,IAAI,EAAC;EAAO,GAAEC,YAAY,CAC9B,CACG;AAEV,CAAC;AAAC;AAEF,MAAMO,KAAK,GAAG,CAAC;EAACtC,KAAK;EAAEJ,IAAI;EAAE2C;AAAO,CAAC,KAAK;EACxC,MAAM,GAAGlB,SAAS,CAAC,GAAG,IAAAW,iBAAU,EAAChB,aAAa,CAAC;EAC/C,MAAMwB,OAAO,GAAG,IAAAC,kBAAW,EAAC,YAAY;IACtC,MAAMC,iCAAiC,GACrC,WAAW,IAAIC,SAAS,IAAI,WAAW,IAAIA,SAAS,CAACC,SAAS;IAChE,IAAIF,iCAAiC,EAAE;MACrC,IAAI;QACF,MAAMC,SAAS,CAACC,SAAS,CAACC,SAAS,CAACjD,IAAI,CAAC;QACzCyB,SAAS,CAAC9B,YAAY,CAACG,OAAO,CAAC;MACjC,CAAC,CAAC,OAAOoB,KAAK,EAAE;QACdO,SAAS,CAAC9B,YAAY,CAACE,KAAK,CAAC;MAC/B;MACA;IACF,CAAC,MAAM;MACL,MAAMqD,UAAU,GAAGnD,sBAAsB,CAACC,IAAI,CAAC;MAC/CyB,SAAS,CAACyB,UAAU,CAAC;IACvB;IACA;EACF,CAAC,EAAE,CAACzB,SAAS,EAAEzB,IAAI,CAAC,CAAC;EAErB,oBACE;IAAK,SAAS,GAAGsC,cAAM,CAACa,SAAS,EAAE/C,KAAK;EAAE,gBACxC,6BAAC,aAAI;IAAC,OAAO,EAAEwC,OAAQ;IAAC,SAAS,EAAEN,cAAM,CAACc,GAAI;IAAC,aAAW;EAAe,gBACvE;IAAK,SAAS,EAAEd,cAAM,CAACe;EAAQ,gBAC7B,6BAAC,2CAAS;IAAC,SAAS,EAAEf,cAAM,CAACgB,SAAU;IAAC,KAAK,EAAE,EAAG;IAAC,MAAM,EAAE;EAAG,EAAG,eACjE,wCAAIX,OAAO,CAAK,CACZ,CACD,CACH;AAEV,CAAC;AAEDpB,mBAAmB,CAACgC,SAAS,2CAAG;EAC9B/B,QAAQ,EAAEgC,kBAAS,CAACC;AACtB,CAAC;AAEDxB,aAAa,CAACsB,SAAS,2CAAG;EACxBrB,cAAc,EAAEsB,kBAAS,CAACE,MAAM;EAChCvB,YAAY,EAAEqB,kBAAS,CAACE;AAC1B,CAAC;AAEDhB,KAAK,CAACa,SAAS,2CAAG;EAChBnD,KAAK,EAAEoD,kBAAS,CAACE,MAAM;EACvB1D,IAAI,EAAEwD,kBAAS,CAACE,MAAM;EACtBf,OAAO,EAAEa,kBAAS,CAACE;AACrB,CAAC;AAAC,eAEahB,KAAK;AAAA"}
|
|
@@ -2,32 +2,20 @@
|
|
|
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 _cssColorFunction = require("css-color-function");
|
|
9
|
-
|
|
10
7
|
var _novaIcons = require("@coorpacademy/nova-icons");
|
|
11
|
-
|
|
12
8
|
var _getOr = _interopRequireDefault(require("lodash/fp/getOr"));
|
|
13
|
-
|
|
14
9
|
var _buttonLink = _interopRequireDefault(require("../../atom/button-link"));
|
|
15
|
-
|
|
16
10
|
var _style = _interopRequireDefault(require("./style.css"));
|
|
17
|
-
|
|
18
11
|
var _propTypes = _interopRequireDefault(require("./prop-types"));
|
|
19
|
-
|
|
20
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
21
|
-
|
|
22
13
|
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); }
|
|
23
|
-
|
|
24
14
|
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; }
|
|
25
|
-
|
|
26
15
|
const getGradientBackground = baseColor => {
|
|
27
16
|
const gradients = [(0, _cssColorFunction.convert)(`color(${baseColor} lightness(30%))`), (0, _cssColorFunction.convert)(`color(${baseColor} lightness(47%))`), (0, _cssColorFunction.convert)(`color(${baseColor} lightness(55%))`)];
|
|
28
17
|
return `radial-gradient(62.12% 56.45% at 0% 77.29%, ${gradients[0]} 0%, ${(0, _cssColorFunction.convert)(`color(${gradients[0]} a(0))`)} 100%), radial-gradient(113.85% 103.46% at 93.27% 7.88%, ${gradients[1]} 0%, ${(0, _cssColorFunction.convert)(`color(${gradients[1]} a(0))`)} 100%), radial-gradient(49.66% 49.63% at 78.65% 86.26%, ${gradients[2]} 0%, ${(0, _cssColorFunction.convert)(`color(${gradients[2]} a(0))`)} 100%), ${baseColor}`;
|
|
29
18
|
};
|
|
30
|
-
|
|
31
19
|
const SkillCard = (props, context) => {
|
|
32
20
|
const {
|
|
33
21
|
'aria-label': ariaLabel,
|
|
@@ -88,7 +76,6 @@ const SkillCard = (props, context) => {
|
|
|
88
76
|
"data-name": "button-wrapper"
|
|
89
77
|
}, /*#__PURE__*/_react.default.createElement(_buttonLink.default, buttonProps))));
|
|
90
78
|
};
|
|
91
|
-
|
|
92
79
|
SkillCard.propTypes = process.env.NODE_ENV !== "production" ? _propTypes.default : {};
|
|
93
80
|
var _default = SkillCard;
|
|
94
81
|
exports.default = _default;
|