@coorpacademy/components 10.13.10 → 10.13.11

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.
Files changed (162) hide show
  1. package/es/atom/button-link-icon-only/test/fixtures.js +2 -0
  2. package/es/atom/button-link-icon-only/test/fixtures.js.map +1 -1
  3. package/es/atom/checkbox-with-title/style.css +2 -4
  4. package/es/molecule/course-section/index.js +19 -16
  5. package/es/molecule/course-section/index.js.map +1 -1
  6. package/es/molecule/course-section/style.css +12 -15
  7. package/es/molecule/course-section/test/fixtures/advanced-level.js +22 -0
  8. package/es/molecule/course-section/test/fixtures/advanced-level.js.map +1 -0
  9. package/es/molecule/course-section/test/fixtures/base-level.js +18 -0
  10. package/es/molecule/course-section/test/fixtures/base-level.js.map +1 -0
  11. package/es/molecule/course-section/test/fixtures/chapter.js +2 -2
  12. package/es/molecule/course-section/test/fixtures/chapter.js.map +1 -1
  13. package/es/molecule/course-section/test/fixtures/coach-level.js +24 -0
  14. package/es/molecule/course-section/test/fixtures/coach-level.js.map +1 -0
  15. package/es/molecule/course-section/test/fixtures/course.js +2 -2
  16. package/es/molecule/course-section/test/fixtures/course.js.map +1 -1
  17. package/es/molecule/course-section/test/fixtures.js +6 -0
  18. package/es/molecule/course-section/test/fixtures.js.map +1 -1
  19. package/es/molecule/course-sections/test/fixtures/default.js +20 -20
  20. package/es/molecule/course-sections/test/fixtures/default.js.map +1 -1
  21. package/es/molecule/drag-and-drop-wrapper/style.css +5 -2
  22. package/es/molecule/drag-and-drop-wrapper/test/fixtures/default.js +8 -2
  23. package/es/molecule/drag-and-drop-wrapper/test/fixtures/default.js.map +1 -1
  24. package/es/molecule/drag-and-drop-wrapper/test/fixtures/two-drag-and-drops.js +11 -3
  25. package/es/molecule/drag-and-drop-wrapper/test/fixtures/two-drag-and-drops.js.map +1 -1
  26. package/es/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/index.js +0 -0
  27. package/es/molecule/input-text-with-titled-checkbox/index.js.map +1 -0
  28. package/es/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/style.css +0 -0
  29. package/es/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/test/fixtures/checked.js +0 -0
  30. package/es/molecule/input-text-with-titled-checkbox/test/fixtures/checked.js.map +1 -0
  31. package/es/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/test/fixtures/unchecked.js +0 -0
  32. package/es/molecule/input-text-with-titled-checkbox/test/fixtures/unchecked.js.map +1 -0
  33. package/es/molecule/input-text-with-titled-checkbox/test/fixtures.js +15 -0
  34. package/es/molecule/input-text-with-titled-checkbox/test/fixtures.js.map +1 -0
  35. package/es/molecule/list-badges/index.js +38 -0
  36. package/es/molecule/list-badges/index.js.map +1 -0
  37. package/es/molecule/list-badges/style.css +15 -0
  38. package/es/molecule/list-badges/test/fixtures/advanced.js +9 -0
  39. package/es/molecule/list-badges/test/fixtures/advanced.js.map +1 -0
  40. package/es/molecule/list-badges/test/fixtures/base.js +8 -0
  41. package/es/molecule/list-badges/test/fixtures/base.js.map +1 -0
  42. package/es/molecule/list-badges/test/fixtures/coach.js +10 -0
  43. package/es/molecule/list-badges/test/fixtures/coach.js.map +1 -0
  44. package/es/molecule/list-badges/test/fixtures/course.js +8 -0
  45. package/es/molecule/list-badges/test/fixtures/course.js.map +1 -0
  46. package/es/molecule/list-badges/test/fixtures.js +19 -0
  47. package/es/molecule/list-badges/test/fixtures.js.map +1 -0
  48. package/es/organism/review-header/test/fixtures.js +23 -0
  49. package/es/organism/review-header/test/fixtures.js.map +1 -0
  50. package/es/organism/rewards-form/index.js +41 -0
  51. package/es/organism/rewards-form/index.js.map +1 -0
  52. package/es/organism/rewards-form/style.css +12 -0
  53. package/es/organism/rewards-form/test/fixtures/default.js +17 -0
  54. package/es/organism/rewards-form/test/fixtures/default.js.map +1 -0
  55. package/es/organism/rewards-form/test/fixtures/no-rewards.js +6 -0
  56. package/es/organism/rewards-form/test/fixtures/no-rewards.js.map +1 -0
  57. package/es/organism/rewards-form/test/fixtures/one-reward.js +11 -0
  58. package/es/organism/rewards-form/test/fixtures/one-reward.js.map +1 -0
  59. package/es/organism/rewards-form/test/fixtures/two-rewards.js +14 -0
  60. package/es/organism/rewards-form/test/fixtures/two-rewards.js.map +1 -0
  61. package/es/organism/rewards-form/test/fixtures.js +19 -0
  62. package/es/organism/rewards-form/test/fixtures.js.map +1 -0
  63. package/es/organism/wizard-contents/index.js +6 -0
  64. package/es/organism/wizard-contents/index.js.map +1 -1
  65. package/es/organism/wizard-contents/test/fixtures/certification-rewards.js +45 -0
  66. package/es/organism/wizard-contents/test/fixtures/certification-rewards.js.map +1 -0
  67. package/es/organism/wizard-contents/test/fixtures.js +2 -0
  68. package/es/organism/wizard-contents/test/fixtures.js.map +1 -1
  69. package/es/template/back-office/brand-update/test/fixtures/wizard-rewards-certification.js +22 -0
  70. package/es/template/back-office/brand-update/test/fixtures/wizard-rewards-certification.js.map +1 -0
  71. package/es/template/back-office/brand-update/test/fixtures.js +2 -0
  72. package/es/template/back-office/brand-update/test/fixtures.js.map +1 -1
  73. package/lib/atom/button-link-icon-only/test/fixtures.js +3 -0
  74. package/lib/atom/button-link-icon-only/test/fixtures.js.map +1 -1
  75. package/lib/atom/checkbox-with-title/style.css +2 -4
  76. package/lib/molecule/course-section/index.js +20 -16
  77. package/lib/molecule/course-section/index.js.map +1 -1
  78. package/lib/molecule/course-section/style.css +12 -15
  79. package/lib/molecule/course-section/test/fixtures/advanced-level.js +27 -0
  80. package/lib/molecule/course-section/test/fixtures/advanced-level.js.map +1 -0
  81. package/lib/molecule/course-section/test/fixtures/base-level.js +23 -0
  82. package/lib/molecule/course-section/test/fixtures/base-level.js.map +1 -0
  83. package/lib/molecule/course-section/test/fixtures/chapter.js +2 -2
  84. package/lib/molecule/course-section/test/fixtures/chapter.js.map +1 -1
  85. package/lib/molecule/course-section/test/fixtures/coach-level.js +29 -0
  86. package/lib/molecule/course-section/test/fixtures/coach-level.js.map +1 -0
  87. package/lib/molecule/course-section/test/fixtures/course.js +2 -2
  88. package/lib/molecule/course-section/test/fixtures/course.js.map +1 -1
  89. package/lib/molecule/course-section/test/fixtures.js +9 -0
  90. package/lib/molecule/course-section/test/fixtures.js.map +1 -1
  91. package/lib/molecule/course-sections/test/fixtures/default.js +20 -20
  92. package/lib/molecule/course-sections/test/fixtures/default.js.map +1 -1
  93. package/lib/molecule/drag-and-drop-wrapper/style.css +5 -2
  94. package/lib/molecule/drag-and-drop-wrapper/test/fixtures/default.js +8 -2
  95. package/lib/molecule/drag-and-drop-wrapper/test/fixtures/default.js.map +1 -1
  96. package/lib/molecule/drag-and-drop-wrapper/test/fixtures/two-drag-and-drops.js +11 -3
  97. package/lib/molecule/drag-and-drop-wrapper/test/fixtures/two-drag-and-drops.js.map +1 -1
  98. package/lib/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/index.js +0 -0
  99. package/lib/molecule/input-text-with-titled-checkbox/index.js.map +1 -0
  100. package/lib/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/style.css +0 -0
  101. package/lib/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/test/fixtures/checked.js +0 -0
  102. package/lib/molecule/input-text-with-titled-checkbox/test/fixtures/checked.js.map +1 -0
  103. package/lib/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/test/fixtures/unchecked.js +0 -0
  104. package/lib/molecule/input-text-with-titled-checkbox/test/fixtures/unchecked.js.map +1 -0
  105. package/lib/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/test/fixtures.js +4 -4
  106. package/lib/molecule/input-text-with-titled-checkbox/test/fixtures.js.map +1 -0
  107. package/lib/molecule/list-badges/index.js +50 -0
  108. package/lib/molecule/list-badges/index.js.map +1 -0
  109. package/lib/molecule/list-badges/style.css +15 -0
  110. package/lib/molecule/list-badges/test/fixtures/advanced.js +19 -0
  111. package/lib/molecule/list-badges/test/fixtures/advanced.js.map +1 -0
  112. package/lib/molecule/list-badges/test/fixtures/base.js +17 -0
  113. package/lib/molecule/list-badges/test/fixtures/base.js.map +1 -0
  114. package/lib/molecule/list-badges/test/fixtures/coach.js +21 -0
  115. package/lib/molecule/list-badges/test/fixtures/coach.js.map +1 -0
  116. package/lib/molecule/list-badges/test/fixtures/course.js +17 -0
  117. package/lib/molecule/list-badges/test/fixtures/course.js.map +1 -0
  118. package/lib/molecule/list-badges/test/fixtures.js +31 -0
  119. package/lib/molecule/list-badges/test/fixtures.js.map +1 -0
  120. package/lib/organism/review-header/test/fixtures.js +37 -0
  121. package/lib/organism/review-header/test/fixtures.js.map +1 -0
  122. package/lib/organism/rewards-form/index.js +55 -0
  123. package/lib/organism/rewards-form/index.js.map +1 -0
  124. package/lib/organism/rewards-form/style.css +12 -0
  125. package/lib/organism/rewards-form/test/fixtures/default.js +28 -0
  126. package/lib/organism/rewards-form/test/fixtures/default.js.map +1 -0
  127. package/lib/organism/rewards-form/test/fixtures/no-rewards.js +11 -0
  128. package/lib/organism/rewards-form/test/fixtures/no-rewards.js.map +1 -0
  129. package/lib/organism/rewards-form/test/fixtures/one-reward.js +20 -0
  130. package/lib/organism/rewards-form/test/fixtures/one-reward.js.map +1 -0
  131. package/lib/organism/rewards-form/test/fixtures/two-rewards.js +24 -0
  132. package/lib/organism/rewards-form/test/fixtures/two-rewards.js.map +1 -0
  133. package/lib/organism/rewards-form/test/fixtures.js +31 -0
  134. package/lib/organism/rewards-form/test/fixtures.js.map +1 -0
  135. package/lib/organism/wizard-contents/index.js +7 -0
  136. package/lib/organism/wizard-contents/index.js.map +1 -1
  137. package/lib/organism/wizard-contents/test/fixtures/certification-rewards.js +54 -0
  138. package/lib/organism/wizard-contents/test/fixtures/certification-rewards.js.map +1 -0
  139. package/lib/organism/wizard-contents/test/fixtures.js +3 -0
  140. package/lib/organism/wizard-contents/test/fixtures.js.map +1 -1
  141. package/lib/template/back-office/brand-update/test/fixtures/wizard-rewards-certification.js +32 -0
  142. package/lib/template/back-office/brand-update/test/fixtures/wizard-rewards-certification.js.map +1 -0
  143. package/lib/template/back-office/brand-update/test/fixtures.js +3 -0
  144. package/lib/template/back-office/brand-update/test/fixtures.js.map +1 -1
  145. package/package.json +2 -2
  146. package/es/molecule/input-text-with-titeled-checkbox/index.js.map +0 -1
  147. package/es/molecule/input-text-with-titeled-checkbox/test/fixtures/checked.js.map +0 -1
  148. package/es/molecule/input-text-with-titeled-checkbox/test/fixtures/unchecked.js.map +0 -1
  149. package/es/molecule/input-text-with-titeled-checkbox/test/fixtures.js +0 -15
  150. package/es/molecule/input-text-with-titeled-checkbox/test/fixtures.js.map +0 -1
  151. package/es/molecule/search/test/fixtures.js +0 -15
  152. package/es/molecule/search/test/fixtures.js.map +0 -1
  153. package/es/organism/playlist-translation/test/fixtures.js +0 -15
  154. package/es/organism/playlist-translation/test/fixtures.js.map +0 -1
  155. package/lib/molecule/input-text-with-titeled-checkbox/index.js.map +0 -1
  156. package/lib/molecule/input-text-with-titeled-checkbox/test/fixtures/checked.js.map +0 -1
  157. package/lib/molecule/input-text-with-titeled-checkbox/test/fixtures/unchecked.js.map +0 -1
  158. package/lib/molecule/input-text-with-titeled-checkbox/test/fixtures.js.map +0 -1
  159. package/lib/molecule/search/test/fixtures.js +0 -25
  160. package/lib/molecule/search/test/fixtures.js.map +0 -1
  161. package/lib/organism/playlist-translation/test/fixtures.js +0 -25
  162. package/lib/organism/playlist-translation/test/fixtures.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/molecule/input-text-with-titeled-checkbox/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeInputTextWithTiteledCheckbox","fixtureChecked","fixtureUnchecked","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,oCAAP,MAAiD,IAAjD;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,gBAAP,MAA6B,sBAA7B;AAEAL,IAAI,CAAC,+EAAD,EAAkFM,CAAC,IAAI;AACzFA,EAAAA,CAAC,CAACC,IAAF;AACAN,EAAAA,OAAO,CAACE,oCAAoC,CAACK,SAAtC,EAAiD,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACtEJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,yEAAwEF,GAAI,mEAArG;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAV,IAAI,CAAC,gFAAD,EAAmFE,oBAAnF,EAAyGC,oCAAzG,EAA+IC,cAA/I,CAAJ;AACAJ,IAAI,CAAC,kFAAD,EAAqFE,oBAArF,EAA2GC,oCAA3G,EAAiJE,gBAAjJ,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeInputTextWithTiteledCheckbox from '..';\nimport fixtureChecked from './fixtures/checked';\nimport fixtureUnchecked from './fixtures/unchecked';\n\ntest('Molecule › MoleculeInputTextWithTiteledCheckbox > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeInputTextWithTiteledCheckbox.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeInputTextWithTiteledCheckbox.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeInputTextWithTiteledCheckbox › Checked › should be rendered', renderComponentMacro, MoleculeInputTextWithTiteledCheckbox, fixtureChecked);\ntest('Molecule › MoleculeInputTextWithTiteledCheckbox › Unchecked › should be rendered', renderComponentMacro, MoleculeInputTextWithTiteledCheckbox, fixtureUnchecked);\n"],"file":"fixtures.js"}
