colibri-ui 0.8.100 → 0.8.102

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 (73) hide show
  1. package/Editable/Editable.js +30 -4
  2. package/Icons/ArrowNext.js +3 -3
  3. package/Icons/{Exit.d.ts → Book.d.ts} +1 -1
  4. package/Icons/Book.js +33 -0
  5. package/Icons/Bug.d.ts +3 -0
  6. package/Icons/Bug.js +165 -0
  7. package/Icons/Cart.js +1 -1
  8. package/Icons/Close.js +1 -1
  9. package/Icons/Comment.d.ts +3 -0
  10. package/Icons/Comment.js +33 -0
  11. package/Icons/Console.d.ts +3 -0
  12. package/Icons/Console.js +31 -0
  13. package/Icons/Cookie.d.ts +3 -0
  14. package/Icons/Cookie.js +31 -0
  15. package/Icons/Copy.js +1 -1
  16. package/Icons/Copyright.d.ts +3 -0
  17. package/Icons/Copyright.js +31 -0
  18. package/Icons/CurrencyGbp.d.ts +3 -0
  19. package/Icons/CurrencyGbp.js +31 -0
  20. package/Icons/Github.d.ts +3 -0
  21. package/Icons/Github.js +31 -0
  22. package/Icons/Pipette.js +1 -1
  23. package/Icons/Plus.js +3 -3
  24. package/Icons/SignIn.d.ts +3 -0
  25. package/Icons/SignIn.js +33 -0
  26. package/Icons/SignOut.d.ts +3 -0
  27. package/Icons/SignOut.js +33 -0
  28. package/Icons/User.js +3 -3
  29. package/Icons/index.d.ts +11 -2
  30. package/Icons/index.js +22 -4
  31. package/List/List.js +18 -12
  32. package/List/index.d.ts +1 -1
  33. package/List/index.props.d.ts +16 -1
  34. package/esm/Editable/Editable.js +30 -4
  35. package/esm/Icons/ArrowNext.js +3 -3
  36. package/esm/Icons/{Exit.d.ts → Book.d.ts} +1 -1
  37. package/esm/Icons/Book.js +27 -0
  38. package/esm/Icons/Bug.d.ts +3 -0
  39. package/esm/Icons/Bug.js +159 -0
  40. package/esm/Icons/Cart.js +1 -1
  41. package/esm/Icons/Close.js +1 -1
  42. package/esm/Icons/Comment.d.ts +3 -0
  43. package/esm/Icons/Comment.js +27 -0
  44. package/esm/Icons/Console.d.ts +3 -0
  45. package/esm/Icons/Console.js +25 -0
  46. package/esm/Icons/Cookie.d.ts +3 -0
  47. package/esm/Icons/Cookie.js +25 -0
  48. package/esm/Icons/Copy.js +1 -1
  49. package/esm/Icons/Copyright.d.ts +3 -0
  50. package/esm/Icons/Copyright.js +25 -0
  51. package/esm/Icons/CurrencyGbp.d.ts +3 -0
  52. package/esm/Icons/CurrencyGbp.js +25 -0
  53. package/esm/Icons/Github.d.ts +3 -0
  54. package/esm/Icons/Github.js +25 -0
  55. package/esm/Icons/Pipette.js +1 -1
  56. package/esm/Icons/Plus.js +3 -3
  57. package/esm/Icons/SignIn.d.ts +3 -0
  58. package/esm/Icons/SignIn.js +27 -0
  59. package/esm/Icons/SignOut.d.ts +3 -0
  60. package/esm/Icons/SignOut.js +27 -0
  61. package/esm/Icons/User.js +3 -3
  62. package/esm/Icons/index.d.ts +11 -2
  63. package/esm/Icons/index.js +11 -2
  64. package/esm/List/List.js +18 -12
  65. package/esm/List/index.d.ts +1 -1
  66. package/esm/List/index.props.d.ts +16 -1
  67. package/esm/index.d.ts +1 -1
  68. package/esm/index.js +11 -2
  69. package/index.d.ts +1 -1
  70. package/index.js +20 -2
  71. package/package.json +1 -1
  72. package/Icons/Exit.js +0 -34
  73. package/esm/Icons/Exit.js +0 -28
