reactive-bulma 5.0.7 → 5.1.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/dist/components/atoms/Button/index.js +57 -75
- package/dist/components/atoms/Button/index.stories.d.ts +1 -0
- package/dist/components/atoms/Icon/index.js +33 -31
- package/dist/components/atoms/Icon/index.stories.d.ts +1 -0
- package/dist/components/atoms/Image/index.js +21 -19
- package/dist/components/atoms/Image/index.stories.d.ts +1 -0
- package/dist/components/atoms/Input/index.js +46 -43
- package/dist/components/atoms/Input/index.stories.d.ts +1 -0
- package/dist/components/atoms/Select/index.js +58 -57
- package/dist/components/atoms/Skeleton/index.d.ts +4 -0
- package/dist/components/atoms/Skeleton/index.js +26 -0
- package/dist/components/atoms/Skeleton/index.stories.d.ts +7 -0
- package/dist/components/atoms/Skeleton/index.test.d.ts +0 -0
- package/dist/components/atoms/Tag/index.js +14 -12
- package/dist/components/atoms/Tag/index.stories.d.ts +1 -0
- package/dist/components/atoms/TextArea/index.js +38 -35
- package/dist/components/atoms/TextArea/index.stories.d.ts +1 -0
- package/dist/components/atoms/Title/index.js +24 -23
- package/dist/components/atoms/Title/index.stories.d.ts +1 -0
- package/dist/components/atoms/index.d.ts +1 -0
- package/dist/components/atoms/index.js +14 -12
- package/dist/components/molecules/Message/index.js +1 -1
- package/dist/components/molecules/NavBarBrand/index.js +1 -1
- package/dist/components/molecules/Notification/index.js +1 -1
- package/dist/components/molecules/TagList/index.js +1 -1
- package/dist/components/molecules/TileBox/index.js +1 -1
- package/dist/components/organisms/FormField/index.js +30 -28
- package/dist/components/organisms/Table/index.js +1 -1
- package/dist/components/organisms/TileGroup/index.js +1 -1
- package/dist/constants/classes.d.ts +4 -0
- package/dist/constants/classes.js +4 -0
- package/dist/index.js +78 -76
- package/dist/interfaces/atomProps.d.ts +18 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11,11 +11,11 @@ import { default as g } from "./components/atoms/TextArea/index.js";
|
|
|
11
11
|
import { default as v } from "./components/atoms/Delete/index.js";
|
|
12
12
|
import { default as G } from "./components/atoms/Select/index.js";
|
|
13
13
|
import { default as P } from "./components/atoms/File/index.js";
|
|
14
|
-
import { default as
|
|
15
|
-
import { default as
|
|
14
|
+
import { default as w } from "./components/atoms/Checkbox/index.js";
|
|
15
|
+
import { default as L } from "./components/atoms/RadioButton/index.js";
|
|
16
16
|
import { default as h } from "./components/atoms/BreadcrumbItem/index.js";
|
|
17
|
-
import { default as
|
|
18
|
-
import { default as
|
|
17
|
+
import { default as S } from "./components/atoms/DropdownTrigger/index.js";
|
|
18
|
+
import { default as R } from "./components/atoms/DropdownItem/index.js";
|
|
19
19
|
import { default as j } from "./components/atoms/MenuItem/index.js";
|
|
20
20
|
import { default as y } from "./components/atoms/Image/index.js";
|
|
21
21
|
import { default as E } from "./components/atoms/PaginationItem/index.js";
|
|
@@ -27,102 +27,104 @@ import { default as _ } from "./components/atoms/TableHeadCell/index.js";
|
|
|
27
27
|
import { default as ee } from "./components/atoms/TableCell/index.js";
|
|
28
28
|
import { default as ae } from "./components/atoms/GridCell/index.js";
|
|
29
29
|
import { default as te } from "./components/atoms/TagWithAddon/index.js";
|
|
30
|
-
import { default as le } from "./components/
|
|
31
|
-
import { default as ue } from "./components/molecules/
|
|
32
|
-
import { default as pe } from "./components/molecules/
|
|
33
|
-
import { default as xe } from "./components/molecules/
|
|
34
|
-
import { default as ie } from "./components/molecules/
|
|
35
|
-
import { default as Be } from "./components/molecules/
|
|
36
|
-
import { default as be } from "./components/molecules/
|
|
37
|
-
import { default as ge } from "./components/molecules/
|
|
38
|
-
import { default as ve } from "./components/molecules/
|
|
39
|
-
import { default as Ge } from "./components/molecules/
|
|
40
|
-
import { default as Pe } from "./components/molecules/
|
|
41
|
-
import { default as
|
|
42
|
-
import { default as
|
|
43
|
-
import { default as he } from "./components/molecules/
|
|
44
|
-
import { default as
|
|
45
|
-
import { default as
|
|
46
|
-
import { default as je } from "./components/molecules/
|
|
47
|
-
import { default as ye } from "./components/molecules/
|
|
48
|
-
import { default as Ee } from "./components/molecules/
|
|
49
|
-
import { default as Ke } from "./components/molecules/
|
|
50
|
-
import { default as Qe } from "./components/molecules/
|
|
51
|
-
import { default as Ve } from "./components/molecules/
|
|
52
|
-
import { default as Ye } from "./components/molecules/
|
|
53
|
-
import { default as _e } from "./components/molecules/
|
|
54
|
-
import { default as eo } from "./components/molecules/
|
|
55
|
-
import { default as ao } from "./components/molecules/
|
|
56
|
-
import { default as to } from "./components/
|
|
57
|
-
import { default as lo } from "./components/organisms/
|
|
58
|
-
import { default as mo } from "./components/organisms/
|
|
59
|
-
import { default as so } from "./components/organisms/
|
|
60
|
-
import { default as no } from "./components/organisms/
|
|
61
|
-
import { default as To } from "./components/organisms/
|
|
62
|
-
import { default as Io } from "./components/organisms/
|
|
63
|
-
import { default as co } from "./components/organisms/
|
|
30
|
+
import { default as le } from "./components/atoms/Skeleton/index.js";
|
|
31
|
+
import { default as ue } from "./components/molecules/ButtonGroup/index.js";
|
|
32
|
+
import { default as pe } from "./components/molecules/ColumnGroup/index.js";
|
|
33
|
+
import { default as xe } from "./components/molecules/Notification/index.js";
|
|
34
|
+
import { default as ie } from "./components/molecules/Breadcrumbs/index.js";
|
|
35
|
+
import { default as Be } from "./components/molecules/Dropdown/index.js";
|
|
36
|
+
import { default as be } from "./components/molecules/Message/index.js";
|
|
37
|
+
import { default as ge } from "./components/molecules/Menu/index.js";
|
|
38
|
+
import { default as ve } from "./components/molecules/MenuList/index.js";
|
|
39
|
+
import { default as Ge } from "./components/molecules/Pagination/index.js";
|
|
40
|
+
import { default as Pe } from "./components/molecules/Modal/index.js";
|
|
41
|
+
import { default as we } from "./components/molecules/Tabs/index.js";
|
|
42
|
+
import { default as Le } from "./components/molecules/InputControl/index.js";
|
|
43
|
+
import { default as he } from "./components/molecules/PanelBlock/index.js";
|
|
44
|
+
import { default as Se } from "./components/molecules/PanelTabs/index.js";
|
|
45
|
+
import { default as Re } from "./components/molecules/LevelItem/index.js";
|
|
46
|
+
import { default as je } from "./components/molecules/TileBox/index.js";
|
|
47
|
+
import { default as ye } from "./components/molecules/Footer/index.js";
|
|
48
|
+
import { default as Ee } from "./components/molecules/Media/index.js";
|
|
49
|
+
import { default as Ke } from "./components/molecules/Section/index.js";
|
|
50
|
+
import { default as Qe } from "./components/molecules/NavBarBrand/index.js";
|
|
51
|
+
import { default as Ve } from "./components/molecules/NavBarDropdown/index.js";
|
|
52
|
+
import { default as Ye } from "./components/molecules/TableRow/index.js";
|
|
53
|
+
import { default as _e } from "./components/molecules/FormFieldInput/index.js";
|
|
54
|
+
import { default as eo } from "./components/molecules/TagList/index.js";
|
|
55
|
+
import { default as ao } from "./components/molecules/CheckboxGroup/index.js";
|
|
56
|
+
import { default as to } from "./components/molecules/Grid/index.js";
|
|
57
|
+
import { default as lo } from "./components/organisms/FormField/index.js";
|
|
58
|
+
import { default as mo } from "./components/organisms/Panel/index.js";
|
|
59
|
+
import { default as so } from "./components/organisms/Level/index.js";
|
|
60
|
+
import { default as no } from "./components/organisms/Hero/index.js";
|
|
61
|
+
import { default as To } from "./components/organisms/TileGroup/index.js";
|
|
62
|
+
import { default as Io } from "./components/organisms/NavBar/index.js";
|
|
63
|
+
import { default as co } from "./components/organisms/Card/index.js";
|
|
64
|
+
import { default as Co } from "./components/organisms/Table/index.js";
|
|
64
65
|
export {
|
|
65
66
|
u as Block,
|
|
66
67
|
x as Box,
|
|
67
68
|
h as BreadcrumbItem,
|
|
68
|
-
|
|
69
|
+
ie as Breadcrumbs,
|
|
69
70
|
a as Button,
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
ue as ButtonGroup,
|
|
72
|
+
co as Card,
|
|
73
|
+
w as Checkbox,
|
|
74
|
+
ao as CheckboxGroup,
|
|
74
75
|
t as Column,
|
|
75
|
-
|
|
76
|
+
pe as ColumnGroup,
|
|
76
77
|
v as Delete,
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
Be as Dropdown,
|
|
79
|
+
R as DropdownItem,
|
|
80
|
+
S as DropdownTrigger,
|
|
80
81
|
P as File,
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
82
|
+
ye as Footer,
|
|
83
|
+
lo as FormField,
|
|
84
|
+
_e as FormFieldInput,
|
|
85
|
+
to as Grid,
|
|
85
86
|
ae as GridCell,
|
|
86
|
-
|
|
87
|
+
no as Hero,
|
|
87
88
|
B as Icon,
|
|
88
89
|
y as Image,
|
|
89
90
|
b as Input,
|
|
90
|
-
|
|
91
|
-
|
|
91
|
+
Le as InputControl,
|
|
92
|
+
so as Level,
|
|
92
93
|
Q as LevelHeader,
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
Re as LevelItem,
|
|
95
|
+
Ee as Media,
|
|
96
|
+
ge as Menu,
|
|
96
97
|
j as MenuItem,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
98
|
+
ve as MenuList,
|
|
99
|
+
be as Message,
|
|
100
|
+
Pe as Modal,
|
|
101
|
+
Io as NavBar,
|
|
102
|
+
Qe as NavBarBrand,
|
|
103
|
+
Ve as NavBarDropdown,
|
|
103
104
|
Y as NavBarItem,
|
|
104
|
-
|
|
105
|
-
|
|
105
|
+
xe as Notification,
|
|
106
|
+
Ge as Pagination,
|
|
106
107
|
E as PaginationItem,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
108
|
+
mo as Panel,
|
|
109
|
+
he as PanelBlock,
|
|
110
|
+
Se as PanelTabs,
|
|
110
111
|
l as ProgressBar,
|
|
111
|
-
|
|
112
|
-
|
|
112
|
+
L as RadioButton,
|
|
113
|
+
Ke as Section,
|
|
113
114
|
G as Select,
|
|
115
|
+
le as Skeleton,
|
|
114
116
|
K as TabItem,
|
|
115
|
-
|
|
117
|
+
Co as Table,
|
|
116
118
|
ee as TableCell,
|
|
117
119
|
_ as TableHeadCell,
|
|
118
|
-
|
|
119
|
-
|
|
120
|
+
Ye as TableRow,
|
|
121
|
+
we as Tabs,
|
|
120
122
|
p as Tag,
|
|
121
|
-
|
|
123
|
+
eo as TagList,
|
|
122
124
|
te as TagWithAddon,
|
|
123
125
|
g as TextArea,
|
|
124
126
|
V as Tile,
|
|
125
|
-
|
|
126
|
-
|
|
127
|
+
je as TileBox,
|
|
128
|
+
To as TileGroup,
|
|
127
129
|
i as Title
|
|
128
130
|
};
|
|
@@ -33,6 +33,8 @@ export interface ButtonProps extends ElementProps, React.ComponentPropsWithoutRe
|
|
|
33
33
|
isRounded?: boolean;
|
|
34
34
|
/** `Styling` Will change `text` for an animated spinner, but will remain clickeable */
|
|
35
35
|
isLoading?: boolean;
|
|
36
|
+
/** `Styling` Will change `text` and its input for an animated background occupating the input, and it but will not remain clickeable */
|
|
37
|
+
isSkeleton?: boolean;
|
|
36
38
|
/** `Styling` Similar to `isDisabled`, but will remove any color style */
|
|
37
39
|
isStatic?: boolean;
|
|
38
40
|
/** `Styling` Sets the button style when a User selects it (useful for an attached `ButtonGroup`) */
|
|
@@ -75,6 +77,8 @@ interface BaseTagProps extends React.ComponentPropsWithoutRef<'span'> {
|
|
|
75
77
|
isRounded?: boolean;
|
|
76
78
|
/** `Styling` Set tag's size */
|
|
77
79
|
size?: BaseSizeType;
|
|
80
|
+
/** `Styling` Will change the tag for an animated background occupating its size, and it but will not remain clickeable */
|
|
81
|
+
isSkeleton?: boolean;
|
|
78
82
|
/** `Function` Click function for `delete` option, alone does not nothing, but can be reused for other components */
|
|
79
83
|
onDeleteClick?: () => void;
|
|
80
84
|
}
|
|
@@ -93,6 +97,8 @@ export interface ImageProps extends ComposedElementProps, React.ComponentPropsWi
|
|
|
93
97
|
alt?: string;
|
|
94
98
|
/** `Styling` Will add round borders to image's shape */
|
|
95
99
|
fixedSize?: FixedImageSizeType;
|
|
100
|
+
/** `Styling` Will change the image for an animated background occupating its size, and it but will not remain clickeable */
|
|
101
|
+
isSkeleton?: boolean;
|
|
96
102
|
/** `Styling` Sets image size based on one of fixed ratios/fixed sizes */
|
|
97
103
|
isRounded?: boolean;
|
|
98
104
|
}
|
|
@@ -115,6 +121,8 @@ export interface TitleProps {
|
|
|
115
121
|
main?: TitleSectionProps;
|
|
116
122
|
/** `Attribute` Subtitle title configuration object */
|
|
117
123
|
secondary?: TitleSectionProps;
|
|
124
|
+
/** `Styling` Will change both titles for an animated background occupating its size, and it but will not remain clickeable */
|
|
125
|
+
isSkeleton?: boolean;
|
|
118
126
|
}
|
|
119
127
|
export interface IconProps extends ComposedElementProps {
|
|
120
128
|
/** `Attribute` `Required` Sets the icon key work based on [Material Design icon list](https://pictogrammers.com/library/mdi/) */
|
|
@@ -129,6 +137,8 @@ export interface IconProps extends ComposedElementProps {
|
|
|
129
137
|
colorMode?: ColorModeType;
|
|
130
138
|
/** `Styling` Animates the icon spinning 360° */
|
|
131
139
|
isSpinning?: boolean;
|
|
140
|
+
/** `Styling` Will change the icon for an animated background occupating the input, and it but will not remain clickable */
|
|
141
|
+
isSkeleton?: boolean;
|
|
132
142
|
/** `Styling` Used for `InputControl` styling purpose only. Will move the Icon itself to control's Input side */
|
|
133
143
|
position?: RightLeftAlignType;
|
|
134
144
|
}
|
|
@@ -143,6 +153,8 @@ export interface InputProps extends ElementProps, InteractiveProps, NamedInputPr
|
|
|
143
153
|
isDisabled?: boolean;
|
|
144
154
|
/** `Attribute` Will show the input as a normal one, but is not editable and has no shadow */
|
|
145
155
|
isReadonly?: boolean;
|
|
156
|
+
/** `Styling` Will change the input for an animated background occupating it entirely, and it but will not remain clickable */
|
|
157
|
+
isSkeleton?: boolean;
|
|
146
158
|
/** `Styling` Color based on bulma's text color tokens */
|
|
147
159
|
color?: ColorType;
|
|
148
160
|
/** `Styling` Set input's size */
|
|
@@ -332,4 +344,10 @@ export interface GridCellProps extends ElementProps, React.ComponentPropsWithout
|
|
|
332
344
|
/** `Styling` Change how many rows a cell spans */
|
|
333
345
|
rowSpan?: number;
|
|
334
346
|
}
|
|
347
|
+
export interface SkeletonProps extends ElementProps {
|
|
348
|
+
/** `Attribute` Reffers to the component or array of components that will be shown inside the box */
|
|
349
|
+
children?: ChildrenType;
|
|
350
|
+
/** Styling: How the Skeleton's children will be shown. Will be `block` by default */
|
|
351
|
+
displayType?: 'block' | 'lines';
|
|
352
|
+
}
|
|
335
353
|
export {};
|