@coorpacademy/components 10.0.47 → 10.0.48-alpha.0
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/input-checkbox/index.js +3 -1
- package/es/atom/input-checkbox/index.js.map +1 -1
- package/es/atom/input-checkbox/style.css +26 -3
- package/es/atom/input-checkbox/test/fixtures.js +2 -0
- package/es/atom/input-checkbox/test/fixtures.js.map +1 -1
- package/es/atom/title/test/fixtures.js +6 -2
- package/es/atom/title/test/fixtures.js.map +1 -1
- package/es/molecule/coorp-manager-roles/test/fixtures.js +13 -0
- package/es/molecule/coorp-manager-roles/test/fixtures.js.map +1 -0
- package/es/molecule/popin/test/fixtures.js +21 -0
- package/es/molecule/popin/test/fixtures.js.map +1 -0
- package/es/molecule/quick-access-card/test/fixtures.js +21 -0
- package/es/molecule/quick-access-card/test/fixtures.js.map +1 -0
- package/es/molecule/quick-access-cards-group/test/fixtures.js +21 -0
- package/es/molecule/quick-access-cards-group/test/fixtures.js.map +1 -0
- package/es/organism/accordion/coorp-manager/part/test/fixtures.js +17 -0
- package/es/organism/accordion/coorp-manager/part/test/fixtures.js.map +1 -0
- package/es/organism/accordion/coorp-manager/test/fixtures.js +13 -0
- package/es/organism/accordion/coorp-manager/test/fixtures.js.map +1 -0
- package/es/organism/brand-analytics/test/fixtures.js +23 -0
- package/es/organism/brand-analytics/test/fixtures.js.map +1 -0
- package/es/organism/brand-dashboard/test/fixtures.js +2 -10
- package/es/organism/brand-dashboard/test/fixtures.js.map +1 -1
- package/es/organism/brand-form/test/fixtures/manageusers-edit.js +10 -0
- package/es/organism/brand-form/test/fixtures/manageusers-edit.js.map +1 -1
- package/es/organism/mooc-header/test/fixtures.js +6 -0
- package/es/organism/mooc-header/test/fixtures.js.map +1 -1
- package/es/template/back-office/brand-update/test/fixtures.js +2 -0
- package/es/template/back-office/brand-update/test/fixtures.js.map +1 -1
- package/es/template/common/discipline/test/fixtures.js +6 -0
- package/es/template/common/discipline/test/fixtures.js.map +1 -1
- package/es/template/teams-dashboard/test/fixtures.js +2 -0
- package/es/template/teams-dashboard/test/fixtures.js.map +1 -1
- package/lib/atom/input-checkbox/index.js +3 -1
- package/lib/atom/input-checkbox/index.js.map +1 -1
- package/lib/atom/input-checkbox/style.css +26 -3
- package/lib/atom/input-checkbox/test/fixtures.js +3 -0
- package/lib/atom/input-checkbox/test/fixtures.js.map +1 -1
- package/lib/atom/title/test/fixtures.js +8 -2
- package/lib/atom/title/test/fixtures.js.map +1 -1
- package/lib/molecule/coorp-manager-roles/test/fixtures.js +22 -0
- package/lib/molecule/coorp-manager-roles/test/fixtures.js.map +1 -0
- package/lib/molecule/popin/test/fixtures.js +34 -0
- package/lib/molecule/popin/test/fixtures.js.map +1 -0
- package/lib/molecule/quick-access-card/test/fixtures.js +34 -0
- package/lib/molecule/quick-access-card/test/fixtures.js.map +1 -0
- package/lib/molecule/quick-access-cards-group/test/fixtures.js +34 -0
- package/lib/molecule/quick-access-cards-group/test/fixtures.js.map +1 -0
- package/lib/organism/accordion/coorp-manager/part/test/fixtures.js +28 -0
- package/lib/organism/accordion/coorp-manager/part/test/fixtures.js.map +1 -0
- package/lib/organism/accordion/coorp-manager/test/fixtures.js +22 -0
- package/lib/organism/accordion/coorp-manager/test/fixtures.js.map +1 -0
- package/lib/organism/brand-analytics/test/fixtures.js +37 -0
- package/lib/organism/brand-analytics/test/fixtures.js.map +1 -0
- package/lib/organism/brand-dashboard/test/fixtures.js +2 -14
- package/lib/organism/brand-dashboard/test/fixtures.js.map +1 -1
- package/lib/organism/brand-form/test/fixtures/manageusers-edit.js +10 -0
- package/lib/organism/brand-form/test/fixtures/manageusers-edit.js.map +1 -1
- package/lib/organism/mooc-header/test/fixtures.js +9 -0
- package/lib/organism/mooc-header/test/fixtures.js.map +1 -1
- package/lib/template/back-office/brand-update/test/fixtures.js +3 -0
- package/lib/template/back-office/brand-update/test/fixtures.js.map +1 -1
- package/lib/template/common/discipline/test/fixtures.js +9 -0
- package/lib/template/common/discipline/test/fixtures.js.map +1 -1
- package/lib/template/teams-dashboard/test/fixtures.js +3 -0
- package/lib/template/teams-dashboard/test/fixtures.js.map +1 -1
- package/package.json +2 -2
|
@@ -20,6 +20,7 @@ const InputCheckbox = props => {
|
|
|
20
20
|
required,
|
|
21
21
|
titleStyle = 'primary',
|
|
22
22
|
modified = false,
|
|
23
|
+
theme = 'default',
|
|
23
24
|
title: propsTitle
|
|
24
25
|
} = props;
|
|
25
26
|
const titleStyleClassName = titleStylesClassNames[titleStyle];
|
|
@@ -28,7 +29,7 @@ const InputCheckbox = props => {
|
|
|
28
29
|
|
|
29
30
|
const title = `${propsTitle}${required ? '*' : ''}`;
|
|
30
31
|
const handleChange = useMemo(() => e => onChange(e.target.checked), [onChange]);
|
|
31
|
-
const className = getClassState(style.default, style.modified, style.error, modified, error);
|
|
32
|
+
const className = getClassState(theme === 'coorpmanager' ? style.coorpManager : style.default, style.modified, style.error, modified, error);
|
|
32
33
|
return /*#__PURE__*/React.createElement("div", {
|
|
33
34
|
className: className
|
|
34
35
|
}, /*#__PURE__*/React.createElement("input", {
|
|
@@ -56,6 +57,7 @@ InputCheckbox.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
56
57
|
error: PropTypes.bool,
|
|
57
58
|
onChange: PropTypes.func,
|
|
58
59
|
modified: PropTypes.bool,
|
|
60
|
+
theme: PropTypes.oneOf(['coorpmanager', 'default']),
|
|
59
61
|
titleStyle: PropTypes.oneOf(['primary', 'secondary', 'tertiary'])
|
|
60
62
|
} : {};
|
|
61
63
|
export default InputCheckbox;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/atom/input-checkbox/index.js"],"names":["React","useMemo","NovaSolidStatusValidate","CheckIcon","PropTypes","getClassState","style","titleStylesClassNames","primary","secondary","tertiary","InputCheckbox","props","checked","onChange","error","disabled","required","titleStyle","modified","title","propsTitle","titleStyleClassName","idCheckbox","handleChange","e","target","className","default","checkbox","icon","propTypes","string","isRequired","bool","func","oneOf"],"mappings":";;AAAA,OAAOA,KAAP,IAAeC,OAAf,QAA6B,OAA7B;AACA,SAAQC,uBAAuB,IAAIC,SAAnC,QAAmD,0BAAnD;AACA,OAAOC,SAAP,MAAsB,YAAtB;AAEA,OAAOC,aAAP,MAA0B,4BAA1B;AACA,OAAOC,KAAP,MAAkB,aAAlB;AAEA,MAAMC,qBAAqB,GAAG;AAC5BC,EAAAA,OAAO,EAAEF,KAAK,CAACE,OADa;AAE5BC,EAAAA,SAAS,EAAEH,KAAK,CAACG,SAFW;AAG5BC,EAAAA,QAAQ,EAAEJ,KAAK,CAACI;AAHY,CAA9B;;AAMA,MAAMC,aAAa,GAAGC,KAAK,IAAI;AAC7B,QAAM;AACJC,IAAAA,OADI;AAEJC,IAAAA,QAAQ,QAFJ;AAGJC,IAAAA,KAHI;AAIJC,IAAAA,QAJI;AAKJC,IAAAA,QALI;AAMJC,IAAAA,UAAU,GAAG,SANT;AAOJC,IAAAA,QAAQ,GAAG,KAPP;AAQJC,IAAAA,KAAK,EAAEC;
|
|
1
|
+
{"version":3,"sources":["../../../src/atom/input-checkbox/index.js"],"names":["React","useMemo","NovaSolidStatusValidate","CheckIcon","PropTypes","getClassState","style","titleStylesClassNames","primary","secondary","tertiary","InputCheckbox","props","checked","onChange","error","disabled","required","titleStyle","modified","theme","title","propsTitle","titleStyleClassName","idCheckbox","handleChange","e","target","className","coorpManager","default","checkbox","icon","propTypes","string","isRequired","bool","func","oneOf"],"mappings":";;AAAA,OAAOA,KAAP,IAAeC,OAAf,QAA6B,OAA7B;AACA,SAAQC,uBAAuB,IAAIC,SAAnC,QAAmD,0BAAnD;AACA,OAAOC,SAAP,MAAsB,YAAtB;AAEA,OAAOC,aAAP,MAA0B,4BAA1B;AACA,OAAOC,KAAP,MAAkB,aAAlB;AAEA,MAAMC,qBAAqB,GAAG;AAC5BC,EAAAA,OAAO,EAAEF,KAAK,CAACE,OADa;AAE5BC,EAAAA,SAAS,EAAEH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O,EAAEQ;AAAhB,kBACE,oBAAC,SAAD;AAAW,IAAA,SAAS,EAAElB,KAAK,CAAC0B;AAA5B,IADF,CAVF,eAaE;AAAM,IAAA,SAAS,EAAET;AAAjB,KAAuCF,KAAvC,CAbF,CADF;AAiBD,CApCD;;AAsCAV,aAAa,CAACsB,SAAd,2CAA0B;AACxBZ,EAAAA,KAAK,EAAEjB,SAAS,CAAC8B,MAAV,CAAiBC,UADA;AAExBnB,EAAAA,QAAQ,EAAEZ,SAAS,CAACgC,IAFI;AAGxBnB,EAAAA,QAAQ,EAAEb,SAAS,CAACgC,IAHI;AAIxBvB,EAAAA,OAAO,EAAET,SAAS,CAACgC,IAJK;AAKxBrB,EAAAA,KAAK,EAAEX,SAAS,CAACgC,IALO;AAMxBtB,EAAAA,QAAQ,EAAEV,SAAS,CAACiC,IANI;AAOxBlB,EAAAA,QAAQ,EAAEf,SAAS,CAACgC,IAPI;AAQxBhB,EAAAA,KAAK,EAAEhB,SAAS,CAACkC,KAAV,CAAgB,CAAC,cAAD,EAAiB,SAAjB,CAAhB,CARiB;AASxBpB,EAAAA,UAAU,EAAEd,SAAS,CAACkC,KAAV,CAAgB,CAAC,SAAD,EAAY,WAAZ,EAAyB,UAAzB,CAAhB;AATY,CAA1B;AAYA,eAAe3B,aAAf","sourcesContent":["import React, {useMemo} from 'react';\nimport {NovaSolidStatusValidate as CheckIcon} from '@coorpacademy/nova-icons';\nimport PropTypes from 'prop-types';\nimport {noop, uniqueId} from 'lodash/fp';\nimport getClassState from '../../util/get-class-state';\nimport style from './style.css';\n\nconst titleStylesClassNames = {\n primary: style.primary,\n secondary: style.secondary,\n tertiary: style.tertiary\n};\n\nconst InputCheckbox = props => {\n const {\n checked,\n onChange = noop,\n error,\n disabled,\n required,\n titleStyle = 'primary',\n modified = false,\n theme = 'default',\n title: propsTitle\n } = props;\n\n const titleStyleClassName = titleStylesClassNames[titleStyle];\n const idCheckbox = uniqueId('input-checkbox-');\n const title = `${propsTitle}${required ? '*' : ''}`;\n const handleChange = useMemo(() => e => onChange(e.target.checked), [onChange]);\n const className = getClassState(theme === 'coorpmanager' ? style.coorpManager : style.default, style.modified, style.error, modified, error);\n\n return (\n <div className={className}>\n <input\n type=\"checkbox\"\n className={style.checkbox}\n name={title}\n id={idCheckbox}\n checked={checked}\n onChange={handleChange}\n disabled={disabled}\n />\n <label htmlFor={idCheckbox}>\n <CheckIcon className={style.icon} />\n </label>\n <span className={titleStyleClassName}>{title}</span>\n </div>\n );\n};\n\nInputCheckbox.propTypes = {\n title: PropTypes.string.isRequired,\n disabled: PropTypes.bool,\n required: PropTypes.bool,\n checked: PropTypes.bool,\n error: PropTypes.bool,\n onChange: PropTypes.func,\n modified: PropTypes.bool,\n theme: PropTypes.oneOf(['coorpmanager', 'default']),\n titleStyle: PropTypes.oneOf(['primary', 'secondary', 'tertiary'])\n};\n\nexport default InputCheckbox;\n"],"file":"index.js"}
|
|
@@ -17,6 +17,12 @@
|
|
|
17
17
|
@value cm_primary_blue from colors;
|
|
18
18
|
|
|
19
19
|
.default {
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-direction: row-reverse;
|
|
22
|
+
justify-content: flex-end;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.coorpManager {
|
|
20
26
|
display: flex;
|
|
21
27
|
align-items: center;
|
|
22
28
|
}
|
|
@@ -29,7 +35,8 @@
|
|
|
29
35
|
composes: default;
|
|
30
36
|
}
|
|
31
37
|
|
|
32
|
-
.default input
|
|
38
|
+
.default input,
|
|
39
|
+
.coorpManager input {
|
|
33
40
|
display: none;
|
|
34
41
|
}
|
|
35
42
|
|
|
@@ -40,7 +47,22 @@
|
|
|
40
47
|
color: white;
|
|
41
48
|
}
|
|
42
49
|
|
|
43
|
-
.title {
|
|
50
|
+
.default .title {
|
|
51
|
+
font-family: open sans;
|
|
52
|
+
font-size: 15px;
|
|
53
|
+
text-transform: none;
|
|
54
|
+
color: dark;
|
|
55
|
+
width: 180px;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.default .tertiary,
|
|
59
|
+
.default .primary,
|
|
60
|
+
.default .secondary {
|
|
61
|
+
color: dark;
|
|
62
|
+
background-color: unset;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.coorpManager .title {
|
|
44
66
|
font-family: Gilroy;
|
|
45
67
|
font-size: 15px;
|
|
46
68
|
text-transform: none;
|
|
@@ -67,7 +89,8 @@
|
|
|
67
89
|
background-color: cm_blue_50;
|
|
68
90
|
}
|
|
69
91
|
|
|
70
|
-
.default label
|
|
92
|
+
.default label,
|
|
93
|
+
.coorpManager label {
|
|
71
94
|
border: solid 1px cm_grey_200;
|
|
72
95
|
background-color: cm_grey_100;
|
|
73
96
|
display: flex;
|
|
@@ -2,6 +2,7 @@ import test from 'ava';
|
|
|
2
2
|
import forEach from 'lodash/forEach';
|
|
3
3
|
import renderComponentMacro from '../../../test/helpers/render-component';
|
|
4
4
|
import AtomInputCheckbox from '..';
|
|
5
|
+
import fixtureCheckedDisabled from './fixtures/checked-disabled';
|
|
5
6
|
import fixtureChecked from './fixtures/checked';
|
|
6
7
|
import fixtureDefault from './fixtures/default';
|
|
7
8
|
import fixtureDisabled from './fixtures/disabled';
|
|
@@ -14,6 +15,7 @@ test('Atom › AtomInputCheckbox > should have valid propTypes', t => {
|
|
|
14
15
|
t.not(value, undefined, `PropType for "Atom.AtomInputCheckbox.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
15
16
|
});
|
|
16
17
|
});
|
|
18
|
+
test('Atom › AtomInputCheckbox › CheckedDisabled › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureCheckedDisabled);
|
|
17
19
|
test('Atom › AtomInputCheckbox › Checked › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureChecked);
|
|
18
20
|
test('Atom › AtomInputCheckbox › Default › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureDefault);
|
|
19
21
|
test('Atom › AtomInputCheckbox › Disabled › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureDisabled);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/atom/input-checkbox/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","AtomInputCheckbox","fixtureChecked","fixtureDefault","fixtureDisabled","fixtureError","fixtureModified","fixtureRequired","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,iBAAP,MAA8B,IAA9B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AACA,OAAOC,eAAP,MAA4B,qBAA5B;
|
|
1
|
+
{"version":3,"sources":["../../../../src/atom/input-checkbox/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","AtomInputCheckbox","fixtureCheckedDisabled","fixtureChecked","fixtureDefault","fixtureDisabled","fixtureError","fixtureModified","fixtureRequired","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,iBAAP,MAA8B,IAA9B;AACA,OAAOC,sBAAP,MAAmC,6BAAnC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AAEAV,IAAI,CAAC,wDAAD,EAA2DW,CAAC,IAAI;AAClEA,EAAAA,CAAC,CAACC,IAAF;AACAX,EAAAA,OAAO,CAACE,iBAAiB,CAACU,SAAnB,EAA8B,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACnDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,kDAAiDF,GAAI,mEAA9E;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAf,IAAI,CAAC,iEAAD,EAAoEE,oBAApE,EAA0FC,iBAA1F,EAA6GC,sBAA7G,CAAJ;AACAJ,IAAI,CAAC,yDAAD,EAA4DE,oBAA5D,EAAkFC,iBAAlF,EAAqGE,cAArG,CAAJ;AACAL,IAAI,CAAC,yDAAD,EAA4DE,oBAA5D,EAAkFC,iBAAlF,EAAqGG,cAArG,CAAJ;AACAN,IAAI,CAAC,0DAAD,EAA6DE,oBAA7D,EAAmFC,iBAAnF,EAAsGI,eAAtG,CAAJ;AACAP,IAAI,CAAC,uDAAD,EAA0DE,oBAA1D,EAAgFC,iBAAhF,EAAmGK,YAAnG,CAAJ;AACAR,IAAI,CAAC,0DAAD,EAA6DE,oBAA7D,EAAmFC,iBAAnF,EAAsGM,eAAtG,CAAJ;AACAT,IAAI,CAAC,0DAAD,EAA6DE,oBAA7D,EAAmFC,iBAAnF,EAAsGO,eAAtG,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport AtomInputCheckbox from '..';\nimport fixtureCheckedDisabled from './fixtures/checked-disabled';\nimport fixtureChecked from './fixtures/checked';\nimport fixtureDefault from './fixtures/default';\nimport fixtureDisabled from './fixtures/disabled';\nimport fixtureError from './fixtures/error';\nimport fixtureModified from './fixtures/modified';\nimport fixtureRequired from './fixtures/required';\n\ntest('Atom › AtomInputCheckbox > should have valid propTypes', t => {\n t.pass();\n forEach(AtomInputCheckbox.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Atom.AtomInputCheckbox.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Atom › AtomInputCheckbox › CheckedDisabled › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureCheckedDisabled);\ntest('Atom › AtomInputCheckbox › Checked › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureChecked);\ntest('Atom › AtomInputCheckbox › Default › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureDefault);\ntest('Atom › AtomInputCheckbox › Disabled › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureDisabled);\ntest('Atom › AtomInputCheckbox › Error › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureError);\ntest('Atom › AtomInputCheckbox › Modified › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureModified);\ntest('Atom › AtomInputCheckbox › Required › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureRequired);\n"],"file":"fixtures.js"}
|
|
@@ -2,12 +2,16 @@ import test from 'ava';
|
|
|
2
2
|
import forEach from 'lodash/forEach';
|
|
3
3
|
import renderComponentMacro from '../../../test/helpers/render-component';
|
|
4
4
|
import AtomTitle from '..';
|
|
5
|
-
import
|
|
5
|
+
import fixtureFormGroupTitleWithoutSubtitle from './fixtures/form-group-title-without-subtitle';
|
|
6
|
+
import fixtureFormGroupTitle from './fixtures/form-group-title';
|
|
7
|
+
import fixturePageTitle from './fixtures/page-title';
|
|
6
8
|
test('Atom › AtomTitle > should have valid propTypes', t => {
|
|
7
9
|
t.pass();
|
|
8
10
|
forEach(AtomTitle.propTypes, (value, key) => {
|
|
9
11
|
t.not(value, undefined, `PropType for "Atom.AtomTitle.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
10
12
|
});
|
|
11
13
|
});
|
|
12
|
-
test('Atom › AtomTitle ›
|
|
14
|
+
test('Atom › AtomTitle › FormGroupTitleWithoutSubtitle › should be rendered', renderComponentMacro, AtomTitle, fixtureFormGroupTitleWithoutSubtitle);
|
|
15
|
+
test('Atom › AtomTitle › FormGroupTitle › should be rendered', renderComponentMacro, AtomTitle, fixtureFormGroupTitle);
|
|
16
|
+
test('Atom › AtomTitle › PageTitle › should be rendered', renderComponentMacro, AtomTitle, fixturePageTitle);
|
|
13
17
|
//# sourceMappingURL=fixtures.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/atom/title/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","AtomTitle","
|
|
1
|
+
{"version":3,"sources":["../../../../src/atom/title/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","AtomTitle","fixtureFormGroupTitleWithoutSubtitle","fixtureFormGroupTitle","fixturePageTitle","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,SAAP,MAAsB,IAAtB;AACA,OAAOC,oCAAP,MAAiD,8CAAjD;AACA,OAAOC,qBAAP,MAAkC,6BAAlC;AACA,OAAOC,gBAAP,MAA6B,uBAA7B;AAEAN,IAAI,CAAC,gDAAD,EAAmDO,CAAC,IAAI;AAC1DA,EAAAA,CAAC,CAACC,IAAF;AACAP,EAAAA,OAAO,CAACE,SAAS,CAACM,SAAX,EAAsB,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC3CJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,0CAAyCF,GAAI,mEAAtE;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAX,IAAI,CAAC,uEAAD,EAA0EE,oBAA1E,EAAgGC,SAAhG,EAA2GC,oCAA3G,CAAJ;AACAJ,IAAI,CAAC,wDAAD,EAA2DE,oBAA3D,EAAiFC,SAAjF,EAA4FE,qBAA5F,CAAJ;AACAL,IAAI,CAAC,mDAAD,EAAsDE,oBAAtD,EAA4EC,SAA5E,EAAuFG,gBAAvF,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport AtomTitle from '..';\nimport fixtureFormGroupTitleWithoutSubtitle from './fixtures/form-group-title-without-subtitle';\nimport fixtureFormGroupTitle from './fixtures/form-group-title';\nimport fixturePageTitle from './fixtures/page-title';\n\ntest('Atom › AtomTitle > should have valid propTypes', t => {\n t.pass();\n forEach(AtomTitle.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Atom.AtomTitle.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Atom › AtomTitle › FormGroupTitleWithoutSubtitle › should be rendered', renderComponentMacro, AtomTitle, fixtureFormGroupTitleWithoutSubtitle);\ntest('Atom › AtomTitle › FormGroupTitle › should be rendered', renderComponentMacro, AtomTitle, fixtureFormGroupTitle);\ntest('Atom › AtomTitle › PageTitle › should be rendered', renderComponentMacro, AtomTitle, fixturePageTitle);\n"],"file":"fixtures.js"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import test from 'ava';
|
|
2
|
+
import forEach from 'lodash/forEach';
|
|
3
|
+
import renderComponentMacro from '../../../test/helpers/render-component';
|
|
4
|
+
import MoleculeCoorpManagerRoles from '..';
|
|
5
|
+
import fixtureDefault from './fixtures/default';
|
|
6
|
+
test('Molecule › MoleculeCoorpManagerRoles > should have valid propTypes', t => {
|
|
7
|
+
t.pass();
|
|
8
|
+
forEach(MoleculeCoorpManagerRoles.propTypes, (value, key) => {
|
|
9
|
+
t.not(value, undefined, `PropType for "Molecule.MoleculeCoorpManagerRoles.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
10
|
+
});
|
|
11
|
+
});
|
|
12
|
+
test('Molecule › MoleculeCoorpManagerRoles › Default › should be rendered', renderComponentMacro, MoleculeCoorpManagerRoles, fixtureDefault);
|
|
13
|
+
//# sourceMappingURL=fixtures.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/molecule/coorp-manager-roles/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeCoorpManagerRoles","fixtureDefault","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,yBAAP,MAAsC,IAAtC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AAEAJ,IAAI,CAAC,oEAAD,EAAuEK,CAAC,IAAI;AAC9EA,EAAAA,CAAC,CAACC,IAAF;AACAL,EAAAA,OAAO,CAACE,yBAAyB,CAACI,SAA3B,EAAsC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC3DJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,8DAA6DF,GAAI,mEAA1F;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAT,IAAI,CAAC,qEAAD,EAAwEE,oBAAxE,EAA8FC,yBAA9F,EAAyHC,cAAzH,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeCoorpManagerRoles from '..';\nimport fixtureDefault from './fixtures/default';\n\ntest('Molecule › MoleculeCoorpManagerRoles > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeCoorpManagerRoles.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeCoorpManagerRoles.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeCoorpManagerRoles › Default › should be rendered', renderComponentMacro, MoleculeCoorpManagerRoles, fixtureDefault);\n"],"file":"fixtures.js"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import test from 'ava';
|
|
2
|
+
import forEach from 'lodash/forEach';
|
|
3
|
+
import renderComponentMacro from '../../../test/helpers/render-component';
|
|
4
|
+
import MoleculePopin from '..';
|
|
5
|
+
import fixtureAssistance from './fixtures/assistance';
|
|
6
|
+
import fixtureBackgroundNoSecondButton from './fixtures/background-no-second-button';
|
|
7
|
+
import fixtureDefault from './fixtures/default';
|
|
8
|
+
import fixtureLoading from './fixtures/loading';
|
|
9
|
+
import fixtureVideoTranslate from './fixtures/video-translate';
|
|
10
|
+
test('Molecule › MoleculePopin > should have valid propTypes', t => {
|
|
11
|
+
t.pass();
|
|
12
|
+
forEach(MoleculePopin.propTypes, (value, key) => {
|
|
13
|
+
t.not(value, undefined, `PropType for "Molecule.MoleculePopin.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
14
|
+
});
|
|
15
|
+
});
|
|
16
|
+
test('Molecule › MoleculePopin › Assistance › should be rendered', renderComponentMacro, MoleculePopin, fixtureAssistance);
|
|
17
|
+
test('Molecule › MoleculePopin › BackgroundNoSecondButton › should be rendered', renderComponentMacro, MoleculePopin, fixtureBackgroundNoSecondButton);
|
|
18
|
+
test('Molecule › MoleculePopin › Default › should be rendered', renderComponentMacro, MoleculePopin, fixtureDefault);
|
|
19
|
+
test('Molecule › MoleculePopin › Loading › should be rendered', renderComponentMacro, MoleculePopin, fixtureLoading);
|
|
20
|
+
test('Molecule › MoleculePopin › VideoTranslate › should be rendered', renderComponentMacro, MoleculePopin, fixtureVideoTranslate);
|
|
21
|
+
//# sourceMappingURL=fixtures.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/molecule/popin/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculePopin","fixtureAssistance","fixtureBackgroundNoSecondButton","fixtureDefault","fixtureLoading","fixtureVideoTranslate","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,aAAP,MAA0B,IAA1B;AACA,OAAOC,iBAAP,MAA8B,uBAA9B;AACA,OAAOC,+BAAP,MAA4C,wCAA5C;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,qBAAP,MAAkC,4BAAlC;AAEAR,IAAI,CAAC,wDAAD,EAA2DS,CAAC,IAAI;AAClEA,EAAAA,CAAC,CAACC,IAAF;AACAT,EAAAA,OAAO,CAACE,aAAa,CAACQ,SAAf,EAA0B,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC/CJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,kDAAiDF,GAAI,mEAA9E;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAb,IAAI,CAAC,4DAAD,EAA+DE,oBAA/D,EAAqFC,aAArF,EAAoGC,iBAApG,CAAJ;AACAJ,IAAI,CAAC,0EAAD,EAA6EE,oBAA7E,EAAmGC,aAAnG,EAAkHE,+BAAlH,CAAJ;AACAL,IAAI,CAAC,yDAAD,EAA4DE,oBAA5D,EAAkFC,aAAlF,EAAiGG,cAAjG,CAAJ;AACAN,IAAI,CAAC,yDAAD,EAA4DE,oBAA5D,EAAkFC,aAAlF,EAAiGI,cAAjG,CAAJ;AACAP,IAAI,CAAC,gEAAD,EAAmEE,oBAAnE,EAAyFC,aAAzF,EAAwGK,qBAAxG,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculePopin from '..';\nimport fixtureAssistance from './fixtures/assistance';\nimport fixtureBackgroundNoSecondButton from './fixtures/background-no-second-button';\nimport fixtureDefault from './fixtures/default';\nimport fixtureLoading from './fixtures/loading';\nimport fixtureVideoTranslate from './fixtures/video-translate';\n\ntest('Molecule › MoleculePopin > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculePopin.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculePopin.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculePopin › Assistance › should be rendered', renderComponentMacro, MoleculePopin, fixtureAssistance);\ntest('Molecule › MoleculePopin › BackgroundNoSecondButton › should be rendered', renderComponentMacro, MoleculePopin, fixtureBackgroundNoSecondButton);\ntest('Molecule › MoleculePopin › Default › should be rendered', renderComponentMacro, MoleculePopin, fixtureDefault);\ntest('Molecule › MoleculePopin › Loading › should be rendered', renderComponentMacro, MoleculePopin, fixtureLoading);\ntest('Molecule › MoleculePopin › VideoTranslate › should be rendered', renderComponentMacro, MoleculePopin, fixtureVideoTranslate);\n"],"file":"fixtures.js"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import test from 'ava';
|
|
2
|
+
import forEach from 'lodash/forEach';
|
|
3
|
+
import renderComponentMacro from '../../../test/helpers/render-component';
|
|
4
|
+
import MoleculeQuickAccessCard from '..';
|
|
5
|
+
import fixtureAnalytics from './fixtures/analytics';
|
|
6
|
+
import fixtureDefault from './fixtures/default';
|
|
7
|
+
import fixtureLookAndFeel from './fixtures/look-and-feel';
|
|
8
|
+
import fixtureMassiveBattle from './fixtures/massive-battle';
|
|
9
|
+
import fixtureUploadUsers from './fixtures/upload-users';
|
|
10
|
+
test('Molecule › MoleculeQuickAccessCard > should have valid propTypes', t => {
|
|
11
|
+
t.pass();
|
|
12
|
+
forEach(MoleculeQuickAccessCard.propTypes, (value, key) => {
|
|
13
|
+
t.not(value, undefined, `PropType for "Molecule.MoleculeQuickAccessCard.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
14
|
+
});
|
|
15
|
+
});
|
|
16
|
+
test('Molecule › MoleculeQuickAccessCard › Analytics › should be rendered', renderComponentMacro, MoleculeQuickAccessCard, fixtureAnalytics);
|
|
17
|
+
test('Molecule › MoleculeQuickAccessCard › Default › should be rendered', renderComponentMacro, MoleculeQuickAccessCard, fixtureDefault);
|
|
18
|
+
test('Molecule › MoleculeQuickAccessCard › LookAndFeel › should be rendered', renderComponentMacro, MoleculeQuickAccessCard, fixtureLookAndFeel);
|
|
19
|
+
test('Molecule › MoleculeQuickAccessCard › MassiveBattle › should be rendered', renderComponentMacro, MoleculeQuickAccessCard, fixtureMassiveBattle);
|
|
20
|
+
test('Molecule › MoleculeQuickAccessCard › UploadUsers › should be rendered', renderComponentMacro, MoleculeQuickAccessCard, fixtureUploadUsers);
|
|
21
|
+
//# sourceMappingURL=fixtures.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/molecule/quick-access-card/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeQuickAccessCard","fixtureAnalytics","fixtureDefault","fixtureLookAndFeel","fixtureMassiveBattle","fixtureUploadUsers","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,uBAAP,MAAoC,IAApC;AACA,OAAOC,gBAAP,MAA6B,sBAA7B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,kBAAP,MAA+B,0BAA/B;AACA,OAAOC,oBAAP,MAAiC,2BAAjC;AACA,OAAOC,kBAAP,MAA+B,yBAA/B;AAEAR,IAAI,CAAC,kEAAD,EAAqES,CAAC,IAAI;AAC5EA,EAAAA,CAAC,CAACC,IAAF;AACAT,EAAAA,OAAO,CAACE,uBAAuB,CAACQ,SAAzB,EAAoC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACzDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,4DAA2DF,GAAI,mEAAxF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAb,IAAI,CAAC,qEAAD,EAAwEE,oBAAxE,EAA8FC,uBAA9F,EAAuHC,gBAAvH,CAAJ;AACAJ,IAAI,CAAC,mEAAD,EAAsEE,oBAAtE,EAA4FC,uBAA5F,EAAqHE,cAArH,CAAJ;AACAL,IAAI,CAAC,uEAAD,EAA0EE,oBAA1E,EAAgGC,uBAAhG,EAAyHG,kBAAzH,CAAJ;AACAN,IAAI,CAAC,yEAAD,EAA4EE,oBAA5E,EAAkGC,uBAAlG,EAA2HI,oBAA3H,CAAJ;AACAP,IAAI,CAAC,uEAAD,EAA0EE,oBAA1E,EAAgGC,uBAAhG,EAAyHK,kBAAzH,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeQuickAccessCard from '..';\nimport fixtureAnalytics from './fixtures/analytics';\nimport fixtureDefault from './fixtures/default';\nimport fixtureLookAndFeel from './fixtures/look-and-feel';\nimport fixtureMassiveBattle from './fixtures/massive-battle';\nimport fixtureUploadUsers from './fixtures/upload-users';\n\ntest('Molecule › MoleculeQuickAccessCard > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeQuickAccessCard.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeQuickAccessCard.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeQuickAccessCard › Analytics › should be rendered', renderComponentMacro, MoleculeQuickAccessCard, fixtureAnalytics);\ntest('Molecule › MoleculeQuickAccessCard › Default › should be rendered', renderComponentMacro, MoleculeQuickAccessCard, fixtureDefault);\ntest('Molecule › MoleculeQuickAccessCard › LookAndFeel › should be rendered', renderComponentMacro, MoleculeQuickAccessCard, fixtureLookAndFeel);\ntest('Molecule › MoleculeQuickAccessCard › MassiveBattle › should be rendered', renderComponentMacro, MoleculeQuickAccessCard, fixtureMassiveBattle);\ntest('Molecule › MoleculeQuickAccessCard › UploadUsers › should be rendered', renderComponentMacro, MoleculeQuickAccessCard, fixtureUploadUsers);\n"],"file":"fixtures.js"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import test from 'ava';
|
|
2
|
+
import forEach from 'lodash/forEach';
|
|
3
|
+
import renderComponentMacro from '../../../test/helpers/render-component';
|
|
4
|
+
import MoleculeQuickAccessCardsGroup from '..';
|
|
5
|
+
import fixtureDefault from './fixtures/default';
|
|
6
|
+
import fixtureLoading from './fixtures/loading';
|
|
7
|
+
import fixtureOneCard from './fixtures/one-card';
|
|
8
|
+
import fixtureThreeCards from './fixtures/three-cards';
|
|
9
|
+
import fixtureTwoCards from './fixtures/two-cards';
|
|
10
|
+
test('Molecule › MoleculeQuickAccessCardsGroup > should have valid propTypes', t => {
|
|
11
|
+
t.pass();
|
|
12
|
+
forEach(MoleculeQuickAccessCardsGroup.propTypes, (value, key) => {
|
|
13
|
+
t.not(value, undefined, `PropType for "Molecule.MoleculeQuickAccessCardsGroup.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
14
|
+
});
|
|
15
|
+
});
|
|
16
|
+
test('Molecule › MoleculeQuickAccessCardsGroup › Default › should be rendered', renderComponentMacro, MoleculeQuickAccessCardsGroup, fixtureDefault);
|
|
17
|
+
test('Molecule › MoleculeQuickAccessCardsGroup › Loading › should be rendered', renderComponentMacro, MoleculeQuickAccessCardsGroup, fixtureLoading);
|
|
18
|
+
test('Molecule › MoleculeQuickAccessCardsGroup › OneCard › should be rendered', renderComponentMacro, MoleculeQuickAccessCardsGroup, fixtureOneCard);
|
|
19
|
+
test('Molecule › MoleculeQuickAccessCardsGroup › ThreeCards › should be rendered', renderComponentMacro, MoleculeQuickAccessCardsGroup, fixtureThreeCards);
|
|
20
|
+
test('Molecule › MoleculeQuickAccessCardsGroup › TwoCards › should be rendered', renderComponentMacro, MoleculeQuickAccessCardsGroup, fixtureTwoCards);
|
|
21
|
+
//# sourceMappingURL=fixtures.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/molecule/quick-access-cards-group/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeQuickAccessCardsGroup","fixtureDefault","fixtureLoading","fixtureOneCard","fixtureThreeCards","fixtureTwoCards","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,6BAAP,MAA0C,IAA1C;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,cAAP,MAA2B,qBAA3B;AACA,OAAOC,iBAAP,MAA8B,wBAA9B;AACA,OAAOC,eAAP,MAA4B,sBAA5B;AAEAR,IAAI,CAAC,wEAAD,EAA2ES,CAAC,IAAI;AAClFA,EAAAA,CAAC,CAACC,IAAF;AACAT,EAAAA,OAAO,CAACE,6BAA6B,CAACQ,SAA/B,EAA0C,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC/DJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,kEAAiEF,GAAI,mEAA9F;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAb,IAAI,CAAC,yEAAD,EAA4EE,oBAA5E,EAAkGC,6BAAlG,EAAiIC,cAAjI,CAAJ;AACAJ,IAAI,CAAC,yEAAD,EAA4EE,oBAA5E,EAAkGC,6BAAlG,EAAiIE,cAAjI,CAAJ;AACAL,IAAI,CAAC,yEAAD,EAA4EE,oBAA5E,EAAkGC,6BAAlG,EAAiIG,cAAjI,CAAJ;AACAN,IAAI,CAAC,4EAAD,EAA+EE,oBAA/E,EAAqGC,6BAArG,EAAoII,iBAApI,CAAJ;AACAP,IAAI,CAAC,0EAAD,EAA6EE,oBAA7E,EAAmGC,6BAAnG,EAAkIK,eAAlI,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeQuickAccessCardsGroup from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureLoading from './fixtures/loading';\nimport fixtureOneCard from './fixtures/one-card';\nimport fixtureThreeCards from './fixtures/three-cards';\nimport fixtureTwoCards from './fixtures/two-cards';\n\ntest('Molecule › MoleculeQuickAccessCardsGroup > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeQuickAccessCardsGroup.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeQuickAccessCardsGroup.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeQuickAccessCardsGroup › Default › should be rendered', renderComponentMacro, MoleculeQuickAccessCardsGroup, fixtureDefault);\ntest('Molecule › MoleculeQuickAccessCardsGroup › Loading › should be rendered', renderComponentMacro, MoleculeQuickAccessCardsGroup, fixtureLoading);\ntest('Molecule › MoleculeQuickAccessCardsGroup › OneCard › should be rendered', renderComponentMacro, MoleculeQuickAccessCardsGroup, fixtureOneCard);\ntest('Molecule › MoleculeQuickAccessCardsGroup › ThreeCards › should be rendered', renderComponentMacro, MoleculeQuickAccessCardsGroup, fixtureThreeCards);\ntest('Molecule › MoleculeQuickAccessCardsGroup › TwoCards › should be rendered', renderComponentMacro, MoleculeQuickAccessCardsGroup, fixtureTwoCards);\n"],"file":"fixtures.js"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import test from 'ava';
|
|
2
|
+
import forEach from 'lodash/forEach';
|
|
3
|
+
import renderComponentMacro from '../../../../../test/helpers/render-component';
|
|
4
|
+
import OrganismAccordionCoorpManagerPart from '..';
|
|
5
|
+
import fixtureDefaut from './fixtures/defaut';
|
|
6
|
+
import fixtureIconLink from './fixtures/icon-link';
|
|
7
|
+
import fixtureSimpletab from './fixtures/simpletab';
|
|
8
|
+
test('OrganismAccordionCoorpManager › OrganismAccordionCoorpManagerPart > should have valid propTypes', t => {
|
|
9
|
+
t.pass();
|
|
10
|
+
forEach(OrganismAccordionCoorpManagerPart.propTypes, (value, key) => {
|
|
11
|
+
t.not(value, undefined, `PropType for "OrganismAccordionCoorpManager.OrganismAccordionCoorpManagerPart.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
12
|
+
});
|
|
13
|
+
});
|
|
14
|
+
test('OrganismAccordionCoorpManager › OrganismAccordionCoorpManagerPart › Defaut › should be rendered', renderComponentMacro, OrganismAccordionCoorpManagerPart, fixtureDefaut);
|
|
15
|
+
test('OrganismAccordionCoorpManager › OrganismAccordionCoorpManagerPart › IconLink › should be rendered', renderComponentMacro, OrganismAccordionCoorpManagerPart, fixtureIconLink);
|
|
16
|
+
test('OrganismAccordionCoorpManager › OrganismAccordionCoorpManagerPart › Simpletab › should be rendered', renderComponentMacro, OrganismAccordionCoorpManagerPart, fixtureSimpletab);
|
|
17
|
+
//# sourceMappingURL=fixtures.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../src/organism/accordion/coorp-manager/part/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","OrganismAccordionCoorpManagerPart","fixtureDefaut","fixtureIconLink","fixtureSimpletab","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,8CAAjC;AACA,OAAOC,iCAAP,MAA8C,IAA9C;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,eAAP,MAA4B,sBAA5B;AACA,OAAOC,gBAAP,MAA6B,sBAA7B;AAEAN,IAAI,CAAC,iGAAD,EAAoGO,CAAC,IAAI;AAC3GA,EAAAA,CAAC,CAACC,IAAF;AACAP,EAAAA,OAAO,CAACE,iCAAiC,CAACM,SAAnC,EAA8C,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACnEJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,2FAA0FF,GAAI,mEAAvH;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAX,IAAI,CAAC,iGAAD,EAAoGE,oBAApG,EAA0HC,iCAA1H,EAA6JC,aAA7J,CAAJ;AACAJ,IAAI,CAAC,mGAAD,EAAsGE,oBAAtG,EAA4HC,iCAA5H,EAA+JE,eAA/J,CAAJ;AACAL,IAAI,CAAC,oGAAD,EAAuGE,oBAAvG,EAA6HC,iCAA7H,EAAgKG,gBAAhK,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../../../test/helpers/render-component';\nimport OrganismAccordionCoorpManagerPart from '..';\nimport fixtureDefaut from './fixtures/defaut';\nimport fixtureIconLink from './fixtures/icon-link';\nimport fixtureSimpletab from './fixtures/simpletab';\n\ntest('OrganismAccordionCoorpManager › OrganismAccordionCoorpManagerPart > should have valid propTypes', t => {\n t.pass();\n forEach(OrganismAccordionCoorpManagerPart.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"OrganismAccordionCoorpManager.OrganismAccordionCoorpManagerPart.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('OrganismAccordionCoorpManager › OrganismAccordionCoorpManagerPart › Defaut › should be rendered', renderComponentMacro, OrganismAccordionCoorpManagerPart, fixtureDefaut);\ntest('OrganismAccordionCoorpManager › OrganismAccordionCoorpManagerPart › IconLink › should be rendered', renderComponentMacro, OrganismAccordionCoorpManagerPart, fixtureIconLink);\ntest('OrganismAccordionCoorpManager › OrganismAccordionCoorpManagerPart › Simpletab › should be rendered', renderComponentMacro, OrganismAccordionCoorpManagerPart, fixtureSimpletab);\n"],"file":"fixtures.js"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import test from 'ava';
|
|
2
|
+
import forEach from 'lodash/forEach';
|
|
3
|
+
import renderComponentMacro from '../../../../test/helpers/render-component';
|
|
4
|
+
import OrganismAccordionCoorpManager from '..';
|
|
5
|
+
import fixtureDefault from './fixtures/default';
|
|
6
|
+
test('OrganismAccordion › OrganismAccordionCoorpManager > should have valid propTypes', t => {
|
|
7
|
+
t.pass();
|
|
8
|
+
forEach(OrganismAccordionCoorpManager.propTypes, (value, key) => {
|
|
9
|
+
t.not(value, undefined, `PropType for "OrganismAccordion.OrganismAccordionCoorpManager.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
10
|
+
});
|
|
11
|
+
});
|
|
12
|
+
test('OrganismAccordion › OrganismAccordionCoorpManager › Default › should be rendered', renderComponentMacro, OrganismAccordionCoorpManager, fixtureDefault);
|
|
13
|
+
//# sourceMappingURL=fixtures.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/organism/accordion/coorp-manager/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","OrganismAccordionCoorpManager","fixtureDefault","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,2CAAjC;AACA,OAAOC,6BAAP,MAA0C,IAA1C;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AAEAJ,IAAI,CAAC,iFAAD,EAAoFK,CAAC,IAAI;AAC3FA,EAAAA,CAAC,CAACC,IAAF;AACAL,EAAAA,OAAO,CAACE,6BAA6B,CAACI,SAA/B,EAA0C,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC/DJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,2EAA0EF,GAAI,mEAAvG;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAT,IAAI,CAAC,kFAAD,EAAqFE,oBAArF,EAA2GC,6BAA3G,EAA0IC,cAA1I,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../../test/helpers/render-component';\nimport OrganismAccordionCoorpManager from '..';\nimport fixtureDefault from './fixtures/default';\n\ntest('OrganismAccordion › OrganismAccordionCoorpManager > should have valid propTypes', t => {\n t.pass();\n forEach(OrganismAccordionCoorpManager.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"OrganismAccordion.OrganismAccordionCoorpManager.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('OrganismAccordion › OrganismAccordionCoorpManager › Default › should be rendered', renderComponentMacro, OrganismAccordionCoorpManager, fixtureDefault);\n"],"file":"fixtures.js"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import test from 'ava';
|
|
2
|
+
import forEach from 'lodash/forEach';
|
|
3
|
+
import renderComponentMacro from '../../../test/helpers/render-component';
|
|
4
|
+
import OrganismBrandAnalytics from '..';
|
|
5
|
+
import fixtureDefault from './fixtures/default';
|
|
6
|
+
import fixtureError from './fixtures/error';
|
|
7
|
+
import fixtureLoading from './fixtures/loading';
|
|
8
|
+
import fixtureSelectedError from './fixtures/selected-error';
|
|
9
|
+
import fixtureSelectedLoading from './fixtures/selected-loading';
|
|
10
|
+
import fixtureSelected from './fixtures/selected';
|
|
11
|
+
test('Organism › OrganismBrandAnalytics > should have valid propTypes', t => {
|
|
12
|
+
t.pass();
|
|
13
|
+
forEach(OrganismBrandAnalytics.propTypes, (value, key) => {
|
|
14
|
+
t.not(value, undefined, `PropType for "Organism.OrganismBrandAnalytics.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
test('Organism › OrganismBrandAnalytics › Default › should be rendered', renderComponentMacro, OrganismBrandAnalytics, fixtureDefault);
|
|
18
|
+
test('Organism › OrganismBrandAnalytics › Error › should be rendered', renderComponentMacro, OrganismBrandAnalytics, fixtureError);
|
|
19
|
+
test('Organism › OrganismBrandAnalytics › Loading › should be rendered', renderComponentMacro, OrganismBrandAnalytics, fixtureLoading);
|
|
20
|
+
test('Organism › OrganismBrandAnalytics › SelectedError › should be rendered', renderComponentMacro, OrganismBrandAnalytics, fixtureSelectedError);
|
|
21
|
+
test('Organism › OrganismBrandAnalytics › SelectedLoading › should be rendered', renderComponentMacro, OrganismBrandAnalytics, fixtureSelectedLoading);
|
|
22
|
+
test('Organism › OrganismBrandAnalytics › Selected › should be rendered', renderComponentMacro, OrganismBrandAnalytics, fixtureSelected);
|
|
23
|
+
//# sourceMappingURL=fixtures.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/organism/brand-analytics/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","OrganismBrandAnalytics","fixtureDefault","fixtureError","fixtureLoading","fixtureSelectedError","fixtureSelectedLoading","fixtureSelected","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,sBAAP,MAAmC,IAAnC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,oBAAP,MAAiC,2BAAjC;AACA,OAAOC,sBAAP,MAAmC,6BAAnC;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AAEAT,IAAI,CAAC,iEAAD,EAAoEU,CAAC,IAAI;AAC3EA,EAAAA,CAAC,CAACC,IAAF;AACAV,EAAAA,OAAO,CAACE,sBAAsB,CAACS,SAAxB,EAAmC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACxDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,2DAA0DF,GAAI,mEAAvF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAd,IAAI,CAAC,kEAAD,EAAqEE,oBAArE,EAA2FC,sBAA3F,EAAmHC,cAAnH,CAAJ;AACAJ,IAAI,CAAC,gEAAD,EAAmEE,oBAAnE,EAAyFC,sBAAzF,EAAiHE,YAAjH,CAAJ;AACAL,IAAI,CAAC,kEAAD,EAAqEE,oBAArE,EAA2FC,sBAA3F,EAAmHG,cAAnH,CAAJ;AACAN,IAAI,CAAC,wEAAD,EAA2EE,oBAA3E,EAAiGC,sBAAjG,EAAyHI,oBAAzH,CAAJ;AACAP,IAAI,CAAC,0EAAD,EAA6EE,oBAA7E,EAAmGC,sBAAnG,EAA2HK,sBAA3H,CAAJ;AACAR,IAAI,CAAC,mEAAD,EAAsEE,oBAAtE,EAA4FC,sBAA5F,EAAoHM,eAApH,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport OrganismBrandAnalytics from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureError from './fixtures/error';\nimport fixtureLoading from './fixtures/loading';\nimport fixtureSelectedError from './fixtures/selected-error';\nimport fixtureSelectedLoading from './fixtures/selected-loading';\nimport fixtureSelected from './fixtures/selected';\n\ntest('Organism › OrganismBrandAnalytics > should have valid propTypes', t => {\n t.pass();\n forEach(OrganismBrandAnalytics.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Organism.OrganismBrandAnalytics.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Organism › OrganismBrandAnalytics › Default › should be rendered', renderComponentMacro, OrganismBrandAnalytics, fixtureDefault);\ntest('Organism › OrganismBrandAnalytics › Error › should be rendered', renderComponentMacro, OrganismBrandAnalytics, fixtureError);\ntest('Organism › OrganismBrandAnalytics › Loading › should be rendered', renderComponentMacro, OrganismBrandAnalytics, fixtureLoading);\ntest('Organism › OrganismBrandAnalytics › SelectedError › should be rendered', renderComponentMacro, OrganismBrandAnalytics, fixtureSelectedError);\ntest('Organism › OrganismBrandAnalytics › SelectedLoading › should be rendered', renderComponentMacro, OrganismBrandAnalytics, fixtureSelectedLoading);\ntest('Organism › OrganismBrandAnalytics › Selected › should be rendered', renderComponentMacro, OrganismBrandAnalytics, fixtureSelected);\n"],"file":"fixtures.js"}
|
|
@@ -3,11 +3,7 @@ import forEach from 'lodash/forEach';
|
|
|
3
3
|
import renderComponentMacro from '../../../test/helpers/render-component';
|
|
4
4
|
import OrganismBrandDashboard from '..';
|
|
5
5
|
import fixtureDefault from './fixtures/default';
|
|
6
|
-
import
|
|
7
|
-
import fixtureLoading from './fixtures/loading';
|
|
8
|
-
import fixtureSelectedError from './fixtures/selected-error';
|
|
9
|
-
import fixtureSelectedLoading from './fixtures/selected-loading';
|
|
10
|
-
import fixtureSelected from './fixtures/selected';
|
|
6
|
+
import fixtureThreeCards from './fixtures/three-cards';
|
|
11
7
|
test('Organism › OrganismBrandDashboard > should have valid propTypes', t => {
|
|
12
8
|
t.pass();
|
|
13
9
|
forEach(OrganismBrandDashboard.propTypes, (value, key) => {
|
|
@@ -15,9 +11,5 @@ test('Organism › OrganismBrandDashboard > should have valid propTypes', t => {
|
|
|
15
11
|
});
|
|
16
12
|
});
|
|
17
13
|
test('Organism › OrganismBrandDashboard › Default › should be rendered', renderComponentMacro, OrganismBrandDashboard, fixtureDefault);
|
|
18
|
-
test('Organism › OrganismBrandDashboard ›
|
|
19
|
-
test('Organism › OrganismBrandDashboard › Loading › should be rendered', renderComponentMacro, OrganismBrandDashboard, fixtureLoading);
|
|
20
|
-
test('Organism › OrganismBrandDashboard › SelectedError › should be rendered', renderComponentMacro, OrganismBrandDashboard, fixtureSelectedError);
|
|
21
|
-
test('Organism › OrganismBrandDashboard › SelectedLoading › should be rendered', renderComponentMacro, OrganismBrandDashboard, fixtureSelectedLoading);
|
|
22
|
-
test('Organism › OrganismBrandDashboard › Selected › should be rendered', renderComponentMacro, OrganismBrandDashboard, fixtureSelected);
|
|
14
|
+
test('Organism › OrganismBrandDashboard › ThreeCards › should be rendered', renderComponentMacro, OrganismBrandDashboard, fixtureThreeCards);
|
|
23
15
|
//# sourceMappingURL=fixtures.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/organism/brand-dashboard/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","OrganismBrandDashboard","fixtureDefault","
|
|
1
|
+
{"version":3,"sources":["../../../../src/organism/brand-dashboard/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","OrganismBrandDashboard","fixtureDefault","fixtureThreeCards","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,sBAAP,MAAmC,IAAnC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,iBAAP,MAA8B,wBAA9B;AAEAL,IAAI,CAAC,iEAAD,EAAoEM,CAAC,IAAI;AAC3EA,EAAAA,CAAC,CAACC,IAAF;AACAN,EAAAA,OAAO,CAACE,sBAAsB,CAACK,SAAxB,EAAmC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACxDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,2DAA0DF,GAAI,mEAAvF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAV,IAAI,CAAC,kEAAD,EAAqEE,oBAArE,EAA2FC,sBAA3F,EAAmHC,cAAnH,CAAJ;AACAJ,IAAI,CAAC,qEAAD,EAAwEE,oBAAxE,EAA8FC,sBAA9F,EAAsHE,iBAAtH,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport OrganismBrandDashboard from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureThreeCards from './fixtures/three-cards';\n\ntest('Organism › OrganismBrandDashboard > should have valid propTypes', t => {\n t.pass();\n forEach(OrganismBrandDashboard.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Organism.OrganismBrandDashboard.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Organism › OrganismBrandDashboard › Default › should be rendered', renderComponentMacro, OrganismBrandDashboard, fixtureDefault);\ntest('Organism › OrganismBrandDashboard › ThreeCards › should be rendered', renderComponentMacro, OrganismBrandDashboard, fixtureThreeCards);\n"],"file":"fixtures.js"}
|
|
@@ -97,17 +97,20 @@ export default {
|
|
|
97
97
|
fields: [{
|
|
98
98
|
type: 'checkbox',
|
|
99
99
|
titleStyle: 'primary',
|
|
100
|
+
theme: 'coorpmanager',
|
|
100
101
|
title: 'RH',
|
|
101
102
|
checked: true,
|
|
102
103
|
disabled: true
|
|
103
104
|
}, {
|
|
104
105
|
type: 'checkbox',
|
|
105
106
|
titleStyle: 'primary',
|
|
107
|
+
theme: 'coorpmanager',
|
|
106
108
|
title: 'CMS',
|
|
107
109
|
checked: false
|
|
108
110
|
}, {
|
|
109
111
|
type: 'checkbox',
|
|
110
112
|
titleStyle: 'primary',
|
|
113
|
+
theme: 'coorpmanager',
|
|
111
114
|
title: 'Admin',
|
|
112
115
|
checked: true
|
|
113
116
|
}]
|
|
@@ -118,26 +121,31 @@ export default {
|
|
|
118
121
|
type: 'checkbox',
|
|
119
122
|
title: 'Admin',
|
|
120
123
|
titleStyle: 'secondary',
|
|
124
|
+
theme: 'coorpmanager',
|
|
121
125
|
checked: true
|
|
122
126
|
}, {
|
|
123
127
|
type: 'checkbox',
|
|
124
128
|
title: 'Super coach',
|
|
125
129
|
titleStyle: 'secondary',
|
|
130
|
+
theme: 'coorpmanager',
|
|
126
131
|
disabled: true
|
|
127
132
|
}, {
|
|
128
133
|
type: 'checkbox',
|
|
129
134
|
title: 'Moderator',
|
|
130
135
|
titleStyle: 'secondary',
|
|
136
|
+
theme: 'coorpmanager',
|
|
131
137
|
disabled: true
|
|
132
138
|
}, {
|
|
133
139
|
type: 'checkbox',
|
|
134
140
|
title: 'System',
|
|
135
141
|
titleStyle: 'secondary',
|
|
142
|
+
theme: 'coorpmanager',
|
|
136
143
|
checked: false
|
|
137
144
|
}, {
|
|
138
145
|
type: 'checkbox',
|
|
139
146
|
title: 'Godmode',
|
|
140
147
|
titleStyle: 'secondary',
|
|
148
|
+
theme: 'coorpmanager',
|
|
141
149
|
disabled: true,
|
|
142
150
|
checked: true
|
|
143
151
|
}]
|
|
@@ -148,11 +156,13 @@ export default {
|
|
|
148
156
|
type: 'checkbox',
|
|
149
157
|
title: 'Admin',
|
|
150
158
|
titleStyle: 'tertiary',
|
|
159
|
+
theme: 'coorpmanager',
|
|
151
160
|
checked: true
|
|
152
161
|
}, {
|
|
153
162
|
type: 'checkbox',
|
|
154
163
|
title: 'Super coach',
|
|
155
164
|
titleStyle: 'tertiary',
|
|
165
|
+
theme: 'coorpmanager',
|
|
156
166
|
checked: true
|
|
157
167
|
}]
|
|
158
168
|
}]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/organism/brand-form/test/fixtures/manageusers-edit.js"],"names":["props","groups","title","fields","type","description","onChange","options","name","value","selected","required","titleStyle","checked","disabled","subtitle","fieldsLayout","groupLayout","back","desc","link","onSubmit","submitValue"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,MAAM,EAAE,CACN;AACEC,MAAAA,KAAK,EAAE,oBADT;AAEEC,MAAAA,MAAM,EAAE,CACN;AACEC,QAAAA,IAAI,EAAE,QADR;AAEEF,QAAAA,KAAK,EAAE,QAFT;AAGEG,QAAAA,WAAW,EAAE,+BAHf;AAIEC,QAAAA,QAAQ,EAAE,MAAM,IAJlB;AAKEC,QAAAA,OAAO,EAAE,CACP;AACEC,UAAAA,IAAI,EAAE,QADR;AAEEC,UAAAA,KAAK,EAAE,QAFT;AAGEC,UAAAA,QAAQ,EAAE;AAHZ,SADO,EAMP;AACEF,UAAAA,IAAI,EAAE,UADR;AAEEC,UAAAA,KAAK,EAAE,UAFT;AAGEC,UAAAA,QAAQ,EAAE;AAHZ,SANO;AALX,OADM,EAmBN;AACEN,QAAAA,IAAI,EAAE,MADR;AAEEF,QAAAA,KAAK,EAAE,MAFT;AAGES,QAAAA,QAAQ,EAAE;AAHZ,OAnBM,EAwBN;AACEP,QAAAA,IAAI,EAAE,MADR;AAEEF,QAAAA,KAAK,EAAE,WAFT;AAGES,QAAAA,QAAQ,EAAE;AAHZ,OAxBM,EA6BN;AAC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EC,MAAAA,MAAM,EAAE,CACN;AACEC,QAAAA,IAAI,EAAE,MADR;AAEEF,QAAAA,KAAK,EAAE;AAFT,OADM,EAKN;AACEE,QAAAA,IAAI,EAAE,MADR;AAEEF,QAAAA,KAAK,EAAE;AAFT,OALM,EASN;AACEE,QAAAA,IAAI,EAAE,MADR;AAEEF,QAAAA,KAAK,EAAE;AAFT,OATM,EAaN;AACEE,QAAAA,IAAI,EAAE,MADR;AAEEF,QAAAA,KAAK,EAAE;AAFT,OAbM;AAFV,KAxMM,CADH;AA+NLgB,IAAAA,IAAI,EAAE;AACJC,MAAAA,IAAI,EAAE,oBADF;AAEJC,MAAAA,IAAI,EAAE;AAFF,KA/ND;AAmOLC,IAAAA,QAAQ,EAAE,MAAM,CAAE,CAnOb;AAoOLC,IAAAA,WAAW,EAAE;AApOR;AADM,CAAf","sourcesContent":["export default {\n props: {\n groups: [\n {\n title: 'Editing Foo Barbaz',\n fields: [\n {\n type: 'select',\n title: 'Status',\n description: 'Deactivation Date: 01/01/2019',\n onChange: () => true,\n options: [\n {\n name: 'active',\n value: 'active',\n selected: false\n },\n {\n name: 'inactive',\n value: 'inactive',\n selected: true\n }\n ]\n },\n {\n type: 'text',\n title: 'Name',\n required: true\n },\n {\n type: 'text',\n title: 'Last name',\n required: true\n },\n {\n type: 'text',\n title: 'Email',\n required: true\n },\n {\n type: 'text',\n title: 'Login'\n },\n {\n type: 'text',\n title: 'Provider',\n required: true\n },\n {\n type: 'select',\n title: 'Language',\n onChange: () => true,\n options: [\n {\n name: 'foo',\n value: 'A',\n selected: false\n },\n {\n name: 'bar',\n value: 'B',\n selected: true\n },\n {\n name: 'baz',\n value: 'C',\n selected: false\n }\n ]\n },\n {\n type: 'text',\n title: 'Group'\n }\n ]\n },\n {\n title: 'Roles',\n fields: [\n {\n type: 'checkbox',\n titleStyle: 'primary',\n title: 'RH',\n checked: true,\n disabled: true\n },\n {\n type: 'checkbox',\n titleStyle: 'primary',\n title: 'Godmode',\n checked: true\n },\n {\n type: 'checkbox',\n titleStyle: 'secondary',\n title: 'System',\n checked: false,\n disabled: false\n },\n {\n type: 'checkbox',\n titleStyle: 'tertiary',\n title: 'Admin'\n },\n {\n type: 'checkbox',\n titleStyle: 'secondary',\n title: 'CMS',\n checked: false,\n disabled: true\n }\n ]\n },\n {\n title: 'CM Roles',\n subtitle:\n 'Elit enim viverra enim, blandit turpis quam pretium id. Et, leo, amet odio proin diam sit lorem accumsan.',\n fieldsLayout: 'grid',\n groupLayout: 'grid',\n fields: [\n {\n title: 'Coorp',\n type: 'roles',\n fields: [\n {\n type: 'checkbox',\n titleStyle: 'primary',\n title: 'RH',\n checked: true,\n disabled: true\n },\n {\n type: 'checkbox',\n titleStyle: 'primary',\n title: 'CMS',\n checked: false\n },\n {\n type: 'checkbox',\n titleStyle: 'primary',\n title: 'Admin',\n checked: true\n }\n ]\n },\n {\n title: 'Mooc',\n type: 'roles',\n fields: [\n {\n type: 'checkbox',\n title: 'Admin',\n titleStyle: 'secondary',\n checked: true\n },\n {\n type: 'checkbox',\n title: 'Super coach',\n titleStyle: 'secondary',\n disabled: true\n },\n {\n type: 'checkbox',\n title: 'Moderator',\n titleStyle: 'secondary',\n disabled: true\n },\n {\n type: 'checkbox',\n title: 'System',\n titleStyle: 'secondary',\n checked: false\n },\n {\n type: 'checkbox',\n title: 'Godmode',\n titleStyle: 'secondary',\n disabled: true,\n checked: true\n }\n ]\n },\n {\n title: 'CM',\n type: 'roles',\n fields: [\n {\n type: 'checkbox',\n title: 'Admin',\n titleStyle: 'tertiary',\n checked: true\n },\n {\n type: 'checkbox',\n title: 'Super coach',\n titleStyle: 'tertiary',\n checked: true\n }\n ]\n }\n ]\n },\n {\n title: 'Organisation',\n fields: [\n {\n type: 'text',\n title: 'Company'\n },\n {\n type: 'text',\n title: 'Boutique'\n },\n {\n type: 'text',\n title: 'Branch'\n },\n {\n type: 'text',\n title: 'Role'\n }\n ]\n }\n ],\n back: {\n desc: 'Back to users list',\n link: '#'\n },\n onSubmit: () => {},\n submitValue: 'Save changes'\n }\n};\n"],"file":"manageusers-edit.js"}
|
|
1
|
+
{"version":3,"sources":["../../../../../src/organism/brand-form/test/fixtures/manageusers-edit.js"],"names":["props","groups","title","fields","type","description","onChange","options","name","value","selected","required","titleStyle","checked","disabled","subtitle","fieldsLayout","groupLayout","theme","back","desc","link","onSubmit","submitValue"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,MAAM,EAAE,CACN;AACEC,MAAAA,KAAK,EAAE,oBADT;AAEEC,MAAAA,MAAM,EAAE,CACN;AACEC,QAAAA,IAAI,EAAE,QADR;AAEEF,QAAAA,KAAK,EAAE,QAFT;AAGEG,QAAAA,WAAW,EAAE,+BAHf;AAIEC,QAAAA,QAAQ,EAAE,MAAM,IAJlB;AAKEC,QAAAA,OAAO,EAAE,CACP;AACEC,UAAAA,IAAI,EAAE,QADR;AAEEC,UAAAA,KAAK,EAAE,QAFT;AAGEC,UAAAA,QAAQ,EAAE;AAHZ,SADO,EAMP;AACEF,UAAAA,IAAI,EAAE,UADR;AAEEC,UAAAA,KAAK,EAAE,UAFT;AAGEC,UAAAA,QAAQ,EAAE;AAHZ,SANO;AALX,OADM,EAmBN;AACEN,QAAAA,IAAI,EAAE,MADR;AAEEF,QAAAA,KAAK,EAAE,MAFT;AAGES,QAAAA,QAAQ,EAAE;AAHZ,OAnBM,EAwBN;AACEP,QAAAA,IAAI,EAAE,MADR;AAEEF,QAAAA,KAAK,EAAE,WAFT;AAGES,QAAAA,QAAQ,EAAE;AAHZ,OAxBM,EA6BN;AACEP,QAAAA,IAAI,EAAE,MADR;AAEEF,QAAAA,KAAK,EAAE,OAFT;AAGES,QAAAA,QAAQ,EAAE;AAHZ,OA7BM,EAkCN;AACEP,QAAAA,IAAI,EAAE,MADR;AAEEF,QAAAA,KAAK,EAAE;AAFT,OAlCM,EAsCN;AACEE,QAAAA,IAAI,EAAE,MADR;AAEEF,QAAAA,KAAK,EAAE,UAF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AALX,SARM;AAHV,OAvEM;AANV,KA/GM,EAkNN;AACEX,MAAAA,KAAK,EAAE,cADT;AAEEC,MAAAA,MAAM,EAAE,CACN;AACEC,QAAAA,IAAI,EAAE,MADR;AAEEF,QAAAA,KAAK,EAAE;AAFT,OADM,EAKN;AACEE,QAAAA,IAAI,EAAE,MADR;AAEEF,QAAAA,KAAK,EAAE;AAFT,OALM,EASN;AACEE,QAAAA,IAAI,EAAE,MADR;AAEEF,QAAAA,KAAK,EAAE;AAFT,OATM,EAaN;AACEE,QAAAA,IAAI,EAAE,MADR;AAEEF,QAAAA,KAAK,EAAE;AAFT,OAbM;AAFV,KAlNM,CADH;AAyOLiB,IAAAA,IAAI,EAAE;AACJC,MAAAA,IAAI,EAAE,oBADF;AAEJC,MAAAA,IAAI,EAAE;AAFF,KAzOD;AA6OLC,IAAAA,QAAQ,EAAE,MAAM,CAAE,CA7Ob;AA8OLC,IAAAA,WAAW,EAAE;AA9OR;AADM,CAAf","sourcesContent":["export default {\n props: {\n groups: [\n {\n title: 'Editing Foo Barbaz',\n fields: [\n {\n type: 'select',\n title: 'Status',\n description: 'Deactivation Date: 01/01/2019',\n onChange: () => true,\n options: [\n {\n name: 'active',\n value: 'active',\n selected: false\n },\n {\n name: 'inactive',\n value: 'inactive',\n selected: true\n }\n ]\n },\n {\n type: 'text',\n title: 'Name',\n required: true\n },\n {\n type: 'text',\n title: 'Last name',\n required: true\n },\n {\n type: 'text',\n title: 'Email',\n required: true\n },\n {\n type: 'text',\n title: 'Login'\n },\n {\n type: 'text',\n title: 'Provider',\n required: true\n },\n {\n type: 'select',\n title: 'Language',\n onChange: () => true,\n options: [\n {\n name: 'foo',\n value: 'A',\n selected: false\n },\n {\n name: 'bar',\n value: 'B',\n selected: true\n },\n {\n name: 'baz',\n value: 'C',\n selected: false\n }\n ]\n },\n {\n type: 'text',\n title: 'Group'\n }\n ]\n },\n {\n title: 'Roles',\n fields: [\n {\n type: 'checkbox',\n titleStyle: 'primary',\n title: 'RH',\n checked: true,\n disabled: true\n },\n {\n type: 'checkbox',\n titleStyle: 'primary',\n title: 'Godmode',\n checked: true\n },\n {\n type: 'checkbox',\n titleStyle: 'secondary',\n title: 'System',\n checked: false,\n disabled: false\n },\n {\n type: 'checkbox',\n titleStyle: 'tertiary',\n title: 'Admin'\n },\n {\n type: 'checkbox',\n titleStyle: 'secondary',\n title: 'CMS',\n checked: false,\n disabled: true\n }\n ]\n },\n {\n title: 'CM Roles',\n subtitle:\n 'Elit enim viverra enim, blandit turpis quam pretium id. Et, leo, amet odio proin diam sit lorem accumsan.',\n fieldsLayout: 'grid',\n groupLayout: 'grid',\n fields: [\n {\n title: 'Coorp',\n type: 'roles',\n fields: [\n {\n type: 'checkbox',\n titleStyle: 'primary',\n theme: 'coorpmanager',\n title: 'RH',\n checked: true,\n disabled: true\n },\n {\n type: 'checkbox',\n titleStyle: 'primary',\n theme: 'coorpmanager',\n title: 'CMS',\n checked: false\n },\n {\n type: 'checkbox',\n titleStyle: 'primary',\n theme: 'coorpmanager',\n title: 'Admin',\n checked: true\n }\n ]\n },\n {\n title: 'Mooc',\n type: 'roles',\n fields: [\n {\n type: 'checkbox',\n title: 'Admin',\n titleStyle: 'secondary',\n theme: 'coorpmanager',\n checked: true\n },\n {\n type: 'checkbox',\n title: 'Super coach',\n titleStyle: 'secondary',\n theme: 'coorpmanager',\n disabled: true\n },\n {\n type: 'checkbox',\n title: 'Moderator',\n titleStyle: 'secondary',\n theme: 'coorpmanager',\n disabled: true\n },\n {\n type: 'checkbox',\n title: 'System',\n titleStyle: 'secondary',\n theme: 'coorpmanager',\n checked: false\n },\n {\n type: 'checkbox',\n title: 'Godmode',\n titleStyle: 'secondary',\n theme: 'coorpmanager',\n disabled: true,\n checked: true\n }\n ]\n },\n {\n title: 'CM',\n type: 'roles',\n fields: [\n {\n type: 'checkbox',\n title: 'Admin',\n titleStyle: 'tertiary',\n theme: 'coorpmanager',\n checked: true\n },\n {\n type: 'checkbox',\n title: 'Super coach',\n titleStyle: 'tertiary',\n theme: 'coorpmanager',\n checked: true\n }\n ]\n }\n ]\n },\n {\n title: 'Organisation',\n fields: [\n {\n type: 'text',\n title: 'Company'\n },\n {\n type: 'text',\n title: 'Boutique'\n },\n {\n type: 'text',\n title: 'Branch'\n },\n {\n type: 'text',\n title: 'Role'\n }\n ]\n }\n ],\n back: {\n desc: 'Back to users list',\n link: '#'\n },\n onSubmit: () => {},\n submitValue: 'Save changes'\n }\n};\n"],"file":"manageusers-edit.js"}
|
|
@@ -6,6 +6,9 @@ import fixtureDefault from './fixtures/default';
|
|
|
6
6
|
import fixtureLinkOnly from './fixtures/link-only';
|
|
7
7
|
import fixtureLoggedWithBattleNotifications from './fixtures/logged-with-battle-notifications';
|
|
8
8
|
import fixtureLogged from './fixtures/logged';
|
|
9
|
+
import fixtureMobileSmallLogoFormat from './fixtures/mobile-small-logo-format';
|
|
10
|
+
import fixtureMobileWideLogoFormat from './fixtures/mobile-wide-logo-format';
|
|
11
|
+
import fixtureOnHeaderActionHandlers from './fixtures/on-header-action-handlers';
|
|
9
12
|
import fixtureTeamsFrench from './fixtures/teams-french';
|
|
10
13
|
import fixtureTeams from './fixtures/teams';
|
|
11
14
|
import fixtureUserChangePassword from './fixtures/user-change-password';
|
|
@@ -19,6 +22,9 @@ test('Organism › OrganismMoocHeader › Default › should be rendered', rende
|
|
|
19
22
|
test('Organism › OrganismMoocHeader › LinkOnly › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureLinkOnly);
|
|
20
23
|
test('Organism › OrganismMoocHeader › LoggedWithBattleNotifications › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureLoggedWithBattleNotifications);
|
|
21
24
|
test('Organism › OrganismMoocHeader › Logged › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureLogged);
|
|
25
|
+
test('Organism › OrganismMoocHeader › MobileSmallLogoFormat › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureMobileSmallLogoFormat);
|
|
26
|
+
test('Organism › OrganismMoocHeader › MobileWideLogoFormat › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureMobileWideLogoFormat);
|
|
27
|
+
test('Organism › OrganismMoocHeader › OnHeaderActionHandlers › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureOnHeaderActionHandlers);
|
|
22
28
|
test('Organism › OrganismMoocHeader › TeamsFrench › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureTeamsFrench);
|
|
23
29
|
test('Organism › OrganismMoocHeader › Teams › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureTeams);
|
|
24
30
|
test('Organism › OrganismMoocHeader › UserChangePassword › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureUserChangePassword);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/organism/mooc-header/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","OrganismMoocHeader","fixtureDefault","fixtureLinkOnly","fixtureLoggedWithBattleNotifications","fixtureLogged","fixtureTeamsFrench","fixtureTeams","fixtureUserChangePassword","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,kBAAP,MAA+B,IAA/B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,eAAP,MAA4B,sBAA5B;AACA,OAAOC,oCAAP,MAAiD,6CAAjD;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,kBAAP,MAA+B,yBAA/B;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AACA,OAAOC,yBAAP,MAAsC,iCAAtC;
|
|
1
|
+
{"version":3,"sources":["../../../../src/organism/mooc-header/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","OrganismMoocHeader","fixtureDefault","fixtureLinkOnly","fixtureLoggedWithBattleNotifications","fixtureLogged","fixtureMobileSmallLogoFormat","fixtureMobileWideLogoFormat","fixtureOnHeaderActionHandlers","fixtureTeamsFrench","fixtureTeams","fixtureUserChangePassword","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,kBAAP,MAA+B,IAA/B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,eAAP,MAA4B,sBAA5B;AACA,OAAOC,oCAAP,MAAiD,6CAAjD;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,4BAAP,MAAyC,qCAAzC;AACA,OAAOC,2BAAP,MAAwC,oCAAxC;AACA,OAAOC,6BAAP,MAA0C,sCAA1C;AACA,OAAOC,kBAAP,MAA+B,yBAA/B;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AACA,OAAOC,yBAAP,MAAsC,iCAAtC;AAEAb,IAAI,CAAC,6DAAD,EAAgEc,CAAC,IAAI;AACvEA,EAAAA,CAAC,CAACC,IAAF;AACAd,EAAAA,OAAO,CAACE,kBAAkB,CAACa,SAApB,EAA+B,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACpDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,uDAAsDF,GAAI,mEAAnF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAlB,IAAI,CAAC,8DAAD,EAAiEE,oBAAjE,EAAuFC,kBAAvF,EAA2GC,cAA3G,CAAJ;AACAJ,IAAI,CAAC,+DAAD,EAAkEE,oBAAlE,EAAwFC,kBAAxF,EAA4GE,eAA5G,CAAJ;AACAL,IAAI,CAAC,oFAAD,EAAuFE,oBAAvF,EAA6GC,kBAA7G,EAAiIG,oCAAjI,CAAJ;AACAN,IAAI,CAAC,6DAAD,EAAgEE,oBAAhE,EAAsFC,kBAAtF,EAA0GI,aAA1G,CAAJ;AACAP,IAAI,CAAC,4EAAD,EAA+EE,oBAA/E,EAAqGC,kBAArG,EAAyHK,4BAAzH,CAAJ;AACAR,IAAI,CAAC,2EAAD,EAA8EE,oBAA9E,EAAoGC,kBAApG,EAAwHM,2BAAxH,CAAJ;AACAT,IAAI,CAAC,6EAAD,EAAgFE,oBAAhF,EAAsGC,kBAAtG,EAA0HO,6BAA1H,CAAJ;AACAV,IAAI,CAAC,kEAAD,EAAqEE,oBAArE,EAA2FC,kBAA3F,EAA+GQ,kBAA/G,CAAJ;AACAX,IAAI,CAAC,4DAAD,EAA+DE,oBAA/D,EAAqFC,kBAArF,EAAyGS,YAAzG,CAAJ;AACAZ,IAAI,CAAC,yEAAD,EAA4EE,oBAA5E,EAAkGC,kBAAlG,EAAsHU,yBAAtH,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport OrganismMoocHeader from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureLinkOnly from './fixtures/link-only';\nimport fixtureLoggedWithBattleNotifications from './fixtures/logged-with-battle-notifications';\nimport fixtureLogged from './fixtures/logged';\nimport fixtureMobileSmallLogoFormat from './fixtures/mobile-small-logo-format';\nimport fixtureMobileWideLogoFormat from './fixtures/mobile-wide-logo-format';\nimport fixtureOnHeaderActionHandlers from './fixtures/on-header-action-handlers';\nimport fixtureTeamsFrench from './fixtures/teams-french';\nimport fixtureTeams from './fixtures/teams';\nimport fixtureUserChangePassword from './fixtures/user-change-password';\n\ntest('Organism › OrganismMoocHeader > should have valid propTypes', t => {\n t.pass();\n forEach(OrganismMoocHeader.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Organism.OrganismMoocHeader.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Organism › OrganismMoocHeader › Default › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureDefault);\ntest('Organism › OrganismMoocHeader › LinkOnly › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureLinkOnly);\ntest('Organism › OrganismMoocHeader › LoggedWithBattleNotifications › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureLoggedWithBattleNotifications);\ntest('Organism › OrganismMoocHeader › Logged › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureLogged);\ntest('Organism › OrganismMoocHeader › MobileSmallLogoFormat › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureMobileSmallLogoFormat);\ntest('Organism › OrganismMoocHeader › MobileWideLogoFormat › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureMobileWideLogoFormat);\ntest('Organism › OrganismMoocHeader › OnHeaderActionHandlers › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureOnHeaderActionHandlers);\ntest('Organism › OrganismMoocHeader › TeamsFrench › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureTeamsFrench);\ntest('Organism › OrganismMoocHeader › Teams › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureTeams);\ntest('Organism › OrganismMoocHeader › UserChangePassword › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureUserChangePassword);\n"],"file":"fixtures.js"}
|