@coorpacademy/components 11.40.22-slider.21 → 11.40.23
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 +4 -5
- package/es/atom/autocomplete/index.d.ts.map +1 -1
- package/es/atom/avatar/index.d.ts +1 -2
- package/es/atom/avatar/index.d.ts.map +1 -1
- package/es/atom/battle-opponent/index.d.ts +2 -2
- package/es/atom/battle-opponent/index.d.ts.map +1 -1
- package/es/atom/battle-opponent/index.js +4 -2
- package/es/atom/battle-opponent/index.js.map +1 -1
- package/es/atom/button/index.d.ts +1 -2
- package/es/atom/button/index.d.ts.map +1 -1
- package/es/atom/button/index.native.d.ts +2 -2
- package/es/atom/button/index.native.d.ts.map +1 -1
- package/es/atom/button-link/index.d.ts +4 -4
- package/es/atom/button-link/index.d.ts.map +1 -1
- package/es/atom/button-link/types.d.ts +4 -4
- package/es/atom/button-link/types.d.ts.map +1 -1
- package/es/atom/button-link/types.js.map +1 -1
- package/es/atom/button-link-icon/index.d.ts +1 -2
- package/es/atom/button-link-icon/index.d.ts.map +1 -1
- package/es/atom/button-menu/index.d.ts +5 -5
- package/es/atom/button-menu/index.d.ts.map +1 -1
- package/es/atom/button-menu/types.d.ts +4 -4
- package/es/atom/card-image-preview/index.d.ts +1 -2
- package/es/atom/card-image-preview/index.d.ts.map +1 -1
- package/es/atom/catalog-section/index.d.ts +1 -2
- package/es/atom/catalog-section/index.d.ts.map +1 -1
- package/es/atom/centered-text/index.d.ts +1 -2
- package/es/atom/centered-text/index.d.ts.map +1 -1
- package/es/atom/checkbox/index.d.ts +1 -2
- package/es/atom/checkbox/index.d.ts.map +1 -1
- package/es/atom/checkbox-with-title/index.d.ts +2 -3
- package/es/atom/checkbox-with-title/index.d.ts.map +1 -1
- package/es/atom/chip/index.d.ts +2 -3
- package/es/atom/chip/index.d.ts.map +1 -1
- package/es/atom/chip/index.js +11 -1
- package/es/atom/chip/index.js.map +1 -1
- package/es/atom/chips/index.d.ts +1 -2
- package/es/atom/chips/index.d.ts.map +1 -1
- package/es/atom/chips/index.js +9 -0
- package/es/atom/chips/index.js.map +1 -1
- package/es/atom/choice/index.native.d.ts +2 -2
- package/es/atom/choice/index.native.d.ts.map +1 -1
- package/es/atom/choice/index.native.js +3 -5
- package/es/atom/choice/index.native.js.map +1 -1
- package/es/atom/circular-progress-bar/index.d.ts +2 -2
- package/es/atom/circular-progress-bar/index.d.ts.map +1 -1
- package/es/atom/circular-progress-bar/index.js +4 -0
- package/es/atom/circular-progress-bar/index.js.map +1 -1
- package/es/atom/clue/index.d.ts +3 -3
- package/es/atom/clue/index.d.ts.map +1 -1
- package/es/atom/content-badge/index.d.ts +1 -2
- package/es/atom/content-badge/index.d.ts.map +1 -1
- package/es/atom/cta/index.d.ts +2 -2
- package/es/atom/cta/index.d.ts.map +1 -1
- package/es/atom/difficulty-level/index.d.ts +3 -4
- package/es/atom/difficulty-level/index.d.ts.map +1 -1
- package/es/atom/drag-and-drop/index.d.ts +1 -1
- package/es/atom/drag-and-drop/index.d.ts.map +1 -1
- package/es/atom/empty-search-result/index.d.ts +1 -2
- package/es/atom/empty-search-result/index.d.ts.map +1 -1
- package/es/atom/gradient/index.native.d.ts +2 -2
- package/es/atom/gradient/index.native.d.ts.map +1 -1
- package/es/atom/gradient/index.native.js +8 -29
- package/es/atom/gradient/index.native.js.map +1 -1
- package/es/atom/header-back-button/index.native.d.ts +2 -2
- package/es/atom/header-back-button/index.native.d.ts.map +1 -1
- package/es/atom/header-back-icon/index.native.d.ts +2 -2
- package/es/atom/header-back-icon/index.native.d.ts.map +1 -1
- package/es/atom/html/index.native.d.ts +2 -2
- package/es/atom/html/index.native.d.ts.map +1 -1
- package/es/atom/html/index.native.js +22 -29
- package/es/atom/html/index.native.js.map +1 -1
- package/es/atom/icon/index.d.ts +1 -1
- package/es/atom/icon/index.js +1 -1
- package/es/atom/icon/index.js.map +1 -1
- package/es/atom/image-background/index.native.d.ts +2 -2
- package/es/atom/image-background/index.native.d.ts.map +1 -1
- package/es/atom/image-background/index.native.js.map +1 -1
- package/es/atom/input-checkbox/index.d.ts +1 -2
- package/es/atom/input-checkbox/index.d.ts.map +1 -1
- package/es/atom/input-color/index.d.ts +1 -2
- package/es/atom/input-color/index.d.ts.map +1 -1
- package/es/atom/input-doublestep/index.d.ts +2 -2
- package/es/atom/input-doublestep/index.d.ts.map +1 -1
- package/es/atom/input-file-draggable/index.d.ts +10 -11
- package/es/atom/input-file-draggable/index.d.ts.map +1 -1
- package/es/atom/input-html/index.d.ts +1 -2
- package/es/atom/input-html/index.d.ts.map +1 -1
- package/es/atom/input-html/input-preview.d.ts +1 -2
- package/es/atom/input-html/input-preview.d.ts.map +1 -1
- package/es/atom/input-readonly/index.d.ts +1 -2
- package/es/atom/input-readonly/index.d.ts.map +1 -1
- package/es/atom/input-search/index.d.ts +1 -2
- package/es/atom/input-search/index.d.ts.map +1 -1
- package/es/atom/input-select/index.d.ts +2 -2
- package/es/atom/input-select/index.d.ts.map +1 -1
- package/es/atom/input-select/index.js +2 -2
- package/es/atom/input-select/index.js.map +1 -1
- package/es/atom/input-switch/index.d.ts +1 -2
- package/es/atom/input-switch/index.d.ts.map +1 -1
- package/es/atom/input-text/index.d.ts +1 -2
- package/es/atom/input-text/index.d.ts.map +1 -1
- package/es/atom/input-text-with-title/index.d.ts +1 -2
- package/es/atom/input-text-with-title/index.d.ts.map +1 -1
- package/es/atom/input-text-with-title/index.js +1 -0
- package/es/atom/input-text-with-title/index.js.map +1 -1
- package/es/atom/input-textarea/index.d.ts +1 -2
- package/es/atom/input-textarea/index.d.ts.map +1 -1
- package/es/atom/label/index.d.ts +2 -3
- package/es/atom/label/index.d.ts.map +1 -1
- package/es/atom/life/index.d.ts +1 -2
- package/es/atom/life/index.d.ts.map +1 -1
- package/es/atom/link/index.d.ts +1 -2
- package/es/atom/link/index.d.ts.map +1 -1
- package/es/atom/loader/index.d.ts +2 -3
- package/es/atom/loader/index.d.ts.map +1 -1
- package/es/atom/loader/index.native.d.ts +2 -2
- package/es/atom/loader/index.native.d.ts.map +1 -1
- package/es/atom/loader/index.native.js +1 -5
- package/es/atom/loader/index.native.js.map +1 -1
- package/es/atom/lottie-wrapper/index.d.ts +1 -2
- package/es/atom/lottie-wrapper/index.d.ts.map +1 -1
- package/es/atom/notification/index.d.ts +1 -2
- package/es/atom/notification/index.d.ts.map +1 -1
- package/es/atom/picture/index.d.ts +1 -2
- package/es/atom/picture/index.d.ts.map +1 -1
- package/es/atom/picture-background/index.d.ts +4 -5
- package/es/atom/picture-background/index.d.ts.map +1 -1
- package/es/atom/promo-code/index.d.ts +1 -2
- package/es/atom/promo-code/index.d.ts.map +1 -1
- package/es/atom/provider/index.d.ts +26 -1
- package/es/atom/provider/index.d.ts.map +1 -1
- package/es/atom/provider/index.js +1 -1
- package/es/atom/provider/index.js.map +1 -1
- package/es/atom/provider/web-context.d.ts +2 -2
- package/es/atom/provider/web-context.d.ts.map +1 -1
- package/es/atom/radio-group/index.d.ts +3 -4
- package/es/atom/radio-group/index.d.ts.map +1 -1
- package/es/atom/radio-group/item.d.ts +1 -2
- package/es/atom/radio-group/item.d.ts.map +1 -1
- package/es/atom/radio-with-title/index.d.ts +13 -13
- package/es/atom/radio-with-title/types.d.ts +12 -12
- package/es/atom/range/handle.d.ts +1 -2
- package/es/atom/range/handle.d.ts.map +1 -1
- package/es/atom/range/index.d.ts +2 -2
- package/es/atom/range/index.d.ts.map +1 -1
- package/es/atom/resource-miniature/index.d.ts +1 -2
- package/es/atom/resource-miniature/index.d.ts.map +1 -1
- package/es/atom/review-presentation/index.d.ts +1 -2
- package/es/atom/review-presentation/index.d.ts.map +1 -1
- package/es/atom/review-presentation/index.js +1 -0
- package/es/atom/review-presentation/index.js.map +1 -1
- package/es/atom/review-presentation/index.native.d.ts +2 -2
- package/es/atom/review-presentation/index.native.d.ts.map +1 -1
- package/es/atom/select/index.d.ts +13 -14
- package/es/atom/select/index.d.ts.map +1 -1
- package/es/atom/select-icon/index.d.ts +1 -2
- package/es/atom/select-icon/index.d.ts.map +1 -1
- package/es/atom/select-modal/index.native.d.ts +2 -2
- package/es/atom/select-modal/index.native.d.ts.map +1 -1
- package/es/atom/select-modal/index.native.js +3 -4
- package/es/atom/select-modal/index.native.js.map +1 -1
- package/es/atom/slide/index.d.ts +1 -2
- package/es/atom/slide/index.d.ts.map +1 -1
- package/es/atom/social-link/index.d.ts +1 -2
- package/es/atom/social-link/index.d.ts.map +1 -1
- package/es/atom/space/index.native.d.ts +2 -2
- package/es/atom/space/index.native.d.ts.map +1 -1
- package/es/atom/spinner/index.d.ts +1 -2
- package/es/atom/spinner/index.d.ts.map +1 -1
- package/es/atom/status-item/index.d.ts +2 -2
- package/es/atom/status-item/index.d.ts.map +1 -1
- package/es/atom/status-item/index.native.d.ts +2 -2
- package/es/atom/status-item/index.native.d.ts.map +1 -1
- package/es/atom/tab/index.d.ts +4 -5
- package/es/atom/tab/index.d.ts.map +1 -1
- package/es/atom/tab-content/index.d.ts +1 -2
- package/es/atom/tab-content/index.d.ts.map +1 -1
- package/es/atom/tag/index.d.ts +16 -16
- package/es/atom/tag/index.d.ts.map +1 -1
- package/es/atom/text/index.native.d.ts +1 -1
- package/es/atom/text/index.native.d.ts.map +1 -1
- package/es/atom/title/index.d.ts +14 -14
- package/es/atom/title/index.d.ts.map +1 -1
- package/es/atom/title/index.js +1 -0
- package/es/atom/title/index.js.map +1 -1
- package/es/atom/tooltip/index.d.ts +5 -6
- package/es/atom/tooltip/index.d.ts.map +1 -1
- package/es/atom/tooltip/index.js +1 -0
- package/es/atom/tooltip/index.js.map +1 -1
- package/es/atom/video-upload/index.d.ts +1 -2
- package/es/atom/video-upload/index.d.ts.map +1 -1
- package/es/atom/wizard-steps/index.d.ts +3 -4
- package/es/atom/wizard-steps/index.d.ts.map +1 -1
- package/es/globals.d.js.map +1 -1
- package/es/hoc/animation/index.d.ts +1 -1
- package/es/hoc/animation-scheduler/index.d.ts +1 -1
- package/es/hoc/modal/index.native.d.ts +1 -1
- package/es/hoc/modal/index.native.d.ts.map +1 -1
- package/es/hoc/modal/select/index.native.d.ts +2 -2
- package/es/hoc/modal/select/index.native.d.ts.map +1 -1
- package/es/hoc/modal/select-item/index.native.d.ts +2 -2
- package/es/hoc/modal/select-item/index.native.d.ts.map +1 -1
- package/es/hoc/swapper/index.d.ts +2 -3
- package/es/hoc/swapper/index.d.ts.map +1 -1
- package/es/hoc/touchable/index.native.d.ts +1 -1
- package/es/hoc/touchable/index.native.d.ts.map +1 -1
- package/es/hoc/touchable/index.native.js +3 -14
- package/es/hoc/touchable/index.native.js.map +1 -1
- package/es/hoc/transition/index.d.ts +1 -1
- package/es/molecule/add-to-my-list/index.d.ts +3 -4
- package/es/molecule/add-to-my-list/index.d.ts.map +1 -1
- package/es/molecule/answer/index.d.ts +1 -2
- package/es/molecule/answer/index.d.ts.map +1 -1
- package/es/molecule/answer/index.native.d.ts +2 -2
- package/es/molecule/answer/index.native.d.ts.map +1 -1
- package/es/molecule/answer/prop-types.d.ts +10 -10
- package/es/molecule/audio/index.d.ts +1 -1
- package/es/molecule/audio/index.d.ts.map +1 -1
- package/es/molecule/banner/index.d.ts +3 -4
- package/es/molecule/banner/index.d.ts.map +1 -1
- package/es/molecule/base-modal/index.d.ts +3 -4
- package/es/molecule/base-modal/index.d.ts.map +1 -1
- package/es/molecule/base-modal/index.js +1 -0
- package/es/molecule/base-modal/index.js.map +1 -1
- package/es/molecule/battle-opponent-list/index.d.ts +4 -4
- package/es/molecule/battle-opponent-list/index.d.ts.map +1 -1
- package/es/molecule/battle-opponent-list/prop-types.d.ts +2 -2
- package/es/molecule/battle-request/index.d.ts +1 -2
- package/es/molecule/battle-request/index.d.ts.map +1 -1
- package/es/molecule/brand-card/description.d.ts +1 -2
- package/es/molecule/brand-card/description.d.ts.map +1 -1
- package/es/molecule/brand-card/index.d.ts +1 -2
- package/es/molecule/brand-card/index.d.ts.map +1 -1
- package/es/molecule/brand-card-create/index.d.ts +1 -2
- package/es/molecule/brand-card-create/index.d.ts.map +1 -1
- package/es/molecule/brand-create-form/index.d.ts +1 -2
- package/es/molecule/brand-create-form/index.d.ts.map +1 -1
- package/es/molecule/brand-download-box/index.d.ts +1 -2
- package/es/molecule/brand-download-box/index.d.ts.map +1 -1
- package/es/molecule/brand-form-group/index.d.ts +2 -3
- package/es/molecule/brand-form-group/index.d.ts.map +1 -1
- package/es/molecule/brand-logo/index.native.d.ts +2 -2
- package/es/molecule/brand-logo/index.native.d.ts.map +1 -1
- package/es/molecule/brand-logo/index.native.js.map +1 -1
- package/es/molecule/brand-tabs/index.d.ts +3 -4
- package/es/molecule/brand-tabs/index.d.ts.map +1 -1
- package/es/molecule/brand-upload-box/index.d.ts +1 -1
- package/es/molecule/brand-upload-box/index.d.ts.map +1 -1
- package/es/molecule/breadcrumbs/index.d.ts +5 -6
- package/es/molecule/breadcrumbs/index.d.ts.map +1 -1
- package/es/molecule/bulk-infos/index.d.ts +2 -2
- package/es/molecule/bulk-infos/index.d.ts.map +1 -1
- package/es/molecule/bulk-progress-bar/index.d.ts +2 -2
- package/es/molecule/bulk-progress-bar/index.d.ts.map +1 -1
- package/es/molecule/bullet-point-menu-button/index.d.ts +5 -5
- package/es/molecule/bullet-point-menu-button/index.d.ts.map +1 -1
- package/es/molecule/bullet-point-menu-button/index.js +1 -0
- package/es/molecule/bullet-point-menu-button/index.js.map +1 -1
- package/es/molecule/bullet-point-menu-button/types.d.ts +3 -3
- package/es/molecule/button-menu-action/index.d.ts +8 -8
- package/es/molecule/button-menu-action/index.d.ts.map +1 -1
- package/es/molecule/button-menu-action/index.js +1 -0
- package/es/molecule/button-menu-action/index.js.map +1 -1
- package/es/molecule/button-menu-action/types.d.ts +6 -6
- package/es/molecule/card/customer.d.ts +2 -3
- package/es/molecule/card/customer.d.ts.map +1 -1
- package/es/molecule/card/customer.js +1 -0
- package/es/molecule/card/customer.js.map +1 -1
- package/es/molecule/card/favorite.d.ts +3 -4
- package/es/molecule/card/favorite.d.ts.map +1 -1
- package/es/molecule/card/index.d.ts +1 -1
- package/es/molecule/card/index.d.ts.map +1 -1
- package/es/molecule/card/index.js +7 -0
- package/es/molecule/card/index.js.map +1 -1
- package/es/molecule/card/notification.d.ts +1 -2
- package/es/molecule/card/notification.d.ts.map +1 -1
- package/es/molecule/card/selectable.d.ts +1 -2
- package/es/molecule/card/selectable.d.ts.map +1 -1
- package/es/molecule/card-congrats/index.native.d.ts +2 -2
- package/es/molecule/card-congrats/index.native.d.ts.map +1 -1
- package/es/molecule/card-content/index.d.ts +7 -8
- package/es/molecule/card-content/index.d.ts.map +1 -1
- package/es/molecule/card-content/index.js +1 -0
- package/es/molecule/card-content/index.js.map +1 -1
- package/es/molecule/card-with-button/index.d.ts +2 -3
- package/es/molecule/card-with-button/index.d.ts.map +1 -1
- package/es/molecule/certification-card/index.d.ts +1 -2
- package/es/molecule/certification-card/index.d.ts.map +1 -1
- package/es/molecule/cm-popin/index.d.ts +1 -2
- package/es/molecule/cm-popin/index.d.ts.map +1 -1
- package/es/molecule/cm-popin/index.native.d.ts +2 -2
- package/es/molecule/cm-popin/index.native.d.ts.map +1 -1
- package/es/molecule/cm-popin/types.d.ts +81 -81
- package/es/molecule/cookie-banner/index.d.ts +1 -2
- package/es/molecule/cookie-banner/index.d.ts.map +1 -1
- package/es/molecule/coorp-manager-roles/index.d.ts +3 -4
- package/es/molecule/coorp-manager-roles/index.d.ts.map +1 -1
- package/es/molecule/coorpmanager-base-banner/index.d.ts +1 -2
- package/es/molecule/coorpmanager-base-banner/index.d.ts.map +1 -1
- package/es/molecule/course-section/index.d.ts +3 -4
- package/es/molecule/course-section/index.d.ts.map +1 -1
- package/es/molecule/course-section/index.js +3 -0
- package/es/molecule/course-section/index.js.map +1 -1
- package/es/molecule/course-sections/index.d.ts +5 -6
- package/es/molecule/course-sections/index.d.ts.map +1 -1
- package/es/molecule/dashboard/cards-list/index.d.ts +10 -10
- package/es/molecule/dashboard/cards-list/index.d.ts.map +1 -1
- package/es/molecule/dashboard/learning-profile-banner/index.d.ts.map +1 -1
- package/es/molecule/dashboard/learning-profile-banner/index.js +2 -4
- package/es/molecule/dashboard/learning-profile-banner/index.js.map +1 -1
- package/es/molecule/dashboard/review-banner/index.d.ts.map +1 -1
- package/es/molecule/dashboard/review-banner/index.js +2 -4
- package/es/molecule/dashboard/review-banner/index.js.map +1 -1
- package/es/molecule/discipline-associated-skills/index.d.ts +3 -4
- package/es/molecule/discipline-associated-skills/index.d.ts.map +1 -1
- package/es/molecule/discipline-cta/index.d.ts +1 -2
- package/es/molecule/discipline-cta/index.d.ts.map +1 -1
- package/es/molecule/discipline-header/index.d.ts +3 -3
- package/es/molecule/discipline-header/index.d.ts.map +1 -1
- package/es/molecule/discipline-partners/index.d.ts +5 -6
- package/es/molecule/discipline-partners/index.d.ts.map +1 -1
- package/es/molecule/discipline-scope/index.d.ts +9 -10
- package/es/molecule/discipline-scope/index.d.ts.map +1 -1
- package/es/molecule/drag-and-drop/index.d.ts +5 -6
- package/es/molecule/drag-and-drop/index.d.ts.map +1 -1
- package/es/molecule/drag-and-drop/overlay.d.ts +1 -2
- package/es/molecule/drag-and-drop/overlay.d.ts.map +1 -1
- package/es/molecule/drag-and-drop/placeholder.d.ts +1 -2
- package/es/molecule/drag-and-drop/placeholder.d.ts.map +1 -1
- package/es/molecule/drag-and-drop/upload-report.d.ts +4 -5
- package/es/molecule/drag-and-drop/upload-report.d.ts.map +1 -1
- package/es/molecule/drag-and-drop-wrapper/index.d.ts +4 -5
- package/es/molecule/drag-and-drop-wrapper/index.d.ts.map +1 -1
- package/es/molecule/draggable/index.d.ts +1 -2
- package/es/molecule/draggable/index.d.ts.map +1 -1
- package/es/molecule/draggable-list/index.d.ts +14 -15
- package/es/molecule/draggable-list/index.d.ts.map +1 -1
- package/es/molecule/errors-table/index.d.ts +7 -7
- package/es/molecule/errors-table/index.d.ts.map +1 -1
- package/es/molecule/errors-table/types.d.ts +5 -5
- package/es/molecule/expandable-item/index.d.ts +2 -2
- package/es/molecule/expandable-item/index.d.ts.map +1 -1
- package/es/molecule/expandable-list/index.d.ts +4 -4
- package/es/molecule/expandable-list/index.d.ts.map +1 -1
- package/es/molecule/expandable-list/types.d.ts +2 -2
- package/es/molecule/expandible-actionable-table/index.d.ts +18 -18
- package/es/molecule/expandible-actionable-table/index.d.ts.map +1 -1
- package/es/molecule/expandible-actionable-table/types.d.ts +16 -16
- package/es/molecule/external-content-button/index.d.ts +1 -1
- package/es/molecule/external-content-button/index.d.ts.map +1 -1
- package/es/molecule/external-content-viewer/index.d.ts +1 -2
- package/es/molecule/external-content-viewer/index.d.ts.map +1 -1
- package/es/molecule/feedback/index.d.ts +1 -2
- package/es/molecule/feedback/index.d.ts.map +1 -1
- package/es/molecule/filters/filters-wrapper.d.ts +3 -4
- package/es/molecule/filters/filters-wrapper.d.ts.map +1 -1
- package/es/molecule/filters/index.d.ts +11 -11
- package/es/molecule/filters/index.d.ts.map +1 -1
- package/es/molecule/forum/forum-comment/index.d.ts +1 -2
- package/es/molecule/forum/forum-comment/index.d.ts.map +1 -1
- package/es/molecule/forum/forum-post/index.d.ts +1 -2
- package/es/molecule/forum/forum-post/index.d.ts.map +1 -1
- package/es/molecule/forum/forum-thread/index.d.ts +1 -2
- package/es/molecule/forum/forum-thread/index.d.ts.map +1 -1
- package/es/molecule/go1-banner/index.d.ts +1 -2
- package/es/molecule/go1-banner/index.d.ts.map +1 -1
- package/es/molecule/hero/index.d.ts +2 -2
- package/es/molecule/hero/index.d.ts.map +1 -1
- package/es/molecule/icon-picker-modal/index.d.ts +1 -2
- package/es/molecule/icon-picker-modal/index.d.ts.map +1 -1
- package/es/molecule/icon-picker-modal/index.js +1 -1
- package/es/molecule/icon-picker-modal/index.js.map +1 -1
- package/es/molecule/icon-preview/index.d.ts +1 -1
- package/es/molecule/input-text-with-titled-checkbox/index.d.ts +1 -2
- package/es/molecule/input-text-with-titled-checkbox/index.d.ts.map +1 -1
- package/es/molecule/learner-skill-card/index.d.ts +1 -2
- package/es/molecule/learner-skill-card/index.d.ts.map +1 -1
- package/es/molecule/learner-skill-card/index.js +11 -0
- package/es/molecule/learner-skill-card/index.js.map +1 -1
- package/es/molecule/learning-priority-card/index.d.ts +2 -2
- package/es/molecule/learning-priority-card/index.d.ts.map +1 -1
- package/es/molecule/learning-priority-card/index.js +1 -0
- package/es/molecule/learning-priority-card/index.js.map +1 -1
- package/es/molecule/learning-priority-modal/index.d.ts +7 -8
- package/es/molecule/learning-priority-modal/index.d.ts.map +1 -1
- package/es/molecule/learning-priority-setup-item/index.d.ts +1 -2
- package/es/molecule/learning-priority-setup-item/index.d.ts.map +1 -1
- package/es/molecule/learning-priority-setup-item/index.js +1 -0
- package/es/molecule/learning-priority-setup-item/index.js.map +1 -1
- package/es/molecule/learning-profile-radar-chart/index.d.ts +13 -13
- package/es/molecule/learning-profile-radar-chart/index.d.ts.map +1 -1
- package/es/molecule/learning-profile-radar-chart/types.d.ts +8 -8
- package/es/molecule/list-badges/index.d.ts +3 -4
- package/es/molecule/list-badges/index.d.ts.map +1 -1
- package/es/molecule/login-alert/index.d.ts +1 -2
- package/es/molecule/login-alert/index.d.ts.map +1 -1
- package/es/molecule/menu-links/index.d.ts +4 -4
- package/es/molecule/menu-links/index.d.ts.map +1 -1
- package/es/molecule/menu-links/types.d.ts +2 -2
- package/es/molecule/menu-list/index.d.ts +3 -4
- package/es/molecule/menu-list/index.d.ts.map +1 -1
- package/es/molecule/message-popin/index.d.ts +1 -2
- package/es/molecule/message-popin/index.d.ts.map +1 -1
- package/es/molecule/modal/index.d.ts +1 -2
- package/es/molecule/modal/index.d.ts.map +1 -1
- package/es/molecule/module-bubble/index.d.ts +1 -2
- package/es/molecule/module-bubble/index.d.ts.map +1 -1
- package/es/molecule/module-card/index.d.ts +1 -2
- package/es/molecule/module-card/index.d.ts.map +1 -1
- package/es/molecule/multi-filter-panel/index.d.ts +11 -11
- package/es/molecule/multi-filter-panel/index.d.ts.map +1 -1
- package/es/molecule/multi-filter-panel/prop-types.d.ts +9 -9
- package/es/molecule/news/index.d.ts +1 -2
- package/es/molecule/news/index.d.ts.map +1 -1
- package/es/molecule/notification-banner/index.d.ts +1 -2
- package/es/molecule/notification-banner/index.d.ts.map +1 -1
- package/es/molecule/pagination/index.d.ts +1 -2
- package/es/molecule/pagination/index.d.ts.map +1 -1
- package/es/molecule/payment-form/index.d.ts +1 -1
- package/es/molecule/payment-form/index.d.ts.map +1 -1
- package/es/molecule/pdf/index.d.ts +1 -2
- package/es/molecule/pdf/index.d.ts.map +1 -1
- package/es/molecule/playlist-card/index.d.ts +3 -4
- package/es/molecule/playlist-card/index.d.ts.map +1 -1
- package/es/molecule/playlist-detail-cover/index.d.ts +3 -4
- package/es/molecule/playlist-detail-cover/index.d.ts.map +1 -1
- package/es/molecule/popin/index.d.ts +1 -2
- package/es/molecule/popin/index.d.ts.map +1 -1
- package/es/molecule/privacy-policy-contact/index.d.ts +2 -2
- package/es/molecule/privacy-policy-contact/index.d.ts.map +1 -1
- package/es/molecule/product-card/index.d.ts +1 -2
- package/es/molecule/product-card/index.d.ts.map +1 -1
- package/es/molecule/progress-bar/index.d.ts +2 -3
- package/es/molecule/progress-bar/index.d.ts.map +1 -1
- package/es/molecule/progress-wrapper/index.d.ts +3 -4
- package/es/molecule/progress-wrapper/index.d.ts.map +1 -1
- package/es/molecule/progress-wrapper/index.js +3 -0
- package/es/molecule/progress-wrapper/index.js.map +1 -1
- package/es/molecule/questions/drop-down/index.d.ts +4 -5
- package/es/molecule/questions/drop-down/index.d.ts.map +1 -1
- package/es/molecule/questions/free-text/index.d.ts +1 -2
- package/es/molecule/questions/free-text/index.d.ts.map +1 -1
- package/es/molecule/questions/free-text/index.native.d.ts +2 -2
- package/es/molecule/questions/free-text/index.native.d.ts.map +1 -1
- package/es/molecule/questions/free-text/index.native.js +2 -4
- package/es/molecule/questions/free-text/index.native.js.map +1 -1
- package/es/molecule/questions/mobile/draggable/index.native.d.ts +2 -2
- package/es/molecule/questions/mobile/draggable/index.native.d.ts.map +1 -1
- package/es/molecule/questions/mobile/draggable/index.native.js +1 -1
- package/es/molecule/questions/mobile/draggable/index.native.js.map +1 -1
- package/es/molecule/questions/mobile/slider/index.native.d.ts +2 -2
- package/es/molecule/questions/mobile/slider/index.native.d.ts.map +1 -1
- package/es/molecule/questions/mobile/slider/index.native.js +35 -23
- package/es/molecule/questions/mobile/slider/index.native.js.map +1 -1
- package/es/molecule/questions/mobile/switch/index.native.d.ts +2 -2
- package/es/molecule/questions/mobile/switch/index.native.d.ts.map +1 -1
- package/es/molecule/questions/mobile/template/index.native.d.ts +2 -2
- package/es/molecule/questions/mobile/template/index.native.d.ts.map +1 -1
- package/es/molecule/questions/mobile/template/index.native.js +4 -14
- package/es/molecule/questions/mobile/template/index.native.js.map +1 -1
- package/es/molecule/questions/qcm/index.d.ts +3 -4
- package/es/molecule/questions/qcm/index.d.ts.map +1 -1
- package/es/molecule/questions/qcm/index.js +10 -0
- package/es/molecule/questions/qcm/index.js.map +1 -1
- package/es/molecule/questions/qcm-drag/index.d.ts +5 -6
- package/es/molecule/questions/qcm-drag/index.d.ts.map +1 -1
- package/es/molecule/questions/qcm-drag/style.css +1 -1
- package/es/molecule/questions/qcm-graphic/index.d.ts +3 -4
- package/es/molecule/questions/qcm-graphic/index.d.ts.map +1 -1
- package/es/molecule/questions/qcm-graphic/index.js +1 -0
- package/es/molecule/questions/qcm-graphic/index.js.map +1 -1
- package/es/molecule/questions/question-range/index.d.ts +1 -2
- package/es/molecule/questions/question-range/index.d.ts.map +1 -1
- package/es/molecule/questions/template/index.d.ts +17 -7
- package/es/molecule/questions/template/index.d.ts.map +1 -1
- package/es/molecule/questions/types.d.ts +1 -1
- package/es/molecule/questions/types.d.ts.map +1 -1
- package/es/molecule/questions/types.js.map +1 -1
- package/es/molecule/quick-access-card/index.d.ts +1 -2
- package/es/molecule/quick-access-card/index.d.ts.map +1 -1
- package/es/molecule/quick-access-cards-group/index.d.ts +3 -4
- package/es/molecule/quick-access-cards-group/index.d.ts.map +1 -1
- package/es/molecule/quick-filters/index.d.ts +5 -5
- package/es/molecule/quick-filters/index.d.ts.map +1 -1
- package/es/molecule/quick-filters/index.js +1 -0
- package/es/molecule/quick-filters/index.js.map +1 -1
- package/es/molecule/quick-filters/types.d.ts +4 -4
- package/es/molecule/resource-player/index.d.ts +4 -4
- package/es/molecule/resource-player/index.d.ts.map +1 -1
- package/es/molecule/review-card-congrats/index.d.ts +1 -2
- package/es/molecule/review-card-congrats/index.d.ts.map +1 -1
- package/es/molecule/review-correction-popin/index.d.ts +1 -2
- package/es/molecule/review-correction-popin/index.d.ts.map +1 -1
- package/es/molecule/review-correction-popin/index.js +3 -0
- package/es/molecule/review-correction-popin/index.js.map +1 -1
- package/es/molecule/review-correction-popin/index.native.d.ts +2 -2
- package/es/molecule/review-correction-popin/index.native.d.ts.map +1 -1
- package/es/molecule/review-header-steps/index.d.ts +1 -2
- package/es/molecule/review-header-steps/index.d.ts.map +1 -1
- package/es/molecule/review-header-steps/prop-types.d.ts +2 -2
- package/es/molecule/scope-content/index.d.ts +8 -9
- package/es/molecule/scope-content/index.d.ts.map +1 -1
- package/es/molecule/scope-tabs/index.d.ts +2 -3
- package/es/molecule/scope-tabs/index.d.ts.map +1 -1
- package/es/molecule/search-form/index.d.ts +1 -2
- package/es/molecule/search-form/index.d.ts.map +1 -1
- package/es/molecule/search-form/index.js +7 -0
- package/es/molecule/search-form/index.js.map +1 -1
- package/es/molecule/select-multiple/index.d.ts +4 -5
- package/es/molecule/select-multiple/index.d.ts.map +1 -1
- package/es/molecule/setup-cohort-item/index.d.ts +5 -6
- package/es/molecule/setup-cohort-item/index.d.ts.map +1 -1
- package/es/molecule/setup-section/index.d.ts +4 -5
- package/es/molecule/setup-section/index.d.ts.map +1 -1
- package/es/molecule/setup-sections/index.d.ts +5 -6
- package/es/molecule/setup-sections/index.d.ts.map +1 -1
- package/es/molecule/setup-slider/index.d.ts +1 -2
- package/es/molecule/setup-slider/index.d.ts.map +1 -1
- package/es/molecule/share/index.d.ts +3 -4
- package/es/molecule/share/index.d.ts.map +1 -1
- package/es/molecule/skill-card/index.d.ts +1 -2
- package/es/molecule/skill-card/index.d.ts.map +1 -1
- package/es/molecule/skill-card/index.js +3 -0
- package/es/molecule/skill-card/index.js.map +1 -1
- package/es/molecule/skill-card/index.native.d.ts +2 -2
- package/es/molecule/skill-card/index.native.d.ts.map +1 -1
- package/es/molecule/skill-picker-modal/index.d.ts +5 -6
- package/es/molecule/skill-picker-modal/index.d.ts.map +1 -1
- package/es/molecule/skills-chart-side-information-item/index.d.ts +2 -3
- package/es/molecule/skills-chart-side-information-item/index.d.ts.map +1 -1
- package/es/molecule/skills-chart-side-information-panel/index.d.ts +5 -6
- package/es/molecule/skills-chart-side-information-panel/index.d.ts.map +1 -1
- package/es/molecule/ssmenu-list/index.d.ts +3 -4
- package/es/molecule/ssmenu-list/index.d.ts.map +1 -1
- package/es/molecule/subscription-freemium/index.d.ts +1 -2
- package/es/molecule/subscription-freemium/index.d.ts.map +1 -1
- package/es/molecule/subscription-premium/index.d.ts +1 -2
- package/es/molecule/subscription-premium/index.d.ts.map +1 -1
- package/es/molecule/table/index.d.ts +9 -10
- package/es/molecule/table/index.d.ts.map +1 -1
- package/es/molecule/tabs/index.d.ts +3 -4
- package/es/molecule/tabs/index.d.ts.map +1 -1
- package/es/molecule/teams-popin/index.d.ts +1 -2
- package/es/molecule/teams-popin/index.d.ts.map +1 -1
- package/es/molecule/theme-image/index.d.ts +1 -2
- package/es/molecule/theme-image/index.d.ts.map +1 -1
- package/es/molecule/title-and-checkbox-wrapper/index.d.ts +20 -20
- package/es/molecule/title-and-checkbox-wrapper/index.d.ts.map +1 -1
- package/es/molecule/title-radio-wrapper/index.d.ts +15 -15
- package/es/molecule/title-radio-wrapper/types.d.ts +14 -14
- package/es/molecule/titled-checkbox/index.d.ts +1 -2
- package/es/molecule/titled-checkbox/index.d.ts.map +1 -1
- package/es/molecule/translation-modal/index.d.ts +1 -2
- package/es/molecule/translation-modal/index.d.ts.map +1 -1
- package/es/molecule/unsubscribe/index.d.ts +1 -2
- package/es/molecule/unsubscribe/index.d.ts.map +1 -1
- package/es/molecule/vertical-tabs/index.d.ts +3 -4
- package/es/molecule/vertical-tabs/index.d.ts.map +1 -1
- package/es/molecule/video-iframe/index.d.ts +1 -1
- package/es/molecule/video-iframe/index.d.ts.map +1 -1
- package/es/molecule/video-player/index.d.ts +5 -5
- package/es/molecule/video-player/index.d.ts.map +1 -1
- package/es/molecule/video-player/jwplayer-prop-types.d.ts +2 -2
- package/es/molecule/video-player/jwplayer.d.ts +3 -3
- package/es/molecule/video-player/jwplayer.d.ts.map +1 -1
- package/es/molecule/video-player/prop-types.d.ts +2 -2
- package/es/molecule/video-player/vimeo.d.ts +5 -5
- package/es/molecule/video-player/vimeo.d.ts.map +1 -1
- package/es/molecule/video-player-mobile/index.native.d.ts +2 -2
- package/es/molecule/video-player-mobile/index.native.d.ts.map +1 -1
- package/es/molecule/video-player-mobile/index.native.js +8 -9
- package/es/molecule/video-player-mobile/index.native.js.map +1 -1
- package/es/molecule/wizard-summary/index.d.ts +8 -9
- package/es/molecule/wizard-summary/index.d.ts.map +1 -1
- package/es/organism/accordion/container/index.d.ts +5 -6
- package/es/organism/accordion/container/index.d.ts.map +1 -1
- package/es/organism/accordion/coorp-manager/index.d.ts +5 -6
- package/es/organism/accordion/coorp-manager/index.d.ts.map +1 -1
- package/es/organism/accordion/coorp-manager/part/index.d.ts +1 -2
- package/es/organism/accordion/coorp-manager/part/index.d.ts.map +1 -1
- package/es/organism/accordion/part/index.d.ts +1 -2
- package/es/organism/accordion/part/index.d.ts.map +1 -1
- package/es/organism/accordion/toggler/index.d.ts +8 -8
- package/es/organism/accordion/toggler/index.d.ts.map +1 -1
- package/es/organism/brand-analytics/analytics-popin.d.ts +1 -2
- package/es/organism/brand-analytics/analytics-popin.d.ts.map +1 -1
- package/es/organism/brand-analytics/index.d.ts +12 -7
- package/es/organism/brand-analytics/index.d.ts.map +1 -1
- package/es/organism/brand-dashboard/index.d.ts +3 -4
- package/es/organism/brand-dashboard/index.d.ts.map +1 -1
- package/es/organism/brand-form/index.d.ts +4 -5
- package/es/organism/brand-form/index.d.ts.map +1 -1
- package/es/organism/brand-learning-priorities/index.d.ts +19 -20
- package/es/organism/brand-learning-priorities/index.d.ts.map +1 -1
- package/es/organism/brand-table/index.d.ts +9 -10
- package/es/organism/brand-table/index.d.ts.map +1 -1
- package/es/organism/brand-upload/index.d.ts +3 -4
- package/es/organism/brand-upload/index.d.ts.map +1 -1
- package/es/organism/cards-grid/index.d.ts +3 -3
- package/es/organism/cart/index.d.ts +1 -2
- package/es/organism/cart/index.d.ts.map +1 -1
- package/es/organism/content-skill-modal/index.d.ts +72 -72
- package/es/organism/content-skill-modal/types.d.ts +71 -71
- package/es/organism/content-translation/index.d.ts +3 -4
- package/es/organism/content-translation/index.d.ts.map +1 -1
- package/es/organism/course-selection/index.d.ts +2 -3
- package/es/organism/course-selection/index.d.ts.map +1 -1
- package/es/organism/discussion/index.d.ts +3 -4
- package/es/organism/discussion/index.d.ts.map +1 -1
- package/es/organism/filter-checkbox-and-search/index.d.ts +4 -4
- package/es/organism/filter-checkbox-and-search/index.d.ts.map +1 -1
- package/es/organism/filter-checkbox-and-search/props-types.d.ts +2 -2
- package/es/organism/filter-chip/index.d.ts +4 -4
- package/es/organism/filter-chip/index.d.ts.map +1 -1
- package/es/organism/filter-chip/prop-types.d.ts +2 -2
- package/es/organism/filter-range/index.d.ts +3 -3
- package/es/organism/filter-range/index.d.ts.map +1 -1
- package/es/organism/filter-range/prop-types.d.ts +1 -1
- package/es/organism/filter-switch/index.d.ts +4 -4
- package/es/organism/filter-switch/index.d.ts.map +1 -1
- package/es/organism/filter-switch/prop-types.d.ts +2 -2
- package/es/organism/get-the-app/index.d.ts +1 -2
- package/es/organism/get-the-app/index.d.ts.map +1 -1
- package/es/organism/grid-list/index.d.ts +1 -2
- package/es/organism/grid-list/index.d.ts.map +1 -1
- package/es/organism/header/index.d.ts +3 -4
- package/es/organism/header/index.d.ts.map +1 -1
- package/es/organism/header-v2/index.native.d.ts +2 -2
- package/es/organism/header-v2/index.native.d.ts.map +1 -1
- package/es/organism/header-with-actions/index.d.ts +6 -6
- package/es/organism/header-with-actions/index.d.ts.map +1 -1
- package/es/organism/header-with-actions/index.js +0 -1
- package/es/organism/header-with-actions/index.js.map +1 -1
- package/es/organism/header-with-actions/types.d.ts +4 -4
- package/es/organism/hero/index.d.ts +1 -2
- package/es/organism/hero/index.d.ts.map +1 -1
- package/es/organism/icon-editor/index.d.ts +4 -4
- package/es/organism/icon-editor/index.d.ts.map +1 -1
- package/es/organism/icon-editor/types.d.ts +2 -2
- package/es/organism/list-item/index.d.ts +12 -13
- package/es/organism/list-item/index.d.ts.map +1 -1
- package/es/organism/list-item/index.js +1 -0
- package/es/organism/list-item/index.js.map +1 -1
- package/es/organism/list-items/index.d.ts +64 -64
- package/es/organism/list-items/index.d.ts.map +1 -1
- package/es/organism/mobile-intro-popin/index.native.d.ts +2 -2
- package/es/organism/mobile-intro-popin/index.native.d.ts.map +1 -1
- package/es/organism/mobile-intro-popin/index.native.js.map +1 -1
- package/es/organism/mobile-navigation/index.native.d.ts +2 -2
- package/es/organism/mobile-navigation/index.native.d.ts.map +1 -1
- package/es/organism/mobile-navigation/index.native.js.map +1 -1
- package/es/organism/mooc/image-slider/index.d.ts +4 -5
- package/es/organism/mooc/image-slider/index.d.ts.map +1 -1
- package/es/organism/mooc-footer/index.d.ts +7 -8
- package/es/organism/mooc-footer/index.d.ts.map +1 -1
- package/es/organism/mooc-header/index.d.ts +11 -11
- package/es/organism/mooc-header/index.d.ts.map +1 -1
- package/es/organism/mooc-header/index.js +3 -0
- package/es/organism/mooc-header/index.js.map +1 -1
- package/es/organism/popin/index.d.ts +1 -2
- package/es/organism/popin/index.d.ts.map +1 -1
- package/es/organism/resource-browser/index.d.ts +4 -5
- package/es/organism/resource-browser/index.d.ts.map +1 -1
- package/es/organism/review-congrats/index.d.ts +1 -2
- package/es/organism/review-congrats/index.d.ts.map +1 -1
- package/es/organism/review-congrats/index.js +1 -0
- package/es/organism/review-congrats/index.js.map +1 -1
- package/es/organism/review-congrats/index.native.d.ts +2 -2
- package/es/organism/review-congrats/index.native.d.ts.map +1 -1
- package/es/organism/review-header/index.d.ts +1 -2
- package/es/organism/review-header/index.d.ts.map +1 -1
- package/es/organism/review-header/index.js +3 -0
- package/es/organism/review-header/index.js.map +1 -1
- package/es/organism/review-header/index.native.d.ts +2 -2
- package/es/organism/review-header/index.native.d.ts.map +1 -1
- package/es/organism/review-header/types.d.ts +2 -2
- package/es/organism/review-no-skills/index.d.ts +2 -3
- package/es/organism/review-no-skills/index.d.ts.map +1 -1
- package/es/organism/review-no-skills/index.native.d.ts +2 -2
- package/es/organism/review-no-skills/index.native.d.ts.map +1 -1
- package/es/organism/review-skills/index.d.ts +1 -2
- package/es/organism/review-skills/index.d.ts.map +1 -1
- package/es/organism/review-skills/index.native.d.ts +2 -2
- package/es/organism/review-skills/index.native.d.ts.map +1 -1
- package/es/organism/review-skills/prop-types.d.ts +2 -2
- package/es/organism/review-slide/index.d.ts +1 -2
- package/es/organism/review-slide/index.d.ts.map +1 -1
- package/es/organism/review-slide/index.native.d.ts +2 -2
- package/es/organism/review-slide/index.native.d.ts.map +1 -1
- package/es/organism/review-slide/index.native.js +5 -11
- package/es/organism/review-slide/index.native.js.map +1 -1
- package/es/organism/review-slide/prop-types.d.ts +14 -14
- package/es/organism/review-stacked-slides/index.d.ts +1 -2
- package/es/organism/review-stacked-slides/index.d.ts.map +1 -1
- package/es/organism/review-stacked-slides/index.native.d.ts +2 -2
- package/es/organism/review-stacked-slides/index.native.d.ts.map +1 -1
- package/es/organism/review-stacked-slides/prop-types.d.ts +35 -35
- package/es/organism/rewards-form/index.d.ts +22 -22
- package/es/organism/rewards-form/index.d.ts.map +1 -1
- package/es/organism/search-and-chips-results/index.d.ts +3 -4
- package/es/organism/search-and-chips-results/index.d.ts.map +1 -1
- package/es/organism/select-opponents/index.d.ts +21 -21
- package/es/organism/select-opponents/types.d.ts +20 -20
- package/es/organism/settings/index.d.ts +9 -10
- package/es/organism/settings/index.d.ts.map +1 -1
- package/es/organism/setup-header/index.d.ts +9 -10
- package/es/organism/setup-header/index.d.ts.map +1 -1
- package/es/organism/sidebar/index.d.ts +47 -24
- package/es/organism/sidebar/index.d.ts.map +1 -1
- package/es/organism/skill-edition/index.d.ts +8 -8
- package/es/organism/skill-edition/index.d.ts.map +1 -1
- package/es/organism/skill-edition/types.d.ts +6 -6
- package/es/organism/slider/index.d.ts +2 -2
- package/es/organism/slider/index.d.ts.map +1 -1
- package/es/organism/title-and-input/index.d.ts +47 -47
- package/es/organism/title-and-input/types.d.ts +46 -46
- package/es/organism/user-preferences/index.d.ts +3 -4
- package/es/organism/user-preferences/index.d.ts.map +1 -1
- package/es/organism/wizard-contents/index.d.ts +67 -67
- package/es/organism/wizard-contents/index.d.ts.map +1 -1
- package/es/template/activity/engine-stars.d.ts +1 -2
- package/es/template/activity/engine-stars.d.ts.map +1 -1
- package/es/template/activity/index.d.ts +8 -9
- package/es/template/activity/index.d.ts.map +1 -1
- package/es/template/activity/progression-item.d.ts +1 -2
- package/es/template/activity/progression-item.d.ts.map +1 -1
- package/es/template/activity/stars-summary.d.ts +3 -4
- package/es/template/activity/stars-summary.d.ts.map +1 -1
- package/es/template/app-player/loading/index.d.ts +83 -83
- package/es/template/app-player/loading/index.d.ts.map +1 -1
- package/es/template/app-player/player/index.d.ts +168 -168
- package/es/template/app-player/player/index.d.ts.map +1 -1
- package/es/template/app-player/player/slides/footer/index.d.ts +3 -4
- package/es/template/app-player/player/slides/footer/index.d.ts.map +1 -1
- package/es/template/app-player/player/slides/footer/index.js +5 -1
- package/es/template/app-player/player/slides/footer/index.js.map +1 -1
- package/es/template/app-player/player/slides/footer/style.css +0 -2
- package/es/template/app-player/player/slides/header/index.d.ts +3 -4
- package/es/template/app-player/player/slides/header/learner.css +3 -3
- package/es/template/app-player/player/slides/header/learner.d.ts +1 -2
- package/es/template/app-player/player/slides/header/learner.d.ts.map +1 -1
- package/es/template/app-player/player/slides/header/lives.d.ts +1 -2
- package/es/template/app-player/player/slides/header/lives.d.ts.map +1 -1
- package/es/template/app-player/player/slides/header/microlearning.css +3 -3
- package/es/template/app-player/player/slides/header/microlearning.d.ts +1 -2
- package/es/template/app-player/player/slides/header/microlearning.d.ts.map +1 -1
- package/es/template/app-player/player/slides/index.d.ts +110 -110
- package/es/template/app-player/player/slides/index.d.ts.map +1 -1
- package/es/template/app-player/player/slides/index.js +13 -4
- package/es/template/app-player/player/slides/index.js.map +1 -1
- package/es/template/app-player/player/slides/style.css +2 -4
- package/es/template/app-player/player/tourguide/index.d.ts +20 -20
- package/es/template/app-player/player/tourguide/index.d.ts.map +1 -1
- package/es/template/app-player/player/tourguide/style.css +4 -4
- package/es/template/app-player/popin-correction/index.d.ts +87 -87
- package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/es/template/app-player/popin-correction/index.js +34 -23
- package/es/template/app-player/popin-correction/index.js.map +1 -1
- package/es/template/app-player/popin-correction/style.css +1 -5
- package/es/template/app-player/popin-end/index.d.ts +94 -94
- package/es/template/app-player/popin-end/index.d.ts.map +1 -1
- package/es/template/app-player/popin-end/summary.css +1 -3
- package/es/template/app-player/popin-end/summary.d.ts +10 -11
- package/es/template/app-player/popin-end/summary.d.ts.map +1 -1
- package/es/template/app-player/popin-end/summary.js +9 -0
- package/es/template/app-player/popin-end/summary.js.map +1 -1
- package/es/template/app-player/popin-header/index.d.ts +59 -8
- package/es/template/app-player/popin-header/index.d.ts.map +1 -1
- package/es/template/app-player/popin-header/index.js +64 -7
- package/es/template/app-player/popin-header/index.js.map +1 -1
- package/es/template/app-player/popin-header/style.css +3 -20
- package/es/template/app-player/popin-no-access/index.d.ts +1 -2
- package/es/template/app-player/popin-no-access/index.d.ts.map +1 -1
- package/es/template/app-review/demo-ts/index.native.d.ts +2 -2
- package/es/template/app-review/demo-ts/index.native.d.ts.map +1 -1
- package/es/template/app-review/index.d.ts +119 -119
- package/es/template/app-review/index.native.d.ts +2 -2
- package/es/template/app-review/index.native.d.ts.map +1 -1
- package/es/template/app-review/player/background-review.d.ts +1 -2
- package/es/template/app-review/player/background-review.d.ts.map +1 -1
- package/es/template/app-review/player/index.d.ts +1 -2
- package/es/template/app-review/player/index.d.ts.map +1 -1
- package/es/template/app-review/player/index.native.d.ts +2 -2
- package/es/template/app-review/player/index.native.d.ts.map +1 -1
- package/es/template/app-review/player/prop-types.d.ts +118 -118
- package/es/template/app-review/prop-types.d.ts +118 -118
- package/es/template/app-review/skills/index.d.ts +1 -2
- package/es/template/app-review/skills/index.d.ts.map +1 -1
- package/es/template/app-review/skills/index.js +1 -0
- package/es/template/app-review/skills/index.js.map +1 -1
- package/es/template/app-review/skills/index.native.d.ts +2 -2
- package/es/template/app-review/skills/index.native.d.ts.map +1 -1
- package/es/template/app-review/skills/prop-types.d.ts +2 -2
- package/es/template/app-review/template-context.d.ts +2 -2
- package/es/template/app-review/template-context.d.ts.map +1 -1
- package/es/template/back-office/brand-create/index.d.ts +9 -10
- package/es/template/back-office/brand-list/index.d.ts +9 -10
- package/es/template/back-office/brand-update/index.d.ts +344 -338
- package/es/template/back-office/brand-update/index.d.ts.map +1 -1
- package/es/template/back-office/dashboard-preview/dashboard-popin.d.ts +1 -2
- package/es/template/back-office/dashboard-preview/dashboard-popin.d.ts.map +1 -1
- package/es/template/back-office/dashboard-preview/index.d.ts +9 -10
- package/es/template/back-office/layout/index.d.ts +9 -10
- package/es/template/battle-requests/index.d.ts +3 -4
- package/es/template/battle-requests/index.d.ts.map +1 -1
- package/es/template/certification-detail/index.d.ts +88 -88
- package/es/template/certification-detail/index.d.ts.map +1 -1
- package/es/template/certifications/index.d.ts +11 -12
- package/es/template/certifications/index.d.ts.map +1 -1
- package/es/template/cockpit/jw-uploader/index.d.ts +1 -2
- package/es/template/cockpit/jw-uploader/index.d.ts.map +1 -1
- package/es/template/common/authors/index.d.ts +5 -5
- package/es/template/common/authors/index.d.ts.map +1 -1
- package/es/template/common/coorp-header/index.d.ts +1 -2
- package/es/template/common/coorp-header/index.d.ts.map +1 -1
- package/es/template/common/dashboard/index.d.ts +165 -165
- package/es/template/common/dashboard/index.d.ts.map +1 -1
- package/es/template/common/discipline/index.d.ts +24 -25
- package/es/template/common/discipline/index.d.ts.map +1 -1
- package/es/template/common/faq-article-page/index.d.ts +4 -4
- package/es/template/common/faq-article-page/index.d.ts.map +1 -1
- package/es/template/common/faq-article-page/types.d.ts +2 -2
- package/es/template/common/faq-cards-page/index.d.ts +4 -4
- package/es/template/common/faq-cards-page/index.d.ts.map +1 -1
- package/es/template/common/faq-cards-page/types.d.ts +2 -2
- package/es/template/common/faq-page/index.d.ts +6 -6
- package/es/template/common/faq-page/index.d.ts.map +1 -1
- package/es/template/common/faq-page/types.d.ts +4 -4
- package/es/template/common/privacy-policy-page/index.d.ts +6 -6
- package/es/template/common/privacy-policy-page/index.d.ts.map +1 -1
- package/es/template/common/privacy-policy-page/types.d.ts +4 -4
- package/es/template/common/search-page/index.d.ts +117 -117
- package/es/template/common/search-page/index.d.ts.map +1 -1
- package/es/template/external-course/index.d.ts +83 -83
- package/es/template/external-course/index.d.ts.map +1 -1
- package/es/template/mobile-login/confirm-email-sent/index.native.d.ts +2 -2
- package/es/template/mobile-login/confirm-email-sent/index.native.d.ts.map +1 -1
- package/es/template/mobile-login/confirm-email-sent/index.native.js +10 -23
- package/es/template/mobile-login/confirm-email-sent/index.native.js.map +1 -1
- package/es/template/mobile-login/qr-code-scanner/index.native.d.ts +2 -2
- package/es/template/mobile-login/qr-code-scanner/index.native.d.ts.map +1 -1
- package/es/template/mobile-login/qr-code-scanner/index.native.js.map +1 -1
- package/es/template/mobile-login/receive-email/index.native.d.ts +2 -2
- package/es/template/mobile-login/receive-email/index.native.d.ts.map +1 -1
- package/es/template/mobile-login/receive-email/index.native.js.map +1 -1
- package/es/template/mobile-login/welcome/index.native.d.ts +2 -2
- package/es/template/mobile-login/welcome/index.native.d.ts.map +1 -1
- package/es/template/mobile-login/welcome/index.native.js +12 -25
- package/es/template/mobile-login/welcome/index.native.js.map +1 -1
- package/es/template/my-learning/index.d.ts +10 -11
- package/es/template/my-learning/index.d.ts.map +1 -1
- package/es/template/playlist-detail/index.d.ts +98 -98
- package/es/template/playlist-detail/index.d.ts.map +1 -1
- package/es/template/review-dashboard-skills/index.d.ts +3 -4
- package/es/template/review-dashboard-skills/index.d.ts.map +1 -1
- package/es/template/review-dashboard-skills/index.js +1 -0
- package/es/template/review-dashboard-skills/index.js.map +1 -1
- package/es/template/skill-detail/all-courses.d.ts +11 -11
- package/es/template/skill-detail/all-courses.d.ts.map +1 -1
- package/es/template/skill-detail/continue-learning.d.ts +4 -4
- package/es/template/skill-detail/continue-learning.d.ts.map +1 -1
- package/es/template/skill-detail/index.d.ts +8 -8
- package/es/template/skill-detail/index.d.ts.map +1 -1
- package/es/template/teams-dashboard/index.d.ts +10 -11
- package/es/template/teams-dashboard/index.d.ts.map +1 -1
- package/es/util/button-icons.d.ts +2 -2
- package/es/util/get-resized-image.d.ts +2 -2
- package/es/util/get-resized-image.d.ts.map +1 -1
- package/es/util/image.d.ts +1 -1
- package/es/util/image.d.ts.map +1 -1
- package/es/util/proptypes.d.ts +1 -1
- package/es/util/proptypes.d.ts.map +1 -1
- package/es/variables/colors.d.ts +1 -1
- package/es/variables/colors.js +1 -1
- package/es/variables/colors.js.map +1 -1
- package/lib/atom/autocomplete/index.d.ts +4 -5
- package/lib/atom/autocomplete/index.d.ts.map +1 -1
- package/lib/atom/avatar/index.d.ts +1 -2
- package/lib/atom/avatar/index.d.ts.map +1 -1
- package/lib/atom/battle-opponent/index.d.ts +2 -2
- package/lib/atom/battle-opponent/index.d.ts.map +1 -1
- package/lib/atom/battle-opponent/index.js +4 -2
- package/lib/atom/battle-opponent/index.js.map +1 -1
- package/lib/atom/button/index.d.ts +1 -2
- package/lib/atom/button/index.d.ts.map +1 -1
- package/lib/atom/button/index.native.d.ts +2 -2
- package/lib/atom/button/index.native.d.ts.map +1 -1
- package/lib/atom/button-link/index.d.ts +4 -4
- package/lib/atom/button-link/index.d.ts.map +1 -1
- package/lib/atom/button-link/types.d.ts +4 -4
- package/lib/atom/button-link/types.d.ts.map +1 -1
- package/lib/atom/button-link/types.js.map +1 -1
- package/lib/atom/button-link-icon/index.d.ts +1 -2
- package/lib/atom/button-link-icon/index.d.ts.map +1 -1
- package/lib/atom/button-menu/index.d.ts +5 -5
- package/lib/atom/button-menu/index.d.ts.map +1 -1
- package/lib/atom/button-menu/types.d.ts +4 -4
- package/lib/atom/card-image-preview/index.d.ts +1 -2
- package/lib/atom/card-image-preview/index.d.ts.map +1 -1
- package/lib/atom/catalog-section/index.d.ts +1 -2
- package/lib/atom/catalog-section/index.d.ts.map +1 -1
- package/lib/atom/centered-text/index.d.ts +1 -2
- package/lib/atom/centered-text/index.d.ts.map +1 -1
- package/lib/atom/checkbox/index.d.ts +1 -2
- package/lib/atom/checkbox/index.d.ts.map +1 -1
- package/lib/atom/checkbox-with-title/index.d.ts +2 -3
- package/lib/atom/checkbox-with-title/index.d.ts.map +1 -1
- package/lib/atom/chip/index.d.ts +2 -3
- package/lib/atom/chip/index.d.ts.map +1 -1
- package/lib/atom/chip/index.js +12 -2
- package/lib/atom/chip/index.js.map +1 -1
- package/lib/atom/chips/index.d.ts +1 -2
- package/lib/atom/chips/index.d.ts.map +1 -1
- package/lib/atom/chips/index.js +9 -0
- package/lib/atom/chips/index.js.map +1 -1
- package/lib/atom/choice/index.native.d.ts +2 -2
- package/lib/atom/choice/index.native.d.ts.map +1 -1
- package/lib/atom/choice/index.native.js +2 -4
- package/lib/atom/choice/index.native.js.map +1 -1
- package/lib/atom/circular-progress-bar/index.d.ts +2 -2
- package/lib/atom/circular-progress-bar/index.d.ts.map +1 -1
- package/lib/atom/circular-progress-bar/index.js +4 -0
- package/lib/atom/circular-progress-bar/index.js.map +1 -1
- package/lib/atom/clue/index.d.ts +3 -3
- package/lib/atom/clue/index.d.ts.map +1 -1
- package/lib/atom/content-badge/index.d.ts +1 -2
- package/lib/atom/content-badge/index.d.ts.map +1 -1
- package/lib/atom/cta/index.d.ts +2 -2
- package/lib/atom/cta/index.d.ts.map +1 -1
- package/lib/atom/difficulty-level/index.d.ts +3 -4
- package/lib/atom/difficulty-level/index.d.ts.map +1 -1
- package/lib/atom/drag-and-drop/index.d.ts +1 -1
- package/lib/atom/drag-and-drop/index.d.ts.map +1 -1
- package/lib/atom/empty-search-result/index.d.ts +1 -2
- package/lib/atom/empty-search-result/index.d.ts.map +1 -1
- package/lib/atom/gradient/index.native.d.ts +2 -2
- package/lib/atom/gradient/index.native.d.ts.map +1 -1
- package/lib/atom/gradient/index.native.js +8 -29
- package/lib/atom/gradient/index.native.js.map +1 -1
- package/lib/atom/header-back-button/index.native.d.ts +2 -2
- package/lib/atom/header-back-button/index.native.d.ts.map +1 -1
- package/lib/atom/header-back-icon/index.native.d.ts +2 -2
- package/lib/atom/header-back-icon/index.native.d.ts.map +1 -1
- package/lib/atom/html/index.native.d.ts +2 -2
- package/lib/atom/html/index.native.d.ts.map +1 -1
- package/lib/atom/html/index.native.js +21 -28
- package/lib/atom/html/index.native.js.map +1 -1
- package/lib/atom/icon/index.d.ts +1 -1
- package/lib/atom/icon/index.js +2 -2
- package/lib/atom/icon/index.js.map +1 -1
- package/lib/atom/image-background/index.native.d.ts +2 -2
- package/lib/atom/image-background/index.native.d.ts.map +1 -1
- package/lib/atom/image-background/index.native.js.map +1 -1
- package/lib/atom/input-checkbox/index.d.ts +1 -2
- package/lib/atom/input-checkbox/index.d.ts.map +1 -1
- package/lib/atom/input-color/index.d.ts +1 -2
- package/lib/atom/input-color/index.d.ts.map +1 -1
- package/lib/atom/input-doublestep/index.d.ts +2 -2
- package/lib/atom/input-doublestep/index.d.ts.map +1 -1
- package/lib/atom/input-file-draggable/index.d.ts +10 -11
- package/lib/atom/input-file-draggable/index.d.ts.map +1 -1
- package/lib/atom/input-html/index.d.ts +1 -2
- package/lib/atom/input-html/index.d.ts.map +1 -1
- package/lib/atom/input-html/input-preview.d.ts +1 -2
- package/lib/atom/input-html/input-preview.d.ts.map +1 -1
- package/lib/atom/input-readonly/index.d.ts +1 -2
- package/lib/atom/input-readonly/index.d.ts.map +1 -1
- package/lib/atom/input-search/index.d.ts +1 -2
- package/lib/atom/input-search/index.d.ts.map +1 -1
- package/lib/atom/input-select/index.d.ts +2 -2
- package/lib/atom/input-select/index.d.ts.map +1 -1
- package/lib/atom/input-select/index.js +2 -2
- package/lib/atom/input-select/index.js.map +1 -1
- package/lib/atom/input-switch/index.d.ts +1 -2
- package/lib/atom/input-switch/index.d.ts.map +1 -1
- package/lib/atom/input-text/index.d.ts +1 -2
- package/lib/atom/input-text/index.d.ts.map +1 -1
- package/lib/atom/input-text-with-title/index.d.ts +1 -2
- package/lib/atom/input-text-with-title/index.d.ts.map +1 -1
- package/lib/atom/input-text-with-title/index.js +1 -0
- package/lib/atom/input-text-with-title/index.js.map +1 -1
- package/lib/atom/input-textarea/index.d.ts +1 -2
- package/lib/atom/input-textarea/index.d.ts.map +1 -1
- package/lib/atom/label/index.d.ts +2 -3
- package/lib/atom/label/index.d.ts.map +1 -1
- package/lib/atom/life/index.d.ts +1 -2
- package/lib/atom/life/index.d.ts.map +1 -1
- package/lib/atom/link/index.d.ts +1 -2
- package/lib/atom/link/index.d.ts.map +1 -1
- package/lib/atom/loader/index.d.ts +2 -3
- package/lib/atom/loader/index.d.ts.map +1 -1
- package/lib/atom/loader/index.native.d.ts +2 -2
- package/lib/atom/loader/index.native.d.ts.map +1 -1
- package/lib/atom/loader/index.native.js +1 -5
- package/lib/atom/loader/index.native.js.map +1 -1
- package/lib/atom/lottie-wrapper/index.d.ts +1 -2
- package/lib/atom/lottie-wrapper/index.d.ts.map +1 -1
- package/lib/atom/notification/index.d.ts +1 -2
- package/lib/atom/notification/index.d.ts.map +1 -1
- package/lib/atom/picture/index.d.ts +1 -2
- package/lib/atom/picture/index.d.ts.map +1 -1
- package/lib/atom/picture-background/index.d.ts +4 -5
- package/lib/atom/picture-background/index.d.ts.map +1 -1
- package/lib/atom/promo-code/index.d.ts +1 -2
- package/lib/atom/promo-code/index.d.ts.map +1 -1
- package/lib/atom/provider/index.d.ts +26 -1
- package/lib/atom/provider/index.d.ts.map +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.d.ts +2 -2
- package/lib/atom/provider/web-context.d.ts.map +1 -1
- package/lib/atom/radio-group/index.d.ts +3 -4
- package/lib/atom/radio-group/index.d.ts.map +1 -1
- package/lib/atom/radio-group/item.d.ts +1 -2
- package/lib/atom/radio-group/item.d.ts.map +1 -1
- package/lib/atom/radio-with-title/index.d.ts +13 -13
- package/lib/atom/radio-with-title/types.d.ts +12 -12
- package/lib/atom/range/handle.d.ts +1 -2
- package/lib/atom/range/handle.d.ts.map +1 -1
- package/lib/atom/range/index.d.ts +2 -2
- package/lib/atom/range/index.d.ts.map +1 -1
- package/lib/atom/resource-miniature/index.d.ts +1 -2
- package/lib/atom/resource-miniature/index.d.ts.map +1 -1
- package/lib/atom/review-presentation/index.d.ts +1 -2
- package/lib/atom/review-presentation/index.d.ts.map +1 -1
- package/lib/atom/review-presentation/index.js +1 -0
- package/lib/atom/review-presentation/index.js.map +1 -1
- package/lib/atom/review-presentation/index.native.d.ts +2 -2
- package/lib/atom/review-presentation/index.native.d.ts.map +1 -1
- package/lib/atom/select/index.d.ts +13 -14
- package/lib/atom/select/index.d.ts.map +1 -1
- package/lib/atom/select-icon/index.d.ts +1 -2
- package/lib/atom/select-icon/index.d.ts.map +1 -1
- package/lib/atom/select-modal/index.native.d.ts +2 -2
- package/lib/atom/select-modal/index.native.d.ts.map +1 -1
- package/lib/atom/select-modal/index.native.js +3 -4
- package/lib/atom/select-modal/index.native.js.map +1 -1
- package/lib/atom/slide/index.d.ts +1 -2
- package/lib/atom/slide/index.d.ts.map +1 -1
- package/lib/atom/social-link/index.d.ts +1 -2
- package/lib/atom/social-link/index.d.ts.map +1 -1
- package/lib/atom/space/index.native.d.ts +2 -2
- package/lib/atom/space/index.native.d.ts.map +1 -1
- package/lib/atom/spinner/index.d.ts +1 -2
- package/lib/atom/spinner/index.d.ts.map +1 -1
- package/lib/atom/status-item/index.d.ts +2 -2
- package/lib/atom/status-item/index.d.ts.map +1 -1
- package/lib/atom/status-item/index.native.d.ts +2 -2
- package/lib/atom/status-item/index.native.d.ts.map +1 -1
- package/lib/atom/tab/index.d.ts +4 -5
- package/lib/atom/tab/index.d.ts.map +1 -1
- package/lib/atom/tab-content/index.d.ts +1 -2
- package/lib/atom/tab-content/index.d.ts.map +1 -1
- package/lib/atom/tag/index.d.ts +16 -16
- package/lib/atom/tag/index.d.ts.map +1 -1
- package/lib/atom/text/index.native.d.ts +1 -1
- package/lib/atom/text/index.native.d.ts.map +1 -1
- package/lib/atom/title/index.d.ts +14 -14
- package/lib/atom/title/index.d.ts.map +1 -1
- package/lib/atom/title/index.js +1 -0
- package/lib/atom/title/index.js.map +1 -1
- package/lib/atom/tooltip/index.d.ts +5 -6
- package/lib/atom/tooltip/index.d.ts.map +1 -1
- package/lib/atom/tooltip/index.js +1 -0
- package/lib/atom/tooltip/index.js.map +1 -1
- package/lib/atom/video-upload/index.d.ts +1 -2
- package/lib/atom/video-upload/index.d.ts.map +1 -1
- package/lib/atom/wizard-steps/index.d.ts +3 -4
- package/lib/atom/wizard-steps/index.d.ts.map +1 -1
- package/lib/globals.d.js.map +1 -1
- package/lib/hoc/animation/index.d.ts +1 -1
- package/lib/hoc/animation-scheduler/index.d.ts +1 -1
- package/lib/hoc/modal/index.native.d.ts +1 -1
- package/lib/hoc/modal/index.native.d.ts.map +1 -1
- package/lib/hoc/modal/select/index.native.d.ts +2 -2
- package/lib/hoc/modal/select/index.native.d.ts.map +1 -1
- package/lib/hoc/modal/select-item/index.native.d.ts +2 -2
- package/lib/hoc/modal/select-item/index.native.d.ts.map +1 -1
- package/lib/hoc/swapper/index.d.ts +2 -3
- package/lib/hoc/swapper/index.d.ts.map +1 -1
- package/lib/hoc/touchable/index.native.d.ts +1 -1
- package/lib/hoc/touchable/index.native.d.ts.map +1 -1
- package/lib/hoc/touchable/index.native.js +2 -13
- package/lib/hoc/touchable/index.native.js.map +1 -1
- package/lib/hoc/transition/index.d.ts +1 -1
- package/lib/molecule/add-to-my-list/index.d.ts +3 -4
- package/lib/molecule/add-to-my-list/index.d.ts.map +1 -1
- package/lib/molecule/answer/index.d.ts +1 -2
- package/lib/molecule/answer/index.d.ts.map +1 -1
- package/lib/molecule/answer/index.native.d.ts +2 -2
- package/lib/molecule/answer/index.native.d.ts.map +1 -1
- package/lib/molecule/answer/prop-types.d.ts +10 -10
- package/lib/molecule/audio/index.d.ts +1 -1
- package/lib/molecule/audio/index.d.ts.map +1 -1
- package/lib/molecule/banner/index.d.ts +3 -4
- package/lib/molecule/banner/index.d.ts.map +1 -1
- package/lib/molecule/base-modal/index.d.ts +3 -4
- package/lib/molecule/base-modal/index.d.ts.map +1 -1
- package/lib/molecule/base-modal/index.js +1 -0
- package/lib/molecule/base-modal/index.js.map +1 -1
- package/lib/molecule/battle-opponent-list/index.d.ts +4 -4
- package/lib/molecule/battle-opponent-list/index.d.ts.map +1 -1
- package/lib/molecule/battle-opponent-list/prop-types.d.ts +2 -2
- package/lib/molecule/battle-request/index.d.ts +1 -2
- package/lib/molecule/battle-request/index.d.ts.map +1 -1
- package/lib/molecule/brand-card/description.d.ts +1 -2
- package/lib/molecule/brand-card/description.d.ts.map +1 -1
- package/lib/molecule/brand-card/index.d.ts +1 -2
- package/lib/molecule/brand-card/index.d.ts.map +1 -1
- package/lib/molecule/brand-card-create/index.d.ts +1 -2
- package/lib/molecule/brand-card-create/index.d.ts.map +1 -1
- package/lib/molecule/brand-create-form/index.d.ts +1 -2
- package/lib/molecule/brand-create-form/index.d.ts.map +1 -1
- package/lib/molecule/brand-download-box/index.d.ts +1 -2
- package/lib/molecule/brand-download-box/index.d.ts.map +1 -1
- package/lib/molecule/brand-form-group/index.d.ts +2 -3
- package/lib/molecule/brand-form-group/index.d.ts.map +1 -1
- package/lib/molecule/brand-logo/index.native.d.ts +2 -2
- package/lib/molecule/brand-logo/index.native.d.ts.map +1 -1
- package/lib/molecule/brand-logo/index.native.js.map +1 -1
- package/lib/molecule/brand-tabs/index.d.ts +3 -4
- package/lib/molecule/brand-tabs/index.d.ts.map +1 -1
- package/lib/molecule/brand-upload-box/index.d.ts +1 -1
- package/lib/molecule/brand-upload-box/index.d.ts.map +1 -1
- package/lib/molecule/breadcrumbs/index.d.ts +5 -6
- package/lib/molecule/breadcrumbs/index.d.ts.map +1 -1
- package/lib/molecule/bulk-infos/index.d.ts +2 -2
- package/lib/molecule/bulk-infos/index.d.ts.map +1 -1
- package/lib/molecule/bulk-progress-bar/index.d.ts +2 -2
- package/lib/molecule/bulk-progress-bar/index.d.ts.map +1 -1
- package/lib/molecule/bullet-point-menu-button/index.d.ts +5 -5
- package/lib/molecule/bullet-point-menu-button/index.d.ts.map +1 -1
- package/lib/molecule/bullet-point-menu-button/index.js +1 -0
- package/lib/molecule/bullet-point-menu-button/index.js.map +1 -1
- package/lib/molecule/bullet-point-menu-button/types.d.ts +3 -3
- package/lib/molecule/button-menu-action/index.d.ts +8 -8
- package/lib/molecule/button-menu-action/index.d.ts.map +1 -1
- package/lib/molecule/button-menu-action/index.js +1 -0
- package/lib/molecule/button-menu-action/index.js.map +1 -1
- package/lib/molecule/button-menu-action/types.d.ts +6 -6
- package/lib/molecule/card/customer.d.ts +2 -3
- package/lib/molecule/card/customer.d.ts.map +1 -1
- package/lib/molecule/card/customer.js +1 -0
- package/lib/molecule/card/customer.js.map +1 -1
- package/lib/molecule/card/favorite.d.ts +3 -4
- package/lib/molecule/card/favorite.d.ts.map +1 -1
- package/lib/molecule/card/index.d.ts +1 -1
- package/lib/molecule/card/index.d.ts.map +1 -1
- package/lib/molecule/card/index.js +7 -0
- package/lib/molecule/card/index.js.map +1 -1
- package/lib/molecule/card/notification.d.ts +1 -2
- package/lib/molecule/card/notification.d.ts.map +1 -1
- package/lib/molecule/card/selectable.d.ts +1 -2
- package/lib/molecule/card/selectable.d.ts.map +1 -1
- package/lib/molecule/card-congrats/index.native.d.ts +2 -2
- package/lib/molecule/card-congrats/index.native.d.ts.map +1 -1
- package/lib/molecule/card-content/index.d.ts +7 -8
- package/lib/molecule/card-content/index.d.ts.map +1 -1
- package/lib/molecule/card-content/index.js +1 -0
- package/lib/molecule/card-content/index.js.map +1 -1
- package/lib/molecule/card-with-button/index.d.ts +2 -3
- package/lib/molecule/card-with-button/index.d.ts.map +1 -1
- package/lib/molecule/certification-card/index.d.ts +1 -2
- package/lib/molecule/certification-card/index.d.ts.map +1 -1
- package/lib/molecule/cm-popin/index.d.ts +1 -2
- package/lib/molecule/cm-popin/index.d.ts.map +1 -1
- package/lib/molecule/cm-popin/index.native.d.ts +2 -2
- package/lib/molecule/cm-popin/index.native.d.ts.map +1 -1
- package/lib/molecule/cm-popin/types.d.ts +81 -81
- package/lib/molecule/cookie-banner/index.d.ts +1 -2
- package/lib/molecule/cookie-banner/index.d.ts.map +1 -1
- package/lib/molecule/coorp-manager-roles/index.d.ts +3 -4
- package/lib/molecule/coorp-manager-roles/index.d.ts.map +1 -1
- package/lib/molecule/coorpmanager-base-banner/index.d.ts +1 -2
- package/lib/molecule/coorpmanager-base-banner/index.d.ts.map +1 -1
- package/lib/molecule/course-section/index.d.ts +3 -4
- package/lib/molecule/course-section/index.d.ts.map +1 -1
- package/lib/molecule/course-section/index.js +3 -0
- package/lib/molecule/course-section/index.js.map +1 -1
- package/lib/molecule/course-sections/index.d.ts +5 -6
- package/lib/molecule/course-sections/index.d.ts.map +1 -1
- package/lib/molecule/dashboard/cards-list/index.d.ts +10 -10
- package/lib/molecule/dashboard/cards-list/index.d.ts.map +1 -1
- package/lib/molecule/dashboard/learning-profile-banner/index.d.ts.map +1 -1
- package/lib/molecule/dashboard/learning-profile-banner/index.js +2 -4
- package/lib/molecule/dashboard/learning-profile-banner/index.js.map +1 -1
- package/lib/molecule/dashboard/review-banner/index.d.ts.map +1 -1
- package/lib/molecule/dashboard/review-banner/index.js +2 -4
- package/lib/molecule/dashboard/review-banner/index.js.map +1 -1
- package/lib/molecule/discipline-associated-skills/index.d.ts +3 -4
- package/lib/molecule/discipline-associated-skills/index.d.ts.map +1 -1
- package/lib/molecule/discipline-cta/index.d.ts +1 -2
- package/lib/molecule/discipline-cta/index.d.ts.map +1 -1
- package/lib/molecule/discipline-header/index.d.ts +3 -3
- package/lib/molecule/discipline-header/index.d.ts.map +1 -1
- package/lib/molecule/discipline-partners/index.d.ts +5 -6
- package/lib/molecule/discipline-partners/index.d.ts.map +1 -1
- package/lib/molecule/discipline-scope/index.d.ts +9 -10
- package/lib/molecule/discipline-scope/index.d.ts.map +1 -1
- package/lib/molecule/drag-and-drop/index.d.ts +5 -6
- package/lib/molecule/drag-and-drop/index.d.ts.map +1 -1
- package/lib/molecule/drag-and-drop/overlay.d.ts +1 -2
- package/lib/molecule/drag-and-drop/overlay.d.ts.map +1 -1
- package/lib/molecule/drag-and-drop/placeholder.d.ts +1 -2
- package/lib/molecule/drag-and-drop/placeholder.d.ts.map +1 -1
- package/lib/molecule/drag-and-drop/upload-report.d.ts +4 -5
- package/lib/molecule/drag-and-drop/upload-report.d.ts.map +1 -1
- package/lib/molecule/drag-and-drop-wrapper/index.d.ts +4 -5
- package/lib/molecule/drag-and-drop-wrapper/index.d.ts.map +1 -1
- package/lib/molecule/draggable/index.d.ts +1 -2
- package/lib/molecule/draggable/index.d.ts.map +1 -1
- package/lib/molecule/draggable-list/index.d.ts +14 -15
- package/lib/molecule/draggable-list/index.d.ts.map +1 -1
- package/lib/molecule/errors-table/index.d.ts +7 -7
- package/lib/molecule/errors-table/index.d.ts.map +1 -1
- package/lib/molecule/errors-table/types.d.ts +5 -5
- package/lib/molecule/expandable-item/index.d.ts +2 -2
- package/lib/molecule/expandable-item/index.d.ts.map +1 -1
- package/lib/molecule/expandable-list/index.d.ts +4 -4
- package/lib/molecule/expandable-list/index.d.ts.map +1 -1
- package/lib/molecule/expandable-list/types.d.ts +2 -2
- package/lib/molecule/expandible-actionable-table/index.d.ts +18 -18
- package/lib/molecule/expandible-actionable-table/index.d.ts.map +1 -1
- package/lib/molecule/expandible-actionable-table/types.d.ts +16 -16
- package/lib/molecule/external-content-button/index.d.ts +1 -1
- package/lib/molecule/external-content-button/index.d.ts.map +1 -1
- package/lib/molecule/external-content-viewer/index.d.ts +1 -2
- package/lib/molecule/external-content-viewer/index.d.ts.map +1 -1
- package/lib/molecule/feedback/index.d.ts +1 -2
- package/lib/molecule/feedback/index.d.ts.map +1 -1
- package/lib/molecule/filters/filters-wrapper.d.ts +3 -4
- package/lib/molecule/filters/filters-wrapper.d.ts.map +1 -1
- package/lib/molecule/filters/index.d.ts +11 -11
- package/lib/molecule/filters/index.d.ts.map +1 -1
- package/lib/molecule/forum/forum-comment/index.d.ts +1 -2
- package/lib/molecule/forum/forum-comment/index.d.ts.map +1 -1
- package/lib/molecule/forum/forum-post/index.d.ts +1 -2
- package/lib/molecule/forum/forum-post/index.d.ts.map +1 -1
- package/lib/molecule/forum/forum-thread/index.d.ts +1 -2
- package/lib/molecule/forum/forum-thread/index.d.ts.map +1 -1
- package/lib/molecule/go1-banner/index.d.ts +1 -2
- package/lib/molecule/go1-banner/index.d.ts.map +1 -1
- package/lib/molecule/hero/index.d.ts +2 -2
- package/lib/molecule/hero/index.d.ts.map +1 -1
- package/lib/molecule/icon-picker-modal/index.d.ts +1 -2
- package/lib/molecule/icon-picker-modal/index.d.ts.map +1 -1
- package/lib/molecule/icon-picker-modal/index.js +2 -2
- package/lib/molecule/icon-picker-modal/index.js.map +1 -1
- package/lib/molecule/icon-preview/index.d.ts +1 -1
- package/lib/molecule/input-text-with-titled-checkbox/index.d.ts +1 -2
- package/lib/molecule/input-text-with-titled-checkbox/index.d.ts.map +1 -1
- package/lib/molecule/learner-skill-card/index.d.ts +1 -2
- package/lib/molecule/learner-skill-card/index.d.ts.map +1 -1
- package/lib/molecule/learner-skill-card/index.js +11 -0
- package/lib/molecule/learner-skill-card/index.js.map +1 -1
- package/lib/molecule/learning-priority-card/index.d.ts +2 -2
- package/lib/molecule/learning-priority-card/index.d.ts.map +1 -1
- package/lib/molecule/learning-priority-card/index.js +1 -0
- package/lib/molecule/learning-priority-card/index.js.map +1 -1
- package/lib/molecule/learning-priority-modal/index.d.ts +7 -8
- package/lib/molecule/learning-priority-modal/index.d.ts.map +1 -1
- package/lib/molecule/learning-priority-setup-item/index.d.ts +1 -2
- package/lib/molecule/learning-priority-setup-item/index.d.ts.map +1 -1
- package/lib/molecule/learning-priority-setup-item/index.js +1 -0
- package/lib/molecule/learning-priority-setup-item/index.js.map +1 -1
- package/lib/molecule/learning-profile-radar-chart/index.d.ts +13 -13
- package/lib/molecule/learning-profile-radar-chart/index.d.ts.map +1 -1
- package/lib/molecule/learning-profile-radar-chart/types.d.ts +8 -8
- package/lib/molecule/list-badges/index.d.ts +3 -4
- package/lib/molecule/list-badges/index.d.ts.map +1 -1
- package/lib/molecule/login-alert/index.d.ts +1 -2
- package/lib/molecule/login-alert/index.d.ts.map +1 -1
- package/lib/molecule/menu-links/index.d.ts +4 -4
- package/lib/molecule/menu-links/index.d.ts.map +1 -1
- package/lib/molecule/menu-links/types.d.ts +2 -2
- package/lib/molecule/menu-list/index.d.ts +3 -4
- package/lib/molecule/menu-list/index.d.ts.map +1 -1
- package/lib/molecule/message-popin/index.d.ts +1 -2
- package/lib/molecule/message-popin/index.d.ts.map +1 -1
- package/lib/molecule/modal/index.d.ts +1 -2
- package/lib/molecule/modal/index.d.ts.map +1 -1
- package/lib/molecule/module-bubble/index.d.ts +1 -2
- package/lib/molecule/module-bubble/index.d.ts.map +1 -1
- package/lib/molecule/module-card/index.d.ts +1 -2
- package/lib/molecule/module-card/index.d.ts.map +1 -1
- package/lib/molecule/multi-filter-panel/index.d.ts +11 -11
- package/lib/molecule/multi-filter-panel/index.d.ts.map +1 -1
- package/lib/molecule/multi-filter-panel/prop-types.d.ts +9 -9
- package/lib/molecule/news/index.d.ts +1 -2
- package/lib/molecule/news/index.d.ts.map +1 -1
- package/lib/molecule/notification-banner/index.d.ts +1 -2
- package/lib/molecule/notification-banner/index.d.ts.map +1 -1
- package/lib/molecule/pagination/index.d.ts +1 -2
- package/lib/molecule/pagination/index.d.ts.map +1 -1
- package/lib/molecule/payment-form/index.d.ts +1 -1
- package/lib/molecule/payment-form/index.d.ts.map +1 -1
- package/lib/molecule/pdf/index.d.ts +1 -2
- package/lib/molecule/pdf/index.d.ts.map +1 -1
- package/lib/molecule/playlist-card/index.d.ts +3 -4
- package/lib/molecule/playlist-card/index.d.ts.map +1 -1
- package/lib/molecule/playlist-detail-cover/index.d.ts +3 -4
- package/lib/molecule/playlist-detail-cover/index.d.ts.map +1 -1
- package/lib/molecule/popin/index.d.ts +1 -2
- package/lib/molecule/popin/index.d.ts.map +1 -1
- package/lib/molecule/privacy-policy-contact/index.d.ts +2 -2
- package/lib/molecule/privacy-policy-contact/index.d.ts.map +1 -1
- package/lib/molecule/product-card/index.d.ts +1 -2
- package/lib/molecule/product-card/index.d.ts.map +1 -1
- package/lib/molecule/progress-bar/index.d.ts +2 -3
- package/lib/molecule/progress-bar/index.d.ts.map +1 -1
- package/lib/molecule/progress-wrapper/index.d.ts +3 -4
- package/lib/molecule/progress-wrapper/index.d.ts.map +1 -1
- package/lib/molecule/progress-wrapper/index.js +3 -0
- package/lib/molecule/progress-wrapper/index.js.map +1 -1
- package/lib/molecule/questions/drop-down/index.d.ts +4 -5
- package/lib/molecule/questions/drop-down/index.d.ts.map +1 -1
- package/lib/molecule/questions/free-text/index.d.ts +1 -2
- package/lib/molecule/questions/free-text/index.d.ts.map +1 -1
- package/lib/molecule/questions/free-text/index.native.d.ts +2 -2
- package/lib/molecule/questions/free-text/index.native.d.ts.map +1 -1
- package/lib/molecule/questions/free-text/index.native.js +2 -4
- package/lib/molecule/questions/free-text/index.native.js.map +1 -1
- package/lib/molecule/questions/mobile/draggable/index.native.d.ts +2 -2
- package/lib/molecule/questions/mobile/draggable/index.native.d.ts.map +1 -1
- package/lib/molecule/questions/mobile/draggable/index.native.js +1 -1
- package/lib/molecule/questions/mobile/draggable/index.native.js.map +1 -1
- package/lib/molecule/questions/mobile/slider/index.native.d.ts +2 -2
- package/lib/molecule/questions/mobile/slider/index.native.d.ts.map +1 -1
- package/lib/molecule/questions/mobile/slider/index.native.js +34 -22
- package/lib/molecule/questions/mobile/slider/index.native.js.map +1 -1
- package/lib/molecule/questions/mobile/switch/index.native.d.ts +2 -2
- package/lib/molecule/questions/mobile/switch/index.native.d.ts.map +1 -1
- package/lib/molecule/questions/mobile/template/index.native.d.ts +2 -2
- package/lib/molecule/questions/mobile/template/index.native.d.ts.map +1 -1
- package/lib/molecule/questions/mobile/template/index.native.js +3 -13
- package/lib/molecule/questions/mobile/template/index.native.js.map +1 -1
- package/lib/molecule/questions/qcm/index.d.ts +3 -4
- package/lib/molecule/questions/qcm/index.d.ts.map +1 -1
- package/lib/molecule/questions/qcm/index.js +10 -0
- package/lib/molecule/questions/qcm/index.js.map +1 -1
- package/lib/molecule/questions/qcm-drag/index.d.ts +5 -6
- package/lib/molecule/questions/qcm-drag/index.d.ts.map +1 -1
- package/lib/molecule/questions/qcm-drag/style.css +1 -1
- package/lib/molecule/questions/qcm-graphic/index.d.ts +3 -4
- package/lib/molecule/questions/qcm-graphic/index.d.ts.map +1 -1
- package/lib/molecule/questions/qcm-graphic/index.js +1 -0
- package/lib/molecule/questions/qcm-graphic/index.js.map +1 -1
- package/lib/molecule/questions/question-range/index.d.ts +1 -2
- package/lib/molecule/questions/question-range/index.d.ts.map +1 -1
- package/lib/molecule/questions/template/index.d.ts +17 -7
- package/lib/molecule/questions/template/index.d.ts.map +1 -1
- package/lib/molecule/questions/types.d.ts +1 -1
- package/lib/molecule/questions/types.d.ts.map +1 -1
- package/lib/molecule/questions/types.js.map +1 -1
- package/lib/molecule/quick-access-card/index.d.ts +1 -2
- package/lib/molecule/quick-access-card/index.d.ts.map +1 -1
- package/lib/molecule/quick-access-cards-group/index.d.ts +3 -4
- package/lib/molecule/quick-access-cards-group/index.d.ts.map +1 -1
- package/lib/molecule/quick-filters/index.d.ts +5 -5
- package/lib/molecule/quick-filters/index.d.ts.map +1 -1
- package/lib/molecule/quick-filters/index.js +1 -0
- package/lib/molecule/quick-filters/index.js.map +1 -1
- package/lib/molecule/quick-filters/types.d.ts +4 -4
- package/lib/molecule/resource-player/index.d.ts +4 -4
- package/lib/molecule/resource-player/index.d.ts.map +1 -1
- package/lib/molecule/review-card-congrats/index.d.ts +1 -2
- package/lib/molecule/review-card-congrats/index.d.ts.map +1 -1
- package/lib/molecule/review-correction-popin/index.d.ts +1 -2
- package/lib/molecule/review-correction-popin/index.d.ts.map +1 -1
- package/lib/molecule/review-correction-popin/index.js +3 -0
- package/lib/molecule/review-correction-popin/index.js.map +1 -1
- package/lib/molecule/review-correction-popin/index.native.d.ts +2 -2
- package/lib/molecule/review-correction-popin/index.native.d.ts.map +1 -1
- package/lib/molecule/review-header-steps/index.d.ts +1 -2
- package/lib/molecule/review-header-steps/index.d.ts.map +1 -1
- package/lib/molecule/review-header-steps/prop-types.d.ts +2 -2
- package/lib/molecule/scope-content/index.d.ts +8 -9
- package/lib/molecule/scope-content/index.d.ts.map +1 -1
- package/lib/molecule/scope-tabs/index.d.ts +2 -3
- package/lib/molecule/scope-tabs/index.d.ts.map +1 -1
- package/lib/molecule/search-form/index.d.ts +1 -2
- package/lib/molecule/search-form/index.d.ts.map +1 -1
- package/lib/molecule/search-form/index.js +7 -0
- package/lib/molecule/search-form/index.js.map +1 -1
- package/lib/molecule/select-multiple/index.d.ts +4 -5
- package/lib/molecule/select-multiple/index.d.ts.map +1 -1
- package/lib/molecule/setup-cohort-item/index.d.ts +5 -6
- package/lib/molecule/setup-cohort-item/index.d.ts.map +1 -1
- package/lib/molecule/setup-section/index.d.ts +4 -5
- package/lib/molecule/setup-section/index.d.ts.map +1 -1
- package/lib/molecule/setup-sections/index.d.ts +5 -6
- package/lib/molecule/setup-sections/index.d.ts.map +1 -1
- package/lib/molecule/setup-slider/index.d.ts +1 -2
- package/lib/molecule/setup-slider/index.d.ts.map +1 -1
- package/lib/molecule/share/index.d.ts +3 -4
- package/lib/molecule/share/index.d.ts.map +1 -1
- package/lib/molecule/skill-card/index.d.ts +1 -2
- package/lib/molecule/skill-card/index.d.ts.map +1 -1
- package/lib/molecule/skill-card/index.js +3 -0
- package/lib/molecule/skill-card/index.js.map +1 -1
- package/lib/molecule/skill-card/index.native.d.ts +2 -2
- package/lib/molecule/skill-card/index.native.d.ts.map +1 -1
- package/lib/molecule/skill-picker-modal/index.d.ts +5 -6
- package/lib/molecule/skill-picker-modal/index.d.ts.map +1 -1
- package/lib/molecule/skills-chart-side-information-item/index.d.ts +2 -3
- package/lib/molecule/skills-chart-side-information-item/index.d.ts.map +1 -1
- package/lib/molecule/skills-chart-side-information-panel/index.d.ts +5 -6
- package/lib/molecule/skills-chart-side-information-panel/index.d.ts.map +1 -1
- package/lib/molecule/ssmenu-list/index.d.ts +3 -4
- package/lib/molecule/ssmenu-list/index.d.ts.map +1 -1
- package/lib/molecule/subscription-freemium/index.d.ts +1 -2
- package/lib/molecule/subscription-freemium/index.d.ts.map +1 -1
- package/lib/molecule/subscription-premium/index.d.ts +1 -2
- package/lib/molecule/subscription-premium/index.d.ts.map +1 -1
- package/lib/molecule/table/index.d.ts +9 -10
- package/lib/molecule/table/index.d.ts.map +1 -1
- package/lib/molecule/tabs/index.d.ts +3 -4
- package/lib/molecule/tabs/index.d.ts.map +1 -1
- package/lib/molecule/teams-popin/index.d.ts +1 -2
- package/lib/molecule/teams-popin/index.d.ts.map +1 -1
- package/lib/molecule/theme-image/index.d.ts +1 -2
- package/lib/molecule/theme-image/index.d.ts.map +1 -1
- package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +20 -20
- package/lib/molecule/title-and-checkbox-wrapper/index.d.ts.map +1 -1
- package/lib/molecule/title-radio-wrapper/index.d.ts +15 -15
- package/lib/molecule/title-radio-wrapper/types.d.ts +14 -14
- package/lib/molecule/titled-checkbox/index.d.ts +1 -2
- package/lib/molecule/titled-checkbox/index.d.ts.map +1 -1
- package/lib/molecule/translation-modal/index.d.ts +1 -2
- package/lib/molecule/translation-modal/index.d.ts.map +1 -1
- package/lib/molecule/unsubscribe/index.d.ts +1 -2
- package/lib/molecule/unsubscribe/index.d.ts.map +1 -1
- package/lib/molecule/vertical-tabs/index.d.ts +3 -4
- package/lib/molecule/vertical-tabs/index.d.ts.map +1 -1
- package/lib/molecule/video-iframe/index.d.ts +1 -1
- package/lib/molecule/video-iframe/index.d.ts.map +1 -1
- package/lib/molecule/video-player/index.d.ts +5 -5
- package/lib/molecule/video-player/index.d.ts.map +1 -1
- package/lib/molecule/video-player/jwplayer-prop-types.d.ts +2 -2
- package/lib/molecule/video-player/jwplayer.d.ts +3 -3
- package/lib/molecule/video-player/jwplayer.d.ts.map +1 -1
- package/lib/molecule/video-player/prop-types.d.ts +2 -2
- package/lib/molecule/video-player/vimeo.d.ts +5 -5
- package/lib/molecule/video-player/vimeo.d.ts.map +1 -1
- package/lib/molecule/video-player-mobile/index.native.d.ts +2 -2
- package/lib/molecule/video-player-mobile/index.native.d.ts.map +1 -1
- package/lib/molecule/video-player-mobile/index.native.js +9 -10
- package/lib/molecule/video-player-mobile/index.native.js.map +1 -1
- package/lib/molecule/wizard-summary/index.d.ts +8 -9
- package/lib/molecule/wizard-summary/index.d.ts.map +1 -1
- package/lib/organism/accordion/container/index.d.ts +5 -6
- package/lib/organism/accordion/container/index.d.ts.map +1 -1
- package/lib/organism/accordion/coorp-manager/index.d.ts +5 -6
- package/lib/organism/accordion/coorp-manager/index.d.ts.map +1 -1
- package/lib/organism/accordion/coorp-manager/part/index.d.ts +1 -2
- package/lib/organism/accordion/coorp-manager/part/index.d.ts.map +1 -1
- package/lib/organism/accordion/part/index.d.ts +1 -2
- package/lib/organism/accordion/part/index.d.ts.map +1 -1
- package/lib/organism/accordion/toggler/index.d.ts +8 -8
- package/lib/organism/accordion/toggler/index.d.ts.map +1 -1
- package/lib/organism/brand-analytics/analytics-popin.d.ts +1 -2
- package/lib/organism/brand-analytics/analytics-popin.d.ts.map +1 -1
- package/lib/organism/brand-analytics/index.d.ts +12 -7
- package/lib/organism/brand-analytics/index.d.ts.map +1 -1
- package/lib/organism/brand-dashboard/index.d.ts +3 -4
- package/lib/organism/brand-dashboard/index.d.ts.map +1 -1
- package/lib/organism/brand-form/index.d.ts +4 -5
- package/lib/organism/brand-form/index.d.ts.map +1 -1
- package/lib/organism/brand-learning-priorities/index.d.ts +19 -20
- package/lib/organism/brand-learning-priorities/index.d.ts.map +1 -1
- package/lib/organism/brand-table/index.d.ts +9 -10
- package/lib/organism/brand-table/index.d.ts.map +1 -1
- package/lib/organism/brand-upload/index.d.ts +3 -4
- package/lib/organism/brand-upload/index.d.ts.map +1 -1
- package/lib/organism/cards-grid/index.d.ts +3 -3
- package/lib/organism/cart/index.d.ts +1 -2
- package/lib/organism/cart/index.d.ts.map +1 -1
- package/lib/organism/content-skill-modal/index.d.ts +72 -72
- package/lib/organism/content-skill-modal/types.d.ts +71 -71
- package/lib/organism/content-translation/index.d.ts +3 -4
- package/lib/organism/content-translation/index.d.ts.map +1 -1
- package/lib/organism/course-selection/index.d.ts +2 -3
- package/lib/organism/course-selection/index.d.ts.map +1 -1
- package/lib/organism/discussion/index.d.ts +3 -4
- package/lib/organism/discussion/index.d.ts.map +1 -1
- package/lib/organism/filter-checkbox-and-search/index.d.ts +4 -4
- package/lib/organism/filter-checkbox-and-search/index.d.ts.map +1 -1
- package/lib/organism/filter-checkbox-and-search/props-types.d.ts +2 -2
- package/lib/organism/filter-chip/index.d.ts +4 -4
- package/lib/organism/filter-chip/index.d.ts.map +1 -1
- package/lib/organism/filter-chip/prop-types.d.ts +2 -2
- package/lib/organism/filter-range/index.d.ts +3 -3
- package/lib/organism/filter-range/index.d.ts.map +1 -1
- package/lib/organism/filter-range/prop-types.d.ts +1 -1
- package/lib/organism/filter-switch/index.d.ts +4 -4
- package/lib/organism/filter-switch/index.d.ts.map +1 -1
- package/lib/organism/filter-switch/prop-types.d.ts +2 -2
- package/lib/organism/get-the-app/index.d.ts +1 -2
- package/lib/organism/get-the-app/index.d.ts.map +1 -1
- package/lib/organism/grid-list/index.d.ts +1 -2
- package/lib/organism/grid-list/index.d.ts.map +1 -1
- package/lib/organism/header/index.d.ts +3 -4
- package/lib/organism/header/index.d.ts.map +1 -1
- package/lib/organism/header-v2/index.native.d.ts +2 -2
- package/lib/organism/header-v2/index.native.d.ts.map +1 -1
- package/lib/organism/header-with-actions/index.d.ts +6 -6
- package/lib/organism/header-with-actions/index.d.ts.map +1 -1
- package/lib/organism/header-with-actions/index.js +0 -1
- package/lib/organism/header-with-actions/index.js.map +1 -1
- package/lib/organism/header-with-actions/types.d.ts +4 -4
- package/lib/organism/hero/index.d.ts +1 -2
- package/lib/organism/hero/index.d.ts.map +1 -1
- package/lib/organism/icon-editor/index.d.ts +4 -4
- package/lib/organism/icon-editor/index.d.ts.map +1 -1
- package/lib/organism/icon-editor/types.d.ts +2 -2
- package/lib/organism/list-item/index.d.ts +12 -13
- package/lib/organism/list-item/index.d.ts.map +1 -1
- package/lib/organism/list-item/index.js +1 -0
- package/lib/organism/list-item/index.js.map +1 -1
- package/lib/organism/list-items/index.d.ts +64 -64
- package/lib/organism/list-items/index.d.ts.map +1 -1
- package/lib/organism/mobile-intro-popin/index.native.d.ts +2 -2
- package/lib/organism/mobile-intro-popin/index.native.d.ts.map +1 -1
- package/lib/organism/mobile-intro-popin/index.native.js.map +1 -1
- package/lib/organism/mobile-navigation/index.native.d.ts +2 -2
- package/lib/organism/mobile-navigation/index.native.d.ts.map +1 -1
- package/lib/organism/mobile-navigation/index.native.js.map +1 -1
- package/lib/organism/mooc/image-slider/index.d.ts +4 -5
- package/lib/organism/mooc/image-slider/index.d.ts.map +1 -1
- package/lib/organism/mooc-footer/index.d.ts +7 -8
- package/lib/organism/mooc-footer/index.d.ts.map +1 -1
- package/lib/organism/mooc-header/index.d.ts +11 -11
- package/lib/organism/mooc-header/index.d.ts.map +1 -1
- package/lib/organism/mooc-header/index.js +3 -0
- package/lib/organism/mooc-header/index.js.map +1 -1
- package/lib/organism/popin/index.d.ts +1 -2
- package/lib/organism/popin/index.d.ts.map +1 -1
- package/lib/organism/resource-browser/index.d.ts +4 -5
- package/lib/organism/resource-browser/index.d.ts.map +1 -1
- package/lib/organism/review-congrats/index.d.ts +1 -2
- package/lib/organism/review-congrats/index.d.ts.map +1 -1
- package/lib/organism/review-congrats/index.js +1 -0
- package/lib/organism/review-congrats/index.js.map +1 -1
- package/lib/organism/review-congrats/index.native.d.ts +2 -2
- package/lib/organism/review-congrats/index.native.d.ts.map +1 -1
- package/lib/organism/review-header/index.d.ts +1 -2
- package/lib/organism/review-header/index.d.ts.map +1 -1
- package/lib/organism/review-header/index.js +3 -0
- package/lib/organism/review-header/index.js.map +1 -1
- package/lib/organism/review-header/index.native.d.ts +2 -2
- package/lib/organism/review-header/index.native.d.ts.map +1 -1
- package/lib/organism/review-header/types.d.ts +2 -2
- package/lib/organism/review-no-skills/index.d.ts +2 -3
- package/lib/organism/review-no-skills/index.d.ts.map +1 -1
- package/lib/organism/review-no-skills/index.native.d.ts +2 -2
- package/lib/organism/review-no-skills/index.native.d.ts.map +1 -1
- package/lib/organism/review-skills/index.d.ts +1 -2
- package/lib/organism/review-skills/index.d.ts.map +1 -1
- package/lib/organism/review-skills/index.native.d.ts +2 -2
- package/lib/organism/review-skills/index.native.d.ts.map +1 -1
- package/lib/organism/review-skills/prop-types.d.ts +2 -2
- package/lib/organism/review-slide/index.d.ts +1 -2
- package/lib/organism/review-slide/index.d.ts.map +1 -1
- package/lib/organism/review-slide/index.native.d.ts +2 -2
- package/lib/organism/review-slide/index.native.d.ts.map +1 -1
- package/lib/organism/review-slide/index.native.js +5 -11
- package/lib/organism/review-slide/index.native.js.map +1 -1
- package/lib/organism/review-slide/prop-types.d.ts +14 -14
- package/lib/organism/review-stacked-slides/index.d.ts +1 -2
- package/lib/organism/review-stacked-slides/index.d.ts.map +1 -1
- package/lib/organism/review-stacked-slides/index.native.d.ts +2 -2
- package/lib/organism/review-stacked-slides/index.native.d.ts.map +1 -1
- package/lib/organism/review-stacked-slides/prop-types.d.ts +35 -35
- package/lib/organism/rewards-form/index.d.ts +22 -22
- package/lib/organism/rewards-form/index.d.ts.map +1 -1
- package/lib/organism/search-and-chips-results/index.d.ts +3 -4
- package/lib/organism/search-and-chips-results/index.d.ts.map +1 -1
- package/lib/organism/select-opponents/index.d.ts +21 -21
- package/lib/organism/select-opponents/types.d.ts +20 -20
- package/lib/organism/settings/index.d.ts +9 -10
- package/lib/organism/settings/index.d.ts.map +1 -1
- package/lib/organism/setup-header/index.d.ts +9 -10
- package/lib/organism/setup-header/index.d.ts.map +1 -1
- package/lib/organism/sidebar/index.d.ts +47 -24
- package/lib/organism/sidebar/index.d.ts.map +1 -1
- package/lib/organism/skill-edition/index.d.ts +8 -8
- package/lib/organism/skill-edition/index.d.ts.map +1 -1
- package/lib/organism/skill-edition/types.d.ts +6 -6
- package/lib/organism/slider/index.d.ts +2 -2
- package/lib/organism/slider/index.d.ts.map +1 -1
- package/lib/organism/title-and-input/index.d.ts +47 -47
- package/lib/organism/title-and-input/types.d.ts +46 -46
- package/lib/organism/user-preferences/index.d.ts +3 -4
- package/lib/organism/user-preferences/index.d.ts.map +1 -1
- package/lib/organism/wizard-contents/index.d.ts +67 -67
- package/lib/organism/wizard-contents/index.d.ts.map +1 -1
- package/lib/template/activity/engine-stars.d.ts +1 -2
- package/lib/template/activity/engine-stars.d.ts.map +1 -1
- package/lib/template/activity/index.d.ts +8 -9
- package/lib/template/activity/index.d.ts.map +1 -1
- package/lib/template/activity/progression-item.d.ts +1 -2
- package/lib/template/activity/progression-item.d.ts.map +1 -1
- package/lib/template/activity/stars-summary.d.ts +3 -4
- package/lib/template/activity/stars-summary.d.ts.map +1 -1
- package/lib/template/app-player/loading/index.d.ts +83 -83
- package/lib/template/app-player/loading/index.d.ts.map +1 -1
- package/lib/template/app-player/player/index.d.ts +168 -168
- package/lib/template/app-player/player/index.d.ts.map +1 -1
- package/lib/template/app-player/player/slides/footer/index.d.ts +3 -4
- package/lib/template/app-player/player/slides/footer/index.d.ts.map +1 -1
- package/lib/template/app-player/player/slides/footer/index.js +5 -1
- package/lib/template/app-player/player/slides/footer/index.js.map +1 -1
- package/lib/template/app-player/player/slides/footer/style.css +0 -2
- package/lib/template/app-player/player/slides/header/index.d.ts +3 -4
- package/lib/template/app-player/player/slides/header/learner.css +3 -3
- package/lib/template/app-player/player/slides/header/learner.d.ts +1 -2
- package/lib/template/app-player/player/slides/header/learner.d.ts.map +1 -1
- package/lib/template/app-player/player/slides/header/lives.d.ts +1 -2
- package/lib/template/app-player/player/slides/header/lives.d.ts.map +1 -1
- package/lib/template/app-player/player/slides/header/microlearning.css +3 -3
- package/lib/template/app-player/player/slides/header/microlearning.d.ts +1 -2
- package/lib/template/app-player/player/slides/header/microlearning.d.ts.map +1 -1
- package/lib/template/app-player/player/slides/index.d.ts +110 -110
- package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
- package/lib/template/app-player/player/slides/index.js +13 -4
- package/lib/template/app-player/player/slides/index.js.map +1 -1
- package/lib/template/app-player/player/slides/style.css +2 -4
- package/lib/template/app-player/player/tourguide/index.d.ts +20 -20
- package/lib/template/app-player/player/tourguide/index.d.ts.map +1 -1
- package/lib/template/app-player/player/tourguide/style.css +4 -4
- package/lib/template/app-player/popin-correction/index.d.ts +87 -87
- package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-correction/index.js +34 -23
- package/lib/template/app-player/popin-correction/index.js.map +1 -1
- package/lib/template/app-player/popin-correction/style.css +1 -5
- package/lib/template/app-player/popin-end/index.d.ts +94 -94
- package/lib/template/app-player/popin-end/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-end/summary.css +1 -3
- package/lib/template/app-player/popin-end/summary.d.ts +10 -11
- package/lib/template/app-player/popin-end/summary.d.ts.map +1 -1
- package/lib/template/app-player/popin-end/summary.js +9 -0
- package/lib/template/app-player/popin-end/summary.js.map +1 -1
- package/lib/template/app-player/popin-header/index.d.ts +59 -8
- package/lib/template/app-player/popin-header/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-header/index.js +64 -7
- package/lib/template/app-player/popin-header/index.js.map +1 -1
- package/lib/template/app-player/popin-header/style.css +3 -20
- package/lib/template/app-player/popin-no-access/index.d.ts +1 -2
- package/lib/template/app-player/popin-no-access/index.d.ts.map +1 -1
- package/lib/template/app-review/demo-ts/index.native.d.ts +2 -2
- package/lib/template/app-review/demo-ts/index.native.d.ts.map +1 -1
- package/lib/template/app-review/index.d.ts +119 -119
- package/lib/template/app-review/index.native.d.ts +2 -2
- package/lib/template/app-review/index.native.d.ts.map +1 -1
- package/lib/template/app-review/player/background-review.d.ts +1 -2
- package/lib/template/app-review/player/background-review.d.ts.map +1 -1
- package/lib/template/app-review/player/index.d.ts +1 -2
- package/lib/template/app-review/player/index.d.ts.map +1 -1
- package/lib/template/app-review/player/index.native.d.ts +2 -2
- package/lib/template/app-review/player/index.native.d.ts.map +1 -1
- package/lib/template/app-review/player/prop-types.d.ts +118 -118
- package/lib/template/app-review/prop-types.d.ts +118 -118
- package/lib/template/app-review/skills/index.d.ts +1 -2
- package/lib/template/app-review/skills/index.d.ts.map +1 -1
- package/lib/template/app-review/skills/index.js +1 -0
- package/lib/template/app-review/skills/index.js.map +1 -1
- package/lib/template/app-review/skills/index.native.d.ts +2 -2
- package/lib/template/app-review/skills/index.native.d.ts.map +1 -1
- package/lib/template/app-review/skills/prop-types.d.ts +2 -2
- package/lib/template/app-review/template-context.d.ts +2 -2
- package/lib/template/app-review/template-context.d.ts.map +1 -1
- package/lib/template/back-office/brand-create/index.d.ts +9 -10
- package/lib/template/back-office/brand-list/index.d.ts +9 -10
- package/lib/template/back-office/brand-update/index.d.ts +344 -338
- package/lib/template/back-office/brand-update/index.d.ts.map +1 -1
- package/lib/template/back-office/dashboard-preview/dashboard-popin.d.ts +1 -2
- package/lib/template/back-office/dashboard-preview/dashboard-popin.d.ts.map +1 -1
- package/lib/template/back-office/dashboard-preview/index.d.ts +9 -10
- package/lib/template/back-office/layout/index.d.ts +9 -10
- package/lib/template/battle-requests/index.d.ts +3 -4
- package/lib/template/battle-requests/index.d.ts.map +1 -1
- package/lib/template/certification-detail/index.d.ts +88 -88
- package/lib/template/certification-detail/index.d.ts.map +1 -1
- package/lib/template/certifications/index.d.ts +11 -12
- package/lib/template/certifications/index.d.ts.map +1 -1
- package/lib/template/cockpit/jw-uploader/index.d.ts +1 -2
- package/lib/template/cockpit/jw-uploader/index.d.ts.map +1 -1
- package/lib/template/common/authors/index.d.ts +5 -5
- package/lib/template/common/authors/index.d.ts.map +1 -1
- package/lib/template/common/coorp-header/index.d.ts +1 -2
- package/lib/template/common/coorp-header/index.d.ts.map +1 -1
- package/lib/template/common/dashboard/index.d.ts +165 -165
- package/lib/template/common/dashboard/index.d.ts.map +1 -1
- package/lib/template/common/discipline/index.d.ts +24 -25
- package/lib/template/common/discipline/index.d.ts.map +1 -1
- package/lib/template/common/faq-article-page/index.d.ts +4 -4
- package/lib/template/common/faq-article-page/index.d.ts.map +1 -1
- package/lib/template/common/faq-article-page/types.d.ts +2 -2
- package/lib/template/common/faq-cards-page/index.d.ts +4 -4
- package/lib/template/common/faq-cards-page/index.d.ts.map +1 -1
- package/lib/template/common/faq-cards-page/types.d.ts +2 -2
- package/lib/template/common/faq-page/index.d.ts +6 -6
- package/lib/template/common/faq-page/index.d.ts.map +1 -1
- package/lib/template/common/faq-page/types.d.ts +4 -4
- package/lib/template/common/privacy-policy-page/index.d.ts +6 -6
- package/lib/template/common/privacy-policy-page/index.d.ts.map +1 -1
- package/lib/template/common/privacy-policy-page/types.d.ts +4 -4
- package/lib/template/common/search-page/index.d.ts +117 -117
- package/lib/template/common/search-page/index.d.ts.map +1 -1
- package/lib/template/external-course/index.d.ts +83 -83
- package/lib/template/external-course/index.d.ts.map +1 -1
- package/lib/template/mobile-login/confirm-email-sent/index.native.d.ts +2 -2
- package/lib/template/mobile-login/confirm-email-sent/index.native.d.ts.map +1 -1
- package/lib/template/mobile-login/confirm-email-sent/index.native.js +9 -22
- package/lib/template/mobile-login/confirm-email-sent/index.native.js.map +1 -1
- package/lib/template/mobile-login/qr-code-scanner/index.native.d.ts +2 -2
- package/lib/template/mobile-login/qr-code-scanner/index.native.d.ts.map +1 -1
- package/lib/template/mobile-login/qr-code-scanner/index.native.js.map +1 -1
- package/lib/template/mobile-login/receive-email/index.native.d.ts +2 -2
- package/lib/template/mobile-login/receive-email/index.native.d.ts.map +1 -1
- package/lib/template/mobile-login/receive-email/index.native.js.map +1 -1
- package/lib/template/mobile-login/welcome/index.native.d.ts +2 -2
- package/lib/template/mobile-login/welcome/index.native.d.ts.map +1 -1
- package/lib/template/mobile-login/welcome/index.native.js +10 -23
- package/lib/template/mobile-login/welcome/index.native.js.map +1 -1
- package/lib/template/my-learning/index.d.ts +10 -11
- package/lib/template/my-learning/index.d.ts.map +1 -1
- package/lib/template/playlist-detail/index.d.ts +98 -98
- package/lib/template/playlist-detail/index.d.ts.map +1 -1
- package/lib/template/review-dashboard-skills/index.d.ts +3 -4
- package/lib/template/review-dashboard-skills/index.d.ts.map +1 -1
- package/lib/template/review-dashboard-skills/index.js +1 -0
- package/lib/template/review-dashboard-skills/index.js.map +1 -1
- package/lib/template/skill-detail/all-courses.d.ts +11 -11
- package/lib/template/skill-detail/all-courses.d.ts.map +1 -1
- package/lib/template/skill-detail/continue-learning.d.ts +4 -4
- package/lib/template/skill-detail/continue-learning.d.ts.map +1 -1
- package/lib/template/skill-detail/index.d.ts +8 -8
- package/lib/template/skill-detail/index.d.ts.map +1 -1
- package/lib/template/teams-dashboard/index.d.ts +10 -11
- package/lib/template/teams-dashboard/index.d.ts.map +1 -1
- package/lib/util/button-icons.d.ts +2 -2
- package/lib/util/get-resized-image.d.ts +2 -2
- package/lib/util/get-resized-image.d.ts.map +1 -1
- package/lib/util/image.d.ts +1 -1
- package/lib/util/image.d.ts.map +1 -1
- package/lib/util/proptypes.d.ts +1 -1
- package/lib/util/proptypes.d.ts.map +1 -1
- package/lib/variables/colors.d.ts +1 -1
- package/lib/variables/colors.js +1 -1
- package/lib/variables/colors.js.map +1 -1
- package/package.json +19 -21
- package/es/molecule/native-slider/index.native.d.ts +0 -19
- package/es/molecule/native-slider/index.native.d.ts.map +0 -1
- package/es/molecule/native-slider/index.native.js +0 -151
- package/es/molecule/native-slider/index.native.js.map +0 -1
- package/lib/molecule/native-slider/index.native.d.ts +0 -19
- package/lib/molecule/native-slider/index.native.d.ts.map +0 -1
- package/lib/molecule/native-slider/index.native.js +0 -157
- package/lib/molecule/native-slider/index.native.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_classnames","_interopRequireDefault","_icon","_colors","_buttonLink","_provider","_style","_types","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_extends","assign","bind","arguments","length","apply","SCROLL_RIGHT_SIZE","SCROLL_LEFT_SIZE","handleScroll","direction","listRef","current","scrollBy","left","behavior","exports","getFilterButton","filterButtonProps","primarySkinColor","tag","rest","createElement","className","style","filterButtonWrapper","borderColor","label","filterButton","icon","position","faIcon","name","size","color","COLORS","cm_grey_700","neutral_500","customStyle","backgroundColor","undefined","borderRadius","QuickFilters","primaryOption","filterOptions","filterOptionsAriaLabel","context","skin","GetSkinFromContext","_get2","defaultLabel","defaultIconName","defaultSelected","defaultAriaLabel","onDefaultClick","filtersListRef","React","useRef","rightBtnRef","leftBtnRef","handleScrollRight","useCallback","handleScrollLeft","useEffect","list","rightButton","leftButton","update","rightArrowWidth","offsetWidth","showingRightButton","scrollLeft","clientWidth","scrollWidth","showingLeftButton","visibility","opacity","addEventListener","window","removeEventListener","filtersMainContainer","leftArrowButton","ref","onClick","height","filtersList","classNames","defaultOption","filterSelected","iconName","faSize","wrapperSize","filterLabel","bar","background","filterSeparator","filtersContainer","map","filterOption","idx","selected","value","ariaLabel","key","borderBottomColor","rightArrowButton","propTypes","process","env","NODE_ENV","contextTypes","Provider","childContextTypes","_default"],"sources":["../../../src/molecule/quick-filters/index.tsx"],"sourcesContent":["import React, {useCallback, useRef, useEffect} from 'react';\nimport classNames from 'classnames';\nimport {get} from 'lodash/fp';\nimport FaIcon from '../../atom/icon';\nimport {COLORS} from '../../variables/colors';\nimport ButtonLink from '../../atom/button-link';\nimport {ButtonLinkProps} from '../../atom/button-link/types';\nimport {WebContextValues} from '../../atom/provider/web-context';\nimport Provider, {GetSkinFromContext} from '../../atom/provider';\nimport style from './style.css';\nimport {QuickFiltersProps, propTypes} from './types';\n\nconst SCROLL_RIGHT_SIZE = 400;\nconst SCROLL_LEFT_SIZE = -400;\nexport const handleScroll = (direction: number, listRef: React.RefObject<HTMLDivElement>) => {\n if (listRef.current) {\n listRef.current.scrollBy({\n left: direction,\n behavior: 'smooth'\n });\n }\n};\n\nconst getFilterButton = (\n filterButtonProps: ButtonLinkProps | undefined,\n primarySkinColor: string\n) => {\n if (!filterButtonProps) return null;\n const {tag, ...rest} = filterButtonProps;\n return (\n <div\n className={style.filterButtonWrapper}\n style={{borderColor: tag?.label ? primarySkinColor : 'transparent'}}\n >\n <div className={style.filterButton}>\n <ButtonLink\n {...rest}\n icon={{\n position: 'left',\n faIcon: {\n name: 'sliders',\n size: 14,\n color: tag ? COLORS.cm_grey_700 : COLORS.neutral_500\n }\n }}\n tag={\n tag\n ? {\n label: tag.label,\n customStyle: {backgroundColor: primarySkinColor, color: '#FFFFFF'}\n }\n : undefined\n }\n className={style.filterButton}\n data-testid=\"open-filters-modal-button\"\n customStyle={{borderRadius: '12px'}}\n />\n </div>\n </div>\n );\n};\n\nconst QuickFilters = (\n {primaryOption, filterOptions, filterButton, filterOptionsAriaLabel}: QuickFiltersProps,\n context: WebContextValues\n) => {\n const skin = GetSkinFromContext(context);\n const primarySkinColor = get('common.primary', skin);\n const {defaultLabel, defaultIconName, defaultSelected, defaultAriaLabel, onDefaultClick} =\n primaryOption;\n const filtersListRef = React.useRef<HTMLDivElement>(null);\n const rightBtnRef = useRef<HTMLDivElement>(null);\n const leftBtnRef = useRef<HTMLDivElement>(null);\n\n const handleScrollRight = useCallback(() => {\n handleScroll(SCROLL_RIGHT_SIZE, filtersListRef);\n }, [filtersListRef]);\n const handleScrollLeft = useCallback(() => {\n handleScroll(SCROLL_LEFT_SIZE, filtersListRef);\n }, [filtersListRef]);\n useEffect(() => {\n const list = filtersListRef.current;\n const rightButton = rightBtnRef.current;\n const leftButton = leftBtnRef.current;\n /* istanbul ignore next */ // not testable without complex mocking useRef\n if (!list || !leftButton || !rightButton) return;\n\n const update = () => {\n const rightArrowWidth = rightButton.offsetWidth;\n const showingRightButton =\n list.scrollLeft + list.clientWidth < list.scrollWidth - rightArrowWidth;\n const showingLeftButton = list.scrollLeft > 0;\n rightButton.style.visibility = showingRightButton ? 'visible' : 'hidden';\n rightButton.style.opacity = showingRightButton ? '1' : '0';\n leftButton.style.visibility = showingLeftButton ? 'visible' : 'hidden';\n leftButton.style.opacity = showingLeftButton ? '1' : '0';\n };\n\n list.addEventListener('scroll', update);\n window.addEventListener('resize', update);\n update();\n return () => {\n list.removeEventListener('scroll', update);\n window.removeEventListener('resize', update);\n };\n }, [filterOptions]);\n\n return (\n <div className={style.filtersMainContainer} data-name=\"search\">\n <div className={style.leftArrowButton} ref={leftBtnRef} style={{visibility: 'hidden'}}>\n <ButtonLink\n icon={{position: 'left', faIcon: {name: 'arrow-left', size: 15}}}\n onClick={handleScrollLeft}\n className={style.leftArrowButton}\n customStyle={{height: '36px'}}\n data-testid=\"scroll-left-button\"\n />\n </div>\n <div\n className={style.filtersList}\n ref={filtersListRef}\n data-testid=\"filters-options-list\"\n aria-label={filterOptionsAriaLabel}\n >\n <div\n data-testid=\"all-option\"\n className={classNames(style.defaultOption, defaultSelected && style.filterSelected)}\n onClick={onDefaultClick}\n >\n <FaIcon\n iconName={defaultIconName}\n size={{faSize: 20, wrapperSize: 20}}\n aria-label={defaultAriaLabel}\n />\n <span className={style.filterLabel}>{defaultLabel}</span>\n <div className={style.bar} style={{background: primarySkinColor}} />\n </div>\n <div className={style.filterSeparator} />\n <div className={style.filtersContainer}>\n {filterOptions.map((filterOption, idx) => {\n const {iconName, label, selected, value, onClick, ariaLabel} = filterOption;\n return (\n <div\n key={idx}\n className={classNames(style.filterOption, selected && style.filterSelected)}\n data-testid={`filter-${value}-${idx}`}\n style={{borderBottomColor: primarySkinColor}}\n onClick={onClick}\n >\n <FaIcon\n iconName={iconName}\n size={{faSize: 20, wrapperSize: 20}}\n aria-label={ariaLabel}\n />\n <span className={style.filterLabel}>{label}</span>\n <div className={style.bar} style={{background: primarySkinColor}} />\n </div>\n );\n })}\n <div className={style.rightArrowButton} ref={rightBtnRef} style={{visibility: 'hidden'}}>\n <ButtonLink\n icon={{\n position: 'left',\n faIcon: {\n name: 'arrow-right',\n size: 15\n }\n }}\n className={style.rightArrowButton}\n onClick={handleScrollRight}\n customStyle={{height: '36px'}}\n data-testid=\"scroll-right-button\"\n />\n </div>\n </div>\n </div>\n {getFilterButton(filterButton, primarySkinColor)}\n </div>\n );\n};\n\nQuickFilters.propTypes = propTypes;\nQuickFilters.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\nexport default QuickFilters;\n"],"mappings":";;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,WAAA,GAAAC,sBAAA,CAAAF,OAAA;AAEA,IAAAG,KAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,WAAA,GAAAH,sBAAA,CAAAF,OAAA;AAG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":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_classnames","_interopRequireDefault","_icon","_colors","_buttonLink","_provider","_style","_types","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_extends","assign","bind","arguments","length","apply","SCROLL_RIGHT_SIZE","SCROLL_LEFT_SIZE","handleScroll","direction","listRef","current","scrollBy","left","behavior","exports","getFilterButton","filterButtonProps","primarySkinColor","tag","rest","createElement","className","style","filterButtonWrapper","borderColor","label","filterButton","icon","position","faIcon","name","size","color","COLORS","cm_grey_700","neutral_500","customStyle","backgroundColor","undefined","borderRadius","QuickFilters","primaryOption","filterOptions","filterOptionsAriaLabel","context","skin","GetSkinFromContext","_get2","defaultLabel","defaultIconName","defaultSelected","defaultAriaLabel","onDefaultClick","filtersListRef","React","useRef","rightBtnRef","leftBtnRef","handleScrollRight","useCallback","handleScrollLeft","useEffect","list","rightButton","leftButton","update","rightArrowWidth","offsetWidth","showingRightButton","scrollLeft","clientWidth","scrollWidth","showingLeftButton","visibility","opacity","addEventListener","window","removeEventListener","filtersMainContainer","leftArrowButton","ref","onClick","height","filtersList","role","classNames","defaultOption","filterSelected","iconName","faSize","wrapperSize","filterLabel","bar","background","filterSeparator","filtersContainer","map","filterOption","idx","selected","value","ariaLabel","key","borderBottomColor","rightArrowButton","propTypes","process","env","NODE_ENV","contextTypes","Provider","childContextTypes","_default"],"sources":["../../../src/molecule/quick-filters/index.tsx"],"sourcesContent":["import React, {useCallback, useRef, useEffect} from 'react';\nimport classNames from 'classnames';\nimport {get} from 'lodash/fp';\nimport FaIcon from '../../atom/icon';\nimport {COLORS} from '../../variables/colors';\nimport ButtonLink from '../../atom/button-link';\nimport {ButtonLinkProps} from '../../atom/button-link/types';\nimport {WebContextValues} from '../../atom/provider/web-context';\nimport Provider, {GetSkinFromContext} from '../../atom/provider';\nimport style from './style.css';\nimport {QuickFiltersProps, propTypes} from './types';\n\nconst SCROLL_RIGHT_SIZE = 400;\nconst SCROLL_LEFT_SIZE = -400;\nexport const handleScroll = (direction: number, listRef: React.RefObject<HTMLDivElement>) => {\n if (listRef.current) {\n listRef.current.scrollBy({\n left: direction,\n behavior: 'smooth'\n });\n }\n};\n\nconst getFilterButton = (\n filterButtonProps: ButtonLinkProps | undefined,\n primarySkinColor: string\n) => {\n if (!filterButtonProps) return null;\n const {tag, ...rest} = filterButtonProps;\n return (\n <div\n className={style.filterButtonWrapper}\n style={{borderColor: tag?.label ? primarySkinColor : 'transparent'}}\n >\n <div className={style.filterButton}>\n <ButtonLink\n {...rest}\n icon={{\n position: 'left',\n faIcon: {\n name: 'sliders',\n size: 14,\n color: tag ? COLORS.cm_grey_700 : COLORS.neutral_500\n }\n }}\n tag={\n tag\n ? {\n label: tag.label,\n customStyle: {backgroundColor: primarySkinColor, color: '#FFFFFF'}\n }\n : undefined\n }\n className={style.filterButton}\n data-testid=\"open-filters-modal-button\"\n customStyle={{borderRadius: '12px'}}\n />\n </div>\n </div>\n );\n};\n\nconst QuickFilters = (\n {primaryOption, filterOptions, filterButton, filterOptionsAriaLabel}: QuickFiltersProps,\n context: WebContextValues\n) => {\n const skin = GetSkinFromContext(context);\n const primarySkinColor = get('common.primary', skin);\n const {defaultLabel, defaultIconName, defaultSelected, defaultAriaLabel, onDefaultClick} =\n primaryOption;\n const filtersListRef = React.useRef<HTMLDivElement>(null);\n const rightBtnRef = useRef<HTMLDivElement>(null);\n const leftBtnRef = useRef<HTMLDivElement>(null);\n\n const handleScrollRight = useCallback(() => {\n handleScroll(SCROLL_RIGHT_SIZE, filtersListRef);\n }, [filtersListRef]);\n const handleScrollLeft = useCallback(() => {\n handleScroll(SCROLL_LEFT_SIZE, filtersListRef);\n }, [filtersListRef]);\n useEffect(() => {\n const list = filtersListRef.current;\n const rightButton = rightBtnRef.current;\n const leftButton = leftBtnRef.current;\n /* istanbul ignore next */ // not testable without complex mocking useRef\n if (!list || !leftButton || !rightButton) return;\n\n const update = () => {\n const rightArrowWidth = rightButton.offsetWidth;\n const showingRightButton =\n list.scrollLeft + list.clientWidth < list.scrollWidth - rightArrowWidth;\n const showingLeftButton = list.scrollLeft > 0;\n rightButton.style.visibility = showingRightButton ? 'visible' : 'hidden';\n rightButton.style.opacity = showingRightButton ? '1' : '0';\n leftButton.style.visibility = showingLeftButton ? 'visible' : 'hidden';\n leftButton.style.opacity = showingLeftButton ? '1' : '0';\n };\n\n list.addEventListener('scroll', update);\n window.addEventListener('resize', update);\n update();\n return () => {\n list.removeEventListener('scroll', update);\n window.removeEventListener('resize', update);\n };\n }, [filterOptions]);\n\n return (\n <div className={style.filtersMainContainer} data-name=\"search\">\n <div className={style.leftArrowButton} ref={leftBtnRef} style={{visibility: 'hidden'}}>\n <ButtonLink\n icon={{position: 'left', faIcon: {name: 'arrow-left', size: 15}}}\n onClick={handleScrollLeft}\n className={style.leftArrowButton}\n customStyle={{height: '36px'}}\n data-testid=\"scroll-left-button\"\n />\n </div>\n <div\n className={style.filtersList}\n ref={filtersListRef}\n data-testid=\"filters-options-list\"\n role=\"group\"\n aria-label={filterOptionsAriaLabel}\n >\n <div\n data-testid=\"all-option\"\n className={classNames(style.defaultOption, defaultSelected && style.filterSelected)}\n onClick={onDefaultClick}\n >\n <FaIcon\n iconName={defaultIconName}\n size={{faSize: 20, wrapperSize: 20}}\n aria-label={defaultAriaLabel}\n />\n <span className={style.filterLabel}>{defaultLabel}</span>\n <div className={style.bar} style={{background: primarySkinColor}} />\n </div>\n <div className={style.filterSeparator} />\n <div className={style.filtersContainer}>\n {filterOptions.map((filterOption, idx) => {\n const {iconName, label, selected, value, onClick, ariaLabel} = filterOption;\n return (\n <div\n key={idx}\n className={classNames(style.filterOption, selected && style.filterSelected)}\n data-testid={`filter-${value}-${idx}`}\n style={{borderBottomColor: primarySkinColor}}\n onClick={onClick}\n >\n <FaIcon\n iconName={iconName}\n size={{faSize: 20, wrapperSize: 20}}\n aria-label={ariaLabel}\n />\n <span className={style.filterLabel}>{label}</span>\n <div className={style.bar} style={{background: primarySkinColor}} />\n </div>\n );\n })}\n <div className={style.rightArrowButton} ref={rightBtnRef} style={{visibility: 'hidden'}}>\n <ButtonLink\n icon={{\n position: 'left',\n faIcon: {\n name: 'arrow-right',\n size: 15\n }\n }}\n className={style.rightArrowButton}\n onClick={handleScrollRight}\n customStyle={{height: '36px'}}\n data-testid=\"scroll-right-button\"\n />\n </div>\n </div>\n </div>\n {getFilterButton(filterButton, primarySkinColor)}\n </div>\n );\n};\n\nQuickFilters.propTypes = propTypes;\nQuickFilters.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\nexport default QuickFilters;\n"],"mappings":";;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,WAAA,GAAAC,sBAAA,CAAAF,OAAA;AAEA,IAAAG,KAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,WAAA,GAAAH,sBAAA,CAAAF,OAAA;AAGA,IAAAM,SAAA,GAAAP,uBAAA,CAAAC,OAAA;AACA,IAAAO,MAAA,GAAAL,sBAAA,CAAAF,OAAA;AACA,IAAAQ,MAAA,GAAAR,OAAA;AAAqD,SAAAS,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAX,wBAAAW,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,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AmC,aAAA,CAAC7C,WAAA,CAAAU,OAAU;IACT0C,IAAI,EAAE;MACJC,QAAQ,EAAE,MAAM;MAChBC,MAAM,EAAE;QACNC,IAAI,EAAE,aAAa;QACnBC,IAAI,EAAE;MACR;IACF,CAAE;IACFV,SAAS,EAAEC,cAAK,CAACkF,gBAAiB;IAClCvB,OAAO,EAAEvB,iBAAkB;IAC3BtB,WAAW,EAAE;MAAC8C,MAAM,EAAE;IAAM,CAAE;IAC9B,eAAY;EAAqB,CAClC,CACE,CACF,CACF,CAAC,EACLnE,eAAe,CAACW,YAAY,EAAET,gBAAgB,CAC5C,CAAC;AAEV,CAAC;AAEDuB,YAAY,CAACiE,SAAS,GAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA,oBAAGH,gBAAS;AAClCjE,YAAY,CAACqE,YAAY,GAAG;EAC1BhE,IAAI,EAAEiE,iBAAQ,CAACC,iBAAiB,CAAClE;AACnC,CAAC;AAAC,IAAAmE,QAAA,GAAAlG,OAAA,CAAA7B,OAAA,GACauD,YAAY","ignoreList":[]}
|
|
@@ -35,14 +35,14 @@ export declare const propTypes: {
|
|
|
35
35
|
onDefaultClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
36
36
|
}>>;
|
|
37
37
|
filterOptionsAriaLabel: PropTypes.Requireable<string>;
|
|
38
|
-
filterOptions: PropTypes.Requireable<PropTypes.InferProps<{
|
|
38
|
+
filterOptions: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
39
39
|
iconName: PropTypes.Requireable<string>;
|
|
40
40
|
label: PropTypes.Requireable<string>;
|
|
41
41
|
value: PropTypes.Requireable<string>;
|
|
42
42
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
43
43
|
selected: PropTypes.Requireable<boolean>;
|
|
44
44
|
ariaLabel: PropTypes.Requireable<string>;
|
|
45
|
-
}>[]>;
|
|
45
|
+
}> | null | undefined)[]>;
|
|
46
46
|
filterButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
47
47
|
type: PropTypes.Requireable<string>;
|
|
48
48
|
usage: PropTypes.Requireable<string>;
|
|
@@ -63,7 +63,7 @@ export declare const propTypes: {
|
|
|
63
63
|
size: PropTypes.Requireable<number>;
|
|
64
64
|
customStyle: PropTypes.Requireable<object>;
|
|
65
65
|
}>>;
|
|
66
|
-
}> | PropTypes.InferProps<{
|
|
66
|
+
}> | (PropTypes.InferProps<{
|
|
67
67
|
position: PropTypes.Requireable<string>;
|
|
68
68
|
type: PropTypes.Requireable<string>;
|
|
69
69
|
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -73,7 +73,7 @@ export declare const propTypes: {
|
|
|
73
73
|
size: PropTypes.Requireable<number>;
|
|
74
74
|
customStyle: PropTypes.Requireable<object>;
|
|
75
75
|
}>>;
|
|
76
|
-
}>[]>>;
|
|
76
|
+
}> | null | undefined)[] | null | undefined>>;
|
|
77
77
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
78
78
|
link: PropTypes.Requireable<PropTypes.InferProps<{
|
|
79
79
|
href: PropTypes.Requireable<string>;
|
|
@@ -23,12 +23,12 @@ declare class ResourcePlayer extends React.Component<any, any, any> {
|
|
|
23
23
|
file: PropTypes.Requireable<any>;
|
|
24
24
|
customProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
25
25
|
aspectratio: PropTypes.Requireable<string>;
|
|
26
|
-
tracks: PropTypes.Requireable<PropTypes.InferProps<{
|
|
26
|
+
tracks: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
27
27
|
file: PropTypes.Requireable<any>;
|
|
28
28
|
label: PropTypes.Requireable<string>;
|
|
29
29
|
kind: PropTypes.Requireable<string>;
|
|
30
30
|
default: PropTypes.Requireable<boolean>;
|
|
31
|
-
}>[]>;
|
|
31
|
+
}> | null | undefined)[]>;
|
|
32
32
|
autostart: PropTypes.Requireable<string>;
|
|
33
33
|
width: PropTypes.Requireable<string>;
|
|
34
34
|
skin: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -51,7 +51,7 @@ declare class ResourcePlayer extends React.Component<any, any, any> {
|
|
|
51
51
|
}> | PropTypes.InferProps<{
|
|
52
52
|
type: PropTypes.Validator<any>;
|
|
53
53
|
url: PropTypes.Validator<string>;
|
|
54
|
-
}
|
|
54
|
+
}> | null | undefined>>;
|
|
55
55
|
overlay: PropTypes.Requireable<PropTypes.InferProps<{
|
|
56
56
|
title: PropTypes.Requireable<string>;
|
|
57
57
|
text: PropTypes.Requireable<string>;
|
|
@@ -64,7 +64,7 @@ declare class ResourcePlayer extends React.Component<any, any, any> {
|
|
|
64
64
|
overlay: any;
|
|
65
65
|
};
|
|
66
66
|
handleOverlay(): void;
|
|
67
|
-
render():
|
|
67
|
+
render(): JSX.Element;
|
|
68
68
|
}
|
|
69
69
|
import React from "react";
|
|
70
70
|
import PropTypes from "prop-types";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/resource-player/index.js"],"names":[],"mappings":"AAWA,+BAAgC;AAChC,6BAA8B;AAC9B,iCAAkC;AAClC,iCAAkC;;AAgGlC;IACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQE;IAEF,sCAQC;IANC;;;MAGC;IAKH,sBAKC;IAED,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/resource-player/index.js"],"names":[],"mappings":"AAWA,+BAAgC;AAChC,6BAA8B;AAC9B,iCAAkC;AAClC,iCAAkC;;AAgGlC;IACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQE;IAEF,sCAQC;IANC;;;MAGC;IAKH,sBAKC;IAED,sBA0BC;CACF"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
export function setAnimations(setIsAnimationVisible: any, setIsAnimated: any): () => void;
|
|
2
2
|
export default ReviewCardCongrats;
|
|
3
|
-
declare function ReviewCardCongrats(props: any):
|
|
3
|
+
declare function ReviewCardCongrats(props: any): JSX.Element;
|
|
4
4
|
declare namespace ReviewCardCongrats {
|
|
5
5
|
export { propTypes };
|
|
6
6
|
}
|
|
7
|
-
import React from "react";
|
|
8
7
|
import propTypes from "./prop-types";
|
|
9
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/review-card-congrats/index.js"],"names":[],"mappings":"AAaO,0FAGN;;AAED,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/review-card-congrats/index.js"],"names":[],"mappings":"AAaO,0FAGN;;AAED,6DAqEC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
export default ReviewCorrectionPopin;
|
|
2
|
-
declare function ReviewCorrectionPopin(props: any):
|
|
2
|
+
declare function ReviewCorrectionPopin(props: any): JSX.Element;
|
|
3
3
|
declare namespace ReviewCorrectionPopin {
|
|
4
4
|
export { propTypes };
|
|
5
5
|
}
|
|
6
|
-
import React from "react";
|
|
7
6
|
import propTypes from "./prop-types";
|
|
8
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/review-correction-popin/index.js"],"names":[],"mappings":";AA6EA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/review-correction-popin/index.js"],"names":[],"mappings":";AA6EA,gEAsDC"}
|
|
@@ -100,14 +100,17 @@ const ReviewCorrectionPopin = props => {
|
|
|
100
100
|
className: _style.default.feedbackSection
|
|
101
101
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
102
102
|
className: _style.default.information,
|
|
103
|
+
role: "group",
|
|
103
104
|
"aria-label": "answer-information"
|
|
104
105
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
105
106
|
className: _style.default.labelContainer
|
|
106
107
|
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
107
108
|
className: _style.default.label,
|
|
109
|
+
role: "group",
|
|
108
110
|
"aria-label": information.label
|
|
109
111
|
}, information.label)), /*#__PURE__*/_react.default.createElement("span", {
|
|
110
112
|
className: _style.default.message,
|
|
113
|
+
role: "group",
|
|
111
114
|
"aria-label": information.message
|
|
112
115
|
// eslint-disable-next-line react/no-danger
|
|
113
116
|
,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_classnames","_interopRequireDefault","_novaIcons","_buttonLink","_provider","_tooltip","_style","_propTypes","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_extends","assign","bind","arguments","length","apply","KlfButton","klf","legacyContext","translate","GetTranslateFromContext","klfButtonProps","useMemo","icon","position","type","AnchorButton","useCallback","onKeyDown","createElement","className","style","klfButtonContainer","klfButton","useTitle","TooltipContent","tooltipText","dangerouslySetInnerHTML","__html","tooltip","toolTipProps","closeToolTipInformationTextAriaLabel","AnchorElement","tooltipClassName","toolTipCustomization","klfContainer","propTypes","process","env","NODE_ENV","contextTypes","Provider","childContextTypes","ReviewCorrectionPopin","props","information","resultLabel","next","nextQuestionButtonProps","cta","ICONS","right","RightIcon","wrong","WrongIcon","Icon","wrapper","classnames","popin","correctionSection","iconCircle","iconRight","iconWrong","role","feedbackSection","labelContainer","label","message","actions","actionsWrong","nextQuestionContainer","nextQuestionButton","_default","exports"],"sources":["../../../src/molecule/review-correction-popin/index.js"],"sourcesContent":["import React, {useCallback, useMemo} from 'react';\nimport classnames from 'classnames';\nimport {\n NovaCompositionCoorpacademyCheck as RightIcon,\n NovaSolidStatusClose as WrongIcon\n} from '@coorpacademy/nova-icons';\nimport ButtonLink from '../../atom/button-link';\nimport Provider, {GetTranslateFromContext} from '../../atom/provider';\nimport Tooltip from '../../atom/tooltip';\nimport style from './style.css';\nimport propTypes from './prop-types';\n\nconst KlfButton = ({klf}, legacyContext) => {\n const translate = GetTranslateFromContext(legacyContext);\n const klfButtonProps = useMemo(\n () => ({\n ...klf,\n icon: {\n position: 'left',\n type: 'key'\n },\n type: 'primary'\n }),\n [klf]\n );\n\n const AnchorButton = useCallback(\n ({onKeyDown}) => (\n <div className={style.klfButtonContainer}>\n <ButtonLink\n {...klfButtonProps}\n className={style.klfButton}\n onKeyDown={onKeyDown}\n useTitle={false}\n />\n </div>\n ),\n [klfButtonProps]\n );\n\n const TooltipContent = useCallback(\n () => (\n <span\n className={style.tooltipText}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: klf.tooltip}}\n />\n ),\n [klf.tooltip]\n );\n\n const toolTipProps = useMemo(\n () => ({\n closeToolTipInformationTextAriaLabel: translate('close_tooltip_information'),\n AnchorElement: AnchorButton,\n TooltipContent,\n 'aria-label': translate('More details'),\n tooltipClassName: style.toolTipCustomization\n }),\n [AnchorButton, TooltipContent, translate]\n );\n\n return (\n <div className={style.klfContainer}>\n <Tooltip {...toolTipProps} />\n </div>\n );\n};\n\nKlfButton.propTypes = {\n klf: propTypes.klf\n};\n\nKlfButton.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nconst ReviewCorrectionPopin = props => {\n const {information, resultLabel, type, klf, next} = props;\n\n const nextQuestionButtonProps = {\n ...next,\n type: 'primary'\n };\n\n const cta = type === 'wrong' ? <KlfButton klf={klf} /> : null;\n\n const ICONS = {\n right: RightIcon,\n wrong: WrongIcon\n };\n const Icon = ICONS[type];\n\n return (\n <div className={style.wrapper} data-testid=\"review-correction-popin\">\n <div className={classnames(style.popin, type === 'right' ? style.right : style.wrong)}>\n <div className={style.correctionSection}>\n <div className={style.iconCircle}>\n <Icon className={type === 'right' ? style.iconRight : style.iconWrong} />\n </div>\n <div className={style.resultLabel}>\n <span aria-label={resultLabel} role=\"status\">\n {resultLabel}\n </span>\n </div>\n </div>\n <div className={style.feedbackSection}>\n <div className={style.information} aria-label=\"answer-information\">\n <div className={style.labelContainer}>\n <span className={style.label} aria-label={information.label}>\n {information.label}\n </span>\n </div>\n <span\n className={style.message}\n aria-label={information.message}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: information.message}}\n />\n </div>\n </div>\n <div className={type === 'right' ? style.actions : style.actionsWrong}>\n {cta}\n <div className={style.nextQuestionContainer} data-testid=\"next-question-button-container\">\n <ButtonLink {...nextQuestionButtonProps} className={style.nextQuestionButton} />\n </div>\n </div>\n </div>\n </div>\n );\n};\n\nReviewCorrectionPopin.propTypes = propTypes;\n\nexport default ReviewCorrectionPopin;\n"],"mappings":";;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,WAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,UAAA,GAAAH,OAAA;AAIA,IAAAI,WAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,SAAA,GAAAN,uBAAA,CAAAC,OAAA;AACA,IAAAM,QAAA,GAAAJ,sBAAA,CAAAF,OAAA;AACA,IAAAO,MAAA,GAAAL,sBAAA,CAAAF,OAAA;AACA,IAAAQ,UAAA,GAAAN,sBAAA,CAAAF,OAAA;AAAqC,SAAAE,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,yBAAAH,CAAA,6BAAAI,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAD,wBAAA,YAAAA,CAAAH,CAAA,WAAAA,CAAA,GAAAM,CAAA,GAAAD,CAAA,KAAAL,CAAA;AAAA,SAAAV,wBAAAU,CAAA,EAAAK,CAAA,SAAAA,CAAA,IAAAL,CAAA,IAAAA,CAAA,CAAAC,UAAA,SAAAD,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CA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,cAAK,CAACgD;EAAa,GACnEpB,GAAG,eACJhF,MAAA,CAAAa,OAAA,CAAAqC,aAAA;IAAKC,SAAS,EAAEC,cAAK,CAACiD,qBAAsB;IAAC,eAAY;EAAgC,gBACvFrG,MAAA,CAAAa,OAAA,CAAAqC,aAAA,CAAC5C,WAAA,CAAAO,OAAU,EAAAkB,QAAA,KAAKgD,uBAAuB;IAAE5B,SAAS,EAAEC,cAAK,CAACkD;EAAmB,EAAE,CAC5E,CACF,CACF,CACF,CAAC;AAEV,CAAC;AAED5B,qBAAqB,CAACP,SAAS,GAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA,oBAAGH,kBAAS;AAAC,IAAAoC,QAAA,GAAAC,OAAA,CAAA3F,OAAA,GAE7B6D,qBAAqB","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_classnames","_interopRequireDefault","_novaIcons","_buttonLink","_provider","_tooltip","_style","_propTypes","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_extends","assign","bind","arguments","length","apply","KlfButton","klf","legacyContext","translate","GetTranslateFromContext","klfButtonProps","useMemo","icon","position","type","AnchorButton","useCallback","onKeyDown","createElement","className","style","klfButtonContainer","klfButton","useTitle","TooltipContent","tooltipText","dangerouslySetInnerHTML","__html","tooltip","toolTipProps","closeToolTipInformationTextAriaLabel","AnchorElement","tooltipClassName","toolTipCustomization","klfContainer","propTypes","process","env","NODE_ENV","contextTypes","Provider","childContextTypes","ReviewCorrectionPopin","props","information","resultLabel","next","nextQuestionButtonProps","cta","ICONS","right","RightIcon","wrong","WrongIcon","Icon","wrapper","classnames","popin","correctionSection","iconCircle","iconRight","iconWrong","role","feedbackSection","labelContainer","label","message","actions","actionsWrong","nextQuestionContainer","nextQuestionButton","_default","exports"],"sources":["../../../src/molecule/review-correction-popin/index.js"],"sourcesContent":["import React, {useCallback, useMemo} from 'react';\nimport classnames from 'classnames';\nimport {\n NovaCompositionCoorpacademyCheck as RightIcon,\n NovaSolidStatusClose as WrongIcon\n} from '@coorpacademy/nova-icons';\nimport ButtonLink from '../../atom/button-link';\nimport Provider, {GetTranslateFromContext} from '../../atom/provider';\nimport Tooltip from '../../atom/tooltip';\nimport style from './style.css';\nimport propTypes from './prop-types';\n\nconst KlfButton = ({klf}, legacyContext) => {\n const translate = GetTranslateFromContext(legacyContext);\n const klfButtonProps = useMemo(\n () => ({\n ...klf,\n icon: {\n position: 'left',\n type: 'key'\n },\n type: 'primary'\n }),\n [klf]\n );\n\n const AnchorButton = useCallback(\n ({onKeyDown}) => (\n <div className={style.klfButtonContainer}>\n <ButtonLink\n {...klfButtonProps}\n className={style.klfButton}\n onKeyDown={onKeyDown}\n useTitle={false}\n />\n </div>\n ),\n [klfButtonProps]\n );\n\n const TooltipContent = useCallback(\n () => (\n <span\n className={style.tooltipText}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: klf.tooltip}}\n />\n ),\n [klf.tooltip]\n );\n\n const toolTipProps = useMemo(\n () => ({\n closeToolTipInformationTextAriaLabel: translate('close_tooltip_information'),\n AnchorElement: AnchorButton,\n TooltipContent,\n 'aria-label': translate('More details'),\n tooltipClassName: style.toolTipCustomization\n }),\n [AnchorButton, TooltipContent, translate]\n );\n\n return (\n <div className={style.klfContainer}>\n <Tooltip {...toolTipProps} />\n </div>\n );\n};\n\nKlfButton.propTypes = {\n klf: propTypes.klf\n};\n\nKlfButton.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nconst ReviewCorrectionPopin = props => {\n const {information, resultLabel, type, klf, next} = props;\n\n const nextQuestionButtonProps = {\n ...next,\n type: 'primary'\n };\n\n const cta = type === 'wrong' ? <KlfButton klf={klf} /> : null;\n\n const ICONS = {\n right: RightIcon,\n wrong: WrongIcon\n };\n const Icon = ICONS[type];\n\n return (\n <div className={style.wrapper} data-testid=\"review-correction-popin\">\n <div className={classnames(style.popin, type === 'right' ? style.right : style.wrong)}>\n <div className={style.correctionSection}>\n <div className={style.iconCircle}>\n <Icon className={type === 'right' ? style.iconRight : style.iconWrong} />\n </div>\n <div className={style.resultLabel}>\n <span aria-label={resultLabel} role=\"status\">\n {resultLabel}\n </span>\n </div>\n </div>\n <div className={style.feedbackSection}>\n <div className={style.information} role=\"group\" aria-label=\"answer-information\">\n <div className={style.labelContainer}>\n <span className={style.label} role=\"group\" aria-label={information.label}>\n {information.label}\n </span>\n </div>\n <span\n className={style.message}\n role=\"group\"\n aria-label={information.message}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: information.message}}\n />\n </div>\n </div>\n <div className={type === 'right' ? style.actions : style.actionsWrong}>\n {cta}\n <div className={style.nextQuestionContainer} data-testid=\"next-question-button-container\">\n <ButtonLink {...nextQuestionButtonProps} className={style.nextQuestionButton} />\n </div>\n </div>\n </div>\n </div>\n );\n};\n\nReviewCorrectionPopin.propTypes = propTypes;\n\nexport default ReviewCorrectionPopin;\n"],"mappings":";;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,WAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,UAAA,GAAAH,OAAA;AAIA,IAAAI,WAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,SAAA,GAAAN,uBAAA,CAAAC,OAAA;AACA,IAAAM,QAAA,GAAAJ,sBAAA,CAAAF,OAAA;AACA,IAAAO,MAAA,GAAAL,sBAAA,CAAAF,OAAA;AACA,IAAAQ,UAAA,GAAAN,sBAAA,CAAAF,OAAA;AAAqC,SAAAE,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,yBAAAH,CAAA,6BAAAI,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAD,wBAAA,YAAAA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AK,CAAC8C,OAAQ;IACzBJ,IAAI,EAAC,OAAO;IACZ,cAAYlB,WAAW,CAACsB;IACxB;IAAA;IACAxC,uBAAuB,EAAE;MAACC,MAAM,EAAEiB,WAAW,CAACsB;IAAO;EAAE,CACxD,CACE,CACF,CAAC,eACNlG,MAAA,CAAAa,OAAA,CAAAqC,aAAA;IAAKC,SAAS,EAAEL,IAAI,KAAK,OAAO,GAAGM,cAAK,CAAC+C,OAAO,GAAG/C,cAAK,CAACgD;EAAa,GACnEpB,GAAG,eACJhF,MAAA,CAAAa,OAAA,CAAAqC,aAAA;IAAKC,SAAS,EAAEC,cAAK,CAACiD,qBAAsB;IAAC,eAAY;EAAgC,gBACvFrG,MAAA,CAAAa,OAAA,CAAAqC,aAAA,CAAC5C,WAAA,CAAAO,OAAU,EAAAkB,QAAA,KAAKgD,uBAAuB;IAAE5B,SAAS,EAAEC,cAAK,CAACkD;EAAmB,EAAE,CAC5E,CACF,CACF,CACF,CAAC;AAEV,CAAC;AAED5B,qBAAqB,CAACP,SAAS,GAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA,oBAAGH,kBAAS;AAAC,IAAAoC,QAAA,GAAAC,OAAA,CAAA3F,OAAA,GAE7B6D,qBAAqB","ignoreList":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { ReviewCorrectionPopinProps } from './prop-types';
|
|
3
|
-
declare const ReviewCorrectionPopin: ({ information, klf, next, type, resultLabel }: ReviewCorrectionPopinProps) =>
|
|
3
|
+
declare const ReviewCorrectionPopin: ({ information, klf, next, type, resultLabel }: ReviewCorrectionPopinProps) => JSX.Element | null;
|
|
4
4
|
export default ReviewCorrectionPopin;
|
|
5
5
|
//# sourceMappingURL=index.native.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../src/molecule/review-correction-popin/index.native.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../src/molecule/review-correction-popin/index.native.tsx"],"names":[],"mappings":";AAaA,OAAO,EAAgC,0BAA0B,EAAC,MAAM,cAAc,CAAC;AAoQvF,QAAA,MAAM,qBAAqB,kDAMxB,0BAA0B,uBAiD5B,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
export default ReviewHeaderSteps;
|
|
2
|
-
declare function ReviewHeaderSteps(props: any):
|
|
2
|
+
declare function ReviewHeaderSteps(props: any): JSX.Element;
|
|
3
3
|
declare namespace ReviewHeaderSteps {
|
|
4
4
|
export { propTypes };
|
|
5
5
|
}
|
|
6
|
-
import React from "react";
|
|
7
6
|
import propTypes from "./prop-types";
|
|
8
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/review-header-steps/index.js"],"names":[],"mappings":";AAMA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/review-header-steps/index.js"],"names":[],"mappings":";AAMA,4DAiBC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
import { StatusItemProps } from '../../atom/status-item/types';
|
|
3
3
|
declare const propTypes: {
|
|
4
|
-
steps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
4
|
+
steps: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
5
5
|
current: PropTypes.Requireable<boolean>;
|
|
6
6
|
selected: PropTypes.Requireable<boolean>;
|
|
7
7
|
icon: PropTypes.Requireable<string>;
|
|
8
8
|
value: PropTypes.Requireable<string>;
|
|
9
|
-
}>[]>;
|
|
9
|
+
}> | null | undefined)[]>;
|
|
10
10
|
};
|
|
11
11
|
export default propTypes;
|
|
12
12
|
export declare type ReviewHeaderStepsProps = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default ScopeContent;
|
|
2
|
-
declare function ScopeContent(props: any, context: any):
|
|
2
|
+
declare function ScopeContent(props: any, context: any): JSX.Element;
|
|
3
3
|
declare namespace ScopeContent {
|
|
4
4
|
namespace contextTypes {
|
|
5
5
|
const skin: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -33,16 +33,16 @@ declare namespace ScopeContent {
|
|
|
33
33
|
time: PropTypes.Requireable<string>;
|
|
34
34
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
35
35
|
buttonLabel: PropTypes.Requireable<string>;
|
|
36
|
-
skills: PropTypes.Requireable<string[]>;
|
|
37
|
-
chapters: PropTypes.Requireable<object[]>;
|
|
38
|
-
course_scope: PropTypes.Requireable<string[]>;
|
|
39
|
-
resources: PropTypes.Requireable<PropTypes.InferProps<Partial<{
|
|
36
|
+
skills: PropTypes.Requireable<(string | null | undefined)[]>;
|
|
37
|
+
chapters: PropTypes.Requireable<(object | null | undefined)[]>;
|
|
38
|
+
course_scope: PropTypes.Requireable<(string | null | undefined)[]>;
|
|
39
|
+
resources: PropTypes.Requireable<(PropTypes.InferProps<Partial<{
|
|
40
40
|
type: PropTypes.Requireable<string>;
|
|
41
41
|
selected: PropTypes.Requireable<boolean>;
|
|
42
42
|
description: PropTypes.Requireable<string>;
|
|
43
43
|
poster: PropTypes.Requireable<string>;
|
|
44
44
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
45
|
-
}>>[]>;
|
|
45
|
+
}>> | null | undefined)[]>;
|
|
46
46
|
discussion: PropTypes.Requireable<PropTypes.InferProps<{
|
|
47
47
|
avatar: PropTypes.Requireable<any>;
|
|
48
48
|
loading: PropTypes.Requireable<boolean>;
|
|
@@ -51,7 +51,7 @@ declare namespace ScopeContent {
|
|
|
51
51
|
title: PropTypes.Requireable<string>;
|
|
52
52
|
onPost: PropTypes.Requireable<(...args: any[]) => any>;
|
|
53
53
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
54
|
-
threads: PropTypes.Requireable<PropTypes.InferProps<{
|
|
54
|
+
threads: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
55
55
|
author: PropTypes.Requireable<string>;
|
|
56
56
|
date: PropTypes.Requireable<string>;
|
|
57
57
|
message: PropTypes.Requireable<string>;
|
|
@@ -70,7 +70,7 @@ declare namespace ScopeContent {
|
|
|
70
70
|
onChangeEdition: PropTypes.Requireable<(...args: any[]) => any>;
|
|
71
71
|
onModerate: PropTypes.Requireable<(...args: any[]) => any>;
|
|
72
72
|
onDelete: PropTypes.Requireable<(...args: any[]) => any>;
|
|
73
|
-
}>[]>;
|
|
73
|
+
}> | null | undefined)[]>;
|
|
74
74
|
textareaDisabled: PropTypes.Requireable<boolean>;
|
|
75
75
|
postDisabled: PropTypes.Requireable<boolean>;
|
|
76
76
|
className: PropTypes.Requireable<string>;
|
|
@@ -79,6 +79,5 @@ declare namespace ScopeContent {
|
|
|
79
79
|
}>>;
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
|
-
import React from "react";
|
|
83
82
|
import PropTypes from "prop-types";
|
|
84
83
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/scope-content/index.js"],"names":[],"mappings":";AASA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/scope-content/index.js"],"names":[],"mappings":";AASA,qEAgGC"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
export default ScopeTabs;
|
|
2
|
-
declare function ScopeTabs(props: any, context: any):
|
|
2
|
+
declare function ScopeTabs(props: any, context: any): JSX.Element;
|
|
3
3
|
declare namespace ScopeTabs {
|
|
4
4
|
namespace propTypes {
|
|
5
5
|
const selected: PropTypes.Requireable<number>;
|
|
6
6
|
const onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
7
|
-
const levels: PropTypes.Requireable<object[]>;
|
|
7
|
+
const levels: PropTypes.Requireable<(object | null | undefined)[]>;
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
|
-
import React from "react";
|
|
11
10
|
import PropTypes from "prop-types";
|
|
12
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/scope-tabs/index.js"],"names":[],"mappings":";AAqCA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/scope-tabs/index.js"],"names":[],"mappings":";AAqCA,kEAUC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default SearchForm;
|
|
2
|
-
declare function SearchForm(props: any, context: any):
|
|
2
|
+
declare function SearchForm(props: any, context: any): JSX.Element;
|
|
3
3
|
declare namespace SearchForm {
|
|
4
4
|
const propTypes: {
|
|
5
5
|
action: PropTypes.Requireable<string>;
|
|
@@ -29,6 +29,5 @@ declare namespace SearchForm {
|
|
|
29
29
|
searchIconAriaLabel: PropTypes.Requireable<string>;
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
|
-
import React from "react";
|
|
33
32
|
import PropTypes from "prop-types";
|
|
34
33
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/search-form/index.js"],"names":[],"mappings":";AAOA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/search-form/index.js"],"names":[],"mappings":";AAOA,mEA8EC"}
|
|
@@ -37,6 +37,10 @@ const SearchForm = (props, context) => {
|
|
|
37
37
|
evt.stopPropagation();
|
|
38
38
|
return onReset && onReset(evt);
|
|
39
39
|
}, [onReset]);
|
|
40
|
+
const handleResetKeyDown = (0, _react.useMemo)(() => evt => {
|
|
41
|
+
if (evt.key !== 'Enter' && evt.key !== ' ') return;
|
|
42
|
+
return handleReset(evt);
|
|
43
|
+
}, [handleReset]);
|
|
40
44
|
const isMooc = theme === 'mooc';
|
|
41
45
|
const clearClassName = search.value ? (0, _classnames.default)(_style.default.wrapperClear, isMooc && _style.default.wrapperClearMooc) : _style.default.wrapperNoClear;
|
|
42
46
|
return /*#__PURE__*/_react.default.createElement("form", {
|
|
@@ -56,8 +60,11 @@ const SearchForm = (props, context) => {
|
|
|
56
60
|
searchIconAriaLabel: searchIconAriaLabel
|
|
57
61
|
})), /*#__PURE__*/_react.default.createElement("div", {
|
|
58
62
|
"data-name": "search-form-reset",
|
|
63
|
+
role: "button",
|
|
64
|
+
tabIndex: 0,
|
|
59
65
|
"aria-label": searchResetAriaLabel,
|
|
60
66
|
onMouseDown: handleReset,
|
|
67
|
+
onKeyDown: handleResetKeyDown,
|
|
61
68
|
className: clearClassName
|
|
62
69
|
}, /*#__PURE__*/_react.default.createElement(_icon.default, {
|
|
63
70
|
iconName: "xmark",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_propTypes","_interopRequireDefault","_classnames","_inputSearch","_icon","_style","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_extends","assign","bind","arguments","length","apply","SearchForm","props","context","action","method","onSubmit","onReset","search","onSearchFocus","onSearchBlur","onSearchKeyDown","inputRef","searchResetAriaLabel","dataTestId","theme","searchIconAriaLabel","handleSubmit","useMemo","evt","preventDefault","handleReset","stopPropagation","isMooc","clearClassName","value","classnames","style","wrapperClear","wrapperClearMooc","wrapperNoClear","createElement","className","form","placeholder","onFocus","onBlur","onKeyDown","onMouseDown","iconName","clearIcon","propTypes","process","env","NODE_ENV","PropTypes","string","func","shape","Search","_default","exports"],"sources":["../../../src/molecule/search-form/index.js"],"sourcesContent":["import React, {useMemo} from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport Search from '../../atom/input-search';\nimport Icon from '../../atom/icon';\nimport style from './style.css';\n\nconst SearchForm = (props, context) => {\n const {\n action,\n method,\n onSubmit,\n onReset,\n search,\n onSearchFocus,\n onSearchBlur,\n onSearchKeyDown,\n inputRef,\n 'search-reset-aria-label': searchResetAriaLabel,\n dataTestId,\n theme,\n searchIconAriaLabel\n } = props;\n const handleSubmit = useMemo(\n () => evt => {\n evt.preventDefault();\n return onSubmit && onSubmit(evt);\n },\n [onSubmit]\n );\n\n const handleReset = useMemo(\n () => evt => {\n evt.preventDefault();\n evt.stopPropagation();\n return onReset && onReset(evt);\n },\n [onReset]\n );\n\n const isMooc = theme === 'mooc';\n\n const clearClassName = search.value\n ? classnames(style.wrapperClear, isMooc && style.wrapperClearMooc)\n : style.wrapperNoClear;\n\n return (\n <form\n className={style.form}\n action={action}\n method={method}\n onSubmit={handleSubmit}\n data-name=\"searchForm\"\n aria-label={search.placeholder}\n >\n <Search\n {...search}\n onFocus={onSearchFocus}\n onBlur={onSearchBlur}\n onKeyDown={onSearchKeyDown}\n inputRef={inputRef}\n dataTestId={dataTestId}\n theme={theme}\n searchIconAriaLabel={searchIconAriaLabel}\n />\n <div\n data-name=\"search-form-reset\"\n aria-label={searchResetAriaLabel}\n onMouseDown={handleReset}\n className={clearClassName}\n >\n <Icon iconName=\"xmark\" className={style.clearIcon} aria-label={searchResetAriaLabel} />\n </div>\n </form>\n );\n};\n\nSearchForm.propTypes = {\n action: PropTypes.string,\n method: PropTypes.string,\n onSubmit: PropTypes.func,\n onReset: PropTypes.func,\n onSearchFocus: PropTypes.func,\n onSearchBlur: PropTypes.func,\n onSearchKeyDown: PropTypes.func,\n inputRef: PropTypes.func,\n search: PropTypes.shape(Search.propTypes),\n 'search-reset-aria-label': PropTypes.string,\n dataTestId: PropTypes.string,\n theme: PropTypes.string,\n searchIconAriaLabel: PropTypes.string\n};\n\nexport default SearchForm;\n"],"mappings":";;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;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;EAChC,CAAC,EACD,CAACZ,OAAO,CACV,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_propTypes","_interopRequireDefault","_classnames","_inputSearch","_icon","_style","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_extends","assign","bind","arguments","length","apply","SearchForm","props","context","action","method","onSubmit","onReset","search","onSearchFocus","onSearchBlur","onSearchKeyDown","inputRef","searchResetAriaLabel","dataTestId","theme","searchIconAriaLabel","handleSubmit","useMemo","evt","preventDefault","handleReset","stopPropagation","handleResetKeyDown","key","isMooc","clearClassName","value","classnames","style","wrapperClear","wrapperClearMooc","wrapperNoClear","createElement","className","form","placeholder","onFocus","onBlur","onKeyDown","role","tabIndex","onMouseDown","iconName","clearIcon","propTypes","process","env","NODE_ENV","PropTypes","string","func","shape","Search","_default","exports"],"sources":["../../../src/molecule/search-form/index.js"],"sourcesContent":["import React, {useMemo} from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport Search from '../../atom/input-search';\nimport Icon from '../../atom/icon';\nimport style from './style.css';\n\nconst SearchForm = (props, context) => {\n const {\n action,\n method,\n onSubmit,\n onReset,\n search,\n onSearchFocus,\n onSearchBlur,\n onSearchKeyDown,\n inputRef,\n 'search-reset-aria-label': searchResetAriaLabel,\n dataTestId,\n theme,\n searchIconAriaLabel\n } = props;\n const handleSubmit = useMemo(\n () => evt => {\n evt.preventDefault();\n return onSubmit && onSubmit(evt);\n },\n [onSubmit]\n );\n\n const handleReset = useMemo(\n () => evt => {\n evt.preventDefault();\n evt.stopPropagation();\n return onReset && onReset(evt);\n },\n [onReset]\n );\n const handleResetKeyDown = useMemo(\n () => evt => {\n if (evt.key !== 'Enter' && evt.key !== ' ') return;\n return handleReset(evt);\n },\n [handleReset]\n );\n\n const isMooc = theme === 'mooc';\n\n const clearClassName = search.value\n ? classnames(style.wrapperClear, isMooc && style.wrapperClearMooc)\n : style.wrapperNoClear;\n\n return (\n <form\n className={style.form}\n action={action}\n method={method}\n onSubmit={handleSubmit}\n data-name=\"searchForm\"\n aria-label={search.placeholder}\n >\n <Search\n {...search}\n onFocus={onSearchFocus}\n onBlur={onSearchBlur}\n onKeyDown={onSearchKeyDown}\n inputRef={inputRef}\n dataTestId={dataTestId}\n theme={theme}\n searchIconAriaLabel={searchIconAriaLabel}\n />\n <div\n data-name=\"search-form-reset\"\n role=\"button\"\n tabIndex={0}\n aria-label={searchResetAriaLabel}\n onMouseDown={handleReset}\n onKeyDown={handleResetKeyDown}\n className={clearClassName}\n >\n <Icon iconName=\"xmark\" className={style.clearIcon} aria-label={searchResetAriaLabel} />\n </div>\n </form>\n );\n};\n\nSearchForm.propTypes = {\n action: PropTypes.string,\n method: PropTypes.string,\n onSubmit: PropTypes.func,\n onReset: PropTypes.func,\n onSearchFocus: PropTypes.func,\n onSearchBlur: PropTypes.func,\n onSearchKeyDown: PropTypes.func,\n inputRef: PropTypes.func,\n search: PropTypes.shape(Search.propTypes),\n 'search-reset-aria-label': PropTypes.string,\n dataTestId: PropTypes.string,\n theme: PropTypes.string,\n searchIconAriaLabel: PropTypes.string\n};\n\nexport default SearchForm;\n"],"mappings":";;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,WAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,YAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,KAAA,GAAAH,sBAAA,CAAAF,OAAA;AACA,IAAAM,MAAA,GAAAJ,sBAAA,CAAAF,OAAA;AAAgC,SAAAE,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,yBAAAH,CAAA,6BAAAI,OAAA,mBAAAC,CAAA,OA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,OAAO,EAAE0C,kBAAS,CAACE,IAAI;EACvB1C,aAAa,EAAEwC,kBAAS,CAACE,IAAI;EAC7BzC,YAAY,EAAEuC,kBAAS,CAACE,IAAI;EAC5BxC,eAAe,EAAEsC,kBAAS,CAACE,IAAI;EAC/BvC,QAAQ,EAAEqC,kBAAS,CAACE,IAAI;EACxB3C,MAAM,EAAEyC,kBAAS,CAACG,KAAK,CAACC,oBAAM,CAACR,SAAS,CAAC;EACzC,yBAAyB,EAAEI,kBAAS,CAACC,MAAM;EAC3CpC,UAAU,EAAEmC,kBAAS,CAACC,MAAM;EAC5BnC,KAAK,EAAEkC,kBAAS,CAACC,MAAM;EACvBlC,mBAAmB,EAAEiC,kBAAS,CAACC;AACjC,CAAC;AAAC,IAAAI,QAAA,GAAAC,OAAA,CAAA9E,OAAA,GAEawB,UAAU","ignoreList":[]}
|
|
@@ -10,12 +10,12 @@ declare function SelectMultiple({ title, options, theme, placeholder, descriptio
|
|
|
10
10
|
multiple: any;
|
|
11
11
|
onChange: any;
|
|
12
12
|
onError: any;
|
|
13
|
-
modified?: boolean;
|
|
14
|
-
error?: string;
|
|
15
|
-
disabled?: boolean;
|
|
13
|
+
modified?: boolean | undefined;
|
|
14
|
+
error?: string | undefined;
|
|
15
|
+
disabled?: boolean | undefined;
|
|
16
16
|
}, { skin }: {
|
|
17
17
|
skin: any;
|
|
18
|
-
}):
|
|
18
|
+
}): JSX.Element;
|
|
19
19
|
declare namespace SelectMultiple {
|
|
20
20
|
namespace contextTypes {
|
|
21
21
|
const skin: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -59,6 +59,5 @@ declare namespace SelectMultiple {
|
|
|
59
59
|
const theme: PropTypes.Requireable<string>;
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
import React from "react";
|
|
63
62
|
import PropTypes from "prop-types";
|
|
64
63
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/select-multiple/index.js"],"names":[],"mappings":"AAsBO,oEAcN;;AAwBD;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/select-multiple/index.js"],"names":[],"mappings":"AAsBO,oEAcN;;AAwBD;;;;;;;;;;;;;;;gBAoLC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default SetupCohortItem;
|
|
2
|
-
declare function SetupCohortItem(props: any):
|
|
2
|
+
declare function SetupCohortItem(props: any): JSX.Element;
|
|
3
3
|
declare namespace SetupCohortItem {
|
|
4
4
|
namespace defaultProps {
|
|
5
5
|
const field: {};
|
|
@@ -8,7 +8,7 @@ declare namespace SetupCohortItem {
|
|
|
8
8
|
const field_1: PropTypes.Requireable<PropTypes.InferProps<{
|
|
9
9
|
leftSection: PropTypes.Requireable<PropTypes.InferProps<{
|
|
10
10
|
title: PropTypes.Validator<string>;
|
|
11
|
-
values: PropTypes.Validator<PropTypes.InferProps<{
|
|
11
|
+
values: PropTypes.Validator<(PropTypes.InferProps<{
|
|
12
12
|
title: PropTypes.Validator<string>;
|
|
13
13
|
disabled: PropTypes.Requireable<boolean>;
|
|
14
14
|
required: PropTypes.Requireable<boolean>;
|
|
@@ -19,12 +19,12 @@ declare namespace SetupCohortItem {
|
|
|
19
19
|
noLabelMargins: PropTypes.Requireable<boolean>;
|
|
20
20
|
theme: PropTypes.Requireable<string>;
|
|
21
21
|
titleStyle: PropTypes.Requireable<string>;
|
|
22
|
-
}>[]>;
|
|
22
|
+
}> | null | undefined)[]>;
|
|
23
23
|
required: PropTypes.Requireable<boolean>;
|
|
24
24
|
}>>;
|
|
25
25
|
rightSection: PropTypes.Requireable<PropTypes.InferProps<{
|
|
26
26
|
title: PropTypes.Validator<string>;
|
|
27
|
-
values: PropTypes.Validator<PropTypes.InferProps<{
|
|
27
|
+
values: PropTypes.Validator<(PropTypes.InferProps<{
|
|
28
28
|
title: PropTypes.Validator<string>;
|
|
29
29
|
disabled: PropTypes.Requireable<boolean>;
|
|
30
30
|
required: PropTypes.Requireable<boolean>;
|
|
@@ -35,13 +35,12 @@ declare namespace SetupCohortItem {
|
|
|
35
35
|
noLabelMargins: PropTypes.Requireable<boolean>;
|
|
36
36
|
theme: PropTypes.Requireable<string>;
|
|
37
37
|
titleStyle: PropTypes.Requireable<string>;
|
|
38
|
-
}>[]>;
|
|
38
|
+
}> | null | undefined)[]>;
|
|
39
39
|
required: PropTypes.Requireable<boolean>;
|
|
40
40
|
}>>;
|
|
41
41
|
}>>;
|
|
42
42
|
export { field_1 as field };
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
import React from "react";
|
|
46
45
|
import PropTypes from "prop-types";
|
|
47
46
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/setup-cohort-item/index.js"],"names":[],"mappings":";AA6EA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/setup-cohort-item/index.js"],"names":[],"mappings":";AA6EA,0DAQC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default SetupSection;
|
|
2
|
-
declare function SetupSection(props: any, context: any):
|
|
2
|
+
declare function SetupSection(props: any, context: any): JSX.Element;
|
|
3
3
|
declare namespace SetupSection {
|
|
4
4
|
namespace contextTypes {
|
|
5
5
|
const translate: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -51,9 +51,8 @@ declare namespace SetupSection {
|
|
|
51
51
|
export { contentTypes };
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
import React from "react";
|
|
55
54
|
import PropTypes from "prop-types";
|
|
56
|
-
declare function ContentTypesToggler(props: any, context: any):
|
|
55
|
+
declare function ContentTypesToggler(props: any, context: any): JSX.Element | null;
|
|
57
56
|
declare namespace ContentTypesToggler {
|
|
58
57
|
export namespace contextTypes_1 {
|
|
59
58
|
const skin_1: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -86,7 +85,7 @@ declare namespace ContentTypesToggler {
|
|
|
86
85
|
color: PropTypes.Requireable<string>;
|
|
87
86
|
theme: PropTypes.Requireable<string>;
|
|
88
87
|
className: PropTypes.Requireable<string>;
|
|
89
|
-
list: PropTypes.Requireable<PropTypes.InferProps<{
|
|
88
|
+
list: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
90
89
|
color: PropTypes.Requireable<string>;
|
|
91
90
|
value: PropTypes.Validator<string>;
|
|
92
91
|
name: PropTypes.Requireable<string>;
|
|
@@ -94,7 +93,7 @@ declare namespace ContentTypesToggler {
|
|
|
94
93
|
checked: PropTypes.Requireable<boolean>;
|
|
95
94
|
label: PropTypes.Requireable<string>;
|
|
96
95
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
97
|
-
}>[]>;
|
|
96
|
+
}> | null | undefined)[]>;
|
|
98
97
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
99
98
|
}>>;
|
|
100
99
|
export { contentTypes_1 as contentTypes };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/setup-section/index.js"],"names":[],"mappings":";AA0CA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/setup-section/index.js"],"names":[],"mappings":";AA0CA,qEAeC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAhDD,mFAqBC"}
|