@coorpacademy/components 10.27.4 → 10.27.5-alpha.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/atom/autocomplete/index.d.ts +1 -1
- package/es/atom/autocomplete/index.js.map +1 -1
- package/es/atom/avatar/index.js.map +1 -1
- package/es/atom/button/index.js +1 -1
- package/es/atom/button/index.js.map +1 -1
- package/es/atom/button-link/index.js +1 -1
- package/es/atom/button-link/index.js.map +1 -1
- package/es/atom/button-link-icon-only/index.js +1 -1
- package/es/atom/button-link-icon-only/index.js.map +1 -1
- package/es/atom/button-menu/index.js +1 -1
- package/es/atom/button-menu/index.js.map +1 -1
- package/es/atom/card-image-preview/index.js.map +1 -1
- package/es/atom/catalog-section/index.js.map +1 -1
- package/es/atom/centered-text/index.js.map +1 -1
- package/es/atom/checkbox/index.js +2 -3
- package/es/atom/checkbox/index.js.map +1 -1
- package/es/atom/checkbox-with-title/index.js.map +1 -1
- package/es/atom/chips/index.js.map +1 -1
- package/es/atom/choice/index.native.d.ts +0 -1
- package/es/atom/choice/index.native.d.ts.map +1 -1
- package/es/atom/choice/index.native.js +1 -1
- package/es/atom/choice/index.native.js.map +1 -1
- package/es/atom/clue/index.js.map +1 -1
- package/es/atom/content-badge/index.js.map +1 -1
- package/es/atom/cta/index.js.map +1 -1
- package/es/atom/difficulty-level/index.js.map +1 -1
- package/es/atom/drag-and-drop/index.js +1 -1
- package/es/atom/drag-and-drop/index.js.map +1 -1
- package/es/atom/empty-search-result/index.js.map +1 -1
- package/es/atom/gradient/index.native.js.map +1 -1
- package/es/atom/header-back-button/index.native.d.ts +0 -1
- package/es/atom/header-back-button/index.native.d.ts.map +1 -1
- package/es/atom/header-back-button/index.native.js.map +1 -1
- package/es/atom/header-back-icon/index.native.d.ts +0 -1
- package/es/atom/header-back-icon/index.native.d.ts.map +1 -1
- package/es/atom/header-back-icon/index.native.js.map +1 -1
- package/es/atom/html/index.native.d.ts +0 -1
- package/es/atom/html/index.native.d.ts.map +1 -1
- package/es/atom/html/index.native.js +6 -6
- package/es/atom/html/index.native.js.map +1 -1
- package/es/atom/image-background/index.native.js +4 -7
- package/es/atom/image-background/index.native.js.map +1 -1
- package/es/atom/image-upload/index.js +2 -2
- package/es/atom/image-upload/index.js.map +1 -1
- package/es/atom/input-checkbox/index.js.map +1 -1
- package/es/atom/input-color/index.js.map +1 -1
- package/es/atom/input-doublestep/index.js +1 -1
- package/es/atom/input-doublestep/index.js.map +1 -1
- package/es/atom/input-html/index.js.map +1 -1
- package/es/atom/input-html/input-preview.js.map +1 -1
- package/es/atom/input-readonly/index.js.map +1 -1
- package/es/atom/input-search/index.js.map +1 -1
- package/es/atom/input-switch/index.js.map +1 -1
- package/es/atom/input-text/index.js.map +1 -1
- package/es/atom/input-text-with-title/index.js +2 -2
- package/es/atom/input-text-with-title/index.js.map +1 -1
- package/es/atom/input-textarea/index.js.map +1 -1
- package/es/atom/label/index.js.map +1 -1
- package/es/atom/life/index.js.map +1 -1
- package/es/atom/link/index.js +3 -4
- package/es/atom/link/index.js.map +1 -1
- package/es/atom/loader/index.js.map +1 -1
- package/es/atom/lottie-wrapper/index.js +4 -4
- package/es/atom/lottie-wrapper/index.js.map +1 -1
- package/es/atom/lottie-wrapper/prop-types.js.map +1 -1
- package/es/atom/notification/index.js.map +1 -1
- package/es/atom/picture/index.js +1 -1
- package/es/atom/picture/index.js.map +1 -1
- package/es/atom/picture-background/index.d.ts +3 -3
- package/es/atom/picture-background/index.js.map +1 -1
- package/es/atom/promo-code/index.js.map +1 -1
- package/es/atom/provider/index.d.ts +1 -1
- package/es/atom/provider/index.js.map +1 -1
- package/es/atom/provider/web-context.js +3 -5
- package/es/atom/provider/web-context.js.map +1 -1
- package/es/atom/radio-group/index.js +1 -1
- package/es/atom/radio-group/index.js.map +1 -1
- package/es/atom/radio-group/item.js.map +1 -1
- package/es/atom/range/handle.js.map +1 -1
- package/es/atom/range/index.d.ts +1 -1
- package/es/atom/range/index.js +2 -2
- package/es/atom/range/index.js.map +1 -1
- package/es/atom/resource-miniature/index.js.map +1 -1
- package/es/atom/review-background/index.js.map +1 -1
- package/es/atom/review-background/prop-types.js.map +1 -1
- package/es/atom/review-header-step-item/index.d.ts +0 -1
- package/es/atom/review-header-step-item/index.d.ts.map +1 -1
- package/es/atom/review-header-step-item/index.js.map +1 -1
- package/es/atom/review-header-step-item/index.native.d.ts +0 -1
- package/es/atom/review-header-step-item/index.native.d.ts.map +1 -1
- package/es/atom/review-header-step-item/index.native.js.map +1 -1
- package/es/atom/review-header-step-item/types.js.map +1 -1
- package/es/atom/review-presentation/index.js.map +1 -1
- package/es/atom/review-presentation/index.native.d.ts +0 -1
- package/es/atom/review-presentation/index.native.d.ts.map +1 -1
- package/es/atom/review-presentation/index.native.js.map +1 -1
- package/es/atom/review-presentation/prop-types.js.map +1 -1
- package/es/atom/select/index.d.ts +2 -2
- package/es/atom/select/index.js +1 -1
- package/es/atom/select/index.js.map +1 -1
- package/es/atom/select-modal/index.native.d.ts +0 -1
- package/es/atom/select-modal/index.native.d.ts.map +1 -1
- package/es/atom/select-modal/index.native.js.map +1 -1
- package/es/atom/slide/index.js +1 -1
- package/es/atom/slide/index.js.map +1 -1
- package/es/atom/social-link/index.js.map +1 -1
- package/es/atom/space/index.native.d.ts +0 -1
- package/es/atom/space/index.native.d.ts.map +1 -1
- package/es/atom/space/index.native.js.map +1 -1
- package/es/atom/spinner/index.js.map +1 -1
- package/es/atom/tab/index.js.map +1 -1
- package/es/atom/tab-content/index.js.map +1 -1
- package/es/atom/tag/index.js.map +1 -1
- package/es/atom/text/index.native.js +1 -1
- package/es/atom/text/index.native.js.map +1 -1
- package/es/atom/title/index.js.map +1 -1
- package/es/atom/video-upload/index.js +2 -2
- package/es/atom/video-upload/index.js.map +1 -1
- package/es/atom/wizard-steps/index.js.map +1 -1
- package/es/globals.d.js.map +1 -1
- package/es/hoc/animation/index.js.map +1 -1
- package/es/hoc/animation-scheduler/index.js +3 -3
- package/es/hoc/animation-scheduler/index.js.map +1 -1
- package/es/hoc/modal/index.native.js.map +1 -1
- package/es/hoc/modal/select/index.native.d.ts +0 -1
- package/es/hoc/modal/select/index.native.d.ts.map +1 -1
- package/es/hoc/modal/select/index.native.js.map +1 -1
- package/es/hoc/modal/select-item/index.native.d.ts +0 -1
- package/es/hoc/modal/select-item/index.native.d.ts.map +1 -1
- package/es/hoc/modal/select-item/index.native.js.map +1 -1
- package/es/hoc/swapper/index.js +2 -4
- package/es/hoc/swapper/index.js.map +1 -1
- package/es/hoc/touchable/index.native.js +2 -2
- package/es/hoc/touchable/index.native.js.map +1 -1
- package/es/hoc/transition/index.js +1 -1
- package/es/hoc/transition/index.js.map +1 -1
- package/es/index.js.map +1 -1
- package/es/molecule/add-to-my-list/index.js +1 -1
- package/es/molecule/add-to-my-list/index.js.map +1 -1
- package/es/molecule/answer/index.js +2 -3
- package/es/molecule/answer/index.js.map +1 -1
- package/es/molecule/answer/index.native.d.ts +0 -1
- package/es/molecule/answer/index.native.d.ts.map +1 -1
- package/es/molecule/answer/index.native.js.map +1 -1
- package/es/molecule/answer/prop-types.d.ts +6 -6
- package/es/molecule/answer/prop-types.js +2 -2
- package/es/molecule/answer/prop-types.js.map +1 -1
- package/es/molecule/audio/index.js.map +1 -1
- package/es/molecule/banner/index.js.map +1 -1
- package/es/molecule/battle-request/index.js.map +1 -1
- package/es/molecule/brand-card/description.js.map +1 -1
- package/es/molecule/brand-card/index.js.map +1 -1
- package/es/molecule/brand-card-create/index.js.map +1 -1
- package/es/molecule/brand-create-form/index.d.ts +2 -2
- package/es/molecule/brand-create-form/index.js.map +1 -1
- package/es/molecule/brand-download-box/index.js.map +1 -1
- package/es/molecule/brand-form-group/index.d.ts +9 -9
- package/es/molecule/brand-form-group/index.js +20 -20
- package/es/molecule/brand-form-group/index.js.map +1 -1
- package/es/molecule/brand-logo/index.native.d.ts +0 -1
- package/es/molecule/brand-logo/index.native.d.ts.map +1 -1
- package/es/molecule/brand-logo/index.native.js +2 -2
- package/es/molecule/brand-logo/index.native.js.map +1 -1
- package/es/molecule/brand-tabs/index.js.map +1 -1
- package/es/molecule/brand-upload-box/index.js.map +1 -1
- package/es/molecule/breadcrumbs/index.js.map +1 -1
- package/es/molecule/bullet-point-menu-button/index.js.map +1 -1
- package/es/molecule/card/customer.js.map +1 -1
- package/es/molecule/card/favorite.js.map +1 -1
- package/es/molecule/card/index.js +2 -2
- package/es/molecule/card/index.js.map +1 -1
- package/es/molecule/card/notification.js.map +1 -1
- package/es/molecule/card/selectable.js.map +1 -1
- package/es/molecule/card-content/index.js.map +1 -1
- package/es/molecule/card-with-button/index.d.ts +1 -1
- package/es/molecule/card-with-button/index.js.map +1 -1
- package/es/molecule/cm-popin/index.js.map +1 -1
- package/es/molecule/cm-popin/types.js.map +1 -1
- package/es/molecule/cookie-banner/index.js.map +1 -1
- package/es/molecule/coorp-manager-roles/index.js +2 -2
- package/es/molecule/coorp-manager-roles/index.js.map +1 -1
- package/es/molecule/course-section/index.js.map +1 -1
- package/es/molecule/course-sections/index.js +2 -2
- package/es/molecule/course-sections/index.js.map +1 -1
- package/es/molecule/dashboard/battle-request-list/index.js +1 -1
- package/es/molecule/dashboard/battle-request-list/index.js.map +1 -1
- package/es/molecule/dashboard/cards-list/index.js +1 -1
- package/es/molecule/dashboard/cards-list/index.js.map +1 -1
- package/es/molecule/dashboard/news-list/index.js +1 -1
- package/es/molecule/dashboard/news-list/index.js.map +1 -1
- package/es/molecule/dashboard/review-banner/index.js +3 -3
- package/es/molecule/dashboard/review-banner/index.js.map +1 -1
- package/es/molecule/dashboard/start-battle/index.js +1 -1
- package/es/molecule/dashboard/start-battle/index.js.map +1 -1
- package/es/molecule/discipline-cta/index.js.map +1 -1
- package/es/molecule/discipline-header/index.js.map +1 -1
- package/es/molecule/discipline-partners/index.js.map +1 -1
- package/es/molecule/discipline-scope/index.js.map +1 -1
- package/es/molecule/drag-and-drop/index.js +2 -2
- package/es/molecule/drag-and-drop/index.js.map +1 -1
- package/es/molecule/drag-and-drop/overlay.js.map +1 -1
- package/es/molecule/drag-and-drop/placeholder.js.map +1 -1
- package/es/molecule/drag-and-drop/upload-report.js +2 -2
- package/es/molecule/drag-and-drop/upload-report.js.map +1 -1
- package/es/molecule/drag-and-drop-wrapper/index.js.map +1 -1
- package/es/molecule/draggable/index.js.map +1 -1
- package/es/molecule/draggable-list/index.js +1 -1
- package/es/molecule/draggable-list/index.js.map +1 -1
- package/es/molecule/external-content-button/index.js.map +1 -1
- package/es/molecule/external-content-viewer/index.js.map +1 -1
- package/es/molecule/feedback/index.js +2 -2
- package/es/molecule/feedback/index.js.map +1 -1
- package/es/molecule/filters/filters-wrapper.js +1 -1
- package/es/molecule/filters/filters-wrapper.js.map +1 -1
- package/es/molecule/filters/index.d.ts +1 -1
- package/es/molecule/filters/index.js.map +1 -1
- package/es/molecule/forum/forum-comment/index.js.map +1 -1
- package/es/molecule/forum/forum-post/index.js.map +1 -1
- package/es/molecule/forum/forum-thread/index.js +1 -1
- package/es/molecule/forum/forum-thread/index.js.map +1 -1
- package/es/molecule/forum/post-conditions.js.map +1 -1
- package/es/molecule/go1-banner/index.js.map +1 -1
- package/es/molecule/hero/index.js.map +1 -1
- package/es/molecule/input-text-with-titled-checkbox/index.js.map +1 -1
- package/es/molecule/list-badges/index.js.map +1 -1
- package/es/molecule/login-alert/index.js.map +1 -1
- package/es/molecule/menu-list/index.js.map +1 -1
- package/es/molecule/message-popin/index.js.map +1 -1
- package/es/molecule/modal/index.js.map +1 -1
- package/es/molecule/module-bubble/index.js.map +1 -1
- package/es/molecule/module-card/index.js +1 -1
- package/es/molecule/module-card/index.js.map +1 -1
- package/es/molecule/news/index.js +1 -1
- package/es/molecule/news/index.js.map +1 -1
- package/es/molecule/notification-banner/index.js.map +1 -1
- package/es/molecule/pagination/index.js.map +1 -1
- package/es/molecule/payment-form/index.js.map +1 -1
- package/es/molecule/pdf/index.js.map +1 -1
- package/es/molecule/popin/index.js +2 -2
- package/es/molecule/popin/index.js.map +1 -1
- package/es/molecule/product-card/index.js.map +1 -1
- package/es/molecule/progress-bar/index.d.ts +1 -1
- package/es/molecule/progress-bar/index.js +2 -2
- package/es/molecule/progress-bar/index.js.map +1 -1
- package/es/molecule/questions/drop-down/index.d.ts +1 -1
- package/es/molecule/questions/drop-down/index.js.map +1 -1
- package/es/molecule/questions/free-text/index.js +3 -3
- package/es/molecule/questions/free-text/index.js.map +1 -1
- package/es/molecule/questions/free-text/index.native.d.ts +0 -1
- package/es/molecule/questions/free-text/index.native.d.ts.map +1 -1
- package/es/molecule/questions/free-text/index.native.js +3 -3
- package/es/molecule/questions/free-text/index.native.js.map +1 -1
- package/es/molecule/questions/mobile/draggable/index.native.d.ts +0 -1
- package/es/molecule/questions/mobile/draggable/index.native.d.ts.map +1 -1
- package/es/molecule/questions/mobile/draggable/index.native.js.map +1 -1
- package/es/molecule/questions/mobile/slider/index.native.d.ts +0 -1
- package/es/molecule/questions/mobile/slider/index.native.d.ts.map +1 -1
- package/es/molecule/questions/mobile/slider/index.native.js +2 -2
- package/es/molecule/questions/mobile/slider/index.native.js.map +1 -1
- package/es/molecule/questions/mobile/switch/index.native.d.ts +0 -1
- package/es/molecule/questions/mobile/switch/index.native.d.ts.map +1 -1
- package/es/molecule/questions/mobile/switch/index.native.js.map +1 -1
- package/es/molecule/questions/mobile/template/index.native.d.ts +0 -1
- package/es/molecule/questions/mobile/template/index.native.d.ts.map +1 -1
- package/es/molecule/questions/mobile/template/index.native.js +3 -3
- package/es/molecule/questions/mobile/template/index.native.js.map +1 -1
- package/es/molecule/questions/qcm/index.js +1 -1
- package/es/molecule/questions/qcm/index.js.map +1 -1
- package/es/molecule/questions/qcm-drag/index.js.map +1 -1
- package/es/molecule/questions/qcm-graphic/index.js +1 -1
- package/es/molecule/questions/qcm-graphic/index.js.map +1 -1
- package/es/molecule/questions/question-range/index.d.ts +1 -1
- package/es/molecule/questions/question-range/index.js +3 -4
- package/es/molecule/questions/question-range/index.js.map +1 -1
- package/es/molecule/questions/template/index.d.ts +3 -12
- package/es/molecule/questions/template/index.js +3 -4
- package/es/molecule/questions/template/index.js.map +1 -1
- package/es/molecule/questions/types.js.map +1 -1
- package/es/molecule/quick-access-card/index.js.map +1 -1
- package/es/molecule/quick-access-cards-group/index.js.map +1 -1
- package/es/molecule/resource-player/index.d.ts +2 -2
- package/es/molecule/resource-player/index.js +2 -3
- package/es/molecule/resource-player/index.js.map +1 -1
- package/es/molecule/review-card-congrats/index.js +1 -1
- package/es/molecule/review-card-congrats/index.js.map +1 -1
- package/es/molecule/review-card-congrats/prop-types.js.map +1 -1
- package/es/molecule/review-correction-popin/index.js +3 -3
- package/es/molecule/review-correction-popin/index.js.map +1 -1
- package/es/molecule/review-correction-popin/prop-types.js.map +1 -1
- package/es/molecule/review-header-steps/index.js +1 -1
- package/es/molecule/review-header-steps/index.js.map +1 -1
- package/es/molecule/review-header-steps/prop-types.js.map +1 -1
- package/es/molecule/scope-content/index.js +1 -1
- package/es/molecule/scope-content/index.js.map +1 -1
- package/es/molecule/scope-tabs/index.js +1 -1
- package/es/molecule/scope-tabs/index.js.map +1 -1
- package/es/molecule/search-form/index.js +1 -1
- package/es/molecule/search-form/index.js.map +1 -1
- package/es/molecule/select-multiple/index.d.ts +2 -2
- package/es/molecule/select-multiple/index.js +4 -4
- package/es/molecule/select-multiple/index.js.map +1 -1
- package/es/molecule/setup-cohort-item/index.js +1 -1
- package/es/molecule/setup-cohort-item/index.js.map +1 -1
- package/es/molecule/setup-section/index.js +2 -2
- package/es/molecule/setup-section/index.js.map +1 -1
- package/es/molecule/setup-sections/index.js.map +1 -1
- package/es/molecule/setup-slide/index.d.ts +3 -3
- package/es/molecule/setup-slide/index.js +9 -9
- package/es/molecule/setup-slide/index.js.map +1 -1
- package/es/molecule/setup-slider/index.d.ts +3 -3
- package/es/molecule/setup-slider/index.js +1 -1
- package/es/molecule/setup-slider/index.js.map +1 -1
- package/es/molecule/share/index.js +1 -1
- package/es/molecule/share/index.js.map +1 -1
- package/es/molecule/skill-card/index.js.map +1 -1
- package/es/molecule/skill-card/prop-types.js.map +1 -1
- package/es/molecule/ssmenu-list/index.js.map +1 -1
- package/es/molecule/subscription-freemium/index.js.map +1 -1
- package/es/molecule/subscription-premium/index.js.map +1 -1
- package/es/molecule/table/index.d.ts +2 -2
- package/es/molecule/table/index.js.map +1 -1
- package/es/molecule/teams-popin/index.js.map +1 -1
- package/es/molecule/theme-image/index.js.map +1 -1
- package/es/molecule/title-and-checkbox-wrapper/index.d.ts +2 -2
- package/es/molecule/title-and-checkbox-wrapper/index.js +3 -3
- package/es/molecule/title-and-checkbox-wrapper/index.js.map +1 -1
- package/es/molecule/titled-checkbox/index.d.ts +2 -2
- package/es/molecule/titled-checkbox/index.js.map +1 -1
- package/es/molecule/unsubscribe/index.js.map +1 -1
- package/es/molecule/vertical-tabs/index.js.map +1 -1
- package/es/molecule/video-iframe/index.d.ts.map +1 -1
- package/es/molecule/video-iframe/index.js +2 -2
- package/es/molecule/video-iframe/index.js.map +1 -1
- package/es/molecule/video-player/index.js +2 -4
- package/es/molecule/video-player/index.js.map +1 -1
- package/es/molecule/video-player/jwplayer-prop-types.js.map +1 -1
- package/es/molecule/video-player/jwplayer.js +3 -3
- package/es/molecule/video-player/jwplayer.js.map +1 -1
- package/es/molecule/video-player/prop-types.js.map +1 -1
- package/es/molecule/video-player/vimeo.d.ts +3 -3
- package/es/molecule/video-player/vimeo.js +2 -2
- package/es/molecule/video-player/vimeo.js.map +1 -1
- package/es/molecule/wizard-summary/index.d.ts +2 -2
- package/es/molecule/wizard-summary/index.js.map +1 -1
- package/es/organism/accordion/container/index.js +1 -1
- package/es/organism/accordion/container/index.js.map +1 -1
- package/es/organism/accordion/coorp-manager/index.js +2 -2
- package/es/organism/accordion/coorp-manager/index.js.map +1 -1
- package/es/organism/accordion/coorp-manager/part/index.js +1 -1
- package/es/organism/accordion/coorp-manager/part/index.js.map +1 -1
- package/es/organism/accordion/part/index.js.map +1 -1
- package/es/organism/accordion/toggler/index.js +2 -2
- package/es/organism/accordion/toggler/index.js.map +1 -1
- package/es/organism/brand-analytics/analytics-popin.js.map +1 -1
- package/es/organism/brand-analytics/index.d.ts +3 -3
- package/es/organism/brand-analytics/index.js.map +1 -1
- package/es/organism/brand-dashboard/index.js +1 -1
- package/es/organism/brand-dashboard/index.js.map +1 -1
- package/es/organism/brand-form/index.d.ts +9 -9
- package/es/organism/brand-form/index.js.map +1 -1
- package/es/organism/brand-table/index.d.ts +2 -2
- package/es/organism/brand-table/index.js.map +1 -1
- package/es/organism/brand-upload/index.d.ts +2 -2
- package/es/organism/brand-upload/index.js +1 -1
- package/es/organism/brand-upload/index.js.map +1 -1
- package/es/organism/cards-grid/index.js.map +1 -1
- package/es/organism/cart/index.js.map +1 -1
- package/es/organism/content-translation/index.js +3 -3
- package/es/organism/content-translation/index.js.map +1 -1
- package/es/organism/course-selection/index.js +1 -1
- package/es/organism/course-selection/index.js.map +1 -1
- package/es/organism/discussion/index.js +1 -1
- package/es/organism/discussion/index.js.map +1 -1
- package/es/organism/get-the-app/index.js +3 -3
- package/es/organism/get-the-app/index.js.map +1 -1
- package/es/organism/grid-list/index.js.map +1 -1
- package/es/organism/header/index.d.ts +2 -2
- package/es/organism/header/index.js.map +1 -1
- package/es/organism/header-v2/index.native.d.ts +0 -1
- package/es/organism/header-v2/index.native.d.ts.map +1 -1
- package/es/organism/header-v2/index.native.js.map +1 -1
- package/es/organism/hero/index.js.map +1 -1
- package/es/organism/list-item/index.js.map +1 -1
- package/es/organism/list-items/index.js.map +1 -1
- package/es/organism/mobile-navigation/index.native.js.map +1 -1
- package/es/organism/mooc/image-slider/index.js +1 -1
- package/es/organism/mooc/image-slider/index.js.map +1 -1
- package/es/organism/mooc-footer/index.js.map +1 -1
- package/es/organism/mooc-header/index.js +1 -1
- package/es/organism/mooc-header/index.js.map +1 -1
- package/es/organism/podcast-popin-intro/index.native.d.ts +0 -1
- package/es/organism/podcast-popin-intro/index.native.d.ts.map +1 -1
- package/es/organism/podcast-popin-intro/index.native.js.map +1 -1
- package/es/organism/popin/index.js.map +1 -1
- package/es/organism/resource-browser/index.js +1 -1
- package/es/organism/resource-browser/index.js.map +1 -1
- package/es/organism/review-congrats/index.js +1 -1
- package/es/organism/review-congrats/index.js.map +1 -1
- package/es/organism/review-congrats/prop-types.js.map +1 -1
- package/es/organism/review-header/index.js.map +1 -1
- package/es/organism/review-header/index.native.d.ts +0 -1
- package/es/organism/review-header/index.native.d.ts.map +1 -1
- package/es/organism/review-header/index.native.js +1 -1
- package/es/organism/review-header/index.native.js.map +1 -1
- package/es/organism/review-header/types.js.map +1 -1
- package/es/organism/review-skills/index.js.map +1 -1
- package/es/organism/review-skills/prop-types.js +3 -3
- package/es/organism/review-skills/prop-types.js.map +1 -1
- package/es/organism/review-slide/index.js +1 -1
- package/es/organism/review-slide/index.js.map +1 -1
- package/es/organism/review-slide/index.native.d.ts +0 -1
- package/es/organism/review-slide/index.native.d.ts.map +1 -1
- package/es/organism/review-slide/index.native.js.map +1 -1
- package/es/organism/review-slide/prop-types.d.ts +8 -8
- package/es/organism/review-slide/prop-types.js.map +1 -1
- package/es/organism/review-stacked-slides/index.js +6 -3
- package/es/organism/review-stacked-slides/index.js.map +1 -1
- package/es/organism/review-stacked-slides/index.native.d.ts +0 -1
- package/es/organism/review-stacked-slides/index.native.d.ts.map +1 -1
- package/es/organism/review-stacked-slides/index.native.js +6 -3
- package/es/organism/review-stacked-slides/index.native.js.map +1 -1
- package/es/organism/review-stacked-slides/prop-types.d.ts +22 -22
- package/es/organism/review-stacked-slides/prop-types.js.map +1 -1
- package/es/organism/rewards-form/index.d.ts +2 -2
- package/es/organism/rewards-form/index.js +1 -3
- package/es/organism/rewards-form/index.js.map +1 -1
- package/es/organism/search-and-chips-results/index.js +1 -1
- package/es/organism/search-and-chips-results/index.js.map +1 -1
- package/es/organism/settings/index.js +3 -4
- package/es/organism/settings/index.js.map +1 -1
- package/es/organism/setup-header/index.js.map +1 -1
- package/es/organism/sidebar/index.d.ts +5 -29
- package/es/organism/sidebar/index.js +11 -12
- package/es/organism/sidebar/index.js.map +1 -1
- package/es/organism/slider/index.d.ts +1 -1
- package/es/organism/slider/index.d.ts.map +1 -1
- package/es/organism/slider/index.js.map +1 -1
- package/es/organism/user-preferences/index.js +3 -4
- package/es/organism/user-preferences/index.js.map +1 -1
- package/es/organism/wizard-contents/index.d.ts +19 -19
- package/es/organism/wizard-contents/index.js +8 -8
- package/es/organism/wizard-contents/index.js.map +1 -1
- package/es/template/activity/engine-stars.js.map +1 -1
- package/es/template/activity/index.d.ts +3 -3
- package/es/template/activity/index.js +2 -2
- package/es/template/activity/index.js.map +1 -1
- package/es/template/activity/progression-item.js.map +1 -1
- package/es/template/activity/stars-summary.d.ts +2 -2
- package/es/template/activity/stars-summary.js +1 -1
- package/es/template/activity/stars-summary.js.map +1 -1
- package/es/template/app-player/loading/index.js.map +1 -1
- package/es/template/app-player/player/index.js +1 -1
- package/es/template/app-player/player/index.js.map +1 -1
- package/es/template/app-player/player/slides/footer/index.js +2 -2
- package/es/template/app-player/player/slides/footer/index.js.map +1 -1
- package/es/template/app-player/player/slides/header/index.js.map +1 -1
- package/es/template/app-player/player/slides/header/learner.d.ts +4 -4
- package/es/template/app-player/player/slides/header/learner.js +1 -1
- package/es/template/app-player/player/slides/header/learner.js.map +1 -1
- package/es/template/app-player/player/slides/header/lives.js.map +1 -1
- package/es/template/app-player/player/slides/header/microlearning.js.map +1 -1
- package/es/template/app-player/player/slides/index.d.ts +6 -6
- package/es/template/app-player/player/slides/index.js +12 -15
- package/es/template/app-player/player/slides/index.js.map +1 -1
- package/es/template/app-player/popin-correction/index.js +3 -4
- package/es/template/app-player/popin-correction/index.js.map +1 -1
- package/es/template/app-player/popin-end/index.js +1 -1
- package/es/template/app-player/popin-end/index.js.map +1 -1
- package/es/template/app-player/popin-end/summary.js +12 -15
- package/es/template/app-player/popin-end/summary.js.map +1 -1
- package/es/template/app-player/popin-header/index.js +4 -5
- package/es/template/app-player/popin-header/index.js.map +1 -1
- package/es/template/app-player/popin-no-access/index.js.map +1 -1
- package/es/template/app-review/demo-ts/index.js.map +1 -1
- package/es/template/app-review/demo-ts/index.native.d.ts +0 -1
- package/es/template/app-review/demo-ts/index.native.d.ts.map +1 -1
- package/es/template/app-review/demo-ts/index.native.js.map +1 -1
- package/es/template/app-review/demo-ts/typings.js.map +1 -1
- package/es/template/app-review/index.d.ts +22 -23
- package/es/template/app-review/index.d.ts.map +1 -1
- package/es/template/app-review/index.js +1 -1
- package/es/template/app-review/index.js.map +1 -1
- package/es/template/app-review/index.native.d.ts +0 -1
- package/es/template/app-review/index.native.d.ts.map +1 -1
- package/es/template/app-review/index.native.js.map +1 -1
- package/es/template/app-review/onboarding/index.js.map +1 -1
- package/es/template/app-review/onboarding/index.native.js.map +1 -1
- package/es/template/app-review/player/index.js.map +1 -1
- package/es/template/app-review/player/index.native.d.ts +0 -1
- package/es/template/app-review/player/index.native.d.ts.map +1 -1
- package/es/template/app-review/player/index.native.js.map +1 -1
- package/es/template/app-review/player/prop-types.d.ts +22 -22
- package/es/template/app-review/player/prop-types.js +1 -1
- package/es/template/app-review/player/prop-types.js.map +1 -1
- package/es/template/app-review/prop-types.d.ts +22 -22
- package/es/template/app-review/prop-types.js +1 -1
- package/es/template/app-review/prop-types.js.map +1 -1
- package/es/template/app-review/skills/index.js.map +1 -1
- package/es/template/app-review/skills/index.native.d.ts +0 -1
- package/es/template/app-review/skills/index.native.d.ts.map +1 -1
- package/es/template/app-review/skills/index.native.js.map +1 -1
- package/es/template/app-review/skills/prop-types.js.map +1 -1
- package/es/template/app-review/skills/stories.js.map +1 -1
- package/es/template/app-review/template-context.js +1 -1
- package/es/template/app-review/template-context.js.map +1 -1
- package/es/template/back-office/brand-create/index.js.map +1 -1
- package/es/template/back-office/brand-list/index.js +2 -4
- package/es/template/back-office/brand-list/index.js.map +1 -1
- package/es/template/back-office/brand-update/index.d.ts +39 -39
- package/es/template/back-office/brand-update/index.js +9 -9
- package/es/template/back-office/brand-update/index.js.map +1 -1
- package/es/template/back-office/dashboard-preview/dashboard-popin.js.map +1 -1
- package/es/template/back-office/dashboard-preview/index.js.map +1 -1
- package/es/template/back-office/layout/index.js.map +1 -1
- package/es/template/battle-requests/index.d.ts +2 -2
- package/es/template/battle-requests/index.js.map +1 -1
- package/es/template/cockpit/jw-uploader/index.js +2 -2
- package/es/template/cockpit/jw-uploader/index.js.map +1 -1
- package/es/template/common/authors/index.js.map +1 -1
- package/es/template/common/coorp-header/content.js.map +1 -1
- package/es/template/common/coorp-header/index.js.map +1 -1
- package/es/template/common/dashboard/index.d.ts +1 -1
- package/es/template/common/dashboard/index.js +1 -1
- package/es/template/common/dashboard/index.js.map +1 -1
- package/es/template/common/discipline/index.js.map +1 -1
- package/es/template/common/search-page/index.d.ts +1 -1
- package/es/template/common/search-page/index.js +1 -1
- package/es/template/common/search-page/index.js.map +1 -1
- package/es/template/external-course/index.d.ts.map +1 -1
- package/es/template/external-course/index.js.map +1 -1
- package/es/template/review-dashboard-skills/index.js.map +1 -1
- package/es/template/teams-dashboard/index.js +1 -1
- package/es/template/teams-dashboard/index.js.map +1 -1
- package/es/util/bubbling.js.map +1 -1
- package/es/util/build-query-string.js.map +1 -1
- package/es/util/button-icons.js.map +1 -1
- package/es/util/closest-step.js.map +1 -1
- package/es/util/constants.js.map +1 -1
- package/es/util/external-content.js.map +1 -1
- package/es/util/get-class-state.js.map +1 -1
- package/es/util/get-clean-uri.js.map +1 -1
- package/es/util/get-resized-image.js +3 -3
- package/es/util/get-resized-image.js.map +1 -1
- package/es/util/get-shadow-box-color-from-primary.js.map +1 -1
- package/es/util/image.js.map +1 -1
- package/es/util/navigation.js.map +1 -1
- package/es/util/parse-template-string.js.map +1 -1
- package/es/util/proptypes.js.map +1 -1
- package/es/util/render-with-context.js +4 -7
- package/es/util/render-with-context.js.map +1 -1
- package/es/util/shallow-compare.js.map +1 -1
- package/es/variables/analytics.js.map +1 -1
- package/es/variables/brand.native.js.map +1 -1
- package/es/variables/colors.js.map +1 -1
- package/es/variables/default-mobile-translations.js.map +1 -1
- package/es/variables/shadow.js.map +1 -1
- package/es/variables/theme.native.js.map +1 -1
- package/es/variables/vibration.js.map +1 -1
- package/lib/atom/autocomplete/index.d.ts +1 -1
- package/lib/atom/autocomplete/index.js +2 -2
- package/lib/atom/autocomplete/index.js.map +1 -1
- package/lib/atom/avatar/index.js.map +1 -1
- package/lib/atom/button/index.js +1 -1
- package/lib/atom/button/index.js.map +1 -1
- package/lib/atom/button-link/index.js +3 -3
- package/lib/atom/button-link/index.js.map +1 -1
- package/lib/atom/button-link-icon-only/index.js +3 -3
- package/lib/atom/button-link-icon-only/index.js.map +1 -1
- package/lib/atom/button-menu/index.js +3 -3
- package/lib/atom/button-menu/index.js.map +1 -1
- package/lib/atom/card-image-preview/index.js.map +1 -1
- package/lib/atom/catalog-section/index.js.map +1 -1
- package/lib/atom/centered-text/index.js.map +1 -1
- package/lib/atom/checkbox/index.js +4 -6
- package/lib/atom/checkbox/index.js.map +1 -1
- package/lib/atom/checkbox-with-title/index.js +2 -2
- package/lib/atom/checkbox-with-title/index.js.map +1 -1
- package/lib/atom/chips/index.js +2 -2
- package/lib/atom/chips/index.js.map +1 -1
- package/lib/atom/choice/index.native.d.ts +0 -1
- package/lib/atom/choice/index.native.d.ts.map +1 -1
- package/lib/atom/choice/index.native.js +3 -3
- package/lib/atom/choice/index.native.js.map +1 -1
- package/lib/atom/clue/index.js.map +1 -1
- package/lib/atom/content-badge/index.js.map +1 -1
- package/lib/atom/cta/index.js.map +1 -1
- package/lib/atom/difficulty-level/index.js.map +1 -1
- package/lib/atom/drag-and-drop/index.js +1 -1
- package/lib/atom/drag-and-drop/index.js.map +1 -1
- package/lib/atom/empty-search-result/index.js.map +1 -1
- package/lib/atom/gradient/index.native.js.map +1 -1
- package/lib/atom/header-back-button/index.native.d.ts +0 -1
- package/lib/atom/header-back-button/index.native.d.ts.map +1 -1
- package/lib/atom/header-back-button/index.native.js +3 -3
- package/lib/atom/header-back-button/index.native.js.map +1 -1
- package/lib/atom/header-back-icon/index.native.d.ts +0 -1
- package/lib/atom/header-back-icon/index.native.d.ts.map +1 -1
- package/lib/atom/header-back-icon/index.native.js.map +1 -1
- package/lib/atom/html/index.native.d.ts +0 -1
- package/lib/atom/html/index.native.d.ts.map +1 -1
- package/lib/atom/html/index.native.js +8 -8
- package/lib/atom/html/index.native.js.map +1 -1
- package/lib/atom/image-background/index.native.js +4 -7
- package/lib/atom/image-background/index.native.js.map +1 -1
- package/lib/atom/image-upload/index.js +4 -4
- package/lib/atom/image-upload/index.js.map +1 -1
- package/lib/atom/input-checkbox/index.js +2 -2
- package/lib/atom/input-checkbox/index.js.map +1 -1
- package/lib/atom/input-color/index.js +2 -2
- package/lib/atom/input-color/index.js.map +1 -1
- package/lib/atom/input-doublestep/index.js +3 -3
- package/lib/atom/input-doublestep/index.js.map +1 -1
- package/lib/atom/input-html/index.js.map +1 -1
- package/lib/atom/input-html/input-preview.js.map +1 -1
- package/lib/atom/input-readonly/index.js.map +1 -1
- package/lib/atom/input-search/index.js +2 -2
- package/lib/atom/input-search/index.js.map +1 -1
- package/lib/atom/input-switch/index.js +2 -2
- package/lib/atom/input-switch/index.js.map +1 -1
- package/lib/atom/input-text/index.js +2 -2
- package/lib/atom/input-text/index.js.map +1 -1
- package/lib/atom/input-text-with-title/index.js +2 -2
- package/lib/atom/input-text-with-title/index.js.map +1 -1
- package/lib/atom/input-textarea/index.js +2 -2
- package/lib/atom/input-textarea/index.js.map +1 -1
- package/lib/atom/label/index.js.map +1 -1
- package/lib/atom/life/index.js.map +1 -1
- package/lib/atom/link/index.js +3 -5
- package/lib/atom/link/index.js.map +1 -1
- package/lib/atom/loader/index.js.map +1 -1
- package/lib/atom/lottie-wrapper/index.js +7 -7
- package/lib/atom/lottie-wrapper/index.js.map +1 -1
- package/lib/atom/lottie-wrapper/prop-types.js.map +1 -1
- package/lib/atom/notification/index.js.map +1 -1
- package/lib/atom/picture/index.js +1 -1
- package/lib/atom/picture/index.js.map +1 -1
- package/lib/atom/picture-background/index.d.ts +3 -3
- package/lib/atom/picture-background/index.js.map +1 -1
- package/lib/atom/promo-code/index.js.map +1 -1
- package/lib/atom/provider/index.d.ts +1 -1
- package/lib/atom/provider/index.js +2 -2
- package/lib/atom/provider/index.js.map +1 -1
- package/lib/atom/provider/web-context.js +6 -8
- package/lib/atom/provider/web-context.js.map +1 -1
- package/lib/atom/radio-group/index.js +1 -1
- package/lib/atom/radio-group/index.js.map +1 -1
- package/lib/atom/radio-group/item.js.map +1 -1
- package/lib/atom/range/handle.js +2 -2
- package/lib/atom/range/handle.js.map +1 -1
- package/lib/atom/range/index.d.ts +1 -1
- package/lib/atom/range/index.js +2 -2
- package/lib/atom/range/index.js.map +1 -1
- package/lib/atom/resource-miniature/index.js.map +1 -1
- package/lib/atom/review-background/index.js.map +1 -1
- package/lib/atom/review-background/prop-types.js.map +1 -1
- package/lib/atom/review-header-step-item/index.d.ts +0 -1
- package/lib/atom/review-header-step-item/index.d.ts.map +1 -1
- package/lib/atom/review-header-step-item/index.js.map +1 -1
- package/lib/atom/review-header-step-item/index.native.d.ts +0 -1
- package/lib/atom/review-header-step-item/index.native.d.ts.map +1 -1
- package/lib/atom/review-header-step-item/index.native.js +2 -2
- package/lib/atom/review-header-step-item/index.native.js.map +1 -1
- package/lib/atom/review-header-step-item/types.js.map +1 -1
- package/lib/atom/review-presentation/index.js.map +1 -1
- package/lib/atom/review-presentation/index.native.d.ts +0 -1
- package/lib/atom/review-presentation/index.native.d.ts.map +1 -1
- package/lib/atom/review-presentation/index.native.js +2 -2
- package/lib/atom/review-presentation/index.native.js.map +1 -1
- package/lib/atom/review-presentation/prop-types.js +1 -1
- package/lib/atom/review-presentation/prop-types.js.map +1 -1
- package/lib/atom/select/index.d.ts +2 -2
- package/lib/atom/select/index.js +3 -3
- package/lib/atom/select/index.js.map +1 -1
- package/lib/atom/select-modal/index.native.d.ts +0 -1
- package/lib/atom/select-modal/index.native.d.ts.map +1 -1
- package/lib/atom/select-modal/index.native.js +2 -2
- package/lib/atom/select-modal/index.native.js.map +1 -1
- package/lib/atom/slide/index.js +1 -1
- package/lib/atom/slide/index.js.map +1 -1
- package/lib/atom/social-link/index.js.map +1 -1
- package/lib/atom/space/index.native.d.ts +0 -1
- package/lib/atom/space/index.native.d.ts.map +1 -1
- package/lib/atom/space/index.native.js +2 -2
- package/lib/atom/space/index.native.js.map +1 -1
- package/lib/atom/spinner/index.js.map +1 -1
- package/lib/atom/tab/index.js +2 -2
- package/lib/atom/tab/index.js.map +1 -1
- package/lib/atom/tab-content/index.js.map +1 -1
- package/lib/atom/tag/index.js.map +1 -1
- package/lib/atom/text/index.native.js +3 -3
- package/lib/atom/text/index.native.js.map +1 -1
- package/lib/atom/title/index.js.map +1 -1
- package/lib/atom/video-upload/index.js +2 -2
- package/lib/atom/video-upload/index.js.map +1 -1
- package/lib/atom/wizard-steps/index.js.map +1 -1
- package/lib/globals.d.js.map +1 -1
- package/lib/hoc/animation/index.js +1 -1
- package/lib/hoc/animation/index.js.map +1 -1
- package/lib/hoc/animation-scheduler/index.js +4 -4
- package/lib/hoc/animation-scheduler/index.js.map +1 -1
- package/lib/hoc/modal/index.native.js +2 -2
- package/lib/hoc/modal/index.native.js.map +1 -1
- package/lib/hoc/modal/select/index.native.d.ts +0 -1
- package/lib/hoc/modal/select/index.native.d.ts.map +1 -1
- package/lib/hoc/modal/select/index.native.js +2 -2
- package/lib/hoc/modal/select/index.native.js.map +1 -1
- package/lib/hoc/modal/select-item/index.native.d.ts +0 -1
- package/lib/hoc/modal/select-item/index.native.d.ts.map +1 -1
- package/lib/hoc/modal/select-item/index.native.js +2 -2
- package/lib/hoc/modal/select-item/index.native.js.map +1 -1
- package/lib/hoc/swapper/index.js +3 -5
- package/lib/hoc/swapper/index.js.map +1 -1
- package/lib/hoc/touchable/index.native.js +4 -4
- package/lib/hoc/touchable/index.native.js.map +1 -1
- package/lib/hoc/transition/index.js +3 -3
- package/lib/hoc/transition/index.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/molecule/add-to-my-list/index.js +4 -4
- package/lib/molecule/add-to-my-list/index.js.map +1 -1
- package/lib/molecule/answer/index.js +4 -6
- package/lib/molecule/answer/index.js.map +1 -1
- package/lib/molecule/answer/index.native.d.ts +0 -1
- package/lib/molecule/answer/index.native.d.ts.map +1 -1
- package/lib/molecule/answer/index.native.js.map +1 -1
- package/lib/molecule/answer/prop-types.d.ts +6 -6
- package/lib/molecule/answer/prop-types.js +3 -3
- package/lib/molecule/answer/prop-types.js.map +1 -1
- package/lib/molecule/audio/index.js.map +1 -1
- package/lib/molecule/banner/index.js.map +1 -1
- package/lib/molecule/battle-request/index.js.map +1 -1
- package/lib/molecule/brand-card/description.js.map +1 -1
- package/lib/molecule/brand-card/index.js.map +1 -1
- package/lib/molecule/brand-card-create/index.js.map +1 -1
- package/lib/molecule/brand-create-form/index.d.ts +2 -2
- package/lib/molecule/brand-create-form/index.js +2 -2
- package/lib/molecule/brand-create-form/index.js.map +1 -1
- package/lib/molecule/brand-download-box/index.js.map +1 -1
- package/lib/molecule/brand-form-group/index.d.ts +9 -9
- package/lib/molecule/brand-form-group/index.js +20 -20
- package/lib/molecule/brand-form-group/index.js.map +1 -1
- package/lib/molecule/brand-logo/index.native.d.ts +0 -1
- package/lib/molecule/brand-logo/index.native.d.ts.map +1 -1
- package/lib/molecule/brand-logo/index.native.js +2 -2
- package/lib/molecule/brand-logo/index.native.js.map +1 -1
- package/lib/molecule/brand-tabs/index.js.map +1 -1
- package/lib/molecule/brand-upload-box/index.js.map +1 -1
- package/lib/molecule/breadcrumbs/index.js.map +1 -1
- package/lib/molecule/bullet-point-menu-button/index.js +2 -2
- package/lib/molecule/bullet-point-menu-button/index.js.map +1 -1
- package/lib/molecule/card/customer.js.map +1 -1
- package/lib/molecule/card/favorite.js.map +1 -1
- package/lib/molecule/card/index.js +4 -4
- package/lib/molecule/card/index.js.map +1 -1
- package/lib/molecule/card/notification.js.map +1 -1
- package/lib/molecule/card/selectable.js.map +1 -1
- package/lib/molecule/card-content/index.js.map +1 -1
- package/lib/molecule/card-with-button/index.d.ts +1 -1
- package/lib/molecule/card-with-button/index.js.map +1 -1
- package/lib/molecule/cm-popin/index.js.map +1 -1
- package/lib/molecule/cm-popin/types.js.map +1 -1
- package/lib/molecule/cookie-banner/index.js.map +1 -1
- package/lib/molecule/coorp-manager-roles/index.js +2 -2
- package/lib/molecule/coorp-manager-roles/index.js.map +1 -1
- package/lib/molecule/course-section/index.js.map +1 -1
- package/lib/molecule/course-sections/index.js +2 -2
- package/lib/molecule/course-sections/index.js.map +1 -1
- package/lib/molecule/dashboard/battle-request-list/index.js +1 -1
- package/lib/molecule/dashboard/battle-request-list/index.js.map +1 -1
- package/lib/molecule/dashboard/cards-list/index.js +1 -1
- package/lib/molecule/dashboard/cards-list/index.js.map +1 -1
- package/lib/molecule/dashboard/news-list/index.js +1 -1
- package/lib/molecule/dashboard/news-list/index.js.map +1 -1
- package/lib/molecule/dashboard/review-banner/index.js +3 -3
- package/lib/molecule/dashboard/review-banner/index.js.map +1 -1
- package/lib/molecule/dashboard/start-battle/index.js +1 -1
- package/lib/molecule/dashboard/start-battle/index.js.map +1 -1
- package/lib/molecule/discipline-cta/index.js.map +1 -1
- package/lib/molecule/discipline-header/index.js.map +1 -1
- package/lib/molecule/discipline-partners/index.js.map +1 -1
- package/lib/molecule/discipline-scope/index.js.map +1 -1
- package/lib/molecule/drag-and-drop/index.js +4 -4
- package/lib/molecule/drag-and-drop/index.js.map +1 -1
- package/lib/molecule/drag-and-drop/overlay.js.map +1 -1
- package/lib/molecule/drag-and-drop/placeholder.js.map +1 -1
- package/lib/molecule/drag-and-drop/upload-report.js +4 -4
- package/lib/molecule/drag-and-drop/upload-report.js.map +1 -1
- package/lib/molecule/drag-and-drop-wrapper/index.js.map +1 -1
- package/lib/molecule/draggable/index.js +2 -2
- package/lib/molecule/draggable/index.js.map +1 -1
- package/lib/molecule/draggable-list/index.js +3 -3
- package/lib/molecule/draggable-list/index.js.map +1 -1
- package/lib/molecule/external-content-button/index.js.map +1 -1
- package/lib/molecule/external-content-viewer/index.js.map +1 -1
- package/lib/molecule/feedback/index.js +4 -4
- package/lib/molecule/feedback/index.js.map +1 -1
- package/lib/molecule/filters/filters-wrapper.js +1 -1
- package/lib/molecule/filters/filters-wrapper.js.map +1 -1
- package/lib/molecule/filters/index.d.ts +1 -1
- package/lib/molecule/filters/index.js.map +1 -1
- package/lib/molecule/forum/forum-comment/index.js.map +1 -1
- package/lib/molecule/forum/forum-post/index.js.map +1 -1
- package/lib/molecule/forum/forum-thread/index.js +1 -1
- package/lib/molecule/forum/forum-thread/index.js.map +1 -1
- package/lib/molecule/forum/post-conditions.js.map +1 -1
- package/lib/molecule/go1-banner/index.js.map +1 -1
- package/lib/molecule/hero/index.js +2 -2
- package/lib/molecule/hero/index.js.map +1 -1
- package/lib/molecule/input-text-with-titled-checkbox/index.js.map +1 -1
- package/lib/molecule/list-badges/index.js.map +1 -1
- package/lib/molecule/login-alert/index.js.map +1 -1
- package/lib/molecule/menu-list/index.js.map +1 -1
- package/lib/molecule/message-popin/index.js.map +1 -1
- package/lib/molecule/modal/index.js.map +1 -1
- package/lib/molecule/module-bubble/index.js.map +1 -1
- package/lib/molecule/module-card/index.js +1 -1
- package/lib/molecule/module-card/index.js.map +1 -1
- package/lib/molecule/news/index.js +1 -1
- package/lib/molecule/news/index.js.map +1 -1
- package/lib/molecule/notification-banner/index.js.map +1 -1
- package/lib/molecule/pagination/index.js.map +1 -1
- package/lib/molecule/payment-form/index.js.map +1 -1
- package/lib/molecule/pdf/index.js.map +1 -1
- package/lib/molecule/popin/index.js +4 -4
- package/lib/molecule/popin/index.js.map +1 -1
- package/lib/molecule/product-card/index.js.map +1 -1
- package/lib/molecule/progress-bar/index.d.ts +1 -1
- package/lib/molecule/progress-bar/index.js +2 -2
- package/lib/molecule/progress-bar/index.js.map +1 -1
- package/lib/molecule/questions/drop-down/index.d.ts +1 -1
- package/lib/molecule/questions/drop-down/index.js +2 -2
- package/lib/molecule/questions/drop-down/index.js.map +1 -1
- package/lib/molecule/questions/free-text/index.js +5 -5
- package/lib/molecule/questions/free-text/index.js.map +1 -1
- package/lib/molecule/questions/free-text/index.native.d.ts +0 -1
- package/lib/molecule/questions/free-text/index.native.d.ts.map +1 -1
- package/lib/molecule/questions/free-text/index.native.js +5 -5
- package/lib/molecule/questions/free-text/index.native.js.map +1 -1
- package/lib/molecule/questions/mobile/draggable/index.native.d.ts +0 -1
- package/lib/molecule/questions/mobile/draggable/index.native.d.ts.map +1 -1
- package/lib/molecule/questions/mobile/draggable/index.native.js +2 -2
- package/lib/molecule/questions/mobile/draggable/index.native.js.map +1 -1
- package/lib/molecule/questions/mobile/slider/index.native.d.ts +0 -1
- package/lib/molecule/questions/mobile/slider/index.native.d.ts.map +1 -1
- package/lib/molecule/questions/mobile/slider/index.native.js +4 -4
- package/lib/molecule/questions/mobile/slider/index.native.js.map +1 -1
- package/lib/molecule/questions/mobile/switch/index.native.d.ts +0 -1
- package/lib/molecule/questions/mobile/switch/index.native.d.ts.map +1 -1
- package/lib/molecule/questions/mobile/switch/index.native.js +2 -2
- package/lib/molecule/questions/mobile/switch/index.native.js.map +1 -1
- package/lib/molecule/questions/mobile/template/index.native.d.ts +0 -1
- package/lib/molecule/questions/mobile/template/index.native.d.ts.map +1 -1
- package/lib/molecule/questions/mobile/template/index.native.js +5 -5
- package/lib/molecule/questions/mobile/template/index.native.js.map +1 -1
- package/lib/molecule/questions/qcm/index.js +3 -3
- package/lib/molecule/questions/qcm/index.js.map +1 -1
- package/lib/molecule/questions/qcm-drag/index.js +2 -2
- package/lib/molecule/questions/qcm-drag/index.js.map +1 -1
- package/lib/molecule/questions/qcm-graphic/index.js +3 -3
- package/lib/molecule/questions/qcm-graphic/index.js.map +1 -1
- package/lib/molecule/questions/question-range/index.d.ts +1 -1
- package/lib/molecule/questions/question-range/index.js +5 -7
- package/lib/molecule/questions/question-range/index.js.map +1 -1
- package/lib/molecule/questions/template/index.d.ts +3 -12
- package/lib/molecule/questions/template/index.js +3 -5
- package/lib/molecule/questions/template/index.js.map +1 -1
- package/lib/molecule/questions/types.js.map +1 -1
- package/lib/molecule/quick-access-card/index.js.map +1 -1
- package/lib/molecule/quick-access-cards-group/index.js.map +1 -1
- package/lib/molecule/resource-player/index.d.ts +2 -2
- package/lib/molecule/resource-player/index.js +3 -5
- package/lib/molecule/resource-player/index.js.map +1 -1
- package/lib/molecule/review-card-congrats/index.js +4 -4
- package/lib/molecule/review-card-congrats/index.js.map +1 -1
- package/lib/molecule/review-card-congrats/prop-types.js.map +1 -1
- package/lib/molecule/review-correction-popin/index.js +3 -3
- package/lib/molecule/review-correction-popin/index.js.map +1 -1
- package/lib/molecule/review-correction-popin/prop-types.js.map +1 -1
- package/lib/molecule/review-header-steps/index.js +1 -1
- package/lib/molecule/review-header-steps/index.js.map +1 -1
- package/lib/molecule/review-header-steps/prop-types.js.map +1 -1
- package/lib/molecule/scope-content/index.js +1 -1
- package/lib/molecule/scope-content/index.js.map +1 -1
- package/lib/molecule/scope-tabs/index.js +3 -3
- package/lib/molecule/scope-tabs/index.js.map +1 -1
- package/lib/molecule/search-form/index.js +3 -3
- package/lib/molecule/search-form/index.js.map +1 -1
- package/lib/molecule/select-multiple/index.d.ts +2 -2
- package/lib/molecule/select-multiple/index.js +7 -7
- package/lib/molecule/select-multiple/index.js.map +1 -1
- package/lib/molecule/setup-cohort-item/index.js +1 -1
- package/lib/molecule/setup-cohort-item/index.js.map +1 -1
- package/lib/molecule/setup-section/index.js +2 -2
- package/lib/molecule/setup-section/index.js.map +1 -1
- package/lib/molecule/setup-sections/index.js.map +1 -1
- package/lib/molecule/setup-slide/index.d.ts +3 -3
- package/lib/molecule/setup-slide/index.js +9 -9
- package/lib/molecule/setup-slide/index.js.map +1 -1
- package/lib/molecule/setup-slider/index.d.ts +3 -3
- package/lib/molecule/setup-slider/index.js +1 -1
- package/lib/molecule/setup-slider/index.js.map +1 -1
- package/lib/molecule/share/index.js +4 -4
- package/lib/molecule/share/index.js.map +1 -1
- package/lib/molecule/skill-card/index.js +2 -2
- package/lib/molecule/skill-card/index.js.map +1 -1
- package/lib/molecule/skill-card/prop-types.js.map +1 -1
- package/lib/molecule/ssmenu-list/index.js.map +1 -1
- package/lib/molecule/subscription-freemium/index.js.map +1 -1
- package/lib/molecule/subscription-premium/index.js.map +1 -1
- package/lib/molecule/table/index.d.ts +2 -2
- package/lib/molecule/table/index.js.map +1 -1
- package/lib/molecule/teams-popin/index.js.map +1 -1
- package/lib/molecule/theme-image/index.js.map +1 -1
- package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +2 -2
- package/lib/molecule/title-and-checkbox-wrapper/index.js +3 -3
- package/lib/molecule/title-and-checkbox-wrapper/index.js.map +1 -1
- package/lib/molecule/titled-checkbox/index.d.ts +2 -2
- package/lib/molecule/titled-checkbox/index.js +2 -2
- package/lib/molecule/titled-checkbox/index.js.map +1 -1
- package/lib/molecule/unsubscribe/index.js.map +1 -1
- package/lib/molecule/vertical-tabs/index.js.map +1 -1
- package/lib/molecule/video-iframe/index.d.ts.map +1 -1
- package/lib/molecule/video-iframe/index.js +2 -2
- package/lib/molecule/video-iframe/index.js.map +1 -1
- package/lib/molecule/video-player/index.js +2 -4
- package/lib/molecule/video-player/index.js.map +1 -1
- package/lib/molecule/video-player/jwplayer-prop-types.js.map +1 -1
- package/lib/molecule/video-player/jwplayer.js +3 -3
- package/lib/molecule/video-player/jwplayer.js.map +1 -1
- package/lib/molecule/video-player/prop-types.js.map +1 -1
- package/lib/molecule/video-player/vimeo.d.ts +3 -3
- package/lib/molecule/video-player/vimeo.js +2 -2
- package/lib/molecule/video-player/vimeo.js.map +1 -1
- package/lib/molecule/wizard-summary/index.d.ts +2 -2
- package/lib/molecule/wizard-summary/index.js +2 -2
- package/lib/molecule/wizard-summary/index.js.map +1 -1
- package/lib/organism/accordion/container/index.js +3 -3
- package/lib/organism/accordion/container/index.js.map +1 -1
- package/lib/organism/accordion/coorp-manager/index.js +4 -4
- package/lib/organism/accordion/coorp-manager/index.js.map +1 -1
- package/lib/organism/accordion/coorp-manager/part/index.js +1 -1
- package/lib/organism/accordion/coorp-manager/part/index.js.map +1 -1
- package/lib/organism/accordion/part/index.js.map +1 -1
- package/lib/organism/accordion/toggler/index.js +2 -2
- package/lib/organism/accordion/toggler/index.js.map +1 -1
- package/lib/organism/brand-analytics/analytics-popin.js.map +1 -1
- package/lib/organism/brand-analytics/index.d.ts +3 -3
- package/lib/organism/brand-analytics/index.js.map +1 -1
- package/lib/organism/brand-dashboard/index.js +1 -1
- package/lib/organism/brand-dashboard/index.js.map +1 -1
- package/lib/organism/brand-form/index.d.ts +9 -9
- package/lib/organism/brand-form/index.js +2 -2
- package/lib/organism/brand-form/index.js.map +1 -1
- package/lib/organism/brand-table/index.d.ts +2 -2
- package/lib/organism/brand-table/index.js.map +1 -1
- package/lib/organism/brand-upload/index.d.ts +2 -2
- package/lib/organism/brand-upload/index.js +1 -1
- package/lib/organism/brand-upload/index.js.map +1 -1
- package/lib/organism/cards-grid/index.js.map +1 -1
- package/lib/organism/cart/index.js.map +1 -1
- package/lib/organism/content-translation/index.js +3 -3
- package/lib/organism/content-translation/index.js.map +1 -1
- package/lib/organism/course-selection/index.js +1 -1
- package/lib/organism/course-selection/index.js.map +1 -1
- package/lib/organism/discussion/index.js +1 -1
- package/lib/organism/discussion/index.js.map +1 -1
- package/lib/organism/get-the-app/index.js +3 -3
- package/lib/organism/get-the-app/index.js.map +1 -1
- package/lib/organism/grid-list/index.js.map +1 -1
- package/lib/organism/header/index.d.ts +2 -2
- package/lib/organism/header/index.js.map +1 -1
- package/lib/organism/header-v2/index.native.d.ts +0 -1
- package/lib/organism/header-v2/index.native.d.ts.map +1 -1
- package/lib/organism/header-v2/index.native.js +2 -2
- package/lib/organism/header-v2/index.native.js.map +1 -1
- package/lib/organism/hero/index.js.map +1 -1
- package/lib/organism/list-item/index.js.map +1 -1
- package/lib/organism/list-items/index.js.map +1 -1
- package/lib/organism/mobile-navigation/index.native.js +2 -2
- package/lib/organism/mobile-navigation/index.native.js.map +1 -1
- package/lib/organism/mooc/image-slider/index.js +1 -1
- package/lib/organism/mooc/image-slider/index.js.map +1 -1
- package/lib/organism/mooc-footer/index.js.map +1 -1
- package/lib/organism/mooc-header/index.js +1 -1
- package/lib/organism/mooc-header/index.js.map +1 -1
- package/lib/organism/podcast-popin-intro/index.native.d.ts +0 -1
- package/lib/organism/podcast-popin-intro/index.native.d.ts.map +1 -1
- package/lib/organism/podcast-popin-intro/index.native.js +2 -2
- package/lib/organism/podcast-popin-intro/index.native.js.map +1 -1
- package/lib/organism/popin/index.js.map +1 -1
- package/lib/organism/resource-browser/index.js +1 -1
- package/lib/organism/resource-browser/index.js.map +1 -1
- package/lib/organism/review-congrats/index.js +4 -4
- package/lib/organism/review-congrats/index.js.map +1 -1
- package/lib/organism/review-congrats/prop-types.js.map +1 -1
- package/lib/organism/review-header/index.js.map +1 -1
- package/lib/organism/review-header/index.native.d.ts +0 -1
- package/lib/organism/review-header/index.native.d.ts.map +1 -1
- package/lib/organism/review-header/index.native.js +1 -1
- package/lib/organism/review-header/index.native.js.map +1 -1
- package/lib/organism/review-header/types.js.map +1 -1
- package/lib/organism/review-skills/index.js +2 -2
- package/lib/organism/review-skills/index.js.map +1 -1
- package/lib/organism/review-skills/prop-types.js +3 -3
- package/lib/organism/review-skills/prop-types.js.map +1 -1
- package/lib/organism/review-slide/index.js +3 -3
- package/lib/organism/review-slide/index.js.map +1 -1
- package/lib/organism/review-slide/index.native.d.ts +0 -1
- package/lib/organism/review-slide/index.native.d.ts.map +1 -1
- package/lib/organism/review-slide/index.native.js +2 -2
- package/lib/organism/review-slide/index.native.js.map +1 -1
- package/lib/organism/review-slide/prop-types.d.ts +8 -8
- package/lib/organism/review-slide/prop-types.js.map +1 -1
- package/lib/organism/review-stacked-slides/index.js +6 -3
- package/lib/organism/review-stacked-slides/index.js.map +1 -1
- package/lib/organism/review-stacked-slides/index.native.d.ts +0 -1
- package/lib/organism/review-stacked-slides/index.native.d.ts.map +1 -1
- package/lib/organism/review-stacked-slides/index.native.js +6 -3
- package/lib/organism/review-stacked-slides/index.native.js.map +1 -1
- package/lib/organism/review-stacked-slides/prop-types.d.ts +22 -22
- package/lib/organism/review-stacked-slides/prop-types.js +2 -2
- package/lib/organism/review-stacked-slides/prop-types.js.map +1 -1
- package/lib/organism/rewards-form/index.d.ts +2 -2
- package/lib/organism/rewards-form/index.js +1 -3
- package/lib/organism/rewards-form/index.js.map +1 -1
- package/lib/organism/search-and-chips-results/index.js +1 -1
- package/lib/organism/search-and-chips-results/index.js.map +1 -1
- package/lib/organism/settings/index.js +3 -5
- package/lib/organism/settings/index.js.map +1 -1
- package/lib/organism/setup-header/index.js.map +1 -1
- package/lib/organism/sidebar/index.d.ts +5 -29
- package/lib/organism/sidebar/index.js +14 -16
- package/lib/organism/sidebar/index.js.map +1 -1
- package/lib/organism/slider/index.d.ts +1 -1
- package/lib/organism/slider/index.d.ts.map +1 -1
- package/lib/organism/slider/index.js.map +1 -1
- package/lib/organism/user-preferences/index.js +3 -5
- package/lib/organism/user-preferences/index.js.map +1 -1
- package/lib/organism/wizard-contents/index.d.ts +19 -19
- package/lib/organism/wizard-contents/index.js +8 -8
- package/lib/organism/wizard-contents/index.js.map +1 -1
- package/lib/template/activity/engine-stars.js.map +1 -1
- package/lib/template/activity/index.d.ts +3 -3
- package/lib/template/activity/index.js +2 -2
- package/lib/template/activity/index.js.map +1 -1
- package/lib/template/activity/progression-item.js +2 -2
- package/lib/template/activity/progression-item.js.map +1 -1
- package/lib/template/activity/stars-summary.d.ts +2 -2
- package/lib/template/activity/stars-summary.js +1 -1
- package/lib/template/activity/stars-summary.js.map +1 -1
- package/lib/template/app-player/loading/index.js.map +1 -1
- package/lib/template/app-player/player/index.js +1 -1
- package/lib/template/app-player/player/index.js.map +1 -1
- package/lib/template/app-player/player/slides/footer/index.js +2 -2
- package/lib/template/app-player/player/slides/footer/index.js.map +1 -1
- package/lib/template/app-player/player/slides/header/index.js.map +1 -1
- package/lib/template/app-player/player/slides/header/learner.d.ts +4 -4
- package/lib/template/app-player/player/slides/header/learner.js +1 -1
- package/lib/template/app-player/player/slides/header/learner.js.map +1 -1
- package/lib/template/app-player/player/slides/header/lives.js.map +1 -1
- package/lib/template/app-player/player/slides/header/microlearning.js.map +1 -1
- package/lib/template/app-player/player/slides/index.d.ts +6 -6
- package/lib/template/app-player/player/slides/index.js +12 -16
- package/lib/template/app-player/player/slides/index.js.map +1 -1
- package/lib/template/app-player/popin-correction/index.js +5 -7
- package/lib/template/app-player/popin-correction/index.js.map +1 -1
- package/lib/template/app-player/popin-end/index.js +1 -1
- package/lib/template/app-player/popin-end/index.js.map +1 -1
- package/lib/template/app-player/popin-end/summary.js +12 -16
- package/lib/template/app-player/popin-end/summary.js.map +1 -1
- package/lib/template/app-player/popin-header/index.js +6 -8
- package/lib/template/app-player/popin-header/index.js.map +1 -1
- package/lib/template/app-player/popin-no-access/index.js.map +1 -1
- package/lib/template/app-review/demo-ts/index.js.map +1 -1
- package/lib/template/app-review/demo-ts/index.native.d.ts +0 -1
- package/lib/template/app-review/demo-ts/index.native.d.ts.map +1 -1
- package/lib/template/app-review/demo-ts/index.native.js.map +1 -1
- package/lib/template/app-review/demo-ts/typings.js.map +1 -1
- package/lib/template/app-review/index.d.ts +22 -23
- package/lib/template/app-review/index.d.ts.map +1 -1
- package/lib/template/app-review/index.js +1 -1
- package/lib/template/app-review/index.js.map +1 -1
- package/lib/template/app-review/index.native.d.ts +0 -1
- package/lib/template/app-review/index.native.d.ts.map +1 -1
- package/lib/template/app-review/index.native.js +2 -2
- package/lib/template/app-review/index.native.js.map +1 -1
- package/lib/template/app-review/onboarding/index.js.map +1 -1
- package/lib/template/app-review/onboarding/index.native.js.map +1 -1
- package/lib/template/app-review/player/index.js.map +1 -1
- package/lib/template/app-review/player/index.native.d.ts +0 -1
- package/lib/template/app-review/player/index.native.d.ts.map +1 -1
- package/lib/template/app-review/player/index.native.js +2 -2
- package/lib/template/app-review/player/index.native.js.map +1 -1
- package/lib/template/app-review/player/prop-types.d.ts +22 -22
- package/lib/template/app-review/player/prop-types.js +1 -1
- package/lib/template/app-review/player/prop-types.js.map +1 -1
- package/lib/template/app-review/prop-types.d.ts +22 -22
- package/lib/template/app-review/prop-types.js +1 -1
- package/lib/template/app-review/prop-types.js.map +1 -1
- package/lib/template/app-review/skills/index.js.map +1 -1
- package/lib/template/app-review/skills/index.native.d.ts +0 -1
- package/lib/template/app-review/skills/index.native.d.ts.map +1 -1
- package/lib/template/app-review/skills/index.native.js +2 -2
- package/lib/template/app-review/skills/index.native.js.map +1 -1
- package/lib/template/app-review/skills/prop-types.js +1 -1
- package/lib/template/app-review/skills/prop-types.js.map +1 -1
- package/lib/template/app-review/skills/stories.js.map +1 -1
- package/lib/template/app-review/template-context.js +3 -3
- package/lib/template/app-review/template-context.js.map +1 -1
- package/lib/template/back-office/brand-create/index.js.map +1 -1
- package/lib/template/back-office/brand-list/index.js +2 -4
- package/lib/template/back-office/brand-list/index.js.map +1 -1
- package/lib/template/back-office/brand-update/index.d.ts +39 -39
- package/lib/template/back-office/brand-update/index.js +9 -9
- package/lib/template/back-office/brand-update/index.js.map +1 -1
- package/lib/template/back-office/dashboard-preview/dashboard-popin.js.map +1 -1
- package/lib/template/back-office/dashboard-preview/index.js.map +1 -1
- package/lib/template/back-office/layout/index.js.map +1 -1
- package/lib/template/battle-requests/index.d.ts +2 -2
- package/lib/template/battle-requests/index.js.map +1 -1
- package/lib/template/cockpit/jw-uploader/index.js +2 -2
- package/lib/template/cockpit/jw-uploader/index.js.map +1 -1
- package/lib/template/common/authors/index.js.map +1 -1
- package/lib/template/common/coorp-header/content.js.map +1 -1
- package/lib/template/common/coorp-header/index.js.map +1 -1
- package/lib/template/common/dashboard/index.d.ts +1 -1
- package/lib/template/common/dashboard/index.js +1 -1
- package/lib/template/common/dashboard/index.js.map +1 -1
- package/lib/template/common/discipline/index.js +2 -2
- package/lib/template/common/discipline/index.js.map +1 -1
- package/lib/template/common/search-page/index.d.ts +1 -1
- package/lib/template/common/search-page/index.js +1 -1
- package/lib/template/common/search-page/index.js.map +1 -1
- package/lib/template/external-course/index.d.ts.map +1 -1
- package/lib/template/external-course/index.js.map +1 -1
- package/lib/template/review-dashboard-skills/index.js.map +1 -1
- package/lib/template/teams-dashboard/index.js +3 -3
- package/lib/template/teams-dashboard/index.js.map +1 -1
- package/lib/util/bubbling.js.map +1 -1
- package/lib/util/build-query-string.js.map +1 -1
- package/lib/util/button-icons.js.map +1 -1
- package/lib/util/closest-step.js.map +1 -1
- package/lib/util/constants.js.map +1 -1
- package/lib/util/external-content.js +1 -1
- package/lib/util/external-content.js.map +1 -1
- package/lib/util/get-class-state.js.map +1 -1
- package/lib/util/get-clean-uri.js.map +1 -1
- package/lib/util/get-resized-image.js +3 -3
- package/lib/util/get-resized-image.js.map +1 -1
- package/lib/util/get-shadow-box-color-from-primary.js.map +1 -1
- package/lib/util/image.js.map +1 -1
- package/lib/util/navigation.js.map +1 -1
- package/lib/util/parse-template-string.js.map +1 -1
- package/lib/util/proptypes.js +1 -1
- package/lib/util/proptypes.js.map +1 -1
- package/lib/util/render-with-context.js +4 -7
- package/lib/util/render-with-context.js.map +1 -1
- package/lib/util/shallow-compare.js.map +1 -1
- package/lib/variables/analytics.js.map +1 -1
- package/lib/variables/brand.native.js.map +1 -1
- package/lib/variables/colors.js.map +1 -1
- package/lib/variables/default-mobile-translations.js.map +1 -1
- package/lib/variables/shadow.js.map +1 -1
- package/lib/variables/theme.native.js.map +1 -1
- package/lib/variables/vibration.js.map +1 -1
- package/package.json +3 -3
|
@@ -39,7 +39,7 @@ declare const propTypes: {
|
|
|
39
39
|
resultLabel: PropTypes.Requireable<string>;
|
|
40
40
|
type: PropTypes.Requireable<string>;
|
|
41
41
|
}>>;
|
|
42
|
-
slides: PropTypes.Validator<
|
|
42
|
+
slides: PropTypes.Validator<PropTypes.InferProps<{
|
|
43
43
|
'0': PropTypes.Requireable<PropTypes.InferProps<{
|
|
44
44
|
position: PropTypes.Requireable<number>;
|
|
45
45
|
loading: PropTypes.Requireable<boolean>;
|
|
@@ -51,7 +51,7 @@ declare const propTypes: {
|
|
|
51
51
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
52
52
|
questionText: PropTypes.Requireable<string>;
|
|
53
53
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
54
|
-
model: PropTypes.Validator<
|
|
54
|
+
model: PropTypes.Validator<PropTypes.InferProps<{
|
|
55
55
|
type: PropTypes.Validator<string>;
|
|
56
56
|
answer: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
57
57
|
title: PropTypes.Validator<string>;
|
|
@@ -69,9 +69,9 @@ declare const propTypes: {
|
|
|
69
69
|
type: PropTypes.Requireable<string>;
|
|
70
70
|
name: PropTypes.Requireable<string>;
|
|
71
71
|
}> | null | undefined)[]>;
|
|
72
|
-
}
|
|
72
|
+
}>>;
|
|
73
73
|
help: PropTypes.Requireable<string>;
|
|
74
|
-
media: PropTypes.Requireable<
|
|
74
|
+
media: PropTypes.Requireable<PropTypes.InferProps<{
|
|
75
75
|
type: PropTypes.Validator<string>;
|
|
76
76
|
id: PropTypes.Requireable<string>;
|
|
77
77
|
width: PropTypes.Requireable<string>;
|
|
@@ -111,7 +111,7 @@ declare const propTypes: {
|
|
|
111
111
|
}> | PropTypes.InferProps<{
|
|
112
112
|
type: PropTypes.Validator<string>;
|
|
113
113
|
mediaUrl: PropTypes.Validator<string>;
|
|
114
|
-
}
|
|
114
|
+
}>>;
|
|
115
115
|
}>>;
|
|
116
116
|
}>>;
|
|
117
117
|
'1': PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -125,7 +125,7 @@ declare const propTypes: {
|
|
|
125
125
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
126
126
|
questionText: PropTypes.Requireable<string>;
|
|
127
127
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
128
|
-
model: PropTypes.Validator<
|
|
128
|
+
model: PropTypes.Validator<PropTypes.InferProps<{
|
|
129
129
|
type: PropTypes.Validator<string>;
|
|
130
130
|
answer: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
131
131
|
title: PropTypes.Validator<string>;
|
|
@@ -143,9 +143,9 @@ declare const propTypes: {
|
|
|
143
143
|
type: PropTypes.Requireable<string>;
|
|
144
144
|
name: PropTypes.Requireable<string>;
|
|
145
145
|
}> | null | undefined)[]>;
|
|
146
|
-
}
|
|
146
|
+
}>>;
|
|
147
147
|
help: PropTypes.Requireable<string>;
|
|
148
|
-
media: PropTypes.Requireable<
|
|
148
|
+
media: PropTypes.Requireable<PropTypes.InferProps<{
|
|
149
149
|
type: PropTypes.Validator<string>;
|
|
150
150
|
id: PropTypes.Requireable<string>;
|
|
151
151
|
width: PropTypes.Requireable<string>;
|
|
@@ -185,7 +185,7 @@ declare const propTypes: {
|
|
|
185
185
|
}> | PropTypes.InferProps<{
|
|
186
186
|
type: PropTypes.Validator<string>;
|
|
187
187
|
mediaUrl: PropTypes.Validator<string>;
|
|
188
|
-
}
|
|
188
|
+
}>>;
|
|
189
189
|
}>>;
|
|
190
190
|
}>>;
|
|
191
191
|
'2': PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -199,7 +199,7 @@ declare const propTypes: {
|
|
|
199
199
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
200
200
|
questionText: PropTypes.Requireable<string>;
|
|
201
201
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
202
|
-
model: PropTypes.Validator<
|
|
202
|
+
model: PropTypes.Validator<PropTypes.InferProps<{
|
|
203
203
|
type: PropTypes.Validator<string>;
|
|
204
204
|
answer: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
205
205
|
title: PropTypes.Validator<string>;
|
|
@@ -217,9 +217,9 @@ declare const propTypes: {
|
|
|
217
217
|
type: PropTypes.Requireable<string>;
|
|
218
218
|
name: PropTypes.Requireable<string>;
|
|
219
219
|
}> | null | undefined)[]>;
|
|
220
|
-
}
|
|
220
|
+
}>>;
|
|
221
221
|
help: PropTypes.Requireable<string>;
|
|
222
|
-
media: PropTypes.Requireable<
|
|
222
|
+
media: PropTypes.Requireable<PropTypes.InferProps<{
|
|
223
223
|
type: PropTypes.Validator<string>;
|
|
224
224
|
id: PropTypes.Requireable<string>;
|
|
225
225
|
width: PropTypes.Requireable<string>;
|
|
@@ -259,7 +259,7 @@ declare const propTypes: {
|
|
|
259
259
|
}> | PropTypes.InferProps<{
|
|
260
260
|
type: PropTypes.Validator<string>;
|
|
261
261
|
mediaUrl: PropTypes.Validator<string>;
|
|
262
|
-
}
|
|
262
|
+
}>>;
|
|
263
263
|
}>>;
|
|
264
264
|
}>>;
|
|
265
265
|
'3': PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -273,7 +273,7 @@ declare const propTypes: {
|
|
|
273
273
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
274
274
|
questionText: PropTypes.Requireable<string>;
|
|
275
275
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
276
|
-
model: PropTypes.Validator<
|
|
276
|
+
model: PropTypes.Validator<PropTypes.InferProps<{
|
|
277
277
|
type: PropTypes.Validator<string>;
|
|
278
278
|
answer: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
279
279
|
title: PropTypes.Validator<string>;
|
|
@@ -291,9 +291,9 @@ declare const propTypes: {
|
|
|
291
291
|
type: PropTypes.Requireable<string>;
|
|
292
292
|
name: PropTypes.Requireable<string>;
|
|
293
293
|
}> | null | undefined)[]>;
|
|
294
|
-
}
|
|
294
|
+
}>>;
|
|
295
295
|
help: PropTypes.Requireable<string>;
|
|
296
|
-
media: PropTypes.Requireable<
|
|
296
|
+
media: PropTypes.Requireable<PropTypes.InferProps<{
|
|
297
297
|
type: PropTypes.Validator<string>;
|
|
298
298
|
id: PropTypes.Requireable<string>;
|
|
299
299
|
width: PropTypes.Requireable<string>;
|
|
@@ -333,7 +333,7 @@ declare const propTypes: {
|
|
|
333
333
|
}> | PropTypes.InferProps<{
|
|
334
334
|
type: PropTypes.Validator<string>;
|
|
335
335
|
mediaUrl: PropTypes.Validator<string>;
|
|
336
|
-
}
|
|
336
|
+
}>>;
|
|
337
337
|
}>>;
|
|
338
338
|
}>>;
|
|
339
339
|
'4': PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -347,7 +347,7 @@ declare const propTypes: {
|
|
|
347
347
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
348
348
|
questionText: PropTypes.Requireable<string>;
|
|
349
349
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
350
|
-
model: PropTypes.Validator<
|
|
350
|
+
model: PropTypes.Validator<PropTypes.InferProps<{
|
|
351
351
|
type: PropTypes.Validator<string>;
|
|
352
352
|
answer: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
353
353
|
title: PropTypes.Validator<string>;
|
|
@@ -365,9 +365,9 @@ declare const propTypes: {
|
|
|
365
365
|
type: PropTypes.Requireable<string>;
|
|
366
366
|
name: PropTypes.Requireable<string>;
|
|
367
367
|
}> | null | undefined)[]>;
|
|
368
|
-
}
|
|
368
|
+
}>>;
|
|
369
369
|
help: PropTypes.Requireable<string>;
|
|
370
|
-
media: PropTypes.Requireable<
|
|
370
|
+
media: PropTypes.Requireable<PropTypes.InferProps<{
|
|
371
371
|
type: PropTypes.Validator<string>;
|
|
372
372
|
id: PropTypes.Requireable<string>;
|
|
373
373
|
width: PropTypes.Requireable<string>;
|
|
@@ -407,10 +407,10 @@ declare const propTypes: {
|
|
|
407
407
|
}> | PropTypes.InferProps<{
|
|
408
408
|
type: PropTypes.Validator<string>;
|
|
409
409
|
mediaUrl: PropTypes.Validator<string>;
|
|
410
|
-
}
|
|
410
|
+
}>>;
|
|
411
411
|
}>>;
|
|
412
412
|
}>>;
|
|
413
|
-
}
|
|
413
|
+
}>>;
|
|
414
414
|
endReview: PropTypes.Requireable<boolean>;
|
|
415
415
|
}>>;
|
|
416
416
|
reviewBackgroundAriaLabel: PropTypes.Requireable<string>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import ReviewCongratsPropTypes from '../../../organism/review-congrats/prop-types';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../../../../src/template/app-review/player/prop-types.ts"],"names":["PropTypes","ReviewCongratsPropTypes","ReviewBackgroundPropTypes","ReviewHeaderPropTypes","CmPopin","StackedSlidesPropTypes","propTypes","header","shape","stack","reviewBackgroundAriaLabel","congrats","quitPopin"],"mappings":";;AAAA,OAAOA,SAAP,MAAsB,YAAtB;AAGA,OAAOC,uBAAP,MAEO,8CAFP;AAIA,OAAOC,yBAAP,MAAsC,4CAAtC;AACA,OAAOC,qBAAP,MAAiD,uCAAjD;AACA,OAAOC,OAAP,MAAoB,4BAApB;AACA,OAAOC,sBAAP,MAEO,oDAFP;AAIA,MAAMC,SAAS,GAAG;AAChBC,EAAAA,MAAM,EAAEP,SAAS,CAACQ,KAAV,CAAgBL,qBAAhB,CADQ;AAEhBM,EAAAA,KAAK,EAAET,SAAS,CAACQ,KAAV,CAAgBH,sBAAhB,CAFS;AAGhBK,EAAAA,yBAAyB,EAAER,yBAAyB,CAAC,YAAD,CAHpC;AAIhBS,EAAAA,QAAQ,EAAEX,SAAS,CAACQ,KAAV,CAAgBP,uBAAhB,CAJM;AAKhBW,EAAAA,SAAS,EAAEZ,SAAS,CAACQ,KAAV,cAAoBJ,OAAO,CAACE,SAA5B;AALK,CAAlB;AAQA,eAAeA,SAAf","sourcesContent":["import PropTypes from 'prop-types';\n\nimport {CMPopinProps} from '../../../molecule/cm-popin/types';\nimport ReviewCongratsPropTypes, {\n ReviewCongratsProps\n} from '../../../organism/review-congrats/prop-types';\n\nimport ReviewBackgroundPropTypes from '../../../atom/review-background/prop-types';\nimport ReviewHeaderPropTypes, {HeaderProps} from '../../../organism/review-header/types';\nimport CmPopin from '../../../molecule/cm-popin';\nimport StackedSlidesPropTypes, {\n ReviewStackProps\n} from '../../../organism/review-stacked-slides/prop-types';\n\nconst propTypes = {\n header: PropTypes.shape(ReviewHeaderPropTypes),\n stack: PropTypes.shape(StackedSlidesPropTypes),\n reviewBackgroundAriaLabel: ReviewBackgroundPropTypes['aria-label'],\n congrats: PropTypes.shape(ReviewCongratsPropTypes),\n quitPopin: PropTypes.shape({...CmPopin.propTypes})\n};\n\nexport default propTypes;\n\nexport type ReviewPlayerProps = {\n header: HeaderProps;\n stack: ReviewStackProps;\n reviewBackgroundAriaLabel?: string;\n congrats?: ReviewCongratsProps;\n quitPopin?: CMPopinProps;\n};\n"],"file":"prop-types.js"}
|
|
@@ -91,7 +91,7 @@ declare const propTypes: {
|
|
|
91
91
|
resultLabel: PropTypes.Requireable<string>;
|
|
92
92
|
type: PropTypes.Requireable<string>;
|
|
93
93
|
}>>;
|
|
94
|
-
slides: PropTypes.Validator<
|
|
94
|
+
slides: PropTypes.Validator<PropTypes.InferProps<{
|
|
95
95
|
'0': PropTypes.Requireable<PropTypes.InferProps<{
|
|
96
96
|
position: PropTypes.Requireable<number>;
|
|
97
97
|
loading: PropTypes.Requireable<boolean>;
|
|
@@ -103,7 +103,7 @@ declare const propTypes: {
|
|
|
103
103
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
104
104
|
questionText: PropTypes.Requireable<string>;
|
|
105
105
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
106
|
-
model: PropTypes.Validator<
|
|
106
|
+
model: PropTypes.Validator<PropTypes.InferProps<{
|
|
107
107
|
type: PropTypes.Validator<string>;
|
|
108
108
|
answer: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
109
109
|
title: PropTypes.Validator<string>;
|
|
@@ -121,9 +121,9 @@ declare const propTypes: {
|
|
|
121
121
|
type: PropTypes.Requireable<string>;
|
|
122
122
|
name: PropTypes.Requireable<string>;
|
|
123
123
|
}> | null | undefined)[]>;
|
|
124
|
-
}
|
|
124
|
+
}>>;
|
|
125
125
|
help: PropTypes.Requireable<string>;
|
|
126
|
-
media: PropTypes.Requireable<
|
|
126
|
+
media: PropTypes.Requireable<PropTypes.InferProps<{
|
|
127
127
|
type: PropTypes.Validator<string>;
|
|
128
128
|
id: PropTypes.Requireable<string>;
|
|
129
129
|
width: PropTypes.Requireable<string>;
|
|
@@ -163,7 +163,7 @@ declare const propTypes: {
|
|
|
163
163
|
}> | PropTypes.InferProps<{
|
|
164
164
|
type: PropTypes.Validator<string>;
|
|
165
165
|
mediaUrl: PropTypes.Validator<string>;
|
|
166
|
-
}
|
|
166
|
+
}>>;
|
|
167
167
|
}>>;
|
|
168
168
|
}>>;
|
|
169
169
|
'1': PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -177,7 +177,7 @@ declare const propTypes: {
|
|
|
177
177
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
178
178
|
questionText: PropTypes.Requireable<string>;
|
|
179
179
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
180
|
-
model: PropTypes.Validator<
|
|
180
|
+
model: PropTypes.Validator<PropTypes.InferProps<{
|
|
181
181
|
type: PropTypes.Validator<string>;
|
|
182
182
|
answer: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
183
183
|
title: PropTypes.Validator<string>;
|
|
@@ -195,9 +195,9 @@ declare const propTypes: {
|
|
|
195
195
|
type: PropTypes.Requireable<string>;
|
|
196
196
|
name: PropTypes.Requireable<string>;
|
|
197
197
|
}> | null | undefined)[]>;
|
|
198
|
-
}
|
|
198
|
+
}>>;
|
|
199
199
|
help: PropTypes.Requireable<string>;
|
|
200
|
-
media: PropTypes.Requireable<
|
|
200
|
+
media: PropTypes.Requireable<PropTypes.InferProps<{
|
|
201
201
|
type: PropTypes.Validator<string>;
|
|
202
202
|
id: PropTypes.Requireable<string>;
|
|
203
203
|
width: PropTypes.Requireable<string>;
|
|
@@ -237,7 +237,7 @@ declare const propTypes: {
|
|
|
237
237
|
}> | PropTypes.InferProps<{
|
|
238
238
|
type: PropTypes.Validator<string>;
|
|
239
239
|
mediaUrl: PropTypes.Validator<string>;
|
|
240
|
-
}
|
|
240
|
+
}>>;
|
|
241
241
|
}>>;
|
|
242
242
|
}>>;
|
|
243
243
|
'2': PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -251,7 +251,7 @@ declare const propTypes: {
|
|
|
251
251
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
252
252
|
questionText: PropTypes.Requireable<string>;
|
|
253
253
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
254
|
-
model: PropTypes.Validator<
|
|
254
|
+
model: PropTypes.Validator<PropTypes.InferProps<{
|
|
255
255
|
type: PropTypes.Validator<string>;
|
|
256
256
|
answer: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
257
257
|
title: PropTypes.Validator<string>;
|
|
@@ -269,9 +269,9 @@ declare const propTypes: {
|
|
|
269
269
|
type: PropTypes.Requireable<string>;
|
|
270
270
|
name: PropTypes.Requireable<string>;
|
|
271
271
|
}> | null | undefined)[]>;
|
|
272
|
-
}
|
|
272
|
+
}>>;
|
|
273
273
|
help: PropTypes.Requireable<string>;
|
|
274
|
-
media: PropTypes.Requireable<
|
|
274
|
+
media: PropTypes.Requireable<PropTypes.InferProps<{
|
|
275
275
|
type: PropTypes.Validator<string>;
|
|
276
276
|
id: PropTypes.Requireable<string>;
|
|
277
277
|
width: PropTypes.Requireable<string>;
|
|
@@ -311,7 +311,7 @@ declare const propTypes: {
|
|
|
311
311
|
}> | PropTypes.InferProps<{
|
|
312
312
|
type: PropTypes.Validator<string>;
|
|
313
313
|
mediaUrl: PropTypes.Validator<string>;
|
|
314
|
-
}
|
|
314
|
+
}>>;
|
|
315
315
|
}>>;
|
|
316
316
|
}>>;
|
|
317
317
|
'3': PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -325,7 +325,7 @@ declare const propTypes: {
|
|
|
325
325
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
326
326
|
questionText: PropTypes.Requireable<string>;
|
|
327
327
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
328
|
-
model: PropTypes.Validator<
|
|
328
|
+
model: PropTypes.Validator<PropTypes.InferProps<{
|
|
329
329
|
type: PropTypes.Validator<string>;
|
|
330
330
|
answer: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
331
331
|
title: PropTypes.Validator<string>;
|
|
@@ -343,9 +343,9 @@ declare const propTypes: {
|
|
|
343
343
|
type: PropTypes.Requireable<string>;
|
|
344
344
|
name: PropTypes.Requireable<string>;
|
|
345
345
|
}> | null | undefined)[]>;
|
|
346
|
-
}
|
|
346
|
+
}>>;
|
|
347
347
|
help: PropTypes.Requireable<string>;
|
|
348
|
-
media: PropTypes.Requireable<
|
|
348
|
+
media: PropTypes.Requireable<PropTypes.InferProps<{
|
|
349
349
|
type: PropTypes.Validator<string>;
|
|
350
350
|
id: PropTypes.Requireable<string>;
|
|
351
351
|
width: PropTypes.Requireable<string>;
|
|
@@ -385,7 +385,7 @@ declare const propTypes: {
|
|
|
385
385
|
}> | PropTypes.InferProps<{
|
|
386
386
|
type: PropTypes.Validator<string>;
|
|
387
387
|
mediaUrl: PropTypes.Validator<string>;
|
|
388
|
-
}
|
|
388
|
+
}>>;
|
|
389
389
|
}>>;
|
|
390
390
|
}>>;
|
|
391
391
|
'4': PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -399,7 +399,7 @@ declare const propTypes: {
|
|
|
399
399
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
400
400
|
questionText: PropTypes.Requireable<string>;
|
|
401
401
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
402
|
-
model: PropTypes.Validator<
|
|
402
|
+
model: PropTypes.Validator<PropTypes.InferProps<{
|
|
403
403
|
type: PropTypes.Validator<string>;
|
|
404
404
|
answer: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
405
405
|
title: PropTypes.Validator<string>;
|
|
@@ -417,9 +417,9 @@ declare const propTypes: {
|
|
|
417
417
|
type: PropTypes.Requireable<string>;
|
|
418
418
|
name: PropTypes.Requireable<string>;
|
|
419
419
|
}> | null | undefined)[]>;
|
|
420
|
-
}
|
|
420
|
+
}>>;
|
|
421
421
|
help: PropTypes.Requireable<string>;
|
|
422
|
-
media: PropTypes.Requireable<
|
|
422
|
+
media: PropTypes.Requireable<PropTypes.InferProps<{
|
|
423
423
|
type: PropTypes.Validator<string>;
|
|
424
424
|
id: PropTypes.Requireable<string>;
|
|
425
425
|
width: PropTypes.Requireable<string>;
|
|
@@ -459,10 +459,10 @@ declare const propTypes: {
|
|
|
459
459
|
}> | PropTypes.InferProps<{
|
|
460
460
|
type: PropTypes.Validator<string>;
|
|
461
461
|
mediaUrl: PropTypes.Validator<string>;
|
|
462
|
-
}
|
|
462
|
+
}>>;
|
|
463
463
|
}>>;
|
|
464
464
|
}>>;
|
|
465
|
-
}
|
|
465
|
+
}>>;
|
|
466
466
|
endReview: PropTypes.Requireable<boolean>;
|
|
467
467
|
}>>;
|
|
468
468
|
reviewBackgroundAriaLabel: PropTypes.Requireable<string>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import Onboarding from './onboarding';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../../../src/template/app-review/prop-types.ts"],"names":["PropTypes","Onboarding","Skills","Player","propTypes","viewName","oneOf","onboarding","shape","skills","slides"],"mappings":";;AAAA,OAAOA,SAAP,MAAsB,YAAtB;AACA,OAAOC,UAAP,MAAuB,cAAvB;AACA,OAAOC,MAAP,MAAmB,UAAnB;AACA,OAAOC,MAAP,MAAmB,UAAnB;AAaA,MAAMC,SAAS,GAAG;AAChBC,EAAAA,QAAQ,EAAEL,SAAS,CAACM,KAAV,CAAgB,CAAC,QAAD,EAAW,YAAX,EAAyB,QAAzB,EAAmC,QAAnC,CAAhB,CADM;AAEhBC,EAAAA,UAAU,EAAEP,SAAS,CAACQ,KAAV,cAAoBP,UAAU,CAACG,SAA/B,EAFI;AAGhBK,EAAAA,MAAM,EAAET,SAAS,CAACQ,KAAV,cAAoBN,MAAM,CAACE,SAA3B,EAHQ;AAIhBM,EAAAA,MAAM,EAAEV,SAAS,CAACQ,KAAV,cAAoBL,MAAM,CAACC,SAA3B;AAJQ,CAAlB;AAOA,eAAeA,SAAf","sourcesContent":["import PropTypes from 'prop-types';\nimport Onboarding from './onboarding';\nimport Skills from './skills';\nimport Player from './player';\nimport {ReviewPlayerProps} from './player/prop-types';\n\nexport type ViewName = 'skills' | 'onboarding' | 'slides' | 'loader';\n\nexport type AppReviewProps = {\n viewName: ViewName;\n slides?: ReviewPlayerProps;\n skills?: PropTypes.InferProps<typeof Skills.propTypes>;\n onboarding?: PropTypes.InferProps<typeof Onboarding.propTypes>;\n navigateBack?: () => void;\n};\n\nconst propTypes = {\n viewName: PropTypes.oneOf(['skills', 'onboarding', 'slides', 'loader']),\n onboarding: PropTypes.shape({...Onboarding.propTypes}),\n skills: PropTypes.shape({...Skills.propTypes}),\n slides: PropTypes.shape({...Player.propTypes})\n};\n\nexport default propTypes;\n"],"file":"prop-types.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../../../../src/template/app-review/skills/index.js"],"names":["Skills"],"mappings":"AAAA,OAAOA,MAAP,MAAmB,iCAAnB;AAEA,eAAeA,MAAf","sourcesContent":["import Skills from '../../../organism/review-skills';\n\nexport default Skills;\n"],"file":"index.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../../src/template/app-review/skills/index.native.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../../src/template/app-review/skills/index.native.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAyC,WAAW,EAAC,MAAM,cAAc,CAAC;AAqLjF,QAAA,MAAM,MAAM,UAAW,WAAW,uBAuBjC,CAAC;AAIF,eAAe,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.native.js","names":["React","useState","useEffect","View","FlatList","Pressable","StyleSheet","Text","NovaCompositionNavigationArrowRight","ArrowRight","NovaCompositionCoorpacademyEmptyStateHomeRevision","EmptyStateHomeRevision","useTemplateContext","HEADER_HEIGHT","createStyleSheet","theme","create","container","flex","padding","paddingTop","backgroundColor","colors","white","title","fontSize","xlarge","fontWeight","bold","lineHeight","color","text","primary","marginBottom","spacing","base","marginTop","small","subtitle","tiny","opacity","noSkillsImage","alignSelf","width","height","skills","paddingBottom","skill","display","flexDirection","overflow","alignItems","borderRadius","gray","lighter","micro","skillTexts","skillTitle","skillInfo","medium","onSelectSkill","console","log","Skill","info","templateContext","styleSheet","setStylesheet","_stylesheet","Item","item","List","props","formattedDataList","map","push","skillAriaLabel","NoSkills","translations","appReview","noSkills","Skills","listSkills","length"],"sources":["../../../../src/template/app-review/skills/index.native.tsx"],"sourcesContent":["import React, {useState, useEffect} from 'react';\nimport {View, FlatList, Pressable, StyleSheet, Text, ViewStyle, TextStyle} from 'react-native';\nimport {\n NovaCompositionNavigationArrowRight as ArrowRight,\n NovaCompositionCoorpacademyEmptyStateHomeRevision as EmptyStateHomeRevision\n} from '@coorpacademy/nova-icons';\nimport {useTemplateContext} from '../template-context';\nimport {Theme} from '../../../variables/theme.native';\n\nimport {HEADER_HEIGHT} from '../../../organism/header-v2/index.native';\nimport {ItemProps, ListSkillsProps, SkillProps, SkillsProps} from './prop-types';\n\ntype StyleSheetType = {\n container: ViewStyle;\n title: TextStyle;\n subtitle: TextStyle;\n text: TextStyle;\n noSkillsImage: ViewStyle;\n skills: ViewStyle;\n skill: ViewStyle;\n skillTexts: TextStyle;\n skillTitle: TextStyle;\n skillInfo: TextStyle;\n};\n\nconst createStyleSheet = (theme: Theme): StyleSheetType =>\n StyleSheet.create({\n container: {\n flex: 1,\n padding: 20,\n paddingTop: HEADER_HEIGHT + 20,\n backgroundColor: theme.colors.white\n },\n title: {\n fontSize: theme.fontSize.xlarge,\n fontWeight: theme.fontWeight.bold,\n lineHeight: 28,\n color: theme.colors.text.primary,\n marginBottom: theme.spacing.base,\n marginTop: theme.spacing.small\n },\n subtitle: {\n fontSize: theme.fontSize.xlarge,\n color: theme.colors.text.primary,\n marginBottom: theme.spacing.tiny\n },\n text: {\n fontSize: 16,\n lineHeight: 22,\n color: theme.colors.text.primary,\n opacity: 0.7,\n marginBottom: theme.spacing.base\n },\n noSkillsImage: {\n flex: 1,\n alignSelf: 'center',\n width: 320,\n height: 300\n },\n skills: {paddingBottom: 100},\n skill: {\n display: 'flex',\n flexDirection: 'row',\n overflow: 'hidden',\n alignItems: 'center',\n height: 118,\n borderRadius: 8,\n backgroundColor: theme.colors.gray.lighter,\n marginTop: theme.spacing.micro,\n marginBottom: theme.spacing.micro,\n padding: theme.spacing.base\n },\n skillTexts: {\n flex: 1,\n flexDirection: 'column'\n },\n skillTitle: {\n fontSize: 18,\n fontWeight: '600',\n lineHeight: 22,\n color: theme.colors.text.primary,\n marginBottom: theme.spacing.tiny\n },\n skillInfo: {\n fontSize: 12,\n lineHeight: 16,\n color: theme.colors.gray.medium\n }\n });\n\n// -----------------------------------------------------------------------------\n\nconst onSelectSkill = (title: string) => () => {\n // eslint-disable-next-line no-console\n console.log('pressed on', {title});\n};\n\nconst Skill = ({title, info}: SkillProps) => {\n const templateContext = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n const {theme} = templateContext;\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(theme);\n setStylesheet(_stylesheet);\n }, [theme]);\n\n if (!styleSheet) {\n return null;\n }\n\n return (\n <Pressable style={styleSheet.skill} onPress={onSelectSkill(title)}>\n <View style={styleSheet.skillTexts}>\n <Text style={styleSheet.skillTitle}>{title}</Text>\n <Text style={styleSheet.skillInfo}>{info}</Text>\n </View>\n <ArrowRight color=\"#ededed\" height={20} width={20} />\n </Pressable>\n );\n};\n\n// -----------------------------------------------------------------------------\n\nconst Item = ({item: {title, info}}: ItemProps) => <Skill title={title} info={info} />;\n\ntype ItemDataType = {\n title: string;\n info: string;\n};\n\nconst List = (props: {skills: Array<ListSkillsProps>}) => {\n const templateContext = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n const {theme} = templateContext;\n const {skills} = props;\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(theme);\n setStylesheet(_stylesheet);\n }, [theme]);\n\n if (!styleSheet) {\n return null;\n }\n\n const formattedDataList: Array<ItemDataType> = [];\n skills.map(skill =>\n formattedDataList.push({\n title: skill.skillTitle,\n info: skill.skillAriaLabel\n })\n );\n\n return (\n <FlatList\n contentContainerStyle={styleSheet.skills}\n data={formattedDataList}\n renderItem={Item}\n />\n );\n};\n\n// -----------------------------------------------------------------------------\n\nconst NoSkills = () => {\n const templateContext = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n const {theme, translations} = templateContext;\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(theme);\n setStylesheet(_stylesheet);\n }, [theme]);\n\n if (!styleSheet) {\n return null;\n }\n\n return (\n <>\n <Text style={styleSheet.subtitle}>{translations.appReview?.noSkills?.title}</Text>\n <Text style={styleSheet.text}>{translations.appReview?.noSkills?.text}</Text>\n <EmptyStateHomeRevision style={styleSheet.noSkillsImage} />\n </>\n );\n};\n\n// -----------------------------------------------------------------------------\n\n// title --> translations.revision.home.title\nconst Skills = (props: SkillsProps) => {\n const {title, listSkills} = props;\n const templateContext = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n const {theme} = templateContext;\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(theme);\n setStylesheet(_stylesheet);\n }, [theme]);\n\n // ------------------------------------\n\n if (!styleSheet) {\n return null;\n }\n\n return (\n <View style={styleSheet.container}>\n <Text style={styleSheet.title}>{title}</Text>\n {!listSkills || listSkills.length === 0 ? <NoSkills /> : <List skills={listSkills} />}\n </View>\n );\n};\n\n// -----------------------------------------------------------------------------\n\nexport default Skills;\n"],"mappings":"AAAA,OAAOA,KAAP,IAAeC,QAAf,EAAyBC,SAAzB,QAAyC,OAAzC;AACA,SAAQC,IAAR,EAAcC,QAAd,EAAwBC,SAAxB,EAAmCC,UAAnC,EAA+CC,IAA/C,QAAgF,cAAhF;AACA,SACEC,mCAAmC,IAAIC,UADzC,EAEEC,iDAAiD,IAAIC,sBAFvD,QAGO,0BAHP;AAIA,SAAQC,kBAAR,QAAiC,qBAAjC;AAGA,SAAQC,aAAR,QAA4B,0CAA5B;;AAgBA,MAAMC,gBAAgB,GAAIC,KAAD,IACvBT,UAAU,CAACU,MAAX,CAAkB;EAChBC,SAAS,EAAE;IACTC,IAAI,EAAE,CADG;IAETC,OAAO,EAAE,EAFA;IAGTC,UAAU,EAAEP,aAAa,GAAG,EAHnB;IAITQ,eAAe,EAAEN,KAAK,CAACO,MAAN,CAAaC;EAJrB,CADK;EAOhBC,KAAK,EAAE;IACLC,QAAQ,EAAEV,KAAK,CAACU,QAAN,CAAeC,MADpB;IAELC,UAAU,EAAEZ,KAAK,CAACY,UAAN,CAAiBC,IAFxB;IAGLC,UAAU,EAAE,EAHP;IAILC,KAAK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OAAO,IAAP;EACD;;EAED,oBACE,oBAAC,IAAD;IAAM,KAAK,EAAEA,UAAU,CAACjD;EAAxB,gBACE,oBAAC,IAAD;IAAM,KAAK,EAAEiD,UAAU,CAAC1C;EAAxB,GAAgCA,KAAhC,CADF,EAEG,CAAC0D,UAAD,IAAeA,UAAU,CAACC,MAAX,KAAsB,CAArC,gBAAyC,oBAAC,QAAD,OAAzC,gBAAwD,oBAAC,IAAD;IAAM,MAAM,EAAED;EAAd,EAF3D,CADF;AAMD,CAvBD,C,CAyBA;;;AAEA,eAAeD,MAAf"}
|
|
1
|
+
{"version":3,"sources":["../../../../src/template/app-review/skills/index.native.tsx"],"names":["React","useState","useEffect","View","FlatList","Pressable","StyleSheet","Text","NovaCompositionNavigationArrowRight","ArrowRight","NovaCompositionCoorpacademyEmptyStateHomeRevision","EmptyStateHomeRevision","useTemplateContext","HEADER_HEIGHT","createStyleSheet","theme","create","container","flex","padding","paddingTop","backgroundColor","colors","white","title","fontSize","xlarge","fontWeight","bold","lineHeight","color","text","primary","marginBottom","spacing","base","marginTop","small","subtitle","tiny","opacity","noSkillsImage","alignSelf","width","height","skills","paddingBottom","skill","display","flexDirection","overflow","alignItems","borderRadius","gray","lighter","micro","skillTexts","skillTitle","skillInfo","medium","onSelectSkill","console","log","Skill","info","templateContext","styleSheet","setStylesheet","_stylesheet","Item","item","List","props","formattedDataList","map","push","skillAriaLabel","NoSkills","translations","appReview","noSkills","Skills","listSkills","length"],"mappings":"AAAA,OAAOA,KAAP,IAAeC,QAAf,EAAyBC,SAAzB,QAAyC,OAAzC;AACA,SAAQC,IAAR,EAAcC,QAAd,EAAwBC,SAAxB,EAAmCC,UAAnC,EAA+CC,IAA/C,QAAgF,cAAhF;AACA,SACEC,mCAAmC,IAAIC,UADzC,EAEEC,iDAAiD,IAAIC,sBAFvD,QAGO,0BAHP;AAIA,SAAQC,kBAAR,QAAiC,qBAAjC;AAGA,SAAQC,aAAR,QAA4B,0CAA5B;;AAgBA,MAAMC,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C0D,UAAD,IAAeA,UAAU,CAACC,MAAX,KAAsB,CAArC,gBAAyC,oBAAC,QAAD,OAAzC,gBAAwD,oBAAC,IAAD;AAAM,IAAA,MAAM,EAAED;AAAd,IAF3D,CADF;AAMD,CAvBD,C,CAyBA;;;AAEA,eAAeD,MAAf","sourcesContent":["import React, {useState, useEffect} from 'react';\nimport {View, FlatList, Pressable, StyleSheet, Text, ViewStyle, TextStyle} from 'react-native';\nimport {\n NovaCompositionNavigationArrowRight as ArrowRight,\n NovaCompositionCoorpacademyEmptyStateHomeRevision as EmptyStateHomeRevision\n} from '@coorpacademy/nova-icons';\nimport {useTemplateContext} from '../template-context';\nimport {Theme} from '../../../variables/theme.native';\n\nimport {HEADER_HEIGHT} from '../../../organism/header-v2/index.native';\nimport {ItemProps, ListSkillsProps, SkillProps, SkillsProps} from './prop-types';\n\ntype StyleSheetType = {\n container: ViewStyle;\n title: TextStyle;\n subtitle: TextStyle;\n text: TextStyle;\n noSkillsImage: ViewStyle;\n skills: ViewStyle;\n skill: ViewStyle;\n skillTexts: TextStyle;\n skillTitle: TextStyle;\n skillInfo: TextStyle;\n};\n\nconst createStyleSheet = (theme: Theme): StyleSheetType =>\n StyleSheet.create({\n container: {\n flex: 1,\n padding: 20,\n paddingTop: HEADER_HEIGHT + 20,\n backgroundColor: theme.colors.white\n },\n title: {\n fontSize: theme.fontSize.xlarge,\n fontWeight: theme.fontWeight.bold,\n lineHeight: 28,\n color: theme.colors.text.primary,\n marginBottom: theme.spacing.base,\n marginTop: theme.spacing.small\n },\n subtitle: {\n fontSize: theme.fontSize.xlarge,\n color: theme.colors.text.primary,\n marginBottom: theme.spacing.tiny\n },\n text: {\n fontSize: 16,\n lineHeight: 22,\n color: theme.colors.text.primary,\n opacity: 0.7,\n marginBottom: theme.spacing.base\n },\n noSkillsImage: {\n flex: 1,\n alignSelf: 'center',\n width: 320,\n height: 300\n },\n skills: {paddingBottom: 100},\n skill: {\n display: 'flex',\n flexDirection: 'row',\n overflow: 'hidden',\n alignItems: 'center',\n height: 118,\n borderRadius: 8,\n backgroundColor: theme.colors.gray.lighter,\n marginTop: theme.spacing.micro,\n marginBottom: theme.spacing.micro,\n padding: theme.spacing.base\n },\n skillTexts: {\n flex: 1,\n flexDirection: 'column'\n },\n skillTitle: {\n fontSize: 18,\n fontWeight: '600',\n lineHeight: 22,\n color: theme.colors.text.primary,\n marginBottom: theme.spacing.tiny\n },\n skillInfo: {\n fontSize: 12,\n lineHeight: 16,\n color: theme.colors.gray.medium\n }\n });\n\n// -----------------------------------------------------------------------------\n\nconst onSelectSkill = (title: string) => () => {\n // eslint-disable-next-line no-console\n console.log('pressed on', {title});\n};\n\nconst Skill = ({title, info}: SkillProps) => {\n const templateContext = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n const {theme} = templateContext;\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(theme);\n setStylesheet(_stylesheet);\n }, [theme]);\n\n if (!styleSheet) {\n return null;\n }\n\n return (\n <Pressable style={styleSheet.skill} onPress={onSelectSkill(title)}>\n <View style={styleSheet.skillTexts}>\n <Text style={styleSheet.skillTitle}>{title}</Text>\n <Text style={styleSheet.skillInfo}>{info}</Text>\n </View>\n <ArrowRight color=\"#ededed\" height={20} width={20} />\n </Pressable>\n );\n};\n\n// -----------------------------------------------------------------------------\n\nconst Item = ({item: {title, info}}: ItemProps) => <Skill title={title} info={info} />;\n\ntype ItemDataType = {\n title: string;\n info: string;\n};\n\nconst List = (props: {skills: Array<ListSkillsProps>}) => {\n const templateContext = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n const {theme} = templateContext;\n const {skills} = props;\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(theme);\n setStylesheet(_stylesheet);\n }, [theme]);\n\n if (!styleSheet) {\n return null;\n }\n\n const formattedDataList: Array<ItemDataType> = [];\n skills.map(skill =>\n formattedDataList.push({\n title: skill.skillTitle,\n info: skill.skillAriaLabel\n })\n );\n\n return (\n <FlatList\n contentContainerStyle={styleSheet.skills}\n data={formattedDataList}\n renderItem={Item}\n />\n );\n};\n\n// -----------------------------------------------------------------------------\n\nconst NoSkills = () => {\n const templateContext = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n const {theme, translations} = templateContext;\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(theme);\n setStylesheet(_stylesheet);\n }, [theme]);\n\n if (!styleSheet) {\n return null;\n }\n\n return (\n <>\n <Text style={styleSheet.subtitle}>{translations.appReview?.noSkills?.title}</Text>\n <Text style={styleSheet.text}>{translations.appReview?.noSkills?.text}</Text>\n <EmptyStateHomeRevision style={styleSheet.noSkillsImage} />\n </>\n );\n};\n\n// -----------------------------------------------------------------------------\n\n// title --> translations.revision.home.title\nconst Skills = (props: SkillsProps) => {\n const {title, listSkills} = props;\n const templateContext = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n const {theme} = templateContext;\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(theme);\n setStylesheet(_stylesheet);\n }, [theme]);\n\n // ------------------------------------\n\n if (!styleSheet) {\n return null;\n }\n\n return (\n <View style={styleSheet.container}>\n <Text style={styleSheet.title}>{title}</Text>\n {!listSkills || listSkills.length === 0 ? <NoSkills /> : <List skills={listSkills} />}\n </View>\n );\n};\n\n// -----------------------------------------------------------------------------\n\nexport default Skills;\n"],"file":"index.native.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../../../../src/template/app-review/skills/prop-types.ts"],"names":["PropTypes","ListSkillsPropTypes","SkillPropsTypes","title","string","info","ItemPropsTypes","item","shape","isExtraSpace","bool","ListPropTypes","skills","listSkills"],"mappings":"AAAA,OAAOA,SAAP,MAAsB,YAAtB;AACA,SAAQC,mBAAR,QAAkC,4CAAlC;AAEA,OAAO,MAAMC,eAAe,GAAG;AAC7BC,EAAAA,KAAK,EAAEH,SAAS,CAACI,MADY;AAE7BC,EAAAA,IAAI,EAAEL,SAAS,CAACI;AAFa,CAAxB;AAKP,OAAO,MAAME,cAAc,GAAG;AAC5BC,EAAAA,IAAI,EAAEP,SAAS,CAACQ,KAAV,CAAgB;AACpBL,IAAAA,KAAK,EAAEH,SAAS,CAACI,MADG;AAEpBC,IAAAA,IAAI,EAAEL,SAAS,CAACI,MAFI;AAGpBK,IAAAA,YAAY,EAAET,SAAS,CAACU;AAHJ,GAAhB;AADsB,CAAvB;AAQP,OAAO,MAAMC,aAAa,GAAG;AAC3BC,EAAAA,MAAM,EAAEX,mBAAmB,CAACY;AADD,CAAtB","sourcesContent":["import PropTypes from 'prop-types';\nimport {ListSkillsPropTypes} from '../../../organism/review-skills/prop-types';\n\nexport const SkillPropsTypes = {\n title: PropTypes.string,\n info: PropTypes.string\n};\n\nexport const ItemPropsTypes = {\n item: PropTypes.shape({\n title: PropTypes.string,\n info: PropTypes.string,\n isExtraSpace: PropTypes.bool\n })\n};\n\nexport const ListPropTypes = {\n skills: ListSkillsPropTypes.listSkills\n};\n\nexport type SkillProps = {\n title: string;\n info: string;\n};\n\nexport type ItemProps = {\n item: {title: string; info: string};\n};\n\nexport type NoSkillsProps = {\n titleNoSkills: string;\n textNoSkills: string;\n};\n\nexport type ListSkillsProps = {\n skillTitle: string;\n isCustom: boolean;\n 'aria-label': string;\n skillAriaLabel: string;\n buttonLabel: string;\n buttonAriaLabel: string;\n reviseLabel: string;\n reviseAriaLabel: string;\n onClick: () => void;\n};\n\nexport type SkillsProps = {\n title: string;\n listSkills: Array<ListSkillsProps>;\n};\n"],"file":"prop-types.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../../../../src/template/app-review/skills/stories.tsx"],"names":[],"mappings":"AAAA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA","sourcesContent":["// import * as React from 'react';\n// import {storiesOf} from '@storybook/react-native';\n// import RevisionHome from './revision-home';\n\n// const emptySkills: [] = [];\n// const skillsToRevise: {title: string; info: string}[] = [\n// {title: 'Negotiation and powers of persuasion', info: '75 questions to revise'},\n// {title: 'Negotiation and powers of persuasion', info: '75 questions to revise'},\n// {title: 'Negotiation and powers of persuasion', info: '75 questions to revise'},\n// {title: 'Negotiation and powers of persuasion', info: '75 questions to revise'},\n// {title: 'Creativity and innovation', info: '75 questions to revise'}\n// ];\n\n// storiesOf('RevisionHome', module)\n// .add('No skills', () => <RevisionHome skillsToRevise={emptySkills} />)\n// .add('Few skills', () => <RevisionHome skillsToRevise={skillsToRevise} />);\n"],"file":"stories.js"}
|
|
@@ -2,7 +2,7 @@ import React, { createContext, useContext } from 'react';
|
|
|
2
2
|
import { defaultBrandTheme } from '../../variables/brand.native';
|
|
3
3
|
import defaultTheme from '../../variables/theme.native';
|
|
4
4
|
import defaultMobileTranslations from '../../variables/default-mobile-translations';
|
|
5
|
-
const Context =
|
|
5
|
+
const Context = createContext({
|
|
6
6
|
theme: defaultTheme,
|
|
7
7
|
brandTheme: defaultBrandTheme,
|
|
8
8
|
translations: defaultMobileTranslations,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../../../src/template/app-review/template-context.tsx"],"names":["React","createContext","useContext","defaultBrandTheme","defaultTheme","defaultMobileTranslations","Context","theme","brandTheme","translations","display","headerHeight","statusBarHeight","store","useTemplateContext","context","Error","TemplateContext","values","children"],"mappings":"AAAA,OAAOA,KAAP,IAAeC,aAAf,EAAyCC,UAAzC,QAA0D,OAA1D;AAEA,SAAeC,iBAAf,QAAuC,8BAAvC;AACA,OAAOC,YAAP,MAAkC,8BAAlC;AACA,OAAOC,yBAAP,MAAsD,6CAAtD;AA0BA,MAAMC,OAAO,GAAGL,aAAa,CAAC;AAC5BM,EAAAA,KAAK,EAAEH,YADqB;AAE5BI,EAAAA,UAAU,EAAEL,iBAFgB;AAG5BM,EAAAA,YAAY,EAAEJ,yBAHc;AAI5BK,EAAAA,OAAO,EAAE;AACPC,IAAAA,YAAY,EAAE,EADP;AAEPC,IAAAA,eAAe,EAAE;AAFV,GAJmB;AAQ5BC,EAAAA,KAAK,EAAE;AARqB,CAAD,CAA7B;;AAWA,MAAMC,kBAAkB,GAAG,MAA6B;AACtD,QAAMC,OAAO,GAAGb,UAAU,CAACI,OAAD,CAA1B;;AAEA,MAAI,CAACS,OAAL,EAAc;AACZ,UAAM,IAAIC,KAAJ,CACH,yFADG,CAAN;AAGD;;AAED,SAAOD,OAAP;AACD,CAVD;;AAYA,MAAME,eAAe,GAAG,CAAC;AAACC,EAAAA,MAAD;AAASC,EAAAA;AAAT,CAAD,KAA+B;AACrD,sBAAO,oBAAC,OAAD,CAAS,QAAT;AAAkB,IAAA,KAAK,EAAED;AAAzB,KAAkCC,QAAlC,CAAP;AACD,CAFD;;AAIA,SAAQF,eAAR,EAAyBH,kBAAzB","sourcesContent":["import React, {createContext, ReactNode, useContext} from 'react';\nimport {Analytics} from '../../variables/analytics';\nimport {Brand, defaultBrandTheme} from '../../variables/brand.native';\nimport defaultTheme, {Theme} from '../../variables/theme.native';\nimport defaultMobileTranslations, {Translations} from '../../variables/default-mobile-translations';\nimport {Vibration} from '../../variables/vibration';\n\nexport type HandleBlur = () => void;\nexport type HandleFocus = (id: string) => () => void;\nexport type FocusedSelectId = string | null;\n\nexport type TemplateContextValues = {\n analytics?: Analytics;\n brandTheme: Brand;\n theme: Theme;\n translations: Translations;\n vibration?: Vibration;\n display: {\n headerHeight: number;\n statusBarHeight: number;\n };\n store: {\n focusedSelectId?: FocusedSelectId;\n handleBlur?: HandleBlur;\n handleFocus?: HandleFocus;\n };\n};\n\ntype Props = {values: TemplateContextValues; children: ReactNode};\n\nconst Context = createContext({\n theme: defaultTheme,\n brandTheme: defaultBrandTheme,\n translations: defaultMobileTranslations,\n display: {\n headerHeight: 67,\n statusBarHeight: 42\n },\n store: {}\n});\n\nconst useTemplateContext = (): TemplateContextValues => {\n const context = useContext(Context);\n\n if (!context) {\n throw new Error(\n `❌ [TemplateContext] useTemplateContext must be used within a provider <TemplateContext>`\n );\n }\n\n return context;\n};\n\nconst TemplateContext = ({values, children}: Props) => {\n return <Context.Provider value={values}>{children}</Context.Provider>;\n};\n\nexport {TemplateContext, useTemplateContext};\n"],"file":"template-context.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../../../../src/template/back-office/brand-create/index.js"],"names":["React","PropTypes","BrandCreateForm","Notification","Layout","style","BrandCreate","props","notifications","notificationsList","map","notification","index","container","wrapper","length","empty","propTypes","arrayOf","shape","type","string","isRequired","message","onClose","func","title","subtitle","description","field","placeholder","label","onChange","error","value","onSubmit","submitValue","isPending","bool","isModified"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,eAAP,MAA4B,qCAA5B;AACA,OAAOC,YAAP,MAAyB,4BAAzB;AACA,OAAOC,MAAP,MAAmB,WAAnB;AACA,OAAOC,KAAP,MAAkB,aAAlB;AAEA,MAAMC,WAAW,GAAGF,MAAM,CAACG,KAAK,IAAI;AAClC,QAAM;AAACC,IAAAA,aAAa,GAAG;AAAjB,MAAuBD,KAA7B;AAEA,QAAME,iBAAiB,GAAGD,aAAa,CAACE,GAAd,CAAkB,CAACC,YAAD,EAAeC,KAAf,KAAyB;AACnE,wBACE;AAAK,MAAA,GAAG,EAAEA,KAAV;AAAiB,MAAA,SAAS,EAAEP,KAAK,CAACM;AAAlC,oBACE,oBAAC,YAAD,EAAkBA,YAAlB,CADF,CADF;AAKD,GANyB,CAA1B;AAQA,sBACE;AAAK,IAAA,SAAS,EAAEN,KAAK,CAACQ;AAAtB,kBACE;AAAK,IAAA,SAAS,EAAER,KAAK,CAACS;AAAtB,kBACE;AAAK,IAAA,SAAS,EAAEN,aAAa,CAACO,MAAd,GAAuB,CAAvB,GAA2BV,KAAK,CAACG,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C,WAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport BrandCreateForm from '../../../molecule/brand-create-form';\nimport Notification from '../../../atom/notification';\nimport Layout from '../layout';\nimport style from './style.css';\n\nconst BrandCreate = Layout(props => {\n const {notifications = []} = props;\n\n const notificationsList = notifications.map((notification, index) => {\n return (\n <div key={index} className={style.notification}>\n <Notification {...notification} />\n </div>\n );\n });\n\n return (\n <div className={style.container}>\n <div className={style.wrapper}>\n <div className={notifications.length > 0 ? style.notifications : style.empty}>\n {notificationsList}\n </div>\n <BrandCreateForm {...props} />\n </div>\n </div>\n );\n});\n\nBrandCreate.propTypes = {\n notifications: PropTypes.arrayOf(\n PropTypes.shape({\n type: PropTypes.string.isRequired,\n message: PropTypes.string.isRequired,\n onClose: PropTypes.func\n })\n ),\n title: PropTypes.string.isRequired,\n subtitle: PropTypes.string.isRequired,\n description: PropTypes.string.isRequired,\n field: PropTypes.shape({\n placeholder: PropTypes.string.isRequired,\n label: PropTypes.string.isRequired,\n onChange: PropTypes.func.isRequired,\n error: PropTypes.string,\n value: PropTypes.string\n }).isRequired,\n onSubmit: PropTypes.func.isRequired,\n submitValue: PropTypes.string.isRequired,\n isPending: PropTypes.bool,\n isModified: PropTypes.bool\n};\n\nexport default BrandCreate;\n"],"file":"index.js"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
1
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
2
|
|
|
5
3
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
6
4
|
|
|
@@ -23,7 +21,7 @@ const BrandList = Layout(props => {
|
|
|
23
21
|
} = {},
|
|
24
22
|
filter
|
|
25
23
|
} = props,
|
|
26
|
-
search = _objectWithoutPropertiesLoose(props.search,
|
|
24
|
+
search = _objectWithoutPropertiesLoose(props.search, ["select"]);
|
|
27
25
|
|
|
28
26
|
const brandCards = brands.map((brand, index) => {
|
|
29
27
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../../../../src/template/back-office/brand-list/index.js"],"names":["React","PropTypes","GridList","BrandCard","BrandCardCreate","Search","Select","RadioGroup","Layout","style","BrandList","props","brands","create","search","select","filter","brandCards","map","brand","index","title","push","container","filterBar","filters","searchBar","provider","wrapper","propTypes","arrayOf","shape"],"mappings":";;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,QAAP,MAAqB,6BAArB;AACA,OAAOC,SAAP,MAAsB,8BAAtB;AACA,OAAOC,eAAP,MAA4B,qCAA5B;AACA,OAAOC,MAAP,MAAmB,4BAAnB;AACA,OAAOC,MAAP,MAAmB,mCAAnB;AACA,OAAOC,UAAP,MAAuB,2BAAvB;AACA,OAAOC,MAAP,MAAmB,WAAnB;AACA,OAAOC,KAAP,MAAkB,aAAlB;AAEA,MAAMC,SAAS,GAAGF,MAAM,CAACG,KAAK,IAAI;AAChC,QAAM;AAACC,IAAAA,MAAM,GAAG,EAAV;AAAcC,IAAAA,MAAd;AAAsBC,IAAAA,MAAM,EAAE;AAACC,MAAAA;AAAD,QAAsB,EAApD;AAAwDC,IAAAA;AAAxD,MAAkEL,KAAxE;AAAA,QAAgDG,MAAhD,i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SAAS,CAAC0B,SAA1B,CAAlB,CADY;AAEpBb,EAAAA,MAAM,EAAEf,SAAS,CAAC8B,KAAV,CAAgBxB,UAAU,CAACsB,SAA3B,CAFY;AAGpBf,EAAAA,MAAM,EAAEb,SAAS,CAAC8B,KAAV,CAAgB1B,MAAM,CAACwB,SAAvB,CAHY;AAIpBhB,EAAAA,MAAM,EAAEZ,SAAS,CAAC8B,KAAV,CAAgB3B,eAAe,CAACyB,SAAhC;AAJY,CAAtB;AAOA,eAAenB,SAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport GridList from '../../../organism/grid-list';\nimport BrandCard from '../../../molecule/brand-card';\nimport BrandCardCreate from '../../../molecule/brand-card-create';\nimport Search from '../../../atom/input-search';\nimport Select from '../../../molecule/select-multiple';\nimport RadioGroup from '../../../atom/radio-group';\nimport Layout from '../layout';\nimport style from './style.css';\n\nconst BrandList = Layout(props => {\n const {brands = [], create, search: {select, ...search} = {}, filter} = props;\n\n const brandCards = brands.map((brand, index) => {\n return (\n <div key={brand.title} className={style.brand}>\n <BrandCard {...brand} />\n </div>\n );\n });\n\n if (create) {\n brandCards.push(\n <div key=\"new\" className={style.brand}>\n <BrandCardCreate {...create} />\n </div>\n );\n }\n\n return (\n <div className={style.container}>\n {filter ? (\n <div className={style.filterBar}>\n <RadioGroup {...filter} />\n </div>\n ) : null}\n <div className={style.filters}>\n <div className={style.searchBar}>\n <Search {...search} theme=\"coorpmanager\" />\n </div>\n {select ? (\n <div className={style.provider}>\n <Select {...select} theme=\"coorpmanager\" />\n </div>\n ) : null}\n </div>\n <div className={style.wrapper}>\n <GridList>{brandCards}</GridList>\n </div>\n </div>\n );\n});\n\nBrandList.propTypes = {\n brands: PropTypes.arrayOf(PropTypes.shape(BrandCard.propTypes)),\n filter: PropTypes.shape(RadioGroup.propTypes),\n search: PropTypes.shape(Search.propTypes),\n create: PropTypes.shape(BrandCardCreate.propTypes)\n};\n\nexport default BrandList;\n"],"file":"index.js"}
|