@transferwise/components 37.11.1 → 38.2.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.
Files changed (100) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/build/es/no-polyfill/accordion/AccordionItem/AccordionItem.js +1 -1
  3. package/build/es/no-polyfill/actionOption/ActionOption.story.js +1 -1
  4. package/build/es/no-polyfill/card/Card.js +1 -2
  5. package/build/es/no-polyfill/checkboxButton/CheckboxButton.js +1 -1
  6. package/build/es/no-polyfill/checkboxOption/CheckboxOption.js +1 -1
  7. package/build/es/no-polyfill/common/Option/Option.js +1 -1
  8. package/build/es/no-polyfill/common/flowHeader/FlowHeader.js +1 -0
  9. package/build/es/no-polyfill/common/flowHeader/index.js +1 -0
  10. package/build/es/no-polyfill/dateLookup/dateHeader/DateHeader.js +1 -0
  11. package/build/es/no-polyfill/dateLookup/dateHeader/index.js +1 -0
  12. package/build/es/no-polyfill/dateLookup/dayCalendar/DayCalendar.js +1 -1
  13. package/build/es/no-polyfill/dateLookup/monthCalendar/MonthCalendar.js +1 -1
  14. package/build/es/no-polyfill/dateLookup/yearCalendar/YearCalendar.js +1 -1
  15. package/build/es/no-polyfill/flowNavigation/FlowNavigation.js +2 -2
  16. package/build/es/no-polyfill/header/Header.js +5 -1
  17. package/build/es/no-polyfill/header/Header.spec.js +1 -0
  18. package/build/es/no-polyfill/header/Header.story.js +1 -0
  19. package/build/es/no-polyfill/index.js +1 -1
  20. package/build/es/no-polyfill/navigationOption/NavigationOption.js +1 -1
  21. package/build/es/no-polyfill/navigationOptionsList/NavigationOptionsList.js +1 -1
  22. package/build/es/no-polyfill/nudge/Nudge.js +1 -1
  23. package/build/es/no-polyfill/overlayHeader/OverlayHeader.js +1 -1
  24. package/build/es/no-polyfill/radioOption/RadioOption.js +1 -1
  25. package/build/es/no-polyfill/section/Section.js +5 -0
  26. package/build/es/no-polyfill/section/Section.spec.js +1 -0
  27. package/build/es/no-polyfill/section/Section.story.js +1 -0
  28. package/build/es/no-polyfill/section/index.js +1 -0
  29. package/build/es/no-polyfill/switchOption/SwitchOption.story.js +1 -1
  30. package/build/es/polyfill/accordion/AccordionItem/AccordionItem.js +1 -1
  31. package/build/es/polyfill/actionOption/ActionOption.story.js +1 -1
  32. package/build/es/polyfill/card/Card.js +1 -2
  33. package/build/es/polyfill/checkboxButton/CheckboxButton.js +1 -1
  34. package/build/es/polyfill/checkboxOption/CheckboxOption.js +1 -1
  35. package/build/es/polyfill/common/Option/Option.js +1 -1
  36. package/build/es/polyfill/common/flowHeader/FlowHeader.js +1 -0
  37. package/build/es/polyfill/common/flowHeader/index.js +1 -0
  38. package/build/es/polyfill/dateLookup/dateHeader/DateHeader.js +1 -0
  39. package/build/es/polyfill/dateLookup/dateHeader/index.js +1 -0
  40. package/build/es/polyfill/dateLookup/dayCalendar/DayCalendar.js +1 -1
  41. package/build/es/polyfill/dateLookup/monthCalendar/MonthCalendar.js +1 -1
  42. package/build/es/polyfill/dateLookup/yearCalendar/YearCalendar.js +1 -1
  43. package/build/es/polyfill/flowNavigation/FlowNavigation.js +2 -2
  44. package/build/es/polyfill/header/Header.js +5 -1
  45. package/build/es/polyfill/header/Header.spec.js +1 -0
  46. package/build/es/polyfill/header/Header.story.js +1 -0
  47. package/build/es/polyfill/index.js +1 -1
  48. package/build/es/polyfill/navigationOption/NavigationOption.js +1 -1
  49. package/build/es/polyfill/navigationOptionsList/NavigationOptionsList.js +1 -1
  50. package/build/es/polyfill/nudge/Nudge.js +1 -1
  51. package/build/es/polyfill/overlayHeader/OverlayHeader.js +1 -1
  52. package/build/es/polyfill/radioOption/RadioOption.js +1 -1
  53. package/build/es/polyfill/section/Section.js +5 -0
  54. package/build/es/polyfill/section/Section.spec.js +1 -0
  55. package/build/es/polyfill/section/Section.story.js +1 -0
  56. package/build/es/polyfill/section/index.js +1 -0
  57. package/build/es/polyfill/switchOption/SwitchOption.story.js +1 -1
  58. package/build/main.css +1 -1
  59. package/build/styles/accordion/Accordion.css +1 -1
  60. package/build/styles/card/Card.css +1 -1
  61. package/build/styles/common/Option/Option.css +1 -1
  62. package/build/styles/flowNavigation/FlowNavigation.css +1 -1
  63. package/build/styles/header/Header.css +1 -0
  64. package/build/styles/main.css +1 -1
  65. package/build/styles/navigationOption/NavigationOption.css +1 -1
  66. package/build/styles/navigationOptionsList/NavigationOptionsList.css +1 -1
  67. package/build/styles/section/Section.css +1 -0
  68. package/build/types/accordion/AccordionItem/AccordionItem.d.ts +18 -18
  69. package/build/types/actionOption/ActionOption.story.d.ts +1 -0
  70. package/build/types/card/Card.d.ts +1 -0
  71. package/build/types/checkboxOption/CheckboxOption.d.ts +1 -0
  72. package/build/types/common/Option/Option.d.ts +39 -51
  73. package/build/types/common/bottomSheet/BottomSheet.d.ts +0 -1
  74. package/build/types/common/commonProps.d.ts +4 -0
  75. package/build/types/common/flowHeader/FlowHeader.d.ts +2 -0
  76. package/build/types/common/flowHeader/index.d.ts +1 -0
  77. package/build/types/dateLookup/{header/Header.d.ts → dateHeader/DateHeader.d.ts} +3 -3
  78. package/build/types/dateLookup/dateHeader/index.d.ts +1 -0
  79. package/build/types/header/Header.d.ts +27 -1
  80. package/build/types/header/Header.spec.d.ts +1 -0
  81. package/build/types/header/Header.story.d.ts +9 -0
  82. package/build/types/header/index.d.ts +1 -1
  83. package/build/types/index.d.ts +47 -45
  84. package/build/types/navigationOption/NavigationOption.d.ts +1 -0
  85. package/build/types/radioOption/RadioOption.d.ts +1 -0
  86. package/build/types/section/Section.d.ts +10 -0
  87. package/build/types/section/Section.spec.d.ts +1 -0
  88. package/build/types/section/Section.story.d.ts +14 -0
  89. package/build/types/section/index.d.ts +1 -0
  90. package/build/types/switchOption/SwitchOption.story.d.ts +1 -0
  91. package/build/umd/no-polyfill/main.js +1 -1
  92. package/build/umd/polyfill/main.js +1 -1
  93. package/package.json +3 -3
  94. package/build/es/no-polyfill/common/Option/OptionDocumentation.js +0 -1
  95. package/build/es/no-polyfill/dateLookup/header/Header.js +0 -1
  96. package/build/es/no-polyfill/dateLookup/header/index.js +0 -1
  97. package/build/es/polyfill/common/Option/OptionDocumentation.js +0 -1
  98. package/build/es/polyfill/dateLookup/header/Header.js +0 -1
  99. package/build/es/polyfill/dateLookup/header/index.js +0 -1
  100. package/build/types/dateLookup/header/index.d.ts +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transferwise/components",
