@dafaz-ui/react 3.0.0 → 3.0.1

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @dafaz-ui/react@3.0.0 build
2
+ > @dafaz-ui/react@3.0.1 build
3
3
  > tsup src/index.tsx --format esm,cjs --dts --external react
4
4
 
5
5
  CLI Building entry: src/index.tsx
@@ -8,11 +8,11 @@
8
8
  CLI Target: es6
9
9
  ESM Build start
10
10
  CJS Build start
11
- ESM dist/index.mjs 16.92 KB
12
- ESM ⚡️ Build success in 38ms
13
- CJS dist/index.js 19.35 KB
11
+ CJS dist/index.js 19.19 KB
14
12
  CJS ⚡️ Build success in 37ms
13
+ ESM dist/index.mjs 16.76 KB
14
+ ESM ⚡️ Build success in 38ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 4295ms
17
- DTS dist/index.d.mts 97.88 KB
18
- DTS dist/index.d.ts 97.88 KB
16
+ DTS ⚡️ Build success in 4933ms
17
+ DTS dist/index.d.mts 97.71 KB
18
+ DTS dist/index.d.ts 97.71 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @dafaz-ui/react
2
2
 
3
+ ## 3.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Change DisplayName components
8
+
3
9
  ## 3.0.0
4
10
 
5
11
  ### Major Changes
package/dist/index.d.mts CHANGED
@@ -876,9 +876,6 @@ interface HeadingProps {
876
876
  children: ReactNode;
877
877
  }
878
878
  declare function Heading({ children, ...props }: HeadingUIProps & HeadingProps): react_jsx_runtime.JSX.Element;
879
- declare namespace Heading {
880
- var displayName: string;
881
- }
882
879
 
883
880
  declare const RadioUI: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<RadioGroup.RadioGroupProps & react.RefAttributes<HTMLDivElement>>, {
884
881
  size?: "sm" | "md" | "lg" | undefined;
@@ -1307,9 +1304,6 @@ interface TextProps {
1307
1304
  children: ReactNode;
1308
1305
  }
1309
1306
  declare function Text({ children, size, ...props }: TextUIProps & TextProps): react_jsx_runtime.JSX.Element;
1310
- declare namespace Text {
1311
- var displayName: string;
1312
- }
1313
1307
 
1314
1308
  declare const TextAreaUI: _stitches_react_types_styled_component.StyledComponent<"textarea", {}, {}, _stitches_react_types_css_util.CSS<{}, {
1315
1309
  colors: {
@@ -1520,9 +1514,6 @@ interface TextAreaProps {
1520
1514
  disabled?: boolean;
1521
1515
  }
1522
1516
  declare function TextArea({ children, ...props }: TextAreaUIProps & TextAreaProps): react_jsx_runtime.JSX.Element;
1523
- declare namespace TextArea {
1524
- var displayName: string;
1525
- }
1526
1517
 
1527
1518
  declare const InputUI: _stitches_react_types_styled_component.StyledComponent<"input", {}, {}, _stitches_react_types_css_util.CSS<{}, {
1528
1519
  colors: {
package/dist/index.d.ts CHANGED
@@ -876,9 +876,6 @@ interface HeadingProps {
876
876
  children: ReactNode;
877
877
  }
878
878
  declare function Heading({ children, ...props }: HeadingUIProps & HeadingProps): react_jsx_runtime.JSX.Element;
879
- declare namespace Heading {
880
- var displayName: string;
881
- }
882
879
 
883
880
  declare const RadioUI: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<RadioGroup.RadioGroupProps & react.RefAttributes<HTMLDivElement>>, {
884
881
  size?: "sm" | "md" | "lg" | undefined;
@@ -1307,9 +1304,6 @@ interface TextProps {
1307
1304
  children: ReactNode;
1308
1305
  }
1309
1306
  declare function Text({ children, size, ...props }: TextUIProps & TextProps): react_jsx_runtime.JSX.Element;
1310
- declare namespace Text {
1311
- var displayName: string;
1312
- }
1313
1307
 
1314
1308
  declare const TextAreaUI: _stitches_react_types_styled_component.StyledComponent<"textarea", {}, {}, _stitches_react_types_css_util.CSS<{}, {
1315
1309
  colors: {
@@ -1520,9 +1514,6 @@ interface TextAreaProps {
1520
1514
  disabled?: boolean;
1521
1515
  }
1522
1516
  declare function TextArea({ children, ...props }: TextAreaUIProps & TextAreaProps): react_jsx_runtime.JSX.Element;
1523
- declare namespace TextArea {
1524
- var displayName: string;
1525
- }
1526
1517
 
1527
1518
  declare const InputUI: _stitches_react_types_styled_component.StyledComponent<"input", {}, {}, _stitches_react_types_css_util.CSS<{}, {
1528
1519
  colors: {
package/dist/index.js CHANGED
@@ -316,7 +316,6 @@ function Button(_a) {
316
316
  ]);
317
317
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(ButtonUI, __spreadProps(__spreadValues({ variant, size }, props), { children }));
318
318
  }
319
- ButtonUI.displayName = "Button";
320
319
 
321
320
  // src/components/CheckBox/styles.ts
322
321
  var Checkbox = __toESM(require("@radix-ui/react-checkbox"));
@@ -481,7 +480,6 @@ function Heading(_a) {
481
480
  var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
482
481
  return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(HeadingUI, __spreadProps(__spreadValues({}, props), { children }));
483
482
  }
484
- Heading.displayName = "Heading";
485
483
 
486
484
  // src/components/Radio/styles.ts
487
485
  var RadioGroup = __toESM(require("@radix-ui/react-radio-group"));
@@ -686,7 +684,6 @@ function Text(_a) {
686
684
  ]);
687
685
  return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(TextUI, __spreadProps(__spreadValues({ size }, props), { children }));
688
686
  }
689
- Text.displayName = "Text";
690
687
 
691
688
  // src/components/TextArea/styles.ts
692
689
  var TextAreaUI = styled("textarea", {
@@ -730,7 +727,6 @@ function TextArea(_a) {
730
727
  ]);
731
728
  return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(TextAreaUI, __spreadProps(__spreadValues({ rows: 3 }, props), { children }));
732
729
  }
733
- TextArea.displayName = "TextArea";
734
730
 
735
731
  // src/components/TextInput/index.tsx
736
732
  var import_react4 = require("react");
@@ -825,7 +821,6 @@ var TextInput = (0, import_react4.forwardRef)(
825
821
  ] });
826
822
  }
827
823
  );
828
- TextInput.displayName = "TextInput";
829
824
  // Annotate the CommonJS export names for ESM import in node:
830
825
  0 && (module.exports = {
831
826
  Box,
package/dist/index.mjs CHANGED
@@ -268,7 +268,6 @@ function Button(_a) {
268
268
  ]);
269
269
  return /* @__PURE__ */ jsx2(ButtonUI, __spreadProps(__spreadValues({ variant, size }, props), { children }));
270
270
  }
271
- ButtonUI.displayName = "Button";
272
271
 
273
272
  // src/components/CheckBox/styles.ts
274
273
  import * as Checkbox from "@radix-ui/react-checkbox";
@@ -433,7 +432,6 @@ function Heading(_a) {
433
432
  var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
434
433
  return /* @__PURE__ */ jsx4(HeadingUI, __spreadProps(__spreadValues({}, props), { children }));
435
434
  }
436
- Heading.displayName = "Heading";
437
435
 
438
436
  // src/components/Radio/styles.ts
439
437
  import * as RadioGroup from "@radix-ui/react-radio-group";
@@ -638,7 +636,6 @@ function Text(_a) {
638
636
  ]);
639
637
  return /* @__PURE__ */ jsx7(TextUI, __spreadProps(__spreadValues({ size }, props), { children }));
640
638
  }
