@synerise/ds-factors 0.22.30 → 0.23.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,29 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.23.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-factors@0.23.0...@synerise/ds-factors@0.23.1) (2024-07-05)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **date-picker:** fixes of types ([1b09748](https://github.com/Synerise/synerise-design/commit/1b097484782a5dc37e71711d7308511eb8103a45))
12
+ * fixed missing dependencies ([f718fb7](https://github.com/Synerise/synerise-design/commit/f718fb7e954a19857ea4b6bbd417e3fe290fd2dc))
13
+
14
+
15
+
16
+
17
+
18
+ # [0.23.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-factors@0.22.30...@synerise/ds-factors@0.23.0) (2024-07-02)
19
+
20
+
21
+ ### Features
22
+
23
+ * **factors:** swapped Menu.Item for ListItem ([8de560c](https://github.com/Synerise/synerise-design/commit/8de560ce5bb969ad9ccb0ca2b7249a14a5f5f356))
24
+
25
+
26
+
27
+
28
+
6
29
  ## [0.22.30](https://github.com/Synerise/synerise-design/compare/@synerise/ds-factors@0.22.29...@synerise/ds-factors@0.22.30) (2024-06-27)
7
30
 
8
31
  **Note:** Version bump only for package @synerise/ds-factors
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { FactorTypeSelectorProps } from '../Factors.types';
3
- declare const FactorTypeSelector: React.FC<FactorTypeSelectorProps>;
3
+ declare const FactorTypeSelector: ({ selectedFactorType, setSelectedFactorType, unavailableFactorTypes, availableFactorTypes, selectedFactor, texts, readOnly, }: FactorTypeSelectorProps) => React.JSX.Element;
4
4
  export default FactorTypeSelector;
@@ -1,8 +1,8 @@
1
- import * as React from 'react';
1
+ import React, { useMemo } from 'react';
2
2
  import Dropdown from '@synerise/ds-dropdown';
3
3
  import Icon, { CheckS } from '@synerise/ds-icon';
4
4
  import Tooltip from '@synerise/ds-tooltip';
5
- import Menu from '@synerise/ds-menu';
5
+ import ListItem from '@synerise/ds-list-item';
6
6
  import { theme } from '@synerise/ds-core';
7
7
  import * as S from './FactorTypeSelector.styles';
8
8
  import { ALL_FACTOR_TYPES } from '../Factors.types';
@@ -16,7 +16,7 @@ var FactorTypeSelector = function FactorTypeSelector(_ref) {
16
16
  selectedFactor = _ref.selectedFactor,
17
17
  texts = _ref.texts,
18
18
  readOnly = _ref.readOnly;
19
- var typesList = React.useMemo(function () {
19
+ var typesList = useMemo(function () {
20
20
  var list = availableFactorTypes || ALL_FACTOR_TYPES;
21
21
 
22
22
  if (unavailableFactorTypes !== undefined) {
@@ -26,7 +26,7 @@ var FactorTypeSelector = function FactorTypeSelector(_ref) {
26
26
  }
27
27
 
28
28
  return list.map(function (type) {
29
- return /*#__PURE__*/React.createElement(Menu.Item, {
29
+ return /*#__PURE__*/React.createElement(ListItem, {
30
30
  className: "ds-factor-type",
31
31
  key: factorTypes[type].name,
32
32
  prefixel: /*#__PURE__*/React.createElement(Icon, {
@@ -1,4 +1,3 @@
1
- import Menu from '@synerise/ds-menu';
2
1
  import Button from '@synerise/ds-button';
3
- export declare const FactorTypeList: import("styled-components").StyledComponent<typeof Menu, any, {}, never>;
2
+ export declare const FactorTypeList: import("styled-components").StyledComponent<"div", any, {}, never>;
4
3
  export declare const TriggerButton: import("styled-components").StyledComponent<typeof Button, any, {}, never>;
@@ -1,10 +1,11 @@
1
1
  import styled from 'styled-components';
2
- import Menu from '@synerise/ds-menu';
3
2
  import Button from '@synerise/ds-button';
4
- export var FactorTypeList = styled(Menu).withConfig({
3
+ export var FactorTypeList = styled.div.withConfig({
5
4
  displayName: "FactorTypeSelectorstyles__FactorTypeList",
6
5
  componentId: "sc-15cv997-0"
7
- })(["padding:8px;.ds-factor-type{padding:0;}"]);
6
+ })(["padding:8px;background:", ";.ds-factor-type{padding:0;}"], function (props) {
7
+ return props.theme.palette.white;
8
+ });
8
9
  export var TriggerButton = styled(Button).withConfig({
9
10
  displayName: "FactorTypeSelectorstyles__TriggerButton",
10
11
  componentId: "sc-15cv997-1"
@@ -1,4 +1,5 @@
1
1
  import React, { useEffect, useMemo, useState } from 'react';
2
+ import { useIntl } from 'react-intl';
2
3
  import { getPopupContainer } from '@synerise/ds-utils';
3
4
  import DatePicker from '@synerise/ds-date-picker';
4
5
 
@@ -18,6 +19,7 @@ var DateInput = function DateInput(_ref) {
18
19
  localValue = _useState[0],
19
20
  setLocalValue = _useState[1];
20
21
 
22
+ var intl = useIntl();
21
23
  useEffect(function () {
22
24
  setLocalValue(value);
23
25
  }, [value]);
@@ -39,6 +41,7 @@ var DateInput = function DateInput(_ref) {
39
41
  }
40
42
  }, [localValueAsDate, onActivate, onChange, onDeactivate]);
41
43
  return /*#__PURE__*/React.createElement(DatePicker, {
44
+ intl: intl,
42
45
  onClear: handleClear,
43
46
  onValueChange: function onValueChange(date) {
44
47
  return setLocalValue(date == null ? void 0 : date.toDateString());
@@ -80,6 +80,7 @@ var DynamicKey = function DynamicKey(_ref) {
80
80
  readOnly: readOnly
81
81
  }));
82
82
  return /*#__PURE__*/React.createElement(S.DynamicKey, {
83
+ "data-testid": "ds-factors-dynamic-key",
83
84
  withoutTypeSelector: withoutTypeSelector
84
85
  }, trigger);
85
86
  };
@@ -44,6 +44,7 @@ var FormulaInput = function FormulaInput(_ref) {
44
44
  return setOpenFormulaModal(true);
45
45
  } : undefined;
46
46
  return /*#__PURE__*/React.createElement(S.FormulaButton, {
47
+ "data-testid": "ds-factors-formula",
47
48
  withoutTypeSelector: withoutTypeSelector
48
49
  }, /*#__PURE__*/React.createElement(Button, {
49
50
  readOnly: readOnly,
@@ -132,7 +132,8 @@ var ParameterInput = function ParameterInput(_ref) {
132
132
  }, getMenuEntryProps == null ? void 0 : getMenuEntryProps(parameter))]
133
133
  });
134
134
  return readOnly ? trigger : /*#__PURE__*/React.createElement("div", {
135
- "data-popup-container": true
135
+ "data-popup-container": true,
136
+ "data-testid": "ds-factors-parameter"
136
137
  }, /*#__PURE__*/React.createElement(Dropdown, {
137
138
  visible: dropdownVisible,
138
139
  getPopupContainer: getPopupContainerOverride || getPopupContainer,
@@ -1,7 +1,8 @@
1
- import Menu from '@synerise/ds-menu';
1
+ import { FixedSizeList } from 'react-window';
2
2
  export declare const TabsWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
3
3
  export declare const ContentPlaceholder: import("styled-components").StyledComponent<"div", any, {}, never>;
4
- export declare const ItemsList: import("styled-components").StyledComponent<typeof Menu, any, {}, never>;
4
+ export declare const ItemsList: import("styled-components").StyledComponent<"div", any, {}, never>;
5
5
  export declare const SearchResult: import("styled-components").StyledComponent<"span", any, {}, never>;
6
6
  export declare const SearchResultHighlight: import("styled-components").StyledComponent<"span", any, {}, never>;
7
7
  export declare const Value: import("styled-components").StyledComponent<"span", any, {}, never>;
8
+ export declare const StyledList: import("styled-components").StyledComponent<typeof FixedSizeList, any, {}, never>;
@@ -1,5 +1,5 @@
1
1
  import styled from 'styled-components';
2
- import Menu from '@synerise/ds-menu';
2
+ import { FixedSizeList } from 'react-window';
3
3
  export var TabsWrapper = styled.div.withConfig({
4
4
  displayName: "Parameterstyle__TabsWrapper",
5
5
  componentId: "u2uvgh-0"
@@ -8,10 +8,10 @@ export var ContentPlaceholder = styled.div.withConfig({
8
8
  displayName: "Parameterstyle__ContentPlaceholder",
9
9
  componentId: "u2uvgh-1"
10
10
  })(["height:100px;"]);
11
- export var ItemsList = styled(Menu).withConfig({
11
+ export var ItemsList = styled.div.withConfig({
12
12
  displayName: "Parameterstyle__ItemsList",
13
13
  componentId: "u2uvgh-2"
14
- })(["width:100%;.ds-factors-parameter-list{height:auto !important;max-height:300px;}"]);
14
+ })(["width:100%;"]);
15
15
  export var SearchResult = styled.span.withConfig({
16
16
  displayName: "Parameterstyle__SearchResult",
17
17
  componentId: "u2uvgh-3"
@@ -27,4 +27,8 @@ export var SearchResultHighlight = styled.span.withConfig({
27
27
  export var Value = styled.span.withConfig({
28
28
  displayName: "Parameterstyle__Value",
29
29
  componentId: "u2uvgh-5"
30
- })(["max-width:110px;text-overflow:ellipsis;overflow:hidden;"]);
30
+ })(["max-width:110px;text-overflow:ellipsis;overflow:hidden;"]);
31
+ export var StyledList = styled(FixedSizeList).withConfig({
32
+ displayName: "Parameterstyle__StyledList",
33
+ componentId: "u2uvgh-6"
34
+ })(["overflowx:unset;overflowy:unset;height:auto !important;max-height:300px;"]);
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { ParameterDropdownProps } from '../../Factors.types';
3
- declare const ParameterDropdown: React.FC<ParameterDropdownProps>;
3
+ declare const ParameterDropdown: ({ setSelected, texts, groups, items, setDropdownVisible, loading, onFetchData, hasMoreItems, }: ParameterDropdownProps) => React.JSX.Element;
4
4
  export default ParameterDropdown;
@@ -1,6 +1,6 @@
1
1
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
- import * as React from 'react';
3
+ import React, { createRef, useRef, useState, useMemo, useCallback } from 'react';
4
4
  import Dropdown from '@synerise/ds-dropdown';
5
5
  import Icon, { SearchM } from '@synerise/ds-icon';
6
6
  import Tabs from '@synerise/ds-tabs';
@@ -10,9 +10,12 @@ import { theme } from '@synerise/ds-core';
10
10
  import Scrollbar from '@synerise/ds-scrollbar';
11
11
  import { v4 as uuid } from 'uuid';
12
12
  import DropdownSkeleton from '@synerise/ds-skeleton';
13
- import { FixedSizeList as List } from 'react-window';
14
13
  import * as S from './Parameter.style';
15
14
  import ParameterDropdownItem from './ParameterDropdownItem';
15
+ var LIST_STYLE = {
16
+ overflowX: 'unset',
17
+ overflowY: 'unset'
18
+ };
16
19
 
17
20
  var ParameterDropdown = function ParameterDropdown(_ref) {
18
21
  var setSelected = _ref.setSelected,
@@ -23,36 +26,32 @@ var ParameterDropdown = function ParameterDropdown(_ref) {
23
26
  loading = _ref.loading,
24
27
  onFetchData = _ref.onFetchData,
25
28
  hasMoreItems = _ref.hasMoreItems;
26
- var listRef = React.createRef();
27
- var listStyle = {
28
- overflowX: 'unset',
29
- overflowY: 'unset'
30
- };
31
- var defaultTab = React.useMemo(function () {
29
+ var listRef = createRef();
30
+ var defaultTab = useMemo(function () {
32
31
  var defaultIndex = groups == null ? void 0 : groups.findIndex(function (group) {
33
32
  return group.defaultGroup;
34
33
  });
35
34
  return defaultIndex || 0;
36
35
  }, [groups]);
37
- var overlayRef = React.useRef(null);
36
+ var overlayRef = useRef(null);
38
37
 
39
- var _React$useState = React.useState(''),
40
- searchQuery = _React$useState[0],
41
- setSearchQuery = _React$useState[1];
38
+ var _useState = useState(''),
39
+ searchQuery = _useState[0],
40
+ setSearchQuery = _useState[1];
42
41
 
43
- var _React$useState2 = React.useState(defaultTab),
44
- activeTab = _React$useState2[0],
45
- setActiveTab = _React$useState2[1];
42
+ var _useState2 = useState(defaultTab),
43
+ activeTab = _useState2[0],
44
+ setActiveTab = _useState2[1];
46
45
 
47
- var _React$useState3 = React.useState(undefined),
48
- activeGroup = _React$useState3[0],
49
- setActiveGroup = _React$useState3[1];
46
+ var _useState3 = useState(undefined),
47
+ activeGroup = _useState3[0],
48
+ setActiveGroup = _useState3[1];
50
49
 
51
- var _React$useState4 = React.useState(true),
52
- searchInputCanBeFocused = _React$useState4[0],
53
- setSearchInputFocus = _React$useState4[1];
50
+ var _useState4 = useState(true),
51
+ searchInputCanBeFocused = _useState4[0],
52
+ setSearchInputFocus = _useState4[1];
54
53
 
55
- var classNames = React.useMemo(function () {
54
+ var classNames = useMemo(function () {
56
55
  return "ds-parameter-item ds-parameter-item-" + uuid();
57
56
  }, []);
58
57
  useOnClickOutside(overlayRef, function (event) {
@@ -60,18 +59,18 @@ var ParameterDropdown = function ParameterDropdown(_ref) {
60
59
  setDropdownVisible(false);
61
60
  }
62
61
  });
63
- var currentTabItems = React.useMemo(function () {
62
+ var currentTabItems = useMemo(function () {
64
63
  return groups == null ? void 0 : groups.find(function (group, index) {
65
64
  return activeTab === index;
66
65
  });
67
66
  }, [groups, activeTab]);
68
- var handleClearSearch = React.useCallback(function () {
67
+ var handleClearSearch = useCallback(function () {
69
68
  setSearchQuery('');
70
69
  }, []);
71
- var handleHideDropdown = React.useCallback(function () {
70
+ var handleHideDropdown = useCallback(function () {
72
71
  setDropdownVisible(false);
73
72
  }, [setDropdownVisible]);
74
- var filteredItems = React.useMemo(function () {
73
+ var filteredItems = useMemo(function () {
75
74
  return items == null ? void 0 : items.filter(function (item) {
76
75
  return item.name.toLowerCase().includes(searchQuery.toLowerCase());
77
76
  }).map(function (item) {
@@ -85,7 +84,7 @@ var ParameterDropdown = function ParameterDropdown(_ref) {
85
84
  };
86
85
  });
87
86
  }, [items, searchQuery, classNames, handleClearSearch, handleHideDropdown, setSelected]);
88
- var currentItems = React.useMemo(function () {
87
+ var currentItems = useMemo(function () {
89
88
  if (searchQuery) {
90
89
  return filteredItems;
91
90
  }
@@ -143,10 +142,10 @@ var ParameterDropdown = function ParameterDropdown(_ref) {
143
142
  };
144
143
  });
145
144
  }, [searchQuery, currentTabItems, activeGroup, groups, items, filteredItems, classNames, handleHideDropdown, setSelected, activeTab]);
146
- var handleSearch = React.useCallback(function (value) {
145
+ var handleSearch = useCallback(function (value) {
147
146
  setSearchQuery(value);
148
147
  }, [setSearchQuery]);
149
- var getTabs = React.useMemo(function () {
148
+ var getTabs = useMemo(function () {
150
149
  return (groups == null ? void 0 : groups.map(function (group) {
151
150
  return {
152
151
  label: group.name,
@@ -154,7 +153,7 @@ var ParameterDropdown = function ParameterDropdown(_ref) {
154
153
  };
155
154
  })) || [];
156
155
  }, [groups]);
157
- var getNoResultContainer = React.useMemo(function () {
156
+ var getNoResultContainer = useMemo(function () {
158
157
  return /*#__PURE__*/React.createElement(Result, {
159
158
  noSearchResults: true,
160
159
  type: "no-results",
@@ -220,13 +219,12 @@ var ParameterDropdown = function ParameterDropdown(_ref) {
220
219
  hasMore: hasMoreItems,
221
220
  onYReachEnd: onFetchData,
222
221
  onScroll: handleScroll
223
- }, /*#__PURE__*/React.createElement(List, {
224
- className: "ds-factors-parameter-list",
222
+ }, /*#__PURE__*/React.createElement(S.StyledList, {
225
223
  width: "100%",
226
224
  height: 300,
227
225
  itemCount: currentItems.length,
228
226
  itemSize: 32,
229
- style: listStyle,
227
+ style: LIST_STYLE,
230
228
  ref: listRef
231
229
  }, function (_ref3) {
232
230
  var index = _ref3.index,
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React, { CSSProperties } from 'react';
2
2
  import { ParameterGroup, ParameterItem } from '../../Factors.types';
3
3
  export type DropdownItem = {
4
4
  item: ParameterItem | ParameterGroup;
@@ -7,7 +7,7 @@ export type DropdownItem = {
7
7
  hideDropdown?: () => void;
8
8
  select: (item: ParameterItem | ParameterGroup) => void;
9
9
  className: string;
10
- style?: React.CSSProperties;
10
+ style?: CSSProperties;
11
11
  };
12
- declare const ParameterDropdownItem: React.FC<DropdownItem>;
12
+ declare const ParameterDropdownItem: ({ item, clearSearch, searchQuery, hideDropdown, select, className, style, }: DropdownItem) => React.JSX.Element;
13
13
  export default ParameterDropdownItem;
@@ -4,9 +4,9 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
4
4
 
5
5
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
6
6
 
7
- import * as React from 'react';
7
+ import React from 'react';
8
8
  import Icon from '@synerise/ds-icon';
9
- import Menu from '@synerise/ds-menu';
9
+ import ListItem from '@synerise/ds-list-item';
10
10
 
11
11
  var ParameterDropdownItem = function ParameterDropdownItem(_ref) {
12
12
  var item = _ref.item,
@@ -21,7 +21,7 @@ var ParameterDropdownItem = function ParameterDropdownItem(_ref) {
21
21
  _ = item.icon,
22
22
  itemProps = _objectWithoutPropertiesLoose(item, _excluded);
23
23
 
24
- return /*#__PURE__*/React.createElement(Menu.Item, _extends({}, itemProps, {
24
+ return /*#__PURE__*/React.createElement(ListItem, _extends({}, itemProps, {
25
25
  style: style,
26
26
  className: className,
27
27
  key: item.name + item.id,
@@ -117,7 +117,7 @@ var TextInput = function TextInput(_ref) {
117
117
  })));
118
118
  }
119
119
 
120
- return /*#__PURE__*/React.createElement(S.InputWrapper, null, /*#__PURE__*/React.createElement(Input, _extends({}, inputProps, {
120
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(S.InputWrapper, null, /*#__PURE__*/React.createElement(Input, _extends({}, inputProps, {
121
121
  handleInputRef: setInputRef,
122
122
  placeholder: texts.valuePlaceholder,
123
123
  icon1: /*#__PURE__*/React.createElement(S.IconWrapper, {
@@ -125,7 +125,9 @@ var TextInput = function TextInput(_ref) {
125
125
  return setOpenExpanseEditor(true);
126
126
  }
127
127
  }, !readOnly && /*#__PURE__*/React.createElement(Icon, {
128
- component: /*#__PURE__*/React.createElement(FullScreenM, null),
128
+ component: /*#__PURE__*/React.createElement(FullScreenM, {
129
+ "data-testid": "ds-factors-expansible-icon"
130
+ }),
129
131
  color: theme.palette['grey-600']
130
132
  })),
131
133
  value: localValue,
@@ -133,18 +135,20 @@ var TextInput = function TextInput(_ref) {
133
135
  onBlur: onDeactivate,
134
136
  error: localError || error,
135
137
  readOnly: readOnly
136
- })));
138
+ }))), /*#__PURE__*/React.createElement(TextModal, {
139
+ visible: openExpanseEditor,
140
+ onCancel: function onCancel() {
141
+ return setOpenExpanseEditor(false);
142
+ },
143
+ value: localValue,
144
+ onApply: handleApply,
145
+ texts: texts
146
+ }));
137
147
  };
138
148
 
139
- return /*#__PURE__*/React.createElement(S.TextWrapper, null, renderInput(textType, factorType), /*#__PURE__*/React.createElement(TextModal, {
140
- visible: openExpanseEditor,
141
- onCancel: function onCancel() {
142
- return setOpenExpanseEditor(false);
143
- },
144
- value: localValue,
145
- onApply: handleApply,
146
- texts: texts
147
- }));
149
+ return /*#__PURE__*/React.createElement(S.TextWrapper, {
150
+ "data-testid": "ds-factors-" + factorType + "-" + textType
151
+ }, renderInput(textType, factorType));
148
152
  };
149
153
 
150
154
  export default TextInput;
package/dist/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
- export { default } from './Factors';
1
+ export { default, factorTypes } from './Factors';
2
+ export { ALL_FACTOR_TYPES } from './Factors.types';
2
3
  export type { FactorsProps, ParameterValueType, InputProps } from './Factors.types';
package/dist/index.js CHANGED
@@ -1 +1,2 @@
1
- export { default } from './Factors';
1
+ export { default, factorTypes } from './Factors';
2
+ export { ALL_FACTOR_TYPES } from './Factors.types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-factors",
3
- "version": "0.22.30",
3
+ "version": "0.23.1",
4
4
  "description": "Factors UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -33,25 +33,26 @@
33
33
  ],
34
34
  "types": "dist/index.d.ts",
35
35
  "dependencies": {
36
- "@synerise/ds-autocomplete": "^0.8.6",
37
- "@synerise/ds-badge": "^0.7.1",
38
- "@synerise/ds-button": "^0.21.1",
39
- "@synerise/ds-date-picker": "^0.11.4",
40
- "@synerise/ds-date-range-picker": "^0.28.8",
41
- "@synerise/ds-dropdown": "^0.18.2",
42
- "@synerise/ds-icon": "^0.63.0",
43
- "@synerise/ds-information-card": "^0.4.11",
44
- "@synerise/ds-inline-edit": "^0.7.12",
45
- "@synerise/ds-input": "^0.22.1",
46
- "@synerise/ds-input-number": "^0.9.21",
47
- "@synerise/ds-menu": "^0.19.3",
48
- "@synerise/ds-modal": "^0.17.32",
49
- "@synerise/ds-result": "^0.6.58",
50
- "@synerise/ds-scrollbar": "^0.11.2",
51
- "@synerise/ds-skeleton": "^0.6.1",
52
- "@synerise/ds-tabs": "^0.14.6",
53
- "@synerise/ds-tooltip": "^0.14.31",
54
- "@synerise/ds-utils": "^0.27.0",
36
+ "@synerise/ds-autocomplete": "^0.8.8",
37
+ "@synerise/ds-badge": "^0.8.0",
38
+ "@synerise/ds-button": "^0.21.2",
39
+ "@synerise/ds-date-picker": "^0.11.6",
40
+ "@synerise/ds-date-range-picker": "^0.29.1",
41
+ "@synerise/ds-dropdown": "^0.18.4",
42
+ "@synerise/ds-icon": "^0.64.0",
43
+ "@synerise/ds-information-card": "^0.4.13",
44
+ "@synerise/ds-inline-edit": "^0.8.0",
45
+ "@synerise/ds-input": "^0.23.1",
46
+ "@synerise/ds-input-number": "^0.9.23",
47
+ "@synerise/ds-list-item": "^0.4.0",
48
+ "@synerise/ds-menu": "^0.19.4",
49
+ "@synerise/ds-modal": "^0.17.33",
50
+ "@synerise/ds-result": "^0.6.59",
51
+ "@synerise/ds-scrollbar": "^0.11.3",
52
+ "@synerise/ds-skeleton": "^0.6.2",
53
+ "@synerise/ds-tabs": "^0.14.8",
54
+ "@synerise/ds-tooltip": "^0.14.32",
55
+ "@synerise/ds-utils": "^0.28.0",
55
56
  "lodash": "^4.17.19",
56
57
  "react-intl": "3.12.0",
57
58
  "react-window": "1.8.5",
@@ -59,13 +60,8 @@
59
60
  },
60
61
  "peerDependencies": {
61
62
  "@synerise/ds-core": "*",
62
- "react": ">=16.9.0 < 17.0.0",
63
+ "react": ">=16.9.0 <= 17.0.2",
63
64
  "styled-components": "5.0.1"
64
65
  },
65
- "devDependencies": {
66
- "@testing-library/jest-dom": "5.1.1",
67
- "@testing-library/react": "10.0.1",
68
- "@testing-library/user-event": "^10.3.1"
69
- },
70
- "gitHead": "587eb113074985ae21e4f0c25ec33c3e3e2e072b"
66
+ "gitHead": "6e5e5202d6c6f1c2caf6bfef799009813b437b3d"
71
67
  }