@coorpacademy/components 11.40.20 → 11.40.22-slider.1
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 +5 -4
- package/es/atom/autocomplete/index.d.ts.map +1 -1
- package/es/atom/avatar/index.d.ts +2 -1
- 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 +2 -4
- package/es/atom/battle-opponent/index.js.map +1 -1
- package/es/atom/button/index.d.ts +2 -1
- 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 +2 -1
- 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 +2 -1
- package/es/atom/card-image-preview/index.d.ts.map +1 -1
- package/es/atom/catalog-section/index.d.ts +2 -1
- package/es/atom/catalog-section/index.d.ts.map +1 -1
- package/es/atom/centered-text/index.d.ts +2 -1
- package/es/atom/centered-text/index.d.ts.map +1 -1
- package/es/atom/checkbox/index.d.ts +2 -1
- package/es/atom/checkbox/index.d.ts.map +1 -1
- package/es/atom/checkbox-with-title/index.d.ts +3 -2
- package/es/atom/checkbox-with-title/index.d.ts.map +1 -1
- package/es/atom/chip/index.d.ts +3 -2
- package/es/atom/chip/index.d.ts.map +1 -1
- package/es/atom/chip/index.js +1 -1
- package/es/atom/chip/index.js.map +1 -1
- package/es/atom/chips/index.d.ts +2 -1
- package/es/atom/chips/index.d.ts.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 +5 -3
- 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/clue/index.d.ts +3 -3
- package/es/atom/clue/index.d.ts.map +1 -1
- package/es/atom/content-badge/index.d.ts +2 -1
- 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 +4 -3
- 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 +2 -1
- 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 +29 -8
- 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 +29 -22
- 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 +2 -1
- package/es/atom/input-checkbox/index.d.ts.map +1 -1
- package/es/atom/input-color/index.d.ts +2 -1
- 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 +11 -10
- package/es/atom/input-file-draggable/index.d.ts.map +1 -1
- package/es/atom/input-html/index.d.ts +2 -1
- package/es/atom/input-html/index.d.ts.map +1 -1
- package/es/atom/input-html/input-preview.d.ts +2 -1
- package/es/atom/input-html/input-preview.d.ts.map +1 -1
- package/es/atom/input-readonly/index.d.ts +2 -1
- package/es/atom/input-readonly/index.d.ts.map +1 -1
- package/es/atom/input-search/index.d.ts +2 -1
- 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-switch/index.d.ts +2 -1
- package/es/atom/input-switch/index.d.ts.map +1 -1
- package/es/atom/input-text/index.d.ts +2 -1
- package/es/atom/input-text/index.d.ts.map +1 -1
- package/es/atom/input-text-with-title/index.d.ts +2 -1
- package/es/atom/input-text-with-title/index.d.ts.map +1 -1
- package/es/atom/input-textarea/index.d.ts +2 -1
- package/es/atom/input-textarea/index.d.ts.map +1 -1
- package/es/atom/label/index.d.ts +3 -2
- package/es/atom/label/index.d.ts.map +1 -1
- package/es/atom/life/index.d.ts +2 -1
- package/es/atom/life/index.d.ts.map +1 -1
- package/es/atom/link/index.d.ts +2 -1
- package/es/atom/link/index.d.ts.map +1 -1
- package/es/atom/loader/index.d.ts +3 -2
- 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 +5 -1
- package/es/atom/loader/index.native.js.map +1 -1
- package/es/atom/lottie-wrapper/index.d.ts +2 -1
- package/es/atom/lottie-wrapper/index.d.ts.map +1 -1
- package/es/atom/notification/index.d.ts +2 -1
- package/es/atom/notification/index.d.ts.map +1 -1
- package/es/atom/picture/index.d.ts +2 -1
- package/es/atom/picture/index.d.ts.map +1 -1
- package/es/atom/picture-background/index.d.ts +5 -4
- package/es/atom/picture-background/index.d.ts.map +1 -1
- package/es/atom/promo-code/index.d.ts +2 -1
- package/es/atom/promo-code/index.d.ts.map +1 -1
- package/es/atom/provider/index.d.ts +1 -0
- package/es/atom/provider/index.d.ts.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 +4 -3
- package/es/atom/radio-group/index.d.ts.map +1 -1
- package/es/atom/radio-group/item.d.ts +2 -1
- 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 +2 -1
- 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 +2 -1
- package/es/atom/resource-miniature/index.d.ts.map +1 -1
- package/es/atom/review-presentation/index.d.ts +2 -1
- package/es/atom/review-presentation/index.d.ts.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 +14 -13
- package/es/atom/select/index.d.ts.map +1 -1
- package/es/atom/select-icon/index.d.ts +2 -1
- 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 +4 -3
- package/es/atom/select-modal/index.native.js.map +1 -1
- package/es/atom/slide/index.d.ts +2 -1
- package/es/atom/slide/index.d.ts.map +1 -1
- package/es/atom/social-link/index.d.ts +2 -1
- 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 +2 -1
- 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 +5 -4
- package/es/atom/tab/index.d.ts.map +1 -1
- package/es/atom/tab-content/index.d.ts +2 -1
- 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/tooltip/index.d.ts +6 -5
- package/es/atom/tooltip/index.d.ts.map +1 -1
- package/es/atom/video-upload/index.d.ts +2 -1
- package/es/atom/video-upload/index.d.ts.map +1 -1
- package/es/atom/wizard-steps/index.d.ts +4 -3
- 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 +3 -2
- 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 +14 -3
- 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 +4 -3
- package/es/molecule/add-to-my-list/index.d.ts.map +1 -1
- package/es/molecule/answer/index.d.ts +2 -1
- 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 +4 -3
- package/es/molecule/banner/index.d.ts.map +1 -1
- package/es/molecule/base-modal/index.d.ts +4 -3
- package/es/molecule/base-modal/index.d.ts.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 +2 -1
- package/es/molecule/battle-request/index.d.ts.map +1 -1
- package/es/molecule/brand-card/description.d.ts +2 -1
- package/es/molecule/brand-card/description.d.ts.map +1 -1
- package/es/molecule/brand-card/index.d.ts +2 -1
- package/es/molecule/brand-card/index.d.ts.map +1 -1
- package/es/molecule/brand-card-create/index.d.ts +2 -1
- package/es/molecule/brand-card-create/index.d.ts.map +1 -1
- package/es/molecule/brand-create-form/index.d.ts +2 -1
- package/es/molecule/brand-create-form/index.d.ts.map +1 -1
- package/es/molecule/brand-download-box/index.d.ts +2 -1
- package/es/molecule/brand-download-box/index.d.ts.map +1 -1
- package/es/molecule/brand-form-group/index.d.ts +3 -2
- 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 +4 -3
- 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 +6 -5
- 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/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/types.d.ts +6 -6
- package/es/molecule/card/customer.d.ts +3 -2
- package/es/molecule/card/customer.d.ts.map +1 -1
- package/es/molecule/card/favorite.d.ts +4 -3
- package/es/molecule/card/favorite.d.ts.map +1 -1
- package/es/molecule/card/index.d.ts +1 -1
- package/es/molecule/card/notification.d.ts +2 -1
- package/es/molecule/card/notification.d.ts.map +1 -1
- package/es/molecule/card/selectable.d.ts +2 -1
- 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 +8 -7
- package/es/molecule/card-content/index.d.ts.map +1 -1
- package/es/molecule/card-with-button/index.d.ts +3 -2
- package/es/molecule/card-with-button/index.d.ts.map +1 -1
- package/es/molecule/certification-card/index.d.ts +2 -1
- package/es/molecule/certification-card/index.d.ts.map +1 -1
- package/es/molecule/cm-popin/index.d.ts +2 -1
- 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 +2 -1
- package/es/molecule/cookie-banner/index.d.ts.map +1 -1
- package/es/molecule/coorp-manager-roles/index.d.ts +4 -3
- package/es/molecule/coorp-manager-roles/index.d.ts.map +1 -1
- package/es/molecule/coorpmanager-base-banner/index.d.ts +2 -1
- package/es/molecule/coorpmanager-base-banner/index.d.ts.map +1 -1
- package/es/molecule/course-section/index.d.ts +4 -3
- package/es/molecule/course-section/index.d.ts.map +1 -1
- package/es/molecule/course-sections/index.d.ts +6 -5
- 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/discipline-associated-skills/index.d.ts +4 -3
- package/es/molecule/discipline-associated-skills/index.d.ts.map +1 -1
- package/es/molecule/discipline-cta/index.d.ts +2 -1
- 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 +6 -5
- package/es/molecule/discipline-partners/index.d.ts.map +1 -1
- package/es/molecule/discipline-scope/index.d.ts +10 -9
- package/es/molecule/discipline-scope/index.d.ts.map +1 -1
- package/es/molecule/drag-and-drop/index.d.ts +6 -5
- package/es/molecule/drag-and-drop/index.d.ts.map +1 -1
- package/es/molecule/drag-and-drop/overlay.d.ts +2 -1
- package/es/molecule/drag-and-drop/overlay.d.ts.map +1 -1
- package/es/molecule/drag-and-drop/placeholder.d.ts +2 -1
- package/es/molecule/drag-and-drop/placeholder.d.ts.map +1 -1
- package/es/molecule/drag-and-drop/upload-report.d.ts +5 -4
- package/es/molecule/drag-and-drop/upload-report.d.ts.map +1 -1
- package/es/molecule/drag-and-drop-wrapper/index.d.ts +5 -4
- package/es/molecule/drag-and-drop-wrapper/index.d.ts.map +1 -1
- package/es/molecule/draggable/index.d.ts +2 -1
- package/es/molecule/draggable/index.d.ts.map +1 -1
- package/es/molecule/draggable-list/index.d.ts +15 -14
- 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 +2 -1
- package/es/molecule/external-content-viewer/index.d.ts.map +1 -1
- package/es/molecule/feedback/index.d.ts +2 -1
- package/es/molecule/feedback/index.d.ts.map +1 -1
- package/es/molecule/filters/filters-wrapper.d.ts +4 -3
- 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 +2 -1
- package/es/molecule/forum/forum-comment/index.d.ts.map +1 -1
- package/es/molecule/forum/forum-post/index.d.ts +2 -1
- package/es/molecule/forum/forum-post/index.d.ts.map +1 -1
- package/es/molecule/forum/forum-thread/index.d.ts +2 -1
- package/es/molecule/forum/forum-thread/index.d.ts.map +1 -1
- package/es/molecule/go1-banner/index.d.ts +2 -1
- 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 +2 -1
- 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 +2 -1
- package/es/molecule/input-text-with-titled-checkbox/index.d.ts.map +1 -1
- package/es/molecule/learner-skill-card/index.d.ts +2 -1
- package/es/molecule/learner-skill-card/index.d.ts.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-modal/index.d.ts +8 -7
- package/es/molecule/learning-priority-modal/index.d.ts.map +1 -1
- package/es/molecule/learning-priority-setup-item/index.d.ts +2 -1
- package/es/molecule/learning-priority-setup-item/index.d.ts.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 +4 -3
- package/es/molecule/list-badges/index.d.ts.map +1 -1
- package/es/molecule/login-alert/index.d.ts +2 -1
- 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 +4 -3
- package/es/molecule/menu-list/index.d.ts.map +1 -1
- package/es/molecule/message-popin/index.d.ts +2 -1
- package/es/molecule/message-popin/index.d.ts.map +1 -1
- package/es/molecule/modal/index.d.ts +2 -1
- package/es/molecule/modal/index.d.ts.map +1 -1
- package/es/molecule/module-bubble/index.d.ts +2 -1
- package/es/molecule/module-bubble/index.d.ts.map +1 -1
- package/es/molecule/module-card/index.d.ts +2 -1
- 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/native-slider/index.native.d.ts +19 -0
- package/es/molecule/native-slider/index.native.d.ts.map +1 -0
- package/es/molecule/native-slider/index.native.js +151 -0
- package/es/molecule/native-slider/index.native.js.map +1 -0
- package/es/molecule/news/index.d.ts +2 -1
- package/es/molecule/news/index.d.ts.map +1 -1
- package/es/molecule/notification-banner/index.d.ts +2 -1
- package/es/molecule/notification-banner/index.d.ts.map +1 -1
- package/es/molecule/pagination/index.d.ts +2 -1
- 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 +2 -1
- package/es/molecule/pdf/index.d.ts.map +1 -1
- package/es/molecule/playlist-card/index.d.ts +4 -3
- package/es/molecule/playlist-card/index.d.ts.map +1 -1
- package/es/molecule/playlist-detail-cover/index.d.ts +4 -3
- package/es/molecule/playlist-detail-cover/index.d.ts.map +1 -1
- package/es/molecule/popin/index.d.ts +2 -1
- 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 +2 -1
- package/es/molecule/product-card/index.d.ts.map +1 -1
- package/es/molecule/progress-bar/index.d.ts +3 -2
- package/es/molecule/progress-bar/index.d.ts.map +1 -1
- package/es/molecule/progress-wrapper/index.d.ts +4 -3
- package/es/molecule/progress-wrapper/index.d.ts.map +1 -1
- package/es/molecule/questions/drop-down/index.d.ts +5 -4
- package/es/molecule/questions/drop-down/index.d.ts.map +1 -1
- package/es/molecule/questions/free-text/index.d.ts +2 -1
- 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 +4 -2
- 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 +23 -35
- 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 +14 -4
- package/es/molecule/questions/mobile/template/index.native.js.map +1 -1
- package/es/molecule/questions/qcm/index.d.ts +4 -3
- package/es/molecule/questions/qcm/index.d.ts.map +1 -1
- package/es/molecule/questions/qcm-drag/index.d.ts +6 -5
- package/es/molecule/questions/qcm-drag/index.d.ts.map +1 -1
- package/es/molecule/questions/qcm-graphic/index.d.ts +4 -3
- package/es/molecule/questions/qcm-graphic/index.d.ts.map +1 -1
- package/es/molecule/questions/question-range/index.d.ts +2 -1
- package/es/molecule/questions/question-range/index.d.ts.map +1 -1
- package/es/molecule/questions/template/index.d.ts +7 -17
- 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 +2 -1
- package/es/molecule/quick-access-card/index.d.ts.map +1 -1
- package/es/molecule/quick-access-cards-group/index.d.ts +4 -3
- 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/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 +2 -1
- package/es/molecule/review-card-congrats/index.d.ts.map +1 -1
- package/es/molecule/review-correction-popin/index.d.ts +2 -1
- package/es/molecule/review-correction-popin/index.d.ts.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 +2 -1
- 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 +9 -8
- package/es/molecule/scope-content/index.d.ts.map +1 -1
- package/es/molecule/scope-tabs/index.d.ts +3 -2
- package/es/molecule/scope-tabs/index.d.ts.map +1 -1
- package/es/molecule/search-form/index.d.ts +2 -1
- package/es/molecule/search-form/index.d.ts.map +1 -1
- package/es/molecule/select-multiple/index.d.ts +5 -4
- package/es/molecule/select-multiple/index.d.ts.map +1 -1
- package/es/molecule/setup-cohort-item/index.d.ts +6 -5
- package/es/molecule/setup-cohort-item/index.d.ts.map +1 -1
- package/es/molecule/setup-section/index.d.ts +5 -4
- package/es/molecule/setup-section/index.d.ts.map +1 -1
- package/es/molecule/setup-sections/index.d.ts +6 -5
- package/es/molecule/setup-sections/index.d.ts.map +1 -1
- package/es/molecule/setup-slider/index.d.ts +2 -1
- package/es/molecule/setup-slider/index.d.ts.map +1 -1
- package/es/molecule/share/index.d.ts +4 -3
- package/es/molecule/share/index.d.ts.map +1 -1
- package/es/molecule/skill-card/index.d.ts +2 -1
- package/es/molecule/skill-card/index.d.ts.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 +6 -5
- package/es/molecule/skill-picker-modal/index.d.ts.map +1 -1
- package/es/molecule/skills-chart-side-information-item/index.d.ts +3 -2
- 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 +6 -5
- package/es/molecule/skills-chart-side-information-panel/index.d.ts.map +1 -1
- package/es/molecule/ssmenu-list/index.d.ts +4 -3
- package/es/molecule/ssmenu-list/index.d.ts.map +1 -1
- package/es/molecule/subscription-freemium/index.d.ts +2 -1
- package/es/molecule/subscription-freemium/index.d.ts.map +1 -1
- package/es/molecule/subscription-premium/index.d.ts +2 -1
- package/es/molecule/subscription-premium/index.d.ts.map +1 -1
- package/es/molecule/table/index.d.ts +10 -9
- package/es/molecule/table/index.d.ts.map +1 -1
- package/es/molecule/tabs/index.d.ts +4 -3
- package/es/molecule/tabs/index.d.ts.map +1 -1
- package/es/molecule/teams-popin/index.d.ts +2 -1
- package/es/molecule/teams-popin/index.d.ts.map +1 -1
- package/es/molecule/theme-image/index.d.ts +2 -1
- 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 +2 -1
- package/es/molecule/titled-checkbox/index.d.ts.map +1 -1
- package/es/molecule/translation-modal/index.d.ts +2 -1
- package/es/molecule/translation-modal/index.d.ts.map +1 -1
- package/es/molecule/unsubscribe/index.d.ts +2 -1
- package/es/molecule/unsubscribe/index.d.ts.map +1 -1
- package/es/molecule/vertical-tabs/index.d.ts +4 -3
- 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 +9 -8
- package/es/molecule/video-player-mobile/index.native.js.map +1 -1
- package/es/molecule/wizard-summary/index.d.ts +9 -8
- package/es/molecule/wizard-summary/index.d.ts.map +1 -1
- package/es/organism/accordion/container/index.d.ts +6 -5
- package/es/organism/accordion/container/index.d.ts.map +1 -1
- package/es/organism/accordion/coorp-manager/index.d.ts +6 -5
- package/es/organism/accordion/coorp-manager/index.d.ts.map +1 -1
- package/es/organism/accordion/coorp-manager/part/index.d.ts +2 -1
- package/es/organism/accordion/coorp-manager/part/index.d.ts.map +1 -1
- package/es/organism/accordion/part/index.d.ts +2 -1
- 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 +2 -1
- package/es/organism/brand-analytics/analytics-popin.d.ts.map +1 -1
- package/es/organism/brand-analytics/index.d.ts +7 -12
- package/es/organism/brand-analytics/index.d.ts.map +1 -1
- package/es/organism/brand-dashboard/index.d.ts +4 -3
- package/es/organism/brand-dashboard/index.d.ts.map +1 -1
- package/es/organism/brand-form/index.d.ts +5 -4
- package/es/organism/brand-form/index.d.ts.map +1 -1
- package/es/organism/brand-learning-priorities/index.d.ts +20 -19
- package/es/organism/brand-learning-priorities/index.d.ts.map +1 -1
- package/es/organism/brand-table/index.d.ts +10 -9
- package/es/organism/brand-table/index.d.ts.map +1 -1
- package/es/organism/brand-upload/index.d.ts +4 -3
- 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 +2 -1
- 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 +4 -3
- package/es/organism/content-translation/index.d.ts.map +1 -1
- package/es/organism/course-selection/index.d.ts +3 -2
- package/es/organism/course-selection/index.d.ts.map +1 -1
- package/es/organism/discussion/index.d.ts +4 -3
- 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 +2 -1
- package/es/organism/get-the-app/index.d.ts.map +1 -1
- package/es/organism/grid-list/index.d.ts +2 -1
- package/es/organism/grid-list/index.d.ts.map +1 -1
- package/es/organism/header/index.d.ts +4 -3
- 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/types.d.ts +4 -4
- package/es/organism/hero/index.d.ts +2 -1
- 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 +13 -12
- package/es/organism/list-item/index.d.ts.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 +5 -4
- package/es/organism/mooc/image-slider/index.d.ts.map +1 -1
- package/es/organism/mooc-footer/index.d.ts +8 -7
- 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/popin/index.d.ts +2 -1
- package/es/organism/popin/index.d.ts.map +1 -1
- package/es/organism/resource-browser/index.d.ts +5 -4
- package/es/organism/resource-browser/index.d.ts.map +1 -1
- package/es/organism/review-congrats/index.d.ts +2 -1
- package/es/organism/review-congrats/index.d.ts.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 +2 -1
- package/es/organism/review-header/index.d.ts.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 +3 -2
- 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 +2 -1
- 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 +2 -1
- 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 +11 -5
- 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 +2 -1
- 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 +4 -3
- 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 +10 -9
- package/es/organism/settings/index.d.ts.map +1 -1
- package/es/organism/setup-header/index.d.ts +10 -9
- package/es/organism/setup-header/index.d.ts.map +1 -1
- package/es/organism/sidebar/index.d.ts +24 -47
- 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 +4 -3
- 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 +2 -1
- package/es/template/activity/engine-stars.d.ts.map +1 -1
- package/es/template/activity/index.d.ts +9 -8
- package/es/template/activity/index.d.ts.map +1 -1
- package/es/template/activity/progression-item.d.ts +2 -1
- package/es/template/activity/progression-item.d.ts.map +1 -1
- package/es/template/activity/stars-summary.d.ts +4 -3
- 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 +4 -3
- package/es/template/app-player/player/slides/footer/index.d.ts.map +1 -1
- package/es/template/app-player/player/slides/header/index.d.ts +4 -3
- package/es/template/app-player/player/slides/header/learner.d.ts +2 -1
- 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 +2 -1
- package/es/template/app-player/player/slides/header/lives.d.ts.map +1 -1
- package/es/template/app-player/player/slides/header/microlearning.d.ts +2 -1
- 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/tourguide/index.d.ts +20 -20
- package/es/template/app-player/player/tourguide/index.d.ts.map +1 -1
- 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-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.d.ts +11 -10
- package/es/template/app-player/popin-end/summary.d.ts.map +1 -1
- package/es/template/app-player/popin-header/index.d.ts +8 -7
- package/es/template/app-player/popin-header/index.d.ts.map +1 -1
- package/es/template/app-player/popin-no-access/index.d.ts +2 -1
- 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 +2 -1
- package/es/template/app-review/player/background-review.d.ts.map +1 -1
- package/es/template/app-review/player/index.d.ts +2 -1
- 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 +2 -1
- package/es/template/app-review/skills/index.d.ts.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 +10 -9
- package/es/template/back-office/brand-list/index.d.ts +10 -9
- package/es/template/back-office/brand-update/index.d.ts +338 -344
- package/es/template/back-office/brand-update/index.d.ts.map +1 -1
- package/es/template/back-office/dashboard-preview/dashboard-popin.d.ts +2 -1
- package/es/template/back-office/dashboard-preview/dashboard-popin.d.ts.map +1 -1
- package/es/template/back-office/dashboard-preview/index.d.ts +10 -9
- package/es/template/back-office/layout/index.d.ts +10 -9
- package/es/template/battle-requests/index.d.ts +4 -3
- package/es/template/battle-requests/index.d.ts.map +1 -1
- package/es/template/certification-detail/index.d.ts +866 -6
- package/es/template/certification-detail/index.d.ts.map +1 -1
- package/es/template/certification-detail/index.js +8 -3
- package/es/template/certification-detail/index.js.map +1 -1
- package/es/template/certification-detail/style.css +5 -0
- package/es/template/certifications/index.d.ts +12 -11
- package/es/template/certifications/index.d.ts.map +1 -1
- package/es/template/cockpit/jw-uploader/index.d.ts +2 -1
- 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 +2 -1
- 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 +25 -24
- 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 +23 -10
- 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 +25 -12
- package/es/template/mobile-login/welcome/index.native.js.map +1 -1
- package/es/template/my-learning/index.d.ts +11 -10
- package/es/template/my-learning/index.d.ts.map +1 -1
- package/es/template/playlist-detail/index.d.ts +876 -16
- package/es/template/playlist-detail/index.d.ts.map +1 -1
- package/es/template/playlist-detail/index.js +8 -3
- package/es/template/playlist-detail/index.js.map +1 -1
- package/es/template/playlist-detail/style.css +5 -0
- package/es/template/review-dashboard-skills/index.d.ts +4 -3
- package/es/template/review-dashboard-skills/index.d.ts.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 +10 -8
- package/es/template/skill-detail/index.d.ts.map +1 -1
- package/es/template/skill-detail/index.js +6 -2
- package/es/template/skill-detail/index.js.map +1 -1
- package/es/template/skill-detail/style.css +4 -1
- package/es/template/teams-dashboard/index.d.ts +11 -10
- 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 +5 -4
- package/lib/atom/autocomplete/index.d.ts.map +1 -1
- package/lib/atom/avatar/index.d.ts +2 -1
- 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 +2 -4
- package/lib/atom/battle-opponent/index.js.map +1 -1
- package/lib/atom/button/index.d.ts +2 -1
- 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 +2 -1
- 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 +2 -1
- package/lib/atom/card-image-preview/index.d.ts.map +1 -1
- package/lib/atom/catalog-section/index.d.ts +2 -1
- package/lib/atom/catalog-section/index.d.ts.map +1 -1
- package/lib/atom/centered-text/index.d.ts +2 -1
- package/lib/atom/centered-text/index.d.ts.map +1 -1
- package/lib/atom/checkbox/index.d.ts +2 -1
- package/lib/atom/checkbox/index.d.ts.map +1 -1
- package/lib/atom/checkbox-with-title/index.d.ts +3 -2
- package/lib/atom/checkbox-with-title/index.d.ts.map +1 -1
- package/lib/atom/chip/index.d.ts +3 -2
- package/lib/atom/chip/index.d.ts.map +1 -1
- package/lib/atom/chip/index.js +2 -2
- package/lib/atom/chip/index.js.map +1 -1
- package/lib/atom/chips/index.d.ts +2 -1
- package/lib/atom/chips/index.d.ts.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 +4 -2
- 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/clue/index.d.ts +3 -3
- package/lib/atom/clue/index.d.ts.map +1 -1
- package/lib/atom/content-badge/index.d.ts +2 -1
- 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 +4 -3
- 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 +2 -1
- 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 +29 -8
- 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 +28 -21
- 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 +2 -1
- package/lib/atom/input-checkbox/index.d.ts.map +1 -1
- package/lib/atom/input-color/index.d.ts +2 -1
- 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 +11 -10
- package/lib/atom/input-file-draggable/index.d.ts.map +1 -1
- package/lib/atom/input-html/index.d.ts +2 -1
- package/lib/atom/input-html/index.d.ts.map +1 -1
- package/lib/atom/input-html/input-preview.d.ts +2 -1
- package/lib/atom/input-html/input-preview.d.ts.map +1 -1
- package/lib/atom/input-readonly/index.d.ts +2 -1
- package/lib/atom/input-readonly/index.d.ts.map +1 -1
- package/lib/atom/input-search/index.d.ts +2 -1
- 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-switch/index.d.ts +2 -1
- package/lib/atom/input-switch/index.d.ts.map +1 -1
- package/lib/atom/input-text/index.d.ts +2 -1
- package/lib/atom/input-text/index.d.ts.map +1 -1
- package/lib/atom/input-text-with-title/index.d.ts +2 -1
- package/lib/atom/input-text-with-title/index.d.ts.map +1 -1
- package/lib/atom/input-textarea/index.d.ts +2 -1
- package/lib/atom/input-textarea/index.d.ts.map +1 -1
- package/lib/atom/label/index.d.ts +3 -2
- package/lib/atom/label/index.d.ts.map +1 -1
- package/lib/atom/life/index.d.ts +2 -1
- package/lib/atom/life/index.d.ts.map +1 -1
- package/lib/atom/link/index.d.ts +2 -1
- package/lib/atom/link/index.d.ts.map +1 -1
- package/lib/atom/loader/index.d.ts +3 -2
- 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 +5 -1
- package/lib/atom/loader/index.native.js.map +1 -1
- package/lib/atom/lottie-wrapper/index.d.ts +2 -1
- package/lib/atom/lottie-wrapper/index.d.ts.map +1 -1
- package/lib/atom/notification/index.d.ts +2 -1
- package/lib/atom/notification/index.d.ts.map +1 -1
- package/lib/atom/picture/index.d.ts +2 -1
- package/lib/atom/picture/index.d.ts.map +1 -1
- package/lib/atom/picture-background/index.d.ts +5 -4
- package/lib/atom/picture-background/index.d.ts.map +1 -1
- package/lib/atom/promo-code/index.d.ts +2 -1
- package/lib/atom/promo-code/index.d.ts.map +1 -1
- package/lib/atom/provider/index.d.ts +1 -0
- package/lib/atom/provider/index.d.ts.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 +4 -3
- package/lib/atom/radio-group/index.d.ts.map +1 -1
- package/lib/atom/radio-group/item.d.ts +2 -1
- 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 +2 -1
- 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 +2 -1
- package/lib/atom/resource-miniature/index.d.ts.map +1 -1
- package/lib/atom/review-presentation/index.d.ts +2 -1
- package/lib/atom/review-presentation/index.d.ts.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 +14 -13
- package/lib/atom/select/index.d.ts.map +1 -1
- package/lib/atom/select-icon/index.d.ts +2 -1
- 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 +4 -3
- package/lib/atom/select-modal/index.native.js.map +1 -1
- package/lib/atom/slide/index.d.ts +2 -1
- package/lib/atom/slide/index.d.ts.map +1 -1
- package/lib/atom/social-link/index.d.ts +2 -1
- 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 +2 -1
- 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 +5 -4
- package/lib/atom/tab/index.d.ts.map +1 -1
- package/lib/atom/tab-content/index.d.ts +2 -1
- 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/tooltip/index.d.ts +6 -5
- package/lib/atom/tooltip/index.d.ts.map +1 -1
- package/lib/atom/video-upload/index.d.ts +2 -1
- package/lib/atom/video-upload/index.d.ts.map +1 -1
- package/lib/atom/wizard-steps/index.d.ts +4 -3
- 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 +3 -2
- 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 +13 -2
- 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 +4 -3
- package/lib/molecule/add-to-my-list/index.d.ts.map +1 -1
- package/lib/molecule/answer/index.d.ts +2 -1
- 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 +4 -3
- package/lib/molecule/banner/index.d.ts.map +1 -1
- package/lib/molecule/base-modal/index.d.ts +4 -3
- package/lib/molecule/base-modal/index.d.ts.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 +2 -1
- package/lib/molecule/battle-request/index.d.ts.map +1 -1
- package/lib/molecule/brand-card/description.d.ts +2 -1
- package/lib/molecule/brand-card/description.d.ts.map +1 -1
- package/lib/molecule/brand-card/index.d.ts +2 -1
- package/lib/molecule/brand-card/index.d.ts.map +1 -1
- package/lib/molecule/brand-card-create/index.d.ts +2 -1
- package/lib/molecule/brand-card-create/index.d.ts.map +1 -1
- package/lib/molecule/brand-create-form/index.d.ts +2 -1
- package/lib/molecule/brand-create-form/index.d.ts.map +1 -1
- package/lib/molecule/brand-download-box/index.d.ts +2 -1
- package/lib/molecule/brand-download-box/index.d.ts.map +1 -1
- package/lib/molecule/brand-form-group/index.d.ts +3 -2
- 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 +4 -3
- 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 +6 -5
- 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/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/types.d.ts +6 -6
- package/lib/molecule/card/customer.d.ts +3 -2
- package/lib/molecule/card/customer.d.ts.map +1 -1
- package/lib/molecule/card/favorite.d.ts +4 -3
- package/lib/molecule/card/favorite.d.ts.map +1 -1
- package/lib/molecule/card/index.d.ts +1 -1
- package/lib/molecule/card/notification.d.ts +2 -1
- package/lib/molecule/card/notification.d.ts.map +1 -1
- package/lib/molecule/card/selectable.d.ts +2 -1
- 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 +8 -7
- package/lib/molecule/card-content/index.d.ts.map +1 -1
- package/lib/molecule/card-with-button/index.d.ts +3 -2
- package/lib/molecule/card-with-button/index.d.ts.map +1 -1
- package/lib/molecule/certification-card/index.d.ts +2 -1
- package/lib/molecule/certification-card/index.d.ts.map +1 -1
- package/lib/molecule/cm-popin/index.d.ts +2 -1
- 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 +2 -1
- package/lib/molecule/cookie-banner/index.d.ts.map +1 -1
- package/lib/molecule/coorp-manager-roles/index.d.ts +4 -3
- package/lib/molecule/coorp-manager-roles/index.d.ts.map +1 -1
- package/lib/molecule/coorpmanager-base-banner/index.d.ts +2 -1
- package/lib/molecule/coorpmanager-base-banner/index.d.ts.map +1 -1
- package/lib/molecule/course-section/index.d.ts +4 -3
- package/lib/molecule/course-section/index.d.ts.map +1 -1
- package/lib/molecule/course-sections/index.d.ts +6 -5
- 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/discipline-associated-skills/index.d.ts +4 -3
- package/lib/molecule/discipline-associated-skills/index.d.ts.map +1 -1
- package/lib/molecule/discipline-cta/index.d.ts +2 -1
- 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 +6 -5
- package/lib/molecule/discipline-partners/index.d.ts.map +1 -1
- package/lib/molecule/discipline-scope/index.d.ts +10 -9
- package/lib/molecule/discipline-scope/index.d.ts.map +1 -1
- package/lib/molecule/drag-and-drop/index.d.ts +6 -5
- package/lib/molecule/drag-and-drop/index.d.ts.map +1 -1
- package/lib/molecule/drag-and-drop/overlay.d.ts +2 -1
- package/lib/molecule/drag-and-drop/overlay.d.ts.map +1 -1
- package/lib/molecule/drag-and-drop/placeholder.d.ts +2 -1
- package/lib/molecule/drag-and-drop/placeholder.d.ts.map +1 -1
- package/lib/molecule/drag-and-drop/upload-report.d.ts +5 -4
- package/lib/molecule/drag-and-drop/upload-report.d.ts.map +1 -1
- package/lib/molecule/drag-and-drop-wrapper/index.d.ts +5 -4
- package/lib/molecule/drag-and-drop-wrapper/index.d.ts.map +1 -1
- package/lib/molecule/draggable/index.d.ts +2 -1
- package/lib/molecule/draggable/index.d.ts.map +1 -1
- package/lib/molecule/draggable-list/index.d.ts +15 -14
- 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 +2 -1
- package/lib/molecule/external-content-viewer/index.d.ts.map +1 -1
- package/lib/molecule/feedback/index.d.ts +2 -1
- package/lib/molecule/feedback/index.d.ts.map +1 -1
- package/lib/molecule/filters/filters-wrapper.d.ts +4 -3
- 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 +2 -1
- package/lib/molecule/forum/forum-comment/index.d.ts.map +1 -1
- package/lib/molecule/forum/forum-post/index.d.ts +2 -1
- package/lib/molecule/forum/forum-post/index.d.ts.map +1 -1
- package/lib/molecule/forum/forum-thread/index.d.ts +2 -1
- package/lib/molecule/forum/forum-thread/index.d.ts.map +1 -1
- package/lib/molecule/go1-banner/index.d.ts +2 -1
- 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 +2 -1
- 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 +2 -1
- package/lib/molecule/input-text-with-titled-checkbox/index.d.ts.map +1 -1
- package/lib/molecule/learner-skill-card/index.d.ts +2 -1
- package/lib/molecule/learner-skill-card/index.d.ts.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-modal/index.d.ts +8 -7
- package/lib/molecule/learning-priority-modal/index.d.ts.map +1 -1
- package/lib/molecule/learning-priority-setup-item/index.d.ts +2 -1
- package/lib/molecule/learning-priority-setup-item/index.d.ts.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 +4 -3
- package/lib/molecule/list-badges/index.d.ts.map +1 -1
- package/lib/molecule/login-alert/index.d.ts +2 -1
- 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 +4 -3
- package/lib/molecule/menu-list/index.d.ts.map +1 -1
- package/lib/molecule/message-popin/index.d.ts +2 -1
- package/lib/molecule/message-popin/index.d.ts.map +1 -1
- package/lib/molecule/modal/index.d.ts +2 -1
- package/lib/molecule/modal/index.d.ts.map +1 -1
- package/lib/molecule/module-bubble/index.d.ts +2 -1
- package/lib/molecule/module-bubble/index.d.ts.map +1 -1
- package/lib/molecule/module-card/index.d.ts +2 -1
- 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/native-slider/index.native.d.ts +19 -0
- package/lib/molecule/native-slider/index.native.d.ts.map +1 -0
- package/lib/molecule/native-slider/index.native.js +157 -0
- package/lib/molecule/native-slider/index.native.js.map +1 -0
- package/lib/molecule/news/index.d.ts +2 -1
- package/lib/molecule/news/index.d.ts.map +1 -1
- package/lib/molecule/notification-banner/index.d.ts +2 -1
- package/lib/molecule/notification-banner/index.d.ts.map +1 -1
- package/lib/molecule/pagination/index.d.ts +2 -1
- 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 +2 -1
- package/lib/molecule/pdf/index.d.ts.map +1 -1
- package/lib/molecule/playlist-card/index.d.ts +4 -3
- package/lib/molecule/playlist-card/index.d.ts.map +1 -1
- package/lib/molecule/playlist-detail-cover/index.d.ts +4 -3
- package/lib/molecule/playlist-detail-cover/index.d.ts.map +1 -1
- package/lib/molecule/popin/index.d.ts +2 -1
- 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 +2 -1
- package/lib/molecule/product-card/index.d.ts.map +1 -1
- package/lib/molecule/progress-bar/index.d.ts +3 -2
- package/lib/molecule/progress-bar/index.d.ts.map +1 -1
- package/lib/molecule/progress-wrapper/index.d.ts +4 -3
- package/lib/molecule/progress-wrapper/index.d.ts.map +1 -1
- package/lib/molecule/questions/drop-down/index.d.ts +5 -4
- package/lib/molecule/questions/drop-down/index.d.ts.map +1 -1
- package/lib/molecule/questions/free-text/index.d.ts +2 -1
- 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 +4 -2
- 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 +22 -34
- 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 +13 -3
- package/lib/molecule/questions/mobile/template/index.native.js.map +1 -1
- package/lib/molecule/questions/qcm/index.d.ts +4 -3
- package/lib/molecule/questions/qcm/index.d.ts.map +1 -1
- package/lib/molecule/questions/qcm-drag/index.d.ts +6 -5
- package/lib/molecule/questions/qcm-drag/index.d.ts.map +1 -1
- package/lib/molecule/questions/qcm-graphic/index.d.ts +4 -3
- package/lib/molecule/questions/qcm-graphic/index.d.ts.map +1 -1
- package/lib/molecule/questions/question-range/index.d.ts +2 -1
- package/lib/molecule/questions/question-range/index.d.ts.map +1 -1
- package/lib/molecule/questions/template/index.d.ts +7 -17
- 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 +2 -1
- package/lib/molecule/quick-access-card/index.d.ts.map +1 -1
- package/lib/molecule/quick-access-cards-group/index.d.ts +4 -3
- 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/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 +2 -1
- package/lib/molecule/review-card-congrats/index.d.ts.map +1 -1
- package/lib/molecule/review-correction-popin/index.d.ts +2 -1
- package/lib/molecule/review-correction-popin/index.d.ts.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 +2 -1
- 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 +9 -8
- package/lib/molecule/scope-content/index.d.ts.map +1 -1
- package/lib/molecule/scope-tabs/index.d.ts +3 -2
- package/lib/molecule/scope-tabs/index.d.ts.map +1 -1
- package/lib/molecule/search-form/index.d.ts +2 -1
- package/lib/molecule/search-form/index.d.ts.map +1 -1
- package/lib/molecule/select-multiple/index.d.ts +5 -4
- package/lib/molecule/select-multiple/index.d.ts.map +1 -1
- package/lib/molecule/setup-cohort-item/index.d.ts +6 -5
- package/lib/molecule/setup-cohort-item/index.d.ts.map +1 -1
- package/lib/molecule/setup-section/index.d.ts +5 -4
- package/lib/molecule/setup-section/index.d.ts.map +1 -1
- package/lib/molecule/setup-sections/index.d.ts +6 -5
- package/lib/molecule/setup-sections/index.d.ts.map +1 -1
- package/lib/molecule/setup-slider/index.d.ts +2 -1
- package/lib/molecule/setup-slider/index.d.ts.map +1 -1
- package/lib/molecule/share/index.d.ts +4 -3
- package/lib/molecule/share/index.d.ts.map +1 -1
- package/lib/molecule/skill-card/index.d.ts +2 -1
- package/lib/molecule/skill-card/index.d.ts.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 +6 -5
- package/lib/molecule/skill-picker-modal/index.d.ts.map +1 -1
- package/lib/molecule/skills-chart-side-information-item/index.d.ts +3 -2
- 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 +6 -5
- package/lib/molecule/skills-chart-side-information-panel/index.d.ts.map +1 -1
- package/lib/molecule/ssmenu-list/index.d.ts +4 -3
- package/lib/molecule/ssmenu-list/index.d.ts.map +1 -1
- package/lib/molecule/subscription-freemium/index.d.ts +2 -1
- package/lib/molecule/subscription-freemium/index.d.ts.map +1 -1
- package/lib/molecule/subscription-premium/index.d.ts +2 -1
- package/lib/molecule/subscription-premium/index.d.ts.map +1 -1
- package/lib/molecule/table/index.d.ts +10 -9
- package/lib/molecule/table/index.d.ts.map +1 -1
- package/lib/molecule/tabs/index.d.ts +4 -3
- package/lib/molecule/tabs/index.d.ts.map +1 -1
- package/lib/molecule/teams-popin/index.d.ts +2 -1
- package/lib/molecule/teams-popin/index.d.ts.map +1 -1
- package/lib/molecule/theme-image/index.d.ts +2 -1
- 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 +2 -1
- package/lib/molecule/titled-checkbox/index.d.ts.map +1 -1
- package/lib/molecule/translation-modal/index.d.ts +2 -1
- package/lib/molecule/translation-modal/index.d.ts.map +1 -1
- package/lib/molecule/unsubscribe/index.d.ts +2 -1
- package/lib/molecule/unsubscribe/index.d.ts.map +1 -1
- package/lib/molecule/vertical-tabs/index.d.ts +4 -3
- 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 +10 -9
- package/lib/molecule/video-player-mobile/index.native.js.map +1 -1
- package/lib/molecule/wizard-summary/index.d.ts +9 -8
- package/lib/molecule/wizard-summary/index.d.ts.map +1 -1
- package/lib/organism/accordion/container/index.d.ts +6 -5
- package/lib/organism/accordion/container/index.d.ts.map +1 -1
- package/lib/organism/accordion/coorp-manager/index.d.ts +6 -5
- package/lib/organism/accordion/coorp-manager/index.d.ts.map +1 -1
- package/lib/organism/accordion/coorp-manager/part/index.d.ts +2 -1
- package/lib/organism/accordion/coorp-manager/part/index.d.ts.map +1 -1
- package/lib/organism/accordion/part/index.d.ts +2 -1
- 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 +2 -1
- package/lib/organism/brand-analytics/analytics-popin.d.ts.map +1 -1
- package/lib/organism/brand-analytics/index.d.ts +7 -12
- package/lib/organism/brand-analytics/index.d.ts.map +1 -1
- package/lib/organism/brand-dashboard/index.d.ts +4 -3
- package/lib/organism/brand-dashboard/index.d.ts.map +1 -1
- package/lib/organism/brand-form/index.d.ts +5 -4
- package/lib/organism/brand-form/index.d.ts.map +1 -1
- package/lib/organism/brand-learning-priorities/index.d.ts +20 -19
- package/lib/organism/brand-learning-priorities/index.d.ts.map +1 -1
- package/lib/organism/brand-table/index.d.ts +10 -9
- package/lib/organism/brand-table/index.d.ts.map +1 -1
- package/lib/organism/brand-upload/index.d.ts +4 -3
- 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 +2 -1
- 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 +4 -3
- package/lib/organism/content-translation/index.d.ts.map +1 -1
- package/lib/organism/course-selection/index.d.ts +3 -2
- package/lib/organism/course-selection/index.d.ts.map +1 -1
- package/lib/organism/discussion/index.d.ts +4 -3
- 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 +2 -1
- package/lib/organism/get-the-app/index.d.ts.map +1 -1
- package/lib/organism/grid-list/index.d.ts +2 -1
- package/lib/organism/grid-list/index.d.ts.map +1 -1
- package/lib/organism/header/index.d.ts +4 -3
- 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/types.d.ts +4 -4
- package/lib/organism/hero/index.d.ts +2 -1
- 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 +13 -12
- package/lib/organism/list-item/index.d.ts.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 +5 -4
- package/lib/organism/mooc/image-slider/index.d.ts.map +1 -1
- package/lib/organism/mooc-footer/index.d.ts +8 -7
- 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/popin/index.d.ts +2 -1
- package/lib/organism/popin/index.d.ts.map +1 -1
- package/lib/organism/resource-browser/index.d.ts +5 -4
- package/lib/organism/resource-browser/index.d.ts.map +1 -1
- package/lib/organism/review-congrats/index.d.ts +2 -1
- package/lib/organism/review-congrats/index.d.ts.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 +2 -1
- package/lib/organism/review-header/index.d.ts.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 +3 -2
- 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 +2 -1
- 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 +2 -1
- 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 +11 -5
- 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 +2 -1
- 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 +4 -3
- 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 +10 -9
- package/lib/organism/settings/index.d.ts.map +1 -1
- package/lib/organism/setup-header/index.d.ts +10 -9
- package/lib/organism/setup-header/index.d.ts.map +1 -1
- package/lib/organism/sidebar/index.d.ts +24 -47
- 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 +4 -3
- 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 +2 -1
- package/lib/template/activity/engine-stars.d.ts.map +1 -1
- package/lib/template/activity/index.d.ts +9 -8
- package/lib/template/activity/index.d.ts.map +1 -1
- package/lib/template/activity/progression-item.d.ts +2 -1
- package/lib/template/activity/progression-item.d.ts.map +1 -1
- package/lib/template/activity/stars-summary.d.ts +4 -3
- 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 +4 -3
- package/lib/template/app-player/player/slides/footer/index.d.ts.map +1 -1
- package/lib/template/app-player/player/slides/header/index.d.ts +4 -3
- package/lib/template/app-player/player/slides/header/learner.d.ts +2 -1
- 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 +2 -1
- package/lib/template/app-player/player/slides/header/lives.d.ts.map +1 -1
- package/lib/template/app-player/player/slides/header/microlearning.d.ts +2 -1
- 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/tourguide/index.d.ts +20 -20
- package/lib/template/app-player/player/tourguide/index.d.ts.map +1 -1
- 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-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.d.ts +11 -10
- package/lib/template/app-player/popin-end/summary.d.ts.map +1 -1
- package/lib/template/app-player/popin-header/index.d.ts +8 -7
- package/lib/template/app-player/popin-header/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-no-access/index.d.ts +2 -1
- 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 +2 -1
- package/lib/template/app-review/player/background-review.d.ts.map +1 -1
- package/lib/template/app-review/player/index.d.ts +2 -1
- 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 +2 -1
- package/lib/template/app-review/skills/index.d.ts.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 +10 -9
- package/lib/template/back-office/brand-list/index.d.ts +10 -9
- package/lib/template/back-office/brand-update/index.d.ts +338 -344
- package/lib/template/back-office/brand-update/index.d.ts.map +1 -1
- package/lib/template/back-office/dashboard-preview/dashboard-popin.d.ts +2 -1
- package/lib/template/back-office/dashboard-preview/dashboard-popin.d.ts.map +1 -1
- package/lib/template/back-office/dashboard-preview/index.d.ts +10 -9
- package/lib/template/back-office/layout/index.d.ts +10 -9
- package/lib/template/battle-requests/index.d.ts +4 -3
- package/lib/template/battle-requests/index.d.ts.map +1 -1
- package/lib/template/certification-detail/index.d.ts +866 -6
- package/lib/template/certification-detail/index.d.ts.map +1 -1
- package/lib/template/certification-detail/index.js +8 -3
- package/lib/template/certification-detail/index.js.map +1 -1
- package/lib/template/certification-detail/style.css +5 -0
- package/lib/template/certifications/index.d.ts +12 -11
- package/lib/template/certifications/index.d.ts.map +1 -1
- package/lib/template/cockpit/jw-uploader/index.d.ts +2 -1
- 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 +2 -1
- 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 +25 -24
- 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 +22 -9
- 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 +23 -10
- package/lib/template/mobile-login/welcome/index.native.js.map +1 -1
- package/lib/template/my-learning/index.d.ts +11 -10
- package/lib/template/my-learning/index.d.ts.map +1 -1
- package/lib/template/playlist-detail/index.d.ts +876 -16
- package/lib/template/playlist-detail/index.d.ts.map +1 -1
- package/lib/template/playlist-detail/index.js +8 -3
- package/lib/template/playlist-detail/index.js.map +1 -1
- package/lib/template/playlist-detail/style.css +5 -0
- package/lib/template/review-dashboard-skills/index.d.ts +4 -3
- package/lib/template/review-dashboard-skills/index.d.ts.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 +10 -8
- package/lib/template/skill-detail/index.d.ts.map +1 -1
- package/lib/template/skill-detail/index.js +6 -2
- package/lib/template/skill-detail/index.js.map +1 -1
- package/lib/template/skill-detail/style.css +4 -1
- package/lib/template/teams-dashboard/index.d.ts +11 -10
- 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 +21 -19
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_propTypes","_interopRequireDefault","_classnames","_getOr","_cssColorFunction","_reactFontawesome","
|
|
1
|
+
{"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_propTypes","_interopRequireDefault","_classnames","_getOr","_cssColorFunction","_reactFontawesome","_freeSolidSvgIcons","_fontawesomeSvgCore","_provider","_colors","_style","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","library","add","fas","LUMINOSITY_DELTA","cm_primary_blue","DEFAULT_BACKGROUND_COLOR","COLORS","ICON_SIZE","calculateHoveredSelectedBgColor","selectedBgColor","luminosityDelta","convert","exports","Chip","props","context","text","subText","textColor","cm_grey_700","selected","customIcon","onClick","leftIcon","backgroundColor","customStyle","skin","skinColor","getOr","hoveredSelectedBgColor","isHovered","setIsHovered","useState","handleClick","useMemo","handleMouseEnter","useCallback","handleMouseLeave","hoverStyle","defaultIcon","showIcon","color","white","createElement","className","classnames","style","container","unselected","onMouseEnter","onMouseLeave","left","FontAwesomeIcon","icon","fontSize","title","contextTypes","Provider","childContextTypes","propTypes","process","env","NODE_ENV","PropTypes","string","bool","func","objectOf","oneOfType","number","_default"],"sources":["../../../src/atom/chip/index.js"],"sourcesContent":["import React, {useMemo, useState, useCallback} from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\n\nimport getOr from 'lodash/fp/getOr';\nimport {convert} from 'css-color-function';\nimport {FontAwesomeIcon} from '@fortawesome/react-fontawesome';\nimport {fas} from '@fortawesome/free-solid-svg-icons';\nimport {library} from '@fortawesome/fontawesome-svg-core';\nimport Provider from '../provider';\nimport {COLORS} from '../../variables/colors';\nimport style from './style.css';\n\nlibrary.add(fas);\n\nconst LUMINOSITY_DELTA = 0.08;\nconst {cm_primary_blue: DEFAULT_BACKGROUND_COLOR} = COLORS;\nconst ICON_SIZE = '12px';\n\nexport const calculateHoveredSelectedBgColor = (\n selectedBgColor,\n luminosityDelta = LUMINOSITY_DELTA\n) => convert(`hsl(from ${selectedBgColor} h s calc(l*(1 - ${luminosityDelta})))`);\n// note: luminosity decrease is relative to the selected color\n\nconst Chip = (props, context) => {\n const {\n text,\n subText,\n textColor = COLORS.cm_grey_700,\n selected = false,\n customIcon,\n onClick,\n leftIcon,\n backgroundColor,\n customStyle\n } = props;\n const {skin} = context;\n const skinColor = getOr(DEFAULT_BACKGROUND_COLOR, 'common.primary', skin);\n const selectedBgColor =\n backgroundColor === 'skin' && skinColor\n ? skinColor\n : backgroundColor || DEFAULT_BACKGROUND_COLOR;\n const hoveredSelectedBgColor = calculateHoveredSelectedBgColor(selectedBgColor);\n\n const [isHovered, setIsHovered] = useState(false);\n\n const handleClick = useMemo(() => onClick, [onClick]);\n\n const handleMouseEnter = useCallback(() => {\n setIsHovered(true);\n }, []);\n\n const handleMouseLeave = useCallback(() => {\n setIsHovered(false);\n }, []);\n\n const hoverStyle = isHovered ? {backgroundColor: hoveredSelectedBgColor} : {};\n\n const defaultIcon = selected ? 'fa-check' : 'fa-plus';\n const showIcon = customIcon !== 'none';\n const color = selected ? COLORS.white : textColor;\n\n return (\n <div\n className={classnames(style.container, !selected && style.unselected)}\n style={{\n ...(selected && selectedBgColor ? {backgroundColor: selectedBgColor} : {}),\n ...(selected && hoverStyle),\n ...customStyle\n }}\n onClick={handleClick}\n onMouseEnter={handleMouseEnter}\n onMouseLeave={handleMouseLeave}\n aria-label={text}\n data-name={`chip-${text}`}\n >\n <div className={style.left}>\n {leftIcon ? <FontAwesomeIcon style={{color}} icon={leftIcon} fontSize={ICON_SIZE} /> : null}\n <div title={text}>\n <span className={style.text} style={{color}}>\n {text}\n </span>\n {subText ? (\n <span className={style.subText} style={{color}}>\n {subText}\n </span>\n ) : null}\n </div>\n </div>\n {showIcon ? (\n <FontAwesomeIcon\n style={{color}}\n icon={customIcon ? `fa-${customIcon}` : defaultIcon}\n fontSize={ICON_SIZE}\n />\n ) : null}\n </div>\n );\n};\n\nChip.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nChip.propTypes = {\n text: PropTypes.string,\n subText: PropTypes.string,\n textColor: PropTypes.string,\n selected: PropTypes.bool,\n customIcon: PropTypes.string,\n backgroundColor: PropTypes.string,\n onClick: PropTypes.func,\n leftIcon: PropTypes.string,\n customStyle: PropTypes.objectOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number]))\n};\n\nexport default Chip;\n"],"mappings":";;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,WAAA,GAAAD,sBAAA,CAAAF,OAAA;AAEA,IAAAI,MAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,iBAAA,GAAAL,OAAA;AACA,IAAAM,iBAAA,GAAAN,OAAA;AACA,IAAAO,kBAAA,GAAAP,OAAA;AACA,IAAAQ,mBAAA,GAAAR,OAAA;AACA,IAAAS,SAAA,GAAAP,sBAAA,CAAAF,OAAA;AACA,IAAAU,OAAA,GAAAV,OAAA;AACA,IAAAW,MAAA,GAAAT,sBAAA,CAAAF,OAAA;AAAgC,SAAAE,uBAAAU,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,yBAAAH,CAAA,6BAAAI,OAAA,mBAAAC,CAAA,OAAAD,OAA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,GAC5CxB,OACG,CAAC,GACL,IACD,CACF,CAAC,EACLuB,QAAQ,gBACP1E,MAAA,CAAAgB,OAAA,CAAA6D,aAAA,CAACrE,iBAAA,CAAA8E,eAAe;IACdN,KAAK,EAAE;MAACL;IAAK,CAAE;IACfY,IAAI,EAAEhC,UAAU,GAAG,MAAMA,UAAU,EAAE,GAAGkB,WAAY;IACpDe,QAAQ,EAAE/C;EAAU,CACrB,CAAC,GACA,IACD,CAAC;AAEV,CAAC;AAEDM,IAAI,CAAC2C,YAAY,GAAG;EAClB9B,IAAI,EAAE+B,iBAAQ,CAACC,iBAAiB,CAAChC;AACnC,CAAC;AAEDb,IAAI,CAAC8C,SAAS,GAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA,oBAAG;EACf9C,IAAI,EAAE+C,kBAAS,CAACC,MAAM;EACtB/C,OAAO,EAAE8C,kBAAS,CAACC,MAAM;EACzB9C,SAAS,EAAE6C,kBAAS,CAACC,MAAM;EAC3B5C,QAAQ,EAAE2C,kBAAS,CAACE,IAAI;EACxB5C,UAAU,EAAE0C,kBAAS,CAACC,MAAM;EAC5BxC,eAAe,EAAEuC,kBAAS,CAACC,MAAM;EACjC1C,OAAO,EAAEyC,kBAAS,CAACG,IAAI;EACvB3C,QAAQ,EAAEwC,kBAAS,CAACC,MAAM;EAC1BvC,WAAW,EAAEsC,kBAAS,CAACI,QAAQ,CAACJ,kBAAS,CAACK,SAAS,CAAC,CAACL,kBAAS,CAACC,MAAM,EAAED,kBAAS,CAACM,MAAM,CAAC,CAAC;AAC3F,CAAC;AAAC,IAAAC,QAAA,GAAA1D,OAAA,CAAA9B,OAAA,GAEa+B,IAAI","ignoreList":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default Chips;
|
|
2
|
-
declare function Chips(props: any): JSX.Element;
|
|
2
|
+
declare function Chips(props: any): React.JSX.Element;
|
|
3
3
|
declare namespace Chips {
|
|
4
4
|
namespace propTypes {
|
|
5
5
|
const text: PropTypes.Requireable<string>;
|
|
@@ -8,5 +8,6 @@ declare namespace Chips {
|
|
|
8
8
|
const onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
+
import React from "react";
|
|
11
12
|
import PropTypes from "prop-types";
|
|
12
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/chips/index.js"],"names":[],"mappings":";AAWA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/chips/index.js"],"names":[],"mappings":";AAWA,sDAuBC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { ViewStyle } from 'react-native';
|
|
3
3
|
import type { Media, QuestionType } from '../../molecule/questions/types';
|
|
4
4
|
export declare type Props = {
|
|
@@ -12,6 +12,6 @@ export declare type Props = {
|
|
|
12
12
|
style?: ViewStyle;
|
|
13
13
|
questionType: QuestionType;
|
|
14
14
|
};
|
|
15
|
-
declare const Choice: ({ children, isSelected, squeezed, isDisabled, onPress, media, testID: prefixTestID, style, questionType }: Props) => JSX.Element
|
|
15
|
+
declare const Choice: ({ children, isSelected, squeezed, isDisabled, onPress, media, testID: prefixTestID, style, questionType }: Props) => React.JSX.Element;
|
|
16
16
|
export default Choice;
|
|
17
17
|
//# sourceMappingURL=index.native.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../src/atom/choice/index.native.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../src/atom/choice/index.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AACjD,OAAO,EAAmB,SAAS,EAAkB,MAAM,cAAc,CAAC;AAI1E,OAAO,KAAK,EAAC,KAAK,EAAE,YAAY,EAAC,MAAM,gCAAgC,CAAC;AAMxE,oBAAY,KAAK,GAAG;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,YAAY,EAAE,YAAY,CAAC;CAC5B,CAAC;AAqEF,QAAA,MAAM,MAAM,8GAUT,KAAK,sBA2FP,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -47,7 +47,7 @@ const createStyleSheet = (theme, squeezed) => _reactNative.StyleSheet.create({
|
|
|
47
47
|
},
|
|
48
48
|
text: {
|
|
49
49
|
fontSize: squeezed ? theme.fontSize.medium : theme.fontSize.regular,
|
|
50
|
-
fontWeight:
|
|
50
|
+
fontWeight: '700',
|
|
51
51
|
color: theme.colors.black,
|
|
52
52
|
textAlign: 'center'
|
|
53
53
|
},
|
|
@@ -140,9 +140,11 @@ const Choice = ({
|
|
|
140
140
|
style: styleSheet.image
|
|
141
141
|
})) : null, children ? /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
142
142
|
style: textWrapperStyle
|
|
143
|
-
}, /*#__PURE__*/_react.default.createElement(_index.default, {
|
|
143
|
+
}, children.includes('<') ? /*#__PURE__*/_react.default.createElement(_index.default, {
|
|
144
144
|
style: textStyle,
|
|
145
145
|
isTextCentered: true
|
|
146
|
+
}, children) : /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
147
|
+
style: Object.assign({}, ...textStyle)
|
|
146
148
|
}, children)) : null));
|
|
147
149
|
};
|
|
148
150
|
var _default = exports.default = Choice;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.native.js","names":["_react","_interopRequireWildcard","require","_reactNative","_index","_interopRequireDefault","_index2","_getCleanUri","_index3","_templateContext","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","createStyleSheet","theme","squeezed","StyleSheet","create","boxShadow","shadowColor","shadowOffset","width","height","shadowOpacity","shadowRadius","elevation","backgroundColor","container","colors","white","borderRadius","radius","regular","flexDirection","alignItems","minHeight","textContainer","paddingHorizontal","paddingVertical","justifyContent","flex","squeezedTextContainer","padding","spacing","small","paddingLeft","undefined","paddingRight","text","fontSize","medium","fontWeight","bold","color","black","textAlign","textSelected","unselectedImageContainer","borderRightColor","border","imageContainer","overflow","borderTopLeftRadius","borderBottomLeftRadius","image","Choice","children","isSelected","isDisabled","onPress","media","testID","prefixTestID","style","questionType","templateContext","useTemplateContext","brandTheme","styleSheet","setStylesheet","useState","useEffect","_stylesheet","selectedSuffix","mediaType","type","toLowerCase","url","src","length","getCleanUri","source","uri","mediaSuffix","textStyle","textWrapperStyle","push","selectionStyle","primary","borderColor","borderTopRightRadius","borderBottomRightRadius","createElement","analyticsID","analyticsParams","View","isTextCentered","_default","exports"],"sources":["../../../src/atom/choice/index.native.tsx"],"sourcesContent":["import React, {useEffect, useState} from 'react';\nimport {View, StyleSheet, ViewStyle, TextStyle} from 'react-native';\n\nimport Html from '../html/index.native';\nimport ImageBackground from '../image-background/index.native';\nimport type {Media, QuestionType} from '../../molecule/questions/types';\nimport getCleanUri from '../../util/get-clean-uri';\nimport Touchable from '../../hoc/touchable/index.native';\nimport {useTemplateContext} from '../../template/app-review/template-context';\nimport {Theme} from '../../variables/theme.native';\n\nexport type Props = {\n isSelected?: boolean;\n onPress: () => void;\n children?: string;\n isDisabled?: boolean;\n testID?: string;\n media?: Media;\n squeezed?: boolean;\n style?: ViewStyle;\n questionType: QuestionType;\n};\n\ntype StyleSheetType = {\n boxShadow: ViewStyle;\n container: ViewStyle;\n text: TextStyle;\n textSelected: TextStyle;\n textContainer: ViewStyle;\n squeezedTextContainer: ViewStyle;\n unselectedImageContainer: ViewStyle;\n imageContainer: ViewStyle;\n image: ViewStyle;\n};\n\nconst createStyleSheet = (theme: Theme, squeezed: boolean): StyleSheetType =>\n StyleSheet.create({\n boxShadow: {\n shadowColor: '#000',\n shadowOffset: {width: 0, height: 4},\n shadowOpacity: 0.12,\n shadowRadius: 8,\n elevation: 8,\n backgroundColor: '#0000'\n },\n container: {\n backgroundColor: theme.colors.white,\n borderRadius: theme.radius.regular,\n flexDirection: 'row',\n alignItems: 'stretch',\n minHeight: 60\n },\n textContainer: {\n paddingHorizontal: 24,\n paddingVertical: 12,\n justifyContent: 'center',\n alignItems: 'center',\n flex: 1\n },\n squeezedTextContainer: {\n padding: theme.spacing.small,\n paddingLeft: undefined,\n paddingVertical: undefined,\n paddingRight: undefined,\n flex: 0\n },\n text: {\n fontSize: squeezed ? theme.fontSize.medium : theme.fontSize.regular,\n fontWeight: theme.fontWeight.bold,\n color: theme.colors.black,\n textAlign: 'center'\n },\n textSelected: {\n color: theme.colors.white\n },\n unselectedImageContainer: {\n borderRightColor: theme.colors.border\n },\n imageContainer: {\n height: '100%',\n width: '25%',\n overflow: 'hidden',\n borderTopLeftRadius: theme.radius.regular,\n borderBottomLeftRadius: theme.radius.regular\n },\n image: {\n flex: 1\n }\n });\n\nconst Choice = ({\n children,\n isSelected = false,\n squeezed = false,\n isDisabled,\n onPress,\n media,\n testID: prefixTestID,\n style,\n questionType\n}: Props) => {\n const templateContext = useTemplateContext();\n const {theme, brandTheme} = templateContext;\n\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(theme, squeezed);\n setStylesheet(_stylesheet);\n }, [theme, squeezed]);\n\n if (!styleSheet) {\n return null;\n }\n\n const selectedSuffix = prefixTestID && isSelected ? '-selected' : '';\n const mediaType = media && media.type && media.type === 'img' && media.type.toLowerCase();\n const url =\n media &&\n media.type === 'img' &&\n media.src &&\n media.src.length > 0 &&\n getCleanUri(media.src[0].url);\n\n const source = {uri: url ? getCleanUri(url) : undefined};\n const mediaSuffix = prefixTestID && mediaType ? `-${mediaType}` : '';\n\n const textStyle: TextStyle[] = [styleSheet.text];\n const textWrapperStyle: ViewStyle[] = [styleSheet.textContainer];\n\n if (squeezed) {\n textWrapperStyle.push(styleSheet.squeezedTextContainer);\n }\n\n if (isSelected) {\n textStyle.push(styleSheet.textSelected);\n\n // eslint-disable-next-line @coorpacademy/coorpacademy/no-overwriting-spread\n const selectionStyle = brandTheme && {\n backgroundColor: brandTheme.colors?.primary,\n borderColor: brandTheme.colors?.primary,\n ...(url\n ? {\n borderTopRightRadius: theme.radius.regular,\n borderBottomRightRadius: theme.radius.regular\n }\n : {\n borderRadius: theme.radius.regular\n })\n };\n\n if (selectionStyle) {\n textWrapperStyle.push(selectionStyle);\n }\n }\n\n return (\n <Touchable\n onPress={!isDisabled ? onPress : undefined}\n style={style}\n analyticsID=\"question-choice\"\n analyticsParams={{questionType}}\n >\n <View\n style={[styleSheet.boxShadow, styleSheet.container]}\n testID={prefixTestID && `${prefixTestID}${selectedSuffix}`}\n >\n {url ? (\n <View style={styleSheet.imageContainer}>\n <ImageBackground\n testID={prefixTestID && `${prefixTestID}${mediaSuffix}`}\n source={source}\n style={styleSheet.image}\n />\n </View>\n ) : null}\n\n {children ? (\n <View style={textWrapperStyle}>\n <Html style={textStyle} isTextCentered>\n {children}\n </Html>\n </View>\n ) : null}\n </View>\n </Touchable>\n );\n};\n\nexport default Choice;\n"],"mappings":";;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,MAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,OAAA,GAAAD,sBAAA,CAAAH,OAAA;AAEA,IAAAK,YAAA,GAAAF,sBAAA,CAAAH,OAAA;AACA,IAAAM,OAAA,GAAAH,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ACD,UAAU,GAAGC,OAAO,GAAGvB,SAAU;IAC3C2B,KAAK,EAAEA,KAAM;IACb8B,WAAW,EAAC,iBAAiB;IAC7BC,eAAe,EAAE;MAAC9B;IAAY;EAAE,gBAEhC3F,MAAA,CAAAY,OAAA,CAAA2G,aAAA,CAACpH,YAAA,CAAAuH,IAAI;IACHhC,KAAK,EAAE,CAACK,UAAU,CAAC5D,SAAS,EAAE4D,UAAU,CAACnD,SAAS,CAAE;IACpD4C,MAAM,EAAEC,YAAY,IAAI,GAAGA,YAAY,GAAGW,cAAc;EAAG,GAE1DI,GAAG,gBACFxG,MAAA,CAAAY,OAAA,CAAA2G,aAAA,CAACpH,YAAA,CAAAuH,IAAI;IAAChC,KAAK,EAAEK,UAAU,CAAClB;EAAe,gBACrC7E,MAAA,CAAAY,OAAA,CAAA2G,aAAA,CAACjH,OAAA,CAAAM,OAAe;IACd4E,MAAM,EAAEC,YAAY,IAAI,GAAGA,YAAY,GAAGqB,WAAW,EAAG;IACxDF,MAAM,EAAEA,MAAO;IACflB,KAAK,EAAEK,UAAU,CAACd;EAAM,CACzB,CACG,CAAC,GACL,IAAI,EAEPE,QAAQ,gBACPnF,MAAA,CAAAY,OAAA,CAAA2G,aAAA,CAACpH,YAAA,CAAAuH,IAAI;IAAChC,KAAK,EAAEsB;EAAiB,gBAC5BhH,MAAA,CAAAY,OAAA,CAAA2G,aAAA,CAACnH,MAAA,CAAAQ,OAAI;IAAC8E,KAAK,EAAEqB,SAAU;IAACY,cAAc;EAAA,GACnCxC,QACG,CACF,CAAC,GACL,IACA,CACG,CAAC;AAEhB,CAAC;AAAC,IAAAyC,QAAA,GAAAC,OAAA,CAAAjH,OAAA,GAEasE,MAAM","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"index.native.js","names":["_react","_interopRequireWildcard","require","_reactNative","_index","_interopRequireDefault","_index2","_getCleanUri","_index3","_templateContext","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","createStyleSheet","theme","squeezed","StyleSheet","create","boxShadow","shadowColor","shadowOffset","width","height","shadowOpacity","shadowRadius","elevation","backgroundColor","container","colors","white","borderRadius","radius","regular","flexDirection","alignItems","minHeight","textContainer","paddingHorizontal","paddingVertical","justifyContent","flex","squeezedTextContainer","padding","spacing","small","paddingLeft","undefined","paddingRight","text","fontSize","medium","fontWeight","color","black","textAlign","textSelected","unselectedImageContainer","borderRightColor","border","imageContainer","overflow","borderTopLeftRadius","borderBottomLeftRadius","image","Choice","children","isSelected","isDisabled","onPress","media","testID","prefixTestID","style","questionType","templateContext","useTemplateContext","brandTheme","styleSheet","setStylesheet","useState","useEffect","_stylesheet","selectedSuffix","mediaType","type","toLowerCase","url","src","length","getCleanUri","source","uri","mediaSuffix","textStyle","textWrapperStyle","push","selectionStyle","primary","borderColor","borderTopRightRadius","borderBottomRightRadius","createElement","analyticsID","analyticsParams","View","includes","isTextCentered","Text","assign","_default","exports"],"sources":["../../../src/atom/choice/index.native.tsx"],"sourcesContent":["import React, {useEffect, useState} from 'react';\nimport {View, StyleSheet, ViewStyle, TextStyle, Text} from 'react-native';\n\nimport Html from '../html/index.native';\nimport ImageBackground from '../image-background/index.native';\nimport type {Media, QuestionType} from '../../molecule/questions/types';\nimport getCleanUri from '../../util/get-clean-uri';\nimport Touchable from '../../hoc/touchable/index.native';\nimport {useTemplateContext} from '../../template/app-review/template-context';\nimport {Theme} from '../../variables/theme.native';\n\nexport type Props = {\n isSelected?: boolean;\n onPress: () => void;\n children?: string;\n isDisabled?: boolean;\n testID?: string;\n media?: Media;\n squeezed?: boolean;\n style?: ViewStyle;\n questionType: QuestionType;\n};\n\ntype StyleSheetType = {\n boxShadow: ViewStyle;\n container: ViewStyle;\n text: TextStyle;\n textSelected: TextStyle;\n textContainer: ViewStyle;\n squeezedTextContainer: ViewStyle;\n unselectedImageContainer: ViewStyle;\n imageContainer: ViewStyle;\n image: ViewStyle;\n};\n\nconst createStyleSheet = (theme: Theme, squeezed: boolean): StyleSheetType =>\n StyleSheet.create({\n boxShadow: {\n shadowColor: '#000',\n shadowOffset: {width: 0, height: 4},\n shadowOpacity: 0.12,\n shadowRadius: 8,\n elevation: 8,\n backgroundColor: '#0000'\n },\n container: {\n backgroundColor: theme.colors.white,\n borderRadius: theme.radius.regular,\n flexDirection: 'row',\n alignItems: 'stretch',\n minHeight: 60\n },\n textContainer: {\n paddingHorizontal: 24,\n paddingVertical: 12,\n justifyContent: 'center',\n alignItems: 'center',\n flex: 1\n },\n squeezedTextContainer: {\n padding: theme.spacing.small,\n paddingLeft: undefined,\n paddingVertical: undefined,\n paddingRight: undefined,\n flex: 0\n },\n text: {\n fontSize: squeezed ? theme.fontSize.medium : theme.fontSize.regular,\n fontWeight: '700',\n color: theme.colors.black,\n textAlign: 'center'\n },\n textSelected: {\n color: theme.colors.white\n },\n unselectedImageContainer: {\n borderRightColor: theme.colors.border\n },\n imageContainer: {\n height: '100%',\n width: '25%',\n overflow: 'hidden',\n borderTopLeftRadius: theme.radius.regular,\n borderBottomLeftRadius: theme.radius.regular\n },\n image: {\n flex: 1\n }\n });\n\nconst Choice = ({\n children,\n isSelected = false,\n squeezed = false,\n isDisabled,\n onPress,\n media,\n testID: prefixTestID,\n style,\n questionType\n}: Props) => {\n const templateContext = useTemplateContext();\n const {theme, brandTheme} = templateContext;\n\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(theme, squeezed);\n setStylesheet(_stylesheet);\n }, [theme, squeezed]);\n\n if (!styleSheet) {\n return null;\n }\n\n const selectedSuffix = prefixTestID && isSelected ? '-selected' : '';\n const mediaType = media && media.type && media.type === 'img' && media.type.toLowerCase();\n const url =\n media &&\n media.type === 'img' &&\n media.src &&\n media.src.length > 0 &&\n getCleanUri(media.src[0].url);\n\n const source = {uri: url ? getCleanUri(url) : undefined};\n const mediaSuffix = prefixTestID && mediaType ? `-${mediaType}` : '';\n\n const textStyle: TextStyle[] = [styleSheet.text];\n const textWrapperStyle: ViewStyle[] = [styleSheet.textContainer];\n\n if (squeezed) {\n textWrapperStyle.push(styleSheet.squeezedTextContainer);\n }\n\n if (isSelected) {\n textStyle.push(styleSheet.textSelected);\n\n // eslint-disable-next-line @coorpacademy/coorpacademy/no-overwriting-spread\n const selectionStyle = brandTheme && {\n backgroundColor: brandTheme.colors?.primary,\n borderColor: brandTheme.colors?.primary,\n ...(url\n ? {\n borderTopRightRadius: theme.radius.regular,\n borderBottomRightRadius: theme.radius.regular\n }\n : {\n borderRadius: theme.radius.regular\n })\n };\n\n if (selectionStyle) {\n textWrapperStyle.push(selectionStyle);\n }\n }\n\n return (\n <Touchable\n onPress={!isDisabled ? onPress : undefined}\n style={style}\n analyticsID=\"question-choice\"\n analyticsParams={{questionType}}\n >\n <View\n style={[styleSheet.boxShadow, styleSheet.container]}\n testID={prefixTestID && `${prefixTestID}${selectedSuffix}`}\n >\n {url ? (\n <View style={styleSheet.imageContainer}>\n <ImageBackground\n testID={prefixTestID && `${prefixTestID}${mediaSuffix}`}\n source={source}\n style={styleSheet.image}\n />\n </View>\n ) : null}\n\n {children ? (\n <View style={textWrapperStyle}>\n {children.includes('<') ? (\n <Html style={textStyle} isTextCentered>\n {children}\n </Html>\n ) : (\n <Text style={Object.assign({}, ...textStyle)}>{children}</Text>\n )}\n </View>\n ) : null}\n </View>\n </Touchable>\n );\n};\n\nexport default Choice;\n"],"mappings":";;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,MAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,OAAA,GAAAD,sBAAA,CAAAH,OAAA;AAEA,IAAAK,YAAA,GAAAF,sBAAA,CAAAH,OAAA;AACA,IAAAM,OAAA,GAAAH,sBAAA,CAAAH,OAAA;AACA,IAAAO,gBAAA,GAAAP,OAAA;AAA8E,SAAAG,u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
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { LearningPriorityCardPropTypes } from './types';
|
|
3
3
|
declare const CircularProgressBar: {
|
|
4
|
-
({ label, progression, size, strokeWidth, "aria-label": ariaLabel, "data-name": dataName }: LearningPriorityCardPropTypes): JSX.Element;
|
|
4
|
+
({ label, progression, size, strokeWidth, "aria-label": ariaLabel, "data-name": dataName }: LearningPriorityCardPropTypes): React.JSX.Element;
|
|
5
5
|
propTypes: {
|
|
6
6
|
label: import("prop-types").Requireable<string>;
|
|
7
7
|
progression: import("prop-types").Validator<number>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/circular-progress-bar/index.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/circular-progress-bar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqC,MAAM,OAAO,CAAC;AAE1D,OAAO,EAAC,6BAA6B,EAA+B,MAAM,SAAS,CAAC;AAmBpF,QAAA,MAAM,mBAAmB;gGAOtB,6BAA6B;;;;;;;;;CAgD/B,CAAC;AAIF,eAAe,mBAAmB,CAAC"}
|
package/lib/atom/clue/index.d.ts
CHANGED
|
@@ -30,14 +30,14 @@ declare class Clue extends React.Component<any, any, any> {
|
|
|
30
30
|
translate: PropTypes.Requireable<(...args: any[]) => any>;
|
|
31
31
|
};
|
|
32
32
|
static getDerivedStateFromProps(props: any): {
|
|
33
|
-
isLoading:
|
|
34
|
-
}
|
|
33
|
+
isLoading: boolean;
|
|
34
|
+
};
|
|
35
35
|
constructor(props: any, context: any);
|
|
36
36
|
state: {
|
|
37
37
|
isLoading: boolean;
|
|
38
38
|
};
|
|
39
39
|
handleClick(e: any): void;
|
|
40
|
-
render(): JSX.Element;
|
|
40
|
+
render(): React.JSX.Element;
|
|
41
41
|
}
|
|
42
42
|
import React from "react";
|
|
43
43
|
import PropTypes from "prop-types";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/clue/index.js"],"names":[],"mappings":";AAwBA;IACE;;;;MAIE;IAEF;;;;;;;;;;;;;;;;;;;;;;;MAGE;IAEF;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/clue/index.js"],"names":[],"mappings":";AAwBA;IACE;;;;MAIE;IAEF;;;;;;;;;;;;;;;;;;;;;;;MAGE;IAEF;;MAMC;IAED,sCAMC;IAJC;;MAEC;IAIH,0BASC;IAED,4BAyBC;CACF"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
export default ContentBadge;
|
|
2
|
-
declare function ContentBadge(props: any): JSX.Element;
|
|
2
|
+
declare function ContentBadge(props: any): React.JSX.Element;
|
|
3
3
|
declare namespace ContentBadge {
|
|
4
4
|
namespace propTypes {
|
|
5
5
|
const category: PropTypes.Requireable<string>;
|
|
6
6
|
const label: PropTypes.Requireable<string>;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
+
import React from "react";
|
|
9
10
|
import PropTypes from "prop-types";
|
|
10
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/content-badge/index.js"],"names":[],"mappings":";AAkBA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/content-badge/index.js"],"names":[],"mappings":";AAkBA,6DAGC"}
|
package/lib/atom/cta/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { WebContextValues } from '../provider/web-context';
|
|
3
3
|
import type { CTAProps } from './prop-types';
|
|
4
4
|
declare const CTA: {
|
|
5
|
-
(props: CTAProps, legacyContext: WebContextValues): JSX.Element;
|
|
5
|
+
(props: CTAProps, legacyContext: WebContextValues): React.JSX.Element;
|
|
6
6
|
propTypes: {
|
|
7
7
|
'aria-label': import("prop-types").Requireable<string>;
|
|
8
8
|
submitValue: import("prop-types").Requireable<import("prop-types").ReactNodeLike>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/cta/index.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/cta/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAMnD,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,yBAAyB,CAAC;AAI9D,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,cAAc,CAAC;AAE3C,QAAA,MAAM,GAAG;YAAW,QAAQ,iBAAiB,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuG5D,CAAC;AAQF,eAAe,GAAG,CAAC"}
|
|
@@ -2,7 +2,7 @@ export default DifficultyLevel;
|
|
|
2
2
|
declare function DifficultyLevel({ level, children }: {
|
|
3
3
|
level: any;
|
|
4
4
|
children: any;
|
|
5
|
-
}): JSX.Element;
|
|
5
|
+
}): React.JSX.Element;
|
|
6
6
|
declare namespace DifficultyLevel {
|
|
7
7
|
namespace propTypes {
|
|
8
8
|
import level = level;
|
|
@@ -10,9 +10,10 @@ declare namespace DifficultyLevel {
|
|
|
10
10
|
export const children: PropTypes.Requireable<string>;
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
|
+
import React from "react";
|
|
13
14
|
declare function Icon({ level }: {
|
|
14
|
-
level?: number
|
|
15
|
-
}): JSX.Element;
|
|
15
|
+
level?: number;
|
|
16
|
+
}): React.JSX.Element;
|
|
16
17
|
declare namespace Icon {
|
|
17
18
|
export namespace propTypes_1 {
|
|
18
19
|
const level_1: PropTypes.Requireable<number>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/difficulty-level/index.js"],"names":[],"mappings":";AA6BA;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/difficulty-level/index.js"],"names":[],"mappings":";AA6BA;;;sBAcC;;;;;;;;;AA/BD;;sBAWC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/drag-and-drop/index.js"],"names":[],"mappings":";AAiBA;IACE;;;;;;;;;;;;;;;;;;;;;MAqBE;IAEF,wBASC;IANC;;MAEC;IAMH,wBAIC;IAED,uBAIC;IAED,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/drag-and-drop/index.js"],"names":[],"mappings":";AAiBA;IACE;;;;;;;;;;;;;;;;;;;;;MAqBE;IAEF,wBASC;IANC;;MAEC;IAMH,wBAIC;IAED,uBAIC;IAED,4BA4MC;CACF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default EmptySearchResult;
|
|
2
|
-
declare function EmptySearchResult(props: any): JSX.Element;
|
|
2
|
+
declare function EmptySearchResult(props: any): React.JSX.Element;
|
|
3
3
|
declare namespace EmptySearchResult {
|
|
4
4
|
namespace propTypes {
|
|
5
5
|
const firstMessage: PropTypes.Validator<string>;
|
|
@@ -7,5 +7,6 @@ declare namespace EmptySearchResult {
|
|
|
7
7
|
const isBulk: PropTypes.Requireable<boolean>;
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
|
+
import React from "react";
|
|
10
11
|
import PropTypes from "prop-types";
|
|
11
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/empty-search-result/index.js"],"names":[],"mappings":";AAIA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/empty-search-result/index.js"],"names":[],"mappings":";AAIA,kEAUC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
2
|
import { ViewStyle } from 'react-native';
|
|
3
3
|
export declare type Props = {
|
|
4
4
|
children?: ReactNode;
|
|
@@ -9,6 +9,6 @@ export declare type Props = {
|
|
|
9
9
|
testID?: string;
|
|
10
10
|
pointerEvents?: 'auto' | 'none' | 'box-none' | 'box-only' | undefined;
|
|
11
11
|
};
|
|
12
|
-
declare const Gradient: ({ children, colors, transparencyPosition, height, style, testID, pointerEvents }: Props) => JSX.Element;
|
|
12
|
+
declare const Gradient: ({ children, colors, transparencyPosition, height, style, testID, pointerEvents }: Props) => React.JSX.Element;
|
|
13
13
|
export default Gradient;
|
|
14
14
|
//# sourceMappingURL=index.native.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../src/atom/gradient/index.native.tsx"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../src/atom/gradient/index.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAC,SAAS,EAAC,MAAM,OAAO,CAAC;AACvC,OAAO,EAAO,SAAS,EAAuB,MAAM,cAAc,CAAC;AAGnE,oBAAY,KAAK,GAAG;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,oBAAoB,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IACxC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,EAAE,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,UAAU,GAAG,UAAU,GAAG,SAAS,CAAC;CACvE,CAAC;AAEF,QAAA,MAAM,QAAQ,qFAQX,KAAK,sBAoDP,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.default = void 0;
|
|
5
5
|
var _react = _interopRequireDefault(require("react"));
|
|
6
|
-
var
|
|
6
|
+
var _reactNative = require("react-native");
|
|
7
7
|
var _colorjs = _interopRequireDefault(require("colorjs.io"));
|
|
8
8
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
9
|
const Gradient = ({
|
|
@@ -15,9 +15,17 @@ const Gradient = ({
|
|
|
15
15
|
testID,
|
|
16
16
|
pointerEvents
|
|
17
17
|
}) => {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
// Validate colors array - ensure all values are valid strings
|
|
19
|
+
const validColors = colors?.filter(c => c && typeof c === 'string') || [];
|
|
20
|
+
|
|
21
|
+
// Fallback if no valid colors provided
|
|
22
|
+
if (validColors.length === 0) {
|
|
23
|
+
console.warn('Gradient: No valid colors provided, using transparent fallback');
|
|
24
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, children);
|
|
25
|
+
}
|
|
26
|
+
let calculatedColors = validColors;
|
|
27
|
+
if (validColors.length === 1) {
|
|
28
|
+
const [raw] = validColors;
|
|
21
29
|
const transparent = new _colorjs.default(raw).to('srgb');
|
|
22
30
|
transparent.alpha = 0;
|
|
23
31
|
calculatedColors = transparencyPosition === 'top' ? [transparent.toString(), raw, raw] : [raw, raw, transparent.toString()];
|
|
@@ -31,12 +39,25 @@ const Gradient = ({
|
|
|
31
39
|
height
|
|
32
40
|
});
|
|
33
41
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
42
|
+
|
|
43
|
+
// Build CSS gradient string (vertical by default)
|
|
44
|
+
const gradientString = `linear-gradient(180deg, ${calculatedColors.join(', ')})`;
|
|
45
|
+
const gradientStyle = _reactNative.Platform.select({
|
|
46
|
+
default: {
|
|
47
|
+
// @ts-ignore - experimental_backgroundImage is not yet in types
|
|
48
|
+
experimental_backgroundImage: gradientString
|
|
49
|
+
},
|
|
50
|
+
web: {
|
|
51
|
+
// @ts-ignore
|
|
52
|
+
backgroundImage: gradientString
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
const combinedStyle = _reactNative.StyleSheet.flatten([gradientStyle, ..._style]);
|
|
56
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
57
|
+
style: combinedStyle,
|
|
37
58
|
pointerEvents: pointerEvents,
|
|
38
59
|
testID: testID
|
|
39
|
-
}, children)
|
|
60
|
+
}, children);
|
|
40
61
|
};
|
|
41
62
|
var _default = exports.default = Gradient;
|
|
42
63
|
//# sourceMappingURL=index.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.native.js","names":["_react","_interopRequireDefault","require","
|
|
1
|
+
{"version":3,"file":"index.native.js","names":["_react","_interopRequireDefault","require","_reactNative","_colorjs","e","__esModule","default","Gradient","children","colors","transparencyPosition","height","style","testID","pointerEvents","validColors","filter","c","length","console","warn","createElement","Fragment","calculatedColors","raw","transparent","Color","to","alpha","toString","_style","push","gradientString","join","gradientStyle","Platform","select","experimental_backgroundImage","web","backgroundImage","combinedStyle","StyleSheet","flatten","View","_default","exports"],"sources":["../../../src/atom/gradient/index.native.tsx"],"sourcesContent":["import React, {ReactNode} from 'react';\nimport {View, ViewStyle, StyleSheet, Platform} from 'react-native';\nimport Color from 'colorjs.io';\n\nexport type Props = {\n children?: ReactNode;\n colors: Array<string>;\n transparencyPosition?: 'top' | 'bottom';\n height?: number;\n style?: ViewStyle | ViewStyle[];\n testID?: string;\n pointerEvents?: 'auto' | 'none' | 'box-none' | 'box-only' | undefined;\n};\n\nconst Gradient = ({\n children,\n colors,\n transparencyPosition = 'top',\n height,\n style,\n testID,\n pointerEvents\n}: Props) => {\n // Validate colors array - ensure all values are valid strings\n const validColors = colors?.filter(c => c && typeof c === 'string') || [];\n\n // Fallback if no valid colors provided\n if (validColors.length === 0) {\n console.warn('Gradient: No valid colors provided, using transparent fallback');\n return <>{children}</>;\n }\n\n let calculatedColors = validColors;\n if (validColors.length === 1) {\n const [raw] = validColors;\n const transparent = new Color(raw).to('srgb');\n transparent.alpha = 0;\n\n calculatedColors =\n transparencyPosition === 'top'\n ? [transparent.toString(), raw, raw]\n : [raw, raw, transparent.toString()];\n }\n\n const _style: ViewStyle[] = [];\n\n if (style) {\n _style.push(style as ViewStyle);\n }\n if (height) {\n _style.push({height});\n }\n\n // Build CSS gradient string (vertical by default)\n const gradientString = `linear-gradient(180deg, ${calculatedColors.join(', ')})`;\n\n const gradientStyle = Platform.select({\n default: {\n // @ts-ignore - experimental_backgroundImage is not yet in types\n experimental_backgroundImage: gradientString\n },\n web: {\n // @ts-ignore\n backgroundImage: gradientString\n }\n });\n\n const combinedStyle = StyleSheet.flatten([gradientStyle as ViewStyle, ..._style]);\n\n return (\n <View style={combinedStyle} pointerEvents={pointerEvents} testID={testID}>\n {children}\n </View>\n );\n};\n\nexport default Gradient;\n"],"mappings":";;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAH,sBAAA,CAAAC,OAAA;AAA+B,SAAAD,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAY/B,MAAMG,QAAQ,GAAGA,CAAC;EAChBC,QAAQ;EACRC,MAAM;EACNC,oBAAoB,GAAG,KAAK;EAC5BC,MAAM;EACNC,KAAK;EACLC,MAAM;EACNC;AACK,CAAC,KAAK;EACX;EACA,MAAMC,WAAW,GAAGN,MAAM,EAAEO,MAAM,CAACC,CAAC,IAAIA,CAAC,IAAI,OAAOA,CAAC,KAAK,QAAQ,CAAC,IAAI,EAAE;;EAEzE;EACA,IAAIF,WAAW,CAACG,MAAM,KAAK,CAAC,EAA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CAACnB,YAAA,CAAAyC,IAAI;IAAC/B,KAAK,EAAE4B,aAAc;IAAC1B,aAAa,EAAEA,aAAc;IAACD,MAAM,EAAEA;EAAO,GACtEL,QACG,CAAC;AAEX,CAAC;AAAC,IAAAoC,QAAA,GAAAC,OAAA,CAAAvC,OAAA,GAEaC,QAAQ","ignoreList":[]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { GestureResponderEvent } from 'react-native';
|
|
3
3
|
export declare const HOME_ICON_HEIGHT = 20;
|
|
4
4
|
export declare const CLOSE_ICON_HEIGHT = 16;
|
|
@@ -11,6 +11,6 @@ export declare type Props = {
|
|
|
11
11
|
noSafeArea?: boolean;
|
|
12
12
|
testID?: string;
|
|
13
13
|
};
|
|
14
|
-
declare const HeaderBackButton: (props: Props) => JSX.Element
|
|
14
|
+
declare const HeaderBackButton: (props: Props) => React.JSX.Element;
|
|
15
15
|
export default HeaderBackButton;
|
|
16
16
|
//# sourceMappingURL=index.native.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../src/atom/header-back-button/index.native.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../src/atom/header-back-button/index.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AACjD,OAAO,EAAmB,qBAAqB,EAAY,MAAM,cAAc,CAAC;AAWhF,eAAO,MAAM,gBAAgB,KAAK,CAAC;AACnC,eAAO,MAAM,iBAAiB,KAAK,CAAC;AACpC,eAAO,MAAM,gBAAgB,KAAK,CAAC;AAEnC,oBAAY,KAAK,GAAG;IAClB,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;IACjD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAuBF,QAAA,MAAM,gBAAgB,UAAW,KAAK,sBA+CrC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { ViewStyle } from 'react-native';
|
|
3
3
|
export declare type Props = {
|
|
4
4
|
color?: string;
|
|
@@ -6,6 +6,6 @@ export declare type Props = {
|
|
|
6
6
|
width?: number;
|
|
7
7
|
style?: ViewStyle;
|
|
8
8
|
};
|
|
9
|
-
declare const HeaderBackIcon: (props: Props) => JSX.Element;
|
|
9
|
+
declare const HeaderBackIcon: (props: Props) => React.JSX.Element;
|
|
10
10
|
export default HeaderBackIcon;
|
|
11
11
|
//# sourceMappingURL=index.native.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../src/atom/header-back-icon/index.native.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../src/atom/header-back-icon/index.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAO,SAAS,EAAC,MAAM,cAAc,CAAC;AAI7C,oBAAY,KAAK,GAAG;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB,CAAC;AAEF,QAAA,MAAM,cAAc,UAAW,KAAK,sBAWnC,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { ViewStyle, ImageStyle, TextStyle } from 'react-native';
|
|
3
3
|
export declare type Props = {
|
|
4
4
|
children: string;
|
|
@@ -12,6 +12,6 @@ export declare type Props = {
|
|
|
12
12
|
testID?: string;
|
|
13
13
|
isTextCentered?: boolean;
|
|
14
14
|
};
|
|
15
|
-
declare const Html: (props: Props) => JSX.Element;
|
|
15
|
+
declare const Html: (props: Props) => React.JSX.Element;
|
|
16
16
|
export default Html;
|
|
17
17
|
//# sourceMappingURL=index.native.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../src/atom/html/index.native.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../src/atom/html/index.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAO,SAAS,EAAE,UAAU,EAAE,SAAS,EAAsB,MAAM,cAAc,CAAC;AAqBzF,oBAAY,KAAK,GAAG;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;IACjC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,EAAE,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAqBF,QAAA,MAAM,IAAI,UAAW,KAAK,sBA6IzB,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -16,6 +16,9 @@ const HtmlBase = props => {
|
|
|
16
16
|
};
|
|
17
17
|
const Html = props => {
|
|
18
18
|
const templateContext = (0, _templateContext.useTemplateContext)();
|
|
19
|
+
const {
|
|
20
|
+
width: contentWidth
|
|
21
|
+
} = (0, _reactNative.useWindowDimensions)();
|
|
19
22
|
const [isDisabledBaseFontStyleColor, disableBaseFontStyleColor] = (0, _react.useState)(false);
|
|
20
23
|
const {
|
|
21
24
|
theme
|
|
@@ -31,6 +34,27 @@ const Html = props => {
|
|
|
31
34
|
isTextCentered,
|
|
32
35
|
numberOfLines
|
|
33
36
|
} = props;
|
|
37
|
+
let baseFontStyle = (0, _react.useMemo)(() => ({
|
|
38
|
+
fontSize,
|
|
39
|
+
color: theme.colors.black
|
|
40
|
+
}), [fontSize, theme]);
|
|
41
|
+
if (style) {
|
|
42
|
+
if (Array.isArray(style)) {
|
|
43
|
+
const styleObject = style.reduce((result, child) => ({
|
|
44
|
+
...result,
|
|
45
|
+
...child
|
|
46
|
+
}));
|
|
47
|
+
baseFontStyle = {
|
|
48
|
+
...baseFontStyle,
|
|
49
|
+
...styleObject
|
|
50
|
+
};
|
|
51
|
+
} else {
|
|
52
|
+
baseFontStyle = {
|
|
53
|
+
...baseFontStyle,
|
|
54
|
+
...style
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
}
|
|
34
58
|
|
|
35
59
|
// Don't use StyleSheet there, it's not a react style
|
|
36
60
|
const styles = {
|
|
@@ -53,6 +77,9 @@ const Html = props => {
|
|
|
53
77
|
};
|
|
54
78
|
const tagsStyles = {
|
|
55
79
|
...styles,
|
|
80
|
+
body: {
|
|
81
|
+
color: baseFontStyle.color
|
|
82
|
+
},
|
|
56
83
|
h1: {
|
|
57
84
|
fontSize
|
|
58
85
|
},
|
|
@@ -76,27 +103,6 @@ const Html = props => {
|
|
|
76
103
|
},
|
|
77
104
|
img: imageStyle || {}
|
|
78
105
|
};
|
|
79
|
-
let baseFontStyle = (0, _react.useMemo)(() => ({
|
|
80
|
-
fontSize,
|
|
81
|
-
color: theme.colors.black
|
|
82
|
-
}), [fontSize, theme]);
|
|
83
|
-
if (style) {
|
|
84
|
-
if (Array.isArray(style)) {
|
|
85
|
-
const styleObject = style.reduce((result, child) => ({
|
|
86
|
-
...result,
|
|
87
|
-
...child
|
|
88
|
-
}));
|
|
89
|
-
baseFontStyle = {
|
|
90
|
-
...baseFontStyle,
|
|
91
|
-
...styleObject
|
|
92
|
-
};
|
|
93
|
-
} else {
|
|
94
|
-
baseFontStyle = {
|
|
95
|
-
...baseFontStyle,
|
|
96
|
-
...style
|
|
97
|
-
};
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
106
|
const SpanRenderer = (0, _react.useCallback)((htmlAttribs, _children) => /*#__PURE__*/_react.default.createElement(_index.default, {
|
|
101
107
|
numberOfLines: numberOfLines
|
|
102
108
|
}, _children), [numberOfLines]);
|
|
@@ -129,6 +135,7 @@ const Html = props => {
|
|
|
129
135
|
// eslint-disable-next-line no-nested-ternary
|
|
130
136
|
html: isTextCentered ? `<p>${children}</p>` : numberOfLines ? `<span>${children}</span>` : `${children}`
|
|
131
137
|
},
|
|
138
|
+
contentWidth: contentWidth,
|
|
132
139
|
tagsStyles: tagsStyles,
|
|
133
140
|
baseFontStyle: {
|
|
134
141
|
...baseFontStyle,
|