@dafaz-ui/react 3.0.2 → 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.
- package/.turbo/turbo-build.log +8 -8
- package/CHANGELOG.md +12 -0
- package/dist/index.d.mts +18 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.js +8 -0
- package/dist/index.mjs +8 -0
- package/package.json +1 -1
- package/src/components/Button/index.tsx +2 -0
- package/src/components/CheckBox/index.tsx +2 -0
- package/src/components/Heading/index.tsx +2 -0
- package/src/components/Radio/RadioItem/index.tsx +2 -0
- package/src/components/Radio/index.tsx +2 -0
- package/src/components/Text/index.tsx +2 -0
- package/src/components/TextArea/index.tsx +2 -0
- package/src/components/TextInput/index.tsx +2 -0
package/.turbo/turbo-build.log
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
> @dafaz-ui/react@3.0.
|
2
|
+
> @dafaz-ui/react@3.0.4 build
|
3
3
|
> tsup src/index.tsx --format esm,cjs --dts --external react
|
4
4
|
|
5
5
|
[34mCLI[39m Building entry: src/index.tsx
|
@@ -8,11 +8,11 @@
|
|
8
8
|
[34mCLI[39m Target: es6
|
9
9
|
[34mESM[39m Build start
|
10
10
|
[34mCJS[39m Build start
|
11
|
-
[32mESM[39m [1mdist/index.mjs [22m[
|
12
|
-
[32mESM[39m ⚡️ Build success in
|
13
|
-
[32mCJS[39m [1mdist/index.js [22m[32m19.
|
14
|
-
[32mCJS[39m ⚡️ Build success in
|
11
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m17.02 KB[39m
|
12
|
+
[32mESM[39m ⚡️ Build success in 45ms
|
13
|
+
[32mCJS[39m [1mdist/index.js [22m[32m19.44 KB[39m
|
14
|
+
[32mCJS[39m ⚡️ Build success in 46ms
|
15
15
|
[34mDTS[39m Build start
|
16
|
-
[32mDTS[39m ⚡️ Build success in
|
17
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[
|
18
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[
|
16
|
+
[32mDTS[39m ⚡️ Build success in 4477ms
|
17
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m98.05 KB[39m
|
18
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m98.05 KB[39m
|
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
@@ -450,6 +450,9 @@ interface ButtonProps {
|
|
450
450
|
children: ReactNode;
|
451
451
|
}
|
452
452
|
declare function Button({ children, variant, size, ...props }: ButtonUIProps & ButtonProps): react_jsx_runtime.JSX.Element;
|
453
|
+
declare namespace Button {
|
454
|
+
var displayName: string;
|
455
|
+
}
|
453
456
|
|
454
457
|
declare const CheckBoxUI: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<Checkbox.CheckboxProps & react.RefAttributes<HTMLButtonElement>>, {
|
455
458
|
size?: "sm" | "md" | "lg" | undefined;
|
@@ -662,6 +665,9 @@ interface CheckboxProps {
|
|
662
665
|
label: string;
|
663
666
|
}
|
664
667
|
declare function CheckBox({ id, label, size, ...props }: CheckboxIUProps & CheckboxProps): react_jsx_runtime.JSX.Element;
|
668
|
+
declare namespace CheckBox {
|
669
|
+
var displayName: string;
|
670
|
+
}
|
665
671
|
|
666
672
|
declare const HeadingUI: _stitches_react_types_styled_component.StyledComponent<"h2", {
|
667
673
|
mode?: "white" | "default" | undefined;
|
@@ -876,6 +882,9 @@ interface HeadingProps {
|
|
876
882
|
children: ReactNode;
|
877
883
|
}
|
878
884
|
declare function Heading({ children, ...props }: HeadingUIProps & HeadingProps): react_jsx_runtime.JSX.Element;
|
885
|
+
declare namespace Heading {
|
886
|
+
var displayName: string;
|
887
|
+
}
|
879
888
|
|
880
889
|
declare const RadioUI: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<RadioGroup.RadioGroupProps & react.RefAttributes<HTMLDivElement>>, {
|
881
890
|
size?: "sm" | "md" | "lg" | undefined;
|
@@ -1092,6 +1101,9 @@ interface RadioGroupProps extends RadioUIProps {
|
|
1092
1101
|
items: Item[];
|
1093
1102
|
}
|
1094
1103
|
declare function Radio({ items, size, ...props }: RadioGroupProps): react_jsx_runtime.JSX.Element;
|
1104
|
+
declare namespace Radio {
|
1105
|
+
var displayName: string;
|
1106
|
+
}
|
1095
1107
|
|
1096
1108
|
declare const TextUI: _stitches_react_types_styled_component.StyledComponent<"p", {
|
1097
1109
|
size?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
@@ -1304,6 +1316,9 @@ interface TextProps {
|
|
1304
1316
|
children: ReactNode;
|
1305
1317
|
}
|
1306
1318
|
declare function Text({ children, size, ...props }: TextUIProps & TextProps): react_jsx_runtime.JSX.Element;
|
1319
|
+
declare namespace Text {
|
1320
|
+
var displayName: string;
|
1321
|
+
}
|
1307
1322
|
|
1308
1323
|
declare const TextAreaUI: _stitches_react_types_styled_component.StyledComponent<"textarea", {}, {}, _stitches_react_types_css_util.CSS<{}, {
|
1309
1324
|
colors: {
|
@@ -1514,6 +1529,9 @@ interface TextAreaProps {
|
|
1514
1529
|
disabled?: boolean;
|
1515
1530
|
}
|
1516
1531
|
declare function TextArea({ children, ...props }: TextAreaUIProps & TextAreaProps): react_jsx_runtime.JSX.Element;
|
1532
|
+
declare namespace TextArea {
|
1533
|
+
var displayName: string;
|
1534
|
+
}
|
1517
1535
|
|
1518
1536
|
declare const InputUI: _stitches_react_types_styled_component.StyledComponent<"input", {}, {}, _stitches_react_types_css_util.CSS<{}, {
|
1519
1537
|
colors: {
|
package/dist/index.d.ts
CHANGED
@@ -450,6 +450,9 @@ interface ButtonProps {
|
|
450
450
|
children: ReactNode;
|
451
451
|
}
|
452
452
|
declare function Button({ children, variant, size, ...props }: ButtonUIProps & ButtonProps): react_jsx_runtime.JSX.Element;
|
453
|
+
declare namespace Button {
|
454
|
+
var displayName: string;
|
455
|
+
}
|
453
456
|
|
454
457
|
declare const CheckBoxUI: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<Checkbox.CheckboxProps & react.RefAttributes<HTMLButtonElement>>, {
|
455
458
|
size?: "sm" | "md" | "lg" | undefined;
|
@@ -662,6 +665,9 @@ interface CheckboxProps {
|
|
662
665
|
label: string;
|
663
666
|
}
|
664
667
|
declare function CheckBox({ id, label, size, ...props }: CheckboxIUProps & CheckboxProps): react_jsx_runtime.JSX.Element;
|
668
|
+
declare namespace CheckBox {
|
669
|
+
var displayName: string;
|
670
|
+
}
|
665
671
|
|
666
672
|
declare const HeadingUI: _stitches_react_types_styled_component.StyledComponent<"h2", {
|
667
673
|
mode?: "white" | "default" | undefined;
|
@@ -876,6 +882,9 @@ interface HeadingProps {
|
|
876
882
|
children: ReactNode;
|
877
883
|
}
|
878
884
|
declare function Heading({ children, ...props }: HeadingUIProps & HeadingProps): react_jsx_runtime.JSX.Element;
|
885
|
+
declare namespace Heading {
|
886
|
+
var displayName: string;
|
887
|
+
}
|
879
888
|
|
880
889
|
declare const RadioUI: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<RadioGroup.RadioGroupProps & react.RefAttributes<HTMLDivElement>>, {
|
881
890
|
size?: "sm" | "md" | "lg" | undefined;
|
@@ -1092,6 +1101,9 @@ interface RadioGroupProps extends RadioUIProps {
|
|
1092
1101
|
items: Item[];
|
1093
1102
|
}
|
1094
1103
|
declare function Radio({ items, size, ...props }: RadioGroupProps): react_jsx_runtime.JSX.Element;
|
1104
|
+
declare namespace Radio {
|
1105
|
+
var displayName: string;
|
1106
|
+
}
|
1095
1107
|
|
1096
1108
|
declare const TextUI: _stitches_react_types_styled_component.StyledComponent<"p", {
|
1097
1109
|
size?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
@@ -1304,6 +1316,9 @@ interface TextProps {
|
|
1304
1316
|
children: ReactNode;
|
1305
1317
|
}
|
1306
1318
|
declare function Text({ children, size, ...props }: TextUIProps & TextProps): react_jsx_runtime.JSX.Element;
|
1319
|
+
declare namespace Text {
|
1320
|
+
var displayName: string;
|
1321
|
+
}
|
1307
1322
|
|
1308
1323
|
declare const TextAreaUI: _stitches_react_types_styled_component.StyledComponent<"textarea", {}, {}, _stitches_react_types_css_util.CSS<{}, {
|
1309
1324
|
colors: {
|
@@ -1514,6 +1529,9 @@ interface TextAreaProps {
|
|
1514
1529
|
disabled?: boolean;
|
1515
1530
|
}
|
1516
1531
|
declare function TextArea({ children, ...props }: TextAreaUIProps & TextAreaProps): react_jsx_runtime.JSX.Element;
|
1532
|
+
declare namespace TextArea {
|
1533
|
+
var displayName: string;
|
1534
|
+
}
|
1517
1535
|
|
1518
1536
|
declare const InputUI: _stitches_react_types_styled_component.StyledComponent<"input", {}, {}, _stitches_react_types_css_util.CSS<{}, {
|
1519
1537
|
colors: {
|
package/dist/index.js
CHANGED
@@ -316,6 +316,7 @@ function Button(_a) {
|
|
316
316
|
]);
|
317
317
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(ButtonUI, __spreadProps(__spreadValues({ variant, size }, props), { children }));
|
318
318
|
}
|
319
|
+
Button.displayName = "Button";
|
319
320
|
|
320
321
|
// src/components/CheckBox/styles.ts
|
321
322
|
var Checkbox = __toESM(require("@radix-ui/react-checkbox"));
|
@@ -445,6 +446,7 @@ function CheckBox(_a) {
|
|
445
446
|
label
|
446
447
|
] });
|
447
448
|
}
|
449
|
+
CheckBox.displayName = "CheckBox";
|
448
450
|
|
449
451
|
// src/components/Heading/styles.ts
|
450
452
|
var HeadingUI = styled("h2", {
|
@@ -480,6 +482,7 @@ function Heading(_a) {
|
|
480
482
|
var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
|
481
483
|
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(HeadingUI, __spreadProps(__spreadValues({}, props), { children }));
|
482
484
|
}
|
485
|
+
Heading.displayName = "Heading";
|
483
486
|
|
484
487
|
// src/components/Radio/styles.ts
|
485
488
|
var RadioGroup = __toESM(require("@radix-ui/react-radio-group"));
|
@@ -632,6 +635,7 @@ function RadioItem(_a) {
|
|
632
635
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Label2, { htmlFor: id, size, children: label })
|
633
636
|
] }, id);
|
634
637
|
}
|
638
|
+
RadioItem.displayName = "RadioItem";
|
635
639
|
|
636
640
|
// src/components/Radio/index.tsx
|
637
641
|
var import_jsx_runtime6 = require("react/jsx-runtime");
|
@@ -649,6 +653,7 @@ function Radio(_a) {
|
|
649
653
|
);
|
650
654
|
}) }));
|
651
655
|
}
|
656
|
+
Radio.displayName = "Radio";
|
652
657
|
|
653
658
|
// src/components/Text/styles.ts
|
654
659
|
var TextUI = styled("p", {
|
@@ -684,6 +689,7 @@ function Text(_a) {
|
|
684
689
|
]);
|
685
690
|
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(TextUI, __spreadProps(__spreadValues({ size }, props), { children }));
|
686
691
|
}
|
692
|
+
Text.displayName = "Text";
|
687
693
|
|
688
694
|
// src/components/TextArea/styles.ts
|
689
695
|
var TextAreaUI = styled("textarea", {
|
@@ -727,6 +733,7 @@ function TextArea(_a) {
|
|
727
733
|
]);
|
728
734
|
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(TextAreaUI, __spreadProps(__spreadValues({ rows: 3 }, props), { children }));
|
729
735
|
}
|
736
|
+
TextArea.displayName = "TextArea";
|
730
737
|
|
731
738
|
// src/components/TextInput/index.tsx
|
732
739
|
var import_react4 = require("react");
|
@@ -821,6 +828,7 @@ var TextInput = (0, import_react4.forwardRef)(
|
|
821
828
|
] });
|
822
829
|
}
|
823
830
|
);
|
831
|
+
TextInput.displayName = "TextInput";
|
824
832
|
// Annotate the CommonJS export names for ESM import in node:
|
825
833
|
0 && (module.exports = {
|
826
834
|
Box,
|
package/dist/index.mjs
CHANGED
@@ -268,6 +268,7 @@ function Button(_a) {
|
|
268
268
|
]);
|
269
269
|
return /* @__PURE__ */ jsx2(ButtonUI, __spreadProps(__spreadValues({ variant, size }, props), { children }));
|
270
270
|
}
|
271
|
+
Button.displayName = "Button";
|
271
272
|
|
272
273
|
// src/components/CheckBox/styles.ts
|
273
274
|
import * as Checkbox from "@radix-ui/react-checkbox";
|
@@ -397,6 +398,7 @@ function CheckBox(_a) {
|
|
397
398
|
label
|
398
399
|
] });
|
399
400
|
}
|
401
|
+
CheckBox.displayName = "CheckBox";
|
400
402
|
|
401
403
|
// src/components/Heading/styles.ts
|
402
404
|
var HeadingUI = styled("h2", {
|
@@ -432,6 +434,7 @@ function Heading(_a) {
|
|
432
434
|
var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
|
433
435
|
return /* @__PURE__ */ jsx4(HeadingUI, __spreadProps(__spreadValues({}, props), { children }));
|
434
436
|
}
|
437
|
+
Heading.displayName = "Heading";
|
435
438
|
|
436
439
|
// src/components/Radio/styles.ts
|
437
440
|
import * as RadioGroup from "@radix-ui/react-radio-group";
|
@@ -584,6 +587,7 @@ function RadioItem(_a) {
|
|
584
587
|
/* @__PURE__ */ jsx5(Label2, { htmlFor: id, size, children: label })
|
585
588
|
] }, id);
|
586
589
|
}
|
590
|
+
RadioItem.displayName = "RadioItem";
|
587
591
|
|
588
592
|
// src/components/Radio/index.tsx
|
589
593
|
import { jsx as jsx6 } from "react/jsx-runtime";
|
@@ -601,6 +605,7 @@ function Radio(_a) {
|
|
601
605
|
);
|
602
606
|
}) }));
|
603
607
|
}
|
608
|
+
Radio.displayName = "Radio";
|
604
609
|
|
605
610
|
// src/components/Text/styles.ts
|
606
611
|
var TextUI = styled("p", {
|
@@ -636,6 +641,7 @@ function Text(_a) {
|
|
636
641
|
]);
|
637
642
|
return /* @__PURE__ */ jsx7(TextUI, __spreadProps(__spreadValues({ size }, props), { children }));
|
638
643
|
}
|
644
|
+
Text.displayName = "Text";
|
639
645
|
|
640
646
|
// src/components/TextArea/styles.ts
|
641
647
|
var TextAreaUI = styled("textarea", {
|
@@ -679,6 +685,7 @@ function TextArea(_a) {
|
|
679
685
|
]);
|
680
686
|
return /* @__PURE__ */ jsx8(TextAreaUI, __spreadProps(__spreadValues({ rows: 3 }, props), { children }));
|
681
687
|
}
|
688
|
+
TextArea.displayName = "TextArea";
|
682
689
|
|
683
690
|
// src/components/TextInput/index.tsx
|
684
691
|
import {
|
@@ -776,6 +783,7 @@ var TextInput = forwardRef(
|
|
776
783
|
] });
|
777
784
|
}
|
778
785
|
);
|
786
|
+
TextInput.displayName = "TextInput";
|
779
787
|
export {
|
780
788
|
Box,
|
781
789
|
Button,
|
package/package.json
CHANGED