reactive-bulma 5.0.6 → 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/assets/reactive-bulma.css +1 -1
- package/dist/components/atoms/Button/index.js +57 -75
- package/dist/components/atoms/Button/index.stories.d.ts +1 -0
- package/dist/components/atoms/DropdownItem/index.js +0 -1
- 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 +15 -15
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { default as Skeleton } from '.';
|
|
3
|
+
declare const _default: Meta<typeof Skeleton>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const BasicExample: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, import('../../../interfaces/atomProps').SkeletonProps>;
|
|
6
|
+
export declare const BlockWithSeveralChildren: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, import('../../../interfaces/atomProps').SkeletonProps>;
|
|
7
|
+
export declare const LinesWithSeveralChildren: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, import('../../../interfaces/atomProps').SkeletonProps>;
|
|
File without changes
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as E, jsx as T } from "react/jsx-runtime";
|
|
2
2
|
import { COMMON_CLASSES as l } from "../../../constants/classes.js";
|
|
3
3
|
import { TEST_ID_REGEXP as n } from "../../../constants/regExp.js";
|
|
4
|
-
import { parseClasses as
|
|
5
|
-
const
|
|
4
|
+
import { parseClasses as I, parseTestId as S } from "../../../functions/parsers.js";
|
|
5
|
+
const O = ({
|
|
6
6
|
testId: r = null,
|
|
7
7
|
cssClasses: u = null,
|
|
8
8
|
style: o = null,
|
|
@@ -12,24 +12,26 @@ const N = ({
|
|
|
12
12
|
isLight: g = null,
|
|
13
13
|
isRounded: c = null,
|
|
14
14
|
size: e = null,
|
|
15
|
-
|
|
15
|
+
isSkeleton: m = !1,
|
|
16
|
+
onDeleteClick: i = null
|
|
16
17
|
}) => {
|
|
17
|
-
const a =
|
|
18
|
+
const a = I([
|
|
18
19
|
"tag",
|
|
19
20
|
s ? `${l.IS}${s}` : null,
|
|
20
21
|
g ? l.LIGHT : null,
|
|
21
22
|
c ? l.ROUNDED : null,
|
|
22
23
|
e ? `${l.IS}${e}` : null,
|
|
24
|
+
m ? l.SKELETON : null,
|
|
23
25
|
u
|
|
24
|
-
]), t = r ??
|
|
26
|
+
]), t = r ?? S({
|
|
25
27
|
tag: "tag",
|
|
26
28
|
parsedClasses: a,
|
|
27
29
|
rules: [
|
|
28
30
|
{ regExp: n.TAG, replacer: "" },
|
|
29
31
|
{ regExp: n.IS, replacer: "-" }
|
|
30
32
|
]
|
|
31
|
-
}),
|
|
32
|
-
return /* @__PURE__ */
|
|
33
|
+
}), C = `${t}-delete`;
|
|
34
|
+
return /* @__PURE__ */ E(
|
|
33
35
|
"span",
|
|
34
36
|
{
|
|
35
37
|
"data-testid": t,
|
|
@@ -37,12 +39,12 @@ const N = ({
|
|
|
37
39
|
className: a,
|
|
38
40
|
children: [
|
|
39
41
|
d,
|
|
40
|
-
p ? /* @__PURE__ */
|
|
42
|
+
p ? /* @__PURE__ */ T(
|
|
41
43
|
"button",
|
|
42
44
|
{
|
|
43
|
-
"data-testid":
|
|
45
|
+
"data-testid": C,
|
|
44
46
|
className: "delete",
|
|
45
|
-
onClick:
|
|
47
|
+
onClick: i ?? void 0
|
|
46
48
|
}
|
|
47
49
|
) : null
|
|
48
50
|
]
|
|
@@ -50,5 +52,5 @@ const N = ({
|
|
|
50
52
|
);
|
|
51
53
|
};
|
|
52
54
|
export {
|
|
53
|
-
|
|
55
|
+
O as default
|
|
54
56
|
};
|
|
@@ -7,4 +7,5 @@ export declare const Colored: import('storybook/internal/csf').AnnotatedStoryFn<
|
|
|
7
7
|
export declare const Rounded: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, import('../../../interfaces/atomProps').TagProps>;
|
|
8
8
|
export declare const LightColor: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, import('../../../interfaces/atomProps').TagProps>;
|
|
9
9
|
export declare const LargeSize: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, import('../../../interfaces/atomProps').TagProps>;
|
|
10
|
+
export declare const Skeleton: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, import('../../../interfaces/atomProps').TagProps>;
|
|
10
11
|
export declare const WithDeleteButton: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, import('../../../interfaces/atomProps').TagProps>;
|
|
@@ -1,32 +1,35 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { parseClasses as
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { jsx as O } from "react/jsx-runtime";
|
|
2
|
+
import { parseClasses as S, parseTestId as A } from "../../../functions/parsers.js";
|
|
3
|
+
import { COMMON_CLASSES as l } from "../../../constants/classes.js";
|
|
4
|
+
const y = ({
|
|
5
|
+
testId: a = null,
|
|
5
6
|
cssClasses: s = null,
|
|
6
|
-
style:
|
|
7
|
-
value:
|
|
8
|
-
name:
|
|
9
|
-
cols:
|
|
10
|
-
rows:
|
|
11
|
-
isDisabled:
|
|
12
|
-
isReadonly:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
7
|
+
style: t = null,
|
|
8
|
+
value: r = null,
|
|
9
|
+
name: n,
|
|
10
|
+
cols: o = null,
|
|
11
|
+
rows: u = null,
|
|
12
|
+
isDisabled: d = !1,
|
|
13
|
+
isReadonly: i = !1,
|
|
14
|
+
isSkeleton: x = !1,
|
|
15
|
+
isFixedSize: p = !1,
|
|
16
|
+
color: f = null,
|
|
17
|
+
size: m = null,
|
|
16
18
|
isHovered: c = null,
|
|
17
|
-
isFocused:
|
|
18
|
-
onClick:
|
|
19
|
-
onChange:
|
|
19
|
+
isFocused: C = null,
|
|
20
|
+
onClick: E = null,
|
|
21
|
+
onChange: v = null
|
|
20
22
|
}) => {
|
|
21
|
-
const e =
|
|
23
|
+
const e = S([
|
|
22
24
|
"textarea",
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
c ?
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
f,
|
|
26
|
+
m,
|
|
27
|
+
c ? l.HOVERED : null,
|
|
28
|
+
C ? l.FOCUSED : null,
|
|
29
|
+
p ? "has-fixed-size" : null,
|
|
30
|
+
x ? l.SKELETON : null,
|
|
28
31
|
s
|
|
29
|
-
]), g =
|
|
32
|
+
]), g = a ?? A({
|
|
30
33
|
tag: "textarea",
|
|
31
34
|
parsedClasses: e,
|
|
32
35
|
rules: [
|
|
@@ -40,23 +43,23 @@ const E = ({
|
|
|
40
43
|
}
|
|
41
44
|
]
|
|
42
45
|
});
|
|
43
|
-
return /* @__PURE__ */
|
|
46
|
+
return /* @__PURE__ */ O(
|
|
44
47
|
"textarea",
|
|
45
48
|
{
|
|
46
49
|
"data-testid": g,
|
|
47
|
-
value:
|
|
48
|
-
name:
|
|
49
|
-
cols:
|
|
50
|
-
rows:
|
|
51
|
-
disabled:
|
|
52
|
-
readOnly:
|
|
50
|
+
value: r ?? void 0,
|
|
51
|
+
name: n,
|
|
52
|
+
cols: o ?? void 0,
|
|
53
|
+
rows: u ?? void 0,
|
|
54
|
+
disabled: d,
|
|
55
|
+
readOnly: i,
|
|
53
56
|
className: e,
|
|
54
|
-
style:
|
|
55
|
-
onClick:
|
|
56
|
-
onChange:
|
|
57
|
+
style: t ?? void 0,
|
|
58
|
+
onClick: E ?? void 0,
|
|
59
|
+
onChange: v ?? void 0
|
|
57
60
|
}
|
|
58
61
|
);
|
|
59
62
|
};
|
|
60
63
|
export {
|
|
61
|
-
|
|
64
|
+
y as default
|
|
62
65
|
};
|
|
@@ -7,6 +7,7 @@ export declare const BasicExample: import('storybook/internal/csf').AnnotatedSto
|
|
|
7
7
|
export declare const WithText: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, TextAreaProps>;
|
|
8
8
|
export declare const Colored: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, TextAreaProps>;
|
|
9
9
|
export declare const WithBigSize: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, TextAreaProps>;
|
|
10
|
+
export declare const Skeleton: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, TextAreaProps>;
|
|
10
11
|
export declare const Hovered: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, TextAreaProps>;
|
|
11
12
|
export declare const Focused: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, TextAreaProps>;
|
|
12
13
|
export declare const Disabled: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, TextAreaProps>;
|
|
@@ -1,37 +1,38 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useMemo as
|
|
3
|
-
import { COMMON_CLASSES as
|
|
1
|
+
import { jsxs as c, Fragment as p, jsx as u } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo as i } from "react";
|
|
3
|
+
import { COMMON_CLASSES as o } from "../../../constants/classes.js";
|
|
4
4
|
import { parseClasses as S } from "../../../functions/parsers.js";
|
|
5
|
-
const
|
|
5
|
+
const n = (t, s) => {
|
|
6
6
|
if (t === void 0) return null;
|
|
7
|
-
const { type: e, size:
|
|
7
|
+
const { type: e, size: l, isSpaced: r, cssClasses: d } = t, m = S([
|
|
8
8
|
e,
|
|
9
|
-
|
|
10
|
-
e === "title" &&
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
l ? `${o.IS}${l}` : null,
|
|
10
|
+
e === "title" && r ? "is-spaced" : null,
|
|
11
|
+
s ? o.SKELETON : null,
|
|
12
|
+
d
|
|
13
|
+
]), a = t?.testId ?? `test-${t?.type}`;
|
|
14
|
+
return /* @__PURE__ */ u(
|
|
14
15
|
"p",
|
|
15
16
|
{
|
|
16
|
-
"data-testid":
|
|
17
|
-
className:
|
|
17
|
+
"data-testid": a,
|
|
18
|
+
className: m,
|
|
18
19
|
style: t?.style ?? void 0,
|
|
19
20
|
children: t?.text
|
|
20
21
|
}
|
|
21
22
|
);
|
|
22
|
-
},
|
|
23
|
-
const
|
|
24
|
-
() =>
|
|
25
|
-
[t]
|
|
26
|
-
),
|
|
27
|
-
() =>
|
|
28
|
-
[e]
|
|
23
|
+
}, y = ({ main: t, secondary: s, isSkeleton: e }) => {
|
|
24
|
+
const l = i(
|
|
25
|
+
() => n(t, e),
|
|
26
|
+
[t, e]
|
|
27
|
+
), r = i(
|
|
28
|
+
() => n(s, e),
|
|
29
|
+
[s, e]
|
|
29
30
|
);
|
|
30
|
-
return /* @__PURE__ */
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
return /* @__PURE__ */ c(p, { children: [
|
|
32
|
+
l,
|
|
33
|
+
r
|
|
33
34
|
] });
|
|
34
35
|
};
|
|
35
36
|
export {
|
|
36
|
-
|
|
37
|
+
y as default
|
|
37
38
|
};
|
|
@@ -7,4 +7,5 @@ export declare const BasicExample: import('storybook/internal/csf').AnnotatedSto
|
|
|
7
7
|
export declare const WithBigSize: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, TitleProps>;
|
|
8
8
|
export declare const WithSubtitles: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, TitleProps>;
|
|
9
9
|
export declare const WithBiggerSubtitles: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, TitleProps>;
|
|
10
|
+
export declare const Skeleton: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, TitleProps>;
|
|
10
11
|
export declare const SpicedTitle: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, TitleProps>;
|
|
@@ -27,3 +27,4 @@ export { default as TableHeadCell } from './TableHeadCell';
|
|
|
27
27
|
export { default as TableCell } from './TableCell';
|
|
28
28
|
export { default as GridCell } from './GridCell';
|
|
29
29
|
export { default as TagWithAddon } from './TagWithAddon';
|
|
30
|
+
export { default as Skeleton } from './Skeleton';
|
|
@@ -8,14 +8,14 @@ import { default as i } from "./Title/index.js";
|
|
|
8
8
|
import { default as T } from "./Icon/index.js";
|
|
9
9
|
import { default as B } from "./Input/index.js";
|
|
10
10
|
import { default as c } from "./TextArea/index.js";
|
|
11
|
-
import { default as
|
|
12
|
-
import { default as
|
|
11
|
+
import { default as k } from "./Delete/index.js";
|
|
12
|
+
import { default as h } from "./Select/index.js";
|
|
13
13
|
import { default as w } from "./File/index.js";
|
|
14
14
|
import { default as H } from "./Checkbox/index.js";
|
|
15
|
-
import { default as
|
|
16
|
-
import { default as
|
|
17
|
-
import { default as
|
|
18
|
-
import { default as
|
|
15
|
+
import { default as S } from "./RadioButton/index.js";
|
|
16
|
+
import { default as G } from "./BreadcrumbItem/index.js";
|
|
17
|
+
import { default as M } from "./DropdownTrigger/index.js";
|
|
18
|
+
import { default as R } from "./DropdownItem/index.js";
|
|
19
19
|
import { default as j } from "./MenuItem/index.js";
|
|
20
20
|
import { default as y } from "./Image/index.js";
|
|
21
21
|
import { default as E } from "./PaginationItem/index.js";
|
|
@@ -27,16 +27,17 @@ import { default as _ } from "./TableHeadCell/index.js";
|
|
|
27
27
|
import { default as ee } from "./TableCell/index.js";
|
|
28
28
|
import { default as ae } from "./GridCell/index.js";
|
|
29
29
|
import { default as re } from "./TagWithAddon/index.js";
|
|
30
|
+
import { default as le } from "./Skeleton/index.js";
|
|
30
31
|
export {
|
|
31
32
|
m as Block,
|
|
32
33
|
s as Box,
|
|
33
|
-
|
|
34
|
+
G as BreadcrumbItem,
|
|
34
35
|
a as Button,
|
|
35
36
|
H as Checkbox,
|
|
36
37
|
r as Column,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
k as Delete,
|
|
39
|
+
R as DropdownItem,
|
|
40
|
+
M as DropdownTrigger,
|
|
40
41
|
w as File,
|
|
41
42
|
ae as GridCell,
|
|
42
43
|
T as Icon,
|
|
@@ -47,8 +48,9 @@ export {
|
|
|
47
48
|
Y as NavBarItem,
|
|
48
49
|
E as PaginationItem,
|
|
49
50
|
l as ProgressBar,
|
|
50
|
-
|
|
51
|
-
|
|
51
|
+
S as RadioButton,
|
|
52
|
+
h as Select,
|
|
53
|
+
le as Skeleton,
|
|
52
54
|
K as TabItem,
|
|
53
55
|
ee as TableCell,
|
|
54
56
|
_ as TableHeadCell,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as m, jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
2
|
import { COMMON_CLASSES as o } from "../../../constants/classes.js";
|
|
4
3
|
import { parseClasses as $, parseTestId as g } from "../../../functions/parsers.js";
|
|
4
|
+
import "react";
|
|
5
5
|
import C from "../../atoms/Delete/index.js";
|
|
6
6
|
const y = ({
|
|
7
7
|
testId: i = null,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as f, jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
2
|
import { COMMON_CLASSES as i } from "../../../constants/classes.js";
|
|
4
3
|
import { parseClasses as p, parseTestId as d } from "../../../functions/parsers.js";
|
|
4
|
+
import "react";
|
|
5
5
|
import C from "../../atoms/Delete/index.js";
|
|
6
6
|
const j = ({
|
|
7
7
|
testId: o = null,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
2
|
import { parseClasses as m, parseTestId as n } from "../../../functions/parsers.js";
|
|
4
3
|
import p from "../../atoms/Tag/index.js";
|
|
4
|
+
import "react";
|
|
5
5
|
import { generateKey as g } from "../../../functions/generators.js";
|
|
6
6
|
const C = ({
|
|
7
7
|
testId: a = null,
|
|
@@ -2,56 +2,58 @@ import { jsx as t } from "react/jsx-runtime";
|
|
|
2
2
|
import { useMemo as F } from "react";
|
|
3
3
|
import s from "../../molecules/FormFieldInput/index.js";
|
|
4
4
|
import { parseClasses as I, parseTestId as h } from "../../../functions/parsers.js";
|
|
5
|
-
import { generateKey as
|
|
5
|
+
import { generateKey as m } from "../../../functions/generators.js";
|
|
6
6
|
const K = ({
|
|
7
|
-
testId:
|
|
8
|
-
cssClasses:
|
|
9
|
-
style:
|
|
7
|
+
testId: n = null,
|
|
8
|
+
cssClasses: c = null,
|
|
9
|
+
style: u = null,
|
|
10
10
|
inputsConfig: e,
|
|
11
|
-
isHorizontal:
|
|
11
|
+
isHorizontal: r = !1,
|
|
12
12
|
isGrouped: o = !1,
|
|
13
|
-
withAddons:
|
|
13
|
+
withAddons: i = !1
|
|
14
14
|
}) => {
|
|
15
15
|
const a = I([
|
|
16
16
|
"field",
|
|
17
|
-
|
|
17
|
+
r ? "is-horizontal" : null,
|
|
18
18
|
o ? "is-grouped" : null,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
]), p =
|
|
22
|
-
const m = o ? `grouped-input-control-body-${n()}` : `input-control-body-${n()}`;
|
|
19
|
+
i ? "has-addons" : null,
|
|
20
|
+
c
|
|
21
|
+
]), p = n ?? h({ tag: "field", parsedClasses: a }), d = F(() => {
|
|
23
22
|
if (o)
|
|
24
|
-
return Array.isArray(e) ? e.map((
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
23
|
+
return Array.isArray(e) ? e.map((l, y) => {
|
|
24
|
+
const f = `grouped-input-control-body-${m()}`;
|
|
25
|
+
return /* @__PURE__ */ t(
|
|
26
|
+
s,
|
|
27
|
+
{
|
|
28
|
+
...l,
|
|
29
|
+
isHorizontal: l.isHorizontal ?? r,
|
|
30
|
+
testId: l.testId ?? `test-grouped-input-control-${y}`
|
|
31
|
+
},
|
|
32
|
+
f
|
|
33
|
+
);
|
|
34
|
+
}) : /* @__PURE__ */ t(
|
|
33
35
|
s,
|
|
34
36
|
{
|
|
35
37
|
...e,
|
|
36
|
-
isHorizontal: e.isHorizontal ??
|
|
38
|
+
isHorizontal: e.isHorizontal ?? r
|
|
37
39
|
},
|
|
38
|
-
m
|
|
40
|
+
`input-control-body-${m()}`
|
|
39
41
|
);
|
|
40
42
|
{
|
|
41
|
-
const
|
|
43
|
+
const l = Array.isArray(e) ? null : {
|
|
42
44
|
...e,
|
|
43
|
-
isHorizontal: e.isHorizontal ??
|
|
45
|
+
isHorizontal: e.isHorizontal ?? r
|
|
44
46
|
};
|
|
45
|
-
return
|
|
47
|
+
return l !== null ? /* @__PURE__ */ t(s, { ...l }) : null;
|
|
46
48
|
}
|
|
47
|
-
}, [e, o,
|
|
49
|
+
}, [e, o, r]);
|
|
48
50
|
return /* @__PURE__ */ t(
|
|
49
51
|
"section",
|
|
50
52
|
{
|
|
51
53
|
"data-testid": p,
|
|
52
54
|
className: a,
|
|
53
|
-
style:
|
|
54
|
-
children:
|
|
55
|
+
style: u ?? void 0,
|
|
56
|
+
children: r ? /* @__PURE__ */ t("section", { className: "field-body", children: d }) : d
|
|
55
57
|
}
|
|
56
58
|
);
|
|
57
59
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e, jsxs as C } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
2
|
import { parseClasses as T, parseTestId as w } from "../../../functions/parsers.js";
|
|
3
|
+
import "react";
|
|
4
4
|
import { generateKey as b } from "../../../functions/generators.js";
|
|
5
5
|
import x from "../../atoms/TableHeadCell/index.js";
|
|
6
6
|
import y from "../../molecules/TableRow/index.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
2
|
import { parseClasses as f, parseTestId as T } from "../../../functions/parsers.js";
|
|
4
3
|
import { TEST_ID_REGEXP as i } from "../../../constants/regExp.js";
|
|
4
|
+
import "react";
|
|
5
5
|
import { generateKey as E } from "../../../functions/generators.js";
|
|
6
6
|
import p from "../../atoms/Tile/index.js";
|
|
7
7
|
const _ = ({
|
|
@@ -14,6 +14,9 @@ export declare const COMMON_CLASSES: {
|
|
|
14
14
|
ROUNDED: string;
|
|
15
15
|
TOGGLE_ROUNDED: string;
|
|
16
16
|
LOADING: string;
|
|
17
|
+
HOVERED: string;
|
|
18
|
+
FOCUSED: string;
|
|
19
|
+
SKELETON: string;
|
|
17
20
|
EXPANDED: string;
|
|
18
21
|
ACTIVE: string;
|
|
19
22
|
ICON_LEFT: string;
|
|
@@ -22,6 +25,7 @@ export declare const COMMON_CLASSES: {
|
|
|
22
25
|
OUTLINED: string;
|
|
23
26
|
STATIC: string;
|
|
24
27
|
SELECTED: string;
|
|
28
|
+
MULTIPLE: string;
|
|
25
29
|
FULL_WIDTH: string;
|
|
26
30
|
RESPONSIVE: string;
|
|
27
31
|
DISABLED: string;
|
|
@@ -14,6 +14,9 @@ const s = {
|
|
|
14
14
|
ROUNDED: "is-rounded",
|
|
15
15
|
TOGGLE_ROUNDED: "is-toggle-rounded",
|
|
16
16
|
LOADING: "is-loading",
|
|
17
|
+
HOVERED: "is-hovered",
|
|
18
|
+
FOCUSED: "is-focused",
|
|
19
|
+
SKELETON: "is-skeleton",
|
|
17
20
|
EXPANDED: "is-expanded",
|
|
18
21
|
ACTIVE: "is-active",
|
|
19
22
|
ICON_LEFT: "has-icons-left",
|
|
@@ -22,6 +25,7 @@ const s = {
|
|
|
22
25
|
OUTLINED: "is-outlined",
|
|
23
26
|
STATIC: "is-static",
|
|
24
27
|
SELECTED: "is-selected",
|
|
28
|
+
MULTIPLE: "is-multiple",
|
|
25
29
|
FULL_WIDTH: "is-fullwidth",
|
|
26
30
|
RESPONSIVE: "is-responsive",
|
|
27
31
|
DISABLED: "is-disabled",
|