@mailstep/design-system 0.1.23 → 0.1.25-beta.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mailstep/design-system",
3
- "version": "0.1.23",
3
+ "version": "0.1.25-beta.1",
4
4
  "license": "ISC",
5
5
  "type": "module",
6
6
  "main": "./ui/index.js",
@@ -13,7 +13,7 @@
13
13
  "storybook": "storybook dev -p 6006",
14
14
  "build": "rm -rf ./build && rollup -c && cp package.json build",
15
15
  "build-storybook": "storybook build",
16
- "deploy": "npm run build && npm publish ./build",
16
+ "deploy": "npm publish ./build",
17
17
  "dev": "yarn storybook",
18
18
  "test": "echo \"The tests are still waiting to be written, but it seems like they're really good at procrastinating!\""
19
19
  },
@@ -0,0 +1,7 @@
1
+ import { __assign } from 'tslib';
2
+ import { jsx } from 'react/jsx-runtime';
3
+
4
+ var Box = function (props) { return (jsx("svg", __assign({ width: "43", height: "33", viewBox: "0 0 43 33", fill: "none", stroke: "#22394E", xmlns: "http://www.w3.org/2000/svg" }, props, { children: jsx("path", { d: "M5.38112 10.4486V29.2438C5.38112 30.3073 6.24322 31.1694 7.30669 31.1694H21.3431M36.7729 9.82071V10.4486V29.2438C36.7729 30.3073 35.9108 31.1694 34.8474 31.1694H21.3431M36.7729 9.82071H38.6544C40.0334 9.82071 40.9654 8.41366 40.4274 7.14395L38.8667 3.46026C38.5651 2.74835 37.8669 2.28588 37.0937 2.28588H21.3431M36.7729 9.82071H25.8109C25.0377 9.82071 24.3395 9.35825 24.0379 8.64633L21.3431 2.28588M21.3431 2.28588L4.70988 2.28588C3.848 2.28588 3.09109 2.85861 2.85681 3.68804L1.81633 7.37174C1.46925 8.60055 2.39251 9.82071 3.6694 9.82071H16.8752C17.6484 9.82071 18.3466 9.35825 18.6482 8.64633L21.3431 2.28588ZM21.3431 2.28588V17.3555M21.3431 22.3788V31.1694M9.63763 26.1462H13.8941M9.63763 21.1229H16.2884", strokeWidth: "2.88835" }) }))); };
5
+
6
+ export { Box };
7
+ //# sourceMappingURL=Box.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Box.js","sources":["../../../../../packages/ui/Elements/Icon/icons/Box.tsx"],"sourcesContent":["import { __assign } from \"tslib\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport var Box = function (props) { return (_jsx(\"svg\", __assign({ width: \"43\", height: \"33\", viewBox: \"0 0 43 33\", fill: \"none\", stroke: \"#22394E\", xmlns: \"http://www.w3.org/2000/svg\" }, props, { children: _jsx(\"path\", { d: \"M5.38112 10.4486V29.2438C5.38112 30.3073 6.24322 31.1694 7.30669 31.1694H21.3431M36.7729 9.82071V10.4486V29.2438C36.7729 30.3073 35.9108 31.1694 34.8474 31.1694H21.3431M36.7729 9.82071H38.6544C40.0334 9.82071 40.9654 8.41366 40.4274 7.14395L38.8667 3.46026C38.5651 2.74835 37.8669 2.28588 37.0937 2.28588H21.3431M36.7729 9.82071H25.8109C25.0377 9.82071 24.3395 9.35825 24.0379 8.64633L21.3431 2.28588M21.3431 2.28588L4.70988 2.28588C3.848 2.28588 3.09109 2.85861 2.85681 3.68804L1.81633 7.37174C1.46925 8.60055 2.39251 9.82071 3.6694 9.82071H16.8752C17.6484 9.82071 18.3466 9.35825 18.6482 8.64633L21.3431 2.28588ZM21.3431 2.28588V17.3555M21.3431 22.3788V31.1694M9.63763 26.1462H13.8941M9.63763 21.1229H16.2884\", strokeWidth: \"2.88835\" }) }))); };\n//# sourceMappingURL=Box.js.map"],"names":["_jsx"],"mappings":";;;AAEU,IAAC,GAAG,GAAG,UAAU,KAAK,EAAE,EAAE,QAAQA,GAAI,CAAC,KAAK,EAAE,QAAQ,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,4BAA4B,EAAE,EAAE,KAAK,EAAE,EAAE,QAAQ,EAAEA,GAAI,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE,wsBAAwsB,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE;;;;"}
@@ -0,0 +1,7 @@
1
+ import { __assign } from 'tslib';
2
+ import { jsxs, jsx } from 'react/jsx-runtime';
3
+
4
+ var OpenBox = function (props) { return (jsxs("svg", __assign({ width: "47", height: "47", viewBox: "0 0 47 47", fill: "none", stroke: "#22394E", xmlns: "http://www.w3.org/2000/svg" }, props, { children: [jsx("rect", { x: "7", y: "22", width: "33", height: "19", rx: "1.92557", strokeWidth: "2.88835" }), jsx("rect", { width: "37", height: "9", rx: "1.92557", transform: "matrix(1 0 0 -1 5 18)", strokeWidth: "2.88835" }), jsx("line", { x1: "15", y1: "29.5558", x2: "33", y2: "29.5558", strokeWidth: "2.88835" })] }))); };
5
+
6
+ export { OpenBox };
7
+ //# sourceMappingURL=OpenBox.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OpenBox.js","sources":["../../../../../packages/ui/Elements/Icon/icons/OpenBox.tsx"],"sourcesContent":["import { __assign } from \"tslib\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nexport var OpenBox = function (props) { return (_jsxs(\"svg\", __assign({ width: \"47\", height: \"47\", viewBox: \"0 0 47 47\", fill: \"none\", stroke: \"#22394E\", xmlns: \"http://www.w3.org/2000/svg\" }, props, { children: [_jsx(\"rect\", { x: \"7\", y: \"22\", width: \"33\", height: \"19\", rx: \"1.92557\", strokeWidth: \"2.88835\" }), _jsx(\"rect\", { width: \"37\", height: \"9\", rx: \"1.92557\", transform: \"matrix(1 0 0 -1 5 18)\", strokeWidth: \"2.88835\" }), _jsx(\"line\", { x1: \"15\", y1: \"29.5558\", x2: \"33\", y2: \"29.5558\", strokeWidth: \"2.88835\" })] }))); };\n//# sourceMappingURL=OpenBox.js.map"],"names":["_jsxs","_jsx"],"mappings":";;;AAEU,IAAC,OAAO,GAAG,UAAU,KAAK,EAAE,EAAE,QAAQA,IAAK,CAAC,KAAK,EAAE,QAAQ,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,4BAA4B,EAAE,EAAE,KAAK,EAAE,EAAE,QAAQ,EAAE,CAACC,GAAI,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC,EAAEA,GAAI,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,EAAE,EAAE,SAAS,EAAE,SAAS,EAAE,uBAAuB,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC,EAAEA,GAAI,CAAC,MAAM,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE;;;;"}
@@ -31,8 +31,8 @@ declare const Inventory2: FC<SvgProps>
31
31
  declare const Logout1: FC<SvgProps>
