@coorpacademy/components 11.12.3 → 11.12.5-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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/setup-slider/index.js"],"names":[],"mappings":";AAMA,sDAaC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/setup-slider/index.js"],"names":[],"mappings":";AAOA,sDAaC"}
@@ -6,6 +6,7 @@ import React from 'react';
6
6
  import PropTypes from 'prop-types';
7
7
  import SetupSlide from '../setup-slide';
8
8
  import Accordion from '../../organism/accordion/toggler';
9
+ import style from './style.css';
9
10
 
10
11
  const SetupSlider = props => {
11
12
  const {
@@ -19,7 +20,9 @@ const SetupSlider = props => {
19
20
  key: key
20
21
  })), slides);
21
22
 
22
- return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Accordion, {
23
+ return /*#__PURE__*/React.createElement("div", {
24
+ className: style.wrapperStyle
25
+ }, /*#__PURE__*/React.createElement(Accordion, {
23
26
  tabProps: tabProps,
24
27
  type: 'all',
25
28
  theme: 'setup'
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["React","PropTypes","SetupSlide","Accordion","SetupSlider","props","tabProps","slides","slidesView","convert","cap","slide","key","propTypes","arrayOf","shape"],"sources":["../../../src/molecule/setup-slider/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {map} from 'lodash/fp';\nimport SetupSlide from '../setup-slide';\nimport Accordion from '../../organism/accordion/toggler';\n\nconst SetupSlider = props => {\n const {tabProps = [], slides = []} = props;\n const slidesView = map.convert({cap: false})(\n (slide, key) => <SetupSlide {...slide} key={key} />,\n slides\n );\n return (\n <div>\n <Accordion tabProps={tabProps} type={'all'} theme={'setup'}>\n {slidesView}\n </Accordion>\n </div>\n );\n};\n\nSetupSlider.propTypes = {\n tabProps: PropTypes.arrayOf(PropTypes.shape(Accordion.propTypes)),\n slides: PropTypes.arrayOf(PropTypes.shape(SetupSlide.propTypes))\n};\n\nexport default SetupSlider;\n"],"mappings":";;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AAEA,OAAOC,UAAP,MAAuB,gBAAvB;AACA,OAAOC,SAAP,MAAsB,kCAAtB;;AAEA,MAAMC,WAAW,GAAGC,KAAK,IAAI;EAC3B,MAAM;IAACC,QAAQ,GAAG,EAAZ;IAAgBC,MAAM,GAAG;EAAzB,IAA+BF,KAArC;;EACA,MAAMG,UAAU,GAAG,KAAIC,OAAJ,CAAY;IAACC,GAAG,EAAE;EAAN,CAAZ,EACjB,CAACC,KAAD,EAAQC,GAAR,kBAAgB,oBAAC,UAAD,eAAgBD,KAAhB;IAAuB,GAAG,EAAEC;EAA5B,GADC,EAEjBL,MAFiB,CAAnB;;EAIA,oBACE,8CACE,oBAAC,SAAD;IAAW,QAAQ,EAAED,QAArB;IAA+B,IAAI,EAAE,KAArC;IAA4C,KAAK,EAAE;EAAnD,GACGE,UADH,CADF,CADF;AAOD,CAbD;;AAeAJ,WAAW,CAACS,SAAZ,2CAAwB;EACtBP,QAAQ,EAAEL,SAAS,CAACa,OAAV,CAAkBb,SAAS,CAACc,KAAV,CAAgBZ,SAAS,CAACU,SAA1B,CAAlB,CADY;EAEtBN,MAAM,EAAEN,SAAS,CAACa,OAAV,CAAkBb,SAAS,CAACc,KAAV,CAAgBb,UAAU,CAACW,SAA3B,CAAlB;AAFc,CAAxB;AAKA,eAAeT,WAAf"}
1
+ {"version":3,"file":"index.js","names":["React","PropTypes","SetupSlide","Accordion","style","SetupSlider","props","tabProps","slides","slidesView","convert","cap","slide","key","wrapperStyle","propTypes","arrayOf","shape"],"sources":["../../../src/molecule/setup-slider/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {map} from 'lodash/fp';\nimport SetupSlide from '../setup-slide';\nimport Accordion from '../../organism/accordion/toggler';\nimport style from './style.css';\n\nconst SetupSlider = props => {\n const {tabProps = [], slides = []} = props;\n const slidesView = map.convert({cap: false})(\n (slide, key) => <SetupSlide {...slide} key={key} />,\n slides\n );\n return (\n <div className={style.wrapperStyle}>\n <Accordion tabProps={tabProps} type={'all'} theme={'setup'}>\n {slidesView}\n </Accordion>\n </div>\n );\n};\n\nSetupSlider.propTypes = {\n tabProps: PropTypes.arrayOf(PropTypes.shape(Accordion.propTypes)),\n slides: PropTypes.arrayOf(PropTypes.shape(SetupSlide.propTypes))\n};\n\nexport default SetupSlider;\n"],"mappings":";;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AAEA,OAAOC,UAAP,MAAuB,gBAAvB;AACA,OAAOC,SAAP,MAAsB,kCAAtB;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,WAAW,GAAGC,KAAK,IAAI;EAC3B,MAAM;IAACC,QAAQ,GAAG,EAAZ;IAAgBC,MAAM,GAAG;EAAzB,IAA+BF,KAArC;;EACA,MAAMG,UAAU,GAAG,KAAIC,OAAJ,CAAY;IAACC,GAAG,EAAE;EAAN,CAAZ,EACjB,CAACC,KAAD,EAAQC,GAAR,kBAAgB,oBAAC,UAAD,eAAgBD,KAAhB;IAAuB,GAAG,EAAEC;EAA5B,GADC,EAEjBL,MAFiB,CAAnB;;EAIA,oBACE;IAAK,SAAS,EAAEJ,KAAK,CAACU;EAAtB,gBACE,oBAAC,SAAD;IAAW,QAAQ,EAAEP,QAArB;IAA+B,IAAI,EAAE,KAArC;IAA4C,KAAK,EAAE;EAAnD,GACGE,UADH,CADF,CADF;AAOD,CAbD;;AAeAJ,WAAW,CAACU,SAAZ,2CAAwB;EACtBR,QAAQ,EAAEN,SAAS,CAACe,OAAV,CAAkBf,SAAS,CAACgB,KAAV,CAAgBd,SAAS,CAACY,SAA1B,CAAlB,CADY;EAEtBP,MAAM,EAAEP,SAAS,CAACe,OAAV,CAAkBf,SAAS,CAACgB,KAAV,CAAgBf,UAAU,CAACa,SAA3B,CAAlB;AAFc,CAAxB;AAKA,eAAeV,WAAf"}
@@ -0,0 +1,3 @@
1
+ .wrapperStyle {
2
+ width: 100%;
3
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/setup-slider/index.js"],"names":[],"mappings":";AAMA,sDAaC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/setup-slider/index.js"],"names":[],"mappings":";AAOA,sDAaC"}
@@ -13,6 +13,8 @@ var _setupSlide = _interopRequireDefault(require("../setup-slide"));
13
13
 
14
14
  var _toggler = _interopRequireDefault(require("../../organism/accordion/toggler"));
15
15
 
16
+ var _style = _interopRequireDefault(require("./style.css"));
17
+
16
18
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
19
 
18
20
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
@@ -29,7 +31,9 @@ const SetupSlider = props => {
29
31
  key: key
30
32
  })), slides);
31
33
 
32
- return /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_toggler.default, {
34
+ return /*#__PURE__*/_react.default.createElement("div", {
35
+ className: _style.default.wrapperStyle
36
+ }, /*#__PURE__*/_react.default.createElement(_toggler.default, {
33
37
  tabProps: tabProps,
34
38
  type: 'all',
35
39
  theme: 'setup'
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["SetupSlider","props","tabProps","slides","slidesView","convert","cap","slide","key","propTypes","PropTypes","arrayOf","shape","Accordion","SetupSlide"],"sources":["../../../src/molecule/setup-slider/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {map} from 'lodash/fp';\nimport SetupSlide from '../setup-slide';\nimport Accordion from '../../organism/accordion/toggler';\n\nconst SetupSlider = props => {\n const {tabProps = [], slides = []} = props;\n const slidesView = map.convert({cap: false})(\n (slide, key) => <SetupSlide {...slide} key={key} />,\n slides\n );\n return (\n <div>\n <Accordion tabProps={tabProps} type={'all'} theme={'setup'}>\n {slidesView}\n </Accordion>\n </div>\n );\n};\n\nSetupSlider.propTypes = {\n tabProps: PropTypes.arrayOf(PropTypes.shape(Accordion.propTypes)),\n slides: PropTypes.arrayOf(PropTypes.shape(SetupSlide.propTypes))\n};\n\nexport default SetupSlider;\n"],"mappings":";;;;;;;AAAA;;AACA;;AAEA;;AACA;;;;;;AAEA,MAAMA,WAAW,GAAGC,KAAK,IAAI;EAC3B,MAAM;IAACC,QAAQ,GAAG,EAAZ;IAAgBC,MAAM,GAAG;EAAzB,IAA+BF,KAArC;;EACA,MAAMG,UAAU,GAAG,cAAIC,OAAJ,CAAY;IAACC,GAAG,EAAE;EAAN,CAAZ,EACjB,CAACC,KAAD,EAAQC,GAAR,kBAAgB,6BAAC,mBAAD,eAAgBD,KAAhB;IAAuB,GAAG,EAAEC;EAA5B,GADC,EAEjBL,MAFiB,CAAnB;;EAIA,oBACE,uDACE,6BAAC,gBAAD;IAAW,QAAQ,EAAED,QAArB;IAA+B,IAAI,EAAE,KAArC;IAA4C,KAAK,EAAE;EAAnD,GACGE,UADH,CADF,CADF;AAOD,CAbD;;AAeAJ,WAAW,CAACS,SAAZ,2CAAwB;EACtBP,QAAQ,EAAEQ,kBAAA,CAAUC,OAAV,CAAkBD,kBAAA,CAAUE,KAAV,CAAgBC,gBAAA,CAAUJ,SAA1B,CAAlB,CADY;EAEtBN,MAAM,EAAEO,kBAAA,CAAUC,OAAV,CAAkBD,kBAAA,CAAUE,KAAV,CAAgBE,mBAAA,CAAWL,SAA3B,CAAlB;AAFc,CAAxB;eAKeT,W"}
1
+ {"version":3,"file":"index.js","names":["SetupSlider","props","tabProps","slides","slidesView","convert","cap","slide","key","style","wrapperStyle","propTypes","PropTypes","arrayOf","shape","Accordion","SetupSlide"],"sources":["../../../src/molecule/setup-slider/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {map} from 'lodash/fp';\nimport SetupSlide from '../setup-slide';\nimport Accordion from '../../organism/accordion/toggler';\nimport style from './style.css';\n\nconst SetupSlider = props => {\n const {tabProps = [], slides = []} = props;\n const slidesView = map.convert({cap: false})(\n (slide, key) => <SetupSlide {...slide} key={key} />,\n slides\n );\n return (\n <div className={style.wrapperStyle}>\n <Accordion tabProps={tabProps} type={'all'} theme={'setup'}>\n {slidesView}\n </Accordion>\n </div>\n );\n};\n\nSetupSlider.propTypes = {\n tabProps: PropTypes.arrayOf(PropTypes.shape(Accordion.propTypes)),\n slides: PropTypes.arrayOf(PropTypes.shape(SetupSlide.propTypes))\n};\n\nexport default SetupSlider;\n"],"mappings":";;;;;;;AAAA;;AACA;;AAEA;;AACA;;AACA;;;;;;AAEA,MAAMA,WAAW,GAAGC,KAAK,IAAI;EAC3B,MAAM;IAACC,QAAQ,GAAG,EAAZ;IAAgBC,MAAM,GAAG;EAAzB,IAA+BF,KAArC;;EACA,MAAMG,UAAU,GAAG,cAAIC,OAAJ,CAAY;IAACC,GAAG,EAAE;EAAN,CAAZ,EACjB,CAACC,KAAD,EAAQC,GAAR,kBAAgB,6BAAC,mBAAD,eAAgBD,KAAhB;IAAuB,GAAG,EAAEC;EAA5B,GADC,EAEjBL,MAFiB,CAAnB;;EAIA,oBACE;IAAK,SAAS,EAAEM,cAAA,CAAMC;EAAtB,gBACE,6BAAC,gBAAD;IAAW,QAAQ,EAAER,QAArB;IAA+B,IAAI,EAAE,KAArC;IAA4C,KAAK,EAAE;EAAnD,GACGE,UADH,CADF,CADF;AAOD,CAbD;;AAeAJ,WAAW,CAACW,SAAZ,2CAAwB;EACtBT,QAAQ,EAAEU,kBAAA,CAAUC,OAAV,CAAkBD,kBAAA,CAAUE,KAAV,CAAgBC,gBAAA,CAAUJ,SAA1B,CAAlB,CADY;EAEtBR,MAAM,EAAES,kBAAA,CAAUC,OAAV,CAAkBD,kBAAA,CAAUE,KAAV,CAAgBE,mBAAA,CAAWL,SAA3B,CAAlB;AAFc,CAAxB;eAKeX,W"}
@@ -0,0 +1,3 @@
1
+ .wrapperStyle {
2
+ width: 100%;
3
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coorpacademy/components",
3
- "version": "11.12.3",
3
+ "version": "11.12.5-alpha.0+17f96fb1f",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -166,5 +166,5 @@
166
166
  "last 2 versions",
167
167
  "IE 11"
168
168
  ],
169
- "gitHead": "109b37249a4ab0548cae8e58c802151a819ae440"
169
+ "gitHead": "17f96fb1f3c903f186714156cbf7b500d04a1823"
170
170
  }