@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 CHANGED
@@ -1,4 +1,5 @@
1
- export type IconProps = Omit<JSX.IntrinsicElements['svg'], 'ref'>;
2
- declare const Icon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
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
@@ -1 +1 @@
1
- {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../src/Icon.tsx"],"names":[],"mappings":"AAGA,MAAM,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,CAAC;AAUlE,QAAA,MAAM,IAAI,qGASR,CAAC;AAIH,eAAe,IAAI,CAAC"}
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
@@ -1,5 +1,5 @@
1
1
  import styled from '@emotion/styled';
2
- import { forwardRef } from 'react';
2
+ import React, { forwardRef } from 'react';
3
3
  import { jsx as _jsx } from "react/jsx-runtime";
4
4
  const Svg = styled.svg`
5
5
  transform: rotate(0); // Fixes moves on hover
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@os-design/icons",
3
- "version": "1.0.72",
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 '/^(?!(react|@types/react)$).*$/'"
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.69",
35
- "@os-design/theming": "^1.0.65",
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": "18"
41
+ "react": "19"
42
42
  },
43
- "gitHead": "7a2aee283bdbdba8ba69a3212769ad321beaaed2"
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
@@ -1,4 +1,4 @@
1
- import { Meta } from '@storybook/blocks';
1
+ import { Meta } from '@storybook/addon-docs/blocks';
2
2
  import { LabeledIcon, IconList } from './index.example';
3
3
  import Icon from './Icon';
4
4
  import * as icons from './index';