gov-ui-core 0.2.6-beta.13 → 0.2.6-beta.15
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/@types/styles.d.ts +4 -0
- package/build/components/Button/styled.d.ts +3 -2
- package/build/components/Input/styled.d.ts +2 -1
- package/build/components/Pannel/index.d.ts +10 -0
- package/build/components/Pannel/styled.d.ts +5 -0
- package/build/components/TextBox/index.d.ts +10 -0
- package/build/components/Tree/index.d.ts +8 -0
- package/build/index.js +1 -1
- package/build/pages/PannelSample.d.ts +5 -0
- package/build/pages/TextBoxSample.d.ts +2 -0
- package/build/pages/TreeSample.d.ts +5 -0
- package/package.json +14 -13
package/@types/styles.d.ts
CHANGED
|
@@ -68,12 +68,16 @@ declare module 'styled-components' {
|
|
|
68
68
|
colorEtcTransparent?: string;
|
|
69
69
|
colorEtcError?: string;
|
|
70
70
|
colorEtcError05?: string;
|
|
71
|
+
colorEtcError15?: string;
|
|
71
72
|
colorEtcWarning?: string;
|
|
72
73
|
colorEtcWarning05?: string;
|
|
74
|
+
colorEtcWarning15?: string;
|
|
73
75
|
colorEtcSuccess?: string;
|
|
74
76
|
colorEtcSuccess05?: string;
|
|
77
|
+
colorEtcSuccess15?: string;
|
|
75
78
|
colorEtcInfo?: string;
|
|
76
79
|
colorEtcInfo05?: string;
|
|
80
|
+
colorEtcInfo15?: string;
|
|
77
81
|
colorChart01?: string;
|
|
78
82
|
colorChart02?: string;
|
|
79
83
|
colorChart03?: string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { DefaultTheme } from 'styled-components';
|
|
2
|
+
declare const ButtonBox: import("styled-components").StyledComponent<"button", DefaultTheme, {
|
|
2
3
|
btype?: string | undefined;
|
|
3
4
|
size?: string | undefined;
|
|
4
5
|
disabled?: boolean | undefined;
|
|
@@ -7,7 +8,7 @@ declare const ButtonBox: import("styled-components").StyledComponent<"button", i
|
|
|
7
8
|
$loading?: boolean | undefined;
|
|
8
9
|
$buttonChildType?: string | undefined;
|
|
9
10
|
}, never>;
|
|
10
|
-
declare const SwitchBox: import("styled-components").StyledComponent<"button",
|
|
11
|
+
declare const SwitchBox: import("styled-components").StyledComponent<"button", DefaultTheme, {
|
|
11
12
|
checked?: boolean | undefined;
|
|
12
13
|
showLabel?: boolean | undefined;
|
|
13
14
|
}, never>;
|
|
@@ -22,7 +22,8 @@ declare const SearchArea: import("styled-components").StyledComponent<"div", imp
|
|
|
22
22
|
listHeight?: number | undefined;
|
|
23
23
|
}, never>;
|
|
24
24
|
declare const OptionItemsBox: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
25
|
-
isDropdownButton?: boolean | undefined;
|
|
25
|
+
$isDropdownButton?: boolean | undefined;
|
|
26
|
+
$maxWidth?: number | undefined;
|
|
26
27
|
}, never>;
|
|
27
28
|
declare const SuffixBox: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
28
29
|
export { InputBox, ErrorMessage, SuffixArea, SelectArea, ItemArea, SearchArea, OptionItemsBox, SuffixBox, };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IPannelProps {
|
|
3
|
+
type?: 'default' | 'error' | 'success' | 'warning' | 'primary';
|
|
4
|
+
title?: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
isIcon?: boolean;
|
|
7
|
+
buttonList?: any;
|
|
8
|
+
}
|
|
9
|
+
declare const Pannel: React.FC<IPannelProps>;
|
|
10
|
+
export default Pannel;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
interface ITextBox {
|
|
2
|
+
viewer: boolean;
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
theme: 'light' | 'dark' | string;
|
|
6
|
+
height: string;
|
|
7
|
+
options: any;
|
|
8
|
+
}
|
|
9
|
+
export declare const TextBox: (props: Partial<ITextBox>) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|