@synerise/ds-icon-picker 1.5.4 → 1.6.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 +10 -0
- package/dist/hooks/useIconSourceLoader.js +3 -2
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
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.6.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-icon-picker@1.5.5...@synerise/ds-icon-picker@1.6.0) (2026-01-15)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- **icon:** dynamic icon refactor ([8cd3483](https://github.com/Synerise/synerise-design/commit/8cd348316e3fe106a61dc4b077dbc851bc8a993b))
|
|
11
|
+
|
|
12
|
+
## [1.5.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-icon-picker@1.5.4...@synerise/ds-icon-picker@1.5.5) (2026-01-12)
|
|
13
|
+
|
|
14
|
+
**Note:** Version bump only for package @synerise/ds-icon-picker
|
|
15
|
+
|
|
6
16
|
## [1.5.4](https://github.com/Synerise/synerise-design/compare/@synerise/ds-icon-picker@1.5.3...@synerise/ds-icon-picker@1.5.4) (2026-01-07)
|
|
7
17
|
|
|
8
18
|
**Note:** Version bump only for package @synerise/ds-icon-picker
|
|
@@ -3,7 +3,8 @@ function _regeneratorDefine2(e, r, n, t) { var i = Object.defineProperty; try {
|
|
|
3
3
|
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); }
|
|
4
4
|
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); }); }; }
|
|
5
5
|
import React, { useCallback, useState } from 'react';
|
|
6
|
-
import Icon
|
|
6
|
+
import Icon from '@synerise/ds-icon';
|
|
7
|
+
import * as medium from '@synerise/ds-icon/dist/icons/M';
|
|
7
8
|
import { loadFontAwesome } from '../utils/loadFontAwesome';
|
|
8
9
|
import { prepareItems } from '../utils/prepareItems';
|
|
9
10
|
import { isDSSourceType, isFASourceType } from '../utils/typeguards.utils';
|
|
@@ -75,7 +76,7 @@ export var useIconSourceLoader = function useIconSourceLoader(data) {
|
|
|
75
76
|
};
|
|
76
77
|
}();
|
|
77
78
|
if (isDSSourceType(data)) {
|
|
78
|
-
var iconItems = Object.entries(
|
|
79
|
+
var iconItems = Object.entries(medium).map(function (_ref2) {
|
|
79
80
|
var name = _ref2[0],
|
|
80
81
|
Component = _ref2[1];
|
|
81
82
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-icon-picker",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"description": "IconPicker UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
"sideEffects": false,
|
|
33
33
|
"types": "dist/index.d.ts",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@synerise/ds-button": "^1.5.
|
|
36
|
-
"@synerise/ds-button-group": "^1.1.
|
|
37
|
-
"@synerise/ds-dropdown": "^1.1.
|
|
38
|
-
"@synerise/ds-icon": "^1.
|
|
35
|
+
"@synerise/ds-button": "^1.5.5",
|
|
36
|
+
"@synerise/ds-button-group": "^1.1.29",
|
|
37
|
+
"@synerise/ds-dropdown": "^1.1.8",
|
|
38
|
+
"@synerise/ds-icon": "^1.10.0",
|
|
39
39
|
"@synerise/ds-popover": "^1.2.0",
|
|
40
|
-
"@synerise/ds-scrollbar": "^1.2.
|
|
41
|
-
"@synerise/ds-tooltip": "^1.3.
|
|
42
|
-
"@synerise/ds-utils": "^1.5.
|
|
40
|
+
"@synerise/ds-scrollbar": "^1.2.5",
|
|
41
|
+
"@synerise/ds-tooltip": "^1.3.5",
|
|
42
|
+
"@synerise/ds-utils": "^1.5.3",
|
|
43
43
|
"memoize-one": "^5.1.1",
|
|
44
44
|
"react-window": "^1.8.11"
|
|
45
45
|
},
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"react-intl": ">=3.12.0 <= 6.8",
|
|
55
55
|
"styled-components": "^5.3.3"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "4cde643d1f63a4b47e84707a13b1b1d138730d53"
|
|
58
58
|
}
|