colibri-ui 0.7.57 → 0.7.59

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 (225) hide show
  1. package/Badge/Badge.module.css +13 -15
  2. package/Badge/Control/Control.module.css +1 -1
  3. package/Button/Button.module.css +44 -30
  4. package/Button/index.props.d.ts +1 -1
  5. package/Calendar/components/ContinueButton/index.d.ts +10 -0
  6. package/Calendar/components/ContinueButton/index.js +45 -0
  7. package/Calendar/components/ContinueButton/index.module.css +4 -0
  8. package/Calendar/components/Month/Month.d.ts +15 -0
  9. package/Calendar/components/Month/Month.js +142 -0
  10. package/Calendar/components/Month/index.module.css +143 -0
  11. package/Calendar/components/Presets/index.d.ts +19 -0
  12. package/Calendar/components/Presets/index.js +68 -0
  13. package/Calendar/components/Presets/index.module.css +28 -0
  14. package/Calendar/index.d.ts +20 -0
  15. package/Calendar/index.js +196 -0
  16. package/Calendar/index.module.css +98 -0
  17. package/Calendar/package.json +6 -0
  18. package/Calendar/utils/getMonthWeeks.d.ts +20 -0
  19. package/Calendar/utils/getMonthWeeks.js +81 -0
  20. package/Calendar/utils/getNumberOfMonthsBetweenDates.d.ts +4 -0
  21. package/Calendar/utils/getNumberOfMonthsBetweenDates.js +21 -0
  22. package/Calendar/utils/getPresets.d.ts +10 -0
  23. package/Calendar/utils/getStartMonth.d.ts +6 -0
  24. package/Calendar/utils/getStartMonth.js +15 -0
  25. package/Checkbox/Checkbox.module.css +14 -14
  26. package/Checkbox/index.js +1 -1
  27. package/Counter/Counter.module.css +3 -3
  28. package/Dropdown/Dropdown.module.css +7 -7
  29. package/Dropdown/index.js +3 -2
  30. package/Grid/Grid.module.css +5 -10
  31. package/Grid/Item/Grid-Item.module.css +1 -1
  32. package/Grid/Item/index.js +4 -2
  33. package/Grid/Item/index.props.d.ts +2 -1
  34. package/Icons/Check.d.ts +4 -0
  35. package/Icons/Check.js +41 -0
  36. package/Icons/Setting.d.ts +4 -0
  37. package/Image/Image.module.css +5 -6
  38. package/InputRadio/InputRadio.module.css +7 -9
  39. package/Menu/Menu.module.css +3 -3
  40. package/Menu/components/MenuItem/MenuItem.module.css +8 -7
  41. package/Menu/components/MenuItem/index.d.ts +2 -2
  42. package/Menu/components/MenuItem/index.js +9 -9
  43. package/Menu/index.d.ts +3 -2
  44. package/Menu/index.js +3 -4
  45. package/Menu/index.props.d.ts +2 -7
  46. package/Modal/Modal.module.css +19 -19
  47. package/Modal/components/Content/Content.module.css +1 -1
  48. package/Modal/index.js +4 -4
  49. package/RadioGroup/index.d.ts +2 -1
  50. package/Select/components/MenuOverlay/index.d.ts +11 -0
  51. package/Select/components/MenuOverlay/index.js +63 -0
  52. package/Select/components/MenuOverlay/index.module.css +4 -0
  53. package/Select/components/MenuOverlayItem/index.d.ts +13 -0
  54. package/Select/components/MenuOverlayItem/index.js +45 -0
  55. package/Select/index.d.ts +1 -1
  56. package/Select/index.js +19 -34
  57. package/Select/{Select.module.css → index.module.css} +12 -17
  58. package/Select/index.props.d.ts +6 -3
  59. package/Skeleton/Skeleton.module.css +4 -4
  60. package/Switch/Switch.module.css +22 -22
  61. package/Switch/index.js +1 -1
  62. package/Theme/colors/common.d.ts +27 -0
  63. package/Theme/colors/common.js +28 -0
  64. package/Theme/colors/index.d.ts +48 -0
  65. package/Theme/colors/index.js +12 -0
  66. package/Theme/colors/theme_buenos_aires.d.ts +47 -0
  67. package/Theme/colors/theme_buenos_aires.js +40 -0
  68. package/Theme/colors/theme_default.d.ts +47 -0
  69. package/Theme/colors/theme_default.js +40 -0
  70. package/Theme/global.css +7 -5
  71. package/Theme/index.d.ts +12 -0
  72. package/Theme/themes/buenos_aires.js +7 -7
  73. package/Theme/themes/default.d.ts +12 -0
  74. package/Theme/themes/default.js +94 -82
  75. package/TimeSelect/Label/index.d.ts +8 -0
  76. package/TimeSelect/helpers.d.ts +7 -0
  77. package/TimeSelect/index.d.ts +7 -0
  78. package/TimeSelect/index.props.d.ts +4 -0
  79. package/TimeSelect/package.json +6 -0
  80. package/Typography/Typography.module.css +3 -3
  81. package/Typography/index.d.ts +2 -2
  82. package/Typography/index.js +3 -3
  83. package/Typography/index.props.d.ts +2 -1
  84. package/base/BaseInput/BaseInput.module.css +4 -4
  85. package/base/BaseInput/index.js +1 -1
  86. package/base/InputRoot/InputRoot.module.css +22 -20
  87. package/base/InputRoot/index.js +5 -5
  88. package/esm/Badge/Badge.module.css +13 -15
  89. package/esm/Badge/Control/Control.module.css +1 -1
  90. package/esm/Badge/Control/index.js +2 -2
  91. package/esm/Badge/index.js +2 -2
  92. package/esm/Button/Button.module.css +44 -30
  93. package/esm/Button/index.js +5 -5
  94. package/esm/Button/index.props.d.ts +1 -1
  95. package/esm/Calendar/components/ContinueButton/index.d.ts +10 -0
  96. package/esm/Calendar/components/ContinueButton/index.js +37 -0
  97. package/esm/Calendar/components/ContinueButton/index.module.css +4 -0
  98. package/esm/Calendar/components/Month/Month.d.ts +15 -0
  99. package/esm/Calendar/components/Month/Month.js +116 -0
  100. package/esm/Calendar/components/Month/index.module.css +143 -0
  101. package/esm/Calendar/components/Presets/index.d.ts +19 -0
  102. package/esm/Calendar/components/Presets/index.js +42 -0
  103. package/esm/Calendar/components/Presets/index.module.css +28 -0
  104. package/esm/Calendar/index.d.ts +20 -0
  105. package/esm/Calendar/index.js +186 -0
  106. package/esm/Calendar/index.module.css +98 -0
  107. package/esm/Calendar/utils/getMonthWeeks.d.ts +20 -0
  108. package/esm/Calendar/utils/getMonthWeeks.js +79 -0
  109. package/esm/Calendar/utils/getNumberOfMonthsBetweenDates.d.ts +4 -0
  110. package/esm/Calendar/utils/getNumberOfMonthsBetweenDates.js +19 -0
  111. package/esm/Calendar/utils/getPresets.d.ts +10 -0
  112. package/esm/Calendar/utils/getStartMonth.d.ts +6 -0
  113. package/esm/Calendar/utils/getStartMonth.js +13 -0
  114. package/esm/Checkbox/Checkbox.module.css +14 -14
  115. package/esm/Checkbox/index.js +9 -9
  116. package/esm/ClickOutside/index.js +3 -3
  117. package/esm/Counter/Counter.module.css +3 -3
  118. package/esm/Counter/index.js +8 -8
  119. package/esm/DotsLoader/index.js +6 -6
  120. package/esm/Dropdown/Dropdown.module.css +7 -7
  121. package/esm/Dropdown/index.js +9 -8
  122. package/esm/Grid/Grid.module.css +5 -10
  123. package/esm/Grid/Item/Grid-Item.module.css +1 -1
  124. package/esm/Grid/Item/index.js +6 -4
  125. package/esm/Grid/Item/index.props.d.ts +2 -1
  126. package/esm/Grid/index.js +2 -2
  127. package/esm/Icons/Cart.js +3 -3
  128. package/esm/Icons/Check.d.ts +4 -0
  129. package/esm/Icons/Check.js +33 -0
  130. package/esm/Icons/Chevron.js +3 -3
  131. package/esm/Icons/Close.js +3 -3
  132. package/esm/Icons/EyeClosed.js +3 -3
  133. package/esm/Icons/EyeOpen.js +4 -4
  134. package/esm/Icons/Help.js +3 -3
  135. package/esm/Icons/Info.js +3 -3
  136. package/esm/Icons/Minus.js +3 -3
  137. package/esm/Icons/More.js +5 -5
  138. package/esm/Icons/Plus.js +5 -5
  139. package/esm/Icons/Setting.d.ts +4 -0
  140. package/esm/Icons/Trash.js +3 -3
  141. package/esm/Icons/User.js +4 -4
  142. package/esm/Image/Image.module.css +5 -6
  143. package/esm/Image/index.js +4 -4
  144. package/esm/Input/index.js +4 -4
  145. package/esm/InputRadio/InputRadio.module.css +7 -9
  146. package/esm/InputRadio/index.js +7 -7
  147. package/esm/Menu/Menu.module.css +3 -3
  148. package/esm/Menu/components/MenuItem/MenuItem.module.css +8 -7
  149. package/esm/Menu/components/MenuItem/index.d.ts +2 -2
  150. package/esm/Menu/components/MenuItem/index.js +11 -11
  151. package/esm/Menu/index.d.ts +3 -2
  152. package/esm/Menu/index.js +5 -6
  153. package/esm/Menu/index.props.d.ts +2 -7
  154. package/esm/Modal/Modal.module.css +19 -19
  155. package/esm/Modal/components/Close/index.js +2 -2
  156. package/esm/Modal/components/Content/Content.module.css +1 -1
  157. package/esm/Modal/components/Content/index.js +2 -2
  158. package/esm/Modal/components/Title/index.js +3 -3
  159. package/esm/Modal/index.js +13 -13
  160. package/esm/RadioGroup/Radio.js +2 -2
  161. package/esm/RadioGroup/index.d.ts +2 -1
  162. package/esm/RadioGroup/index.js +3 -3
  163. package/esm/Select/components/MenuOverlay/index.d.ts +11 -0
  164. package/esm/Select/components/MenuOverlay/index.js +53 -0
  165. package/esm/Select/components/MenuOverlay/index.module.css +4 -0
  166. package/esm/Select/components/MenuOverlayItem/index.d.ts +13 -0
  167. package/esm/Select/components/MenuOverlayItem/index.js +37 -0
  168. package/esm/Select/index.d.ts +1 -1
  169. package/esm/Select/index.js +26 -41
  170. package/esm/Select/{Select.module.css → index.module.css} +12 -17
  171. package/esm/Select/index.props.d.ts +6 -3
  172. package/esm/Separator/index.js +2 -2
  173. package/esm/Skeleton/Skeleton.module.css +4 -4
  174. package/esm/Skeleton/index.js +3 -3
  175. package/esm/Switch/Switch.module.css +22 -22
  176. package/esm/Switch/index.js +6 -6
  177. package/esm/Theme/colors/common.d.ts +27 -0
  178. package/esm/Theme/colors/common.js +20 -0
  179. package/esm/Theme/colors/index.d.ts +48 -0
  180. package/esm/Theme/colors/index.js +8 -0
  181. package/esm/Theme/colors/theme_buenos_aires.d.ts +47 -0
  182. package/esm/Theme/colors/theme_buenos_aires.js +31 -0
  183. package/esm/Theme/colors/theme_default.d.ts +47 -0
  184. package/esm/Theme/colors/theme_default.js +31 -0
  185. package/esm/Theme/global.css +7 -5
  186. package/esm/Theme/index.d.ts +12 -0
  187. package/esm/Theme/themes/buenos_aires.js +1 -1
  188. package/esm/Theme/themes/default.d.ts +12 -0
  189. package/esm/Theme/themes/default.js +13 -1
  190. package/esm/TimeSelect/Label/index.d.ts +8 -0
  191. package/esm/TimeSelect/helpers.d.ts +7 -0
  192. package/esm/TimeSelect/index.d.ts +7 -0
  193. package/esm/TimeSelect/index.props.d.ts +4 -0
  194. package/esm/Typography/Typography.module.css +3 -3
  195. package/esm/Typography/index.d.ts +2 -2
  196. package/esm/Typography/index.js +5 -5
  197. package/esm/Typography/index.props.d.ts +2 -1
  198. package/esm/base/BaseInput/BaseInput.module.css +4 -4
  199. package/esm/base/BaseInput/index.js +3 -3
  200. package/esm/base/FormField/index.js +4 -4
  201. package/esm/base/InputRoot/InputRoot.module.css +22 -20
  202. package/esm/base/InputRoot/index.js +8 -8
  203. package/esm/helpers/date/index.d.ts +11 -0
  204. package/esm/helpers/date/index.js +69 -0
  205. package/esm/index.d.ts +3 -1
  206. package/esm/index.js +2 -0
  207. package/esm/libs/numbers/leadingZeros.d.ts +4 -0
  208. package/esm/libs/numbers/leadingZeros.js +12 -0
  209. package/esm/libs/requestIdleCallback/index.d.ts +5 -0
  210. package/esm/libs/requestIdleCallback/index.js +9 -0
  211. package/esm/theme_default_variables.css +12 -0
  212. package/helpers/date/index.d.ts +11 -0
  213. package/helpers/date/index.js +79 -0
  214. package/index.d.ts +3 -1
  215. package/index.js +43 -39
  216. package/libs/numbers/leadingZeros.d.ts +4 -0
  217. package/libs/numbers/leadingZeros.js +14 -0
  218. package/libs/requestIdleCallback/index.d.ts +5 -0
  219. package/libs/requestIdleCallback/index.js +11 -0
  220. package/package.json +2 -1
  221. package/theme_default_variables.css +12 -0
  222. package/Theme/color.d.ts +0 -118
  223. package/Theme/color.js +0 -88
  224. package/esm/Theme/color.d.ts +0 -118
  225. package/esm/Theme/color.js +0 -72
