@helpdice/ui 2.6.1-beta.4 → 2.6.1-beta.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var React = require('react');
6
6
  var theme = require('@helpdice/theme');
7
7
  var jsxRuntime = require('react/jsx-runtime');
8
- var icons = require('@helpdice/icons');
8
+ var ArrowRight = require('@helpdice/icons/curved/ArrowRight');
9
9
 
10
10
  function _arrayLikeToArray(r, a) {
11
11
  (null == a || a > r.length) && (a = r.length);
@@ -4084,7 +4084,7 @@ var getSearchIcon = function getSearchIcon(searching) {
4084
4084
  if (searching === undefined) return null;
4085
4085
  return searching ? /*#__PURE__*/jsxRuntime.jsx(Loading, {
4086
4086
  scale: +scale / 2
4087
- }) : /*#__PURE__*/jsxRuntime.jsx(icons.ArrowRight, {});
4087
+ }) : /*#__PURE__*/jsxRuntime.jsx(ArrowRight, {});
4088
4088
  };
4089
4089
  var AutoCompleteComponent = /*#__PURE__*/React.forwardRef(function (_ref, userRef) {
4090
4090
  var _ref$options = _ref.options,
@@ -6,7 +6,8 @@ var React = require('react');
6
6
  var require$$0 = require('react-is');
7
7
  var jsxRuntime = require('react/jsx-runtime');
8
8
  var theme = require('@helpdice/theme');
9
- var icons = require('@helpdice/icons');
9
+ var ChevronLeft = require('@helpdice/icons/curved/ChevronLeft');
10
+ var ChevronRight = require('@helpdice/icons/curved/ChevronRight');
10
11
 
11
12
  function _arrayLikeToArray(r, a) {
12
13
  (null == a || a > r.length) && (a = r.length);
@@ -3206,7 +3207,7 @@ var Thumbs = /*#__PURE__*/function (_Component) {
3206
3207
  zIndex: '2',
3207
3208
  left: 0
3208
3209
  },
3209
- iconRight: /*#__PURE__*/jsxRuntime.jsx(icons.ChevronLeft, {}),
3210
+ iconRight: /*#__PURE__*/jsxRuntime.jsx(ChevronLeft, {}),
3210
3211
  className: klass.ARROW_PREV(!hasPrev),
3211
3212
  onClick: function onClick() {
3212
3213
  return _this3.slideRight();
@@ -3244,7 +3245,7 @@ var Thumbs = /*#__PURE__*/function (_Component) {
3244
3245
  zIndex: '2',
3245
3246
  right: 0
3246
3247
  },
3247
- iconRight: /*#__PURE__*/jsxRuntime.jsx(icons.ChevronRight, {}),
3248
+ iconRight: /*#__PURE__*/jsxRuntime.jsx(ChevronRight, {}),
3248
3249
  className: klass.ARROW_NEXT(!hasNext),
3249
3250
  onClick: function onClick() {
3250
3251
  return _this3.slideLeft();
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var React = require('react');
6
- var icons = require('@helpdice/icons');
7
6
  var theme = require('@helpdice/theme');
8
7
  var jsxRuntime = require('react/jsx-runtime');
8
+ var Copy = require('@helpdice/icons/curved/Copy');
9
9
 
10
10
  function _arrayLikeToArray(r, a) {
11
11
  (null == a || a > r.length) && (a = r.length);
@@ -1709,7 +1709,7 @@ function Clipboard(props) {
1709
1709
  onClick: function onClick() {
1710
1710
  return _onClick;
1711
1711
  },
1712
- icon: /*#__PURE__*/jsxRuntime.jsx(icons.Copy, {})
1712
+ icon: /*#__PURE__*/jsxRuntime.jsx(Copy, {})
1713
1713
  })]
1714
1714
  });
1715
1715
  }
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ export type FormikFormProps = Pick<React.FormHTMLAttributes<HTMLFormElement>, Exclude<keyof React.FormHTMLAttributes<HTMLFormElement>, 'onReset' | 'onSubmit'>>;
3
+ export declare const Form: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, "ref"> & React.RefAttributes<HTMLFormElement>>;
@@ -1,5 +1,6 @@
1
1
  import connect from './connect';
2
2
  import { FormWrapper, useFormik, yupToFormErrors, validateYupSchema, prepareDataForValidation } from './FormWrapper';
3
+ export * from './Form';
3
4
  import withFormik from './withFormik';
4
5
  import { isEmptyArray, isEmptyChildren, isInputEvent, isInteger, isObject, isPromise, isFunction, isNaN, isString, getActiveElement, getIn, setIn, setNestedObjectValues } from './utils';
5
6
  import ErrorMessage from './ErrorMessage';
@@ -5025,7 +5025,7 @@ function setNestedObjectValues(object, value) {
5025
5025
 
5026
5026
  var __DEV__ = true;
5027
5027
 
5028
- var _excluded$2 = ["validateOnChange", "validateOnBlur", "validateOnMount", "isInitialValid", "enableReinitialize", "onSubmit"];
5028
+ var _excluded$3 = ["validateOnChange", "validateOnBlur", "validateOnMount", "isInitialValid", "enableReinitialize", "onSubmit"];
5029
5029
  // State reducer
5030
5030
  function formikReducer(state, msg) {
5031
5031
  switch (msg.type) {
@@ -5109,7 +5109,7 @@ function useFormik(_ref) {
5109
5109
  _ref$enableReinitiali = _ref.enableReinitialize,
5110
5110
  enableReinitialize = _ref$enableReinitiali === void 0 ? false : _ref$enableReinitiali,
5111
5111
  onSubmit = _ref.onSubmit,
5112
- rest = _objectWithoutProperties(_ref, _excluded$2);
5112
+ rest = _objectWithoutProperties(_ref, _excluded$3);
5113
5113
  var props = _objectSpread2({
5114
5114
  validateOnChange: validateOnChange,
5115
5115
  validateOnBlur: validateOnBlur,
@@ -5982,6 +5982,26 @@ function useEventCallback(fn) {
5982
5982
  }, []);
5983
5983
  }
5984
5984
 
5985
+ var _excluded$2 = ["action"];
5986
+ // @todo tests
5987
+ var Form = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) {
5988
+ // iOS needs an "action" attribute for nice input: https://stackoverflow.com/a/39485162/406725
5989
+ // We default the action to "#" in case the preventDefault fails (just updates the URL hash)
5990
+ var action = props.action,
5991
+ rest = _objectWithoutProperties(props, _excluded$2);
5992
+ var _action = action !== null && action !== void 0 ? action : '#';
5993
+ var _useFormikContext = useFormikContext(),
5994
+ handleReset = _useFormikContext.handleReset,
5995
+ handleSubmit = _useFormikContext.handleSubmit;
5996
+ return /*#__PURE__*/jsxRuntime.jsx("form", _objectSpread2({
5997
+ onSubmit: handleSubmit,
5998
+ ref: ref,
5999
+ onReset: handleReset,
6000
+ action: _action
6001
+ }, rest));
6002
+ });
6003
+ Form.displayName = 'Form';
6004
+
5985
6005
  var _excluded$1 = ["mapPropsToValues"],
5986
6006
  _excluded2 = ["children"];
5987
6007
  /**
@@ -6094,6 +6114,7 @@ var ErrorMessageImpl = /*#__PURE__*/function (_React$Component) {
6094
6114
  var ErrorMessage = connect(ErrorMessageImpl);
6095
6115
 
6096
6116
  exports.ErrorMessage = ErrorMessage;
6117
+ exports.Form = Form;
6097
6118
  exports.FormWrapper = FormWrapper;
6098
6119
  exports.FormikConsumer = FormikConsumer;
6099
6120
  exports.FormikContext = FormikContext;
package/dist/index.d.ts CHANGED
@@ -94,9 +94,9 @@ export type { HUIThemes, HUserTheme } from './themes';
94
94
  export { default as Toggle } from './toggle';
95
95
  export type { ToggleProps } from './toggle';
96
96
  export { default as Tooltip } from './tooltip';
97
- export { default as Notetip } from './notetip/note-tip';
97
+ export { default as Notetip } from './notetip/notetip';
98
98
  export type { TooltipProps } from './tooltip';
99
- export type { NotetipProps } from './notetip/note-tip';
99
+ export type { NotetipProps } from './notetip/notetip';
100
100
  export { default as Tree } from './tree';
101
101
  export type { TreeProps } from './tree';
102
102
  export { useTime, useTimer, useStopwatch } from './timer';
package/dist/index.js CHANGED
@@ -3,14 +3,17 @@
3
3
  var React = require('react');
4
4
  var theme = require('@helpdice/theme');
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
- var icons = require('@helpdice/icons');
6
+ var ArrowRight = require('@helpdice/icons/curved/ArrowRight');
7
7
  var framerMotion = require('framer-motion');
8
8
  var reactDom = require('react-dom');
9
9
  var reactDom$1 = require('@floating-ui/react-dom');
10
10
  var pro = require('@helpdice/pro');
11
+ var ChevronLeft = require('@helpdice/icons/curved/ChevronLeft');
12
+ var ChevronRight = require('@helpdice/icons/curved/ChevronRight');
11
13
  var reactSyntaxHighlighter = require('react-syntax-highlighter');
12
14
  var prism = require('react-syntax-highlighter/dist/cjs/styles/prism');
13
15
  var require$$0 = require('react-is');
16
+ var Copy = require('@helpdice/icons/curved/Copy');
14
17
  var isEqual = require('react-fast-compare');
15
18
 
16
19
  function _interopNamespaceDefault(e) {
@@ -1170,7 +1173,7 @@ var generateGetAllScaleProps = function generateGetAllScaleProps(props) {
1170
1173
  return getAllScaleProps;
1171
1174
  };
1172
1175
 
1173
- var _excluded$1o = ["children"];
1176
+ var _excluded$1p = ["children"];
1174
1177
  var reduceScaleCoefficient = function reduceScaleCoefficient(scale) {
1175
1178
  if (scale === 1) return scale;
1176
1179
  var diff = Math.abs((scale - 1) / 2);
@@ -1180,7 +1183,7 @@ var withScale = function withScale(Render) {
1180
1183
  var ScaleFC = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
1181
1184
  var _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref0, _ref1, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15, _ref16, _ref17, _ref18, _ref19, _ref20, _ref21, _ref22, _ref23, _ref24, _ref25, _ref26, _ref27, _ref28, _ref29, _ref30, _ref31;
1182
1185
  var children = _ref.children,
1183
- props = _objectWithoutProperties(_ref, _excluded$1o);
1186
+ props = _objectWithoutProperties(_ref, _excluded$1p);
1184
1187
  var _useTheme = theme.useTheme(),
1185
1188
  layout = _useTheme.layout;
1186
1189
  var paddingLeft = props.paddingLeft,
@@ -1265,7 +1268,7 @@ var withScale = function withScale(Render) {
1265
1268
  return ScaleFC;
1266
1269
  };
1267
1270
 
1268
- var _excluded$1n = ["children", "tag", "className", "color"];
1271
+ var _excluded$1o = ["children", "tag", "className", "color"];
1269
1272
  var getTypeColor = function getTypeColor(type, palette) {
1270
1273
  var colors = {
1271
1274
  "default": 'inherit',
@@ -1283,7 +1286,7 @@ var TextChild = function TextChild(_ref) {
1283
1286
  className = _ref$className === void 0 ? '' : _ref$className,
1284
1287
  _ref$color = _ref.color,
1285
1288
  color = _ref$color === void 0 ? 'default' : _ref$color,
1286
- props = _objectWithoutProperties(_ref, _excluded$1n);
1289
+ props = _objectWithoutProperties(_ref, _excluded$1o);
1287
1290
  var Component = tag;
1288
1291
  var theme$1 = theme.useTheme();
1289
1292
  var _useScale = useScale(),
@@ -1331,7 +1334,7 @@ var TextChild = function TextChild(_ref) {
1331
1334
  };
1332
1335
  TextChild.displayName = 'TextChild';
1333
1336
 
1334
- var _excluded$1m = ["h1", "h2", "h3", "h4", "h5", "h6", "p", "b", "small", "i", "span", "del", "em", "blockquote", "noWrap", "children", "className", "display", "alignItems", "justify"];
1337
+ var _excluded$1n = ["h1", "h2", "h3", "h4", "h5", "h6", "p", "b", "small", "i", "span", "del", "em", "blockquote", "noWrap", "children", "className", "display", "alignItems", "justify"];
1335
1338
  var _getModifierChild = function getModifierChild(tags, children) {
1336
1339
  if (!tags.length) return children;
1337
1340
  var nextTag = tags.slice(1, tags.length);
@@ -1378,7 +1381,7 @@ var TextComponent = function TextComponent(_ref) {
1378
1381
  display = _ref$display === void 0 ? 'block' : _ref$display,
1379
1382
  alignItems = _ref.alignItems,
1380
1383
  justify = _ref.justify,
1381
- props = _objectWithoutProperties(_ref, _excluded$1m);
1384
+ props = _objectWithoutProperties(_ref, _excluded$1n);
1382
1385
  var elements = {
1383
1386
  h1: h1,
1384
1387
  h2: h2,
@@ -1573,7 +1576,7 @@ var getColors$7 = function getColors(palette, status) {
1573
1576
  return colors[status];
1574
1577
  };
1575
1578
 
1576
- var _excluded$1l = ["label", "labelRight", "error", "color", "helperText", "type", "icon", "variant", "iconRight", "iconClickable", "onIconClick", "initialValue", "onChange", "readOnly", "value", "onClearClick", "clearable", "className", "onBlur", "onFocus", "onEnter", "autoComplete", "placeholder", "children", "disabled", "fullWidth", "required"];
1579
+ var _excluded$1m = ["label", "labelRight", "error", "color", "helperText", "type", "icon", "variant", "iconRight", "iconClickable", "onIconClick", "initialValue", "onChange", "readOnly", "value", "onClearClick", "clearable", "className", "onBlur", "onFocus", "onEnter", "autoComplete", "placeholder", "children", "disabled", "fullWidth", "required"];
1577
1580
  var simulateChangeEvent = function simulateChangeEvent(el, event) {
1578
1581
  return _objectSpread2(_objectSpread2({}, event), {}, {
1579
1582
  target: el,
@@ -1620,7 +1623,7 @@ var InputComponent = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
1620
1623
  _ref$fullWidth = _ref.fullWidth,
1621
1624
  fullWidth = _ref$fullWidth === void 0 ? false : _ref$fullWidth,
1622
1625
  required = _ref.required,
1623
- props = _objectWithoutProperties(_ref, _excluded$1l);
1626
+ props = _objectWithoutProperties(_ref, _excluded$1m);
1624
1627
  var theme$1 = theme.useTheme();
1625
1628
  var _useScale = useScale(),
1626
1629
  SCALES = _useScale.SCALES;
@@ -1780,7 +1783,7 @@ tuple('hover', 'click');
1780
1783
  tuple('top', 'topStart', 'topEnd', 'left', 'leftStart', 'leftEnd', 'bottom', 'bottomStart', 'bottomEnd', 'right', 'rightStart', 'rightEnd');
1781
1784
  tuple('start', 'center', 'end', 'left', 'right');
1782
1785
 
1783
- var _excluded$1k = ["type", "disabled", "readOnly", "onFocus", "onBlur", "className", "initialValue", "onChange", "value", "placeholder", "helperText", "error", "label", "required", "resize"];
1786
+ var _excluded$1l = ["type", "disabled", "readOnly", "onFocus", "onBlur", "className", "initialValue", "onChange", "value", "placeholder", "helperText", "error", "label", "required", "resize"];
1784
1787
  tuple('none', 'both', 'horizontal', 'vertical', 'initial', 'inherit');
1785
1788
  var TextareaComponent = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
1786
1789
  var _ref$type = _ref.type,
@@ -1804,7 +1807,7 @@ var TextareaComponent = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
1804
1807
  required = _ref.required,
1805
1808
  _ref$resize = _ref.resize,
1806
1809
  resize = _ref$resize === void 0 ? 'none' : _ref$resize,
1807
- props = _objectWithoutProperties(_ref, _excluded$1k);
1810
+ props = _objectWithoutProperties(_ref, _excluded$1l);
1808
1811
  var theme$1 = theme.useTheme();
1809
1812
  var _useScale = useScale(),
1810
1813
  SCALES = _useScale.SCALES;
@@ -1928,11 +1931,11 @@ var PasswordIcon = function PasswordIcon(_ref) {
1928
1931
  };
1929
1932
  var MemoPasswordIcon = /*#__PURE__*/React.memo(PasswordIcon);
1930
1933
 
1931
- var _excluded$1j = ["hideToggle", "children"];
1934
+ var _excluded$1k = ["hideToggle", "children"];
1932
1935
  var InputPasswordComponent = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
1933
1936
  var hideToggle = _ref.hideToggle,
1934
1937
  children = _ref.children,
1935
- props = _objectWithoutProperties(_ref, _excluded$1j);
1938
+ props = _objectWithoutProperties(_ref, _excluded$1k);
1936
1939
  var _useScale = useScale(),
1937
1940
  getAllScaleProps = _useScale.getAllScaleProps;
1938
1941
  var inputRef = React.useRef(null);
@@ -3540,7 +3543,7 @@ var repositionCursor = function repositionCursor(_ref) {
3540
3543
  };
3541
3544
  };
3542
3545
 
3543
- var _excluded$1i = ["allowDecimals", "allowNegativeValue", "id", "name", "className", "customInput", "decimalsLimit", "defaultValue", "disabled", "maxLength", "value", "onValueChange", "fixedDecimalLength", "placeholder", "decimalScale", "prefix", "suffix", "intlConfig", "fullWidth", "step", "min", "max", "disableGroupSeparators", "disableAbbreviations", "decimalSeparator", "groupSeparator", "onChange", "onFocus", "onBlur", "onKeyDown", "onKeyUp", "transformRawValue", "formatValueOnBlur", "children"];
3546
+ var _excluded$1j = ["allowDecimals", "allowNegativeValue", "id", "name", "className", "customInput", "decimalsLimit", "defaultValue", "disabled", "maxLength", "value", "onValueChange", "fixedDecimalLength", "placeholder", "decimalScale", "prefix", "suffix", "intlConfig", "fullWidth", "step", "min", "max", "disableGroupSeparators", "disableAbbreviations", "decimalSeparator", "groupSeparator", "onChange", "onFocus", "onBlur", "onKeyDown", "onKeyUp", "transformRawValue", "formatValueOnBlur", "children"];
3544
3547
  var InputCurrency = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
3545
3548
  var _ref$allowDecimals = _ref.allowDecimals,
3546
3549
  allowDecimals = _ref$allowDecimals === void 0 ? true : _ref$allowDecimals,
@@ -3582,7 +3585,7 @@ var InputCurrency = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
3582
3585
  _ref$formatValueOnBlu = _ref.formatValueOnBlur,
3583
3586
  formatValueOnBlur = _ref$formatValueOnBlu === void 0 ? true : _ref$formatValueOnBlu,
3584
3587
  children = _ref.children,
3585
- props = _objectWithoutProperties(_ref, _excluded$1i);
3588
+ props = _objectWithoutProperties(_ref, _excluded$1j);
3586
3589
  var _useScale = useScale(),
3587
3590
  SCALES = _useScale.SCALES;
3588
3591
  var theme$1 = theme.useTheme();
@@ -3938,7 +3941,7 @@ var InputCurrency = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
3938
3941
 
3939
3942
  var CurrencyInput = withScale(InputCurrency);
3940
3943
 
3941
- var _excluded$1h = ["xs", "sm", "md", "lg", "xl", "justify", "direction", "alignItems", "alignContent", "children", "className"];
3944
+ var _excluded$1i = ["xs", "sm", "md", "lg", "xl", "justify", "direction", "alignItems", "alignContent", "children", "className"];
3942
3945
  var getItemLayout = function getItemLayout(val) {
3943
3946
  var display = val === 0 ? 'display: none;' : 'display: inherit;';
3944
3947
  if (typeof val === 'number') {
@@ -3976,7 +3979,7 @@ var GridBasicItem = function GridBasicItem(_ref) {
3976
3979
  children = _ref.children,
3977
3980
  _ref$className = _ref.className,
3978
3981
  className = _ref$className === void 0 ? '' : _ref$className,
3979
- props = _objectWithoutProperties(_ref, _excluded$1h);
3982
+ props = _objectWithoutProperties(_ref, _excluded$1i);
3980
3983
  var theme$1 = theme.useTheme();
3981
3984
  var _useScale = useScale(),
3982
3985
  SCALES = _useScale.SCALES;
@@ -4018,12 +4021,12 @@ var GridBasicItem = function GridBasicItem(_ref) {
4018
4021
  };
4019
4022
  GridBasicItem.displayName = 'GridBasicItem';
4020
4023
 
4021
- var _excluded$1g = ["children", "className"];
4024
+ var _excluded$1h = ["children", "className"];
4022
4025
  var GridComponent = function GridComponent(_ref) {
4023
4026
  var children = _ref.children,
4024
4027
  _ref$className = _ref.className,
4025
4028
  className = _ref$className === void 0 ? '' : _ref$className,
4026
- props = _objectWithoutProperties(_ref, _excluded$1g);
4029
+ props = _objectWithoutProperties(_ref, _excluded$1h);
4027
4030
  var _useScale = useScale(),
4028
4031
  SCALES = _useScale.SCALES;
4029
4032
  var _styles$className = {
@@ -4046,7 +4049,7 @@ var GridComponent = function GridComponent(_ref) {
4046
4049
  GridComponent.displayName = 'Grid';
4047
4050
  var Grid = withScale(GridComponent);
4048
4051
 
4049
- var _excluded$1f = ["gap", "wrap", "children", "className"];
4052
+ var _excluded$1g = ["gap", "wrap", "children", "className"];
4050
4053
  var GridContainerComponent = function GridContainerComponent(_ref) {
4051
4054
  var _ref$gap = _ref.gap,
4052
4055
  gap = _ref$gap === void 0 ? 0 : _ref$gap,
@@ -4055,7 +4058,7 @@ var GridContainerComponent = function GridContainerComponent(_ref) {
4055
4058
  children = _ref.children,
4056
4059
  _ref$className = _ref.className,
4057
4060
  className = _ref$className === void 0 ? '' : _ref$className,
4058
- props = _objectWithoutProperties(_ref, _excluded$1f);
4061
+ props = _objectWithoutProperties(_ref, _excluded$1g);
4059
4062
  var _useScale = useScale(),
4060
4063
  unit = _useScale.unit,
4061
4064
  SCALES = _useScale.SCALES;
@@ -4346,7 +4349,7 @@ var AutoCompleteEmpty = function AutoCompleteEmpty(_ref) {
4346
4349
  };
4347
4350
  AutoCompleteEmpty.displayName = 'AutoCompleteEmpty';
4348
4351
 
4349
- var _excluded$1e = ["children", "type", "color", "className", "spaceRatio"];
4352
+ var _excluded$1f = ["children", "type", "color", "className", "spaceRatio"];
4350
4353
  var getIconBgColor = function getIconBgColor(type, palette, color) {
4351
4354
  var colors = {
4352
4355
  "default": palette.accents_6,
@@ -4366,7 +4369,7 @@ var LoadingComponent = function LoadingComponent(_ref) {
4366
4369
  className = _ref$className === void 0 ? '' : _ref$className,
4367
4370
  _ref$spaceRatio = _ref.spaceRatio,
4368
4371
  spaceRatio = _ref$spaceRatio === void 0 ? 1 : _ref$spaceRatio,
4369
- props = _objectWithoutProperties(_ref, _excluded$1e);
4372
+ props = _objectWithoutProperties(_ref, _excluded$1f);
4370
4373
  var theme$1 = theme.useTheme();
4371
4374
  var _useScale = useScale(),
4372
4375
  SCALES = _useScale.SCALES;
@@ -4398,7 +4401,7 @@ var LoadingComponent = function LoadingComponent(_ref) {
4398
4401
  LoadingComponent.displayName = 'Loading';
4399
4402
  var Loading = withScale(LoadingComponent);
4400
4403
 
4401
- var _excluded$1d = ["options", "initialValue", "onSelect", "onSearch", "onChange", "searching", "children", "type", "color", "value", "clearable", "disabled", "dropdownClassName", "dropdownStyle", "disableMatchWidth", "disableFreeSolo", "getPopupContainer"];
4404
+ var _excluded$1e = ["options", "initialValue", "onSelect", "onSearch", "onChange", "searching", "children", "type", "color", "value", "clearable", "disabled", "dropdownClassName", "dropdownStyle", "disableMatchWidth", "disableFreeSolo", "getPopupContainer"];
4402
4405
  var childrenToOptionsNode = function childrenToOptionsNode(options) {
4403
4406
  return options.map(function (item, index) {
4404
4407
  var key = "auto-complete-item-".concat(index);
@@ -4421,7 +4424,7 @@ var getSearchIcon = function getSearchIcon(searching) {
4421
4424
  if (searching === undefined) return null;
4422
4425
  return searching ? /*#__PURE__*/jsxRuntime.jsx(Loading, {
4423
4426
  scale: +scale / 2
4424
- }) : /*#__PURE__*/jsxRuntime.jsx(icons.ArrowRight, {});
4427
+ }) : /*#__PURE__*/jsxRuntime.jsx(ArrowRight, {});
4425
4428
  };
4426
4429
  var AutoCompleteComponent = /*#__PURE__*/React.forwardRef(function (_ref, userRef) {
4427
4430
  var _ref$options = _ref.options,
@@ -4447,7 +4450,7 @@ var AutoCompleteComponent = /*#__PURE__*/React.forwardRef(function (_ref, userRe
4447
4450
  _ref$disableFreeSolo = _ref.disableFreeSolo,
4448
4451
  disableFreeSolo = _ref$disableFreeSolo === void 0 ? false : _ref$disableFreeSolo,
4449
4452
  getPopupContainer = _ref.getPopupContainer,
4450
- props = _objectWithoutProperties(_ref, _excluded$1d);
4453
+ props = _objectWithoutProperties(_ref, _excluded$1e);
4451
4454
  var resetTimer = React.useRef(0); // DEFAULT Value 0
4452
4455
  var _useScale = useScale(),
4453
4456
  SCALES = _useScale.SCALES,
@@ -4600,7 +4603,7 @@ AutoComplete.Option = AutoCompleteItemComponent;
4600
4603
  AutoComplete.Searching = AutoCompleteSearch;
4601
4604
  AutoComplete.Empty = AutoCompleteEmpty;
4602
4605
 
4603
- var _excluded$1c = ["src", "errorSrc", "stacked", "text", "isSquare", "className", "children"];
4606
+ var _excluded$1d = ["src", "errorSrc", "stacked", "text", "isSquare", "className", "children"];
4604
4607
  var safeText = function safeText(text) {
4605
4608
  if (text.length <= 4) return text;
4606
4609
  return text.slice(0, 3);
@@ -4619,7 +4622,7 @@ var AvatarComponent = function AvatarComponent(_ref) {
4619
4622
  _ref$className = _ref.className,
4620
4623
  className = _ref$className === void 0 ? '' : _ref$className,
4621
4624
  children = _ref.children,
4622
- props = _objectWithoutProperties(_ref, _excluded$1c);
4625
+ props = _objectWithoutProperties(_ref, _excluded$1d);
4623
4626
  var theme$1 = theme.useTheme();
4624
4627
  var fallbackSrc = theme$1.type === 'dark' ? errorImgDark : errorImgLight;
4625
4628
  var _useScale = useScale(),
@@ -4680,7 +4683,7 @@ var AvatarGroup = withScale(AvatarGroupComponent);
4680
4683
 
4681
4684
  Avatar.Group = AvatarGroup;
4682
4685
 
4683
- var _excluded$1b = ["color", "className", "children", "dot"];
4686
+ var _excluded$1c = ["color", "className", "children", "dot"];
4684
4687
  var getBgColor = function getBgColor(type, palette) {
4685
4688
  var colors = {
4686
4689
  "default": palette.foreground,
@@ -4699,7 +4702,7 @@ var BadgeComponent = function BadgeComponent(_ref) {
4699
4702
  children = _ref.children,
4700
4703
  _ref$dot = _ref.dot,
4701
4704
  dot = _ref$dot === void 0 ? false : _ref$dot,
4702
- props = _objectWithoutProperties(_ref, _excluded$1b);
4705
+ props = _objectWithoutProperties(_ref, _excluded$1c);
4703
4706
  var theme$1 = theme.useTheme();
4704
4707
  var _useScale = useScale(),
4705
4708
  SCALES = _useScale.SCALES;
@@ -4913,7 +4916,7 @@ var LinkIconComponent = function LinkIconComponent() {
4913
4916
  LinkIconComponent.displayName = 'LinkIcon';
4914
4917
  var LinkIcon = /*#__PURE__*/React.memo(LinkIconComponent);
4915
4918
 
4916
- var _excluded$1a = ["href", "showColor", "underline", "children", "className", "block", "arrow", "icon"];
4919
+ var _excluded$1b = ["href", "showColor", "underline", "children", "className", "block", "arrow", "icon"];
4917
4920
  var LinkComponent = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
4918
4921
  var _ref$href = _ref.href,
4919
4922
  href = _ref$href === void 0 ? '' : _ref$href,
@@ -4929,7 +4932,7 @@ var LinkComponent = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
4929
4932
  _ref$arrow = _ref.arrow,
4930
4933
  arrow = _ref$arrow === void 0 ? false : _ref$arrow,
4931
4934
  icon = _ref.icon,
4932
- props = _objectWithoutProperties(_ref, _excluded$1a);
4935
+ props = _objectWithoutProperties(_ref, _excluded$1b);
4933
4936
  var theme$1 = theme.useTheme();
4934
4937
  var _useScale = useScale(),
4935
4938
  SCALES = _useScale.SCALES;
@@ -4957,7 +4960,7 @@ var LinkComponent = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
4957
4960
  LinkComponent.displayName = 'Link';
4958
4961
  var Link = withScale(LinkComponent);
4959
4962
 
4960
- var _excluded$19 = ["href", "nextLink", "onClick", "children", "className"];
4963
+ var _excluded$1a = ["href", "nextLink", "onClick", "children", "className"];
4961
4964
  var BreadcrumbsItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
4962
4965
  var href = _ref.href,
4963
4966
  _ref$nextLink = _ref.nextLink,
@@ -4966,7 +4969,7 @@ var BreadcrumbsItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
4966
4969
  children = _ref.children,
4967
4970
  _ref$className = _ref.className,
4968
4971
  className = _ref$className === void 0 ? '' : _ref$className,
4969
- props = _objectWithoutProperties(_ref, _excluded$19);
4972
+ props = _objectWithoutProperties(_ref, _excluded$1a);
4970
4973
  var isLink = React.useMemo(function () {
4971
4974
  return href !== undefined || nextLink;
4972
4975
  }, [href, nextLink]);
@@ -5073,7 +5076,7 @@ var ButtonLoading = function ButtonLoading(_ref) {
5073
5076
  };
5074
5077
  ButtonLoading.displayName = 'ButtonLoading';
5075
5078
 
5076
- var _excluded$18 = ["isRight", "isSingle", "children", "className"];
5079
+ var _excluded$19 = ["isRight", "isSingle", "children", "className"];
5077
5080
  var ButtonIcon = function ButtonIcon(_ref) {
5078
5081
  var _ref$isRight = _ref.isRight,
5079
5082
  isRight = _ref$isRight === void 0 ? false : _ref$isRight,
@@ -5081,7 +5084,7 @@ var ButtonIcon = function ButtonIcon(_ref) {
5081
5084
  children = _ref.children,
5082
5085
  _ref$className = _ref.className,
5083
5086
  className = _ref$className === void 0 ? '' : _ref$className,
5084
- props = _objectWithoutProperties(_ref, _excluded$18);
5087
+ props = _objectWithoutProperties(_ref, _excluded$19);
5085
5088
  var classes = theme.useClasses('icon', {
5086
5089
  right: isRight,
5087
5090
  single: isSingle
@@ -5348,7 +5351,7 @@ var getButtonDripColor = function getButtonDripColor(palette, props) {
5348
5351
  return isLightHover ? addColorAlpha(hoverColors.bg, 0.65) : addColorAlpha(palette.accents_2, 0.65);
5349
5352
  };
5350
5353
 
5351
- var _excluded$17 = ["children", "disabled", "color", "loading", "shadow", "ghost", "effect", "round", "relative", "replace", "a", "to", "onClick", "auto", "icon", "type", "iconRight", "className", "crossOrigin"];
5354
+ var _excluded$18 = ["children", "disabled", "color", "loading", "shadow", "ghost", "effect", "round", "relative", "replace", "a", "to", "onClick", "auto", "icon", "type", "iconRight", "className", "crossOrigin"];
5352
5355
  var ButtonComponent = /*#__PURE__*/React.forwardRef(function (btnProps, ref) {
5353
5356
  var theme$1 = theme.useTheme();
5354
5357
  // const navigate = useNavigate();
@@ -5402,7 +5405,7 @@ var ButtonComponent = /*#__PURE__*/React.forwardRef(function (btnProps, ref) {
5402
5405
  _filteredProps$classN = filteredProps.className,
5403
5406
  className = _filteredProps$classN === void 0 ? '' : _filteredProps$classN;
5404
5407
  filteredProps.crossOrigin;
5405
- var props = _objectWithoutProperties(filteredProps, _excluded$17);
5408
+ var props = _objectWithoutProperties(filteredProps, _excluded$18);
5406
5409
  /* eslint-enable @typescript-eslint/no-unused-vars */
5407
5410
 
5408
5411
  var _useMemo = React.useMemo(function () {
@@ -5665,7 +5668,7 @@ var useButtonDropdown = function useButtonDropdown() {
5665
5668
  return React.useContext(ButtonDropdownContext);
5666
5669
  };
5667
5670
 
5668
- var _excluded$16 = ["children", "onClick", "className", "main", "icon", "type"];
5671
+ var _excluded$17 = ["children", "onClick", "className", "main", "icon", "type"];
5669
5672
  var ButtonDropdownItem = function ButtonDropdownItem(_ref) {
5670
5673
  var children = _ref.children,
5671
5674
  _ref$onClick = _ref.onClick,
@@ -5676,7 +5679,7 @@ var ButtonDropdownItem = function ButtonDropdownItem(_ref) {
5676
5679
  main = _ref$main === void 0 ? false : _ref$main,
5677
5680
  icon = _ref.icon,
5678
5681
  selfType = _ref.type,
5679
- props = _objectWithoutProperties(_ref, _excluded$16);
5682
+ props = _objectWithoutProperties(_ref, _excluded$17);
5680
5683
  var theme$1 = theme.useTheme();
5681
5684
  var _useScale = useScale(),
5682
5685
  SCALES = _useScale.SCALES;
@@ -5718,7 +5721,7 @@ var ButtonDropdownItem = function ButtonDropdownItem(_ref) {
5718
5721
  };
5719
5722
  ButtonDropdownItem.displayName = 'ButtonDropdownItem';
5720
5723
 
5721
- var _excluded$15 = ["children", "type", "auto", "className", "disabled", "loading", "icon"];
5724
+ var _excluded$16 = ["children", "type", "auto", "className", "disabled", "loading", "icon"];
5722
5725
  var stopPropagation$1 = function stopPropagation(event) {
5723
5726
  event.stopPropagation();
5724
5727
  event.nativeEvent.stopImmediatePropagation();
@@ -5736,7 +5739,7 @@ var ButtonDropdownComponent = function ButtonDropdownComponent(_ref) {
5736
5739
  _ref$loading = _ref.loading,
5737
5740
  loading = _ref$loading === void 0 ? false : _ref$loading,
5738
5741
  icon = _ref.icon,
5739
- props = _objectWithoutProperties(_ref, _excluded$15);
5742
+ props = _objectWithoutProperties(_ref, _excluded$16);
5740
5743
  var _useScale = useScale(),
5741
5744
  SCALES = _useScale.SCALES;
5742
5745
  var ref = React.useRef(null);
@@ -5818,7 +5821,7 @@ var ButtonDropdown = withScale(ButtonDropdownComponent);
5818
5821
  /* "use client" */
5819
5822
  ButtonDropdown.Item = ButtonDropdownItem;
5820
5823
 
5821
- var _excluded$14 = ["disabled", "type", "ghost", "vertical", "children", "className"];
5824
+ var _excluded$15 = ["disabled", "type", "ghost", "vertical", "children", "className"];
5822
5825
  var getGroupBorderColors = function getGroupBorderColors(palette, props) {
5823
5826
  var _props$ghost = props.ghost,
5824
5827
  ghost = _props$ghost === void 0 ? false : _props$ghost,
@@ -5845,7 +5848,7 @@ var ButtonGroupComponent = function ButtonGroupComponent(groupProps) {
5845
5848
  vertical = groupProps.vertical,
5846
5849
  children = groupProps.children,
5847
5850
  className = groupProps.className,
5848
- props = _objectWithoutProperties(groupProps, _excluded$14);
5851
+ props = _objectWithoutProperties(groupProps, _excluded$15);
5849
5852
  var initialValue = React.useMemo(function () {
5850
5853
  return {
5851
5854
  disabled: disabled,
@@ -5905,7 +5908,7 @@ var useProportions = function useProportions(value, max) {
5905
5908
  }, [value, max, maxFixed]);
5906
5909
  };
5907
5910
 
5908
- var _excluded$13 = ["value", "limit", "color", "className"];
5911
+ var _excluded$14 = ["value", "limit", "color", "className"];
5909
5912
  var getColor$3 = function getColor(val, palette) {
5910
5913
  if (val < 33) return palette.cyan;
5911
5914
  if (val < 66) return palette.warning;
@@ -5919,7 +5922,7 @@ var CapacityComponent = function CapacityComponent(_ref) {
5919
5922
  userColor = _ref.color,
5920
5923
  _ref$className = _ref.className,
5921
5924
  className = _ref$className === void 0 ? '' : _ref$className,
5922
- props = _objectWithoutProperties(_ref, _excluded$13);
5925
+ props = _objectWithoutProperties(_ref, _excluded$14);
5923
5926
  var theme$1 = theme.useTheme();
5924
5927
  var _useScale = useScale(),
5925
5928
  SCALES = _useScale.SCALES;
@@ -5998,14 +6001,14 @@ var getStyles$1 = function getStyles(type, palette, isShadow) {
5998
6001
  });
5999
6002
  };
6000
6003
 
6001
- var _excluded$12 = ["children", "className", "disableAutoMargin"];
6004
+ var _excluded$13 = ["children", "className", "disableAutoMargin"];
6002
6005
  var CardFooterComponent = function CardFooterComponent(_ref) {
6003
6006
  var children = _ref.children,
6004
6007
  _ref$className = _ref.className,
6005
6008
  className = _ref$className === void 0 ? '' : _ref$className,
6006
6009
  _ref$disableAutoMargi = _ref.disableAutoMargin,
6007
6010
  disableAutoMargin = _ref$disableAutoMargi === void 0 ? false : _ref$disableAutoMargi,
6008
- props = _objectWithoutProperties(_ref, _excluded$12);
6011
+ props = _objectWithoutProperties(_ref, _excluded$13);
6009
6012
  var theme$1 = theme.useTheme();
6010
6013
  var _useScale = useScale(),
6011
6014
  SCALES = _useScale.SCALES;
@@ -6024,12 +6027,12 @@ var CardFooterComponent = function CardFooterComponent(_ref) {
6024
6027
  CardFooterComponent.displayName = 'CardFooter';
6025
6028
  var CardFooter = withScale(CardFooterComponent);
6026
6029
 
6027
- var _excluded$11 = ["className", "children"];
6030
+ var _excluded$12 = ["className", "children"];
6028
6031
  var CardContentComponent = function CardContentComponent(_ref) {
6029
6032
  var _ref$className = _ref.className,
6030
6033
  className = _ref$className === void 0 ? '' : _ref$className,
6031
6034
  children = _ref.children,
6032
- props = _objectWithoutProperties(_ref, _excluded$11);
6035
+ props = _objectWithoutProperties(_ref, _excluded$12);
6033
6036
  var _useScale = useScale(),
6034
6037
  SCALES = _useScale.SCALES;
6035
6038
  return /*#__PURE__*/jsxRuntime.jsxs("div", _objectSpread2(_objectSpread2({}, props), {}, {
@@ -6044,11 +6047,11 @@ var CardContentComponent = function CardContentComponent(_ref) {
6044
6047
  CardContentComponent.displayName = 'CardContent';
6045
6048
  var CardContent = withScale(CardContentComponent);
6046
6049
 
6047
- var _excluded$10 = ["opacity"];
6050
+ var _excluded$11 = ["opacity"];
6048
6051
  var ImageSkeleton = /*#__PURE__*/React.memo(function (_ref) {
6049
6052
  var _ref$opacity = _ref.opacity,
6050
6053
  opacity = _ref$opacity === void 0 ? 0.5 : _ref$opacity,
6051
- props = _objectWithoutProperties(_ref, _excluded$10);
6054
+ props = _objectWithoutProperties(_ref, _excluded$11);
6052
6055
  var theme$1 = theme.useTheme();
6053
6056
  return /*#__PURE__*/jsxRuntime.jsx("div", _objectSpread2(_objectSpread2({}, props), {}, {
6054
6057
  className: _JSXStyle.dynamic([["2946022605", [theme$1.palette.accents_1, theme$1.palette.accents_2, theme$1.palette.accents_2, theme$1.palette.accents_1, opacity]]]) + " " + (props && props.className != null && props.className || "skeleton"),
@@ -6076,7 +6079,7 @@ var getHostFromUrl = function getHostFromUrl(url) {
6076
6079
  }
6077
6080
  };
6078
6081
 
6079
- var _excluded$$ = ["src", "disableSkeleton", "className", "maxDelay"];
6082
+ var _excluded$10 = ["src", "disableSkeleton", "className", "maxDelay"];
6080
6083
  var ImageComponent = function ImageComponent(_ref) {
6081
6084
  var src = _ref.src,
6082
6085
  _ref$disableSkeleton = _ref.disableSkeleton,
@@ -6085,7 +6088,7 @@ var ImageComponent = function ImageComponent(_ref) {
6085
6088
  className = _ref$className === void 0 ? '' : _ref$className,
6086
6089
  _ref$maxDelay = _ref.maxDelay,
6087
6090
  maxDelay = _ref$maxDelay === void 0 ? 3000 : _ref$maxDelay,
6088
- props = _objectWithoutProperties(_ref, _excluded$$);
6091
+ props = _objectWithoutProperties(_ref, _excluded$10);
6089
6092
  var _useScale = useScale(),
6090
6093
  SCALES = _useScale.SCALES,
6091
6094
  getScaleProps = _useScale.getScaleProps;
@@ -6185,7 +6188,7 @@ var getBrowserColors = function getBrowserColors(invert, palette) {
6185
6188
  };
6186
6189
  };
6187
6190
 
6188
- var _excluded$_ = ["url", "title", "children", "showFullLink", "invert", "anchorProps", "className"];
6191
+ var _excluded$$ = ["url", "title", "children", "showFullLink", "invert", "anchorProps", "className"];
6189
6192
  var getTitle = function getTitle(title, colors) {
6190
6193
  return /*#__PURE__*/jsxRuntime.jsxs("div", {
6191
6194
  className: _JSXStyle.dynamic([["524099755", [colors.titleColor]]]) + " " + "title",
@@ -6227,7 +6230,7 @@ var ImageBrowserComponent = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
6227
6230
  anchorProps = _ref$anchorProps === void 0 ? {} : _ref$anchorProps,
6228
6231
  _ref$className = _ref.className,
6229
6232
  className = _ref$className === void 0 ? '' : _ref$className,
6230
- props = _objectWithoutProperties(_ref, _excluded$_);
6233
+ props = _objectWithoutProperties(_ref, _excluded$$);
6231
6234
  var theme$1 = theme.useTheme();
6232
6235
  var _useScale = useScale(),
6233
6236
  SCALES = _useScale.SCALES;
@@ -6267,7 +6270,7 @@ var ImageBrowser = withScale(ImageBrowserComponent);
6267
6270
 
6268
6271
  Image.Browser = ImageBrowser;
6269
6272
 
6270
- var _excluded$Z = ["children", "hoverable", "className", "shadow", "type"];
6273
+ var _excluded$_ = ["children", "hoverable", "className", "shadow", "type"];
6271
6274
  var CardComponent = function CardComponent(_ref) {
6272
6275
  var children = _ref.children,
6273
6276
  _ref$hoverable = _ref.hoverable,
@@ -6278,7 +6281,7 @@ var CardComponent = function CardComponent(_ref) {
6278
6281
  shadow = _ref$shadow === void 0 ? false : _ref$shadow,
6279
6282
  _ref$type = _ref.type,
6280
6283
  type = _ref$type === void 0 ? 'default' : _ref$type,
6281
- props = _objectWithoutProperties(_ref, _excluded$Z);
6284
+ props = _objectWithoutProperties(_ref, _excluded$_);
6282
6285
  var theme$1 = theme.useTheme();
6283
6286
  var _useScale = useScale(),
6284
6287
  SCALES = _useScale.SCALES;
@@ -6422,7 +6425,7 @@ var getColors$6 = function getColors(palette, status) {
6422
6425
  return colors[status];
6423
6426
  };
6424
6427
 
6425
- var _excluded$Y = ["checked", "initialChecked", "disabled", "onChange", "className", "children", "type", "value", "block"];
6428
+ var _excluded$Z = ["checked", "initialChecked", "disabled", "onChange", "className", "children", "type", "value", "block"];
6426
6429
  var CheckboxComponent = function CheckboxComponent(_ref) {
6427
6430
  var checked = _ref.checked,
6428
6431
  _ref$initialChecked = _ref.initialChecked,
@@ -6439,7 +6442,7 @@ var CheckboxComponent = function CheckboxComponent(_ref) {
6439
6442
  value = _ref$value === void 0 ? '' : _ref$value,
6440
6443
  _ref$block = _ref.block,
6441
6444
  block = _ref$block === void 0 ? false : _ref$block,
6442
- props = _objectWithoutProperties(_ref, _excluded$Y);
6445
+ props = _objectWithoutProperties(_ref, _excluded$Z);
6443
6446
  var theme$1 = theme.useTheme();
6444
6447
  var _useScale = useScale(),
6445
6448
  SCALES = _useScale.SCALES;
@@ -6522,7 +6525,7 @@ var CheckboxComponent = function CheckboxComponent(_ref) {
6522
6525
  CheckboxComponent.displayName = 'Checkbox';
6523
6526
  var Checkbox = withScale(CheckboxComponent);
6524
6527
 
6525
- var _excluded$X = ["disabled", "onChange", "value", "children", "className"];
6528
+ var _excluded$Y = ["disabled", "onChange", "value", "children", "className"];
6526
6529
  var CheckboxGroupComponent = function CheckboxGroupComponent(_ref) {
6527
6530
  var _ref$disabled = _ref.disabled,
6528
6531
  disabled = _ref$disabled === void 0 ? false : _ref$disabled,
@@ -6531,7 +6534,7 @@ var CheckboxGroupComponent = function CheckboxGroupComponent(_ref) {
6531
6534
  children = _ref.children,
6532
6535
  _ref$className = _ref.className,
6533
6536
  className = _ref$className === void 0 ? '' : _ref$className,
6534
- props = _objectWithoutProperties(_ref, _excluded$X);
6537
+ props = _objectWithoutProperties(_ref, _excluded$Y);
6535
6538
  var _useScale = useScale(),
6536
6539
  SCALES = _useScale.SCALES;
6537
6540
  var _useState = React.useState([]),
@@ -6581,7 +6584,7 @@ var CheckboxGroup = withScale(CheckboxGroupComponent);
6581
6584
 
6582
6585
  Checkbox.Group = CheckboxGroup;
6583
6586
 
6584
- var _excluded$W = ["children", "block", "className", "name", "classic"];
6587
+ var _excluded$X = ["children", "block", "className", "name", "classic"];
6585
6588
  var CodeComponent = function CodeComponent(_ref) {
6586
6589
  var children = _ref.children,
6587
6590
  _ref$block = _ref.block,
@@ -6592,7 +6595,7 @@ var CodeComponent = function CodeComponent(_ref) {
6592
6595
  name = _ref$name === void 0 ? '' : _ref$name,
6593
6596
  _ref$classic = _ref.classic,
6594
6597
  classic = _ref$classic === void 0 ? false : _ref$classic,
6595
- props = _objectWithoutProperties(_ref, _excluded$W);
6598
+ props = _objectWithoutProperties(_ref, _excluded$X);
6596
6599
  var _useScale = useScale(),
6597
6600
  SCALES = _useScale.SCALES;
6598
6601
  var theme$1 = theme.useTheme();
@@ -6810,7 +6813,7 @@ var useCollapseContext = function useCollapseContext() {
6810
6813
  return React.useContext(CollapseContext);
6811
6814
  };
6812
6815
 
6813
- var _excluded$V = ["children", "title", "subtitle", "initialVisible", "shadow", "className", "index"];
6816
+ var _excluded$W = ["children", "title", "subtitle", "initialVisible", "shadow", "className", "index"];
6814
6817
  var CollapseComponent = function CollapseComponent(_ref) {
6815
6818
  var children = _ref.children,
6816
6819
  title = _ref.title,
@@ -6822,7 +6825,7 @@ var CollapseComponent = function CollapseComponent(_ref) {
6822
6825
  _ref$className = _ref.className,
6823
6826
  className = _ref$className === void 0 ? '' : _ref$className,
6824
6827
  index = _ref.index,
6825
- props = _objectWithoutProperties(_ref, _excluded$V);
6828
+ props = _objectWithoutProperties(_ref, _excluded$W);
6826
6829
  var theme$1 = theme.useTheme();
6827
6830
  var _useScale = useScale(),
6828
6831
  SCALES = _useScale.SCALES;
@@ -6886,14 +6889,14 @@ var CollapseComponent = function CollapseComponent(_ref) {
6886
6889
  CollapseComponent.displayName = 'Collapse';
6887
6890
  var Collapse = withScale(CollapseComponent);
6888
6891
 
6889
- var _excluded$U = ["children", "accordion", "className"];
6892
+ var _excluded$V = ["children", "accordion", "className"];
6890
6893
  var CollapseGroupComponent = function CollapseGroupComponent(_ref) {
6891
6894
  var children = _ref.children,
6892
6895
  _ref$accordion = _ref.accordion,
6893
6896
  accordion = _ref$accordion === void 0 ? true : _ref$accordion,
6894
6897
  _ref$className = _ref.className,
6895
6898
  className = _ref$className === void 0 ? '' : _ref$className,
6896
- props = _objectWithoutProperties(_ref, _excluded$U);
6899
+ props = _objectWithoutProperties(_ref, _excluded$V);
6897
6900
  var _useScale = useScale(),
6898
6901
  SCALES = _useScale.SCALES;
6899
6902
  var _useCurrentState = theme.useCurrentState([]),
@@ -6949,7 +6952,7 @@ var CollapseGroup = withScale(CollapseGroupComponent);
6949
6952
 
6950
6953
  Collapse.Group = CollapseGroup;
6951
6954
 
6952
- var _excluded$T = ["title", "content", "className"];
6955
+ var _excluded$U = ["title", "content", "className"];
6953
6956
  var DescriptionComponent = function DescriptionComponent(_ref) {
6954
6957
  var _ref$title = _ref.title,
6955
6958
  title = _ref$title === void 0 ? 'Title' : _ref$title,
@@ -6957,7 +6960,7 @@ var DescriptionComponent = function DescriptionComponent(_ref) {
6957
6960
  content = _ref$content === void 0 ? '' : _ref$content,
6958
6961
  _ref$className = _ref.className,
6959
6962
  className = _ref$className === void 0 ? '' : _ref$className,
6960
- props = _objectWithoutProperties(_ref, _excluded$T);
6963
+ props = _objectWithoutProperties(_ref, _excluded$U);
6961
6964
  var theme$1 = theme.useTheme();
6962
6965
  var _useScale = useScale(),
6963
6966
  SCALES = _useScale.SCALES;
@@ -6980,7 +6983,7 @@ var DescriptionComponent = function DescriptionComponent(_ref) {
6980
6983
  DescriptionComponent.displayName = 'Description';
6981
6984
  var Description = withScale(DescriptionComponent);
6982
6985
 
6983
- var _excluded$S = ["children", "caption", "shadow", "className"];
6986
+ var _excluded$T = ["children", "caption", "shadow", "className"];
6984
6987
  var DisplayComponent = function DisplayComponent(_ref) {
6985
6988
  var children = _ref.children,
6986
6989
  _ref$caption = _ref.caption,
@@ -6989,7 +6992,7 @@ var DisplayComponent = function DisplayComponent(_ref) {
6989
6992
  shadow = _ref$shadow === void 0 ? false : _ref$shadow,
6990
6993
  _ref$className = _ref.className,
6991
6994
  className = _ref$className === void 0 ? '' : _ref$className,
6992
- props = _objectWithoutProperties(_ref, _excluded$S);
6995
+ props = _objectWithoutProperties(_ref, _excluded$T);
6993
6996
  var theme$1 = theme.useTheme();
6994
6997
  var _useScale = useScale(),
6995
6998
  SCALES = _useScale.SCALES;
@@ -7015,7 +7018,7 @@ var DisplayComponent = function DisplayComponent(_ref) {
7015
7018
  DisplayComponent.displayName = 'Display';
7016
7019
  var Display = withScale(DisplayComponent);
7017
7020
 
7018
- var _excluded$R = ["type", "align", "children", "className"];
7021
+ var _excluded$S = ["type", "align", "children", "className"];
7019
7022
  var getColor$2 = function getColor(type, palette) {
7020
7023
  var colors = {
7021
7024
  "default": palette.border,
@@ -7036,7 +7039,7 @@ var DividerComponent = function DividerComponent(_ref) {
7036
7039
  children = _ref.children,
7037
7040
  _ref$className = _ref.className,
7038
7041
  className = _ref$className === void 0 ? '' : _ref$className,
7039
- props = _objectWithoutProperties(_ref, _excluded$R);
7042
+ props = _objectWithoutProperties(_ref, _excluded$S);
7040
7043
  var theme$1 = theme.useTheme();
7041
7044
  var _useScale = useScale(),
7042
7045
  SCALES = _useScale.SCALES;
@@ -7068,7 +7071,7 @@ var DividerComponent = function DividerComponent(_ref) {
7068
7071
  DividerComponent.displayName = 'Divider';
7069
7072
  var Divider = withScale(DividerComponent);
7070
7073
 
7071
- var _excluded$Q = ["type", "children", "className"];
7074
+ var _excluded$R = ["type", "children", "className"];
7072
7075
  var getColor$1 = function getColor(type, theme) {
7073
7076
  var colors = {
7074
7077
  "default": theme.palette.accents_2,
@@ -7084,7 +7087,7 @@ var DotComponent = function DotComponent(_ref) {
7084
7087
  children = _ref.children,
7085
7088
  _ref$className = _ref.className,
7086
7089
  className = _ref$className === void 0 ? '' : _ref$className,
7087
- props = _objectWithoutProperties(_ref, _excluded$Q);
7090
+ props = _objectWithoutProperties(_ref, _excluded$R);
7088
7091
  var theme$1 = theme.useTheme();
7089
7092
  var _useScale = useScale(),
7090
7093
  SCALES = _useScale.SCALES;
@@ -7422,7 +7425,7 @@ var getDrawerTransform = function getDrawerTransform(placement) {
7422
7425
  return translates[placement];
7423
7426
  };
7424
7427
 
7425
- var _excluded$P = ["className", "children", "visible", "placement"];
7428
+ var _excluded$Q = ["className", "children", "visible", "placement"];
7426
7429
  var DrawerWrapper = function DrawerWrapper(_ref) {
7427
7430
  var _ref$className = _ref.className,
7428
7431
  className = _ref$className === void 0 ? '' : _ref$className,
@@ -7430,7 +7433,7 @@ var DrawerWrapper = function DrawerWrapper(_ref) {
7430
7433
  _ref$visible = _ref.visible,
7431
7434
  visible = _ref$visible === void 0 ? false : _ref$visible,
7432
7435
  placement = _ref.placement,
7433
- props = _objectWithoutProperties(_ref, _excluded$P);
7436
+ props = _objectWithoutProperties(_ref, _excluded$Q);
7434
7437
  var theme$1 = theme.useTheme();
7435
7438
  var _useScale = useScale(),
7436
7439
  SCALES = _useScale.SCALES;
@@ -7493,7 +7496,7 @@ var DrawerWrapper = function DrawerWrapper(_ref) {
7493
7496
  };
7494
7497
  DrawerWrapper.displayName = 'DrawerWrapper';
7495
7498
 
7496
- var _excluded$O = ["visible", "keyboard", "disableBackdropClick", "onClose", "onContentClick", "wrapClassName", "children", "placement"];
7499
+ var _excluded$P = ["visible", "keyboard", "disableBackdropClick", "onClose", "onContentClick", "wrapClassName", "children", "placement"];
7497
7500
  var DrawerComponent = function DrawerComponent(_ref) {
7498
7501
  var customVisible = _ref.visible,
7499
7502
  _ref$keyboard = _ref.keyboard,
@@ -7507,7 +7510,7 @@ var DrawerComponent = function DrawerComponent(_ref) {
7507
7510
  children = _ref.children,
7508
7511
  _ref$placement = _ref.placement,
7509
7512
  placement = _ref$placement === void 0 ? 'right' : _ref$placement,
7510
- props = _objectWithoutProperties(_ref, _excluded$O);
7513
+ props = _objectWithoutProperties(_ref, _excluded$P);
7511
7514
  var portal = usePortal('drawer');
7512
7515
  var _useState = React.useState(false),
7513
7516
  _useState2 = _slicedToArray(_useState, 2),
@@ -7556,12 +7559,12 @@ var DrawerComponent = function DrawerComponent(_ref) {
7556
7559
  };
7557
7560
  DrawerComponent.displayName = 'Drawer';
7558
7561
 
7559
- var _excluded$N = ["className", "children"];
7562
+ var _excluded$O = ["className", "children"];
7560
7563
  var ModalTitleComponent = function ModalTitleComponent(_ref) {
7561
7564
  var _ref$className = _ref.className,
7562
7565
  className = _ref$className === void 0 ? '' : _ref$className,
7563
7566
  children = _ref.children,
7564
- props = _objectWithoutProperties(_ref, _excluded$N);
7567
+ props = _objectWithoutProperties(_ref, _excluded$O);
7565
7568
  var theme$1 = theme.useTheme();
7566
7569
  var _useScale = useScale(),
7567
7570
  SCALES = _useScale.SCALES;
@@ -7579,12 +7582,12 @@ var ModalTitleComponent = function ModalTitleComponent(_ref) {
7579
7582
  ModalTitleComponent.displayName = 'ModalTitle';
7580
7583
  var ModalTitle = withScale(ModalTitleComponent);
7581
7584
 
7582
- var _excluded$M = ["className", "children"];
7585
+ var _excluded$N = ["className", "children"];
7583
7586
  var ModalSubtitleComponent = function ModalSubtitleComponent(_ref) {
7584
7587
  var _ref$className = _ref.className,
7585
7588
  className = _ref$className === void 0 ? '' : _ref$className,
7586
7589
  children = _ref.children,
7587
- props = _objectWithoutProperties(_ref, _excluded$M);
7590
+ props = _objectWithoutProperties(_ref, _excluded$N);
7588
7591
  var theme$1 = theme.useTheme();
7589
7592
  var _useScale = useScale(),
7590
7593
  SCALES = _useScale.SCALES;
@@ -7602,12 +7605,12 @@ var ModalSubtitleComponent = function ModalSubtitleComponent(_ref) {
7602
7605
  ModalSubtitleComponent.displayName = 'ModalSubtitle';
7603
7606
  var ModalSubtitle = withScale(ModalSubtitleComponent);
7604
7607
 
7605
- var _excluded$L = ["className", "children"];
7608
+ var _excluded$M = ["className", "children"];
7606
7609
  var ModalContentComponent = function ModalContentComponent(_ref) {
7607
7610
  var _ref$className = _ref.className,
7608
7611
  className = _ref$className === void 0 ? '' : _ref$className,
7609
7612
  children = _ref.children,
7610
- props = _objectWithoutProperties(_ref, _excluded$L);
7613
+ props = _objectWithoutProperties(_ref, _excluded$M);
7611
7614
  var _useScale = useScale(),
7612
7615
  SCALES = _useScale.SCALES;
7613
7616
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
@@ -7629,12 +7632,12 @@ DrawerComponent.Title = ModalTitle;
7629
7632
  DrawerComponent.Subtitle = ModalSubtitle;
7630
7633
  DrawerComponent.Content = ModalContent;
7631
7634
 
7632
- var _excluded$K = ["className", "children"];
7635
+ var _excluded$L = ["className", "children"];
7633
7636
  var FieldsetTitle = function FieldsetTitle(_ref) {
7634
7637
  var _ref$className = _ref.className,
7635
7638
  className = _ref$className === void 0 ? '' : _ref$className,
7636
7639
  children = _ref.children,
7637
- props = _objectWithoutProperties(_ref, _excluded$K);
7640
+ props = _objectWithoutProperties(_ref, _excluded$L);
7638
7641
  var classes = theme.useClasses('title', className);
7639
7642
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
7640
7643
  children: [/*#__PURE__*/jsxRuntime.jsx("div", _objectSpread2(_objectSpread2({}, props), {}, {
@@ -7648,12 +7651,12 @@ var FieldsetTitle = function FieldsetTitle(_ref) {
7648
7651
  };
7649
7652
  FieldsetTitle.displayName = 'FieldsetTitle';
7650
7653
 
7651
- var _excluded$J = ["className", "children"];
7654
+ var _excluded$K = ["className", "children"];
7652
7655
  var FieldsetSubtitle = function FieldsetSubtitle(_ref) {
7653
7656
  var _ref$className = _ref.className,
7654
7657
  className = _ref$className === void 0 ? '' : _ref$className,
7655
7658
  children = _ref.children,
7656
- props = _objectWithoutProperties(_ref, _excluded$J);
7659
+ props = _objectWithoutProperties(_ref, _excluded$K);
7657
7660
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
7658
7661
  children: [/*#__PURE__*/jsxRuntime.jsx("div", _objectSpread2(_objectSpread2({}, props), {}, {
7659
7662
  className: "jsx-2265168013" + " " + (props && props.className != null && props.className || className || ""),
@@ -7666,12 +7669,12 @@ var FieldsetSubtitle = function FieldsetSubtitle(_ref) {
7666
7669
  };
7667
7670
  FieldsetSubtitle.displayName = 'FieldsetSubtitle';
7668
7671
 
7669
- var _excluded$I = ["className", "children"];
7672
+ var _excluded$J = ["className", "children"];
7670
7673
  var FieldsetFooterComponent = function FieldsetFooterComponent(_ref) {
7671
7674
  var _ref$className = _ref.className,
7672
7675
  className = _ref$className === void 0 ? '' : _ref$className,
7673
7676
  children = _ref.children,
7674
- props = _objectWithoutProperties(_ref, _excluded$I);
7677
+ props = _objectWithoutProperties(_ref, _excluded$J);
7675
7678
  var theme$1 = theme.useTheme();
7676
7679
  var _useScale = useScale(),
7677
7680
  SCALES = _useScale.SCALES;
@@ -7687,12 +7690,12 @@ var FieldsetFooterComponent = function FieldsetFooterComponent(_ref) {
7687
7690
  FieldsetFooterComponent.displayName = 'FieldsetFooter';
7688
7691
  var FieldsetFooter = withScale(FieldsetFooterComponent);
7689
7692
 
7690
- var _excluded$H = ["className", "children"];
7693
+ var _excluded$I = ["className", "children"];
7691
7694
  var FieldsetContentComponent = function FieldsetContentComponent(_ref) {
7692
7695
  var _ref$className = _ref.className,
7693
7696
  className = _ref$className === void 0 ? '' : _ref$className,
7694
7697
  children = _ref.children,
7695
- props = _objectWithoutProperties(_ref, _excluded$H);
7698
+ props = _objectWithoutProperties(_ref, _excluded$I);
7696
7699
  var _useScale = useScale(),
7697
7700
  SCALES = _useScale.SCALES;
7698
7701
  var classes = theme.useClasses('content', className);
@@ -7719,7 +7722,7 @@ var useFieldset = function useFieldset() {
7719
7722
  return React.useContext(FieldsetContext);
7720
7723
  };
7721
7724
 
7722
- var _excluded$G = ["className", "title", "subtitle", "children", "value", "label"];
7725
+ var _excluded$H = ["className", "title", "subtitle", "children", "value", "label"];
7723
7726
  var FieldsetComponent = function FieldsetComponent(_ref) {
7724
7727
  var _ref$className = _ref.className,
7725
7728
  className = _ref$className === void 0 ? '' : _ref$className,
@@ -7732,7 +7735,7 @@ var FieldsetComponent = function FieldsetComponent(_ref) {
7732
7735
  value = _ref$value === void 0 ? '' : _ref$value,
7733
7736
  _ref$label = _ref.label,
7734
7737
  label = _ref$label === void 0 ? '' : _ref$label,
7735
- props = _objectWithoutProperties(_ref, _excluded$G);
7738
+ props = _objectWithoutProperties(_ref, _excluded$H);
7736
7739
  var theme$1 = theme.useTheme();
7737
7740
  var _useScale = useScale(),
7738
7741
  SCALES = _useScale.SCALES;
@@ -7796,14 +7799,14 @@ var FieldsetComponent = function FieldsetComponent(_ref) {
7796
7799
  FieldsetComponent.displayName = 'Fieldset';
7797
7800
  var Fieldset = withScale(FieldsetComponent);
7798
7801
 
7799
- var _excluded$F = ["className", "children", "value", "onChange"];
7802
+ var _excluded$G = ["className", "children", "value", "onChange"];
7800
7803
  var FieldsetGroupComponent = function FieldsetGroupComponent(_ref) {
7801
7804
  var _ref$className = _ref.className,
7802
7805
  className = _ref$className === void 0 ? '' : _ref$className,
7803
7806
  children = _ref.children,
7804
7807
  value = _ref.value,
7805
7808
  onChange = _ref.onChange,
7806
- props = _objectWithoutProperties(_ref, _excluded$F);
7809
+ props = _objectWithoutProperties(_ref, _excluded$G);
7807
7810
  var theme$1 = theme.useTheme();
7808
7811
  var _useScale = useScale(),
7809
7812
  SCALES = _useScale.SCALES;
@@ -12512,7 +12515,7 @@ function setNestedObjectValues(object, value) {
12512
12515
 
12513
12516
  var __DEV__ = true;
12514
12517
 
12515
- var _excluded$E = ["validateOnChange", "validateOnBlur", "validateOnMount", "isInitialValid", "enableReinitialize", "onSubmit"];
12518
+ var _excluded$F = ["validateOnChange", "validateOnBlur", "validateOnMount", "isInitialValid", "enableReinitialize", "onSubmit"];
12516
12519
  // State reducer
12517
12520
  function formikReducer(state, msg) {
12518
12521
  switch (msg.type) {
@@ -12596,7 +12599,7 @@ function useFormik(_ref) {
12596
12599
  _ref$enableReinitiali = _ref.enableReinitialize,
12597
12600
  enableReinitialize = _ref$enableReinitiali === void 0 ? false : _ref$enableReinitiali,
12598
12601
  onSubmit = _ref.onSubmit,
12599
- rest = _objectWithoutProperties(_ref, _excluded$E);
12602
+ rest = _objectWithoutProperties(_ref, _excluded$F);
12600
12603
  var props = _objectSpread2({
12601
12604
  validateOnChange: validateOnChange,
12602
12605
  validateOnBlur: validateOnBlur,
@@ -13469,6 +13472,26 @@ function useEventCallback(fn) {
13469
13472
  }, []);
13470
13473
  }
13471
13474
 
13475
+ var _excluded$E = ["action"];
13476
+ // @todo tests
13477
+ var Form = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) {
13478
+ // iOS needs an "action" attribute for nice input: https://stackoverflow.com/a/39485162/406725
13479
+ // We default the action to "#" in case the preventDefault fails (just updates the URL hash)
13480
+ var action = props.action,
13481
+ rest = _objectWithoutProperties(props, _excluded$E);
13482
+ var _action = action !== null && action !== void 0 ? action : '#';
13483
+ var _useFormikContext = useFormikContext(),
13484
+ handleReset = _useFormikContext.handleReset,
13485
+ handleSubmit = _useFormikContext.handleSubmit;
13486
+ return /*#__PURE__*/jsxRuntime.jsx("form", _objectSpread2({
13487
+ onSubmit: handleSubmit,
13488
+ ref: ref,
13489
+ onReset: handleReset,
13490
+ action: _action
13491
+ }, rest));
13492
+ });
13493
+ Form.displayName = 'Form';
13494
+
13472
13495
  var _excluded$D = ["mapPropsToValues"],
13473
13496
  _excluded2 = ["children"];
13474
13497
  /**
@@ -36664,7 +36687,7 @@ function TableComponent(tableProps) {
36664
36687
  auto: true,
36665
36688
  px: 0.6,
36666
36689
  scale: 2 / 3,
36667
- iconRight: /*#__PURE__*/jsxRuntime.jsx(icons.ChevronLeft, {})
36690
+ iconRight: /*#__PURE__*/jsxRuntime.jsx(ChevronLeft, {})
36668
36691
  })
36669
36692
  }), /*#__PURE__*/jsxRuntime.jsx(Tooltip.Small, {
36670
36693
  text: "Next",
@@ -36680,7 +36703,7 @@ function TableComponent(tableProps) {
36680
36703
  iconRight: isLoading ? /*#__PURE__*/jsxRuntime.jsx(Loading, {
36681
36704
  width: "20px",
36682
36705
  height: "20px"
36683
- }) : /*#__PURE__*/jsxRuntime.jsx(icons.ChevronRight, {})
36706
+ }) : /*#__PURE__*/jsxRuntime.jsx(ChevronRight, {})
36684
36707
  })
36685
36708
  })]
36686
36709
  }), dataLength && viewLength && onPageChange ? /*#__PURE__*/jsxRuntime.jsxs(Pagination, {
@@ -36698,9 +36721,9 @@ function TableComponent(tableProps) {
36698
36721
  limit: 5,
36699
36722
  count: Number(dataLength / viewLength),
36700
36723
  children: [/*#__PURE__*/jsxRuntime.jsx(Pagination.Next, {
36701
- children: /*#__PURE__*/jsxRuntime.jsx(icons.ChevronRight, {})
36724
+ children: /*#__PURE__*/jsxRuntime.jsx(ChevronRight, {})
36702
36725
  }), /*#__PURE__*/jsxRuntime.jsx(Pagination.Previous, {
36703
- children: /*#__PURE__*/jsxRuntime.jsx(icons.ChevronLeft, {})
36726
+ children: /*#__PURE__*/jsxRuntime.jsx(ChevronLeft, {})
36704
36727
  })]
36705
36728
  }) : null]
36706
36729
  }) : null, /*#__PURE__*/jsxRuntime.jsx(_JSXStyle, {
@@ -41395,7 +41418,7 @@ var Thumbs = /*#__PURE__*/function (_Component) {
41395
41418
  zIndex: '2',
41396
41419
  left: 0
41397
41420
  },
41398
- iconRight: /*#__PURE__*/jsxRuntime.jsx(icons.ChevronLeft, {}),
41421
+ iconRight: /*#__PURE__*/jsxRuntime.jsx(ChevronLeft, {}),
41399
41422
  className: klass.ARROW_PREV(!hasPrev),
41400
41423
  onClick: function onClick() {
41401
41424
  return _this3.slideRight();
@@ -41433,7 +41456,7 @@ var Thumbs = /*#__PURE__*/function (_Component) {
41433
41456
  zIndex: '2',
41434
41457
  right: 0
41435
41458
  },
41436
- iconRight: /*#__PURE__*/jsxRuntime.jsx(icons.ChevronRight, {}),
41459
+ iconRight: /*#__PURE__*/jsxRuntime.jsx(ChevronRight, {}),
41437
41460
  className: klass.ARROW_NEXT(!hasNext),
41438
41461
  onClick: function onClick() {
41439
41462
  return _this3.slideLeft();
@@ -42752,7 +42775,7 @@ function Clipboard(props) {
42752
42775
  onClick: function onClick() {
42753
42776
  return _onClick;
42754
42777
  },
42755
- icon: /*#__PURE__*/jsxRuntime.jsx(icons.Copy, {})
42778
+ icon: /*#__PURE__*/jsxRuntime.jsx(Copy, {})
42756
42779
  })]
42757
42780
  });
42758
42781
  }
@@ -42789,6 +42812,7 @@ exports.Drawer = DrawerComponent;
42789
42812
  exports.ErrorMessage = ErrorMessage;
42790
42813
  exports.Expandable = Expandable;
42791
42814
  exports.Fieldset = Fieldset;
42815
+ exports.Form = Form;
42792
42816
  exports.FormWrapper = FormWrapper;
42793
42817
  exports.FormikConsumer = FormikConsumer;
42794
42818
  exports.FormikContext = FormikContext;
@@ -7,7 +7,8 @@ var theme = require('@helpdice/theme');
7
7
  var jsxRuntime = require('react/jsx-runtime');
8
8
  var reactDom = require('react-dom');
9
9
  var pro = require('@helpdice/pro');
10
- var icons = require('@helpdice/icons');
10
+ var ChevronLeft = require('@helpdice/icons/curved/ChevronLeft');
11
+ var ChevronRight = require('@helpdice/icons/curved/ChevronRight');
11
12
 
12
13
  function _arrayLikeToArray(r, a) {
13
14
  (null == a || a > r.length) && (a = r.length);
@@ -24408,7 +24409,7 @@ function TableComponent(tableProps) {
24408
24409
  auto: true,
24409
24410
  px: 0.6,
24410
24411
  scale: 2 / 3,
24411
- iconRight: /*#__PURE__*/jsxRuntime.jsx(icons.ChevronLeft, {})
24412
+ iconRight: /*#__PURE__*/jsxRuntime.jsx(ChevronLeft, {})
24412
24413
  })
24413
24414
  }), /*#__PURE__*/jsxRuntime.jsx(Tooltip.Small, {
24414
24415
  text: "Next",
@@ -24424,7 +24425,7 @@ function TableComponent(tableProps) {
24424
24425
  iconRight: isLoading ? /*#__PURE__*/jsxRuntime.jsx(Loading, {
24425
24426
  width: "20px",
24426
24427
  height: "20px"
24427
- }) : /*#__PURE__*/jsxRuntime.jsx(icons.ChevronRight, {})
24428
+ }) : /*#__PURE__*/jsxRuntime.jsx(ChevronRight, {})
24428
24429
  })
24429
24430
  })]
24430
24431
  }), dataLength && viewLength && onPageChange ? /*#__PURE__*/jsxRuntime.jsxs(Pagination, {
@@ -24442,9 +24443,9 @@ function TableComponent(tableProps) {
24442
24443
  limit: 5,
24443
24444
  count: Number(dataLength / viewLength),
24444
24445
  children: [/*#__PURE__*/jsxRuntime.jsx(Pagination.Next, {
24445
- children: /*#__PURE__*/jsxRuntime.jsx(icons.ChevronRight, {})
24446
+ children: /*#__PURE__*/jsxRuntime.jsx(ChevronRight, {})
24446
24447
  }), /*#__PURE__*/jsxRuntime.jsx(Pagination.Previous, {
24447
- children: /*#__PURE__*/jsxRuntime.jsx(icons.ChevronLeft, {})
24448
+ children: /*#__PURE__*/jsxRuntime.jsx(ChevronLeft, {})
24448
24449
  })]
24449
24450
  }) : null]
24450
24451
  }) : null, /*#__PURE__*/jsxRuntime.jsx(_JSXStyle, {
@@ -16,7 +16,7 @@ import Loading from '../loading';
16
16
  import { pickChild } from '../utils/collections';
17
17
  import { useCurrentState } from '@helpdice/theme';
18
18
  import useScale, { withScale } from '../use-scale';
19
- import { ArrowRight } from '@helpdice/icons';
19
+ import ArrowRight from '@helpdice/icons/curved/ArrowRight';
20
20
  var childrenToOptionsNode = function childrenToOptionsNode(options) {
21
21
  return options.map(function (item, index) {
22
22
  var key = "auto-complete-item-".concat(index);
@@ -16,7 +16,9 @@ import CSSTranslate from './CSSTranslate';
16
16
  import Swipe from '../swipe';
17
17
  import getWindow from './shims/window';
18
18
  import Button from '../button';
19
- import { ChevronLeft, ChevronRight } from '@helpdice/icons';
19
+ // icons
20
+ import ChevronLeft from "@helpdice/icons/curved/ChevronLeft";
21
+ import ChevronRight from "@helpdice/icons/curved/ChevronRight";
20
22
  var isKeyboardEvent = function isKeyboardEvent(e) {
21
23
  return e.hasOwnProperty('key');
22
24
  };
@@ -1,9 +1,10 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import React, { Children } from 'react';
3
3
  import copy from './copy';
4
- import { Copy } from '@helpdice/icons';
5
4
  import Button from '../button';
6
5
  import { useToasts } from '@helpdice/theme';
6
+ // icons
7
+ import Copy from "@helpdice/icons/curved/Copy";
7
8
 
8
9
  // export function Clipboard(props: ClipboardProps) {
9
10
  // const { setToast } = useToasts();
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ export type FormikFormProps = Pick<React.FormHTMLAttributes<HTMLFormElement>, Exclude<keyof React.FormHTMLAttributes<HTMLFormElement>, 'onReset' | 'onSubmit'>>;
3
+ export declare const Form: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, "ref"> & React.RefAttributes<HTMLFormElement>>;
@@ -1,5 +1,6 @@
1
1
  import connect from './connect';
2
2
  import { FormWrapper, useFormik, yupToFormErrors, validateYupSchema, prepareDataForValidation } from './FormWrapper';
3
+ export * from './Form';
3
4
  import withFormik from './withFormik';
4
5
  import { isEmptyArray, isEmptyChildren, isInputEvent, isInteger, isObject, isPromise, isFunction, isNaN, isString, getActiveElement, getIn, setIn, setNestedObjectValues } from './utils';
5
6
  import ErrorMessage from './ErrorMessage';
package/esm/form/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import connect from './connect';
3
3
  import { FormWrapper, useFormik, yupToFormErrors, validateYupSchema, prepareDataForValidation } from './FormWrapper';
4
4
  // export * from './Field';
5
- // export * from './Form';
5
+ export * from './Form';
6
6
  import withFormik from './withFormik';
7
7
  // import * as FieldArray from './FieldArray';
8
8
  import { isEmptyArray, isEmptyChildren, isInputEvent, isInteger, isObject, isPromise, isFunction, isNaN, isString, getActiveElement, getIn, setIn, setNestedObjectValues } from './utils';
package/esm/index.d.ts CHANGED
@@ -94,9 +94,9 @@ export type { HUIThemes, HUserTheme } from './themes';
94
94
  export { default as Toggle } from './toggle';
95
95
  export type { ToggleProps } from './toggle';
96
96
  export { default as Tooltip } from './tooltip';
97
- export { default as Notetip } from './notetip/note-tip';
97
+ export { default as Notetip } from './notetip/notetip';
98
98
  export type { TooltipProps } from './tooltip';
99
- export type { NotetipProps } from './notetip/note-tip';
99
+ export type { NotetipProps } from './notetip/notetip';
100
100
  export { default as Tree } from './tree';
101
101
  export type { TreeProps } from './tree';
102
102
  export { useTime, useTimer, useStopwatch } from './timer';
package/esm/index.js CHANGED
@@ -55,7 +55,7 @@ export { default as Textarea } from './textarea';
55
55
  export { default as Themes } from './themes';
56
56
  export { default as Toggle } from './toggle';
57
57
  export { default as Tooltip } from './tooltip';
58
- export { default as Notetip } from './notetip/note-tip';
58
+ export { default as Notetip } from './notetip/notetip';
59
59
  export { default as Tree } from './tree';
60
60
  export { useTime, useTimer, useStopwatch } from './timer';
61
61
  export { default as User } from './user';
@@ -1,2 +1,2 @@
1
- import Notetip from "./note-tip";
1
+ import Notetip from "./notetip";
2
2
  export default Notetip;
@@ -14,13 +14,15 @@ import useResize from '../utils/use-resize';
14
14
  import { TableContext } from './table-context';
15
15
  import useScale, { withScale } from '../use-scale';
16
16
  import TableColumn from './table-column';
17
- import { ChevronLeft, ChevronRight } from '@helpdice/icons';
18
17
  import Pagination from '../pagination';
19
18
  import Button from '../button';
20
19
  import Tooltip from '../tooltip';
21
20
  import Placeholder from '../placeholder';
22
21
  import { useTheme } from '@helpdice/theme';
23
22
  import Loading from '../loading';
23
+ // icons
24
+ import ChevronLeft from "@helpdice/icons/curved/ChevronLeft";
25
+ import ChevronRight from "@helpdice/icons/curved/ChevronRight";
24
26
  function TableComponent(tableProps) {
25
27
  /* eslint-disable @typescript-eslint/no-unused-vars */
26
28
  var _ref = tableProps,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@helpdice/ui",
3
- "version": "2.6.1-beta.4",
3
+ "version": "2.6.1-beta.6",
4
4
  "main": "dist/index.js",
5
5
  "types": "esm/index.d.ts",
6
6
  "unpkg": "dist/index.min.js",
@@ -62,7 +62,7 @@
62
62
  "@babel/preset-react": "^7.14.5",
63
63
  "@babel/preset-typescript": "^7.14.5",
64
64
  "@babel/standalone": "^7.28.3",
65
- "@helpdice/icons": "1.2.7",
65
+ "@helpdice/icons": "1.3.8",
66
66
  "@helpdice/pro": "2.2.0",
67
67
  "@helpdice/sdk": "^0.4.3",
68
68
  "@helpdice/utils": "^0.1.4",
File without changes
File without changes
File without changes