amotify 0.1.30 → 0.1.32
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/@declaration/_.js +1 -1
- package/dist/@styles/componentClasses/_.css +102 -99
- package/dist/@styles/componentClasses/_.js +46 -46
- package/dist/@styles/index.css +102 -99
- package/dist/@styles/index.js +46 -46
- package/dist/@styles/init.css +2 -2
- package/dist/@styles/style.css +102 -99
- package/dist/@styles/style.js +46 -46
- package/dist/@styles/var.css +2 -2
- package/dist/@utils/GenerateClassName.js +470 -1
- package/dist/@utils/LaunchReactApp.js +78 -1
- package/dist/@utils/_.js +12 -1
- package/dist/@utils/collectForm.js +96 -1
- package/dist/@utils/color.js +103 -1
- package/dist/@utils/config.js +101 -1
- package/dist/@utils/fin.js +39 -1
- package/dist/@utils/getElement.js +13 -1
- package/dist/@utils/jsminEx.js +172 -1
- package/dist/@utils/pageTransit.js +33 -1
- package/dist/@utils/useRecycle.js +44 -1
- package/dist/@utils/useStore.js +54 -1
- package/dist/atoms/Box.js +20 -1
- package/dist/atoms/FAI.js +148 -1
- package/dist/atoms/Flex.js +34 -1
- package/dist/atoms/Grid.js +17 -1
- package/dist/atoms/Img.js +65 -1
- package/dist/atoms/Logo.js +359 -51
- package/dist/atoms/P.js +20 -1
- package/dist/atoms/Placeholder.js +44 -1
- package/dist/atoms/Span.js +20 -1
- package/dist/atoms/_.js +9 -1
- package/dist/chunk-JJ3PEWPN.js +60 -0
- package/dist/fn/Button.js +316 -1
- package/dist/fn/Cropper.js +1009 -1
- package/dist/fn/Effect/Fade.js +88 -1
- package/dist/fn/Effect/Pudding.js +22 -1
- package/dist/fn/Effect/Ripple.js +117 -3
- package/dist/fn/Effect/_.js +14 -1
- package/dist/fn/Input/AutoHeightText.js +112 -1
- package/dist/fn/Input/Checker.js +36 -1
- package/dist/fn/Input/Chips/Selector.js +472 -1
- package/dist/fn/Input/Chips/_.js +349 -1
- package/dist/fn/Input/Contenteditable.d.ts +1 -1
- package/dist/fn/Input/Contenteditable.js +160 -1
- package/dist/fn/Input/DigitCharacters.js +275 -1
- package/dist/fn/Input/Filer.js +619 -1
- package/dist/fn/Input/Hidden.js +48 -1
- package/dist/fn/Input/List.js +450 -1
- package/dist/fn/Input/Parts.js +121 -1
- package/dist/fn/Input/Plain.js +12 -1
- package/dist/fn/Input/RichSelect.js +279 -1
- package/dist/fn/Input/Search.js +53 -1
- package/dist/fn/Input/Segmented.js +245 -1
- package/dist/fn/Input/Select.js +278 -1
- package/dist/fn/Input/Slider.js +538 -1
- package/dist/fn/Input/Switch.js +221 -1
- package/dist/fn/Input/Text.js +626 -1
- package/dist/fn/Input/TextArea.js +151 -1
- package/dist/fn/Input/Time/Picker.js +1457 -1
- package/dist/fn/Input/Time/_.js +867 -1
- package/dist/fn/Input/_.js +48 -1
- package/dist/fn/Input/core.js +626 -1
- package/dist/fn/Layout/PageNotFound.js +90 -1
- package/dist/fn/Layout/PageRouter.js +87 -1
- package/dist/fn/Layout/PageViewController.js +29 -1
- package/dist/fn/Layout/Plate.js +37 -1
- package/dist/fn/Layout/RootViewController.js +315 -1
- package/dist/fn/Layout/SwipeView.js +348 -1
- package/dist/fn/Layout/TabBar.js +72 -1
- package/dist/fn/Layout/_.js +22 -1
- package/dist/fn/Loader/_.js +104 -1
- package/dist/fn/Loader/corner.js +85 -1
- package/dist/fn/Loader/mini.js +125 -1
- package/dist/fn/Loader/top.js +73 -1
- package/dist/fn/Sheet.js +1101 -1
- package/dist/fn/Snackbar.js +216 -1
- package/dist/fn/Table/Data.js +974 -1
- package/dist/fn/Table/Drag.js +435 -1
- package/dist/fn/Table/Normal.js +136 -1
- package/dist/fn/Table/Parts.js +41 -1
- package/dist/fn/Table/Wrapper.js +60 -1
- package/dist/fn/Table/_.js +16 -1
- package/dist/fn/Table/cellStyling.js +51 -1
- package/dist/fn/Tooltips.js +58 -1
- package/dist/fn/_.js +10 -1
- package/dist/index.js +20 -1
- package/dist/mols/Accordion.js +152 -1
- package/dist/mols/Column.js +16 -1
- package/dist/mols/LinkifyText.js +42 -1
- package/dist/mols/List.js +42 -1
- package/dist/mols/Row.js +47 -1
- package/dist/mols/Text.js +67 -1
- package/dist/mols/_.js +6 -1
- package/dist/temps/_.js +1 -1
- package/dist/temps/designBook.js +3639 -20
- package/package.json +1 -1
package/dist/fn/Table/_.js
CHANGED
|
@@ -1 +1,16 @@
|
|
|
1
|
-
import"../../chunk-
|
|
1
|
+
import "../../chunk-JJ3PEWPN.js";
|
|
2
|
+
import _TableParts from "./Parts";
|
|
3
|
+
import _Normal from "./Normal";
|
|
4
|
+
import _Drag from "./Drag";
|
|
5
|
+
import _Data from "./Data";
|
|
6
|
+
var Table;
|
|
7
|
+
((Table2) => {
|
|
8
|
+
Table2.Normal = _Normal;
|
|
9
|
+
Table2.Data = _Data;
|
|
10
|
+
Table2.Drag = _Drag;
|
|
11
|
+
Table2.Parts = _TableParts;
|
|
12
|
+
})(Table || (Table = {}));
|
|
13
|
+
export {
|
|
14
|
+
Table,
|
|
15
|
+
Table as default
|
|
16
|
+
};
|
|
@@ -1 +1,51 @@
|
|
|
1
|
-
import
|
|
1
|
+
import {
|
|
2
|
+
__spreadValues
|
|
3
|
+
} from "../../chunk-JJ3PEWPN.js";
|
|
4
|
+
const DefaultCellStyles = (type, tone) => {
|
|
5
|
+
if (tone == "plain")
|
|
6
|
+
return {};
|
|
7
|
+
let Styles = {};
|
|
8
|
+
if (type == "drag") {
|
|
9
|
+
Styles.padding = 1;
|
|
10
|
+
}
|
|
11
|
+
if (["border", "rowBorder", "cellBorder"].includes(tone)) {
|
|
12
|
+
Styles.borderBottom = "2.normal";
|
|
13
|
+
}
|
|
14
|
+
if (["border", "cellBorder"].includes(tone)) {
|
|
15
|
+
Styles.borderRight = "2.normal";
|
|
16
|
+
}
|
|
17
|
+
return __spreadValues({
|
|
18
|
+
padding: "3/4",
|
|
19
|
+
backgroundColor: "1.layer.base",
|
|
20
|
+
transition: "short",
|
|
21
|
+
textAlign: "center"
|
|
22
|
+
}, Styles);
|
|
23
|
+
};
|
|
24
|
+
const DefaultCellSystemStyles = (args) => {
|
|
25
|
+
let Styles = {};
|
|
26
|
+
if (args.right) {
|
|
27
|
+
Styles.borderRight = "unset";
|
|
28
|
+
}
|
|
29
|
+
if (args.top) {
|
|
30
|
+
if (args.left) {
|
|
31
|
+
Styles.borderTopLeftRadius = "inherit";
|
|
32
|
+
}
|
|
33
|
+
if (args.right) {
|
|
34
|
+
Styles.borderTopRightRadius = "inherit";
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
if (args.bottom) {
|
|
38
|
+
Styles.borderBottom = "unset";
|
|
39
|
+
if (args.left) {
|
|
40
|
+
Styles.borderBottomLeftRadius = "inherit";
|
|
41
|
+
}
|
|
42
|
+
if (args.right) {
|
|
43
|
+
Styles.borderBottomRightRadius = "inherit";
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
return Styles;
|
|
47
|
+
};
|
|
48
|
+
export {
|
|
49
|
+
DefaultCellStyles,
|
|
50
|
+
DefaultCellSystemStyles
|
|
51
|
+
};
|
package/dist/fn/Tooltips.js
CHANGED
|
@@ -1 +1,58 @@
|
|
|
1
|
-
import
|
|
1
|
+
import {
|
|
2
|
+
__objRest,
|
|
3
|
+
__spreadValues
|
|
4
|
+
} from "../chunk-JJ3PEWPN.js";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import {
|
|
7
|
+
$$
|
|
8
|
+
} from "../@utils/_";
|
|
9
|
+
import Box from "../atoms/Box";
|
|
10
|
+
import Sheet from "./Sheet";
|
|
11
|
+
const Tooltips = {
|
|
12
|
+
__memoryID: $$.uuid.gen(),
|
|
13
|
+
open: (params) => {
|
|
14
|
+
let _a = params, {
|
|
15
|
+
tipsID = $$.uuid.gen(),
|
|
16
|
+
tipsGroups = []
|
|
17
|
+
} = _a, sheetParams = __objRest(_a, [
|
|
18
|
+
"tipsID",
|
|
19
|
+
"tipsGroups"
|
|
20
|
+
]);
|
|
21
|
+
Sheet.open(__spreadValues({
|
|
22
|
+
sheetID: tipsID,
|
|
23
|
+
sheetGroups: [
|
|
24
|
+
"tooltips",
|
|
25
|
+
...tipsGroups
|
|
26
|
+
],
|
|
27
|
+
close_option: __spreadValues({
|
|
28
|
+
aroundClick: true,
|
|
29
|
+
parentBlur: true,
|
|
30
|
+
escapeKeyDown: true,
|
|
31
|
+
pageTransit: true
|
|
32
|
+
}, params.close_option),
|
|
33
|
+
type: "custom"
|
|
34
|
+
}, sheetParams));
|
|
35
|
+
},
|
|
36
|
+
close: (tipsID) => {
|
|
37
|
+
tipsID && Sheet.close(tipsID);
|
|
38
|
+
},
|
|
39
|
+
closeALL: () => {
|
|
40
|
+
Sheet.closeGroup("tooltips");
|
|
41
|
+
},
|
|
42
|
+
Comps: {
|
|
43
|
+
Body: (params) => /* @__PURE__ */ jsx(
|
|
44
|
+
Box,
|
|
45
|
+
__spreadValues({
|
|
46
|
+
padding: "1/2",
|
|
47
|
+
backgroundColor: "dark",
|
|
48
|
+
borderRadius: "2.tone.secondary",
|
|
49
|
+
fontColor: "white",
|
|
50
|
+
boxShadow: "0.normal"
|
|
51
|
+
}, params)
|
|
52
|
+
)
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
export {
|
|
56
|
+
Tooltips,
|
|
57
|
+
Tooltips as default
|
|
58
|
+
};
|
package/dist/fn/_.js
CHANGED
|
@@ -1 +1,10 @@
|
|
|
1
|
-
export*from"./Effect/_";
|
|
1
|
+
export * from "./Effect/_";
|
|
2
|
+
export * from "./Button";
|
|
3
|
+
export * from "./Input/_";
|
|
4
|
+
export * from "./Layout/_";
|
|
5
|
+
export * from "./Table/_";
|
|
6
|
+
export * from "./Sheet";
|
|
7
|
+
export * from "./Snackbar";
|
|
8
|
+
export * from "./Loader/_";
|
|
9
|
+
export * from "./Tooltips";
|
|
10
|
+
export * from "./Cropper";
|
package/dist/index.js
CHANGED
|
@@ -1 +1,20 @@
|
|
|
1
|
-
import
|
|
1
|
+
import {
|
|
2
|
+
__spreadValues
|
|
3
|
+
} from "./chunk-JJ3PEWPN.js";
|
|
4
|
+
import * as utils from "./@utils/_";
|
|
5
|
+
export * from "./@utils/_";
|
|
6
|
+
import * as atoms from "./atoms/_";
|
|
7
|
+
export * from "./atoms/_";
|
|
8
|
+
import * as mols from "./mols/_";
|
|
9
|
+
export * from "./mols/_";
|
|
10
|
+
import * as orgs from "./orgs/_";
|
|
11
|
+
export * from "./orgs/_";
|
|
12
|
+
import * as temps from "./temps/_";
|
|
13
|
+
export * from "./temps/_";
|
|
14
|
+
import * as fn from "./fn/_";
|
|
15
|
+
export * from "./fn/_";
|
|
16
|
+
const amotify = __spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues({}, utils), atoms), mols), orgs), temps), fn);
|
|
17
|
+
export {
|
|
18
|
+
amotify,
|
|
19
|
+
amotify as default
|
|
20
|
+
};
|
package/dist/mols/Accordion.js
CHANGED
|
@@ -1 +1,152 @@
|
|
|
1
|
-
import
|
|
1
|
+
import {
|
|
2
|
+
__objRest,
|
|
3
|
+
__spreadValues
|
|
4
|
+
} from "../chunk-JJ3PEWPN.js";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import {
|
|
7
|
+
useState,
|
|
8
|
+
useEffect,
|
|
9
|
+
useRef
|
|
10
|
+
} from "react";
|
|
11
|
+
import {
|
|
12
|
+
$$,
|
|
13
|
+
$$fromRoot,
|
|
14
|
+
useStore
|
|
15
|
+
} from "../@utils/_";
|
|
16
|
+
import { Box } from "../atoms/Box";
|
|
17
|
+
import { AccordionClasses } from "../@styles/componentClasses/_";
|
|
18
|
+
const Component = (params) => {
|
|
19
|
+
params = __spreadValues({}, params);
|
|
20
|
+
let _a = params, {
|
|
21
|
+
accordionID = "",
|
|
22
|
+
slideAnimation = "fast",
|
|
23
|
+
defaultOpen = false,
|
|
24
|
+
override = false
|
|
25
|
+
} = _a, others = __objRest(_a, [
|
|
26
|
+
"accordionID",
|
|
27
|
+
"slideAnimation",
|
|
28
|
+
"defaultOpen",
|
|
29
|
+
"override"
|
|
30
|
+
]);
|
|
31
|
+
let [val_wrapID] = useState($$.uuid.gen());
|
|
32
|
+
let [val_contentID] = useState($$.uuid.gen());
|
|
33
|
+
let [val_open, set_open] = useState(defaultOpen);
|
|
34
|
+
if (val_open != defaultOpen) {
|
|
35
|
+
if (override)
|
|
36
|
+
set_open(defaultOpen);
|
|
37
|
+
}
|
|
38
|
+
const mounted = useRef(false);
|
|
39
|
+
useEffect(() => {
|
|
40
|
+
let Content = $$fromRoot('[data-accordion-content-id="' + val_contentID + '"]')[0];
|
|
41
|
+
if (Content) {
|
|
42
|
+
let contentHeight = Content.offsetHeight;
|
|
43
|
+
let transitionTime = 0;
|
|
44
|
+
if (slideAnimation == "fast") {
|
|
45
|
+
transitionTime = contentHeight / 1e3;
|
|
46
|
+
transitionTime = Math.max(transitionTime, 0.2);
|
|
47
|
+
} else if (slideAnimation == "slow") {
|
|
48
|
+
transitionTime = contentHeight / 300;
|
|
49
|
+
}
|
|
50
|
+
$$fromRoot("#" + val_wrapID).css({
|
|
51
|
+
transition: transitionTime + "s"
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
}, []);
|
|
55
|
+
useEffect(() => {
|
|
56
|
+
let Wrap = $$fromRoot("#" + val_wrapID);
|
|
57
|
+
let Content = $$fromRoot('[data-accordion-content-id="' + val_contentID + '"]')[0];
|
|
58
|
+
if (mounted.current) {
|
|
59
|
+
if (Content) {
|
|
60
|
+
let contentHeight = Content.offsetHeight;
|
|
61
|
+
if ($$.is.exist(contentHeight)) {
|
|
62
|
+
if (val_open) {
|
|
63
|
+
Wrap.css({
|
|
64
|
+
maxHeight: contentHeight + 1 + "px"
|
|
65
|
+
}).await(200).css({
|
|
66
|
+
maxHeight: "unset",
|
|
67
|
+
overflow: params.overflow || "unset"
|
|
68
|
+
});
|
|
69
|
+
} else {
|
|
70
|
+
Wrap.css({
|
|
71
|
+
maxHeight: contentHeight + 1 + "px"
|
|
72
|
+
}).await(100).css({
|
|
73
|
+
maxHeight: "0px",
|
|
74
|
+
overflow: "hidden"
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
} else {
|
|
80
|
+
mounted.current = true;
|
|
81
|
+
if (Content) {
|
|
82
|
+
let contentHeight = Content.offsetHeight;
|
|
83
|
+
if ($$.is.exist(contentHeight)) {
|
|
84
|
+
if (val_open) {
|
|
85
|
+
Wrap.css({
|
|
86
|
+
maxHeight: contentHeight + 1 + "px"
|
|
87
|
+
}).await(200).css({
|
|
88
|
+
maxHeight: "unset",
|
|
89
|
+
overflow: params.overflow || "unset"
|
|
90
|
+
});
|
|
91
|
+
} else {
|
|
92
|
+
Wrap.css({
|
|
93
|
+
maxHeight: "0px",
|
|
94
|
+
overflow: "hidden"
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}, [val_open]);
|
|
101
|
+
if (accordionID) {
|
|
102
|
+
useStore.set({
|
|
103
|
+
key: "Accordion-" + accordionID,
|
|
104
|
+
value: {
|
|
105
|
+
open: () => {
|
|
106
|
+
set_open(true);
|
|
107
|
+
},
|
|
108
|
+
close: () => {
|
|
109
|
+
set_open(false);
|
|
110
|
+
},
|
|
111
|
+
toggle: () => {
|
|
112
|
+
set_open(!val_open);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
return /* @__PURE__ */ jsx(
|
|
118
|
+
Box,
|
|
119
|
+
{
|
|
120
|
+
className: [
|
|
121
|
+
AccordionClasses("Wrap"),
|
|
122
|
+
AccordionClasses("Open_" + val_open)
|
|
123
|
+
].join(" "),
|
|
124
|
+
id: val_wrapID,
|
|
125
|
+
children: /* @__PURE__ */ jsx(
|
|
126
|
+
Box,
|
|
127
|
+
__spreadValues({
|
|
128
|
+
"data-accordion-content-id": val_contentID
|
|
129
|
+
}, others)
|
|
130
|
+
)
|
|
131
|
+
}
|
|
132
|
+
);
|
|
133
|
+
};
|
|
134
|
+
const Accordion = Component;
|
|
135
|
+
Accordion.fn = {
|
|
136
|
+
open: (id) => {
|
|
137
|
+
let component = useStore.get("Accordion-" + id);
|
|
138
|
+
!component || component.open();
|
|
139
|
+
},
|
|
140
|
+
close: (id) => {
|
|
141
|
+
let component = useStore.get("Accordion-" + id);
|
|
142
|
+
!component || component.close();
|
|
143
|
+
},
|
|
144
|
+
toggle: (id) => {
|
|
145
|
+
let component = useStore.get("Accordion-" + id);
|
|
146
|
+
!component || component.toggle();
|
|
147
|
+
}
|
|
148
|
+
};
|
|
149
|
+
export {
|
|
150
|
+
Accordion,
|
|
151
|
+
Accordion as default
|
|
152
|
+
};
|
package/dist/mols/Column.js
CHANGED
|
@@ -1 +1,16 @@
|
|
|
1
|
-
import
|
|
1
|
+
import {
|
|
2
|
+
__spreadValues
|
|
3
|
+
} from "../chunk-JJ3PEWPN.js";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
import { Flex } from "../atoms/Flex";
|
|
6
|
+
const Column = (params) => /* @__PURE__ */ jsx(
|
|
7
|
+
Flex,
|
|
8
|
+
__spreadValues({
|
|
9
|
+
flexType: "col",
|
|
10
|
+
gap: 1
|
|
11
|
+
}, params)
|
|
12
|
+
);
|
|
13
|
+
export {
|
|
14
|
+
Column,
|
|
15
|
+
Column as default
|
|
16
|
+
};
|
package/dist/mols/LinkifyText.js
CHANGED
|
@@ -1 +1,42 @@
|
|
|
1
|
-
import"../chunk-
|
|
1
|
+
import "../chunk-JJ3PEWPN.js";
|
|
2
|
+
import { Fragment, jsx } from "react/jsx-runtime";
|
|
3
|
+
import Button from "../fn/Button";
|
|
4
|
+
const LinkifyText = (params) => {
|
|
5
|
+
let {
|
|
6
|
+
text,
|
|
7
|
+
placeholder
|
|
8
|
+
} = params;
|
|
9
|
+
let Description = [];
|
|
10
|
+
if (text) {
|
|
11
|
+
let urls = [];
|
|
12
|
+
text = text.replace(/https?:\/\/[^\s|\n|\r]*/ig, (...args) => {
|
|
13
|
+
let url = args[0];
|
|
14
|
+
urls.push(url);
|
|
15
|
+
return "[$_url]";
|
|
16
|
+
});
|
|
17
|
+
let parts = text.split("[$_url]");
|
|
18
|
+
for (let index = 0; index <= parts.length - 1; index++) {
|
|
19
|
+
let part = parts[index];
|
|
20
|
+
let url = urls[index];
|
|
21
|
+
Description.push(part);
|
|
22
|
+
if (index < parts.length - 1) {
|
|
23
|
+
Description.push(/* @__PURE__ */ jsx(
|
|
24
|
+
Button.Anchor.Link,
|
|
25
|
+
{
|
|
26
|
+
href: url,
|
|
27
|
+
newTab: true,
|
|
28
|
+
children: url
|
|
29
|
+
},
|
|
30
|
+
"Link-" + index
|
|
31
|
+
));
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
} else if (placeholder) {
|
|
35
|
+
Description = [placeholder];
|
|
36
|
+
}
|
|
37
|
+
return /* @__PURE__ */ jsx(Fragment, { children: Description });
|
|
38
|
+
};
|
|
39
|
+
export {
|
|
40
|
+
LinkifyText,
|
|
41
|
+
LinkifyText as default
|
|
42
|
+
};
|
package/dist/mols/List.js
CHANGED
|
@@ -1 +1,42 @@
|
|
|
1
|
-
import
|
|
1
|
+
import {
|
|
2
|
+
__objRest,
|
|
3
|
+
__spreadProps,
|
|
4
|
+
__spreadValues
|
|
5
|
+
} from "../chunk-JJ3PEWPN.js";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
import {
|
|
8
|
+
Flex
|
|
9
|
+
} from "../atoms/Flex";
|
|
10
|
+
const List = (params) => {
|
|
11
|
+
let _a = params, {
|
|
12
|
+
rows,
|
|
13
|
+
rowStyles: DefaultRowStyles
|
|
14
|
+
} = _a, others = __objRest(_a, [
|
|
15
|
+
"rows",
|
|
16
|
+
"rowStyles"
|
|
17
|
+
]);
|
|
18
|
+
let rowArray = rows.map((row) => {
|
|
19
|
+
let _a2 = row, {
|
|
20
|
+
children
|
|
21
|
+
} = _a2, others2 = __objRest(_a2, [
|
|
22
|
+
"children"
|
|
23
|
+
]);
|
|
24
|
+
return /* @__PURE__ */ jsx(
|
|
25
|
+
Flex,
|
|
26
|
+
__spreadProps(__spreadValues(__spreadValues({}, DefaultRowStyles), others2), {
|
|
27
|
+
children
|
|
28
|
+
})
|
|
29
|
+
);
|
|
30
|
+
});
|
|
31
|
+
return /* @__PURE__ */ jsx(
|
|
32
|
+
Flex,
|
|
33
|
+
__spreadProps(__spreadValues({}, others), {
|
|
34
|
+
flexType: "col",
|
|
35
|
+
children: rowArray
|
|
36
|
+
})
|
|
37
|
+
);
|
|
38
|
+
};
|
|
39
|
+
export {
|
|
40
|
+
List,
|
|
41
|
+
List as default
|
|
42
|
+
};
|
package/dist/mols/Row.js
CHANGED
|
@@ -1 +1,47 @@
|
|
|
1
|
-
import
|
|
1
|
+
import {
|
|
2
|
+
__spreadValues
|
|
3
|
+
} from "../chunk-JJ3PEWPN.js";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
import { Flex } from "../atoms/Flex";
|
|
6
|
+
const Row = {
|
|
7
|
+
Center: (params) => /* @__PURE__ */ jsx(
|
|
8
|
+
Flex,
|
|
9
|
+
__spreadValues({
|
|
10
|
+
horizontalAlign: "center",
|
|
11
|
+
verticalAlign: "center",
|
|
12
|
+
flexWrap: false,
|
|
13
|
+
gap: 1
|
|
14
|
+
}, params)
|
|
15
|
+
),
|
|
16
|
+
Left: (params) => /* @__PURE__ */ jsx(
|
|
17
|
+
Flex,
|
|
18
|
+
__spreadValues({
|
|
19
|
+
horizontalAlign: "left",
|
|
20
|
+
verticalAlign: "center",
|
|
21
|
+
flexWrap: false,
|
|
22
|
+
gap: 1
|
|
23
|
+
}, params)
|
|
24
|
+
),
|
|
25
|
+
Right: (params) => /* @__PURE__ */ jsx(
|
|
26
|
+
Flex,
|
|
27
|
+
__spreadValues({
|
|
28
|
+
horizontalAlign: "right",
|
|
29
|
+
verticalAlign: "center",
|
|
30
|
+
flexWrap: false,
|
|
31
|
+
gap: 1
|
|
32
|
+
}, params)
|
|
33
|
+
),
|
|
34
|
+
Separate: (params) => /* @__PURE__ */ jsx(
|
|
35
|
+
Flex,
|
|
36
|
+
__spreadValues({
|
|
37
|
+
horizontalAlign: "between",
|
|
38
|
+
verticalAlign: "center",
|
|
39
|
+
flexWrap: false,
|
|
40
|
+
gap: 1
|
|
41
|
+
}, params)
|
|
42
|
+
)
|
|
43
|
+
};
|
|
44
|
+
export {
|
|
45
|
+
Row,
|
|
46
|
+
Row as default
|
|
47
|
+
};
|
package/dist/mols/Text.js
CHANGED
|
@@ -1 +1,67 @@
|
|
|
1
|
-
import
|
|
1
|
+
import {
|
|
2
|
+
__spreadProps,
|
|
3
|
+
__spreadValues
|
|
4
|
+
} from "../chunk-JJ3PEWPN.js";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import { Box } from "../atoms/Box";
|
|
7
|
+
import { Span } from "../atoms/Span";
|
|
8
|
+
const Text = {
|
|
9
|
+
Title: (params) => /* @__PURE__ */ jsx(
|
|
10
|
+
Box,
|
|
11
|
+
__spreadValues({
|
|
12
|
+
fontSize: "6.title",
|
|
13
|
+
fontWeight: "3.semiBold"
|
|
14
|
+
}, params)
|
|
15
|
+
),
|
|
16
|
+
SubTitle: (params) => /* @__PURE__ */ jsx(
|
|
17
|
+
Box,
|
|
18
|
+
__spreadValues({
|
|
19
|
+
fontSize: "5.subTitle",
|
|
20
|
+
fontWeight: "3.semiBold"
|
|
21
|
+
}, params)
|
|
22
|
+
),
|
|
23
|
+
ThirdTitle: (params) => /* @__PURE__ */ jsx(
|
|
24
|
+
Box,
|
|
25
|
+
__spreadValues({
|
|
26
|
+
fontSize: "4.thirdTitle",
|
|
27
|
+
fontWeight: "3.semiBold"
|
|
28
|
+
}, params)
|
|
29
|
+
),
|
|
30
|
+
Paragraph: (params) => /* @__PURE__ */ jsx(
|
|
31
|
+
Box,
|
|
32
|
+
__spreadValues({
|
|
33
|
+
fontSize: "3.paragraph",
|
|
34
|
+
fontWeight: "3.semiBold"
|
|
35
|
+
}, params)
|
|
36
|
+
),
|
|
37
|
+
Normal: (params) => /* @__PURE__ */ jsx(
|
|
38
|
+
Box,
|
|
39
|
+
__spreadValues({}, params)
|
|
40
|
+
),
|
|
41
|
+
Description: (params) => /* @__PURE__ */ jsx(
|
|
42
|
+
Box,
|
|
43
|
+
__spreadProps(__spreadValues({}, params), {
|
|
44
|
+
freeCSS: __spreadValues({
|
|
45
|
+
whiteSpace: "pre-wrap"
|
|
46
|
+
}, params.freeCSS)
|
|
47
|
+
})
|
|
48
|
+
),
|
|
49
|
+
Supplement: (params) => /* @__PURE__ */ jsx(
|
|
50
|
+
Box,
|
|
51
|
+
__spreadValues({
|
|
52
|
+
fontSize: "1.mini"
|
|
53
|
+
}, params)
|
|
54
|
+
),
|
|
55
|
+
NowrapSpan: (params) => /* @__PURE__ */ jsx(
|
|
56
|
+
Span,
|
|
57
|
+
__spreadProps(__spreadValues({}, params), {
|
|
58
|
+
freeCSS: __spreadValues({
|
|
59
|
+
whiteSpace: "nowrap"
|
|
60
|
+
}, params.freeCSS)
|
|
61
|
+
})
|
|
62
|
+
)
|
|
63
|
+
};
|
|
64
|
+
export {
|
|
65
|
+
Text,
|
|
66
|
+
Text as default
|
|
67
|
+
};
|
package/dist/mols/_.js
CHANGED
|
@@ -1 +1,6 @@
|
|
|
1
|
-
export*from"./Accordion";
|
|
1
|
+
export * from "./Accordion";
|
|
2
|
+
export * from "./Column";
|
|
3
|
+
export * from "./LinkifyText";
|
|
4
|
+
export * from "./List";
|
|
5
|
+
export * from "./Row";
|
|
6
|
+
export * from "./Text";
|
package/dist/temps/_.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export*from"./designBook";
|
|
1
|
+
export * from "./designBook";
|