@synerise/ds-icon-picker 1.4.1 → 1.5.0

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,17 @@
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
+ # [1.5.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-icon-picker@1.4.1...@synerise/ds-icon-picker@1.5.0) (2025-11-28)
7
+
8
+
9
+ ### Features
10
+
11
+ * **icon:** dynamic icon ([585fb33](https://github.com/Synerise/synerise-design/commit/585fb331c86c55e7368c6cc0c5707db85c9e6d72))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [1.4.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-icon-picker@1.4.0...@synerise/ds-icon-picker@1.4.1) (2025-11-13)
7
18
 
8
19
  **Note:** Version bump only for package @synerise/ds-icon-picker
@@ -2,7 +2,7 @@ function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyri
2
2
  function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
3
3
  function _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
4
4
  import React, { useCallback, useState } from 'react';
5
- import Icon, { medium } from '@synerise/ds-icon';
5
+ import Icon, { mediumIconMapping } from '@synerise/ds-icon';
6
6
  import { loadFontAwesome } from '../utils/loadFontAwesome';
7
7
  import { prepareItems } from '../utils/prepareItems';
8
8
  import { isDSSourceType, isFASourceType } from '../utils/typeguards.utils';
@@ -75,7 +75,7 @@ export var useIconSourceLoader = function useIconSourceLoader(data) {
75
75
  };
76
76
  }();
77
77
  if (isDSSourceType(data)) {
78
- var iconItems = Object.entries(medium).map(function (_ref2) {
78
+ var iconItems = Object.entries(mediumIconMapping).map(function (_ref2) {
79
79
  var name = _ref2[0],
80
80
  Component = _ref2[1];
81
81
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-icon-picker",
3
- "version": "1.4.1",
3
+ "version": "1.5.0",
4
4
  "description": "IconPicker UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -32,12 +32,12 @@
32
32
  "sideEffects": false,
33
33
  "types": "dist/index.d.ts",
34
34
  "dependencies": {
35
- "@synerise/ds-button": "^1.5.0",
36
- "@synerise/ds-button-group": "^1.1.24",
37
- "@synerise/ds-dropdown": "^1.1.1",
38
- "@synerise/ds-icon": "^1.8.0",
39
- "@synerise/ds-scrollbar": "^1.2.0",
40
- "@synerise/ds-tooltip": "^1.3.0",
35
+ "@synerise/ds-button": "^1.5.1",
36
+ "@synerise/ds-button-group": "^1.1.25",
37
+ "@synerise/ds-dropdown": "^1.1.2",
38
+ "@synerise/ds-icon": "^1.9.0",
39
+ "@synerise/ds-scrollbar": "^1.2.1",
40
+ "@synerise/ds-tooltip": "^1.3.1",
41
41
  "@synerise/ds-utils": "^1.5.0",
42
42
  "memoize-one": "^5.1.1",
43
43
  "react-window": "^1.8.11"
@@ -53,5 +53,5 @@
53
53
  "react-intl": ">=3.12.0 <= 6.8",
54
54
  "styled-components": "^5.3.3"
55
55
  },
56
- "gitHead": "085189e79075b23a8fb86ce9b7d930f6ac7b3d23"
56
+ "gitHead": "d5bd7fbc9d840ac30e2b79b36c451b486e178445"
57
57
  }