32
32
  declare const Puzzle1: FC<SvgProps>
33
33
  declare const AddPhoto: FC<SvgProps>
34
- declare const ProductOpened: FC<SvgProps>
35
- declare const ProductRegular: FC<SvgProps>
34
+ declare const OpenBox: FC<SvgProps>
35
+ declare const Box: FC<SvgProps>
36
36
  declare const Rack: FC<SvgProps>
37
37
 
38
- export { AddPhoto, BarcodeScan, Complaint, Expeditions, FlagCZ, FlagEL, FlagESP, FlagITA, FlagRUS, FlagSVK, FlagUSA, HamburgerMenu, HelpCircle1, IIcon, ImagePlaceholder, Income, Inventory, Inventory2, Logout1, MenuItems, MobileCancel, Notification2, Plus1, Product, ProductOpened, ProductRegular, Products, Profile, Puzzle1, Rack, Return, Settings2, Transfer, Icon as default };
38
+ export { AddPhoto, BarcodeScan, Box, Complaint, Expeditions, FlagCZ, FlagEL, FlagESP, FlagITA, FlagRUS, FlagSVK, FlagUSA, HamburgerMenu, HelpCircle1, IIcon, ImagePlaceholder, Income, Inventory, Inventory2, Logout1, MenuItems, MobileCancel, Notification2, OpenBox, Plus1, Product, Products, Profile, Puzzle1, Rack, Return, Settings2, Transfer, Icon as default };
@@ -7,8 +7,7 @@ type TextProps = {
7
7
  mr?: string | number;
8
8
  mb?: string | number;
9
9
  ml?: string | number;
10
- mx?: string | number;
11
- my?: string | number;
10
+ color?: string;
12
11
  };
