@synerise/ds-manageable-list 0.29.10 → 0.30.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,25 @@
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.30.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-manageable-list@0.30.0...@synerise/ds-manageable-list@0.30.1) (2025-02-04)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-manageable-list
9
+
10
+
11
+
12
+
13
+
14
+ # [0.30.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-manageable-list@0.29.10...@synerise/ds-manageable-list@0.30.0) (2025-01-29)
15
+
16
+
17
+ ### Features
18
+
19
+ * antd@4.24 react@18 ([d97a667](https://github.com/Synerise/synerise-design/commit/d97a667b1f33aed3177e1851de3b6f60be2d46a6))
20
+
21
+
22
+
23
+
24
+
6
25
  ## [0.29.10](https://github.com/Synerise/synerise-design/compare/@synerise/ds-manageable-list@0.29.9...@synerise/ds-manageable-list@0.29.10) (2025-01-21)
7
26
 
8
27
  **Note:** Version bump only for package @synerise/ds-manageable-list
@@ -9,10 +9,10 @@ declare const ContentItem: React.ForwardRefExoticComponent<{
9
9
  suppressContentEditableWarning?: boolean | undefined;
10
10
  suppressHydrationWarning?: boolean | undefined;
11
11
  accessKey?: string | undefined;
12
- autoCapitalize?: (string & {}) | "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined;
12
+ autoCapitalize?: (string & {}) | "none" | "off" | "on" | "sentences" | "words" | "characters" | undefined;
13
13
  autoFocus?: boolean | undefined;
14
14
  className?: string | undefined;
15
- contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
15
+ contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
16
16
  contextMenu?: string | undefined;
17
17
  dir?: string | undefined;
18
18
  draggable?: boolean | undefined;
@@ -21,7 +21,6 @@ declare const ContentItem: React.ForwardRefExoticComponent<{
21
21
  id?: string | undefined;
22
22
  lang?: string | undefined;
23
23
  nonce?: string | undefined;
24
- placeholder?: string | undefined;
25
24
  spellCheck?: (boolean | "true" | "false") | undefined;
26
25
  tabIndex?: number | undefined;
27
26
  translate?: "yes" | "no" | undefined;
@@ -49,19 +48,23 @@ declare const ContentItem: React.ForwardRefExoticComponent<{
49
48
  results?: number | undefined;
50
49
  security?: string | undefined;
51
50
  unselectable?: "off" | "on" | undefined;
52
- inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
51
+ inputMode?: "search" | "text" | "none" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined;
53
52
  is?: string | undefined;
54
53
  "aria-activedescendant"?: string | undefined;
55
54
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
56
55
  "aria-autocomplete"?: "none" | "list" | "inline" | "both" | undefined;
56
+ "aria-braillelabel"?: string | undefined;
57
+ "aria-brailleroledescription"?: string | undefined;
57
58
  "aria-busy"?: (boolean | "true" | "false") | undefined;
58
59
  "aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
59
60
  "aria-colcount"?: number | undefined;
60
61
  "aria-colindex"?: number | undefined;
62
+ "aria-colindextext"?: string | undefined;
61
63
  "aria-colspan"?: number | undefined;
62
64
  "aria-controls"?: string | undefined;
63
65
  "aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
64
66
  "aria-describedby"?: string | undefined;
67
+ "aria-description"?: string | undefined;
65
68
  "aria-details"?: string | undefined;
66
69
  "aria-disabled"?: (boolean | "true" | "false") | undefined;
67
70
  "aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
@@ -91,6 +94,7 @@ declare const ContentItem: React.ForwardRefExoticComponent<{
91
94
  "aria-roledescription"?: string | undefined;
92
95
  "aria-rowcount"?: number | undefined;
93
96
  "aria-rowindex"?: number | undefined;
97
+ "aria-rowindextext"?: string | undefined;
94
98
  "aria-rowspan"?: number | undefined;
95
99
  "aria-selected"?: (boolean | "true" | "false") | undefined;
96
100
  "aria-setsize"?: number | undefined;
@@ -171,6 +175,8 @@ declare const ContentItem: React.ForwardRefExoticComponent<{
171
175
  onProgressCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
172
176
  onRateChange?: React.ReactEventHandler<HTMLDivElement> | undefined;
173
177
  onRateChangeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
178
+ onResize?: React.ReactEventHandler<HTMLDivElement> | undefined;
179
+ onResizeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
174
180
  onSeeked?: React.ReactEventHandler<HTMLDivElement> | undefined;
175
181
  onSeekedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
176
182
  onSeeking?: React.ReactEventHandler<HTMLDivElement> | undefined;
@@ -240,9 +246,7 @@ declare const ContentItem: React.ForwardRefExoticComponent<{
240
246
  onPointerCancel?: React.PointerEventHandler<HTMLDivElement> | undefined;
241
247
  onPointerCancelCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
242
248
  onPointerEnter?: React.PointerEventHandler<HTMLDivElement> | undefined;
243
- onPointerEnterCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
244
249
  onPointerLeave?: React.PointerEventHandler<HTMLDivElement> | undefined;
245
- onPointerLeaveCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
246
250
  onPointerOver?: React.PointerEventHandler<HTMLDivElement> | undefined;
247
251
  onPointerOverCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
248
252
  onPointerOut?: React.PointerEventHandler<HTMLDivElement> | undefined;
@@ -1,9 +1,4 @@
1
1
  function _extends() { _extends = Object.assign ? Object.assign.bind() : 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
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
6
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
7
2
  import React, { useCallback, useEffect, useMemo, useState } from 'react';
8
3
  import List from '@synerise/ds-list';
9
4
  import { ReactSortable } from 'react-sortablejs';
@@ -72,7 +67,7 @@ var ManageableListComponent = function ManageableListComponent(_ref) {
72
67
  setAllExpandedIds(getExpandedIds());
73
68
  }, [expandedIds, items, getExpandedIds]);
74
69
  var itemTexts = useMemo(function () {
75
- return _objectSpread({
70
+ return _extends({
76
71
  addItemLabel: /*#__PURE__*/React.createElement(FormattedMessage, {
77
72
  id: "DS.MANAGABLE-LIST.ADD-ITEM",
78
73
  defaultMessage: "Add item"
@@ -0,0 +1 @@
1
+ import '@testing-library/jest-dom';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-manageable-list",
3
- "version": "0.29.10",
3
+ "version": "0.30.1",
4
4
  "description": "ManageableList UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -34,21 +34,21 @@
34
34
  ],
35
35
  "types": "dist/index.d.ts",
36
36
  "dependencies": {
37
- "@synerise/ds-avatar": "^0.17.28",
38
- "@synerise/ds-button": "^0.22.3",
39
- "@synerise/ds-dropdown": "^0.18.31",
40
- "@synerise/ds-icon": "^0.70.0",
41
- "@synerise/ds-inline-edit": "^0.9.8",
42
- "@synerise/ds-input": "^0.24.21",
43
- "@synerise/ds-list": "^0.7.12",
44
- "@synerise/ds-menu": "^0.20.12",
45
- "@synerise/ds-modal": "^0.17.57",
46
- "@synerise/ds-popconfirm": "^0.10.67",
47
- "@synerise/ds-result": "^0.7.20",
48
- "@synerise/ds-tags": "^0.10.25",
49
- "@synerise/ds-tooltip": "^0.14.55",
50
- "@synerise/ds-typography": "^0.16.12",
51
- "@synerise/ds-utils": "^0.31.2",
37
+ "@synerise/ds-avatar": "^0.18.0",
38
+ "@synerise/ds-button": "^0.23.0",
39
+ "@synerise/ds-dropdown": "^0.19.0",
40
+ "@synerise/ds-icon": "^0.71.0",
41
+ "@synerise/ds-inline-edit": "^0.10.1",
42
+ "@synerise/ds-input": "^0.25.0",
43
+ "@synerise/ds-list": "^0.8.0",
44
+ "@synerise/ds-menu": "^0.21.1",
45
+ "@synerise/ds-modal": "^0.18.0",
46
+ "@synerise/ds-popconfirm": "^0.11.0",
47
+ "@synerise/ds-result": "^0.8.0",
48
+ "@synerise/ds-tags": "^0.11.0",
49
+ "@synerise/ds-tooltip": "^0.15.0",
50
+ "@synerise/ds-typography": "^0.17.0",
51
+ "@synerise/ds-utils": "^0.32.0",
52
52
  "moment": "^2.30.1",
53
53
  "react-animate-height": "^2.0.23",
54
54
  "react-sortablejs": "^6.0.0",
@@ -56,10 +56,10 @@
56
56
  },
57
57
  "peerDependencies": {
58
58
  "@synerise/ds-core": "*",
59
- "antd": "4.7.0",
60
- "react": ">=16.9.0 <= 17.0.2",
59
+ "antd": "4.24.16",
60
+ "react": ">=16.9.0 <= 18.3.1",
61
61
  "react-intl": ">=3.12.0 <= 6.8",
62
- "styled-components": "^5.0.1"
62
+ "styled-components": "^5.3.3"
63
63
  },
64
- "gitHead": "56e23cda61b7ddfe7da4669307183b105a500e1a"
64
+ "gitHead": "ee4cd9dac1999df64735debb96ff9ad7562a4829"
65
65
  }