bianic-ui 0.3.0 → 0.3.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.
package/dist/cjs/index.js CHANGED
@@ -3085,9 +3085,9 @@ var Radio = function (_a) {
3085
3085
  React.createElement("label", { id: "label1", className: "ml-2 text-sm leading-4 font-normal text-gray-800" }, label)));
3086
3086
  };
3087
3087
 
3088
- var Display$1 = function (_a) {
3088
+ var Display = function (_a) {
3089
3089
  var rest = __rest(_a, []);
3090
- return (React.createElement("title", __assign({ className: "title text-[9rem] font-bold font-['Humnst777 Cn BT']" }, rest), rest.children));
3090
+ return (React.createElement("h1", __assign({ className: "title text-[9rem] font-bold font-['Humnst777 Cn BT']" }, rest), rest.children));
3091
3091
  };
3092
3092
 
3093
3093
  var Heading = function (_a) {
@@ -3115,7 +3115,7 @@ var Heading = function (_a) {
3115
3115
  }
3116
3116
  };
3117
3117
 
3118
- var Display = function (_a) {
3118
+ var P = function (_a) {
3119
3119
  var rest = __rest(_a, []);
3120
3120
  return (React.createElement("p", __assign({ className: "paragraph text-justify text-sm font-['Segoe UI'] leading-[21px] ".concat(rest.className) }, rest), rest.children));
3121
3121
  };
@@ -3213,9 +3213,9 @@ var Text = function (_a) {
3213
3213
 
3214
3214
  exports.Button = Button;
3215
3215
  exports.Color = Dump;
3216
- exports.Display = Display$1;
3216
+ exports.Display = Display;
3217
3217
  exports.Heading = Heading;
3218
- exports.P = Display;
3218
+ exports.P = P;
3219
3219
  exports.Radio = Radio;
3220
3220
  exports.Text = Text;
3221
3221
  exports.TextInput = TextInput;
@@ -1,5 +1,5 @@
1
1
  import React, { ComponentPropsWithoutRef } from "react";
2
- export interface DisplayProps extends ComponentPropsWithoutRef<"title"> {
2
+ export interface DisplayProps extends ComponentPropsWithoutRef<"h1"> {
3
3
  }
4
4
  declare const Display: ({ ...rest }: DisplayProps) => React.JSX.Element;
5
5
  export default Display;
@@ -1,5 +1,5 @@
1
1
  import React, { ComponentPropsWithoutRef } from "react";
2
2
  export interface ParagraphProps extends ComponentPropsWithoutRef<"p"> {
3
3
  }
4
- declare const Display: ({ ...rest }: ParagraphProps) => React.JSX.Element;
5
- export default Display;
4
+ declare const P: ({ ...rest }: ParagraphProps) => React.JSX.Element;
5
+ export default P;
package/dist/esm/index.js CHANGED
@@ -3083,9 +3083,9 @@ var Radio = function (_a) {
3083
3083
  React.createElement("label", { id: "label1", className: "ml-2 text-sm leading-4 font-normal text-gray-800" }, label)));
3084
3084
  };
3085
3085
 
3086
- var Display$1 = function (_a) {
3086
+ var Display = function (_a) {
3087
3087
  var rest = __rest(_a, []);
3088
- return (React.createElement("title", __assign({ className: "title text-[9rem] font-bold font-['Humnst777 Cn BT']" }, rest), rest.children));
3088
+ return (React.createElement("h1", __assign({ className: "title text-[9rem] font-bold font-['Humnst777 Cn BT']" }, rest), rest.children));
3089
3089
  };
3090
3090
 
3091
3091
  var Heading = function (_a) {
@@ -3113,7 +3113,7 @@ var Heading = function (_a) {
3113
3113
  }
3114
3114
  };
3115
3115
 
3116
- var Display = function (_a) {
3116
+ var P = function (_a) {
3117
3117
  var rest = __rest(_a, []);
3118
3118
  return (React.createElement("p", __assign({ className: "paragraph text-justify text-sm font-['Segoe UI'] leading-[21px] ".concat(rest.className) }, rest), rest.children));
3119
3119
  };
@@ -3209,4 +3209,4 @@ var Text = function (_a) {
3209
3209
  return (React.createElement("span", __assign({ className: "text ".concat(font, " ").concat(fontSize, " ").concat(fontWeight, " ").concat(fontLeading) }, rest), rest.children));
3210
3210
  };
3211
3211
 
3212
- export { Button, Dump as Color, Display$1 as Display, Heading, Display as P, Radio, Text, TextInput };
3212
+ export { Button, Dump as Color, Display, Heading, P, Radio, Text, TextInput };
@@ -1,5 +1,5 @@
1
1
  import React, { ComponentPropsWithoutRef } from "react";
2
- export interface DisplayProps extends ComponentPropsWithoutRef<"title"> {
2
+ export interface DisplayProps extends ComponentPropsWithoutRef<"h1"> {
3
3
  }
4
4
  declare const Display: ({ ...rest }: DisplayProps) => React.JSX.Element;
5
5
  export default Display;
@@ -1,5 +1,5 @@
1
1
  import React, { ComponentPropsWithoutRef } from "react";
2
2
  export interface ParagraphProps extends ComponentPropsWithoutRef<"p"> {
3
3
  }
4
- declare const Display: ({ ...rest }: ParagraphProps) => React.JSX.Element;
5
- export default Display;
4
+ declare const P: ({ ...rest }: ParagraphProps) => React.JSX.Element;
5
+ export default P;
package/dist/index.d.ts CHANGED
@@ -31,9 +31,9 @@ interface RadioProps extends ComponentPropsWithRef<"input"> {
31
31
  }
32
32
  declare const Radio: ({ label, data, ...rest }: RadioProps) => React.JSX.Element;
33
33
 
34
- interface DisplayProps extends ComponentPropsWithoutRef<"title"> {
34
+ interface DisplayProps extends ComponentPropsWithoutRef<"h1"> {
35
35
  }
36
- declare const Display$1: ({ ...rest }: DisplayProps) => React.JSX.Element;
36
+ declare const Display: ({ ...rest }: DisplayProps) => React.JSX.Element;
37
37
 
38
38
  interface HeadingProps extends ComponentPropsWithoutRef<"h1"> {
39
39
  variant: string;
@@ -42,11 +42,11 @@ declare const Heading: ({ variant, ...rest }: HeadingProps) => React.JSX.Element
42
42
 
43
43
  interface ParagraphProps extends ComponentPropsWithoutRef<"p"> {
44
44
  }
45
- declare const Display: ({ ...rest }: ParagraphProps) => React.JSX.Element;
45
+ declare const P: ({ ...rest }: ParagraphProps) => React.JSX.Element;
46
46
 
47
47
  interface TextProps extends ComponentPropsWithoutRef<"span"> {
48
48
  variant: string;
49
49
  }
50
50
  declare const Text: ({ variant, ...rest }: TextProps) => React.JSX.Element;
51
51
 
52
- export { Button, Dump as Color, Display$1 as Display, Heading, Display as P, Radio, Text, TextInput };
52
+ export { Button, Dump as Color, Display, Heading, P, Radio, Text, TextInput };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "@biaenergi:registry": "https://gitlab.com/api/v4/projects/50905269/packages/npm/"
5
5
  },
6
- "version": "0.3.0",
6
+ "version": "0.3.1",
7
7
  "description": "Design Language System develop by BIAENERGI",
8
8
  "scripts": {
9
9
  "rollup": "rollup -c"