@synerise/ds-manageable-list 0.26.9 → 0.26.11

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,22 @@
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.26.11](https://github.com/Synerise/synerise-design/compare/@synerise/ds-manageable-list@0.26.10...@synerise/ds-manageable-list@0.26.11) (2023-10-02)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-manageable-list
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.26.10](https://github.com/Synerise/synerise-design/compare/@synerise/ds-manageable-list@0.26.9...@synerise/ds-manageable-list@0.26.10) (2023-09-26)
15
+
16
+ **Note:** Version bump only for package @synerise/ds-manageable-list
17
+
18
+
19
+
20
+
21
+
6
22
  ## [0.26.9](https://github.com/Synerise/synerise-design/compare/@synerise/ds-manageable-list@0.26.8...@synerise/ds-manageable-list@0.26.9) (2023-09-21)
7
23
 
8
24
  **Note:** Version bump only for package @synerise/ds-manageable-list
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- export declare type AddItemProps = {
2
+ export type AddItemProps = {
3
3
  onItemAdd: () => void;
4
4
  addItemLabel: string | React.ReactNode;
5
5
  disabled: boolean;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- export declare type Props = {
2
+ export type Props = {
3
3
  onItemAdd?: (addParams: {
4
4
  name: string;
5
5
  }) => void;
@@ -1,6 +1,364 @@
1
1
  import React from 'react';
2
- import { ContentItemProps } from './ContentItem.types';
3
- declare const _default: React.ForwardRefExoticComponent<Pick<ContentItemProps, "style" | "title" | "className" | "color" | "id" | "lang" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "slot" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "greyBackground" | "item" | "onUpdate" | "onRemove" | "onDuplicate" | "dashed" | "changeOrderDisabled" | "texts" | "hideExpander" | "expanded" | "onExpand" | "headerSuffix" | "headerPrefix" | "contentWithoutPadding" | "onMoveTop" | "onMoveBottom" | "isFirst" | "isLast"> & {
2
+ declare const _default: React.ForwardRefExoticComponent<{
3
+ style?: React.CSSProperties | undefined;
4
+ title?: string | undefined;
5
+ slot?: string | undefined;
6
+ defaultChecked?: boolean | undefined;
7
+ defaultValue?: string | number | string[] | undefined;
8
+ suppressContentEditableWarning?: boolean | undefined;
9
+ suppressHydrationWarning?: boolean | undefined;
10
+ accessKey?: string | undefined;
11
+ className?: string | undefined;
12
+ contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
13
+ contextMenu?: string | undefined;
14
+ dir?: string | undefined;
15
+ draggable?: boolean | undefined;
16
+ hidden?: boolean | undefined;
17
+ id?: string | undefined;
18
+ lang?: string | undefined;
19
+ placeholder?: string | undefined;
20
+ spellCheck?: (boolean | "true" | "false") | undefined;
21
+ tabIndex?: number | undefined;
22
+ translate?: "yes" | "no" | undefined;
23
+ radioGroup?: string | undefined;
24
+ role?: string | undefined;
25
+ about?: string | undefined;
26
+ datatype?: string | undefined;
27
+ inlist?: any;
28
+ prefix?: string | undefined;
29
+ property?: string | undefined;
30
+ resource?: string | undefined;
31
+ typeof?: string | undefined;
32
+ vocab?: string | undefined;
33
+ autoCapitalize?: string | undefined;
34
+ autoCorrect?: string | undefined;
35
+ autoSave?: string | undefined;
36
+ color?: string | undefined;
37
+ itemProp?: string | undefined;
38
+ itemScope?: boolean | undefined;
39
+ itemType?: string | undefined;
40
+ itemID?: string | undefined;
41
+ itemRef?: string | undefined;
42
+ results?: number | undefined;
43
+ security?: string | undefined;
44
+ unselectable?: "on" | "off" | undefined;
45
+ inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
46
+ is?: string | undefined;
47
+ 'aria-activedescendant'?: string | undefined;
48
+ 'aria-atomic'?: boolean | "true" | "false" | undefined;
49
+ 'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined;
50
+ 'aria-busy'?: boolean | "true" | "false" | undefined;
51
+ 'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
52
+ 'aria-colcount'?: number | undefined;
53
+ 'aria-colindex'?: number | undefined;
54
+ 'aria-colspan'?: number | undefined;
55
+ 'aria-controls'?: string | undefined;
56
+ 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
57
+ 'aria-describedby'?: string | undefined;
58
+ 'aria-details'?: string | undefined;
59
+ 'aria-disabled'?: boolean | "true" | "false" | undefined;
60
+ 'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
61
+ 'aria-errormessage'?: string | undefined;
62
+ 'aria-expanded'?: boolean | "true" | "false" | undefined;
63
+ 'aria-flowto'?: string | undefined;
64
+ 'aria-grabbed'?: boolean | "true" | "false" | undefined;
65
+ 'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "listbox" | "tree" | "grid" | undefined;
66
+ 'aria-hidden'?: boolean | "true" | "false" | undefined;
67
+ 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
68
+ 'aria-keyshortcuts'?: string | undefined;
69
+ 'aria-label'?: string | undefined;
70
+ 'aria-labelledby'?: string | undefined;
71
+ 'aria-level'?: number | undefined;
72
+ 'aria-live'?: "off" | "assertive" | "polite" | undefined;
73
+ 'aria-modal'?: boolean | "true" | "false" | undefined;
74
+ 'aria-multiline'?: boolean | "true" | "false" | undefined;
75
+ 'aria-multiselectable'?: boolean | "true" | "false" | undefined;
76
+ 'aria-orientation'?: "horizontal" | "vertical" | undefined;
77
+ 'aria-owns'?: string | undefined;
78
+ 'aria-placeholder'?: string | undefined;
79
+ 'aria-posinset'?: number | undefined;
80
+ 'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
81
+ 'aria-readonly'?: boolean | "true" | "false" | undefined;
82
+ 'aria-relevant'?: "text" | "additions" | "additions text" | "all" | "removals" | undefined;
83
+ 'aria-required'?: boolean | "true" | "false" | undefined;
84
+ 'aria-roledescription'?: string | undefined;
85
+ 'aria-rowcount'?: number | undefined;
86
+ 'aria-rowindex'?: number | undefined;
87
+ 'aria-rowspan'?: number | undefined;
88
+ 'aria-selected'?: boolean | "true" | "false" | undefined;
89
+ 'aria-setsize'?: number | undefined;
90
+ 'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
91
+ 'aria-valuemax'?: number | undefined;
92
+ 'aria-valuemin'?: number | undefined;
93
+ 'aria-valuenow'?: number | undefined;
94
+ 'aria-valuetext'?: string | undefined;
95
+ children?: React.ReactNode;
96
+ dangerouslySetInnerHTML?: {
97
+ __html: string;
98
+ } | undefined;
99
+ onCopy?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
100
+ onCopyCapture?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
101
+ onCut?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
102
+ onCutCapture?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
103
+ onPaste?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
104
+ onPasteCapture?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
105
+ onCompositionEnd?: React.CompositionEventHandler<HTMLDivElement> | undefined;
106
+ onCompositionEndCapture?: React.CompositionEventHandler<HTMLDivElement> | undefined;
107
+ onCompositionStart?: React.CompositionEventHandler<HTMLDivElement> | undefined;
108
+ onCompositionStartCapture?: React.CompositionEventHandler<HTMLDivElement> | undefined;
109
+ onCompositionUpdate?: React.CompositionEventHandler<HTMLDivElement> | undefined;
110
+ onCompositionUpdateCapture?: React.CompositionEventHandler<HTMLDivElement> | undefined;
111
+ onFocus?: React.FocusEventHandler<HTMLDivElement> | undefined;
112
+ onFocusCapture?: React.FocusEventHandler<HTMLDivElement> | undefined;
113
+ onBlur?: React.FocusEventHandler<HTMLDivElement> | undefined;
114
+ onBlurCapture?: React.FocusEventHandler<HTMLDivElement> | undefined;
115
+ onChange?: React.FormEventHandler<HTMLDivElement> | undefined;
116
+ onChangeCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
117
+ onBeforeInput?: React.FormEventHandler<HTMLDivElement> | undefined;
118
+ onBeforeInputCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
119
+ onInput?: React.FormEventHandler<HTMLDivElement> | undefined;
120
+ onInputCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
121
+ onReset?: React.FormEventHandler<HTMLDivElement> | undefined;
122
+ onResetCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
123
+ onSubmit?: React.FormEventHandler<HTMLDivElement> | undefined;
124
+ onSubmitCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
125
+ onInvalid?: React.FormEventHandler<HTMLDivElement> | undefined;
126
+ onInvalidCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
127
+ onLoad?: React.ReactEventHandler<HTMLDivElement> | undefined;
128
+ onLoadCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
129
+ onError?: React.ReactEventHandler<HTMLDivElement> | undefined;
130
+ onErrorCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
131
+ onKeyDown?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
132
+ onKeyDownCapture?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
133
+ onKeyPress?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
134
+ onKeyPressCapture?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
135
+ onKeyUp?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
136
+ onKeyUpCapture?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
137
+ onAbort?: React.ReactEventHandler<HTMLDivElement> | undefined;
138
+ onAbortCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
139
+ onCanPlay?: React.ReactEventHandler<HTMLDivElement> | undefined;
140
+ onCanPlayCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
141
+ onCanPlayThrough?: React.ReactEventHandler<HTMLDivElement> | undefined;
142
+ onCanPlayThroughCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
143
+ onDurationChange?: React.ReactEventHandler<HTMLDivElement> | undefined;
144
+ onDurationChangeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
145
+ onEmptied?: React.ReactEventHandler<HTMLDivElement> | undefined;
146
+ onEmptiedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
147
+ onEncrypted?: React.ReactEventHandler<HTMLDivElement> | undefined;
148
+ onEncryptedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
149
+ onEnded?: React.ReactEventHandler<HTMLDivElement> | undefined;
150
+ onEndedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
151
+ onLoadedData?: React.ReactEventHandler<HTMLDivElement> | undefined;
152
+ onLoadedDataCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
153
+ onLoadedMetadata?: React.ReactEventHandler<HTMLDivElement> | undefined;
154
+ onLoadedMetadataCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
155
+ onLoadStart?: React.ReactEventHandler<HTMLDivElement> | undefined;
156
+ onLoadStartCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
157
+ onPause?: React.ReactEventHandler<HTMLDivElement> | undefined;
158
+ onPauseCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
159
+ onPlay?: React.ReactEventHandler<HTMLDivElement> | undefined;
160
+ onPlayCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
161
+ onPlaying?: React.ReactEventHandler<HTMLDivElement> | undefined;
162
+ onPlayingCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
163
+ onProgress?: React.ReactEventHandler<HTMLDivElement> | undefined;
164
+ onProgressCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
165
+ onRateChange?: React.ReactEventHandler<HTMLDivElement> | undefined;
166
+ onRateChangeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
167
+ onSeeked?: React.ReactEventHandler<HTMLDivElement> | undefined;
168
+ onSeekedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
169
+ onSeeking?: React.ReactEventHandler<HTMLDivElement> | undefined;
170
+ onSeekingCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
171
+ onStalled?: React.ReactEventHandler<HTMLDivElement> | undefined;
172
+ onStalledCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
173
+ onSuspend?: React.ReactEventHandler<HTMLDivElement> | undefined;
174
+ onSuspendCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
175
+ onTimeUpdate?: React.ReactEventHandler<HTMLDivElement> | undefined;
176
+ onTimeUpdateCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
177
+ onVolumeChange?: React.ReactEventHandler<HTMLDivElement> | undefined;
178
+ onVolumeChangeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
179
+ onWaiting?: React.ReactEventHandler<HTMLDivElement> | undefined;
180
+ onWaitingCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
181
+ onAuxClick?: React.MouseEventHandler<HTMLDivElement> | undefined;
182
+ onAuxClickCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
183
+ onClick?: React.MouseEventHandler<HTMLDivElement> | undefined;
184
+ onClickCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
185
+ onContextMenu?: React.MouseEventHandler<HTMLDivElement> | undefined;
186
+ onContextMenuCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
187
+ onDoubleClick?: React.MouseEventHandler<HTMLDivElement> | undefined;
188
+ onDoubleClickCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
189
+ onDrag?: React.DragEventHandler<HTMLDivElement> | undefined;
190
+ onDragCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
191
+ onDragEnd?: React.DragEventHandler<HTMLDivElement> | undefined;
192
+ onDragEndCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
193
+ onDragEnter?: React.DragEventHandler<HTMLDivElement> | undefined;
194
+ onDragEnterCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
195
+ onDragExit?: React.DragEventHandler<HTMLDivElement> | undefined;
196
+ onDragExitCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
197
+ onDragLeave?: React.DragEventHandler<HTMLDivElement> | undefined;
198
+ onDragLeaveCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
199
+ onDragOver?: React.DragEventHandler<HTMLDivElement> | undefined;
200
+ onDragOverCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
201
+ onDragStart?: React.DragEventHandler<HTMLDivElement> | undefined;
202
+ onDragStartCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
203
+ onDrop?: React.DragEventHandler<HTMLDivElement> | undefined;
204
+ onDropCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
205
+ onMouseDown?: React.MouseEventHandler<HTMLDivElement> | undefined;
206
+ onMouseDownCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
207
+ onMouseEnter?: React.MouseEventHandler<HTMLDivElement> | undefined;
208
+ onMouseLeave?: React.MouseEventHandler<HTMLDivElement> | undefined;
209
+ onMouseMove?: React.MouseEventHandler<HTMLDivElement> | undefined;
210
+ onMouseMoveCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
211
+ onMouseOut?: React.MouseEventHandler<HTMLDivElement> | undefined;
212
+ onMouseOutCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
213
+ onMouseOver?: React.MouseEventHandler<HTMLDivElement> | undefined;
214
+ onMouseOverCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
215
+ onMouseUp?: React.MouseEventHandler<HTMLDivElement> | undefined;
216
+ onMouseUpCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
217
+ onSelect?: React.ReactEventHandler<HTMLDivElement> | undefined;
218
+ onSelectCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
219
+ onTouchCancel?: React.TouchEventHandler<HTMLDivElement> | undefined;
220
+ onTouchCancelCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
221
+ onTouchEnd?: React.TouchEventHandler<HTMLDivElement> | undefined;
222
+ onTouchEndCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
223
+ onTouchMove?: React.TouchEventHandler<HTMLDivElement> | undefined;
224
+ onTouchMoveCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
225
+ onTouchStart?: React.TouchEventHandler<HTMLDivElement> | undefined;
226
+ onTouchStartCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
227
+ onPointerDown?: React.PointerEventHandler<HTMLDivElement> | undefined;
228
+ onPointerDownCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
229
+ onPointerMove?: React.PointerEventHandler<HTMLDivElement> | undefined;
230
+ onPointerMoveCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
231
+ onPointerUp?: React.PointerEventHandler<HTMLDivElement> | undefined;
232
+ onPointerUpCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
233
+ onPointerCancel?: React.PointerEventHandler<HTMLDivElement> | undefined;
234
+ onPointerCancelCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
235
+ onPointerEnter?: React.PointerEventHandler<HTMLDivElement> | undefined;
236
+ onPointerEnterCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
237
+ onPointerLeave?: React.PointerEventHandler<HTMLDivElement> | undefined;
238
+ onPointerLeaveCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
239
+ onPointerOver?: React.PointerEventHandler<HTMLDivElement> | undefined;
240
+ onPointerOverCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
241
+ onPointerOut?: React.PointerEventHandler<HTMLDivElement> | undefined;
242
+ onPointerOutCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
243
+ onGotPointerCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
244
+ onGotPointerCaptureCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
245
+ onLostPointerCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
246
+ onLostPointerCaptureCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
247
+ onScroll?: React.UIEventHandler<HTMLDivElement> | undefined;
248
+ onScrollCapture?: React.UIEventHandler<HTMLDivElement> | undefined;
249
+ onWheel?: React.WheelEventHandler<HTMLDivElement> | undefined;
250
+ onWheelCapture?: React.WheelEventHandler<HTMLDivElement> | undefined;
251
+ onAnimationStart?: React.AnimationEventHandler<HTMLDivElement> | undefined;
252
+ onAnimationStartCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
253
+ onAnimationEnd?: React.AnimationEventHandler<HTMLDivElement> | undefined;
254
+ onAnimationEndCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
255
+ onAnimationIteration?: React.AnimationEventHandler<HTMLDivElement> | undefined;
256
+ onAnimationIterationCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
257
+ onTransitionEnd?: React.TransitionEventHandler<HTMLDivElement> | undefined;
258
+ onTransitionEndCapture?: React.TransitionEventHandler<HTMLDivElement> | undefined;
259
+ greyBackground?: boolean | undefined;
260
+ item: {
261
+ id: React.ReactText;
262
+ canUpdate?: boolean | undefined;
263
+ canDelete?: boolean | undefined;
264
+ canDuplicate?: boolean | undefined;
265
+ name: string;
266
+ nameWrapperClassNames?: string[] | undefined;
267
+ description?: string | undefined;
268
+ tag?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
269
+ icon?: React.ReactNode;
270
+ content?: React.ReactNode;
271
+ changeOrderDisabled?: boolean | undefined;
272
+ user?: {
273
+ avatar_url?: string | undefined;
274
+ firstname?: string | undefined;
275
+ lastname?: string | undefined;
276
+ email?: string | undefined;
277
+ } | undefined;
278
+ created?: string | undefined;
279
+ dropdown?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
280
+ disableExpanding?: boolean | undefined;
281
+ expanded?: boolean | undefined;
282
+ headerSuffix?: React.ReactNode;
283
+ hideHeaderSuffixOnHover?: boolean | undefined;
284
+ additionalSuffix?: React.ReactNode;
285
+ };
286
+ onUpdate?: ((updateParams: {
287
+ id: React.ReactText;
288
+ name: string;
289
+ }) => void) | undefined;
290
+ onRemove?: ((removeParams: {
291
+ id: React.ReactText;
292
+ }) => void) | undefined;
293
+ onDuplicate?: ((duplicateParams: {
294
+ id: React.ReactText;
295
+ }) => void) | undefined;
296
+ dashed?: boolean | undefined;
297
+ changeOrderDisabled?: boolean | undefined;
298
+ texts?: {
299
+ [k: string]: React.ReactNode;
300
+ } | undefined;
301
+ hideExpander?: boolean | undefined;
302
+ expanded?: boolean | undefined;
303
+ onExpand?: ((id: React.ReactText, isExpanded: boolean) => void) | undefined;
304
+ headerSuffix?: React.ReactNode;
305
+ headerPrefix?: React.ReactNode;
306
+ contentWithoutPadding?: boolean | undefined;
307
+ onMoveTop?: ((item: {
308
+ id: React.ReactText;
309
+ canUpdate?: boolean | undefined;
310
+ canDelete?: boolean | undefined;
311
+ canDuplicate?: boolean | undefined;
312
+ name: string;
313
+ nameWrapperClassNames?: string[] | undefined;
314
+ description?: string | undefined;
315
+ tag?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
316
+ icon?: React.ReactNode;
317
+ content?: React.ReactNode;
318
+ changeOrderDisabled?: boolean | undefined;
319
+ user?: {
320
+ avatar_url?: string | undefined;
321
+ firstname?: string | undefined;
322
+ lastname?: string | undefined;
323
+ email?: string | undefined;
324
+ } | undefined;
325
+ created?: string | undefined;
326
+ dropdown?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
327
+ disableExpanding?: boolean | undefined;
328
+ expanded?: boolean | undefined;
329
+ headerSuffix?: React.ReactNode;
330
+ hideHeaderSuffixOnHover?: boolean | undefined;
331
+ additionalSuffix?: React.ReactNode;
332
+ }) => void) | undefined;
333
+ onMoveBottom?: ((item: {
334
+ id: React.ReactText;
335
+ canUpdate?: boolean | undefined;
336
+ canDelete?: boolean | undefined;
337
+ canDuplicate?: boolean | undefined;
338
+ name: string;
339
+ nameWrapperClassNames?: string[] | undefined;
340
+ description?: string | undefined;
341
+ tag?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
342
+ icon?: React.ReactNode;
343
+ content?: React.ReactNode;
344
+ changeOrderDisabled?: boolean | undefined;
345
+ user?: {
346
+ avatar_url?: string | undefined;
347
+ firstname?: string | undefined;
348
+ lastname?: string | undefined;
349
+ email?: string | undefined;
350
+ } | undefined;
351
+ created?: string | undefined;
352
+ dropdown?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
353
+ disableExpanding?: boolean | undefined;
354
+ expanded?: boolean | undefined;
355
+ headerSuffix?: React.ReactNode;
356
+ hideHeaderSuffixOnHover?: boolean | undefined;
357
+ additionalSuffix?: React.ReactNode;
358
+ }) => void) | undefined;
359
+ isFirst?: boolean | undefined;
360
+ isLast?: boolean | undefined;
361
+ } & {
4
362
  theme?: any;
5
363
  }>;
6
364
  export default _default;
@@ -1,13 +1,13 @@
1
1
  import Button from '@synerise/ds-button';
2
- declare type ItemContainerProps = {
2
+ type ItemContainerProps = {
3
3
  opened: boolean;
4
4
  greyBackground: boolean | undefined;
5
5
  dashed?: boolean;
6
6
  };
7
- declare type DraggerWrapperProps = {
7
+ type DraggerWrapperProps = {
8
8
  disabled: boolean;
9
9
  };
10
- declare type ItemHeaderProps = {
10
+ type ItemHeaderProps = {
11
11
  hasPrefix: boolean;
12
12
  };
13
13
  export declare const AdditionalSuffix: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { ItemProps } from '../Item.types';
3
- export declare type ContentItemProps = {
3
+ export type ContentItemProps = {
4
4
  changeOrderDisabled?: boolean;
5
5
  dashed?: boolean;
6
6
  draggable?: boolean;
@@ -1,6 +1,53 @@
1
1
  import * as React from 'react';
2
- import { FilterItemProps } from './FilterItem.types';
3
- declare const _default: React.ForwardRefExoticComponent<Pick<React.PropsWithChildren<FilterItemProps>, "style" | "children" | "onSelect" | "selected" | "greyBackground" | "item" | "onUpdate" | "searchQuery" | "onRemove" | "onDuplicate" | "texts"> & {
2
+ declare const _default: React.ForwardRefExoticComponent<{
3
+ style?: React.CSSProperties | undefined;
4
+ children?: React.ReactNode;
5
+ onSelect: (selectParams: {
6
+ id: React.ReactText;
7
+ }) => void;
8
+ greyBackground?: boolean | undefined;
9
+ item: {
10
+ id: React.ReactText;
11
+ canUpdate?: boolean | undefined;
12
+ canDelete?: boolean | undefined;
13
+ canDuplicate?: boolean | undefined;
14
+ name: string;
15
+ nameWrapperClassNames?: string[] | undefined;
16
+ description?: string | undefined;
17
+ tag?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
18
+ icon?: React.ReactNode;
19
+ content?: React.ReactNode;
20
+ changeOrderDisabled?: boolean | undefined;
21
+ user?: {
22
+ avatar_url?: string | undefined;
23
+ firstname?: string | undefined;
24
+ lastname?: string | undefined;
25
+ email?: string | undefined;
26
+ } | undefined;
27
+ created?: string | undefined;
28
+ dropdown?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
29
+ disableExpanding?: boolean | undefined;
30
+ expanded?: boolean | undefined;
31
+ headerSuffix?: React.ReactNode;
32
+ hideHeaderSuffixOnHover?: boolean | undefined;
33
+ additionalSuffix?: React.ReactNode;
34
+ };
35
+ onUpdate?: ((updateParams: {
36
+ id: React.ReactText;
37
+ name: string;
38
+ }) => void) | undefined;
39
+ searchQuery?: string | undefined;
40
+ onRemove?: ((removeParams: {
41
+ id: React.ReactText;
42
+ }) => void) | undefined;
43
+ onDuplicate?: ((duplicateParams: {
44
+ id: React.ReactText;
45
+ }) => void) | undefined;
46
+ texts: {
47
+ [k: string]: React.ReactNode;
48
+ };
49
+ selected: boolean;
50
+ } & {
4
51
  theme?: any;
5
52
  }>;
6
53
  export default _default;
@@ -59,7 +59,6 @@ var FilterItem = function FilterItem(_ref) {
59
59
  "data-testid": selected && 'filter-item-selected'
60
60
  }, selected ?
61
61
  /*#__PURE__*/
62
- // eslint-disable-next-line @typescript-eslint/ban-ts-ignore
63
62
  // @ts-ignore
64
63
  React.createElement(Icon, {
65
64
  className: "selected-item-icon",
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import Menu from '@synerise/ds-menu';
3
2
  export declare const SelectFilterItem: import("styled-components").StyledComponent<"div", any, {}, never>;
4
3
  export declare const MenuItem: import("styled-components").StyledComponent<"div", any, {
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { AdditionalAction } from '../ManageableList.types';
3
- export declare type Props = {
3
+ export type Props = {
4
4
  item: ItemProps;
5
5
  isFirst?: boolean;
6
6
  isLast?: boolean;
@@ -33,7 +33,7 @@ export declare type Props = {
33
33
  expanded?: boolean;
34
34
  additionalActions?: AdditionalAction[];
35
35
  };
36
- export declare type ItemProps<T extends object = {}> = T & {
36
+ export type ItemProps<T extends object = {}> = T & {
37
37
  id: React.ReactText;
38
38
  canUpdate?: boolean;
39
39
  canDelete?: boolean;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { AdditionalAction } from '../../ManageableList.types';
3
3
  import { ItemProps } from '../Item.types';
4
- export declare type ItemActionsProps = {
4
+ export type ItemActionsProps = {
5
5
  item: ItemProps;
6
6
  removeAction?: (removeParams: {
7
7
  id: React.ReactText;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { ItemProps } from '../Item.types';
3
- export declare type ItemLabelProps = {
3
+ export type ItemLabelProps = {
4
4
  item: ItemProps;
5
5
  onUpdate?: (updateParams: {
6
6
  id: React.ReactText;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { AdditionalAction } from '../../ManageableList.types';
3
3
  import { ItemProps } from '../Item.types';
4
- export declare type Props = {
4
+ export type Props = {
5
5
  item: ItemProps;
6
6
  onRemove?: (removeParams: {
7
7
  id: React.ReactText;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ManageableListProps } from './ManageableList.types';
3
2
  declare const ManageableList: <T extends object>(props: ManageableListProps<T>) => JSX.Element;
4
3
  export default ManageableList;
@@ -1,4 +1,4 @@
1
- declare type ManageableListProps = {
1
+ type ManageableListProps = {
2
2
  listType: string;
3
3
  greyBackground: boolean;
4
4
  };
@@ -10,7 +10,7 @@ export declare enum ListType {
10
10
  CONTENT = "content",
11
11
  FILTER = "filter"
12
12
  }
13
- export declare type AdditionalAction = {
13
+ export type AdditionalAction = {
14
14
  icon: React.ReactNode;
15
15
  color?: string;
16
16
  onClick: (item: ItemProps) => void;
@@ -54,7 +54,7 @@ export interface ManageableListProps<T extends object> {
54
54
  additionalActions?: AdditionalAction[];
55
55
  style?: React.CSSProperties;
56
56
  }
57
- export declare type Texts = {
57
+ export type Texts = {
58
58
  addItemLabel?: string | React.ReactNode;
59
59
  showMoreLabel?: string | React.ReactNode;
60
60
  showLessLabel?: string | React.ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-manageable-list",
3
- "version": "0.26.9",
3
+ "version": "0.26.11",
4
4
  "description": "ManageableList UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -32,21 +32,21 @@
32
32
  ],
33
33
  "types": "dist/index.d.ts",
34
34
  "dependencies": {
35
- "@synerise/ds-avatar": "^0.15.4",
36
- "@synerise/ds-button": "^0.18.1",
37
- "@synerise/ds-dropdown": "^0.17.79",
38
- "@synerise/ds-icon": "^0.58.1",
39
- "@synerise/ds-inline-edit": "^0.6.79",
40
- "@synerise/ds-input": "^0.19.1",
41
- "@synerise/ds-list": "^0.6.44",
42
- "@synerise/ds-menu": "^0.17.18",
43
- "@synerise/ds-modal": "^0.17.4",
44
- "@synerise/ds-popconfirm": "^0.10.14",
45
- "@synerise/ds-result": "^0.6.30",
46
- "@synerise/ds-tags": "^0.8.13",
47
- "@synerise/ds-tooltip": "^0.14.3",
48
- "@synerise/ds-typography": "^0.12.10",
49
- "@synerise/ds-utils": "^0.24.15",
35
+ "@synerise/ds-avatar": "^0.15.6",
36
+ "@synerise/ds-button": "^0.18.3",
37
+ "@synerise/ds-dropdown": "^0.17.81",
38
+ "@synerise/ds-icon": "^0.58.3",
39
+ "@synerise/ds-inline-edit": "^0.6.81",
40
+ "@synerise/ds-input": "^0.19.3",
41
+ "@synerise/ds-list": "^0.6.46",
42
+ "@synerise/ds-menu": "^0.17.20",
43
+ "@synerise/ds-modal": "^0.17.6",
44
+ "@synerise/ds-popconfirm": "^0.10.16",
45
+ "@synerise/ds-result": "^0.6.32",
46
+ "@synerise/ds-tags": "^0.8.15",
47
+ "@synerise/ds-tooltip": "^0.14.5",
48
+ "@synerise/ds-typography": "^0.13.1",
49
+ "@synerise/ds-utils": "^0.24.17",
50
50
  "lodash": "^4.17.19",
51
51
  "moment": "^2.25.3",
52
52
  "react-animate-height": "^2.0.23",
@@ -62,5 +62,5 @@
62
62
  "devDependencies": {
63
63
  "@testing-library/react": "10.0.1"
64
64
  },
65
- "gitHead": "7df57233258ec34b90c3c92dbe1696788abd6ec6"
65
+ "gitHead": "1c1adf344f447e404a1d6320ad1d3f8486f29f67"
66
66
  }