@dafaz-ui/react 3.0.3 → 3.0.4

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.3 build
2
+ > @dafaz-ui/react@3.0.4 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
- CJS dist/index.js 19.22 KB
12
- CJS ⚡️ Build success in 37ms
13
- ESM dist/index.mjs 16.79 KB
14
- ESM ⚡️ Build success in 38ms
11
+ ESM dist/index.mjs 17.02 KB
12
+ ESM ⚡️ Build success in 45ms
13
+ CJS dist/index.js 19.44 KB
14
+ CJS ⚡️ Build success in 46ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 4739ms
17
- DTS dist/index.d.mts 97.76 KB
18
- DTS dist/index.d.ts 97.76 KB
16
+ DTS ⚡️ Build success in 4477ms
17
+ DTS dist/index.d.mts 98.05 KB
18
+ DTS dist/index.d.ts 98.05 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @dafaz-ui/react
2
2
 
3
+ ## 3.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Fix displayName form components
8
+
3
9
  ## 3.0.3
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -665,6 +665,9 @@ interface CheckboxProps {
665
665
  label: string;
666
666
  }
667
667
  declare function CheckBox({ id, label, size, ...props }: CheckboxIUProps & CheckboxProps): react_jsx_runtime.JSX.Element;
668
+ declare namespace CheckBox {
669
+ var displayName: string;
670
+ }
668
671
 
