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

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,11 @@
1
1
  # @dt-ui/react-icon
2
2
 
3
+ ## 1.0.0-beta.63
4
+
5
+ ### Patch Changes
6
+
7
+ - fix: add displayName to Icon and IconButton for production builds
8
+
3
9
  ## 1.0.0-beta.62
4
10
 
5
11
  ### 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.63",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": "./dist/index.js"