@dt-dds/react-icon 1.0.0-beta.62 → 1.0.0-beta.64

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 CHANGED
@@ -1,5 +1,25 @@
1
1
  # @dt-ui/react-icon
2
2
 
3
+ ## 1.0.0-beta.64
4
+
5
+ ### Patch Changes
6
+
7
+ - chore: update to ESLint 10
8
+ - chore: update to ESLint 9
9
+ - fix: default icon type in themes
10
+ - Updated dependencies
11
+ - Updated dependencies
12
+ - Updated dependencies
13
+ - @dt-dds/icons@1.0.0-beta.7
14
+ - @dt-dds/react-core@1.0.0-beta.60
15
+ - @dt-dds/themes@1.0.0-beta.15
16
+
17
+ ## 1.0.0-beta.63
18
+
19
+ ### Patch Changes
20
+
21
+ - fix: add displayName to Icon and IconButton for production builds
22
+
3
23
  ## 1.0.0-beta.62
4
24
 
5
25
  ### Minor Changes
package/dist/index.d.mts CHANGED
@@ -11,7 +11,10 @@ interface IconProps extends Omit<BaseProps, 'children'> {
11
11
  size?: ComponentSize;
12
12
  variant?: Variant;
13
13
  }
14
- declare const Icon: ({ code, color, dataTestId, size, style, variant, }: IconProps) => react_jsx_runtime.JSX.Element;
14
+ declare const Icon: {
15
+ ({ code, color, dataTestId, size, style, variant, }: IconProps): react_jsx_runtime.JSX.Element;
16
+ displayName: string;
17
+ };
15
18
 
16
19
  declare module '@emotion/react' {
17
20
  interface Theme extends CustomTheme {
package/dist/index.d.ts CHANGED
@@ -11,7 +11,10 @@ interface IconProps extends Omit<BaseProps, 'children'> {
11
11
  size?: ComponentSize;
12
12
  variant?: Variant;
13
13
  }
14
- declare const Icon: ({ code, color, dataTestId, size, style, variant, }: IconProps) => react_jsx_runtime.JSX.Element;
14
+ declare const Icon: {
15
+ ({ code, color, dataTestId, size, style, variant, }: IconProps): react_jsx_runtime.JSX.Element;
16
+ displayName: string;
17
+ };
15
18
 
16
19
  declare module '@emotion/react' {
17
20
  interface Theme extends CustomTheme {
package/dist/index.js CHANGED
@@ -97,6 +97,7 @@ var Icon = ({
97
97
  }
98
98
  );
99
99
  };
100
+ Icon.displayName = "Icon";
100
101
  // Annotate the CommonJS export names for ESM import in node:
101
102
  0 && (module.exports = {
102
103
  Icon
package/dist/index.mjs CHANGED
@@ -61,6 +61,7 @@ var Icon = ({
61
61
  }
62
62
  );
63
63
  };
64
+ Icon.displayName = "Icon";
64
65
  export {
65
66
  Icon
66
67
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dt-dds/react-icon",
3
- "version": "1.0.0-beta.62",
3
+ "version": "1.0.0-beta.64",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": "./dist/index.js"
@@ -20,9 +20,9 @@
20
20
  "test:update:snapshot": "jest -u"
21
21
  },
22
22
  "dependencies": {
23
- "@dt-dds/icons": "1.0.0-beta.6",
24
- "@dt-dds/react-core": "1.0.0-beta.59",
25
- "@dt-dds/themes": "1.0.0-beta.14"
23
+ "@dt-dds/icons": "1.0.0-beta.7",
24
+ "@dt-dds/react-core": "1.0.0-beta.60",
25
+ "@dt-dds/themes": "1.0.0-beta.15"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@babel/core": "^7.22.9",