641
- Text.displayName = "Text";
642
639
 
643
640
  // src/components/TextArea/styles.ts
644
641
  var TextAreaUI = styled("textarea", {
@@ -682,7 +679,6 @@ function TextArea(_a) {
682
679
  ]);
683
680
  return /* @__PURE__ */ jsx8(TextAreaUI, __spreadProps(__spreadValues({ rows: 3 }, props), { children }));
684
681
  }
685
- TextArea.displayName = "TextArea";
686
682
 
687
683
  // src/components/TextInput/index.tsx
688
684
  import {
@@ -780,7 +776,6 @@ var TextInput = forwardRef(
780
776
  ] });
781
777
  }
782
778
  );
783
- TextInput.displayName = "TextInput";
784
779
  export {
785
780
  Box,
786
781
  Button,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dafaz-ui/react",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -17,5 +17,3 @@ export function Button({
17
17
  </ButtonUI>
18
18
  )
19
19
  }
20
-
21
- ButtonUI.displayName = 'Button'
@@ -8,5 +8,3 @@ interface HeadingProps {
8
8
  export function Heading({ children, ...props }: HeadingUIProps & HeadingProps) {
9
9
  return <HeadingUI {...props}>{children}</HeadingUI>
10
10
  }
11
-
12
- Heading.displayName = 'Heading'
@@ -16,5 +16,3 @@ export function Text({
16
16
  </TextUI>
17
17
  )
18
18
  }
19
-
20
- Text.displayName = 'Text'
@@ -17,5 +17,3 @@ export function TextArea({
17
17
  </TextAreaUI>
18
18
  )
19
19
  }
20
-
21
- TextArea.displayName = 'TextArea'
@@ -49,5 +49,3 @@ export const TextInput = forwardRef<ElementRef<typeof InputUI>, TextInputProps>(
49
49
  )
50
50
  },
51
51
  )
52
-
53
- TextInput.displayName = 'TextInput'