@dreamcommerce/aurora 3.0.0-94 → 3.0.0-96

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.
@@ -81,7 +81,7 @@ var useImagePicker = function useImagePicker(_ref) {
81
81
  setErrors([]);
82
82
  return isValid;
83
83
  }
84
- setErrors([].concat(_rollupPluginBabelHelpers.toConsumableArray(errors), [i18n.i18n.t(image_picker_constants.IMAGE_PICKER_ERROR.invalidFileFormat)]));
84
+ setErrors([].concat(_rollupPluginBabelHelpers.toConsumableArray(errors), [i18n['default'].t(image_picker_constants.IMAGE_PICKER_ERROR.invalidFileFormat)]));
85
85
  onError === null || onError === void 0 ? void 0 : onError(errors);
86
86
  return isValid;
87
87
  };
@@ -14,7 +14,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
14
14
 
15
15
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
16
16
 
17
- var _excluded = ["children", "id", "cssClassNames", "ContentComponent", "LabelComponent", "disabled"];
17
+ var _excluded = ["children", "id", "cssClassNames", "ContentComponent", "LabelComponent", "disabled", "isDragging"];
18
18
  var TreeNode = function TreeNode(_ref) {
19
19
  var children = _ref.children,
20
20
  id = _ref.id,
@@ -22,6 +22,7 @@ var TreeNode = function TreeNode(_ref) {
22
22
  ContentComponent = _ref.ContentComponent,
23
23
  LabelComponent = _ref.LabelComponent,
24
24
  disabled = _ref.disabled,
25
+ isDragging = _ref.isDragging,
25
26
  rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
26
27
  var treeApi = tree_hook.useTree();
27
28
  var node = tree_node_hook.useTreeNode(id, rest);
@@ -32,20 +33,26 @@ var TreeNode = function TreeNode(_ref) {
32
33
  treeApi.toggleNode(node.id);
33
34
  };
34
35
  var Label = LabelComponent ? (/*#__PURE__*/React__default['default'].createElement("div", {
35
- className: "aurora-w-full aurora-px-2 aurora-rounded-4 hover:aurora-bg-hover"
36
+ className: cn.cn('aurora-w-full aurora-px-2 aurora-rounded-4 hover:aurora-bg-hover', {
37
+ 'hover:aurora-bg-transparent': isDragging
38
+ })
36
39
  }, LabelComponent === null || LabelComponent === void 0 ? void 0 : LabelComponent({
37
40
  node: node,
38
41
  isLeaf: !children
39
42
  }))) : (/*#__PURE__*/React__default['default'].createElement("div", {
40
43
  tabIndex: !children ? 0 : -1,
41
- className: "aurora-w-full aurora-px-2 aurora-rounded-4 hover:aurora-bg-hover"
44
+ className: cn.cn('aurora-w-full aurora-px-2 aurora-rounded-4 hover:aurora-bg-hover', {
45
+ 'hover:aurora-bg-transparent': isDragging
46
+ })
42
47
  }, node.label ? node.label : node.id));
43
48
  var Content = ContentComponent ? ContentComponent === null || ContentComponent === void 0 ? void 0 : ContentComponent({
44
49
  node: node,
45
50
  toggleNode: toggleNode,
46
51
  isLeaf: !childrenCount
47
52
  }) : (/*#__PURE__*/React__default['default'].createElement("div", {
48
- className: "aurora-flex aurora-items-center aurora-rounded-4 hover:aurora-bg-hover"
53
+ className: cn.cn('aurora-flex aurora-items-center aurora-rounded-4 hover:aurora-bg-hover', {
54
+ 'hover:aurora-bg-transparent': isDragging
55
+ })
49
56
  }, /*#__PURE__*/React__default['default'].createElement("button", {
50
57
  className: "aurora-flex aurora-items-center aurora-p-1 aurora-cursor-pointer",
51
58
  onClick: toggleNode
@@ -60,7 +67,8 @@ var TreeNode = function TreeNode(_ref) {
60
67
  return /*#__PURE__*/React__default['default'].createElement("li", {
61
68
  className: "aurora-flex aurora-flex-col aurora-gap-2",
62
69
  role: "treeitem",
63
- "aria-expanded": node.expanded
70
+ "aria-expanded": node.expanded,
71
+ "data-disabled": !!disabled
64
72
  }, childrenCount ? Content : Label, childrenCount ? (/*#__PURE__*/React__default['default'].createElement(reactTransitionGroup.CSSTransition, {
65
73
  unmountOnExit: true,
66
74
  in: node.expanded,
@@ -1 +1 @@
1
- {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
1
+ {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
@@ -26,5 +26,5 @@ i18n.use(context.initReactI18next).init({
26
26
  }
27
27
  });
28
28
 
29
- exports.i18n = i18n;
29
+ exports.default = i18n;
30
30
  //# sourceMappingURL=i18n.js.map
@@ -2,7 +2,6 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var i18n = require('./i18n.js');
6
5
  var accordion_constants = require('./components/accordion/accordion_constants.js');
7
6
  var css_background_tokens = require('./constants/css_tokens/css_background_tokens.js');
8
7
  var css_border_color_tokens = require('./constants/css_tokens/css_border_color_tokens.js');
@@ -91,8 +90,6 @@ var control = require('./components/control/control.js');
91
90
  var switch_control = require('./components/controls/switch_control/switch_control.js');
92
91
  var input = require('./components/input/input.js');
93
92
  var input_control = require('./components/controls/input_control/input_control.js');
94
- var color_picker_constants = require('./components/color_picker/color_picker_constants.js');
95
- var color_picker_utils = require('./components/color_picker/color_picker_utils.js');
96
93
  var color_picker = require('./components/color_picker/color_picker.js');
97
94
  var color_picker_control = require('./components/controls/color_picker_control/color_picker_control.js');
98
95
  var checkbox = require('./components/checkbox/checkbox.js');
@@ -118,7 +115,6 @@ var tree_node = require('./components/tree/components/tree_node.js');
118
115
 
119
116
 
120
117
 
121
- exports.i18n = i18n.i18n;
122
118
  exports.ACCORDION_SIZES = accordion_constants.ACCORDION_SIZES;
123
119
  exports.CSS_BACKGROUND_TOKENS = css_background_tokens.CSS_BACKGROUND_TOKENS;
124
120
  exports.CSS_BORDER_COLOR_TOKENS = css_border_color_tokens.CSS_BORDER_COLOR_TOKENS;
@@ -225,8 +221,6 @@ exports.Control = control.Control;
225
221
  exports.SwitchControl = switch_control.SwitchControl;
226
222
  exports.Input = input.Input;
227
223
  exports.InputControl = input_control.InputControl;
228
- exports.GRADIENT_TYPES = color_picker_constants.GRADIENT_TYPES;
229
- exports.ColorPickerUtils = color_picker_utils.ColorPickerUtils;
230
224
  exports.ColorPicker = color_picker.ColorPicker;
231
225
  exports.ColorPickerControl = color_picker_control.ColorPickerControl;
232
226
  exports.Checkbox = checkbox.Checkbox;
@@ -1 +1 @@
1
- {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
1
+ {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
@@ -1,5 +1,5 @@
1
1
  import { useState, useRef, useEffect } from 'react';
2
- import { i18n } from '../../i18n.js';
2
+ import i18n from '../../i18n.js';
3
3
  import { slicedToArray as _slicedToArray, toConsumableArray as _toConsumableArray } from '../../../../../_virtual/_rollupPluginBabelHelpers.js';
4
4
  import { MIME_TYPE_TO_FILE_EXTENSIONS, IMAGE_PICKER_ERROR } from './image_picker_constants.js';
5
5
 
@@ -17,6 +17,7 @@ declare type TTreeNodeProps = TPropsWithChildren<ITreeNode & {
17
17
  expandIcon?: React.ReactNode;
18
18
  LabelComponent?: (props: TTreeLabelComponentProps) => React.ReactNode;
19
19
  ContentComponent?: (props: TTreeContentComponentProps) => React.ReactNode;
20
+ isDragging?: boolean;
20
21
  }>;
21
- export declare const TreeNode: ({ children, id, cssClassNames, ContentComponent, LabelComponent, disabled, ...rest }: TTreeNodeProps) => React.JSX.Element | null;
22
+ export declare const TreeNode: ({ children, id, cssClassNames, ContentComponent, LabelComponent, disabled, isDragging, ...rest }: TTreeNodeProps) => React.JSX.Element | null;
22
23
  export default TreeNode;
@@ -6,7 +6,7 @@ import { CSSTransition } from 'react-transition-group';
6
6
  import { useTree } from '../hooks/tree_hook.js';
7
7
  import { useTreeNode } from '../hooks/tree_node_hook.js';
8
8
 
9
- var _excluded = ["children", "id", "cssClassNames", "ContentComponent", "LabelComponent", "disabled"];
9
+ var _excluded = ["children", "id", "cssClassNames", "ContentComponent", "LabelComponent", "disabled", "isDragging"];
10
10
  var TreeNode = function TreeNode(_ref) {
11
11
  var children = _ref.children,
12
12
  id = _ref.id,
@@ -14,6 +14,7 @@ var TreeNode = function TreeNode(_ref) {
14
14
  ContentComponent = _ref.ContentComponent,
15
15
  LabelComponent = _ref.LabelComponent,
16
16
  disabled = _ref.disabled,
17
+ isDragging = _ref.isDragging,
17
18
  rest = _objectWithoutProperties(_ref, _excluded);
18
19
  var treeApi = useTree();
19
20
  var node = useTreeNode(id, rest);
@@ -24,20 +25,26 @@ var TreeNode = function TreeNode(_ref) {
24
25
  treeApi.toggleNode(node.id);
25
26
  };
26
27
  var Label = LabelComponent ? (/*#__PURE__*/React.createElement("div", {
27
- className: "aurora-w-full aurora-px-2 aurora-rounded-4 hover:aurora-bg-hover"
28
+ className: cn('aurora-w-full aurora-px-2 aurora-rounded-4 hover:aurora-bg-hover', {
29
+ 'hover:aurora-bg-transparent': isDragging
30
+ })
28
31
  }, LabelComponent === null || LabelComponent === void 0 ? void 0 : LabelComponent({
29
32
  node: node,
30
33
  isLeaf: !children
31
34
  }))) : (/*#__PURE__*/React.createElement("div", {
32
35
  tabIndex: !children ? 0 : -1,
33
- className: "aurora-w-full aurora-px-2 aurora-rounded-4 hover:aurora-bg-hover"
36
+ className: cn('aurora-w-full aurora-px-2 aurora-rounded-4 hover:aurora-bg-hover', {
37
+ 'hover:aurora-bg-transparent': isDragging
38
+ })
34
39
  }, node.label ? node.label : node.id));
35
40
  var Content = ContentComponent ? ContentComponent === null || ContentComponent === void 0 ? void 0 : ContentComponent({
36
41
  node: node,
37
42
  toggleNode: toggleNode,
38
43
  isLeaf: !childrenCount
39
44
  }) : (/*#__PURE__*/React.createElement("div", {
40
- className: "aurora-flex aurora-items-center aurora-rounded-4 hover:aurora-bg-hover"
45
+ className: cn('aurora-flex aurora-items-center aurora-rounded-4 hover:aurora-bg-hover', {
46
+ 'hover:aurora-bg-transparent': isDragging
47
+ })
41
48
  }, /*#__PURE__*/React.createElement("button", {
42
49
  className: "aurora-flex aurora-items-center aurora-p-1 aurora-cursor-pointer",
43
50
  onClick: toggleNode
@@ -52,7 +59,8 @@ var TreeNode = function TreeNode(_ref) {
52
59
  return /*#__PURE__*/React.createElement("li", {
53
60
  className: "aurora-flex aurora-flex-col aurora-gap-2",
54
61
  role: "treeitem",
55
- "aria-expanded": node.expanded
62
+ "aria-expanded": node.expanded,
63
+ "data-disabled": !!disabled
56
64
  }, childrenCount ? Content : Label, childrenCount ? (/*#__PURE__*/React.createElement(CSSTransition, {
57
65
  unmountOnExit: true,
58
66
  in: node.expanded,
@@ -1 +1 @@
1
- {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
1
+ {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
@@ -1 +1,2 @@
1
- export declare const i18n: import("i18next").i18n;
1
+ declare const i18n: import("i18next").i18n;
2
+ export default i18n;
@@ -22,5 +22,5 @@ i18n.use(initReactI18next).init({
22
22
  }
23
23
  });
24
24
 
25
- export { i18n };
25
+ export default i18n;
26
26
  //# sourceMappingURL=i18n.js.map
@@ -1,5 +1,5 @@
1
1
  import './i18n';
2
- export { i18n } from './i18n';
2
+ export * from './i18n';
3
3
  export { Accordion } from "./components/accordion/accordion";
4
4
  export { AccordionContent } from "./components/accordion/components/accordion_content";
5
5
  export { AccordionItem } from "./components/accordion/components/accordion_item";
@@ -90,8 +90,6 @@ export { InputControl } from './components/controls/input_control/input_control'
90
90
  export { ColorPicker } from "./components/color_picker/color_picker";
91
91
  export { ColorPickerControl } from './components/controls/color_picker_control/color_picker_control';
92
92
  export { IColorPickerColor } from "./components/color_picker/color_picker_types";
93
- export { GRADIENT_TYPES } from "./components/color_picker/color_picker_constants";
94
- export { ColorPickerUtils } from "./components/color_picker/color_picker_utils";
95
93
  export { Checkbox } from "./components/checkbox/checkbox";
96
94
  export { CheckboxControl } from './components/controls/checkbox_control/checkbox_control';
97
95
  export { Select } from "./components/select/select";
@@ -104,7 +102,7 @@ export { TextArea } from "./components/text_area/text_area";
104
102
  export { TextAreaControl } from "./components/controls/text_area_control/text_area_control";
105
103
  export { Control } from "./components/control/control";
106
104
  export { ControlsGroup } from "./components/controls/controls_group/controls_group";
107
- export { IImagePicker, TImageSize, TImagePickerExtension, TImagePickerFile } from "./components/image_picker/image_picker_types";
105
+ export { IImagePicker, TImageSize, TImagePickerExtension } from "./components/image_picker/image_picker_types";
108
106
  export { ImagePicker } from "./components/image_picker/image_picker";
109
107
  export { XhrImagePicker } from "./components/xhr_image_picker/xhr_image_picker";
110
108
  export { XhrImagePickerControl } from "./components/controls/xhr_image_picker_control/xhr_image_picker_control";
@@ -1,4 +1,3 @@
1
- export { i18n } from './i18n.js';
2
1
  export { ACCORDION_SIZES } from './components/accordion/accordion_constants.js';
3
2
  export { CSS_BACKGROUND_TOKENS } from './constants/css_tokens/css_background_tokens.js';
4
3
  export { CSS_BORDER_COLOR_TOKENS } from './constants/css_tokens/css_border_color_tokens.js';
@@ -87,8 +86,6 @@ export { Control } from './components/control/control.js';
87
86
  export { SwitchControl } from './components/controls/switch_control/switch_control.js';
88
87
  export { Input } from './components/input/input.js';
89
88
  export { InputControl } from './components/controls/input_control/input_control.js';
90
- export { GRADIENT_TYPES } from './components/color_picker/color_picker_constants.js';
91
- export { ColorPickerUtils } from './components/color_picker/color_picker_utils.js';
92
89
  export { ColorPicker } from './components/color_picker/color_picker.js';
93
90
  export { ColorPickerControl } from './components/controls/color_picker_control/color_picker_control.js';
94
91
  export { Checkbox } from './components/checkbox/checkbox.js';
@@ -1 +1 @@
1
- {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
1
+ {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { I18nextProvider } from 'react-i18next';
3
3
  import '@auroraUtilities/translation/translation_types';
4
- import { i18n } from '../../i18n';
4
+ import i18n from '../../i18n';
5
5
  export const withTranslation = (ChildComponent) => (props) => {
6
6
  return (
7
7
  // TOOD
@@ -1 +1 @@
1
- {"version":3,"file":"with_translation.js","sourceRoot":"","sources":["../../../../../../../src/utilities/translation/with_translation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAiC,gDAAgD,CAAC;AAClF,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAElC,MAAM,CAAC,MAAM,eAAe,GAAqB,CAAC,cAAc,EAAE,EAAE,CAAC,CAAC,KAAK,EAAE,EAAE;IAC3E,OAAO;IACH,OAAO;IACP,YAAY;IACZ,oBAAC,eAAe,IAAC,IAAI,EAAE,IAAI;QACvB,oBAAC,cAAc,OAAK,KAAK,GAAI,CACf,CACrB,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"with_translation.js","sourceRoot":"","sources":["../../../../../../../src/utilities/translation/with_translation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAiC,gDAAgD,CAAC;AAClF,OAAO,IAAI,MAAM,YAAY,CAAC;AAE9B,MAAM,CAAC,MAAM,eAAe,GAAqB,CAAC,cAAc,EAAE,EAAE,CAAC,CAAC,KAAK,EAAE,EAAE;IAC3E,OAAO;IACH,OAAO;IACP,YAAY;IACZ,oBAAC,eAAe,IAAC,IAAI,EAAE,IAAI;QACvB,oBAAC,cAAc,OAAK,KAAK,GAAI,CACf,CACrB,CAAC;AACN,CAAC,CAAC"}