13
12
 
14
13
  export { TextProps };
@@ -1,3 +1,3 @@
1
- import { FC } from 'react';
2
1
  import { SvgProps } from '../types';
3
- export declare const ProductOpened: FC<SvgProps>;
2
+ import { FC } from 'react';
3
+ export declare const Box: FC<SvgProps>;
@@ -1,3 +1,3 @@
1
- import { SvgProps } from '../types';
2
1
  import { FC } from 'react';
3
- export declare const ProductRegular: FC<SvgProps>;
2
+ import { SvgProps } from '../types';
3
+ export declare const OpenBox: FC<SvgProps>;
@@ -28,6 +28,6 @@ export { Logout1 } from './Logout1';
28
28
  export { Puzzle1 } from './Puzzle1';
29
29
  export { AddPhoto } from './AddPhoto';
30
30
  export { Link } from './Link';
31
- export { ProductOpened } from './ProductOpened';
32
- export { ProductRegular } from './ProductRegular';
31
+ export { OpenBox } from './OpenBox';
32
+ export { Box } from './Box';
33
33
  export { Rack } from './Rack';
@@ -8,6 +8,5 @@ export type TextProps = {
8
8
  mr?: string | number;
9
9
  mb?: string | number;
10
10
  ml?: string | number;
11
- mx?: string | number;
12
- my?: string | number;
11
+ color?: string;
13
12
  };
package/ui/index.d.ts CHANGED
@@ -11,7 +11,7 @@ export { default as Button } from './Elements/Button/index.js';
11
11
  export { default as Card } from './Elements/Card/index.js';
12
12
  export { default as Dropdown } from './Elements/Dropdown/Dropdown.js';
13
13
  export { default as ErrorMessage } from './Elements/ErrorMessage/index.js';
14
- export { AddPhoto, BarcodeScan, Complaint, Expeditions, FlagCZ, FlagEL, FlagESP, FlagITA, FlagRUS, FlagSVK, FlagUSA, HamburgerMenu, HelpCircle1, default as Icon, ImagePlaceholder, Income, Inventory, Inventory2, Logout1, MenuItems, MobileCancel, Notification2, Plus1, Product, ProductOpened, ProductRegular, Products, Profile, Puzzle1, Rack, Return, Settings2, Transfer } from './Elements/Icon/index.js';
14
+ export { AddPhoto, BarcodeScan, Box, Complaint, Expeditions, FlagCZ, FlagEL, FlagESP, FlagITA, FlagRUS, FlagSVK, FlagUSA, HamburgerMenu, HelpCircle1, default as Icon, ImagePlaceholder, Income, Inventory, Inventory2, Logout1, MenuItems, MobileCancel, Notification2, OpenBox, Plus1, Product, Products, Profile, Puzzle1, Rack, Return, Settings2, Transfer } from './Elements/Icon/index.js';
15
15
  export { default as Image } from './Elements/Image/Image.js';