@@ -59,12 +59,28 @@ const Editable = /*#__PURE__*/React.forwardRef(function EditableComponent(_a, fo
59
59
  const [currentValue, setCurrentValue] = React.useState(value !== null && value !== void 0 ? value : "");
60
60
  const [isEditing, setIsEditing] = React.useState(false);
61
61
  const lastValidValue = React.useRef(value !== null && value !== void 0 ? value : "");
62
+ // React must not rewrite the text node while typing: that resets the caret.
63
+ // A new text element is created only with a new component, so seed it then.
64
+ const [textSeed, setTextSeed] = React.useState({
65
+ component: TextComponent,
66
+ text: value !== null && value !== void 0 ? value : ""
67
+ });
68
+ if (textSeed.component !== TextComponent) {
69
+ setTextSeed({
70
+ component: TextComponent,
71
+ text: currentValue
72
+ });
73
+ }
74
+ const isMouseFocus = React.useRef(false);
62
75
  React.useImperativeHandle(forwardedRef, () => editorRef.current, []);
63
76
  React.useEffect(() => {
64
77
  if (value === undefined || value === lastValidValue.current) return;
65
78
  lastValidValue.current = value;
66
79
  setCurrentValue(value);
67
- if (editorRef.current) editorRef.current.textContent = value;
80
+ const editor = editorRef.current;
81
+ if (!editor) return;
82
+ editor.textContent = value;
83
+ if (document.activeElement === editor) placeCaretAtEnd(editor);
68
84
  }, [value]);
69
85
  const commitInput = React.useCallback(event => {
70
86
  var _a;
@@ -82,6 +98,10 @@ const Editable = /*#__PURE__*/React.forwardRef(function EditableComponent(_a, fo
82
98
  }, [maxLength, onChange]);
83
99
  const handleFocus = event => {
84
100
  setIsEditing(true);
101
+ if (isMouseFocus.current) {
102
+ isMouseFocus.current = false;
103
+ return;
104
+ }
85
105
  const selection = window.getSelection();
86
106
  const range = document.createRange();
87
107
  range.selectNodeContents(event.currentTarget);
@@ -91,6 +111,7 @@ const Editable = /*#__PURE__*/React.forwardRef(function EditableComponent(_a, fo
91
111
  const handleBlur = event => {
92
112
  var _a;
93
113
  setIsEditing(false);
114
+ isMouseFocus.current = false;
94
115
  (_a = window.getSelection()) === null || _a === void 0 ? void 0 : _a.removeAllRanges();
95
116
  if (event.currentTarget.innerHTML === "<br>") event.currentTarget.innerHTML = "";
96
117
  onBlur === null || onBlur === void 0 ? void 0 : onBlur(event);
@@ -113,8 +134,10 @@ const Editable = /*#__PURE__*/React.forwardRef(function EditableComponent(_a, fo
113
134
  onPaste === null || onPaste === void 0 ? void 0 : onPaste(event);
114
135
  };
115
136
  const focusEditor = () => {
116
- var _a;
117
- if (!disabled) (_a = editorRef.current) === null || _a === void 0 ? void 0 : _a.focus();
137
+ const editor = editorRef.current;
138
+ if (disabled || !editor) return;
139
+ editor.focus();
140
+ placeCaretAtEnd(editor);
118
141
  };
119
142
  return /*#__PURE__*/React__default.default.createElement("span", Object.assign({}, rest, {
120
143
  className: [styles__default.default.root, disabled ? styles__default.default.disabled : "", className !== null && className !== void 0 ? className : ""].filter(Boolean).join(" ")
@@ -129,11 +152,14 @@ const Editable = /*#__PURE__*/React.forwardRef(function EditableComponent(_a, fo
129
152
  suppressContentEditableWarning: true,
130
153
  spellCheck: spellCheck,
131
154
  onInput: commitInput,
155
+ onMouseDown: () => {
156
+ isMouseFocus.current = !disabled;
157
+ },
132
158
  onFocus: handleFocus,
133
159
  onBlur: handleBlur,
134
160
  onKeyDown: handleKeyDown,
135
161
  onPaste: handlePaste
136
- }, currentValue), !currentValue && !isEditing && placeholder && (/*#__PURE__*/React__default.default.createElement("span", {
162
+ }, textSeed.text), !currentValue && !isEditing && placeholder && (/*#__PURE__*/React__default.default.createElement("span", {
137
163
  className: styles__default.default.placeholder,
138
164
  onClick: focusEditor,
139
165
  "aria-hidden": "true"
@@ -10,8 +10,8 @@ var React__default = /*#__PURE__*/_interopDefault(React);
10
10
  const ArrowNext = _a => {
11
11
  var {
12
12
  fill = "currentColor",
13
- width = 10,
14
- height = 16,
13
+ width = 24,
14
+ height = 24,
15
15
  ref
16
16
  } = _a,
17
17
  props = tslib.__rest(_a, ["fill", "width", "height", "ref"]);
@@ -20,7 +20,7 @@ const ArrowNext = _a => {
20
20
  fill: "none",
21
21
  width: width,
22
22
  height: height,
23
- viewBox: "0 0 10 16",
23
+ viewBox: "-7.3 -4 24 24",
24
24
  xmlns: "http://www.w3.org/2000/svg"
25
25
  }, props), /*#__PURE__*/React__default.default.createElement("path", {
26
26
  d: "M1 1L8 8L1 15",
@@ -1,3 +1,3 @@
1
1
  import React from "react";
2
2
  import type { Props } from "./index.props";
3
- export declare const Exit: ({ fill, width, height, ref, ...props }: Props) => React.JSX.Element;
3
+ export declare const Book: ({ fill, width, height, ref, ...props }: Props) => React.JSX.Element;
package/Icons/Book.js ADDED
@@ -0,0 +1,33 @@
1
+ 'use strict';
2
+
3
+ var tslib = require('tslib');
4
+ var React = require('react');
5
+
6
+ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
7
+
8
+ var React__default = /*#__PURE__*/_interopDefault(React);
9
+
10
+ const Book = _a => {
11
+ var {
12
+ fill = "currentColor",
13
+ width = 24,
14
+ height = 24,
15
+ ref
16
+ } = _a,
17
+ props = tslib.__rest(_a, ["fill", "width", "height", "ref"]);
18
+ return /*#__PURE__*/React__default.default.createElement("svg", Object.assign({
19
+ xmlns: "http://www.w3.org/2000/svg",
20
+ width: width,
21
+ height: height,
22
+ viewBox: "1.9 1.1 50 50",
23
+ fill: "none",
24
+ ref: ref
25
+ }, props), /*#__PURE__*/React__default.default.createElement("path", {
26
+ fill: fill,
27
+ fillRule: "evenodd",
28
+ clipRule: "evenodd",
29
+ d: "M27.09 15.13C22.3 11.67 16.28 9.3 9.54 10.2c-.35 0-.7.36-.88.73L6.18 15.3c-.18.18-.18.37-.18.73L7.77 35.9c.36 1.46.89 2 1.95 2.2 5.14.36 9.04 1.09 13.65 3.1.7 2.36 6.9 2.54 7.8 0 4.6-2.01 7.97-2.74 13.1-3.1a2 2 0 0 0 1.96-2.01c.35-4.01 1.42-18.05 1.6-20.42 0-.19 0-.55-.18-.73l-1.95-4.01c-.18-.37-.54-.55-.89-.73a23.6 23.6 0 0 0-17.72 4.92M27 18.05c-4.6-4.01-10.42-6.08-16.62-5.35l1.74 19.62c5.5.18 10.1 1.2 14.88 3.57zm0 0c4.6-4.01 10.42-6.08 16.63-5.35l-1.76 19.62c-5.49.18-10.09 1.2-14.87 3.57z"
30
+ }));
31
+ };
32
+
33
+ exports.Book = Book;
package/Icons/Bug.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import type { Props } from "./index.props";
3
+ export declare const Bug: ({ width, height, ref, ...props }: Props) => React.JSX.Element;
package/Icons/Bug.js ADDED
@@ -0,0 +1,165 @@
1
+ 'use strict';
2
+
3
+ var tslib = require('tslib');
4
+ var React = require('react');
5
+
6
+ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
7
+
8
+ var React__default = /*#__PURE__*/_interopDefault(React);
9
+
10
+ const Bug = _a => {
11
+ var {
12
+ width = 24,
13
+ height = 24,
14
+ ref
15
+ } = _a,
16
+ props = tslib.__rest(_a, ["width", "height", "ref"]);
17
+ return /*#__PURE__*/React__default.default.createElement("svg", Object.assign({
18
+ xmlns: "http://www.w3.org/2000/svg",
19
+ width: width,
20
+ height: height,
21
+ viewBox: "5.8 5.75 141.6 141.6",
22
+ ref: ref
23
+ }, props), /*#__PURE__*/React__default.default.createElement("path", {
24
+ d: "M100.6 49.2s2.8-5.9-3.5-11.6C93 34 89.8 22.5 90.5 20.4s-.3-4.9-1.4-.4c-1 3.8.7 11.9 5.2 17 2.8 3.2 5.4 5.3 4.7 10.6z"
25
+ }), /*#__PURE__*/React__default.default.createElement("path", {
26
+ fill: "#331A0F",
27
+ d: "M99.2 54s-13.8-13.5-28.7.6c0 0 14.1 7.3 8.3 19.8z"
28
+ }), /*#__PURE__*/React__default.default.createElement("path", {
29
+ d: "M90.6 49s4.1-5.6 8.9-1.1c2.6 2.5 1.4 4.4 1.4 4.4l-2.2 2.2s-2.9-3-8.1-5.5m13.3 3.6s5.9-2.8 11.6 3.5c3.7 4.1 15.2 7.3 17.3 6.6s4.9.3.4 1.4c-3.8 1-11.9-.7-17-5.2-3.2-2.8-5.3-5.4-10.6-4.6z"
30
+ }), /*#__PURE__*/React__default.default.createElement("path", {
31
+ fill: "#331A0F",
32
+ d: "M99.2 53.9s13.5 13.8-.6 28.7c0 0-7.3-14.1-19.8-8.3z"
33
+ }), /*#__PURE__*/React__default.default.createElement("path", {
34
+ d: "M104.1 62.5s5.6-4.1 1.1-8.9c-2.5-2.6-4.4-1.4-4.4-1.4l-2.2 2.2c.1.1 3 3 5.5 8.1"
35
+ }), /*#__PURE__*/React__default.default.createElement("path", {
36
+ fill: "#010202",
37
+ d: "M77.7 56.2c1.5 4.6 6.1 7.7 7.8 11.5s8.3 7.7 10.9 5 4.9-11.8 1.9-15.1 6.3-.9 4.8 11.7-10.6 15.9-10.6 15.9-20.3-11.7-20.6-11.9c-.2-.2-5.8-10.4-5.6-10.9s1.6-5.4 1.6-5.4 8.3-5.5 9.8-.8"
38
+ }), /*#__PURE__*/React__default.default.createElement("path", {
39
+ d: "M39.5 79.7s-11.6 16.4 2.6 30.4c14.2 13.9 35.6 1.9 35.4 1.3-.2-.5-38-31.7-38-31.7m37.6-8.3s-3.4-5.3-8-6.5c0 0-1.7.2-.3-1.9s8.3-12.7 5.9-17.4-8-8.3-7.7-10.4c.2-2.1-.6-3-1.7-2.3-1.2.7-1.6 1.5-1.6 1.5s.7-3.7-.7-3.2.2 3.5.2 3.5-2.4 3.1.5 3.3 8.1 4.5 8.7 7.6c.5 3.1-1.3 8-2.8 11.1-1.4 3-6.3 7.2-1.8 11 4.4 3.9 8.9 4.8 8.9 4.8z"
40
+ }), /*#__PURE__*/React__default.default.createElement("path", {
41
+ d: "M69.5 65.6c-.2 0-1.1-6.5-9.2-9 0 0-1.2.5-2.9 2.4s-7.3 6.6-9.6 6.2-9.4-4.2-9.4-4.2-2.2-3.1-3.2-1.9-.8 2.3-.8 2.3-5.2-2.3-4.1-.2 3.3 1.7 3.3 1.7-1.5 3.1.6 2.9c2.1-.3 4.3-1.5 5.8-.9s4.6 2.1 6.5 3 2.5 1.5 3.9.1 9.9-8.9 9.9-8.9.6 5.6 5 6.9zm-14.9 9.1s-8-4.3-12.5-.3-7.4 10.3-10 10.6c-2.6.2-9.1-2.6-10.5-1.4s-1 2.5-1 2.5-1.8-3.1-2.6-1.2-.3 4.5.5 3.8 2.1-1.4 2.1-1.4.7 2.7 2.7 1.5 3.4-1.2 5.4-1.4 5.4.5 6.5-1.4c0 0 6-9.6 9.6-9.2s4.6 4 4.6 4 6.3-3.4 5.2-6.1"
42
+ }), /*#__PURE__*/React__default.default.createElement("linearGradient", {
43
+ id: "bugGradA",
44
+ x1: "36.13",
45
+ x2: "64.67",
46
+ y1: "46.77",
47
+ y2: "46.77",
48
+ gradientTransform: "rotate(45 -98.52 20.44)",
49
+ gradientUnits: "userSpaceOnUse"
50
+ }, /*#__PURE__*/React__default.default.createElement("stop", {
51
+ offset: "0",
52
+ stopColor: "#b0191a"
53
+ }), /*#__PURE__*/React__default.default.createElement("stop", {
54
+ offset: ".21",
55
+ stopColor: "#e94e22"
56
+ }), /*#__PURE__*/React__default.default.createElement("stop", {
57
+ offset: ".53",
58
+ stopColor: "#ef7a57"
59
+ }), /*#__PURE__*/React__default.default.createElement("stop", {
60
+ offset: "1",
61
+ stopColor: "#e84423"
62
+ })), /*#__PURE__*/React__default.default.createElement("path", {
63
+ fill: "url(#bugGradA)",
64
+ d: "m79.4 73.2-34.1 34.1s-1.7 1.6-4.9-1.7c-3.2-3.2-8.6-15.5-1.9-28.9 8-16 24.6-21.8 24.6-21.8s4.5-2.7 9.9 1.1c5.4 3.9 9.7 11.2 6.4 17.2"
65
+ }), /*#__PURE__*/React__default.default.createElement("path", {
66
+ d: "M81.7 75.6s5.3 3.4 6.5 8c0 0-.2 1.7 1.9.3s12.7-8.3 17.4-5.9 8.3 8 10.4 7.7c2.1-.2 3 .6 2.3 1.7-.7 1.2-1.5 1.6-1.5 1.6s3.7-.7 3.2.7-3.5-.2-3.5-.2-3.1 2.4-3.3-.5-4.5-8.1-7.6-8.7c-3.1-.5-8 1.3-11.1 2.8-3 1.4-7.2 6.3-11 1.8-3.9-4.4-4.8-8.9-4.8-8.9z"
67
+ }), /*#__PURE__*/React__default.default.createElement("path", {
68
+ d: "M84.9 80.4c.1.2 6.6-.3 10.8 7 0 0-.2 1.3-1.7 3.4s-4.9 8.6-3.9 10.7c.9 2.1 6.1 8.3 6.1 8.3s3.5 1.5 2.6 2.7-2 1.2-2 1.2 3.3 4.6 1 4-2.4-2.9-2.4-2.9-2.7 2.2-2.9 0c-.2-2.1.5-4.5-.4-5.8s-3.1-4-4.3-5.7c-1.3-1.6-2-2.1-1-3.7C87.9 98 93.3 88 93.3 88s-5.6.6-7.8-3.4zm-5.7 16.7s5.1 8.6 1 13.2-10.6 7.6-10.9 10.3c-.2 2.6 2.7 9.3 1.5 10.8s-2.5 1.1-2.5 1.1 3.2 1.8 1.2 2.6-4.7.3-3.9-.5c.7-.8 1.5-2.1 1.5-2.1s-2.8-.7-1.6-2.8 1.2-3.5 1.4-5.6-.5-5.5 1.4-6.7c0 0 9.9-6.2 9.5-9.9s-3.2-5.3-3.2-5.3 1.8-6.2 4.6-5.1"
69
+ }), /*#__PURE__*/React__default.default.createElement("linearGradient", {
70
+ id: "bugGradB",
71
+ x1: "60.66",
72
+ x2: "89.29",
73
+ y1: "46.75",
74
+ y2: "46.75",
75
+ gradientTransform: "rotate(-135 85.4 72.68)",
76
+ gradientUnits: "userSpaceOnUse"
77
+ }, /*#__PURE__*/React__default.default.createElement("stop", {
78
+ offset: "0",
79
+ stopColor: "#751613"
80
+ }), /*#__PURE__*/React__default.default.createElement("stop", {
81
+ offset: ".21",
82
+ stopColor: "#bf391d"
83
+ }), /*#__PURE__*/React__default.default.createElement("stop", {
84
+ offset: ".53",
85
+ stopColor: "#ef7a57"
86
+ }), /*#__PURE__*/React__default.default.createElement("stop", {
87
+ offset: "1",
88
+ stopColor: "#cf3320"
89
+ })), /*#__PURE__*/React__default.default.createElement("path", {
90
+ fill: "url(#bugGradB)",
91
+ d: "m79.4 73.2-34.1 34.1s-1.5 2.6 2.6 5.7c3.6 2.8 13.1 6.5 26.5 1 18.9-7.7 23.3-24.5 23.3-24.5s2.7-4.5-1.1-9.9c-3.8-5.3-11.2-9.7-17.2-6.4"
92
+ }), /*#__PURE__*/React__default.default.createElement("path", {
93
+ fill: "#F4C490",
94
+ d: "M73.6 58.5c-.2-.2-5-5.5-14.1 2.6-9.2 8-11.1 26.5 2.2 21 8.7-3.5 22.9-16.1 11.9-23.6",
95
+ opacity: ".3"
96
+ }), /*#__PURE__*/React__default.default.createElement("path", {
97
+ fill: "#EBEABC",
98
+ d: "M91.4 76.1c-.2-.2-5.3-5.6-11.2-1-5.9 4.7-3.4 19.6 6.4 18 6.5-1.1 15.5-8.4 4.8-17",
99
+ opacity: ".11"
100
+ }), /*#__PURE__*/React__default.default.createElement("path", {
101
+ fill: "#331A0F",
102
+ d: "M77.9 60.9s6.6 10.5-19.1 33c0 0 21.5-20.7 29.3-21.1z",
103
+ opacity: ".47"
104
+ }), /*#__PURE__*/React__default.default.createElement("path", {
105
+ fill: "#FFA88A",
106
+ d: "M96.4 55.6c-3-4.8-15.6-8.4-11.6.8 4.1 9.2 11.8 10.1 12.8 7.4.9-2.5 1-4.7-1.2-8.2",
107
+ opacity: ".19"
108
+ }), /*#__PURE__*/React__default.default.createElement("path", {
109
+ fill: "#F2AD91",
110
+ d: "M95.2 56.7c-3.7-6-19.4-10.4-14.4 1 5.1 11.4 14.6 12.5 16 9.2 1.3-3.4 1.4-5.6-1.6-10.2",
111
+ opacity: ".09"
112
+ }), /*#__PURE__*/React__default.default.createElement("path", {
113
+ fill: "#D11317",
114
+ d: "M38.5 77.5c4.2 2.5 7.3 5.1 26.2 11 16 5 29 7.5 29 7.5s-24.3 36.3-52.5 11.7c-13.5-11.9-2.7-30.2-2.7-30.2",
115
+ opacity: ".25"
116
+ }), /*#__PURE__*/React__default.default.createElement("path", {
117
+ fill: "#331A0F",
118
+ d: "M64.9 54.2s17.7 3.4 10.9 21.6c0 0 23.7 2.1 15.5 18.2 0 0-.3 2.9 2.6 0 5.4-5.4 6-14.2 1.9-19s-12.4-9-12.7-10S74 54.5 73 54.1c-.9-.4-6.6-.4-8.1.1",
119
+ opacity: ".25"
120
+ }), /*#__PURE__*/React__default.default.createElement("linearGradient", {
121
+ id: "bugGradC",
122
+ x1: "88.19",
123
+ x2: "80.98",
124
+ y1: "43.57",
125
+ y2: "61.07",
126
+ gradientTransform: "matrix(1.1102 -.1102 .1102 -1.1102 -26.45 173.38)",
127
+ gradientUnits: "userSpaceOnUse"
128
+ }, /*#__PURE__*/React__default.default.createElement("stop", {
129
+ offset: "0",
130
+ stopColor: "#6c1512"
131
+ }), /*#__PURE__*/React__default.default.createElement("stop", {
132
+ offset: "1",
133
+ stopColor: "#d42900"
134
+ })), /*#__PURE__*/React__default.default.createElement("path", {
135
+ fill: "url(#bugGradC)",
136
+ d: "M88 73s1.5 4.3-8.9 14.9c-8.7 8.8-28.2 10.2-35 14.5-7.3 4.6 6.8 13.5 12.8 13.8 21.4 1.3 31.8-11.8 35.8-18 4.6-7.1 9.4-16.6-4.7-25.2",
137
+ opacity: ".81"
138
+ }), /*#__PURE__*/React__default.default.createElement("path", {
139
+ fill: "#331A0F",
140
+ d: "M37.5 101.1s5.1 7.8 12 1.5c8.7-8 13-12.4 13-12.4s-13.5 14-14.8 18.1c-1.6 5.1 8.7 8.1 8.7 8.1s-13.8 0-18.9-15.3",
141
+ opacity: ".47"
142
+ }), /*#__PURE__*/React__default.default.createElement("path", {
143
+ fill: "#F96A58",
144
+ d: "M54 106.5s-9.9 3.4-1.3 7.3 19.6.3 15.8-4.1c-4-4.4-8.8-4.1-14.5-3.2",
145
+ opacity: ".64"
146
+ }), /*#__PURE__*/React__default.default.createElement("path", {
147
+ fill: "#F4C490",
148
+ d: "M74.3 57c-7.2 1.1-16.7 3.9-17 11.3C57 74.4 63.8 79 71 81.6l8.4-8.4c3-5.5-.3-12.1-5.1-16.2",
149
+ opacity: ".17"
150
+ }), /*#__PURE__*/React__default.default.createElement("path", {
151
+ fill: "#F4C490",
152
+ d: "M82.2 56.4s-24.4 0-24.9 11.9c-.6 11.8 25 17.8 29.3 15.4 4.3-2.3 8.5-22.8-4.4-27.3",
153
+ opacity: ".1"
154
+ }), /*#__PURE__*/React__default.default.createElement("path", {
155
+ fill: "#EBE1E1",
156
+ d: "M47.9 101.4c.3 1.9-1.9 3.1-4.8 2.7s-5.5-2.2-5.8-4.1 1.9-3 4.8-2.7c3 .4 5.6 2.2 5.8 4.1",
157
+ opacity: ".35"
158
+ }), /*#__PURE__*/React__default.default.createElement("path", {
159
+ fill: "#FFCF9F",
160
+ d: "M73.5 60.1S62 61.7 61 67.3s10.6 6.8 12.8 5.4 5.5-11.3-.3-12.6",
161
+ opacity: ".44"
162
+ }));
163
+ };
164
+
165
+ exports.Bug = Bug;
package/Icons/Cart.js CHANGED
@@ -22,7 +22,7 @@ const Cart = _a => {
22
22
  fill: fill,
23
23
  width: width,
24
24
  height: height,
25
- viewBox: "0 0 20 24"
25
+ viewBox: "-4.73 -2.38 28.5 28.5"
26
26
  }, props), /*#__PURE__*/React__default.default.createElement("path", {
27
27
  d: "M17.677,5.214 C17.6474966,4.87676512 17.3655221,4.61778237 17.027,4.617 L14.47,4.617 C14.47,2.033 12.103,0 9.54,0 C6.976,0 4.768,2.063 4.729,4.617 L2.052,4.617 C1.71273371,4.61587046 1.42966152,4.87586137 1.402,5.214 L0.042,20.519 C0.037,22.32 1.634,23.738 3.601,23.738 L15.478,23.738 C17.444,23.738 19.042,22.32 19.042,20.578 C19.042,20.558 17.677,5.214 17.677,5.214 L17.677,5.214 Z M15.762,22.62 L3.438,22.62 C2.158,22.62 1.12,21.774 1.1,20.731 L2.45,5.5 L4.73,5.5 L4.728,7.566 C4.728,7.944 5.03,8.246 5.408,8.246 C5.786,8.246 6.088,7.944 6.088,7.566 L6.09,5.5 L13.107,5.5 L13.107,7.566 C13.107,7.944 13.409,8.246 13.787,8.246 C13.9678664,8.24679795 14.1415988,8.17550771 14.2697731,8.04789639 C14.3979474,7.92028506 14.4700018,7.7468682 14.47,7.566 L14.47,5.5 L16.745,5.5 L18.1,20.731 C18.08,21.774 17.037,22.621 15.762,22.621 L15.762,22.62 Z M9.595,1.13 C11.482,1.13 13.07,2.716 13.11,4.62 L6.09,4.62 C6.13,2.716 7.708,1.13 9.595,1.13 L9.595,1.13 Z"
28
28
  }));
package/Icons/Close.js CHANGED
@@ -18,7 +18,7 @@ const Close = _a => {
18
18
  xmlns: "http://www.w3.org/2000/svg",
19
19
  width: width,
20
20
  height: height,
21
- viewBox: "0 0 24 24",
21
+ viewBox: "-2 -2 28 28",
22
22
  ref: ref
23
23
  }, props, {
24
24
  fill: "none"
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import type { Props } from "./index.props";
3
+ export declare const Comment: ({ fill, width, height, ref, ...props }: Props) => React.JSX.Element;
@@ -0,0 +1,33 @@
1
+ 'use strict';
2
+
3
+ var tslib = require('tslib');
4
+ var React = require('react');
5
+
6
+ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
7
+
8
+ var React__default = /*#__PURE__*/_interopDefault(React);
9
+
10
+ const Comment = _a => {
11
+ var {
12
+ fill = "currentColor",
13
+ width = 24,
14
+ height = 24,
15
+ ref
16
+ } = _a,
17
+ props = tslib.__rest(_a, ["fill", "width", "height", "ref"]);
18
+ return /*#__PURE__*/React__default.default.createElement("svg", Object.assign({
19
+ xmlns: "http://www.w3.org/2000/svg",
20
+ width: width,
21
+ height: height,
22
+ viewBox: "0 0 24 24",
23
+ fill: "none",
24
+ ref: ref
25
+ }, props), /*#__PURE__*/React__default.default.createElement("path", {
26
+ fill: fill,
27
+ fillRule: "evenodd",
28
+ clipRule: "evenodd",
29
+ d: "M22 10.79c0 4.85-4.25 8.79-9.5 8.79a10 10 0 0 1-2.68-.36 12.4 12.4 0 0 1-5.49 1.73c-.29.03-.43-.35-.24-.56.6-.65 1.43-1.8 1.72-3.37A8.5 8.5 0 0 1 3 10.8C3 5.93 7.25 2 12.5 2S22 5.93 22 10.79"
30
+ }));
31
+ };
32
+
33
+ exports.Comment = Comment;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import type { Props } from "./index.props";
3
+ export declare const Console: ({ fill, width, height, ref, ...props }: Props) => React.JSX.Element;
@@ -0,0 +1,31 @@
1
+ 'use strict';
2
+
3
+ var tslib = require('tslib');
4
+ var React = require('react');
5
+
6
+ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
7
+
8
+ var React__default = /*#__PURE__*/_interopDefault(React);
9
+
10
+ const Console = _a => {
11
+ var {
12
+ fill = "currentColor",
13
+ width = 24,
14
+ height = 24,
15
+ ref
16
+ } = _a,
17
+ props = tslib.__rest(_a, ["fill", "width", "height", "ref"]);
18
+ return /*#__PURE__*/React__default.default.createElement("svg", Object.assign({
19
+ xmlns: "http://www.w3.org/2000/svg",
20
+ width: width,
21
+ height: height,
22
+ viewBox: "-0.125 0 20 20",
23
+ fill: "none",
24
+ ref: ref
25
+ }, props), /*#__PURE__*/React__default.default.createElement("path", {
26
+ fill: fill,
27
+ d: "M2 3.63c0-.83.67-1.5 1.5-1.5h3.75c.83 0 1.5.67 1.5 1.5v3.75c0 .82-.67 1.5-1.5 1.5H3.5A1.5 1.5 0 0 1 2 7.38zM11 12.5c0-.83.67-1.5 1.5-1.5h3.75c.83 0 1.5.67 1.5 1.5v3.75c0 .83-.67 1.5-1.5 1.5H12.5a1.5 1.5 0 0 1-1.5-1.5zM2 12.63c0-.83.67-1.5 1.5-1.5h3.75c.83 0 1.5.67 1.5 1.5v3.74c0 .83-.67 1.5-1.5 1.5H3.5a1.5 1.5 0 0 1-1.5-1.5zM11 3.63c0-.83.67-1.5 1.5-1.5h3.75c.83 0 1.5.67 1.5 1.5v3.75c0 .82-.67 1.5-1.5 1.5H12.5a1.5 1.5 0 0 1-1.5-1.5z"
28
+ }));
29
+ };
30
+
31
+ exports.Console = Console;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import type { Props } from "./index.props";
3
+ export declare const Cookie: ({ fill, width, height, ref, ...props }: Props) => React.JSX.Element;
@@ -0,0 +1,31 @@
1
+ 'use strict';
2
+
3
+ var tslib = require('tslib');
4
+ var React = require('react');
5
+
6
+ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
7
+
8
+ var React__default = /*#__PURE__*/_interopDefault(React);
9
+
10
+ const Cookie = _a => {
11
+ var {
12
+ fill = "currentColor",
13
+ width = 24,
14
+ height = 24,
15
+ ref
16
+ } = _a,
17
+ props = tslib.__rest(_a, ["fill", "width", "height", "ref"]);
18
+ return /*#__PURE__*/React__default.default.createElement("svg", Object.assign({
19
+ xmlns: "http://www.w3.org/2000/svg",
20
+ width: width,
21
+ height: height,
22
+ viewBox: "0 0 24 24",
23
+ fill: "none",
24
+ ref: ref
25
+ }, props), /*#__PURE__*/React__default.default.createElement("path", {
26
+ fill: fill,
27
+ d: "M12 3a9 9 0 1 0 8.87 7.5C20.6 10 20 10 20 10h-2V9c0-1-1-1-1-1h-2V7c0-1-1-1-1-1h-1V4c0-1-1-1-1-1M9.5 6a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m-3 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m5 1a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m5 2a1.5 1.5 0 1 1 0 3 1.5 1.5 0 1 1 0-3M11 16a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3"
28
+ }));
29
+ };
30
+
31
+ exports.Cookie = Cookie;
package/Icons/Copy.js CHANGED
@@ -22,7 +22,7 @@ const Copy = _a => {
22
22
  height: height,
23
23
  ref: ref
24
24
  }, props, {
25
- viewBox: "0 0 16 16"
25
+ viewBox: "-0.9 -0.9 17.8 17.8"
26
26
  }), /*#__PURE__*/React__default.default.createElement("path", {
27
27
  fillRule: "evenodd",
28
28
  clipRule: "evenodd",
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import type { Props } from "./index.props";
3
+ export declare const Copyright: ({ fill, width, height, ref, ...props }: Props) => React.JSX.Element;
@@ -0,0 +1,31 @@
1
+ 'use strict';
2
+
3
+ var tslib = require('tslib');
4
+ var React = require('react');
5
+
6
+ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
7
+
8
+ var React__default = /*#__PURE__*/_interopDefault(React);
9
+
10
+ const Copyright = _a => {
11
+ var {
12
+ fill = "currentColor",
13
+ width = 24,
14
+ height = 24,
15
+ ref
16
+ } = _a,
17
+ props = tslib.__rest(_a, ["fill", "width", "height", "ref"]);
18
+ return /*#__PURE__*/React__default.default.createElement("svg", Object.assign({
19
+ xmlns: "http://www.w3.org/2000/svg",
20
+ width: width,
21
+ height: height,
22
+ viewBox: "0 0 24 24",
23
+ fill: "none",
24
+ ref: ref
25
+ }, props), /*#__PURE__*/React__default.default.createElement("path", {
26
+ fill: fill,
27
+ d: "M10.08 10.86q.08-.5.3-.86.2-.39.59-.63a1.8 1.8 0 0 1 1.53-.1q.32.15.53.36.2.23.34.53.13.3.13.64h1.8a3 3 0 0 0-.3-1.3 3 3 0 0 0-.68-1 3.5 3.5 0 0 0-2.47-.89 4 4 0 0 0-1.7.34 4 4 0 0 0-1.2.92q-.48.58-.71 1.36A6 6 0 0 0 8 11.87v.27q0 .87.23 1.64.23.78.71 1.35t1.2.91a4 4 0 0 0 3.02.11q.61-.22 1.08-.65.46-.38.76-.92a3 3 0 0 0 .28-1.15H13.5q-.01.32-.16.57-.14.28-.34.47-.25.2-.54.3t-.6.1a2 2 0 0 1-.89-.23 1.4 1.4 0 0 1-.59-.64 2 2 0 0 1-.3-.86 7 7 0 0 1-.08-1v-.27q0-.53.08-1.01M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20m0 18a8.01 8.01 0 0 1 0-16 8.01 8.01 0 0 1 0 16"
28
+ }));
29
+ };
30
+
31
+ exports.Copyright = Copyright;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import type { Props } from "./index.props";
3
+ export declare const CurrencyGbp: ({ fill, width, height, ref, ...props }: Props) => React.JSX.Element;
@@ -0,0 +1,31 @@
1
+ 'use strict';
2
+
3
+ var tslib = require('tslib');
4
+ var React = require('react');
5
+
6
+ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
7
+
8
+ var React__default = /*#__PURE__*/_interopDefault(React);
9
+
10
+ const CurrencyGbp = _a => {
11
+ var {
12
+ fill = "currentColor",
13
+ width = 24,
14
+ height = 24,
15
+ ref
16
+ } = _a,
17
+ props = tslib.__rest(_a, ["fill", "width", "height", "ref"]);
18
+ return /*#__PURE__*/React__default.default.createElement("svg", Object.assign({
19
+ xmlns: "http://www.w3.org/2000/svg",
20
+ width: width,
21
+ height: height,
22
+ viewBox: "0 0 24 24",
23
+ fill: "none",
24
+ ref: ref
25
+ }, props), /*#__PURE__*/React__default.default.createElement("path", {
26
+ fill: fill,
27
+ d: "M6.5 21v-1.25a6 6 0 0 0 2.31-2.05q.85-1.3.87-2.95l-.02-.98-.09-.77H7v-2h2.4a18 18 0 0 1-.27-2.75 5.3 5.3 0 0 1 1.45-3.84A5.2 5.2 0 0 1 14.32 3q1.07 0 1.81.2.73.18 1.18.45l-.55 1.74a5 5 0 0 0-.97-.39 7 7 0 0 0-1.47-.16q-1.59.03-2.32.99-.73.95-.7 2.45l.1 1.49.2 1.23h3.9v2h-3.71q.14 1.51-.14 2.96A6 6 0 0 1 9.83 19H18v2z"
28
+ }));
29
+ };
30
+
31
+ exports.CurrencyGbp = CurrencyGbp;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import type { Props } from "./index.props";
3
+ export declare const Github: ({ fill, width, height, ref, ...props }: Props) => React.JSX.Element;
@@ -0,0 +1,31 @@
1
+ 'use strict';
2
+
3
+ var tslib = require('tslib');
4
+ var React = require('react');
5
+
6
+ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
7
+
8
+ var React__default = /*#__PURE__*/_interopDefault(React);
9
+
10
+ const Github = _a => {
11
+ var {
12
+ fill = "currentColor",
13
+ width = 24,
14
+ height = 24,
15
+ ref
16
+ } = _a,
17
+ props = tslib.__rest(_a, ["fill", "width", "height", "ref"]);
18
+ return /*#__PURE__*/React__default.default.createElement("svg", Object.assign({
19
+ xmlns: "http://www.w3.org/2000/svg",
20
+ width: width,
21
+ height: height,
22
+ viewBox: "0 0 24 24",
23
+ fill: "none",
24
+ ref: ref
25
+ }, props), /*#__PURE__*/React__default.default.createElement("path", {
26
+ fill: fill,
27
+ d: "M12 2a10 10 0 0 0-3.16 19.5c.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34-.46-1.16-1.11-1.47-1.11-1.47-.91-.62.07-.6.07-.6 1 .07 1.53 1.03 1.53 1.03.87 1.52 2.34 1.07 2.91.83.09-.65.35-1.09.63-1.34-2.22-.25-4.55-1.11-4.55-4.92 0-1.11.38-2 1.03-2.71-.1-.25-.45-1.29.1-2.64 0 0 .84-.27 2.75 1.02a9.4 9.4 0 0 1 5 0c1.91-1.29 2.75-1.02 2.75-1.02.55 1.35.2 2.39.1 2.64.65.71 1.03 1.6 1.03 2.71 0 3.82-2.34 4.66-4.57 4.91.36.31.69.92.69 1.85V21c0 .27.16.59.67.5A10 10 0 0 0 12 2"
28
+ }));
29
+ };
30
+
31
+ exports.Github = Github;
package/Icons/Pipette.js CHANGED
@@ -21,7 +21,7 @@ const Pipette = _a => {
21
21
  height: height
22
22
  }, props, {
23
23
  ref: ref,
24
- viewBox: "0 0 24 24",
24
+ viewBox: "0.35 -1.5 24 24",
25
25
  fill: "none"
26
26
  }), /*#__PURE__*/React__default.default.createElement("path", {
27
27
  stroke: fill,
package/Icons/Plus.js CHANGED
@@ -10,8 +10,8 @@ var React__default = /*#__PURE__*/_interopDefault(React);
10
10
  const Plus = _a => {
11
11
  var {
12
12
  fill = "currentColor",
13
- width = 18,
14
- height = 18,
13
+ width = 24,
14
+ height = 24,
15
15
  ref
16
16
  } = _a,
17
17
  props = tslib.__rest(_a, ["fill", "width", "height", "ref"]);
@@ -19,7 +19,7 @@ const Plus = _a => {
19
19
  xmlns: "http://www.w3.org/2000/svg",
20
20
  width: width,
21
21
  height: height,
22
- viewBox: "0 0 18 18",
22
+ viewBox: "-1.6 -1.6 21.2 21.2",
23
23
  ref: ref
24
24
  }, props), /*#__PURE__*/React__default.default.createElement("path", {
25
25
  fill: fill,
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import type { Props } from "./index.props";
3
+ export declare const SignIn: ({ fill, width, height, ref, ...props }: Props) => React.JSX.Element;
@@ -0,0 +1,33 @@
1
+ 'use strict';
2
+
3
+ var tslib = require('tslib');
4
+ var React = require('react');
5
+
6
+ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
7
+
8
+ var React__default = /*#__PURE__*/_interopDefault(React);
9
+
10
+ const SignIn = _a => {
11
+ var {
12
+ fill = "currentColor",
13
+ width = 24,
14
+ height = 24,
15
+ ref
16
+ } = _a,
17
+ props = tslib.__rest(_a, ["fill", "width", "height", "ref"]);
18
+ return /*#__PURE__*/React__default.default.createElement("svg", Object.assign({
19
+ xmlns: "http://www.w3.org/2000/svg",
20
+ width: width,
21
+ height: height,
22
+ viewBox: "0 0 24 24",
23
+ fill: "none",
24
+ ref: ref
25
+ }, props), /*#__PURE__*/React__default.default.createElement("path", {
26
+ fill: fill,
27
+ fillRule: "evenodd",
28
+ clipRule: "evenodd",
29
+ d: "M6.37 10.78a1 1 0 0 0 0 1.44l3.4 3.4a1.02 1.02 0 1 0 1.43-1.45l-1.65-1.65h10.43a1.02 1.02 0 0 0 0-2.04H9.55l1.65-1.65a1.02 1.02 0 0 0-1.44-1.44zM14.54 6.41a1.02 1.02 0 0 1-2.04 0v-.34a2.04 2.04 0 0 0-2.04-2.03H7.07a2.04 2.04 0 0 0-2.03 2.03v10.86a2.04 2.04 0 0 0 2.03 2.04h3.4a2.04 2.04 0 0 0 2.03-2.04v-.34a1.02 1.02 0 0 1 2.04 0v.34A4.07 4.07 0 0 1 10.46 21H7.07A4.07 4.07 0 0 1 3 16.93V6.07A4.07 4.07 0 0 1 7.07 2h3.4a4.07 4.07 0 0 1 4.07 4.07z"
30
+ }));
31
+ };
32
+
33
+ exports.SignIn = SignIn;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import type { Props } from "./index.props";
3
+ export declare const SignOut: ({ fill, width, height, ref, ...props }: Props) => React.JSX.Element;