3
- "version": "37.11.1",
3
+ "version": "38.2.0",
4
4
  "description": "Neptune React components",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./build/umd/polyfill/main.js",
@@ -67,7 +67,7 @@
67
67
  "@rollup/plugin-node-resolve": "^7.1.3",
68
68
  "@transferwise/icons": "^2.12.0",
69
69
  "@transferwise/less-config": "^3.0.2",
70
- "@transferwise/neptune-css": "^10.1.0",
70
+ "@transferwise/neptune-css": "^11.0.0",
71
71
  "@transferwise/neptune-tokens": "^1.0.0",
72
72
  "@transferwise/test-config": "^4.0.1",
73
73
  "@types/jest": "^26.0.20",
@@ -122,5 +122,5 @@
122
122
  "resolutions": {
123
123
  "@storybook/**/kind-of": "^6.0.3"
124
124
  },
125
- "gitHead": "d5d9c905485c8f51963d5aa28cb3f238f61c39b2"
125
+ "gitHead": "df91925af36616402cbf1b62f78401297820b463"
126
126
  }
@@ -1 +0,0 @@
1
- import _defineProperty from"@babel/runtime/helpers/defineProperty";import _classCallCheck from"@babel/runtime/helpers/classCallCheck";import _createClass from"@babel/runtime/helpers/createClass";import _inherits from"@babel/runtime/helpers/inherits";import _possibleConstructorReturn from"@babel/runtime/helpers/possibleConstructorReturn";import _getPrototypeOf from"@babel/runtime/helpers/getPrototypeOf";function ownKeys(a,b){var c=Object.keys(a);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(a);b&&(d=d.filter(function(b){return Object.getOwnPropertyDescriptor(a,b).enumerable})),c.push.apply(c,d)}return c}function _objectSpread(a){for(var b,c=1;c<arguments.length;c++)b=null==arguments[c]?{}:arguments[c],c%2?ownKeys(Object(b),!0).forEach(function(c){_defineProperty(a,c,b[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(b)):ownKeys(Object(b)).forEach(function(c){Object.defineProperty(a,c,Object.getOwnPropertyDescriptor(b,c))});return a}function _createSuper(a){var b=_isNativeReflectConstruct();return function(){var c,d=_getPrototypeOf(a);if(b){var e=_getPrototypeOf(this).constructor;c=Reflect.construct(d,arguments,e)}else c=d.apply(this,arguments);return _possibleConstructorReturn(this,c)}}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}import{FastFlag as FastFlagIcon}from"@transferwise/icons";import PropTypes from"prop-types";import{Component}from"react";import{Checkbox}from"../..";import{jsx as _jsx}from"react/jsx-runtime";import{Fragment as _Fragment}from"react/jsx-runtime";import{jsxs as _jsxs}from"react/jsx-runtime";var OptionDocumentation=/*#__PURE__*/function(a){function b(){var a;return _classCallCheck(this,b),a=c.call(this),a.state={complex:!1,disabled:!1,hasMedia:!0},a}_inherits(b,a);var c=_createSuper(b);return _createClass(b,[{key:"createStateLink",value:function createStateLink(a){var b=this;return function(c){return b.setState(_defineProperty({},a,c))}}},{key:"render",value:function render(){var a,b=this.props,c=b.type,d=b.Option,e=b.name,f=b.callbackName,g=b.callback,h=b.callbackString,i=b.propName,j=b.propValue,k=b.title,l=b.content,m=b.extra,n=this.state,o=n.complex,p=n.disabled,q=n.hasMedia;return/*#__PURE__*/_jsx("div",{className:"container",id:"".concat(c,"-option-docs"),children:/*#__PURE__*/_jsxs("div",{className:"section",children:[/*#__PURE__*/_jsxs("div",{className:"row",children:[/*#__PURE__*/_jsxs("div",{className:"col-md-6",children:[/*#__PURE__*/_jsx("h2",{children:k}),/*#__PURE__*/_jsx("p",{children:l})]}),/*#__PURE__*/_jsx("div",{className:"col-md-6",children:/*#__PURE__*/_jsx(d,_objectSpread({id:"".concat(c,"-option"),name:"".concat(c,"-option"),title:k,content:getContentForComplexState(o),complex:o,disabled:p,media:q?/*#__PURE__*/_jsx(FastFlagIcon,{}):void 0},(a={},_defineProperty(a,i,j),_defineProperty(a,f,g),a)))})]}),/*#__PURE__*/_jsxs("div",{className:"row m-t-5",children:[/*#__PURE__*/_jsxs("div",{className:"col-md-6",children:[/*#__PURE__*/_jsx(function Code(){return/*#__PURE__*/_jsx(_Fragment,{children:/*#__PURE__*/_jsx("pre",{className:"tw-docs-code",children:"<".concat(e,"\n id=\"").concat(c,"-option\"\n name=\"").concat(c,"-option\"\n title=\"").concat(k,"\"\n content=\"").concat(getContentForComplexState(o),"\"").concat(boolProperty(i,j)).concat(boolProperty("complex",o)).concat(boolProperty("disabled",p),"\n ").concat(f,"={").concat(h,"}").concat(q?"\n media={<FastFlagIcon />}":"","\n/>")})})},{}),m]}),/*#__PURE__*/_jsxs("div",{className:"col-md-6",children:[/*#__PURE__*/_jsxs("div",{className:"row",children:[/*#__PURE__*/_jsx("div",{className:"col-md-6",children:/*#__PURE__*/_jsx(Checkbox,{id:"".concat(c,"-option-complex"),label:"Complex",checked:o,onChange:this.createStateLink("complex")})}),/*#__PURE__*/_jsx("div",{className:"col-md-6 m-b-0",children:/*#__PURE__*/_jsx(Checkbox,{id:"".concat(c,"-option-disabled"),label:"Disabled",checked:p,onChange:this.createStateLink("disabled")})})]}),/*#__PURE__*/_jsx("div",{className:"row m-t-2",children:/*#__PURE__*/_jsx("div",{className:"col-md-6",children:/*#__PURE__*/_jsx(Checkbox,{id:"".concat(c,"-option-media"),label:"Has media",checked:q,onChange:this.createStateLink("hasMedia")})})})]})]})]})})}}]),b}(Component);function getContentForComplexState(a){return a?"Complex items should be used for items with long descriptions. Their button and media will be aligned to the top.":"Normally, the button and icon are vertically centered."}function boolProperty(a,b){return b?"\n ".concat(a):""}OptionDocumentation.propTypes={type:PropTypes.string.isRequired,Option:PropTypes.func.isRequired,name:PropTypes.string.isRequired,callbackName:PropTypes.string.isRequired,callback:PropTypes.func.isRequired,callbackString:PropTypes.string.isRequired,propName:PropTypes.string,propValue:PropTypes.bool,title:PropTypes.string.isRequired,content:PropTypes.string.isRequired,extra:PropTypes.string},OptionDocumentation.defaultProps={propName:null,propValue:!1,extra:""};export default OptionDocumentation;
@@ -1 +0,0 @@
1
- import PropTypes from"prop-types";import Chevron from"../../chevron";import{Position,Size}from"../../common";import{jsx as _jsx}from"react/jsx-runtime";import{jsxs as _jsxs}from"react/jsx-runtime";var buttonClasses="btn-link p-a-0 text-no-decoration font-weight-bold",Header=function(a){var b=a.label,c=a.onLabelClick,d=a.onPreviousClick,e=a.onNextClick;return/*#__PURE__*/_jsxs("div",{className:"text-xs-center p-t-1 p-b-2 clearfix",children:[/*#__PURE__*/_jsx("div",{className:"pull-xs-left",children:/*#__PURE__*/_jsx("button",{type:"button",className:buttonClasses,onClick:d,children:/*#__PURE__*/_jsx(Chevron,{orientation:Position.LEFT,size:Size.MEDIUM})})}),b&&/*#__PURE__*/_jsx("button",{type:"button",className:"tw-date-lookup-header-current ".concat(buttonClasses),onClick:c,children:b}),/*#__PURE__*/_jsx("div",{className:"pull-xs-right",children:/*#__PURE__*/_jsx("button",{type:"button",className:buttonClasses,onClick:e,children:/*#__PURE__*/_jsx(Chevron,{orientation:Position.RIGHT,size:Size.MEDIUM})})})]})};Header.propTypes={label:PropTypes.string,onLabelClick:PropTypes.func,onPreviousClick:PropTypes.func.isRequired,onNextClick:PropTypes.func.isRequired},Header.defaultProps={label:null,onLabelClick:function onLabelClick(){}};export default Header;
@@ -1 +0,0 @@
1
- export{default}from"./Header";
@@ -1 +0,0 @@
1
- import _defineProperty from"@babel/runtime/helpers/defineProperty";import _classCallCheck from"@babel/runtime/helpers/classCallCheck";import _createClass from"@babel/runtime/helpers/createClass";import _inherits from"@babel/runtime/helpers/inherits";import _possibleConstructorReturn from"@babel/runtime/helpers/possibleConstructorReturn";import _getPrototypeOf from"@babel/runtime/helpers/getPrototypeOf";import"core-js/modules/es.reflect.construct.js";import"core-js/modules/es.object.keys.js";import"core-js/modules/es.symbol.js";import"core-js/modules/es.array.filter.js";import"core-js/modules/es.object.get-own-property-descriptor.js";import"core-js/modules/web.dom-collections.for-each.js";import"core-js/modules/es.object.get-own-property-descriptors.js";function ownKeys(a,b){var c=Object.keys(a);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(a);b&&(d=d.filter(function(b){return Object.getOwnPropertyDescriptor(a,b).enumerable})),c.push.apply(c,d)}return c}function _objectSpread(a){for(var b,c=1;c<arguments.length;c++)b=null==arguments[c]?{}:arguments[c],c%2?ownKeys(Object(b),!0).forEach(function(c){_defineProperty(a,c,b[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(b)):ownKeys(Object(b)).forEach(function(c){Object.defineProperty(a,c,Object.getOwnPropertyDescriptor(b,c))});return a}import"core-js/modules/es.function.name.js";import"core-js/modules/es.array.concat.js";function _createSuper(a){var b=_isNativeReflectConstruct();return function(){var c,d=_getPrototypeOf(a);if(b){var e=_getPrototypeOf(this).constructor;c=Reflect.construct(d,arguments,e)}else c=d.apply(this,arguments);return _possibleConstructorReturn(this,c)}}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}import{FastFlag as FastFlagIcon}from"@transferwise/icons";import PropTypes from"prop-types";import{Component}from"react";import{Checkbox}from"../..";import{jsx as _jsx}from"react/jsx-runtime";import{Fragment as _Fragment}from"react/jsx-runtime";import{jsxs as _jsxs}from"react/jsx-runtime";var OptionDocumentation=/*#__PURE__*/function(a){function b(){var a;return _classCallCheck(this,b),a=c.call(this),a.state={complex:!1,disabled:!1,hasMedia:!0},a}_inherits(b,a);var c=_createSuper(b);return _createClass(b,[{key:"createStateLink",value:function createStateLink(a){var b=this;return function(c){return b.setState(_defineProperty({},a,c))}}},{key:"render",value:function render(){var a,b=this.props,c=b.type,d=b.Option,e=b.name,f=b.callbackName,g=b.callback,h=b.callbackString,i=b.propName,j=b.propValue,k=b.title,l=b.content,m=b.extra,n=this.state,o=n.complex,p=n.disabled,q=n.hasMedia;return/*#__PURE__*/_jsx("div",{className:"container",id:"".concat(c,"-option-docs"),children:/*#__PURE__*/_jsxs("div",{className:"section",children:[/*#__PURE__*/_jsxs("div",{className:"row",children:[/*#__PURE__*/_jsxs("div",{className:"col-md-6",children:[/*#__PURE__*/_jsx("h2",{children:k}),/*#__PURE__*/_jsx("p",{children:l})]}),/*#__PURE__*/_jsx("div",{className:"col-md-6",children:/*#__PURE__*/_jsx(d,_objectSpread({id:"".concat(c,"-option"),name:"".concat(c,"-option"),title:k,content:getContentForComplexState(o),complex:o,disabled:p,media:q?/*#__PURE__*/_jsx(FastFlagIcon,{}):void 0},(a={},_defineProperty(a,i,j),_defineProperty(a,f,g),a)))})]}),/*#__PURE__*/_jsxs("div",{className:"row m-t-5",children:[/*#__PURE__*/_jsxs("div",{className:"col-md-6",children:[/*#__PURE__*/_jsx(function Code(){return/*#__PURE__*/_jsx(_Fragment,{children:/*#__PURE__*/_jsx("pre",{className:"tw-docs-code",children:"<".concat(e,"\n id=\"").concat(c,"-option\"\n name=\"").concat(c,"-option\"\n title=\"").concat(k,"\"\n content=\"").concat(getContentForComplexState(o),"\"").concat(boolProperty(i,j)).concat(boolProperty("complex",o)).concat(boolProperty("disabled",p),"\n ").concat(f,"={").concat(h,"}").concat(q?"\n media={<FastFlagIcon />}":"","\n/>")})})},{}),m]}),/*#__PURE__*/_jsxs("div",{className:"col-md-6",children:[/*#__PURE__*/_jsxs("div",{className:"row",children:[/*#__PURE__*/_jsx("div",{className:"col-md-6",children:/*#__PURE__*/_jsx(Checkbox,{id:"".concat(c,"-option-complex"),label:"Complex",checked:o,onChange:this.createStateLink("complex")})}),/*#__PURE__*/_jsx("div",{className:"col-md-6 m-b-0",children:/*#__PURE__*/_jsx(Checkbox,{id:"".concat(c,"-option-disabled"),label:"Disabled",checked:p,onChange:this.createStateLink("disabled")})})]}),/*#__PURE__*/_jsx("div",{className:"row m-t-2",children:/*#__PURE__*/_jsx("div",{className:"col-md-6",children:/*#__PURE__*/_jsx(Checkbox,{id:"".concat(c,"-option-media"),label:"Has media",checked:q,onChange:this.createStateLink("hasMedia")})})})]})]})]})})}}]),b}(Component);function getContentForComplexState(a){return a?"Complex items should be used for items with long descriptions. Their button and media will be aligned to the top.":"Normally, the button and icon are vertically centered."}function boolProperty(a,b){return b?"\n ".concat(a):""}OptionDocumentation.propTypes={type:PropTypes.string.isRequired,Option:PropTypes.func.isRequired,name:PropTypes.string.isRequired,callbackName:PropTypes.string.isRequired,callback:PropTypes.func.isRequired,callbackString:PropTypes.string.isRequired,propName:PropTypes.string,propValue:PropTypes.bool,title:PropTypes.string.isRequired,content:PropTypes.string.isRequired,extra:PropTypes.string},OptionDocumentation.defaultProps={propName:null,propValue:!1,extra:""};export default OptionDocumentation;
@@ -1 +0,0 @@
1
- import PropTypes from"prop-types";import Chevron from"../../chevron";import{Position,Size}from"../../common";import{jsx as _jsx}from"react/jsx-runtime";import{jsxs as _jsxs}from"react/jsx-runtime";var buttonClasses="btn-link p-a-0 text-no-decoration font-weight-bold",Header=function(a){var b=a.label,c=a.onLabelClick,d=a.onPreviousClick,e=a.onNextClick;return/*#__PURE__*/_jsxs("div",{className:"text-xs-center p-t-1 p-b-2 clearfix",children:[/*#__PURE__*/_jsx("div",{className:"pull-xs-left",children:/*#__PURE__*/_jsx("button",{type:"button",className:buttonClasses,onClick:d,children:/*#__PURE__*/_jsx(Chevron,{orientation:Position.LEFT,size:Size.MEDIUM})})}),b&&/*#__PURE__*/_jsx("button",{type:"button",className:"tw-date-lookup-header-current ".concat(buttonClasses),onClick:c,children:b}),/*#__PURE__*/_jsx("div",{className:"pull-xs-right",children:/*#__PURE__*/_jsx("button",{type:"button",className:buttonClasses,onClick:e,children:/*#__PURE__*/_jsx(Chevron,{orientation:Position.RIGHT,size:Size.MEDIUM})})})]})};Header.propTypes={label:PropTypes.string,onLabelClick:PropTypes.func,onPreviousClick:PropTypes.func.isRequired,onNextClick:PropTypes.func.isRequired},Header.defaultProps={label:null,onLabelClick:function onLabelClick(){}};export default Header;
@@ -1 +0,0 @@
1
- export{default}from"./Header";
@@ -1 +0,0 @@
1
- export { default } from "./Header";