@atls-ui-generators/icons 1.1.2 → 1.1.5
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 +21 -0
- package/dist/svgr-utils/compile-icons.util.js +2 -2
- package/package.json +18 -18
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
+
## [1.1.5](https://github.com/atls/hyperion/compare/@atls-ui-generators/icons@1.1.3...@atls-ui-generators/icons@1.1.5) (2025-04-29)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## [1.1.3](https://github.com/atls/hyperion/compare/@atls-ui-generators/icons@1.1.3...@atls-ui-generators/icons@1.1.3) (2025-04-28)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [1.1.3](https://github.com/atls/hyperion/compare/@atls-ui-generators/icons@1.1.2...@atls-ui-generators/icons@1.1.3) (2025-04-10)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
3
24
|
## [1.1.2](https://github.com/atls/hyperion/compare/@atls-ui-generators/icons@1.1.0...@atls-ui-generators/icons@1.1.2) (2025-03-14)
|
|
4
25
|
|
|
5
26
|
|
|
@@ -2,7 +2,7 @@ import { transform } from '@svgr/core';
|
|
|
2
2
|
const createSvgrTemplate = (withReplacement) => ({ jsx, componentName }, { tpl }) => tpl `
|
|
3
3
|
import type { IconProps } from '../icons.interfaces.js'
|
|
4
4
|
|
|
5
|
-
import type {
|
|
5
|
+
import type { ReactNode } from 'react'
|
|
6
6
|
|
|
7
7
|
import React from 'react'
|
|
8
8
|
import { clsx } from 'clsx'
|
|
@@ -11,7 +11,7 @@ const createSvgrTemplate = (withReplacement) => ({ jsx, componentName }, { tpl }
|
|
|
11
11
|
|
|
12
12
|
import { iconSprinkles } from '../icon.css.js'
|
|
13
13
|
|
|
14
|
-
export const ${componentName}
|
|
14
|
+
export const ${componentName} = ({ color, ...props }: IconProps): ReactNode => {
|
|
15
15
|
const { className, style, otherProps } = iconSprinkles(props)
|
|
16
16
|
|
|
17
17
|
const iconStyle = { ...style, ...otherProps.style }
|
package/package.json
CHANGED
|
@@ -1,8 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atls-ui-generators/icons",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.5",
|
|
4
4
|
"license": "BSD-3-Clause",
|
|
5
5
|
"type": "module",
|
|
6
|
+
"exports": {
|
|
7
|
+
"./package.json": "./package.json",
|
|
8
|
+
".": {
|
|
9
|
+
"import": "./dist/index.js",
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"default": "./dist/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./replacement": {
|
|
14
|
+
"import": "./dist/replacement-utils/index.js",
|
|
15
|
+
"require": "./dist/replacement-utils/index.cjs",
|
|
16
|
+
"types": "./dist/replacement-utils/index.d.ts",
|
|
17
|
+
"default": "./dist/replacement-utils/index.js"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
6
20
|
"main": "dist/index.js",
|
|
7
21
|
"bin": {
|
|
8
22
|
"generate-icons": "dist/icons.generator.js"
|
|
@@ -17,15 +31,15 @@
|
|
|
17
31
|
"postpack": "rm -rf dist"
|
|
18
32
|
},
|
|
19
33
|
"dependencies": {
|
|
20
|
-
"@atls-ui-generators/utils": "1.0.
|
|
34
|
+
"@atls-ui-generators/utils": "1.0.5",
|
|
21
35
|
"@svgr/core": "8.1.0",
|
|
22
36
|
"@swc-node/register": "1.9.0",
|
|
23
37
|
"@swc/core": "1.6.1",
|
|
24
38
|
"commander": "13.1.0",
|
|
25
|
-
"glob": "11.0.
|
|
39
|
+
"glob": "11.0.2"
|
|
26
40
|
},
|
|
27
41
|
"devDependencies": {
|
|
28
|
-
"@types/node": "22.
|
|
42
|
+
"@types/node": "22.15.3",
|
|
29
43
|
"tsx": "4.19.3",
|
|
30
44
|
"typescript": "5.5.4"
|
|
31
45
|
},
|
|
@@ -49,19 +63,5 @@
|
|
|
49
63
|
"typings": "dist/index.d.ts"
|
|
50
64
|
},
|
|
51
65
|
"typecheckSkipLibCheck": true,
|
|
52
|
-
"exports": {
|
|
53
|
-
"./package.json": "./package.json",
|
|
54
|
-
".": {
|
|
55
|
-
"import": "./dist/index.js",
|
|
56
|
-
"types": "./dist/index.d.ts",
|
|
57
|
-
"default": "./dist/index.js"
|
|
58
|
-
},
|
|
59
|
-
"./replacement": {
|
|
60
|
-
"import": "./dist/replacement-utils/index.js",
|
|
61
|
-
"require": "./dist/replacement-utils/index.cjs",
|
|
62
|
-
"types": "./dist/replacement-utils/index.d.ts",
|
|
63
|
-
"default": "./dist/replacement-utils/index.js"
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
66
|
"typings": "dist/index.d.ts"
|
|
67
67
|
}
|