669
672
  declare const HeadingUI: _stitches_react_types_styled_component.StyledComponent<"h2", {
670
673
  mode?: "white" | "default" | undefined;
@@ -879,6 +882,9 @@ interface HeadingProps {
879
882
  children: ReactNode;
880
883
  }
881
884
  declare function Heading({ children, ...props }: HeadingUIProps & HeadingProps): react_jsx_runtime.JSX.Element;
885
+ declare namespace Heading {
886
+ var displayName: string;
887
+ }
882
888
 
883
889
  declare const RadioUI: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<RadioGroup.RadioGroupProps & react.RefAttributes<HTMLDivElement>>, {
884
890
  size?: "sm" | "md" | "lg" | undefined;
@@ -1095,6 +1101,9 @@ interface RadioGroupProps extends RadioUIProps {
1095
1101
  items: Item[];
1096
1102
  }
1097
1103
  declare function Radio({ items, size, ...props }: RadioGroupProps): react_jsx_runtime.JSX.Element;
1104
+ declare namespace Radio {
1105
+ var displayName: string;
1106
+ }
1098
1107
 
1099
1108
  declare const TextUI: _stitches_react_types_styled_component.StyledComponent<"p", {
1100
1109
  size?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
@@ -1307,6 +1316,9 @@ interface TextProps {
1307
1316
  children: ReactNode;
1308
1317
  }
1309
1318
  declare function Text({ children, size, ...props }: TextUIProps & TextProps): react_jsx_runtime.JSX.Element;
1319
+ declare namespace Text {
1320
+ var displayName: string;
1321
+ }
1310
1322
 
1311
1323
  declare const TextAreaUI: _stitches_react_types_styled_component.StyledComponent<"textarea", {}, {}, _stitches_react_types_css_util.CSS<{}, {
1312
1324
  colors: {
@@ -1517,6 +1529,9 @@ interface TextAreaProps {
1517
1529
  disabled?: boolean;
1518
1530
  }
1519
1531
  declare function TextArea({ children, ...props }: TextAreaUIProps & TextAreaProps): react_jsx_runtime.JSX.Element;
1532
+ declare namespace TextArea {
1533
+ var displayName: string;
1534
+ }
1520
1535
 
1521
1536
  declare const InputUI: _stitches_react_types_styled_component.StyledComponent<"input", {}, {}, _stitches_react_types_css_util.CSS<{}, {
1522
1537
  colors: {
package/dist/index.d.ts CHANGED
@@ -665,6 +665,9 @@ interface CheckboxProps {
665
665
  label: string;
666
666
  }
667
667
  declare function CheckBox({ id, label, size, ...props }: CheckboxIUProps & CheckboxProps): react_jsx_runtime.JSX.Element;
668
+ declare namespace CheckBox {
669
+ var displayName: string;
670
+ }
668
671
 
669
672
  declare const HeadingUI: _stitches_react_types_styled_component.StyledComponent<"h2", {
670
673
  mode?: "white" | "default" | undefined;
@@ -879,6 +882,9 @@ interface HeadingProps {
879
882
  children: ReactNode;
880
883
  }
881
884
  declare function Heading({ children, ...props }: HeadingUIProps & HeadingProps): react_jsx_runtime.JSX.Element;
885
+ declare namespace Heading {
886
+ var displayName: string;
887
+ }
882
888
 
883
889
  declare const RadioUI: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<RadioGroup.RadioGroupProps & react.RefAttributes<HTMLDivElement>>, {
884
890
  size?: "sm" | "md" | "lg" | undefined;
@@ -1095,6 +1101,9 @@ interface RadioGroupProps extends RadioUIProps {
1095
1101
  items: Item[];
1096
1102
  }
1097
1103
  declare function Radio({ items, size, ...props }: RadioGroupProps): react_jsx_runtime.JSX.Element;
1104
+ declare namespace Radio {
1105
+ var displayName: string;
1106
+ }
1098
1107
 
1099
1108
  declare const TextUI: _stitches_react_types_styled_component.StyledComponent<"p", {
1100
1109
  size?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
@@ -1307,6 +1316,9 @@ interface TextProps {
1307
1316
  children: ReactNode;
1308
1317
  }
1309
1318
  declare function Text({ children, size, ...props }: TextUIProps & TextProps): react_jsx_runtime.JSX.Element;
1319
+ declare namespace Text {
1320
+ var displayName: string;
1321
+ }
1310
1322
 
1311
1323
  declare const TextAreaUI: _stitches_react_types_styled_component.StyledComponent<"textarea", {}, {}, _stitches_react_types_css_util.CSS<{}, {
1312
1324
  colors: {
@@ -1517,6 +1529,9 @@ interface TextAreaProps {
1517
1529
  disabled?: boolean;
1518
1530
  }
1519
1531
  declare function TextArea({ children, ...props }: TextAreaUIProps & TextAreaProps): react_jsx_runtime.JSX.Element;
1532
+ declare namespace TextArea {
1533
+ var displayName: string;
1534
+ }
1520
1535
 
1521
1536
  declare const InputUI: _stitches_react_types_styled_component.StyledComponent<"input", {}, {}, _stitches_react_types_css_util.CSS<{}, {
1522
1537
  colors: {
package/dist/index.js CHANGED
@@ -446,6 +446,7 @@ function CheckBox(_a) {
446
446
  label
447
447
  ] });
448
448
  }
449
+ CheckBox.displayName = "CheckBox";
449
450
 
450
451
  // src/components/Heading/styles.ts
451
452
  var HeadingUI = styled("h2", {
@@ -481,6 +482,7 @@ function Heading(_a) {
481
482
  var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
482
483
  return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(HeadingUI, __spreadProps(__spreadValues({}, props), { children }));
483
484
  }
485
+ Heading.displayName = "Heading";
484
486
 
485
487
  // src/components/Radio/styles.ts
486
488
  var RadioGroup = __toESM(require("@radix-ui/react-radio-group"));
@@ -633,6 +635,7 @@ function RadioItem(_a) {
633
635
  /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Label2, { htmlFor: id, size, children: label })
634
636
  ] }, id);
635
637
  }
638
+ RadioItem.displayName = "RadioItem";
636
639
 
637
640
  // src/components/Radio/index.tsx
638
641
  var import_jsx_runtime6 = require("react/jsx-runtime");
@@ -650,6 +653,7 @@ function Radio(_a) {
650
653
  );
651
654
  }) }));
652
655
  }
656
+ Radio.displayName = "Radio";
653
657
 
654
658
  // src/components/Text/styles.ts
655
659
  var TextUI = styled("p", {
@@ -685,6 +689,7 @@ function Text(_a) {
685
689
  ]);
686
690
  return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(TextUI, __spreadProps(__spreadValues({ size }, props), { children }));
687
691
  }
692
+ Text.displayName = "Text";
688
693
 
689
694
  // src/components/TextArea/styles.ts
690
695
  var TextAreaUI = styled("textarea", {
@@ -728,6 +733,7 @@ function TextArea(_a) {
728
733
  ]);
729
734
  return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(TextAreaUI, __spreadProps(__spreadValues({ rows: 3 }, props), { children }));
730
735
  }
736
+ TextArea.displayName = "TextArea";
731
737
 
732
738
  // src/components/TextInput/index.tsx
733
739
  var import_react4 = require("react");
@@ -822,6 +828,7 @@ var TextInput = (0, import_react4.forwardRef)(
822
828
  ] });
823
829
  }
