reactive-bulma 1.7.0 → 1.8.0
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/README.md +7 -5
- package/dist/cjs/index.js +8 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/atoms/ProgressBar/index.d.ts +4 -0
- package/dist/cjs/types/components/atoms/index.d.ts +1 -0
- package/dist/cjs/types/interfaces/atomProps.d.ts +12 -4
- package/dist/esm/index.js +8 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/atoms/ProgressBar/index.d.ts +4 -0
- package/dist/esm/types/components/atoms/index.d.ts +1 -0
- package/dist/esm/types/interfaces/atomProps.d.ts +12 -4
- package/dist/index.d.ts +15 -5
- package/package.json +1 -1
@@ -1,5 +1,10 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import { basicColorType, columnOffsetType, columnSizeType, sizeType } from '../types/styleTypes';
|
3
|
+
export interface ColumnProps extends React.ComponentPropsWithoutRef<'section'> {
|
4
|
+
size?: columnSizeType;
|
5
|
+
offset?: columnOffsetType;
|
6
|
+
isNarrow?: boolean;
|
7
|
+
}
|
3
8
|
export interface ButtonProps extends React.ComponentPropsWithoutRef<'button'> {
|
4
9
|
text?: string;
|
5
10
|
style?: React.CSSProperties;
|
@@ -14,8 +19,11 @@ export interface ButtonProps extends React.ComponentPropsWithoutRef<'button'> {
|
|
14
19
|
size?: sizeType;
|
15
20
|
onClick?: () => void;
|
16
21
|
}
|
17
|
-
export interface
|
18
|
-
|
19
|
-
|
20
|
-
|
22
|
+
export interface ProgressBarProps extends React.ComponentPropsWithoutRef<'progress'> {
|
23
|
+
value?: number;
|
24
|
+
max?: number;
|
25
|
+
style?: React.CSSProperties;
|
26
|
+
color?: basicColorType;
|
27
|
+
size?: sizeType;
|
28
|
+
isLoading?: boolean;
|
21
29
|
}
|
package/dist/index.d.ts
CHANGED
@@ -6,6 +6,11 @@ type columnOffsetType = 'is-offset-1' | 'is-offset-2' | 'is-offset-3' | 'is-offs
|
|
6
6
|
type basicColorType = 'is-white' | 'is-light' | 'is-dark' | 'is-black' | 'is-text' | 'is-ghost' | 'is-primary' | 'is-link' | 'is-info' | 'is-success' | 'is-warning' | 'is-danger';
|
7
7
|
type sizeType = 'is-small' | 'is-normal' | 'is-medium' | 'is-large';
|
8
8
|
|
9
|
+
interface ColumnProps extends React.ComponentPropsWithoutRef<'section'> {
|
10
|
+
size?: columnSizeType;
|
11
|
+
offset?: columnOffsetType;
|
12
|
+
isNarrow?: boolean;
|
13
|
+
}
|
9
14
|
interface ButtonProps extends React.ComponentPropsWithoutRef<'button'> {
|
10
15
|
text?: string;
|
11
16
|
style?: React.CSSProperties;
|
@@ -20,14 +25,19 @@ interface ButtonProps extends React.ComponentPropsWithoutRef<'button'> {
|
|
20
25
|
size?: sizeType;
|
21
26
|
onClick?: () => void;
|
22
27
|
}
|
23
|
-
interface
|
24
|
-
|
25
|
-
|
26
|
-
|
28
|
+
interface ProgressBarProps extends React.ComponentPropsWithoutRef<'progress'> {
|
29
|
+
value?: number;
|
30
|
+
max?: number;
|
31
|
+
style?: React.CSSProperties;
|
32
|
+
color?: basicColorType;
|
33
|
+
size?: sizeType;
|
34
|
+
isLoading?: boolean;
|
27
35
|
}
|
28
36
|
|
29
37
|
declare const Button: React$1.FC<ButtonProps>;
|
30
38
|
|
31
39
|
declare const Column: React$1.FC<ColumnProps>;
|
32
40
|
|
33
|
-
|
41
|
+
declare const ProgressBar: React$1.FC<ProgressBarProps>;
|
42
|
+
|
43
|
+
export { Button, Column, ProgressBar };
|