techsbcn-storybook 0.7.2 → 0.7.6
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/dist/stories/button/Button.stories.d.ts +2 -0
- package/dist/techsbcn-storybook.cjs.development.js +6 -6
- package/dist/techsbcn-storybook.cjs.development.js.map +1 -1
- package/dist/techsbcn-storybook.cjs.production.min.js +1 -1
- package/dist/techsbcn-storybook.cjs.production.min.js.map +1 -1
- package/dist/techsbcn-storybook.esm.js +6 -6
- package/dist/techsbcn-storybook.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/fields/ButtonComponent/ButtonComponent.scss +10 -0
- package/src/components/layouts/Standard/AppHeader/AppHeader.scss +6 -2
- package/src/components/layouts/Standard/AppHeader/AppHeader.tsx +1 -1
- package/src/components/tables/SearchComponent/SearchComponent.scss +2 -2
- package/src/components/tables/SearchComponent/SearchComponent.tsx +1 -1
- package/src/components/wrappers/MainWrapperComponent/MainWrapperComponent.scss +2 -2
- package/src/stories/button/Button.stories.tsx +16 -0
|
@@ -5,3 +5,5 @@ export declare const Default: Story<import("@storybook/react").Args>;
|
|
|
5
5
|
export declare const LoginButton: Story<import("@storybook/react").Args>;
|
|
6
6
|
export declare const ModalCancel: Story<import("@storybook/react").Args>;
|
|
7
7
|
export declare const Loading: Story<import("@storybook/react").Args>;
|
|
8
|
+
export declare const StartIcon: Story<import("@storybook/react").Args>;
|
|
9
|
+
export declare const EndIcon: Story<import("@storybook/react").Args>;
|
|
@@ -62,7 +62,7 @@ var PublicFormWrapper = function PublicFormWrapper(props) {
|
|
|
62
62
|
}, props.children)));
|
|
63
63
|
};
|
|
64
64
|
|
|
65
|
-
var css_248z$1 = ".search-component .title {\n color: #000;\n font-size: calc(21px + (23 - 21) * calc(100vw - 300px)/1300) !important;\n font-weight: 400;\n position: relative;\n}\n.search-component .tune-btn {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 50px;\n cursor: pointer;\n color: white;\n}\n.search-component .tune-btn:hover {\n box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12) !important;\n}\n.search-component .wrapper-actions .btn-action {\n cursor: pointer;\n}\n.search-component .wrapper-actions .btn-action .btn {\n width: max-content;\n}\n.search-component .wrapper-actions .btn-action svg {\n font-size: 40px
|
|
65
|
+
var css_248z$1 = ".search-component .title {\n color: #000;\n font-size: calc(21px + (23 - 21) * calc(100vw - 300px)/1300) !important;\n font-weight: 400;\n position: relative;\n}\n.search-component .tune-btn {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 50px;\n cursor: pointer;\n color: white;\n}\n.search-component .tune-btn:hover {\n box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12) !important;\n}\n.search-component .wrapper-actions .btn-action {\n cursor: pointer;\n}\n.search-component .wrapper-actions .btn-action .btn {\n width: max-content;\n}\n.search-component .wrapper-actions .btn-action svg {\n font-size: 40px;\n}\n\n.search-menu-actions .wrapper-actions .btn-action {\n cursor: pointer;\n}\n.search-menu-actions .wrapper-actions .btn-action .btn {\n width: max-content;\n}\n.search-menu-actions .wrapper-actions .btn-action svg {\n font-size: 40px;\n}";
|
|
66
66
|
styleInject(css_248z$1);
|
|
67
67
|
|
|
68
68
|
var ActionsList = function ActionsList(actions) {
|
|
@@ -137,7 +137,7 @@ var SearchComponent = function SearchComponent(props) {
|
|
|
137
137
|
xs: 4
|
|
138
138
|
}, React__default.createElement(material.Box, {
|
|
139
139
|
pl: 1,
|
|
140
|
-
className: "
|
|
140
|
+
className: "main-background-color-after title"
|
|
141
141
|
}, props.title)), props.actions && React__default.createElement(material.Grid, {
|
|
142
142
|
item: true,
|
|
143
143
|
xs: 8,
|
|
@@ -232,7 +232,7 @@ var SearchComponent = function SearchComponent(props) {
|
|
|
232
232
|
})))));
|
|
233
233
|
};
|
|
234
234
|
|
|
235
|
-
var css_248z$2 = ".main-wrapper-component {\n background-color: white;\n box-shadow: 0 1px 20px 0 rgba(69, 90, 100, 0.08);\n}\n.main-wrapper-component .title {\n color: #000;\n font-size: calc(21px + (23 - 21) * calc(100vw - 300px)/1300) !important;\n font-weight: 400;\n position: relative;\n}\n.main-wrapper-component .title:after {\n content: \"\";\n position: absolute;\n left: -17px;\n top: 0;\n width: 4px;\n height: 30px;\n}\n.main-wrapper-component .wrapper-actions .btn-action {\n cursor: pointer;\n}\n.main-wrapper-component .wrapper-actions .btn-action .MuiButton-root {\n width: max-content;\n}\n.main-wrapper-component .wrapper-actions .btn-action svg {\n font-size: 40px
|
|
235
|
+
var css_248z$2 = ".main-wrapper-component {\n background-color: white;\n box-shadow: 0 1px 20px 0 rgba(69, 90, 100, 0.08);\n}\n.main-wrapper-component .title.main-background-color-after {\n color: #000;\n font-size: calc(21px + (23 - 21) * calc(100vw - 300px)/1300) !important;\n font-weight: 400;\n position: relative;\n}\n.main-wrapper-component .title.main-background-color-after:after {\n content: \"\";\n position: absolute;\n left: -17px;\n top: 0;\n width: 4px;\n height: 30px;\n}\n.main-wrapper-component .wrapper-actions .btn-action {\n cursor: pointer;\n}\n.main-wrapper-component .wrapper-actions .btn-action .MuiButton-root {\n width: max-content;\n}\n.main-wrapper-component .wrapper-actions .btn-action svg {\n font-size: 40px;\n}";
|
|
236
236
|
styleInject(css_248z$2);
|
|
237
237
|
|
|
238
238
|
var MainWrapperComponent = function MainWrapperComponent(props) {
|
|
@@ -893,7 +893,7 @@ var DrawerSidebar = function DrawerSidebar(props) {
|
|
|
893
893
|
}, props.footerComponents))));
|
|
894
894
|
};
|
|
895
895
|
|
|
896
|
-
var css_248z$9 = ".app-bar {\n background-color: white !important;\n border-bottom: 1px solid rgba(0, 0, 0, 0.12);\n color: black !important;\n}\n.app-bar .header-logo {\n height: 64px;\n width: 100%;\n}\n.app-bar img {\n height: 64px;\n width: 100%;\n}";
|
|
896
|
+
var css_248z$9 = ".app-bar {\n background-color: white !important;\n border-bottom: 1px solid rgba(0, 0, 0, 0.12);\n color: black !important;\n}\n.app-bar .header-logo {\n max-height: 64px;\n height: 100%;\n min-height: 56px;\n width: 100%;\n}\n.app-bar img {\n max-height: 64px;\n height: 100%;\n min-height: 56px;\n width: 100%;\n}";
|
|
897
897
|
styleInject(css_248z$9);
|
|
898
898
|
|
|
899
899
|
var AppHeader = function AppHeader(props) {
|
|
@@ -905,7 +905,7 @@ var AppHeader = function AppHeader(props) {
|
|
|
905
905
|
}, React__default.createElement(material.IconButton, {
|
|
906
906
|
sx: {
|
|
907
907
|
display: {
|
|
908
|
-
xs: '
|
|
908
|
+
xs: 'inline-flex',
|
|
909
909
|
lg: 'none'
|
|
910
910
|
}
|
|
911
911
|
},
|
|
@@ -916,7 +916,7 @@ var AppHeader = function AppHeader(props) {
|
|
|
916
916
|
}, React__default.createElement(MenuIcon, null)), props.children));
|
|
917
917
|
};
|
|
918
918
|
|
|
919
|
-
var css_248z$a = ".MuiButton-root {\n width: auto;\n padding: 0.8rem 1rem !important;\n text-transform: inherit !important;\n line-height: inherit !important;\n box-shadow: none !important;\n font-size: 1rem !important;\n background-color: #3299C7;\n}\n.MuiButton-root.btn-login {\n width: 100%;\n}\n.MuiButton-root.btn-modal-cancel {\n background-color: #666666 !important;\n}\n.MuiButton-root.btn-modal-cancel.Mui-disabled {\n background-color: #666666c4 !important;\n color: #030303b4 !important;\n}\n.MuiButton-root:hover {\n box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12) !important;\n}\n.MuiButton-root .MuiCircularProgress-root {\n color: white !important;\n}\n.MuiButton-root .MuiButton-label .MuiCircularProgress-root {\n color: white !important;\n}";
|
|
919
|
+
var css_248z$a = ".MuiButton-root {\n width: auto;\n padding: 0.8rem 1rem !important;\n text-transform: inherit !important;\n line-height: inherit !important;\n box-shadow: none !important;\n font-size: 1rem !important;\n background-color: #3299C7;\n}\n.MuiButton-root.btn-login {\n width: 100%;\n}\n.MuiButton-root.btn-modal-cancel {\n background-color: #666666 !important;\n}\n.MuiButton-root.btn-modal-cancel.Mui-disabled {\n background-color: #666666c4 !important;\n color: #030303b4 !important;\n}\n.MuiButton-root:hover {\n box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12) !important;\n}\n.MuiButton-root .MuiCircularProgress-root {\n color: white !important;\n}\n.MuiButton-root .MuiButton-label .MuiCircularProgress-root {\n color: white !important;\n}\n.MuiButton-root .MuiButton-startIcon svg {\n font-size: 20px !important;\n}\n.MuiButton-root .MuiButton-endIcon svg {\n font-size: 20px !important;\n}";
|
|
920
920
|
styleInject(css_248z$a);
|
|
921
921
|
|
|
922
922
|
var ButtonComponent = function ButtonComponent(props) {
|