824
830
  );
831
+ TextInput.displayName = "TextInput";
825
832
  // Annotate the CommonJS export names for ESM import in node:
826
833
  0 && (module.exports = {
827
834
  Box,
package/dist/index.mjs CHANGED
@@ -398,6 +398,7 @@ function CheckBox(_a) {
398
398
  label
399
399
  ] });
400
400
  }
401
+ CheckBox.displayName = "CheckBox";
401
402
 
402
403
  // src/components/Heading/styles.ts
403
404
  var HeadingUI = styled("h2", {
@@ -433,6 +434,7 @@ function Heading(_a) {
433
434
  var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
434
435
  return /* @__PURE__ */ jsx4(HeadingUI, __spreadProps(__spreadValues({}, props), { children }));
435
436
  }
437
+ Heading.displayName = "Heading";
436
438
 
437
439
  // src/components/Radio/styles.ts
438
440
  import * as RadioGroup from "@radix-ui/react-radio-group";
@@ -585,6 +587,7 @@ function RadioItem(_a) {
585
587
  /* @__PURE__ */ jsx5(Label2, { htmlFor: id, size, children: label })
586
588
  ] }, id);
587
589
  }
590
+ RadioItem.displayName = "RadioItem";
588
591
 
589
592
  // src/components/Radio/index.tsx
590
593
  import { jsx as jsx6 } from "react/jsx-runtime";
@@ -602,6 +605,7 @@ function Radio(_a) {
602
605
  );
603
606
  }) }));
604
607
  }
608
+ Radio.displayName = "Radio";
605
609
 
606
610
  // src/components/Text/styles.ts
607
611
  var TextUI = styled("p", {
@@ -637,6 +641,7 @@ function Text(_a) {
637
641
  ]);
638
642
  return /* @__PURE__ */ jsx7(TextUI, __spreadProps(__spreadValues({ size }, props), { children }));
639
643
  }
644
+ Text.displayName = "Text";
640
645
 
641
646
  // src/components/TextArea/styles.ts
642
647
  var TextAreaUI = styled("textarea", {
@@ -680,6 +685,7 @@ function TextArea(_a) {
680
685
  ]);
681
686
  return /* @__PURE__ */ jsx8(TextAreaUI, __spreadProps(__spreadValues({ rows: 3 }, props), { children }));
682
687
  }
688
+ TextArea.displayName = "TextArea";
683
689
 
684
690
  // src/components/TextInput/index.tsx
685
691
  import {
@@ -777,6 +783,7 @@ var TextInput = forwardRef(
777
783
  ] });
778
784
  }
779
785
  );
786
+ TextInput.displayName = "TextInput";
780
787
  export {
781
788
  Box,
782
789
  Button,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dafaz-ui/react",
3
- "version": "3.0.3",
3
+ "version": "3.0.4",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -23,3 +23,5 @@ export function CheckBox({
23
23
  </Label>
24
24
  )
25
25
  }
26
+
27
+ CheckBox.displayName = 'CheckBox'
@@ -8,3 +8,5 @@ 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'
@@ -30,3 +30,5 @@ export function RadioItem({
30
30
  </RadioItemContainer>
31
31
  )
32
32
  }
33
+
34
+ RadioItem.displayName = 'RadioItem'
@@ -27,3 +27,5 @@ export function Radio({ items, size, ...props }: RadioGroupProps) {
27
27
  </RadioUI>
28
28
  )
29
29
  }
30
+
31
+ Radio.displayName = 'Radio'
@@ -16,3 +16,5 @@ export function Text({
16
16
  </TextUI>
17
17
  )
18
18
  }
19
+
20
+ Text.displayName = 'Text'
@@ -17,3 +17,5 @@ export function TextArea({
17
17
  </TextAreaUI>
18
18
  )
19
19
  }
20
+
21
+ TextArea.displayName = 'TextArea'
@@ -49,3 +49,5 @@ export const TextInput = forwardRef<ElementRef<typeof InputUI>, TextInputProps>(
49
49
  )
50
50
  },
51
51
  )
52
+
53
+ TextInput.displayName = 'TextInput'