@mailstep/design-system 0.6.30 → 0.6.32

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.6.30",
3
+ "version": "0.6.32",
4
4
  "license": "ISC",
5
5
  "type": "module",
6
6
  "main": "./ui/index.js",
@@ -40,7 +40,7 @@ var FloatingButton = function (_a) {
40
40
  name: item.name,
41
41
  }); });
42
42
  }, [handleSelectItem, options]);
43
- return (_jsx(FloatingWrapper, { children: _jsxs(StyledButton, { ref: ref, onClick: handleOnClick, children: [_jsxs(StyledCross, { isOpen: showDropdownMenu, children: [_jsx("span", { className: "line" }), _jsx("span", { className: "line" })] }), showDropdownMenu && (_jsx(Popover, { parentRef: ref, onClose: onClose, placement: "left-end", children: _jsx(StyledDropdownMenu, { showMenu: true, items: items }) }))] }) }));
43
+ return (_jsx(FloatingWrapper, { children: _jsxs(StyledButton, { ref: ref, onClick: handleOnClick, children: [_jsxs(StyledCross, { isOpen: showDropdownMenu, children: [_jsx("span", { className: "line" }), _jsx("span", { className: "line" })] }), showDropdownMenu && (_jsx(Popover, { parentRef: ref, onClose: onClose, placement: "top-end", children: _jsx(StyledDropdownMenu, { showMenu: true, items: items }) }))] }) }));
44
44
  };
45
45
  export default FloatingButton;
46
46
  var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
@@ -0,0 +1,3 @@
1
+ import { type FC } from 'react';
2
+ import { SvgProps } from '../types';
3
+ export declare const Desktop: FC<SvgProps>;
@@ -0,0 +1,13 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
+ export var Desktop = function (props) { return (_jsxs("svg", __assign({ width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", stroke: "black" }, props, { children: [_jsxs("g", { "clip-path": "url(#clip0_1226_2757)", children: [_jsx("rect", { x: "0.75", y: "13.5", width: "16.5", height: "3", rx: "1.5", strokeWidth: "1.5", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round" }), _jsx("rect", { x: "1.5", y: "0.75", width: "15", height: "12.75", rx: "3", strokeWidth: "1.5", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round" }), _jsx("path", { d: "M6.75 6L5.78333 6.725C5.51667 6.925 5.51667 7.325 5.78333 7.525L6.75 8.25", strokeWidth: "1.5", strokeLinecap: "round" }), _jsx("path", { d: "M11.25 6L12.2167 6.725C12.4833 6.925 12.4833 7.325 12.2167 7.525L11.25 8.25", strokeWidth: "1.5", strokeLinecap: "round" }), _jsx("line", { x1: "10.2243", y1: "4.69868", x2: "8.44868", y2: "10.0257", strokeWidth: "1.5", strokeLinecap: "round" })] }), _jsx("defs", { children: _jsx("clipPath", { id: "clip0_1226_2757", children: _jsx("rect", { width: "18", height: "18" }) }) })] }))); };
@@ -0,0 +1,3 @@
1
+ import { type FC } from 'react';
2
+ import { SvgProps } from '../types';
3
+ export declare const Message: FC<SvgProps>;
@@ -0,0 +1,13 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
+ export var Message = function (props) { return (_jsxs("svg", __assign({ width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", stroke: "black" }, props, { children: [_jsxs("g", { "clip-path": "url(#clip0_1226_2769)", children: [_jsx("rect", { x: "0.75", y: "1.5", width: "16.5", height: "15", rx: "3", strokeWidth: "1.5", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round" }), _jsx("path", { d: "M3.75 5.25L7.83752 8.16966C8.53292 8.66637 9.46708 8.66637 10.1625 8.16966L14.25 5.25", strokeWidth: "1.5", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round" })] }), _jsx("defs", { children: _jsx("clipPath", { id: "clip0_1226_2769", children: _jsx("rect", { width: "18", height: "18" }) }) })] }))); };
@@ -55,3 +55,5 @@ export { TwoUsers } from './TwoUsers';
55
55
  export { Integrations } from './Integrations';
56
56
  export { ArrowDown } from './ArrowDown';
57
57
  export { ArrowUp } from './ArrowUp';
58
+ export { Desktop } from './Desktop';
59
+ export { Message } from './Message';
@@ -55,3 +55,5 @@ export { TwoUsers } from './TwoUsers';
55
55
  export { Integrations } from './Integrations';
56
56
  export { ArrowDown } from './ArrowDown';
57
57
  export { ArrowUp } from './ArrowUp';
58
+ export { Desktop } from './Desktop';
59
+ export { Message } from './Message';