@synerise/ds-items-roll 0.7.5 → 0.7.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
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.7.6](https://github.com/Synerise/synerise-design/compare/@synerise/ds-items-roll@0.7.5...@synerise/ds-items-roll@0.7.6) (2024-09-17)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-items-roll
9
+
10
+
11
+
12
+
13
+
6
14
  ## [0.7.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-items-roll@0.7.4...@synerise/ds-items-roll@0.7.5) (2024-09-13)
7
15
 
8
16
  **Note:** Version bump only for package @synerise/ds-items-roll
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { ItemRollElement } from '../ItemsRoll.types';
3
3
  export type ExtrasProps = {
4
4
  actions: ItemRollElement[];
@@ -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 from 'react';
4
4
  import styled from 'styled-components';
5
5
  import Dropdown from '@synerise/ds-dropdown';
6
6
  import Menu from '@synerise/ds-menu';
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { FooterProps } from './Footer.types';
3
3
  declare const Footer: React.FC<FooterProps>;
4
4
  export default Footer;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import Popconfirm from '@synerise/ds-popconfirm';
3
3
  import Icon, { ArrowDownCircleM, ArrowUpCircleM, CloseS, WarningFillM } from '@synerise/ds-icon';
4
4
  import * as S from '../ItemsRoll.styles';
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { HeaderProps } from './Header.types';
3
3
  declare const Header: React.FC<HeaderProps>;
4
4
  export default Header;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { SearchInput } from '@synerise/ds-search/dist/Elements';
3
3
  import Icon, { EditM } from '@synerise/ds-icon';
4
4
  import Dropdown from '@synerise/ds-dropdown';
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { ItemsRollProps, Texts } from '../ItemsRoll.types';
3
3
  export type HeaderProps = Pick<ItemsRollProps, 'actions' | 'changeSelectionIcon' | 'changeSelectionDropdownProps' | 'onChangeSelection' | 'onSearch' | 'onSearchClear' | 'searchValue' | 'searchPlaceholder' | 'hideSearch' | 'customSidebarActions'> & {
4
4
  allTexts: {
@@ -1,3 +1,3 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { RemoveIconProps } from './ItemRemoveIcon.types';
3
3
  export declare const RemoveIcon: React.FC<RemoveIconProps>;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import Icon, { CloseS } from '@synerise/ds-icon';
3
3
  import Tooltip from '@synerise/ds-tooltip';
4
4
  import { theme } from '@synerise/ds-core';
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { ItemsRollGroup } from '../ItemsRoll.types';
3
3
  export type RemoveIconProps = {
4
4
  id: string;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { ItemRollElement } from '../ItemsRoll.types';
3
3
  import { ListProps } from './List.types';
4
4
  export declare const itemsInGroup: (group: string, items: ItemRollElement[]) => ItemRollElement[];
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { FixedSizeList } from 'react-window';
3
3
  import Icon, { SearchNoResultsM } from '@synerise/ds-icon';
4
4
  import Menu from '@synerise/ds-menu';
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { ItemRollElement, ItemsRollProps } from '../ItemsRoll.types';
3
3
  export type ListProps = Pick<ItemsRollProps, 'groups' | 'items' | 'onItemClick' | 'onItemRemove' | 'searchValue' | 'useVirtualizedList' | 'virtualizedRowHeight' | 'virtualizedRowWidth'> & {
4
4
  noResultsLabel: string | React.ReactNode;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { ItemElementProps } from './ListItem.types';
3
3
  declare const ItemElement: React.FC<ItemElementProps>;
4
4
  export default ItemElement;
@@ -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 from 'react';
4
4
  import { NOOP } from '@synerise/ds-utils';
5
5
  import { RemoveIcon } from './ItemRemoveIcon';
6
6
  import * as S from './ListItem.styles';
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { ItemRollElement, ItemsRollGroup } from '../ItemsRoll.types';
3
3
  export type ItemElementProps = {
4
4
  highlight?: string;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import { ListChildComponentProps } from 'react-window';
3
3
  import { ItemRendererProps } from './VirtualizedListItem.types';
4
- declare const ItemRenderer: ({ highlight, onItemClick, onItemRemove, tooltipLabel, group }: ItemRendererProps) => ({ index, style, data, }: ListChildComponentProps) => JSX.Element;
4
+ declare const ItemRenderer: ({ highlight, onItemClick, onItemRemove, tooltipLabel, group }: ItemRendererProps) => ({ index, style, data }: ListChildComponentProps) => JSX.Element;
5
5
  export default ItemRenderer;
@@ -2,7 +2,7 @@ var _excluded = ["suffixel"];
2
2
 
3
3
  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; }
4
4
 
5
- import * as React from 'react';
5
+ import React from 'react';
6
6
  import Menu from '@synerise/ds-menu';
7
7
  import { NOOP } from '@synerise/ds-utils';
8
8
  import * as S from './ListItem.styles';
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { ItemsRollGroup } from '../ItemsRoll.types';
3
3
  export type ItemRendererProps = {
4
4
  highlight?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-items-roll",
3
- "version": "0.7.5",
3
+ "version": "0.7.6",
4
4
  "description": "ItemsRoll UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -33,15 +33,15 @@
33
33
  ],
34
34
  "types": "dist/index.d.ts",
35
35
  "dependencies": {
36
- "@synerise/ds-button": "^0.21.10",
37
- "@synerise/ds-divider": "^0.7.5",
38
- "@synerise/ds-dropdown": "^0.18.14",
39
- "@synerise/ds-icon": "^0.65.5",
40
- "@synerise/ds-menu": "^0.19.14",
41
- "@synerise/ds-popconfirm": "^0.10.51",
42
- "@synerise/ds-search": "^0.9.10",
43
- "@synerise/ds-tooltip": "^0.14.40",
44
- "@synerise/ds-utils": "^0.29.2",
36
+ "@synerise/ds-button": "^0.21.11",
37
+ "@synerise/ds-divider": "^0.7.6",
38
+ "@synerise/ds-dropdown": "^0.18.15",
39
+ "@synerise/ds-icon": "^0.65.6",
40
+ "@synerise/ds-menu": "^0.19.15",
41
+ "@synerise/ds-popconfirm": "^0.10.52",
42
+ "@synerise/ds-search": "^0.9.11",
43
+ "@synerise/ds-tooltip": "^0.14.41",
44
+ "@synerise/ds-utils": "^0.29.3",
45
45
  "react-window": "^1.8.5"
46
46
  },
47
47
  "peerDependencies": {
@@ -49,5 +49,5 @@
49
49
  "react": ">=16.9.0 <= 17.0.2",
50
50
  "styled-components": "5.0.1"
51
51
  },
52
- "gitHead": "6f3231e4a9e0720ffee61b748488cecd590da6e6"
52
+ "gitHead": "ae3c38b44ca0f9071cd55f7b82c182a99b5710e8"
53
53
  }