16
16
  export { FieldLabel, Label } from './Elements/Label/Label.js';
17
17
  export { default as Line } from './Elements/Line/index.js';
package/ui/index.js CHANGED
@@ -48,8 +48,8 @@ export { Puzzle1 } from './Elements/Icon/icons/Puzzle1.js';
48
48
  export { AddPhoto } from './Elements/Icon/icons/AddPhoto.js';
49
49
  import 'tslib';
50
50
  import 'react/jsx-runtime';
51
- export { ProductOpened } from './Elements/Icon/icons/ProductOpened.js';
52
- export { ProductRegular } from './Elements/Icon/icons/ProductRegular.js';
51
+ export { OpenBox } from './Elements/Icon/icons/OpenBox.js';
52
+ export { Box } from './Elements/Icon/icons/Box.js';
53
53
  export { Rack } from './Elements/Icon/icons/Rack.js';
54
54
  export { default as Image } from './Elements/Image/Image.js';
55
55
  export { FieldLabel, Label } from './Elements/Label/Label.js';
@@ -1,7 +0,0 @@
1
- import { __assign } from 'tslib';
2
- import { jsxs, jsx } from 'react/jsx-runtime';
3
-
4
- var ProductOpened = function (props) { return (jsxs("svg", __assign({ width: "47", height: "47", viewBox: "0 0 47 47", fill: "none", stroke: "#22394E", xmlns: "http://www.w3.org/2000/svg" }, props, { children: [jsx("rect", { x: "7", y: "22", width: "33", height: "19", rx: "1.92557", strokeWidth: "2.88835" }), jsx("rect", { width: "37", height: "9", rx: "1.92557", transform: "matrix(1 0 0 -1 5 18)", strokeWidth: "2.88835" }), jsx("line", { x1: "15", y1: "29.5558", x2: "33", y2: "29.5558", strokeWidth: "2.88835" })] }))); };
5
-
6
- export { ProductOpened };
7
- //# sourceMappingURL=ProductOpened.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProductOpened.js","sources":["../../../../../packages/ui/Elements/Icon/icons/ProductOpened.tsx"],"sourcesContent":["import { __assign } from \"tslib\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nexport var ProductOpened = function (props) { return (_jsxs(\"svg\", __assign({ width: \"47\", height: \"47\", viewBox: \"0 0 47 47\", fill: \"none\", stroke: \"#22394E\", xmlns: \"http://www.w3.org/2000/svg\" }, props, { children: [_jsx(\"rect\", { x: \"7\", y: \"22\", width: \"33\", height: \"19\", rx: \"1.92557\", strokeWidth: \"2.88835\" }), _jsx(\"rect\", { width: \"37\", height: \"9\", rx: \"1.92557\", transform: \"matrix(1 0 0 -1 5 18)\", strokeWidth: \"2.88835\" }), _jsx(\"line\", { x1: \"15\", y1: \"29.5558\", x2: \"33\", y2: \"29.5558\", strokeWidth: \"2.88835\" })] }))); };\n//# sourceMappingURL=ProductOpened.js.map"],"names":["_jsxs","_jsx"],"mappings":";;;AAEU,IAAC,aAAa,GAAG,UAAU,KAAK,EAAE,EAAE,QAAQA,IAAK,CAAC,KAAK,EAAE,QAAQ,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,4BAA4B,EAAE,EAAE,KAAK,EAAE,EAAE,QAAQ,EAAE,CAACC,GAAI,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC,EAAEA,GAAI,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,EAAE,EAAE,SAAS,EAAE,SAAS,EAAE,uBAAuB,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC,EAAEA,GAAI,CAAC,MAAM,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE;;;;"}
@@ -1,7 +0,0 @@
1
- import { __assign } from 'tslib';
2
- import { jsx } from 'react/jsx-runtime';
3
-
4
- var ProductRegular = function (props) { return (jsx("svg", __assign({ width: "43", height: "33", viewBox: "0 0 43 33", fill: "none", stroke: "#22394E", xmlns: "http://www.w3.org/2000/svg" }, props, { children: jsx("path", { d: "M5.38112 10.4486V29.2438C5.38112 30.3073 6.24322 31.1694 7.30669 31.1694H21.3431M36.7729 9.82071V10.4486V29.2438C36.7729 30.3073 35.9108 31.1694 34.8474 31.1694H21.3431M36.7729 9.82071H38.6544C40.0334 9.82071 40.9654 8.41366 40.4274 7.14395L38.8667 3.46026C38.5651 2.74835 37.8669 2.28588 37.0937 2.28588H21.3431M36.7729 9.82071H25.8109C25.0377 9.82071 24.3395 9.35825 24.0379 8.64633L21.3431 2.28588M21.3431 2.28588L4.70988 2.28588C3.848 2.28588 3.09109 2.85861 2.85681 3.68804L1.81633 7.37174C1.46925 8.60055 2.39251 9.82071 3.6694 9.82071H16.8752C17.6484 9.82071 18.3466 9.35825 18.6482 8.64633L21.3431 2.28588ZM21.3431 2.28588V17.3555M21.3431 22.3788V31.1694M9.63763 26.1462H13.8941M9.63763 21.1229H16.2884", strokeWidth: "2.88835" }) }))); };
5
-
6
- export { ProductRegular };
7
- //# sourceMappingURL=ProductRegular.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProductRegular.js","sources":["../../../../../packages/ui/Elements/Icon/icons/ProductRegular.tsx"],"sourcesContent":["import { __assign } from \"tslib\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport var ProductRegular = function (props) { return (_jsx(\"svg\", __assign({ width: \"43\", height: \"33\", viewBox: \"0 0 43 33\", fill: \"none\", stroke: \"#22394E\", xmlns: \"http://www.w3.org/2000/svg\" }, props, { children: _jsx(\"path\", { d: \"M5.38112 10.4486V29.2438C5.38112 30.3073 6.24322 31.1694 7.30669 31.1694H21.3431M36.7729 9.82071V10.4486V29.2438C36.7729 30.3073 35.9108 31.1694 34.8474 31.1694H21.3431M36.7729 9.82071H38.6544C40.0334 9.82071 40.9654 8.41366 40.4274 7.14395L38.8667 3.46026C38.5651 2.74835 37.8669 2.28588 37.0937 2.28588H21.3431M36.7729 9.82071H25.8109C25.0377 9.82071 24.3395 9.35825 24.0379 8.64633L21.3431 2.28588M21.3431 2.28588L4.70988 2.28588C3.848 2.28588 3.09109 2.85861 2.85681 3.68804L1.81633 7.37174C1.46925 8.60055 2.39251 9.82071 3.6694 9.82071H16.8752C17.6484 9.82071 18.3466 9.35825 18.6482 8.64633L21.3431 2.28588ZM21.3431 2.28588V17.3555M21.3431 22.3788V31.1694M9.63763 26.1462H13.8941M9.63763 21.1229H16.2884\", strokeWidth: \"2.88835\" }) }))); };\n//# sourceMappingURL=ProductRegular.js.map"],"names":["_jsx"],"mappings":";;;AAEU,IAAC,cAAc,GAAG,UAAU,KAAK,EAAE,EAAE,QAAQA,GAAI,CAAC,KAAK,EAAE,QAAQ,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,4BAA4B,EAAE,EAAE,KAAK,EAAE,EAAE,QAAQ,EAAEA,GAAI,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE,wsBAAwsB,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE;;;;"}