@liner-fe/internal-icon 1.0.4 → 1.0.7
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/.ultra.cache.json +1 -1
- package/CHANGELOG.md +19 -0
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/src/generate-tsx-components.ts +1 -1
package/.ultra.cache.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"files":{"lib":"
|
|
1
|
+
{"files":{"lib":"1765356783222.6304","node_modules":"1765356768612.7869","CHANGELOG.md":"886cb9d751bdbd5568b5b37fe7ec99ff396a954f","README.md":"e0a89d4fcf5bddf1f816bfb20a928ddb301b8d2c","figma.json":"ce0cb3bc6c9d285b8a56ac781701c39ff93eb098","package.json":"9894b9c217ef4ea4313c4dc219127812a0378658","src/generate-svg-files.ts":"18687c8c5c7766b988257f5bef3d296b86fefaa8","src/generate-tsx-components.ts":"8fe7f87218828693632ac0b2ea86e8a4c518d08e","src/index.ts":"9e03c9c45c92fc534262982bce233b91892c05f1","tsconfig.json":"298030567ca332304807fcdbb95d1218c9c0814f","tsup.config.ts":"4dc8bfd36076fff8fa1d84a48a072d40e6581810"},"deps":{}}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @internal/icon
|
|
2
2
|
|
|
3
|
+
## 1.0.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- c7fc6c5: icon version update
|
|
8
|
+
|
|
9
|
+
## 1.0.6
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- ba49191: icon version update
|
|
14
|
+
|
|
15
|
+
## 1.0.5
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- 97b49ab: fix: 아이콘 min-width, min-height 적용 롤백
|
|
20
|
+
- 186acfd: icon 패키지 추가
|
|
21
|
+
|
|
3
22
|
## 1.0.4
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
package/lib/index.js
CHANGED
|
@@ -58,7 +58,7 @@ var generateTsxComponents = /* @__PURE__ */ __name(() => {
|
|
|
58
58
|
function normalizeSvgAttributes(svgString) {
|
|
59
59
|
return svgString.replace(/fill-rule/g, "fillRule").replace(/clip-rule/g, "clipRule").replace(/width="\d+"/, "width={iconSize}").replace(/height="\d+"/, "height={iconSize}").replace(
|
|
60
60
|
/xmlns="http:\/\/www.w3.org\/2000\/svg"/,
|
|
61
|
-
"ref={ref} className={className}
|
|
61
|
+
"ref={ref} className={className} {...props}"
|
|
62
62
|
).replace(/style="[^"]*"/g, "").replace(/xmlns="http:\/\/www.w3.org\/1999\/xhtml"/g, "");
|
|
63
63
|
}
|
|
64
64
|
__name(normalizeSvgAttributes, "normalizeSvgAttributes");
|
package/package.json
CHANGED
|
@@ -26,7 +26,7 @@ export const generateTsxComponents = () => {
|
|
|
26
26
|
.replace(/height="\d+"/, 'height={iconSize}')
|
|
27
27
|
.replace(
|
|
28
28
|
/xmlns="http:\/\/www.w3.org\/2000\/svg"/,
|
|
29
|
-
'ref={ref} className={className}
|
|
29
|
+
'ref={ref} className={className} {...props}',
|
|
30
30
|
)
|
|
31
31
|
.replace(/style="[^"]*"/g, '')
|
|
32
32
|
.replace(/xmlns="http:\/\/www.w3.org\/1999\/xhtml"/g, '');
|