@coorpacademy/components 10.4.3-alpha.0 → 10.4.6-alpha.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/style.css +4 -4
- package/es/atom/button/style.css +1 -1
- package/es/atom/card-image-preview/index.js +35 -0
- package/es/atom/card-image-preview/index.js.map +1 -0
- package/es/atom/card-image-preview/style.css +34 -0
- package/es/atom/card-image-preview/test/fixtures/default.js +6 -0
- package/es/atom/card-image-preview/test/fixtures/default.js.map +1 -0
- package/es/atom/card-image-preview/test/fixtures/empty.js +4 -0
- package/es/atom/card-image-preview/test/fixtures/empty.js.map +1 -0
- package/es/atom/catalog-section/style.css +1 -1
- package/es/atom/clue/style.css +2 -2
- package/es/atom/cta/style.css +1 -1
- package/es/atom/difficulty-level/style.css +1 -1
- package/es/atom/drag-and-drop/style.css +6 -5
- package/es/atom/input-checkbox/style.css +1 -1
- package/es/atom/input-doublestep/style.css +5 -5
- package/es/atom/input-html/input-preview.css +2 -2
- package/es/atom/input-html/style.css +2 -2
- package/es/atom/input-readonly/style.css +3 -3
- package/es/atom/input-search/style.css +1 -1
- package/es/atom/input-switch/style.css +6 -5
- package/es/atom/input-switch/test/fixtures/cm-right-disabled.js +6 -5
- package/es/atom/input-switch/test/fixtures/cm-right-disabled.js.map +1 -1
- package/es/atom/input-text/style.css +5 -5
- package/es/atom/input-textarea/style.css +5 -5
- package/es/atom/life/style.css +1 -1
- package/es/atom/notification/style.css +1 -1
- package/es/atom/radio-group/item.css +1 -1
- package/es/atom/resource-miniature/style.css +1 -1
- package/es/atom/select/style.css +7 -7
- package/es/atom/slide/style.css +1 -1
- package/es/molecule/add-to-my-list/style.css +3 -3
- package/es/molecule/audio/style.css +1 -1
- package/es/molecule/battle-request/style.css +4 -4
- package/es/molecule/brand-card/description.css +1 -1
- package/es/molecule/brand-card/style.css +2 -2
- package/es/molecule/brand-card-create/style.css +1 -1
- package/es/molecule/brand-create-form/style.css +6 -6
- package/es/molecule/brand-download-box/style.css +2 -2
- package/es/molecule/brand-tabs/style.css +1 -1
- package/es/molecule/brand-upload-box/style.css +2 -2
- package/es/molecule/breadcrumbs/style.css +3 -3
- package/es/molecule/card/customer.css +1 -1
- package/es/molecule/card/favorite.css +1 -1
- package/es/molecule/card/notification.css +1 -1
- package/es/molecule/card/style.css +1 -1
- package/es/molecule/card-content/style.css +4 -4
- package/es/molecule/card-with-button/style.css +2 -2
- package/es/molecule/cookie-banner/style.css +2 -2
- package/es/molecule/dashboard/cards-list/style.css +2 -2
- package/es/molecule/dashboard/news-list/style.css +2 -2
- package/es/molecule/dashboard/start-battle/style.css +4 -4
- package/es/molecule/discipline-cta/style.css +2 -2
- package/es/molecule/discipline-header/style.css +4 -4
- package/es/molecule/discipline-partners/style.css +2 -2
- package/es/molecule/drag-and-drop/common.css +1 -1
- package/es/molecule/drag-and-drop/overlay.css +1 -1
- package/es/molecule/drag-and-drop/style.css +1 -1
- package/es/molecule/drag-and-drop/upload-report.css +4 -4
- package/es/molecule/external-content-button/style.css +2 -2
- package/es/molecule/feedback/style.css +3 -3
- package/es/molecule/filters/filters-wapper.css +2 -2
- package/es/molecule/filters/style.css +2 -2
- package/es/molecule/forum/forum-comment/style.css +1 -1
- package/es/molecule/forum/forum-post/style.css +5 -5
- package/es/molecule/menu-list/style.css +1 -1
- package/es/molecule/message-popin/style.css +2 -2
- package/es/molecule/modal/style.css +2 -2
- package/es/molecule/module-card/style.css +2 -2
- package/es/molecule/news/style.css +3 -3
- package/es/molecule/notification-banner/style.css +3 -3
- package/es/molecule/pagination/style.css +1 -1
- package/es/molecule/payment-form/index.js +2 -2
- package/es/molecule/payment-form/index.js.map +1 -1
- package/es/molecule/pdf/style.css +2 -2
- package/es/molecule/popin/style.css +2 -2
- package/es/molecule/progress-bar/style.css +1 -1
- package/es/molecule/questions/free-text/style.css +1 -1
- package/es/molecule/questions/qcm/style.css +1 -1
- package/es/molecule/questions/qcm-drag/style.css +2 -2
- package/es/molecule/questions/qcm-graphic/style.css +1 -1
- package/es/molecule/questions/question-range/style.css +2 -2
- package/es/molecule/questions/template/style.css +1 -1
- package/es/molecule/resource-player/style.css +1 -1
- package/es/molecule/scope-content/style.css +6 -6
- package/es/molecule/scope-tabs/style.css +1 -1
- package/es/molecule/select-multiple/style.css +3 -3
- package/es/molecule/setup-cohort-item/style.css +1 -1
- package/es/molecule/setup-section/style.css +2 -2
- package/es/molecule/setup-sections/style.css +1 -1
- package/es/molecule/share/style.css +3 -3
- package/es/molecule/ssmenu-list/style.css +1 -1
- package/es/molecule/table/style.css +5 -5
- package/es/molecule/teams-popin/style.css +2 -2
- package/es/molecule/titled-checkbox/style.css +1 -1
- package/es/molecule/video-player/jwplayer.css +1 -1
- package/es/organism/accordion/part/style.css +1 -1
- package/es/organism/brand-analytics/analytics-popin.css +1 -0
- package/es/organism/brand-analytics/style.css +1 -1
- package/es/organism/brand-table/style.css +2 -2
- package/es/organism/brand-upload/style.css +2 -2
- package/es/organism/content-translation/style.css +2 -2
- package/es/organism/course-selection/index.js +9 -2
- package/es/organism/course-selection/index.js.map +1 -1
- package/es/organism/course-selection/style.css +2 -1
- package/es/organism/course-selection/test/fixtures/default.js +2 -2
- package/es/organism/course-selection/test/fixtures/default.js.map +1 -1
- package/es/organism/course-selection/test/fixtures/filtered.js +1 -1
- package/es/organism/course-selection/test/fixtures/filtered.js.map +1 -1
- package/es/organism/course-selection/test/fixtures/sorted-selected.js +1 -1
- package/es/organism/course-selection/test/fixtures/sorted-selected.js.map +1 -1
- package/es/organism/course-selection/test/fixtures/switch-activated.js +1 -1
- package/es/organism/course-selection/test/fixtures/switch-activated.js.map +1 -1
- package/es/organism/course-selection/test/fixtures/unsorted-selected.js +1 -1
- package/es/organism/course-selection/test/fixtures/unsorted-selected.js.map +1 -1
- package/es/organism/discussion/style.css +1 -1
- package/es/organism/get-the-app/style.css +1 -1
- package/es/organism/hero/style.css +1 -1
- package/es/organism/mooc-footer/style.css +3 -3
- package/es/organism/mooc-header/style.css +8 -8
- package/es/organism/popin/style.css +1 -0
- package/es/organism/sidebar/style.css +2 -2
- package/es/organism/user-preferences/style.css +1 -1
- package/es/organism/wizard-contents/style.css +1 -1
- package/es/template/activity/engine-stars.css +3 -3
- package/es/template/activity/progression-item.css +5 -4
- package/es/template/activity/stars-summary.css +2 -2
- package/es/template/activity/style.css +3 -3
- package/es/template/app-player/player/slides/footer/style.css +1 -1
- package/es/template/app-player/player/slides/header/learner.css +4 -4
- package/es/template/app-player/player/slides/header/microlearning.css +1 -1
- package/es/template/app-player/player/slides/style.css +9 -8
- package/es/template/app-player/popin-correction/style.css +3 -3
- package/es/template/app-player/popin-end/summary.css +4 -4
- package/es/template/app-player/popin-end/summary.js +3 -2
- package/es/template/app-player/popin-end/summary.js.map +1 -1
- package/es/template/app-player/popin-end/test/fixtures/without-recommendation.js +13 -0
- package/es/template/app-player/popin-end/test/fixtures/without-recommendation.js.map +1 -0
- package/es/template/app-player/popin-header/style.css +5 -5
- package/es/template/back-office/dashboard-preview/dashboard-popin.css +1 -0
- package/es/template/back-office/dashboard-preview/style.css +1 -1
- package/es/template/cockpit/jw-uploader/style.css +1 -0
- package/es/template/common/authors/style.css +5 -4
- package/es/template/common/layout.css +1 -1
- package/es/template/common/search-page/style.css +2 -1
- package/es/template/external-course/style.css +1 -1
- package/es/variables/fonts.css +1 -1
- package/lib/atom/autocomplete/style.css +4 -4
- package/lib/atom/button/style.css +1 -1
- package/lib/atom/card-image-preview/index.js +47 -0
- package/lib/atom/card-image-preview/index.js.map +1 -0
- package/lib/atom/card-image-preview/style.css +34 -0
- package/lib/atom/card-image-preview/test/fixtures/default.js +11 -0
- package/lib/atom/card-image-preview/test/fixtures/default.js.map +1 -0
- package/lib/atom/card-image-preview/test/fixtures/empty.js +9 -0
- package/lib/atom/card-image-preview/test/fixtures/empty.js.map +1 -0
- package/lib/atom/catalog-section/style.css +1 -1
- package/lib/atom/clue/style.css +2 -2
- package/lib/atom/cta/style.css +1 -1
- package/lib/atom/difficulty-level/style.css +1 -1
- package/lib/atom/drag-and-drop/style.css +6 -5
- package/lib/atom/input-checkbox/style.css +1 -1
- package/lib/atom/input-doublestep/style.css +5 -5
- package/lib/atom/input-html/input-preview.css +2 -2
- package/lib/atom/input-html/style.css +2 -2
- package/lib/atom/input-readonly/style.css +3 -3
- package/lib/atom/input-search/style.css +1 -1
- package/lib/atom/input-switch/style.css +6 -5
- package/lib/atom/input-switch/test/fixtures/cm-right-disabled.js +6 -9
- package/lib/atom/input-switch/test/fixtures/cm-right-disabled.js.map +1 -1
- package/lib/atom/input-text/style.css +5 -5
- package/lib/atom/input-textarea/style.css +5 -5
- package/lib/atom/life/style.css +1 -1
- package/lib/atom/notification/style.css +1 -1
- package/lib/atom/radio-group/item.css +1 -1
- package/lib/atom/resource-miniature/style.css +1 -1
- package/lib/atom/select/style.css +7 -7
- package/lib/atom/slide/style.css +1 -1
- package/lib/molecule/add-to-my-list/style.css +3 -3
- package/lib/molecule/audio/style.css +1 -1
- package/lib/molecule/battle-request/style.css +4 -4
- package/lib/molecule/brand-card/description.css +1 -1
- package/lib/molecule/brand-card/style.css +2 -2
- package/lib/molecule/brand-card-create/style.css +1 -1
- package/lib/molecule/brand-create-form/style.css +6 -6
- package/lib/molecule/brand-download-box/style.css +2 -2
- package/lib/molecule/brand-tabs/style.css +1 -1
- package/lib/molecule/brand-upload-box/style.css +2 -2
- package/lib/molecule/breadcrumbs/style.css +3 -3
- package/lib/molecule/card/customer.css +1 -1
- package/lib/molecule/card/favorite.css +1 -1
- package/lib/molecule/card/notification.css +1 -1
- package/lib/molecule/card/style.css +1 -1
- package/lib/molecule/card-content/style.css +4 -4
- package/lib/molecule/card-with-button/style.css +2 -2
- package/lib/molecule/cookie-banner/style.css +2 -2
- package/lib/molecule/dashboard/cards-list/style.css +2 -2
- package/lib/molecule/dashboard/news-list/style.css +2 -2
- package/lib/molecule/dashboard/start-battle/style.css +4 -4
- package/lib/molecule/discipline-cta/style.css +2 -2
- package/lib/molecule/discipline-header/style.css +4 -4
- package/lib/molecule/discipline-partners/style.css +2 -2
- package/lib/molecule/drag-and-drop/common.css +1 -1
- package/lib/molecule/drag-and-drop/overlay.css +1 -1
- package/lib/molecule/drag-and-drop/style.css +1 -1
- package/lib/molecule/drag-and-drop/upload-report.css +4 -4
- package/lib/molecule/external-content-button/style.css +2 -2
- package/lib/molecule/feedback/style.css +3 -3
- package/lib/molecule/filters/filters-wapper.css +2 -2
- package/lib/molecule/filters/style.css +2 -2
- package/lib/molecule/forum/forum-comment/style.css +1 -1
- package/lib/molecule/forum/forum-post/style.css +5 -5
- package/lib/molecule/menu-list/style.css +1 -1
- package/lib/molecule/message-popin/style.css +2 -2
- package/lib/molecule/modal/style.css +2 -2
- package/lib/molecule/module-card/style.css +2 -2
- package/lib/molecule/news/style.css +3 -3
- package/lib/molecule/notification-banner/style.css +3 -3
- package/lib/molecule/pagination/style.css +1 -1
- package/lib/molecule/payment-form/index.js +2 -2
- package/lib/molecule/payment-form/index.js.map +1 -1
- package/lib/molecule/pdf/style.css +2 -2
- package/lib/molecule/popin/style.css +2 -2
- package/lib/molecule/progress-bar/style.css +1 -1
- package/lib/molecule/questions/free-text/style.css +1 -1
- package/lib/molecule/questions/qcm/style.css +1 -1
- package/lib/molecule/questions/qcm-drag/style.css +2 -2
- package/lib/molecule/questions/qcm-graphic/style.css +1 -1
- package/lib/molecule/questions/question-range/style.css +2 -2
- package/lib/molecule/questions/template/style.css +1 -1
- package/lib/molecule/resource-player/style.css +1 -1
- package/lib/molecule/scope-content/style.css +6 -6
- package/lib/molecule/scope-tabs/style.css +1 -1
- package/lib/molecule/select-multiple/style.css +3 -3
- package/lib/molecule/setup-cohort-item/style.css +1 -1
- package/lib/molecule/setup-section/style.css +2 -2
- package/lib/molecule/setup-sections/style.css +1 -1
- package/lib/molecule/share/style.css +3 -3
- package/lib/molecule/ssmenu-list/style.css +1 -1
- package/lib/molecule/table/style.css +5 -5
- package/lib/molecule/teams-popin/style.css +2 -2
- package/lib/molecule/titled-checkbox/style.css +1 -1
- package/lib/molecule/video-player/jwplayer.css +1 -1
- package/lib/organism/accordion/part/style.css +1 -1
- package/lib/organism/brand-analytics/analytics-popin.css +1 -0
- package/lib/organism/brand-analytics/style.css +1 -1
- package/lib/organism/brand-table/style.css +2 -2
- package/lib/organism/brand-upload/style.css +2 -2
- package/lib/organism/content-translation/style.css +2 -2
- package/lib/organism/course-selection/index.js +9 -2
- package/lib/organism/course-selection/index.js.map +1 -1
- package/lib/organism/course-selection/style.css +2 -1
- package/lib/organism/course-selection/test/fixtures/default.js +2 -2
- package/lib/organism/course-selection/test/fixtures/default.js.map +1 -1
- package/lib/organism/course-selection/test/fixtures/filtered.js +1 -1
- package/lib/organism/course-selection/test/fixtures/filtered.js.map +1 -1
- package/lib/organism/course-selection/test/fixtures/sorted-selected.js +1 -1
- package/lib/organism/course-selection/test/fixtures/sorted-selected.js.map +1 -1
- package/lib/organism/course-selection/test/fixtures/switch-activated.js +1 -1
- package/lib/organism/course-selection/test/fixtures/switch-activated.js.map +1 -1
- package/lib/organism/course-selection/test/fixtures/unsorted-selected.js +1 -1
- package/lib/organism/course-selection/test/fixtures/unsorted-selected.js.map +1 -1
- package/lib/organism/discussion/style.css +1 -1
- package/lib/organism/get-the-app/style.css +1 -1
- package/lib/organism/hero/style.css +1 -1
- package/lib/organism/mooc-footer/style.css +3 -3
- package/lib/organism/mooc-header/style.css +8 -8
- package/lib/organism/popin/style.css +1 -0
- package/lib/organism/sidebar/style.css +2 -2
- package/lib/organism/user-preferences/style.css +1 -1
- package/lib/organism/wizard-contents/style.css +1 -1
- package/lib/template/activity/engine-stars.css +3 -3
- package/lib/template/activity/progression-item.css +5 -4
- package/lib/template/activity/stars-summary.css +2 -2
- package/lib/template/activity/style.css +3 -3
- package/lib/template/app-player/player/slides/footer/style.css +1 -1
- package/lib/template/app-player/player/slides/header/learner.css +4 -4
- package/lib/template/app-player/player/slides/header/microlearning.css +1 -1
- package/lib/template/app-player/player/slides/style.css +9 -8
- package/lib/template/app-player/popin-correction/style.css +3 -3
- package/lib/template/app-player/popin-end/summary.css +4 -4
- package/lib/template/app-player/popin-end/summary.js +4 -2
- package/lib/template/app-player/popin-end/summary.js.map +1 -1
- package/lib/template/app-player/popin-end/test/fixtures/without-recommendation.js +24 -0
- package/lib/template/app-player/popin-end/test/fixtures/without-recommendation.js.map +1 -0
- package/lib/template/app-player/popin-header/style.css +5 -5
- package/lib/template/back-office/dashboard-preview/dashboard-popin.css +1 -0
- package/lib/template/back-office/dashboard-preview/style.css +1 -1
- package/lib/template/cockpit/jw-uploader/style.css +1 -0
- package/lib/template/common/authors/style.css +5 -4
- package/lib/template/common/layout.css +1 -1
- package/lib/template/common/search-page/style.css +2 -1
- package/lib/template/external-course/style.css +1 -1
- package/lib/variables/fonts.css +1 -1
- package/package.json +2 -2
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
.title {
|
|
34
|
-
font-family: "
|
|
34
|
+
font-family: "Gilroy";
|
|
35
35
|
font-size: 15px;
|
|
36
36
|
text-transform: none;
|
|
37
37
|
color: dark;
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
.description {
|
|
59
|
-
font-family: '
|
|
59
|
+
font-family: 'Gilroy';
|
|
60
60
|
font-weight: 500;
|
|
61
61
|
font-size: 12px;
|
|
62
62
|
color: medium;
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
.input {
|
|
75
|
-
font-family: "
|
|
75
|
+
font-family: "Gilroy";
|
|
76
76
|
text-transform: none;
|
|
77
77
|
padding: 0 15px;
|
|
78
78
|
border: solid 2px light;
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
position: absolute;
|
|
103
103
|
top: 50px;
|
|
104
104
|
border: solid 2px light;
|
|
105
|
-
font-family: "
|
|
105
|
+
font-family: "Gilroy";
|
|
106
106
|
font-size: 14px;
|
|
107
107
|
color: dark;
|
|
108
108
|
border-bottom-left-radius: 4px;
|
package/es/atom/button/style.css
CHANGED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import _get from "lodash/fp/get";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import PropTypes from 'prop-types';
|
|
4
|
+
import { NovaCompositionCoorpacademyPictures as PicturesIcon } from '@coorpacademy/nova-icons';
|
|
5
|
+
import Provider from '../provider';
|
|
6
|
+
import style from './style.css';
|
|
7
|
+
|
|
8
|
+
const CardImagePreview = ({
|
|
9
|
+
image
|
|
10
|
+
}, {
|
|
11
|
+
skin
|
|
12
|
+
}) => {
|
|
13
|
+
const whiteColor = _get('common.white', skin);
|
|
14
|
+
|
|
15
|
+
const emptyIcon = !image ? /*#__PURE__*/React.createElement(PicturesIcon, {
|
|
16
|
+
className: style.emptyIcon,
|
|
17
|
+
color: whiteColor
|
|
18
|
+
}) : null;
|
|
19
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
20
|
+
className: style.image,
|
|
21
|
+
style: {
|
|
22
|
+
backgroundImage: image ? `url('${image}')` : 'none'
|
|
23
|
+
},
|
|
24
|
+
"data-name": "card-image-preview"
|
|
25
|
+
}, emptyIcon);
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
CardImagePreview.contextTypes = {
|
|
29
|
+
skin: Provider.childContextTypes.skin
|
|
30
|
+
};
|
|
31
|
+
CardImagePreview.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
32
|
+
image: PropTypes.string
|
|
33
|
+
} : {};
|
|
34
|
+
export default CardImagePreview;
|
|
35
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/atom/card-image-preview/index.js"],"names":["React","PropTypes","NovaCompositionCoorpacademyPictures","PicturesIcon","Provider","style","CardImagePreview","image","skin","whiteColor","emptyIcon","backgroundImage","contextTypes","childContextTypes","propTypes","string"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AAEA,SAAQC,mCAAmC,IAAIC,YAA/C,QAAkE,0BAAlE;AACA,OAAOC,QAAP,MAAqB,aAArB;AAEA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,gBAAgB,GAAG,CAAC;AAACC,EAAAA;AAAD,CAAD,EAAU;AAACC,EAAAA;AAAD,CAAV,KAAqB;AAC5C,QAAMC,UAAU,GAAG,KAAI,cAAJ,EAAoBD,IAApB,CAAnB;;AACA,QAAME,SAAS,GAAG,CAACH,KAAD,gBAAS,oBAAC,YAAD;AAAc,IAAA,SAAS,EAAEF,KAAK,CAACK,SAA/B;AAA0C,IAAA,KAAK,EAAED;AAAjD,IAAT,GAA2E,IAA7F;AAEA,sBACE;AACE,IAAA,SAAS,EAAEJ,KAAK,CAACE,KADnB;AAEE,IAAA,KAAK,EAAE;AACLI,MAAAA,eAAe,EAAEJ,KAAK,GAAI,QAAOA,KAAM,IAAjB,GAAuB;AADxC,KAFT;AAKE,iBAAU;AALZ,KAOGG,SAPH,CADF;AAWD,CAfD;;AAiBAJ,gBAAgB,CAACM,YAAjB,GAAgC;AAC9BJ,EAAAA,IAAI,EAAEJ,QAAQ,CAACS,iBAAT,CAA2BL;AADH,CAAhC;AAIAF,gBAAgB,CAACQ,SAAjB,2CAA6B;AAC3BP,EAAAA,KAAK,EAAEN,SAAS,CAACc;AADU,CAA7B;AAGA,eAAeT,gBAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {get} from 'lodash/fp';\nimport {NovaCompositionCoorpacademyPictures as PicturesIcon} from '@coorpacademy/nova-icons';\nimport Provider from '../provider';\n\nimport style from './style.css';\n\nconst CardImagePreview = ({image}, {skin}) => {\n const whiteColor = get('common.white', skin);\n const emptyIcon = !image ? <PicturesIcon className={style.emptyIcon} color={whiteColor} /> : null;\n\n return (\n <div\n className={style.image}\n style={{\n backgroundImage: image ? `url('${image}')` : 'none'\n }}\n data-name=\"card-image-preview\"\n >\n {emptyIcon}\n </div>\n );\n};\n\nCardImagePreview.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nCardImagePreview.propTypes = {\n image: PropTypes.string\n};\nexport default CardImagePreview;\n"],"file":"index.js"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
@value colors: "../../variables/colors.css";
|
|
2
|
+
@value cm_orange_200 from colors;
|
|
3
|
+
|
|
4
|
+
@keyframes fadeIn {
|
|
5
|
+
0% {
|
|
6
|
+
opacity: 0;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
100% {
|
|
10
|
+
opacity: 1;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.image {
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
overflow: hidden;
|
|
17
|
+
width: 56px;
|
|
18
|
+
height: 56px;
|
|
19
|
+
position: relative;
|
|
20
|
+
animation: fadeIn 1s ease-out forwards;
|
|
21
|
+
border-radius: 7px;
|
|
22
|
+
background-position: 50%;
|
|
23
|
+
background-size: cover;
|
|
24
|
+
background-color: cm_orange_200;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.emptyIcon {
|
|
28
|
+
width: 33px;
|
|
29
|
+
height: 27px;
|
|
30
|
+
position: absolute;
|
|
31
|
+
top: 50%;
|
|
32
|
+
left: 50%;
|
|
33
|
+
transform: translate(-50%, -50%);
|
|
34
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
props: {
|
|
3
|
+
image: 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90'
|
|
4
|
+
}
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=default.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/atom/card-image-preview/test/fixtures/default.js"],"names":["props","image"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EACH;AAFG;AADM,CAAf","sourcesContent":["export default {\n props: {\n image:\n 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90'\n }\n};\n"],"file":"default.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/atom/card-image-preview/test/fixtures/empty.js"],"names":["props"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AADM,CAAf","sourcesContent":["export default {\n props: {}\n};\n"],"file":"empty.js"}
|
package/es/atom/clue/style.css
CHANGED
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
|
|
81
81
|
.stars {
|
|
82
82
|
padding-top: 50px;
|
|
83
|
-
font-family: '
|
|
83
|
+
font-family: 'Gilroy';
|
|
84
84
|
font-style: italic;
|
|
85
85
|
color: white;
|
|
86
86
|
display: block;
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
|
|
90
90
|
.clueText,
|
|
91
91
|
.clueText a {
|
|
92
|
-
font-family: '
|
|
92
|
+
font-family: 'Gilroy';
|
|
93
93
|
font-weight: bold;
|
|
94
94
|
font-size: 18px;
|
|
95
95
|
color: white;
|
package/es/atom/cta/style.css
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.title {
|
|
15
|
-
font-family: "
|
|
15
|
+
font-family: "Gilroy";
|
|
16
16
|
font-size: 15px;
|
|
17
17
|
text-transform: none;
|
|
18
18
|
color: dark;
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.description {
|
|
23
|
-
font-family: '
|
|
23
|
+
font-family: 'Gilroy';
|
|
24
24
|
font-size: 13px;
|
|
25
25
|
font-weight: 400;
|
|
26
26
|
font-style: italic;
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
.previewWrapper span {
|
|
48
|
-
font-family: '
|
|
48
|
+
font-family: 'Gilroy';
|
|
49
49
|
color: dark;
|
|
50
50
|
font-size: 15px;
|
|
51
51
|
font-weight: 700;
|
|
@@ -90,13 +90,14 @@
|
|
|
90
90
|
align-items: center;
|
|
91
91
|
justify-content: space-between;
|
|
92
92
|
/* fonts */
|
|
93
|
-
font-family:
|
|
93
|
+
font-family: Gilroy;
|
|
94
94
|
font-size: 13px;
|
|
95
95
|
font-weight: 400;
|
|
96
96
|
margin-top: 15px;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
.resetSrcLabel {
|
|
100
|
+
font-family: Gilroy;
|
|
100
101
|
color: dark;
|
|
101
102
|
max-width: 220px;
|
|
102
103
|
display: inline-block;
|
|
@@ -135,7 +136,7 @@
|
|
|
135
136
|
}
|
|
136
137
|
|
|
137
138
|
.uploadLabel {
|
|
138
|
-
font-family: '
|
|
139
|
+
font-family: 'Gilroy';
|
|
139
140
|
font-size: 18px;
|
|
140
141
|
text-transform: uppercase;
|
|
141
142
|
font-weight: 700;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.value {
|
|
16
|
-
font-family: '
|
|
16
|
+
font-family: 'Gilroy';
|
|
17
17
|
font-size: 15px;
|
|
18
18
|
font-weight: 700;
|
|
19
19
|
color: dark;
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
padding: 0 40px;
|
|
41
41
|
line-height: 52px;
|
|
42
42
|
border-radius: 2px;
|
|
43
|
-
font-family: '
|
|
43
|
+
font-family: 'Gilroy';
|
|
44
44
|
font-size: 15px;
|
|
45
45
|
color: white;
|
|
46
46
|
font-weight: 700px;
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
padding: 0 15px;
|
|
63
63
|
text-transform: uppercase;
|
|
64
64
|
border-radius: 2px;
|
|
65
|
-
font-family: '
|
|
65
|
+
font-family: 'Gilroy';
|
|
66
66
|
font-size: 15px;
|
|
67
67
|
font-weight: 700;
|
|
68
68
|
cursor: pointer;
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
.description {
|
|
106
|
-
font-family: '
|
|
106
|
+
font-family: 'Gilroy';
|
|
107
107
|
font-weight: 500;
|
|
108
108
|
font-size: 14px;
|
|
109
109
|
color: white;
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
.input {
|
|
114
|
-
font-family: "
|
|
114
|
+
font-family: "Gilroy";
|
|
115
115
|
text-transform: none;
|
|
116
116
|
padding: 0 15px;
|
|
117
117
|
border: solid 2px light;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
color: dark;
|
|
7
7
|
width: 300px;
|
|
8
8
|
padding: 10px 15px;
|
|
9
|
-
font-family: '
|
|
9
|
+
font-family: 'Gilroy';
|
|
10
10
|
font-weight: 100;
|
|
11
11
|
font-size: 15px;
|
|
12
12
|
display: block;
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
textarea {
|
|
28
|
-
font-family: "
|
|
28
|
+
font-family: "Gilroy";
|
|
29
29
|
text-transform: none;
|
|
30
30
|
padding: 10px 15px;
|
|
31
31
|
border: solid 2px light;
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
.title {
|
|
24
|
-
font-family: "
|
|
24
|
+
font-family: "Gilroy";
|
|
25
25
|
font-size: 15px;
|
|
26
26
|
text-transform: none;
|
|
27
27
|
color: dark;
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
.description {
|
|
52
|
-
font-family: '
|
|
52
|
+
font-family: 'Gilroy';
|
|
53
53
|
font-weight: 500;
|
|
54
54
|
font-size: 12px;
|
|
55
55
|
color: medium;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.title {
|
|
13
|
-
font-family: "
|
|
13
|
+
font-family: "Gilroy";
|
|
14
14
|
font-size: 15px;
|
|
15
15
|
text-transform: none;
|
|
16
16
|
color: dark;
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.value {
|
|
21
|
-
font-family: '
|
|
21
|
+
font-family: 'Gilroy';
|
|
22
22
|
font-size: 15px;
|
|
23
23
|
font-weight: 700;
|
|
24
24
|
color: dark;
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.description {
|
|
29
|
-
font-family: '
|
|
29
|
+
font-family: 'Gilroy';
|
|
30
30
|
font-weight: 500;
|
|
31
31
|
font-size: 12px;
|
|
32
32
|
color: medium;
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
.title {
|
|
96
|
-
font-family: "
|
|
96
|
+
font-family: "Gilroy";
|
|
97
97
|
font-size: 15px;
|
|
98
98
|
text-transform: none;
|
|
99
99
|
color: dark;
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
.description {
|
|
109
|
-
font-family: '
|
|
109
|
+
font-family: 'Gilroy';
|
|
110
110
|
font-weight: 500;
|
|
111
111
|
font-size: 12px;
|
|
112
112
|
color: medium;
|
|
@@ -140,11 +140,12 @@
|
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
.coorpmanager .checkbox:disabled ~ label {
|
|
143
|
-
|
|
144
|
-
border-color: light;
|
|
143
|
+
border-color: cm_grey_200;
|
|
145
144
|
pointer-events: none;
|
|
145
|
+
background: cm_grey_200;
|
|
146
|
+
opacity: 0.4;
|
|
146
147
|
}
|
|
147
148
|
|
|
148
149
|
.coorpmanager .checkbox:disabled ~ label::after {
|
|
149
|
-
background:
|
|
150
|
+
background: white;
|
|
150
151
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
|
|
3
|
-
import checked from './checked';
|
|
4
1
|
export default {
|
|
5
|
-
props:
|
|
2
|
+
props: {
|
|
3
|
+
type: 'switch',
|
|
4
|
+
title: 'Name',
|
|
5
|
+
value: false,
|
|
6
6
|
disabled: true,
|
|
7
|
+
onChange: value => console.log(value),
|
|
7
8
|
titlePosition: 'right',
|
|
8
9
|
theme: 'coorpmanager'
|
|
9
|
-
}
|
|
10
|
+
}
|
|
10
11
|
};
|
|
11
12
|
//# sourceMappingURL=cm-right-disabled.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/atom/input-switch/test/fixtures/cm-right-disabled.js"],"names":["
|
|
1
|
+
{"version":3,"sources":["../../../../../src/atom/input-switch/test/fixtures/cm-right-disabled.js"],"names":["props","type","title","value","disabled","onChange","console","log","titlePosition","theme"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,IAAI,EAAE,QADD;AAELC,IAAAA,KAAK,EAAE,MAFF;AAGLC,IAAAA,KAAK,EAAE,KAHF;AAILC,IAAAA,QAAQ,EAAE,IAJL;AAKLC,IAAAA,QAAQ,EAAEF,KAAK,IAAIG,OAAO,CAACC,GAAR,CAAYJ,KAAZ,CALd;AAMLK,IAAAA,aAAa,EAAE,OANV;AAOLC,IAAAA,KAAK,EAAE;AAPF;AADM,CAAf","sourcesContent":["export default {\n props: {\n type: 'switch',\n title: 'Name',\n value: false,\n disabled: true,\n onChange: value => console.log(value),\n titlePosition: 'right',\n theme: 'coorpmanager'\n }\n};\n"],"file":"cm-right-disabled.js"}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
width: 100%;
|
|
51
51
|
font-weight: normal;
|
|
52
52
|
font-size: 14px;
|
|
53
|
-
font-family: '
|
|
53
|
+
font-family: 'Gilroy';
|
|
54
54
|
padding: 0 0 0 3px;
|
|
55
55
|
border: 0;
|
|
56
56
|
border-radius: 0px;
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
.cockpit .title {
|
|
115
115
|
color: #797979;
|
|
116
116
|
font-weight: bold;
|
|
117
|
-
font-family: '
|
|
117
|
+
font-family: 'Gilroy';
|
|
118
118
|
text-transform: capitalize;
|
|
119
119
|
font-size: 11px;
|
|
120
120
|
align-self: flex-start;
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
.title {
|
|
133
|
-
font-family: "
|
|
133
|
+
font-family: "Gilroy";
|
|
134
134
|
font-size: 15px;
|
|
135
135
|
text-transform: none;
|
|
136
136
|
color: dark;
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
.input {
|
|
141
|
-
font-family: "
|
|
141
|
+
font-family: "Gilroy";
|
|
142
142
|
text-transform: none;
|
|
143
143
|
padding: 0 15px;
|
|
144
144
|
border: solid 1px light;
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
.description {
|
|
174
|
-
font-family: '
|
|
174
|
+
font-family: 'Gilroy';
|
|
175
175
|
font-weight: 500;
|
|
176
176
|
font-size: 12px;
|
|
177
177
|
color: medium;
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
.title {
|
|
38
|
-
font-family: "
|
|
38
|
+
font-family: "Gilroy";
|
|
39
39
|
font-size: 15px;
|
|
40
40
|
text-transform: none;
|
|
41
41
|
color: dark;
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
.default textarea {
|
|
46
|
-
font-family: "
|
|
46
|
+
font-family: "Gilroy";
|
|
47
47
|
text-transform: none;
|
|
48
48
|
padding: 10px 15px;
|
|
49
49
|
border: solid 2px light;
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
.description {
|
|
64
|
-
font-family: '
|
|
64
|
+
font-family: 'Gilroy';
|
|
65
65
|
font-weight: 500;
|
|
66
66
|
font-size: 12px;
|
|
67
67
|
color: medium;
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
width: 100%;
|
|
98
98
|
font-weight: normal;
|
|
99
99
|
font-size: 14px;
|
|
100
|
-
font-family: '
|
|
100
|
+
font-family: 'Gilroy';
|
|
101
101
|
padding: 0 0 0 3px;
|
|
102
102
|
border: 0;
|
|
103
103
|
border-radius: 0px;
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
.cockpit .title {
|
|
173
173
|
color: #797979;
|
|
174
174
|
font-weight: bold;
|
|
175
|
-
font-family: '
|
|
175
|
+
font-family: 'Gilroy';
|
|
176
176
|
text-transform: capitalize;
|
|
177
177
|
font-size: 11px;
|
|
178
178
|
align-self: flex-start;
|
package/es/atom/life/style.css
CHANGED
package/es/atom/select/style.css
CHANGED
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
position: relative;
|
|
31
31
|
flex-grow: 0;
|
|
32
32
|
margin-right: 20px;
|
|
33
|
-
font-family: "
|
|
33
|
+
font-family: "Gilroy";
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.title {
|
|
37
|
-
font-family: "
|
|
37
|
+
font-family: "Gilroy";
|
|
38
38
|
font-size: 15px;
|
|
39
39
|
text-transform: none;
|
|
40
40
|
color: dark;
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
.default select {
|
|
58
|
-
font-family: "
|
|
58
|
+
font-family: "Gilroy";
|
|
59
59
|
text-transform: none;
|
|
60
60
|
padding: 0 15px;
|
|
61
61
|
border: solid 2px light;
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
.modified select {
|
|
74
|
-
font-family: "
|
|
74
|
+
font-family: "Gilroy";
|
|
75
75
|
text-transform: none;
|
|
76
76
|
padding: 0 15px;
|
|
77
77
|
border: solid 2px orange;
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
.description {
|
|
94
|
-
font-family: '
|
|
94
|
+
font-family: 'Gilroy';
|
|
95
95
|
font-weight: 500;
|
|
96
96
|
font-size: 12px;
|
|
97
97
|
color: medium;
|
|
@@ -209,7 +209,7 @@
|
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
.no-label select {
|
|
212
|
-
font-family: "
|
|
212
|
+
font-family: "Gilroy";
|
|
213
213
|
text-transform: none;
|
|
214
214
|
padding: 0 15px;
|
|
215
215
|
height: 44px;
|
|
@@ -392,7 +392,7 @@
|
|
|
392
392
|
background-color: light;
|
|
393
393
|
border: 0;
|
|
394
394
|
font-weight: 700;
|
|
395
|
-
font-family: '
|
|
395
|
+
font-family: 'Gilroy';
|
|
396
396
|
color: dark;
|
|
397
397
|
padding: 0 30px 0 15px;
|
|
398
398
|
width: 150px;
|
package/es/atom/slide/style.css
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
display: flex;
|
|
15
15
|
align-items: center;
|
|
16
16
|
margin: 15px 0;
|
|
17
|
-
font-family:
|
|
17
|
+
font-family: Gilroy;
|
|
18
18
|
font-weight: bold;
|
|
19
19
|
font-size: 13px;
|
|
20
20
|
overflow: inherit;
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
text-transform: inherit;
|
|
29
29
|
background-color: xtraLightGrey;
|
|
30
30
|
color: dark;
|
|
31
|
-
font-family:
|
|
31
|
+
font-family: Gilroy;
|
|
32
32
|
font-weight: 600;
|
|
33
33
|
font-size: 13px;
|
|
34
34
|
text-decoration: none;
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
align-items: center;
|
|
75
75
|
color: white;
|
|
76
76
|
text-align: center;
|
|
77
|
-
font-family:
|
|
77
|
+
font-family: Gilroy;
|
|
78
78
|
font-weight: bold;
|
|
79
79
|
font-size: 13px;
|
|
80
80
|
box-shadow: 0 -1px 20px 0 rgba(0, 0, 0, 0.25);
|