@os-design/icons 1.0.72 → 1.0.74
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/dist/Icon.d.ts +3 -2
- package/dist/Icon.d.ts.map +1 -1
- package/dist/Icon.js +1 -1
- package/package.json +6 -6
- package/src/Icon.tsx +2 -2
- package/src/index.mdx +1 -1
package/dist/Icon.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type IconProps = Omit<React.JSX.IntrinsicElements['svg'], 'ref'>;
|
|
3
|
+
declare const Icon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<SVGSVGElement>>;
|
|
3
4
|
export default Icon;
|
|
4
5
|
//# sourceMappingURL=Icon.d.ts.map
|
package/dist/Icon.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../src/Icon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../src/Icon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,MAAM,MAAM,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,CAAC;AAUxE,QAAA,MAAM,IAAI,iFASR,CAAC;AAIH,eAAe,IAAI,CAAC"}
|
package/dist/Icon.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@os-design/icons",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.74",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"repository": "git@gitlab.com:os-team/libs/os-design.git",
|
|
6
6
|
"type": "module",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"build:esm": "cross-env BABEL_ENV=esm babel src --root-mode upward --extensions .ts,.tsx --out-dir dist",
|
|
24
24
|
"build:types": "tsc -p tsconfig.build.json --emitDeclarationOnly --declaration --declarationDir dist",
|
|
25
25
|
"build": "yarn clean && npm-run-all 'build:*'",
|
|
26
|
-
"ncu": "ncu -u
|
|
26
|
+
"ncu": "ncu -u"
|
|
27
27
|
},
|
|
28
28
|
"publishConfig": {
|
|
29
29
|
"access": "public"
|
|
@@ -31,14 +31,14 @@
|
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@emotion/react": ">=11",
|
|
33
33
|
"@emotion/styled": ">=11",
|
|
34
|
-
"@os-design/styles": "^1.0.
|
|
35
|
-
"@os-design/theming": "^1.0.
|
|
34
|
+
"@os-design/styles": "^1.0.71",
|
|
35
|
+
"@os-design/theming": "^1.0.66",
|
|
36
36
|
"copy-to-clipboard": "^3.3.3"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"@emotion/react": ">=11",
|
|
40
40
|
"@emotion/styled": ">=11",
|
|
41
|
-
"react": "
|
|
41
|
+
"react": "19"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "f333f60e39273574d2227cf0ee70b0c8897b2dde"
|
|
44
44
|
}
|
package/src/Icon.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import styled from '@emotion/styled';
|
|
2
|
-
import { forwardRef } from 'react';
|
|
2
|
+
import React, { forwardRef } from 'react';
|
|
3
3
|
|
|
4
|
-
export type IconProps = Omit<JSX.IntrinsicElements['svg'], 'ref'>;
|
|
4
|
+
export type IconProps = Omit<React.JSX.IntrinsicElements['svg'], 'ref'>;
|
|
5
5
|
|
|
6
6
|
const Svg = styled.svg`
|
|
7
7
|
transform: rotate(0); // Fixes moves on hover
|
package/src/index.mdx
CHANGED