diff --git a/CHANGELOG.md b/CHANGELOG.md index a13cb448..3baefd68 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [2.1.1](https://github.com/dexma/ui-components/compare/v2.1.0...v2.1.1) (2020-02-24) + + +### Bug Fixes + +* **alert:** export index and storybooks ([ee2c96e](https://github.com/dexma/ui-components/commit/ee2c96e904dd3de92870821999f8cca822517bbd)) + # [2.1.0](https://github.com/dexma/ui-components/compare/v2.0.33...v2.1.0) (2020-02-23) diff --git a/docs/main.fb343cd459c8d3ff3232.bundle.js b/docs/main.fb343cd459c8d3ff3232.bundle.js new file mode 100644 index 00000000..1d0f6da2 --- /dev/null +++ b/docs/main.fb343cd459c8d3ff3232.bundle.js @@ -0,0 +1,2 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{10:function(module,__webpack_exports__,__webpack_require__){"use strict";var react=__webpack_require__(0),react_default=__webpack_require__.n(react),prop_types=__webpack_require__(1),prop_types_default=__webpack_require__.n(prop_types),styled_components_browser_esm=__webpack_require__(5),theme=__webpack_require__(43),selectors=__webpack_require__(2),StyledGrid=styled_components_browser_esm.c.div.withConfig({displayName:"StyledGrid"})(["margin-right:auto;margin-left:auto;width:100%;",";"],(function(props){return props.fluid?Object(styled_components_browser_esm.b)(["padding-right:",";padding-left:",";"],selectors.K,selectors.K):function(props){return Object(styled_components_browser_esm.b)(["@media only screen and (min-width:48em){max-width:",";}@media only screen and (min-width:64em){max-width:",";}@media only screen and (min-width:75em){max-width:",";}"],Object(selectors.G)(props),Object(selectors.F)(props),Object(selectors.E)(props))}(props)}));__webpack_require__.d(__webpack_exports__,"a",(function(){return Grid}));var propTypes={fluid:prop_types_default.a.bool,className:prop_types_default.a.string,dataCy:prop_types_default.a.string,theme:prop_types_default.a.shape({}),children:prop_types_default.a.node},defaultProps={theme:theme.a},Grid=function(props){return react_default.a.createElement(StyledGrid,props)};Grid.displayName="Grid",StyledGrid.displayName="StyledGrid",Grid.propTypes=propTypes,Grid.defaultProps=defaultProps,Grid.__docgenInfo={description:"",methods:[],displayName:"Grid",props:{theme:{defaultValue:{value:"theme",computed:!0},type:{name:"shape",value:{}},required:!1,description:"Theme json based"},fluid:{type:{name:"bool"},required:!1,description:"Fluid grid means full grid"},className:{type:{name:"string"},required:!1,description:"Component class"},dataCy:{type:{name:"string"},required:!1,description:"The cypress identifier"},children:{type:{name:"node"},required:!1,description:"Children node"}}};__webpack_exports__.b=Object(react.memo)(Object(styled_components_browser_esm.e)(Grid));"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/Grid.js"]={name:"Grid",docgenInfo:Grid.__docgenInfo,path:"src/components/Grid.js"})},11:function(module,__webpack_exports__,__webpack_require__){"use strict";var react=__webpack_require__(0),react_default=__webpack_require__.n(react),prop_types=__webpack_require__(1),prop_types_default=__webpack_require__.n(prop_types),classnames=__webpack_require__(6),classnames_default=__webpack_require__.n(classnames),debounce=__webpack_require__(146),debounce_default=__webpack_require__.n(debounce),styled_components_browser_esm=__webpack_require__(5),react_tippy=__webpack_require__(794),styles_theme=(__webpack_require__(1270),__webpack_require__(43)),Icon=__webpack_require__(25),Spinner=__webpack_require__(188),StyledButton=__webpack_require__(88),StyledButtonGroup=styled_components_browser_esm.c.div.withConfig({displayName:"StyledButtonGroup"})(["",";"],(function(){return Object(styled_components_browser_esm.b)(["","{margin-right:0;&:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0;}&:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-1px;}&:focus,&:active,&.active{box-shadow:none;}}"],StyledButton.a)}));__webpack_require__.d(__webpack_exports__,"a",(function(){return BUTTON_SIZE})),__webpack_require__.d(__webpack_exports__,"c",(function(){return ButtonGroup})),__webpack_require__.d(__webpack_exports__,"b",(function(){return Button}));var BUTTON_SIZE=["small","medium","large","xlarge"],propTypes={id:prop_types_default.a.string,buttonRef:prop_types_default.a.func,className:prop_types_default.a.string,text:prop_types_default.a.string,type:prop_types_default.a.oneOf(["button","reset","submit",null]),size:prop_types_default.a.oneOf(BUTTON_SIZE).isRequired,variant:prop_types_default.a.oneOf(["primary","secondary","outline","destructive","link"]).isRequired,iconBefore:prop_types_default.a.string,iconAfter:prop_types_default.a.string,tooltip:prop_types_default.a.string,onClick:prop_types_default.a.func,onFocus:prop_types_default.a.func,isLoading:prop_types_default.a.bool,isDisabled:prop_types_default.a.bool,isCircle:prop_types_default.a.bool,isExpanded:prop_types_default.a.bool,debounceTime:prop_types_default.a.number,children:prop_types_default.a.node,dataCy:prop_types_default.a.string,theme:prop_types_default.a.shape({})},defaultProps={type:"button",size:"small",variant:"primary",isDisabled:!1,isLoading:!1,isExpanded:!1,theme:styles_theme.a},ButtonGroup=function(props){return react_default.a.createElement(StyledButtonGroup,props)};ButtonGroup.displayName="ButtonGroup";var Button=function(_ref){var id=_ref.id,buttonRef=_ref.buttonRef,className=_ref.className,text=_ref.text,type=_ref.type,iconBefore=_ref.iconBefore,iconAfter=_ref.iconAfter,tooltip=_ref.tooltip,onClick=_ref.onClick,onFocus=_ref.onFocus,isDisabled=_ref.isDisabled,isExpanded=_ref.isExpanded,isLoading=_ref.isLoading,isCircle=_ref.isCircle,size=_ref.size,variant=_ref.variant,debounceTime=_ref.debounceTime,dataCy=_ref.dataCy,theme=_ref.theme,children=_ref.children,classes=classnames_default()(isExpanded&&"expanded",size&&size,className),handleClick=0 (\n \n \n \n \n Use different button variant to build hierarchy in the application\n layout\n \n \n \n