@@ -1,13 +1,13 @@
1
- import React from 'react';
1
+ import React__default from 'react';
2
2
  import classNames from 'classnames/bind';
3
3
  import styles from './DotsLoader.module.css';
4
4
 
5
5
  var clx = classNames.bind(styles);
6
6
  var DotsLoader = function DotsLoader(_a) {
7
7
  var color = _a.color;
8
- return /*#__PURE__*/React.createElement("div", {
8
+ return /*#__PURE__*/React__default.createElement("div", {
9
9
  className: clx("wrapper")
10
- }, /*#__PURE__*/React.createElement("div", {
10
+ }, /*#__PURE__*/React__default.createElement("div", {
11
11
  style: {
12
12
  backgroundColor: color
13
13
  },
@@ -15,7 +15,7 @@ var DotsLoader = function DotsLoader(_a) {
15
15
  dot: true,
16
16
  dot_first: true
17
17
  })
18
- }), /*#__PURE__*/React.createElement("div", {
18
+ }), /*#__PURE__*/React__default.createElement("div", {
19
19
  style: {
20
20
  backgroundColor: color
21
21
  },
@@ -23,7 +23,7 @@ var DotsLoader = function DotsLoader(_a) {
23
23
  dot: true,
24
24
  dot_second: true
25
25
  })
26
- }), /*#__PURE__*/React.createElement("div", {
26
+ }), /*#__PURE__*/React__default.createElement("div", {
27
27
  style: {
28
28
  backgroundColor: color
29
29
  },
@@ -31,7 +31,7 @@ var DotsLoader = function DotsLoader(_a) {
31
31
  dot: true,
32
32
  dot_third: true
33
33
  })
34
- }), /*#__PURE__*/React.createElement("div", {
34
+ }), /*#__PURE__*/React__default.createElement("div", {
35
35
  style: {
36
36
  backgroundColor: color
37
37
  },
@@ -1,13 +1,13 @@
1
- .popperContainer {
2
- padding-top: 2px;
1
+ .popper-container {
3
2
  padding-bottom: 2px;
3
+ padding-top: 2px;
4
4
  }
5
5
 
6
- .overlayContainer {
7
- border-width: 1px;
8
- border-style: solid;
6
+ .overlay-container {
7
+ background-color: var(--palette-white);
8
+ border-color: var(--palette-bg-2);
9
9
  border-radius: 4px;
10
+ border-style: solid;
11
+ border-width: 1px;
10
12
  overflow: hidden;
11
- border-color: var(--palette-bg-2);
12
- background-color: var(--palette-white);
13
13
  }
@@ -1,5 +1,5 @@
1
1
  import { __assign } from 'tslib';
2
- import React, { useState, useMemo, Children, useCallback, useEffect } from 'react';
2
+ import React__default, { useState, useMemo, Children, useCallback, useEffect } from 'react';
3
3
  import { usePopper } from 'react-popper';
4
4
  import classNames from 'classnames';
5
5
  import Portal from '../Portal/index.js';
@@ -51,7 +51,7 @@ var Dropdown = function Dropdown(_a) {
51
51
  update = _l.update;
52
52
  var isNotComponent = typeof children === "string";
53
53
  var reference = useMemo(function () {
54
- return Children.only(isNotComponent ? /*#__PURE__*/React.createElement("button", null, children) : children);
54
+ return Children.only(isNotComponent ? /*#__PURE__*/React__default.createElement("button", null, children) : children);
55
55
  }, [children, isNotComponent]);
56
56
  var onToggle = useCallback(function (e) {
57
57
  e.stopPropagation();
@@ -109,14 +109,15 @@ var Dropdown = function Dropdown(_a) {
109
109
  useEffect(function () {
110
110
  if (update) update();
111
111
  }, [update, visible]);
112
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(reference.type, __assign({
112
+ return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(reference.type, __assign({
113
113
  ref: setControlElement,
114
114
  tabIndex: 0
115
- }, reference.props)), isVisible && ( /*#__PURE__*/React.createElement(Portal, null, /*#__PURE__*/React.createElement(ClickOutside, {
115
+ }, reference.props)), isVisible && ( /*#__PURE__*/React__default.createElement(Portal, null, /*#__PURE__*/React__default.createElement(ClickOutside, {
116
116
  onClick: onClickOutside
117
- }, /*#__PURE__*/React.createElement("div", __assign({
117
+ }, /*#__PURE__*/React__default.createElement("div", __assign({
118
118
  ref: setPopperElement,
119
- className: classNames(dropDownStyles.popperContainer),
119
+ "data-component": "popper-container",
120
+ className: classNames(dropDownStyles["popper-container"]),
120
121
  style: __assign(__assign(__assign({}, styles.popper), {
121
122
  zIndex: zIndex,
122
123
  minWidth: controlElement === null || controlElement === void 0 ? void 0 : controlElement.offsetWidth
@@ -124,8 +125,8 @@ var Dropdown = function Dropdown(_a) {
124
125
  maxWidth: controlElement === null || controlElement === void 0 ? void 0 : controlElement.offsetWidth
125
126
  }),
126
127
  tabIndex: 0
127
- }, attributes.popper), /*#__PURE__*/React.createElement("div", {
128
- className: classNames(dropDownStyles.overlayContainer),
128
+ }, attributes.popper), /*#__PURE__*/React__default.createElement("div", {
129
+ className: classNames(dropDownStyles["overlay-container"]),
129
130
  onClick: onClickOverlay
130
131
  }, overlay))))));
131
132
  };
@@ -1,19 +1,14 @@
1
- .root {
2
- display: grid;
3
- grid-gap: 10px;
4
- }
5
-
6
1
  .root {
7
2
  display: flex;
8
3
  flex-wrap: wrap;
9
4
  }
10
5
 
11
- .root {
12
- display: grid;
13
- grid-auto-rows: minmax(150px, auto);
14
- }
15
-
16
6
  @supports (display: grid) {
7
+ .root {
8
+ display: grid;
9
+ grid-auto-rows: minmax(150px, auto);
10
+ grid-gap: 10px;
11
+ }
17
12
  .root > * {
18
13
  margin: 0;
19
14
  }
@@ -3,7 +3,7 @@
3
3
  }
4
4
 
5
5
  .item {
6
+ flex: 1 1 250px;
6
7
  margin-left: 5px;
7
8
  margin-right: 5px;
8
- flex: 1 1 250px;
9
9
  }
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import React__default from 'react';
2
2
  import classNames from 'classnames';
3
3
  import styles from './Grid-Item.module.css';
4
4
 
@@ -7,9 +7,11 @@ var GridItem = function GridItem(_a) {
7
7
  var children = _a.children,
8
8
  _c = _a.fullWidth,
9
9
  fullWidth = _c === void 0 ? false : _c,
10
- className = _a.className;
11
- return /*#__PURE__*/React.createElement("div", {
12
- className: classNames(styles.item, (_b = {}, _b[styles.full] = fullWidth, _b), className)
10
+ className = _a.className,
11
+ style = _a.style;
12
+ return /*#__PURE__*/React__default.createElement("div", {
13
+ className: classNames(styles.item, (_b = {}, _b[styles.full] = fullWidth, _b), className),
14
+ style: style
13
15
  }, children);
14
16
  };
15
17
 
@@ -1,6 +1,7 @@
1
- import type { ReactNode } from "react";
1
+ import type { CSSProperties, ReactNode } from "react";
2
2
  export type GridItemProps = {
3
3
  children: ReactNode;
4
4
  fullWidth?: boolean;
5
5
  className?: string;
6
+ style?: CSSProperties;
6
7
  };
package/esm/Grid/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import React__default from 'react';
2
2
  import classNames from 'classnames';
3
3
  import styles from './Grid.module.css';
4
4
 
@@ -11,7 +11,7 @@ var Grid = function Grid(_a) {
11
11
  _d = _a.gridItemMinWidth,
12
12
  gridItemMinWidth = _d === void 0 ? 250 : _d,
13
13
  className = _a.className;
14
- return /*#__PURE__*/React.createElement("div", {
14
+ return /*#__PURE__*/React__default.createElement("div", {
15
15
  className: classNames(styles.root, className),
16
16
  style: {
17
17
  rowGap: "".concat(gridRowGap, "px"),
package/esm/Icons/Cart.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { __rest, __assign } from 'tslib';
2
- import React, { forwardRef } from 'react';
2
+ import React__default, { forwardRef } from 'react';
3
3
 
4
4
  var Cart = /*#__PURE__*/forwardRef(function (_a, ref) {
5
5
  var _b = _a.fill,
@@ -9,7 +9,7 @@ var Cart = /*#__PURE__*/forwardRef(function (_a, ref) {
9
9
  _d = _a.height,
10
10
  height = _d === void 0 ? 24 : _d,
11
11
  props = __rest(_a, ["fill", "width", "height"]);
12
- return /*#__PURE__*/React.createElement("svg", __assign({
12
+ return /*#__PURE__*/React__default.createElement("svg", __assign({
13
13
  xmlns: "http://www.w3.org/2000/svg",
14
14
  focusable: "false",
15
15
  ref: ref,
@@ -17,7 +17,7 @@ var Cart = /*#__PURE__*/forwardRef(function (_a, ref) {
17
17
  width: width,
18
18
  height: height,
19
19
  viewBox: "0 0 20 24"
20
- }, props), /*#__PURE__*/React.createElement("path", {
20
+ }, props), /*#__PURE__*/React__default.createElement("path", {
21
21
  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"
22
22
  }));
23
23
  });
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import type { Props } from "./index.props";
3
+ declare const _default: React.ForwardRefExoticComponent<Props & React.RefAttributes<SVGSVGElement>>;
4
+ export default _default;
@@ -0,0 +1,33 @@
1
+ import { __rest, __assign } from 'tslib';
2
+ import React__default, { forwardRef } from 'react';
3
+
4
+ var Check = /*#__PURE__*/forwardRef(function (_a, ref) {
5
+ var _b = _a.fill,
6
+ fill = _b === void 0 ? "currentColor" : _b,
7
+ _c = _a.width,
8
+ width = _c === void 0 ? 24 : _c,
9
+ _d = _a.height,
10
+ height = _d === void 0 ? 24 : _d,
11
+ props = __rest(_a, ["fill", "width", "height"]);
12
+ return /*#__PURE__*/React__default.createElement("svg", __assign({
13
+ xmlns: "http://www.w3.org/2000/svg",
14
+ width: width,
15
+ height: height,
16
+ ref: ref
17
+ }, props, {
18
+ viewBox: "0 0 24 24",
19
+ fill: "none"
20
+ }), /*#__PURE__*/React__default.createElement("g", {
21
+ clipPath: "url(#a)"
22
+ }, /*#__PURE__*/React__default.createElement("path", {
23
+ fill: fill,
24
+ d: "m9.109 15.441-5.23-5.402L2 11.69 9.075 19 21.443 6.682 19.595 5z"
25
+ })), /*#__PURE__*/React__default.createElement("defs", null, /*#__PURE__*/React__default.createElement("clipPath", {
26
+ id: "a"
27
+ }, /*#__PURE__*/React__default.createElement("path", {
28
+ fill: "#fff",
29
+ d: "M0 0h24v24H0z"
30
+ }))));
31
+ });
32
+
33
+ export { Check as default };
@@ -1,5 +1,5 @@
1
1
  import { __rest, __assign } from 'tslib';
2
- import React, { forwardRef } from 'react';
2
+ import React__default, { forwardRef } from 'react';
3
3
 
4
4
  var Chevron = /*#__PURE__*/forwardRef(function (_a, ref) {
5
5
  var _b = _a.fill,
@@ -9,7 +9,7 @@ var Chevron = /*#__PURE__*/forwardRef(function (_a, ref) {
9
9
  _d = _a.height,
10
10
  height = _d === void 0 ? 24 : _d,
11
11
  props = __rest(_a, ["fill", "width", "height"]);
12
- return /*#__PURE__*/React.createElement("svg", __assign({
12
+ return /*#__PURE__*/React__default.createElement("svg", __assign({
13
13
  xmlns: "http://www.w3.org/2000/svg",
14
14
  fill: fill,
15
15
  width: width,
@@ -17,7 +17,7 @@ var Chevron = /*#__PURE__*/forwardRef(function (_a, ref) {
17
17
  ref: ref
18
18
  }, props, {
19
19
  viewBox: "0 0 16 16"
20
- }), /*#__PURE__*/React.createElement("path", {
20
+ }), /*#__PURE__*/React__default.createElement("path", {
21
21
  fillRule: "evenodd",
22
22
  clipRule: "evenodd",
23
23
  d: "M3.5492 5.50873C3.82061 5.25994 4.24232 5.27827 4.49111 5.54968C5.08905 6.20198 6.07747 7.19075 6.9255 8.02488C7.34221 8.43475 7.72193 8.80427 7.99968 9.07343C8.27742 8.80427 8.65715 8.43475 9.07385 8.02488C9.92189 7.19075 10.9103 6.20198 11.5082 5.54968C11.757 5.27827 12.1787 5.25994 12.4502 5.50873C12.7216 5.75753 12.7399 6.17924 12.4911 6.45065C11.8668 7.13169 10.8552 8.14292 10.0088 8.97545C9.58374 9.39358 9.19708 9.76978 8.91672 10.0414C8.7765 10.1773 8.66281 10.2871 8.58411 10.3629L8.46141 10.481C8.46138 10.4811 8.46137 10.4811 7.99968 10.0002C7.53799 10.4811 7.53797 10.4811 7.53794 10.481L7.41525 10.3629C7.33655 10.2871 7.22285 10.1773 7.08264 10.0414C6.80227 9.76978 6.41562 9.39358 5.99052 8.97545C5.14411 8.14292 4.13253 7.13169 3.50824 6.45065C3.25945 6.17924 3.27778 5.75753 3.5492 5.50873ZM7.99968 10.0002L7.53794 10.481C7.79592 10.7287 8.20344 10.7287 8.46141 10.481L7.99968 10.0002Z",
@@ -1,5 +1,5 @@
1
1
  import { __rest, __assign } from 'tslib';
2
- import React, { forwardRef } from 'react';
2
+ import React__default, { forwardRef } from 'react';
3
3
 
4
4
  var CloseIcon = /*#__PURE__*/forwardRef(function (_a, ref) {
5
5
  var _b = _a.width,
@@ -7,7 +7,7 @@ var CloseIcon = /*#__PURE__*/forwardRef(function (_a, ref) {
7
7
  _c = _a.height,
8
8
  height = _c === void 0 ? 24 : _c,
9
9
  props = __rest(_a, ["width", "height"]);
10
- return /*#__PURE__*/React.createElement("svg", __assign({
10
+ return /*#__PURE__*/React__default.createElement("svg", __assign({
11
11
  xmlns: "http://www.w3.org/2000/svg",
12
12
  fill: "none",
13
13
  width: width,
@@ -15,7 +15,7 @@ var CloseIcon = /*#__PURE__*/forwardRef(function (_a, ref) {
15
15
  ref: ref
16
16
  }, props, {
17
17
  viewBox: "0 0 12 12"
18
- }), /*#__PURE__*/React.createElement("path", {
18
+ }), /*#__PURE__*/React__default.createElement("path", {
19
19
  fillRule: "evenodd",
20
20
  clipRule: "evenodd",
21
21
  d: "M3.14645 3.14645C3.34171 2.95118 3.65829 2.95118 3.85355 3.14645L6 5.29289L8.14645 3.14645C8.34171 2.95118 8.65829 2.95118 8.85355 3.14645C9.04882 3.34171 9.04882 3.65829 8.85355 3.85355L6.70711 6L8.85355 8.14645C9.04882 8.34171 9.04882 8.65829 8.85355 8.85355C8.65829 9.04882 8.34171 9.04882 8.14645 8.85355L6 6.70711L3.85355 8.85355C3.65829 9.04882 3.34171 9.04882 3.14645 8.85355C2.95118 8.65829 2.95118 8.34171 3.14645 8.14645L5.29289 6L3.14645 3.85355C2.95118 3.65829 2.95118 3.34171 3.14645 3.14645Z",
@@ -1,5 +1,5 @@
1
1
  import { __rest, __assign } from 'tslib';
2
- import React, { forwardRef } from 'react';
2
+ import React__default, { forwardRef } from 'react';
3
3
 
4
4
  var EyeClosed = /*#__PURE__*/forwardRef(function (_a, ref) {
5
5
  var _b = _a.fill,
@@ -9,7 +9,7 @@ var EyeClosed = /*#__PURE__*/forwardRef(function (_a, ref) {
9
9
  _d = _a.height,
10
10
  height = _d === void 0 ? 24 : _d,
11
11
  props = __rest(_a, ["fill", "width", "height"]);
12
- return /*#__PURE__*/React.createElement("svg", __assign({
12
+ return /*#__PURE__*/React__default.createElement("svg", __assign({
13
13
  xmlns: "http://www.w3.org/2000/svg",
14
14
  fill: fill,
15
15
  width: width,
@@ -17,7 +17,7 @@ var EyeClosed = /*#__PURE__*/forwardRef(function (_a, ref) {
17
17
  ref: ref
18
18
  }, props, {
19
19
  viewBox: "0 0 24 24"
20
- }), /*#__PURE__*/React.createElement("path", {
20
+ }), /*#__PURE__*/React__default.createElement("path", {
21
21
  d: "M4.204 11.5a1 1 0 0 0-1.732 1l1.732-1Zm17.324 1a1 1 0 0 0-1.731-1l1.73 1ZM12 16a8.996 8.996 0 0 1-7.796-4.5l-1.732 1C4.372 15.787 7.927 18 12 18v-2Zm7.797-4.5A8.996 8.996 0 0 1 12 16v2c4.073 0 7.627-2.214 9.528-5.5l-1.731-1Z"
22
22
  }));
23
23
  });
@@ -1,5 +1,5 @@
1
1
  import { __rest, __assign } from 'tslib';
2
- import React, { forwardRef } from 'react';
2
+ import React__default, { forwardRef } from 'react';
3
3
 
4
4
  var EyeOpen = /*#__PURE__*/forwardRef(function (_a, ref) {
5
5
  var _b = _a.fill,
@@ -9,7 +9,7 @@ var EyeOpen = /*#__PURE__*/forwardRef(function (_a, ref) {
9
9
  _d = _a.height,
10
10
  height = _d === void 0 ? 24 : _d,
11
11
  props = __rest(_a, ["fill", "width", "height"]);
12
- return /*#__PURE__*/React.createElement("svg", __assign({
12
+ return /*#__PURE__*/React__default.createElement("svg", __assign({
13
13
  xmlns: "http://www.w3.org/2000/svg",
14
14
  fill: fill,
15
15
  width: width,
@@ -17,9 +17,9 @@ var EyeOpen = /*#__PURE__*/forwardRef(function (_a, ref) {
17
17
  ref: ref
18
18
  }, props, {
19
19
  viewBox: "0 0 24 24"
20
- }), /*#__PURE__*/React.createElement("path", {
20
+ }), /*#__PURE__*/React__default.createElement("path", {
21
21
  d: "m3.338 12-.866-.5-.29.5.29.5.866-.5Zm17.324 0 .866.5.29-.5-.29-.5-.866.5Zm-16.459.5A8.996 8.996 0 0 1 12 8V6a10.996 10.996 0 0 0-9.528 5.5l1.731 1ZM12 8a8.996 8.996 0 0 1 7.797 4.5l1.73-1A10.996 10.996 0 0 0 12 6v2Zm7.797 3.5A8.996 8.996 0 0 1 12 16v2c4.073 0 7.627-2.214 9.528-5.5l-1.731-1ZM12 16a8.996 8.996 0 0 1-7.796-4.5l-1.732 1C4.372 15.787 7.927 18 12 18v-2Z"
22
- }), /*#__PURE__*/React.createElement("circle", {
22
+ }), /*#__PURE__*/React__default.createElement("circle", {
23
23
  cx: 12,
24
24
  cy: 12,
25
25
  r: 2,
package/esm/Icons/Help.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { __rest, __assign } from 'tslib';
2
- import React, { forwardRef } from 'react';
2
+ import React__default, { forwardRef } from 'react';
3
3
 
4
4
  var Help = /*#__PURE__*/forwardRef(function (_a, ref) {
5
5
  var _b = _a.width,
@@ -7,14 +7,14 @@ var Help = /*#__PURE__*/forwardRef(function (_a, ref) {
7
7
  _c = _a.height,
8
8
  height = _c === void 0 ? 24 : _c,
9
9
  props = __rest(_a, ["width", "height"]);
10
- return /*#__PURE__*/React.createElement("svg", __assign({
10
+ return /*#__PURE__*/React__default.createElement("svg", __assign({
11
11
  xmlns: "http://www.w3.org/2000/svg",
12
12
  width: width,
13
13
  height: height,
14
14
  ref: ref
15
15
  }, props, {
16
16
  fill: "none"
17
- }), /*#__PURE__*/React.createElement("path", {
17
+ }), /*#__PURE__*/React__default.createElement("path", {
18
18
  fillRule: "evenodd",
19
19
  clipRule: "evenodd",
20
20
  d: "M12 22a10 10 0 1 0 0-20 10 10 0 0 0 0 20zM7.8 8.929c0-2.429 1.956-3.933 4.566-3.933 2.573 0 4.385 1.54 4.385 3.625v.109c0 1.975-1.141 2.881-2.664 3.57l-.362.162c-.435.2-.58.418-.58.963a.707.707 0 0 1-.707.706h-.562a.835.835 0 0 1-.833-.834c0-1.232.398-1.94 1.467-2.41l.363-.163c1.268-.58 1.776-1.034 1.776-2.013 0-1.032-.905-1.757-2.283-1.757-1.415 0-2.466.725-2.466 2.083a.525.525 0 0 1-.525.525h-.943a.634.634 0 0 1-.635-.633H7.8zm4.295 6.126a1.527 1.527 0 0 0-1.559 1.559c0 .906.689 1.577 1.559 1.577.887 0 1.576-.671 1.576-1.577 0-.907-.687-1.559-1.576-1.559z",
package/esm/Icons/Info.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { __rest, __assign } from 'tslib';
2
- import React, { forwardRef } from 'react';
2
+ import React__default, { forwardRef } from 'react';
3
3
 
4
4
  var Info = /*#__PURE__*/forwardRef(function (_a, ref) {
5
5
  var _b = _a.fill,
@@ -9,7 +9,7 @@ var Info = /*#__PURE__*/forwardRef(function (_a, ref) {
9
9
  _d = _a.height,
10
10
  height = _d === void 0 ? 24 : _d,
11
11
  props = __rest(_a, ["fill", "width", "height"]);
12
- return /*#__PURE__*/React.createElement("svg", __assign({
12
+ return /*#__PURE__*/React__default.createElement("svg", __assign({
13
13
  width: width,
14
14
  height: height,
15
15
  viewBox: "0 0 24 24",
@@ -17,7 +17,7 @@ var Info = /*#__PURE__*/forwardRef(function (_a, ref) {
17
17
  ref: ref
18
18
  }, props, {
19
19
  xmlns: "http://www.w3.org/2000/svg"
20
- }), /*#__PURE__*/React.createElement("path", {
20
+ }), /*#__PURE__*/React__default.createElement("path", {
21
21
  d: "M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm-.696-3.534c.63 0 1.332-.288 2.196-1.458l.911-1.22a.334.334 0 0 0-.074-.472.38.38 0 0 0-.505.06l-1.475 1.679a.241.241 0 0 1-.279.061.211.211 0 0 1-.12-.244l1.858-7.446a.499.499 0 0 0-.575-.613l-3.35.613a.35.35 0 0 0-.276.258l-.086.334a.25.25 0 0 0 .243.312h1.73l-1.476 5.922c-.054.234-.144.63-.144.918 0 .666.396 1.296 1.422 1.296zm1.83-10.536c.702 0 1.242-.414 1.386-1.044.036-.144.054-.306.054-.414 0-.504-.396-.972-1.134-.972-.702 0-1.242.414-1.386 1.044a1.868 1.868 0 0 0-.054.414c0 .504.396.972 1.134.972z",
22
22
  fill: fill
23
23
  }));
@@ -1,5 +1,5 @@
1
1
  import { __rest, __assign } from 'tslib';
2
- import React, { forwardRef } from 'react';
2
+ import React__default, { forwardRef } from 'react';
3
3
 
4
4
  var MinusIcon = /*#__PURE__*/forwardRef(function (_a, ref) {
5
5
  var _b = _a.fill,
@@ -9,12 +9,12 @@ var MinusIcon = /*#__PURE__*/forwardRef(function (_a, ref) {
9
9
  _d = _a.height,
10
10
  height = _d === void 0 ? 24 : _d,
11
11
  props = __rest(_a, ["fill", "width", "height"]);
12
- return /*#__PURE__*/React.createElement("svg", __assign({
12
+ return /*#__PURE__*/React__default.createElement("svg", __assign({
13
13
  width: width,
14
14
  height: height,
15
15
  viewBox: "0 0 24 24",
16
16
  ref: ref
17
- }, props), /*#__PURE__*/React.createElement("path", {
17
+ }, props), /*#__PURE__*/React__default.createElement("path", {
18
18
  fill: fill,
19
19
  d: "M4 13h16v-2H4z",
20
20
  fillRule: "evenodd"
package/esm/Icons/More.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { __rest, __assign } from 'tslib';
2
- import React, { forwardRef } from 'react';
2
+ import React__default, { forwardRef } from 'react';
3
3
 
4
4
  var More = /*#__PURE__*/forwardRef(function (_a, ref) {
5
5
  var _b = _a.fill,
@@ -9,7 +9,7 @@ var More = /*#__PURE__*/forwardRef(function (_a, ref) {
9
9
  _d = _a.height,
10
10
  height = _d === void 0 ? 24 : _d,
11
11
  props = __rest(_a, ["fill", "width", "height"]);
12
- return /*#__PURE__*/React.createElement("svg", __assign({
12
+ return /*#__PURE__*/React__default.createElement("svg", __assign({
13
13
  xmlns: "http://www.w3.org/2000/svg",
14
14
  fill: fill,
15
15
  width: width,
@@ -17,15 +17,15 @@ var More = /*#__PURE__*/forwardRef(function (_a, ref) {
17
17
  ref: ref
18
18
  }, props, {
19
19
  viewBox: "0 0 24 24"
20
- }), /*#__PURE__*/React.createElement("circle", {
20
+ }), /*#__PURE__*/React__default.createElement("circle", {
21
21
  cx: "5",
22
22
  cy: "12",
23
23
  r: "1.75"
24
- }), /*#__PURE__*/React.createElement("circle", {
24
+ }), /*#__PURE__*/React__default.createElement("circle", {
25
25
  cx: "12",
26
26
  cy: "12",
27
27
  r: "1.75"
28
- }), /*#__PURE__*/React.createElement("circle", {
28
+ }), /*#__PURE__*/React__default.createElement("circle", {
29
29
  cx: "19",
30
30
  cy: "12",
31
31
  r: "1.75"
package/esm/Icons/Plus.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { __rest, __assign } from 'tslib';
2
- import React, { forwardRef } from 'react';
2
+ import React__default, { forwardRef } from 'react';
3
3
 
4
4
  var PlusIcon = /*#__PURE__*/forwardRef(function (_a, ref) {
5
5
  var _b = _a.fill,
@@ -9,7 +9,7 @@ var PlusIcon = /*#__PURE__*/forwardRef(function (_a, ref) {
9
9
  _d = _a.height,
10
10
  height = _d === void 0 ? 24 : _d,
11
11
  props = __rest(_a, ["fill", "width", "height"]);
12
- return /*#__PURE__*/React.createElement("svg", __assign({
12
+ return /*#__PURE__*/React__default.createElement("svg", __assign({
13
13
  xmlns: "http://www.w3.org/2000/svg",
14
14
  fill: fill,
15
15
  width: width,
@@ -17,12 +17,12 @@ var PlusIcon = /*#__PURE__*/forwardRef(function (_a, ref) {
17
17
  ref: ref
18
18
  }, props, {
19
19
  viewBox: "0 0 24 24"
20
- }), /*#__PURE__*/React.createElement("g", {
20
+ }), /*#__PURE__*/React__default.createElement("g", {
21
21
  fill: fill,
22
22
  fillRule: "evenodd"
23
- }, /*#__PURE__*/React.createElement("path", {
23
+ }, /*#__PURE__*/React__default.createElement("path", {
24
24
  d: "M4 13h16v-2H4z"
25
- }), /*#__PURE__*/React.createElement("path", {
25
+ }), /*#__PURE__*/React__default.createElement("path", {
26
26
  d: "M11 4v16h2V4z"
27
27
  })));
28
28
  });
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import type { Props } from "./index.props";
3
+ declare const _default: React.ForwardRefExoticComponent<Props & React.RefAttributes<SVGSVGElement>>;
4
+ export default _default;
@@ -1,5 +1,5 @@
1
1
  import { __rest, __assign } from 'tslib';
2
- import React, { forwardRef } from 'react';
2
+ import React__default, { forwardRef } from 'react';
3
3
 
4
4
  var Trash = /*#__PURE__*/forwardRef(function (_a, ref) {
5
5
  var _b = _a.fill,
@@ -9,7 +9,7 @@ var Trash = /*#__PURE__*/forwardRef(function (_a, ref) {
9
9
  _d = _a.height,
10
10
  height = _d === void 0 ? 24 : _d,
11
11
  props = __rest(_a, ["fill", "width", "height"]);
12
- return /*#__PURE__*/React.createElement("svg", __assign({
12
+ return /*#__PURE__*/React__default.createElement("svg", __assign({
13
13
  xmlns: "http://www.w3.org/2000/svg",
14
14
  fill: "none",
15
15
  width: width,
@@ -17,7 +17,7 @@ var Trash = /*#__PURE__*/forwardRef(function (_a, ref) {
17
17
  ref: ref
18
18
  }, props, {
19
19
  viewBox: "0 0 24 24"
20
- }), /*#__PURE__*/React.createElement("path", {
20
+ }), /*#__PURE__*/React__default.createElement("path", {
21
21
  fillRule: "evenodd",
22
22
  clipRule: "evenodd",
23
23
  d: "M12.663 1.5h-1.326c-1.069 0-1.49.09-1.921.27-.432.181-.792.453-1.084.82-.292.365-.493.746-.784 1.774L7.368 5H5a1 1 0 0 0 0 2h.5l.844 12.666A2.5 2.5 0 0 0 8.84 22h6.322a2.5 2.5 0 0 0 2.495-2.334L18.5 7.001V7h.5a1 1 0 1 0 0-2h-2.367l-.18-.636c-.292-1.028-.493-1.409-.785-1.775a2.694 2.694 0 0 0-1.084-.819c-.431-.18-.852-.27-1.92-.27zm1.89 3.5l-.025-.09c-.203-.717-.29-.905-.424-1.074a.696.696 0 0 0-.292-.221c-.2-.084-.404-.115-1.149-.115h-1.326c-.745 0-.95.031-1.149.115a.696.696 0 0 0-.292.221c-.135.169-.221.357-.424 1.074L9.446 5h5.108zm1.943 2H7.505l.835 12.533a.5.5 0 0 0 .499.467h6.322a.5.5 0 0 0 .499-.467L16.496 7zM9.4 9.63a.85.85 0 0 1 1.699-.059l.272 7.795a.85.85 0 1 1-1.7.06L9.4 9.63zm4.381-.879a.85.85 0 0 0-.88.82l-.271 7.795a.85.85 0 1 0 1.699.06L14.6 9.63a.85.85 0 0 0-.82-.88z",
package/esm/Icons/User.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { __rest, __assign } from 'tslib';
2
- import React, { forwardRef } from 'react';
2
+ import React__default, { forwardRef } from 'react';
3
3
 
4
4
  var User = /*#__PURE__*/forwardRef(function (_a, ref) {
5
5
  var _b = _a.fill,
@@ -9,7 +9,7 @@ var User = /*#__PURE__*/forwardRef(function (_a, ref) {
9
9
  _d = _a.height,
10
10
  height = _d === void 0 ? 24 : _d,
11
11
  props = __rest(_a, ["fill", "width", "height"]);
12
- return /*#__PURE__*/React.createElement("svg", __assign({
12
+ return /*#__PURE__*/React__default.createElement("svg", __assign({
13
13
  xmlns: "http://www.w3.org/2000/svg",
14
14
  width: width,
15
15
  height: height,
@@ -17,12 +17,12 @@ var User = /*#__PURE__*/forwardRef(function (_a, ref) {
17
17
  ref: ref
18
18
  }, props, {
19
19
  fill: "none"
20
- }), /*#__PURE__*/React.createElement("path", {
20
+ }), /*#__PURE__*/React__default.createElement("path", {
21
21
  stroke: fill,
22
22
  strokeLinecap: "round",
23
23
  strokeWidth: "1.6",
24
24
  d: "M21.936 23.026a10.286 10.286 0 0 0-19.872 0"
25
- }), /*#__PURE__*/React.createElement("path", {
25
+ }), /*#__PURE__*/React__default.createElement("path", {
26
26
  stroke: fill,
27
27
  strokeLinecap: "round",
28
28
  strokeWidth: "1.6",
@@ -1,18 +1,17 @@
1
1
  .root {
2
+ height: 100%;
3
+ left: 0;
2
4
  position: absolute;
3
5
  top: 0;
4
- left: 0;
5
6
  width: 100%;
6
- height: 100%;
7
7
  }
8
8
  .root img {
9
- width: 100%;
10
- height: 100%;
11
- visibility: visible;
12
- font: 0/0 a;
13
9
  border: 0;
10
+ height: 100%;
14
11
  object-fit: cover;
15
12
  text-indent: -100rem;
13
+ visibility: visible;
14
+ width: 100%;
16
15
  }
17
16
  .root img :-moz-broken {
18
17
  opacity: 0;
@@ -1,5 +1,5 @@
1
1
  import { __rest, __assign } from 'tslib';
2
- import React, { forwardRef, useState, useCallback } from 'react';
2
+ import React__default, { forwardRef, useState, useCallback } from 'react';
3
3
  import classNames from 'classnames';
4
4
  import generateUniqID from '../helpers/generateUniqID.js';
5
5
  import styles from './Image.module.css';
@@ -37,14 +37,14 @@ var Image = /*#__PURE__*/forwardRef(function (_a, ref) {
37
37
  var handleError = useCallback(function () {
38
38
  setFailed(true);
39
39
  }, []);
40
- return /*#__PURE__*/React.createElement("picture", {
40
+ return /*#__PURE__*/React__default.createElement("picture", {
41
41
  ref: ref,
42
42
  className: classNames(styles.root)
43
43
  }, !!sources.length && sources.map(function (source, index) {
44
- return /*#__PURE__*/React.createElement("source", __assign({
44
+ return /*#__PURE__*/React__default.createElement("source", __assign({
45
45
  key: generateUniqID(index)
46
46
  }, source));
47
- }), /*#__PURE__*/React.createElement("img", __assign({
47
+ }), /*#__PURE__*/React__default.createElement("img", __assign({
48
48
  alt: alt,
49
49
  style: sizeAttrs,
50
50
  className: classNames(className),