@bbki.ng/components 1.4.1 → 1.4.2

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,7 @@
1
1
  # @bbki.ng/components
2
2
 
3
+ ## 1.4.2
4
+
3
5
  ## 1.4.1
4
6
 
5
7
  ## 1.4.0
package/dist/index.d.ts CHANGED
@@ -1,89 +1,89 @@
1
1
  import React, { EventHandler } from 'react';
2
2
  import { LinkProps as LinkProps$1 } from 'react-router-dom';
3
3
 
4
- declare type ArticleProps = {
5
- title: string;
6
- className?: string;
7
- content?: any;
8
- children: any;
9
- };
4
+ declare type ArticleProps = {
5
+ title: string;
6
+ className?: string;
7
+ content?: any;
8
+ children: any;
9
+ };
10
10
  declare const Article: (props: ArticleProps) => JSX.Element;
11
11
 
12
- declare enum ButtonType {
13
- DANGER = "danger",
14
- PRIMARY = "primary",
15
- NORMAL = "normal",
16
- DISABLED = "disabled"
17
- }
18
- interface ButtonProps {
19
- className?: string;
20
- children: React.ReactNode;
21
- type?: ButtonType;
22
- onClick: EventHandler<React.MouseEvent<HTMLButtonElement>>;
23
- }
24
- declare function Button(props: ButtonProps): JSX.Element;
25
- declare namespace Button {
26
- var displayName: string;
12
+ declare enum ButtonType {
13
+ DANGER = "danger",
14
+ PRIMARY = "primary",
15
+ NORMAL = "normal",
16
+ DISABLED = "disabled"
17
+ }
18
+ interface ButtonProps {
19
+ className?: string;
20
+ children: React.ReactNode;
21
+ type?: ButtonType;
22
+ onClick: EventHandler<React.MouseEvent<HTMLButtonElement>>;
23
+ }
24
+ declare function Button(props: ButtonProps): JSX.Element;
25
+ declare namespace Button {
26
+ var displayName: string;
27
27
  }
28
28
 
29
- declare type LogoProps = {
30
- className?: string;
31
- };
29
+ declare type LogoProps = {
30
+ className?: string;
31
+ };
32
32
  declare const Logo: (props: LogoProps) => JSX.Element;
33
33
 
34
- declare type PathObj = {
35
- path?: string;
36
- name: string;
37
- };
38
- declare type BreadcrumbProps = {
39
- paths: PathObj[];
40
- };
34
+ declare type PathObj = {
35
+ path?: string;
36
+ name: string;
37
+ };
38
+ declare type BreadcrumbProps = {
39
+ paths: PathObj[];
40
+ };
41
41
  declare const Breadcrumb: (props: BreadcrumbProps) => JSX.Element;
42
42
 
43
- declare type NavProps = {
44
- paths: PathObj[];
45
- className?: string;
46
- };
43
+ declare type NavProps = {
44
+ paths: PathObj[];
45
+ className?: string;
46
+ };
47
47
  declare const Nav: (props: NavProps) => JSX.Element;
48
48
 
49
- declare enum LinkColor {
50
- BLUE = "blue",
51
- RED = "red",
52
- GRAY = "gray"
53
- }
54
- interface LinkProps extends LinkProps$1 {
55
- color?: LinkColor;
56
- className?: string;
57
- external?: boolean;
58
- to: string;
59
- children: any;
60
- }
49
+ declare enum LinkColor {
50
+ BLUE = "blue",
51
+ RED = "red",
52
+ GRAY = "gray"
53
+ }
54
+ interface LinkProps extends LinkProps$1 {
55
+ color?: LinkColor;
56
+ className?: string;
57
+ external?: boolean;
58
+ to: string;
59
+ children: any;
60
+ }
61
61
  declare const Link: (props: LinkProps) => JSX.Element;
62
62
 
63
- interface TagProps extends Pick<LinkProps, "to" | "children" | "className"> {
64
- name?: string;
65
- }
66
- declare const Tag: (props: TagProps) => JSX.Element;
67
- declare const Tags: (props: {
68
- tags: TagProps[];
69
- className?: string;
63
+ interface TagProps extends Pick<LinkProps, "to" | "children" | "className"> {
64
+ name?: string;
65
+ }
66
+ declare const Tag: (props: TagProps) => JSX.Element;
67
+ declare const Tags: (props: {
68
+ tags: TagProps[];
69
+ className?: string;
70
70
  }) => JSX.Element;
71
71
 
72
- declare type PanelProps = {
73
- width?: number;
74
- children: any;
75
- className?: string;
76
- };
72
+ declare type PanelProps = {
73
+ width?: number;
74
+ children: any;
75
+ className?: string;
76
+ };
77
77
  declare const Panel: (props: PanelProps) => JSX.Element;
78
78
 
79
- declare type PopConfirmProps = {
80
- onOk?: EventHandler<React.MouseEvent<HTMLButtonElement>>;
81
- onCancel?: EventHandler<React.MouseEvent<HTMLButtonElement>>;
82
- className?: string;
83
- content?: any;
84
- children?: any;
85
- width?: number;
86
- };
79
+ declare type PopConfirmProps = {
80
+ onOk?: EventHandler<React.MouseEvent<HTMLButtonElement>>;
81
+ onCancel?: EventHandler<React.MouseEvent<HTMLButtonElement>>;
82
+ className?: string;
83
+ content?: any;
84
+ children?: any;
85
+ width?: number;
86
+ };
87
87
  declare const PopConfirm: (props: PopConfirmProps) => JSX.Element;
88
88
 
89
89
  export { Article, ArticleProps, Breadcrumb, BreadcrumbProps, Button, ButtonProps, ButtonType, Link, LinkColor, LinkProps, Logo, LogoProps, Nav, NavProps, Panel, PanelProps, PathObj, PopConfirm, PopConfirmProps, Tag, TagProps, Tags };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbki.ng/components",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",