@@ -1,15 +0,0 @@
1
- import test from 'ava';
2
- import forEach from 'lodash/forEach';
3
- import renderComponentMacro from '../../../test/helpers/render-component';
4
- import MoleculeSearch from '..';
5
- import fixtureDefault from './fixtures/default';
6
- import fixtureWithValue from './fixtures/with-value';
7
- test('Molecule › MoleculeSearch > should have valid propTypes', t => {
8
- t.pass();
9
- forEach(MoleculeSearch.propTypes, (value, key) => {
10
- t.not(value, undefined, `PropType for "Molecule.MoleculeSearch.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
11
- });
12
- });
13
- test('Molecule › MoleculeSearch › Default › should be rendered', renderComponentMacro, MoleculeSearch, fixtureDefault);
14
- test('Molecule › MoleculeSearch › WithValue › should be rendered', renderComponentMacro, MoleculeSearch, fixtureWithValue);
15
- //# sourceMappingURL=fixtures.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/molecule/search/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeSearch","fixtureDefault","fixtureWithValue","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,cAAP,MAA2B,IAA3B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,gBAAP,MAA6B,uBAA7B;AAEAL,IAAI,CAAC,yDAAD,EAA4DM,CAAC,IAAI;AACnEA,EAAAA,CAAC,CAACC,IAAF;AACAN,EAAAA,OAAO,CAACE,cAAc,CAACK,SAAhB,EAA2B,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAChDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,mDAAkDF,GAAI,mEAA/E;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAV,IAAI,CAAC,0DAAD,EAA6DE,oBAA7D,EAAmFC,cAAnF,EAAmGC,cAAnG,CAAJ;AACAJ,IAAI,CAAC,4DAAD,EAA+DE,oBAA/D,EAAqFC,cAArF,EAAqGE,gBAArG,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeSearch from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureWithValue from './fixtures/with-value';\n\ntest('Molecule › MoleculeSearch > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeSearch.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeSearch.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeSearch › Default › should be rendered', renderComponentMacro, MoleculeSearch, fixtureDefault);\ntest('Molecule › MoleculeSearch › WithValue › should be rendered', renderComponentMacro, MoleculeSearch, fixtureWithValue);\n"],"file":"fixtures.js"}
@@ -1,15 +0,0 @@
1
- import test from 'ava';
2
- import forEach from 'lodash/forEach';
3
- import renderComponentMacro from '../../../test/helpers/render-component';
4
- import OrganismPlaylistTranslation from '..';
5
- import fixtureDefault from './fixtures/default';
6
- import fixtureDelete from './fixtures/delete';
7
- test('Organism › OrganismPlaylistTranslation > should have valid propTypes', t => {
8
- t.pass();
9
- forEach(OrganismPlaylistTranslation.propTypes, (value, key) => {
10
- t.not(value, undefined, `PropType for "Organism.OrganismPlaylistTranslation.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
11
- });
12
- });
13
- test('Organism › OrganismPlaylistTranslation › Default › should be rendered', renderComponentMacro, OrganismPlaylistTranslation, fixtureDefault);
14
- test('Organism › OrganismPlaylistTranslation › Delete › should be rendered', renderComponentMacro, OrganismPlaylistTranslation, fixtureDelete);
15
- //# sourceMappingURL=fixtures.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/organism/playlist-translation/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","OrganismPlaylistTranslation","fixtureDefault","fixtureDelete","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,2BAAP,MAAwC,IAAxC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AAEAL,IAAI,CAAC,sEAAD,EAAyEM,CAAC,IAAI;AAChFA,EAAAA,CAAC,CAACC,IAAF;AACAN,EAAAA,OAAO,CAACE,2BAA2B,CAACK,SAA7B,EAAwC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC7DJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,gEAA+DF,GAAI,mEAA5F;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAV,IAAI,CAAC,uEAAD,EAA0EE,oBAA1E,EAAgGC,2BAAhG,EAA6HC,cAA7H,CAAJ;AACAJ,IAAI,CAAC,sEAAD,EAAyEE,oBAAzE,EAA+FC,2BAA/F,EAA4HE,aAA5H,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport OrganismPlaylistTranslation from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureDelete from './fixtures/delete';\n\ntest('Organism › OrganismPlaylistTranslation > should have valid propTypes', t => {\n t.pass();\n forEach(OrganismPlaylistTranslation.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Organism.OrganismPlaylistTranslation.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Organism › OrganismPlaylistTranslation › Default › should be rendered', renderComponentMacro, OrganismPlaylistTranslation, fixtureDefault);\ntest('Organism › OrganismPlaylistTranslation › Delete › should be rendered', renderComponentMacro, OrganismPlaylistTranslation, fixtureDelete);\n"],"file":"fixtures.js"}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/molecule/input-text-with-titeled-checkbox/index.js"],"names":["InputTextWithTiteledCheckbox","props","title","name","checked","checkBoxOnChange","ariaLabel","inputTextTitle","inputTextValue","inputTextPlaceholder","inputTextDescription","inputTextDisabled","inputTextModified","inputTextOnChange","checkbox","style","inputText","input","propTypes","PropTypes","string","bool","func","shape"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,MAAMA,4BAA4B,GAAGC,KAAK,IAAI;AAC5C,QAAM;AACJC,IAAAA,KADI;AAEJC,IAAAA,IAFI;AAGJC,IAAAA,OAHI;AAIJC,IAAAA,gBAJI;AAKJ,kBAAcC,SALV;AAMJC,IAAAA,cANI;AAOJC,IAAAA,cAPI;AAQJC,IAAAA,oBARI;AASJC,IAAAA,oBATI;AAUJC,IAAAA,iBAVI;AAWJC,IAAAA,iBAXI;AAYJC,IAAAA;AAZI,MAaFZ,KAbJ;AAeA,sBACE,uDACE,6BAAC,0BAAD;AACE,IAAA,KAAK,EAAEC,KADT;AAEE,IAAA,IAAI,EAAEC,IAFR;AAGE,IAAA,OAAO,EAAEC,OAHX;AAIE,IAAA,QAAQ,EAAEC,gBAJZ;AAKE,iBAAU,WALZ;AAME,kBAAYC,SAAS,CAACQ;AANxB,IADF,eASE;AAAK,IAAA,SAAS,EAAEC,eAAMC;AAAtB,kBACE,6BAAC,kBAAD;AACE,IAAA,KAAK,EAAET,cADT;AAEE,IAAA,KAAK,EAAEC,cAFT;AAGE,IAAA,WAAW,EAAEC,oBAHf;AAIE,IAAA,KAAK,EAAC,cAJR;AAKE,IAAA,WAAW,EAAEC,oBALf;AAME,IAAA,QAAQ,EAAEC,iBANZ;AAOE,IAAA,QAAQ,EAAEC,iBAPZ;AAQE,IAAA,QAAQ,EAAEC,iBARZ;AASE,iBAAU,YATZ;AAUE,kBAAYP,SAAS,CAACW;AAVxB,IADF,CATF,CADF;AA0BD,CA1CD;;AA4CAjB,4BAA4B,CAACkB,SAA7B,2CAAyC;AACvChB,EAAAA,KAAK,EAAEiB,mBAAUC,MADsB;AAEvCjB,EAAAA,IAAI,EAAEgB,mBAAUC,MAFuB;AAGvChB,EAAAA,OAAO,EAAEe,mBAAUE,IAHoB;AAIvChB,EAAAA,gBAAgB,EAAEc,mBAAUG,IAJW;AAKvC,gBAAcH,mBAAUI,KAAV,CAAgB;AAC5BN,IAAAA,KAAK,EAAEE,mBAAUC,MADW;AAE5BN,IAAAA,QAAQ,EAAEK,mBAAUC;AAFQ,GAAhB,CALyB;AASvCb,EAAAA,cAAc,EAAEY,mBAAUC,MATa;AAUvCZ,EAAAA,cAAc,EAAEW,mBAAUC,MAVa;AAWvCX,EAAAA,oBAAoB,EAAEU,mBAAUC,MAXO;AAYvCV,EAAAA,oBAAoB,EAAES,mBAAUC,MAZO;AAavCT,EAAAA,iBAAiB,EAAEQ,mBAAUE,IAbU;AAcvCT,EAAAA,iBAAiB,EAAEO,mBAAUE,IAdU;AAevCR,EAAAA,iBAAiB,EAAEM,mBAAUG;AAfU,CAAzC;eAiBetB,4B","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport InputText from '../../atom/input-text';\nimport CheckboxWithTitle from '../../atom/checkbox-with-title';\nimport style from './style.css';\n\nconst InputTextWithTiteledCheckbox = props => {\n const {\n title,\n name,\n checked,\n checkBoxOnChange,\n 'aria-label': ariaLabel,\n inputTextTitle,\n inputTextValue,\n inputTextPlaceholder,\n inputTextDescription,\n inputTextDisabled,\n inputTextModified,\n inputTextOnChange\n } = props;\n\n return (\n <div>\n <CheckboxWithTitle\n title={title}\n name={name}\n checked={checked}\n onChange={checkBoxOnChange}\n data-name=\"check-box\"\n aria-label={ariaLabel.checkbox}\n />\n <div className={style.inputText}>\n <InputText\n title={inputTextTitle}\n value={inputTextValue}\n placeholder={inputTextPlaceholder}\n theme=\"coorpmanager\"\n description={inputTextDescription}\n disabled={inputTextDisabled}\n modified={inputTextModified}\n onChange={inputTextOnChange}\n data-name=\"input-text\"\n aria-label={ariaLabel.input}\n />\n </div>\n </div>\n );\n};\n\nInputTextWithTiteledCheckbox.propTypes = {\n title: PropTypes.string,\n name: PropTypes.string,\n checked: PropTypes.bool,\n checkBoxOnChange: PropTypes.func,\n 'aria-label': PropTypes.shape({\n input: PropTypes.string,\n checkbox: PropTypes.string\n }),\n inputTextTitle: PropTypes.string,\n inputTextValue: PropTypes.string,\n inputTextPlaceholder: PropTypes.string,\n inputTextDescription: PropTypes.string,\n inputTextDisabled: PropTypes.bool,\n inputTextModified: PropTypes.bool,\n inputTextOnChange: PropTypes.func\n};\nexport default InputTextWithTiteledCheckbox;\n"],"file":"index.js"}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../src/molecule/input-text-with-titeled-checkbox/test/fixtures/checked.js"],"names":["props","title","checked","checkBoxOnChange","value","console","log","inputTextTitle","inputTextValue","inputTextDescription","inputTextOnChange","checkbox","input"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,WADF;AAELC,IAAAA,OAAO,EAAE,IAFJ;AAGLC,IAAAA,gBAAgB,EAAEC,KAAK,IAAIC,OAAO,CAACC,GAAR,CAAYF,KAAZ,CAHtB;AAILG,IAAAA,cAAc,EAAE,cAJX;AAKLC,IAAAA,cAAc,EAAE,KALX;AAMLC,IAAAA,oBAAoB,EAAE,0BANjB;AAOLC,IAAAA,iBAAiB,EAAEN,KAAK,IAAIC,OAAO,CAACC,GAAR,CAAYF,KAAZ,CAPvB;AAQL,kBAAc;AAACO,MAAAA,QAAQ,EAAE,WAAX;AAAwBC,MAAAA,KAAK,EAAE;AAA/B;AART;AADM,C","sourcesContent":["export default {\n props: {\n title: 'Add stars',\n checked: true,\n checkBoxOnChange: value => console.log(value),\n inputTextTitle: 'Stars amount',\n inputTextValue: '250',\n inputTextDescription: 'This is the tooltip text',\n inputTextOnChange: value => console.log(value),\n 'aria-label': {checkbox: 'check box', input: 'input text'}\n }\n};\n"],"file":"checked.js"}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../src/molecule/input-text-with-titeled-checkbox/test/fixtures/unchecked.js"],"names":["props","title","checked","onChange","value","console","log","checkBoxOnChange","inputTextTitle","inputTextValue","inputTextDescription","inputTextDisabled","inputTextOnChange","checkbox","input"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,cADF;AAELC,IAAAA,OAAO,EAAE,KAFJ;AAGLC,IAAAA,QAAQ,EAAEC,KAAK,IAAIC,OAAO,CAACC,GAAR,CAAYF,KAAZ,CAHd;AAILG,IAAAA,gBAAgB,EAAEH,KAAK,IAAIC,OAAO,CAACC,GAAR,CAAYF,KAAZ,CAJtB;AAKLI,IAAAA,cAAc,EAAE,cALX;AAMLC,IAAAA,cAAc,EAAE,KANX;AAOLC,IAAAA,oBAAoB,EAAE,0BAPjB;AAQLC,IAAAA,iBAAiB,EAAE,IARd;AASLC,IAAAA,iBAAiB,EAAER,KAAK,IAAIC,OAAO,CAACC,GAAR,CAAYF,KAAZ,CATvB;AAUL,kBAAc;AAACS,MAAAA,QAAQ,EAAE,WAAX;AAAwBC,MAAAA,KAAK,EAAE;AAA/B;AAVT;AADM,C","sourcesContent":["export default {\n props: {\n title: 'Create badge',\n checked: false,\n onChange: value => console.log(value),\n checkBoxOnChange: value => console.log(value),\n inputTextTitle: 'Stars amount',\n inputTextValue: '250',\n inputTextDescription: 'This is the tooltip text',\n inputTextDisabled: true,\n inputTextOnChange: value => console.log(value),\n 'aria-label': {checkbox: 'check box', input: 'input text'}\n }\n};\n"],"file":"unchecked.js"}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/molecule/input-text-with-titeled-checkbox/test/fixtures.js"],"names":["t","pass","MoleculeInputTextWithTiteledCheckbox","propTypes","value","key","not","undefined","renderComponentMacro","fixtureChecked","fixtureUnchecked"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,+EAAL,EAAsFA,CAAC,IAAI;AACzFA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAAqCC,SAA7C,EAAwD,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACtEL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,yEAAwEF,GAAI,mEAArG;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,gFAAL,EAAuFG,wBAAvF,EAA6GN,SAA7G,EAAmJO,gBAAnJ;AACA,kBAAK,kFAAL,EAAyFD,wBAAzF,EAA+GN,SAA/G,EAAqJQ,kBAArJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeInputTextWithTiteledCheckbox from '..';\nimport fixtureChecked from './fixtures/checked';\nimport fixtureUnchecked from './fixtures/unchecked';\n\ntest('Molecule › MoleculeInputTextWithTiteledCheckbox > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeInputTextWithTiteledCheckbox.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeInputTextWithTiteledCheckbox.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeInputTextWithTiteledCheckbox › Checked › should be rendered', renderComponentMacro, MoleculeInputTextWithTiteledCheckbox, fixtureChecked);\ntest('Molecule › MoleculeInputTextWithTiteledCheckbox › Unchecked › should be rendered', renderComponentMacro, MoleculeInputTextWithTiteledCheckbox, fixtureUnchecked);\n"],"file":"fixtures.js"}
@@ -1,25 +0,0 @@
1
- "use strict";
2
-
3
- var _ava = _interopRequireDefault(require("ava"));
4
-
5
- var _forEach = _interopRequireDefault(require("lodash/forEach"));
6
-
7
- var _renderComponent = _interopRequireDefault(require("../../../test/helpers/render-component"));
8
-
9
- var _ = _interopRequireDefault(require(".."));
10
-
11
- var _default = _interopRequireDefault(require("./fixtures/default"));
12
-
13
- var _withValue = _interopRequireDefault(require("./fixtures/with-value"));
14
-
15
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
16
-
17
- (0, _ava.default)('Molecule › MoleculeSearch > should have valid propTypes', t => {
18
- t.pass();
19
- (0, _forEach.default)(_.default.propTypes, (value, key) => {
20
- t.not(value, undefined, `PropType for "Molecule.MoleculeSearch.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
21
- });
22
- });
23
- (0, _ava.default)('Molecule › MoleculeSearch › Default › should be rendered', _renderComponent.default, _.default, _default.default);
24
- (0, _ava.default)('Molecule › MoleculeSearch › WithValue › should be rendered', _renderComponent.default, _.default, _withValue.default);
25
- //# sourceMappingURL=fixtures.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/molecule/search/test/fixtures.js"],"names":["t","pass","MoleculeSearch","propTypes","value","key","not","undefined","renderComponentMacro","fixtureDefault","fixtureWithValue"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,yDAAL,EAAgEA,CAAC,IAAI;AACnEA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAAeC,SAAvB,EAAkC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAChDL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,mDAAkDF,GAAI,mEAA/E;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,0DAAL,EAAiEG,wBAAjE,EAAuFN,SAAvF,EAAuGO,gBAAvG;AACA,kBAAK,4DAAL,EAAmED,wBAAnE,EAAyFN,SAAzF,EAAyGQ,kBAAzG","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeSearch from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureWithValue from './fixtures/with-value';\n\ntest('Molecule › MoleculeSearch > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeSearch.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeSearch.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeSearch › Default › should be rendered', renderComponentMacro, MoleculeSearch, fixtureDefault);\ntest('Molecule › MoleculeSearch › WithValue › should be rendered', renderComponentMacro, MoleculeSearch, fixtureWithValue);\n"],"file":"fixtures.js"}
@@ -1,25 +0,0 @@
1
- "use strict";
2
-
3
- var _ava = _interopRequireDefault(require("ava"));
4
-
5
- var _forEach = _interopRequireDefault(require("lodash/forEach"));
6
-
7
- var _renderComponent = _interopRequireDefault(require("../../../test/helpers/render-component"));
8
-
9
- var _ = _interopRequireDefault(require(".."));
10
-
11
- var _default = _interopRequireDefault(require("./fixtures/default"));
12
-
13
- var _delete = _interopRequireDefault(require("./fixtures/delete"));
14
-
15
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
16
-
17
- (0, _ava.default)('Organism › OrganismPlaylistTranslation > should have valid propTypes', t => {
18
- t.pass();
19
- (0, _forEach.default)(_.default.propTypes, (value, key) => {
20
- t.not(value, undefined, `PropType for "Organism.OrganismPlaylistTranslation.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
21
- });
22
- });
23
- (0, _ava.default)('Organism › OrganismPlaylistTranslation › Default › should be rendered', _renderComponent.default, _.default, _default.default);
24
- (0, _ava.default)('Organism › OrganismPlaylistTranslation › Delete › should be rendered', _renderComponent.default, _.default, _delete.default);
25
- //# sourceMappingURL=fixtures.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/organism/playlist-translation/test/fixtures.js"],"names":["t","pass","OrganismPlaylistTranslation","propTypes","value","key","not","undefined","renderComponentMacro","fixtureDefault","fixtureDelete"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,sEAAL,EAA6EA,CAAC,IAAI;AAChFA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAA4BC,SAApC,EAA+C,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC7DL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,gEAA+DF,GAAI,mEAA5F;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,uEAAL,EAA8EG,wBAA9E,EAAoGN,SAApG,EAAiIO,gBAAjI;AACA,kBAAK,sEAAL,EAA6ED,wBAA7E,EAAmGN,SAAnG,EAAgIQ,eAAhI","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport OrganismPlaylistTranslation from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureDelete from './fixtures/delete';\n\ntest('Organism › OrganismPlaylistTranslation > should have valid propTypes', t => {\n t.pass();\n forEach(OrganismPlaylistTranslation.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Organism.OrganismPlaylistTranslation.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Organism › OrganismPlaylistTranslation › Default › should be rendered', renderComponentMacro, OrganismPlaylistTranslation, fixtureDefault);\ntest('Organism › OrganismPlaylistTranslation › Delete › should be rendered', renderComponentMacro, OrganismPlaylistTranslation, fixtureDelete);\n"],"file":"fixtures.js"}