@yakad/ui 1.3.82 → 1.3.84
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/{appBar/appBar.d.ts → AppBar/AppBar.d.ts} +1 -0
- package/dist/AppBar/AppBar.js +51 -0
- package/dist/{button/button.d.ts → Button/Button.d.ts} +1 -0
- package/dist/Button/Button.js +32 -0
- package/dist/{card/card.d.ts → Card/Card.d.ts} +1 -0
- package/dist/Card/Card.js +28 -0
- package/dist/{checkBox/checkBox.d.ts → CheckBox/CheckBox.d.ts} +1 -0
- package/dist/CheckBox/CheckBox.js +28 -0
- package/dist/{clickOutsideListener/clickOutsideListener.d.ts → ClickOutsideListener/ClickOutsideListener.d.ts} +1 -0
- package/dist/{clickOutsideListener/clickOutsideListener.js → ClickOutsideListener/ClickOutsideListener.js} +10 -7
- package/dist/{codeBox/codeBox.d.ts → CodeBox/CodeBox.d.ts} +1 -0
- package/dist/CodeBox/CodeBox.js +29 -0
- package/dist/{codeField/codeField.d.ts → CodeField/CodeField.d.ts} +1 -0
- package/dist/{codeField/codeField.js → CodeField/CodeField.js} +14 -9
- package/dist/{container/container.d.ts → Container/Container.d.ts} +1 -0
- package/dist/Container/Container.js +28 -0
- package/dist/{display/display.d.ts → Display/Display.d.ts} +1 -0
- package/dist/Display/Display.js +27 -0
- package/dist/{footer/footer.d.ts → Footer/Footer.d.ts} +1 -0
- package/dist/Footer/Footer.js +49 -0
- package/dist/{form/form.d.ts → Form/Form.d.ts} +1 -0
- package/dist/Form/Form.js +28 -0
- package/dist/{gridContainer/gridContainer.d.ts → GridContainer/GridContainer.d.ts} +1 -0
- package/dist/GridContainer/GridContainer.js +28 -0
- package/dist/{gridItem/gridItem.d.ts → GridItem/GridItem.d.ts} +1 -0
- package/dist/GridItem/GridItem.js +28 -0
- package/dist/{hr/hr.d.ts → Hr/Hr.d.ts} +1 -0
- package/dist/{hr/hr.js → Hr/Hr.js} +14 -9
- package/dist/InputField/InputField.js +27 -0
- package/dist/{list/list.d.ts → List/List.d.ts} +1 -0
- package/dist/List/List.js +27 -0
- package/dist/{listItem/listItem.d.ts → ListItem/ListItem.d.ts} +1 -0
- package/dist/ListItem/ListItem.js +27 -0
- package/dist/{loadingIcon/loadingIcon.d.ts → LoadingIcon/LoadingIcon.d.ts} +1 -0
- package/dist/LoadingIcon/LoadingIcon.js +27 -0
- package/dist/{main/main.d.ts → Main/Main.d.ts} +1 -0
- package/dist/Main/Main.js +28 -0
- package/dist/{navigation/navigation.d.ts → Navigation/Navigation.d.ts} +1 -0
- package/dist/Navigation/Navigation.js +30 -0
- package/dist/{radioButton/radioButton.d.ts → RadioButton/RadioButton.d.ts} +1 -0
- package/dist/RadioButton/RadioButton.js +39 -0
- package/dist/{radioGroup/radioGroup.d.ts → RadioGroup/RadioGroup.d.ts} +2 -1
- package/dist/{radioGroup/radioGroup.js → RadioGroup/RadioGroup.js} +12 -10
- package/dist/{row/row.d.ts → Row/Row.d.ts} +1 -0
- package/dist/Row/Row.js +28 -0
- package/dist/{screen/screen.d.ts → Screen/Screen.d.ts} +1 -0
- package/dist/Screen/Screen.js +28 -0
- package/dist/{select/select.d.ts → Select/Select.d.ts} +1 -0
- package/dist/Select/Select.js +28 -0
- package/dist/{spacer/spacer.d.ts → Spacer/Spacer.d.ts} +1 -0
- package/dist/Spacer/Spacer.js +27 -0
- package/dist/{stack/stack.d.ts → Stack/Stack.d.ts} +1 -0
- package/dist/Stack/Stack.js +28 -0
- package/dist/{svgIcon/svgIcon.d.ts → SvgIcon/SvgIcon.d.ts} +1 -0
- package/dist/SvgIcon/SvgIcon.js +28 -0
- package/dist/{table/table.d.ts → Table/Table.d.ts} +1 -0
- package/dist/Table/Table.js +63 -0
- package/dist/{text/text.d.ts → Text/Text.d.ts} +1 -0
- package/dist/Text/Text.js +75 -0
- package/dist/{theme/theme.d.ts → Theme/Theme.d.ts} +1 -0
- package/dist/Theme/Theme.js +33 -0
- package/dist/index.d.ts +31 -31
- package/dist/index.js +47 -32
- package/package.json +8 -5
- package/dist/appBar/appBar.js +0 -46
- package/dist/appBar/appBar.js.map +0 -1
- package/dist/button/button.js +0 -27
- package/dist/button/button.js.map +0 -1
- package/dist/card/card.js +0 -23
- package/dist/card/card.js.map +0 -1
- package/dist/checkBox/checkBox.js +0 -23
- package/dist/checkBox/checkBox.js.map +0 -1
- package/dist/clickOutsideListener/clickOutsideListener.js.map +0 -1
- package/dist/codeBox/codeBox.js +0 -24
- package/dist/codeBox/codeBox.js.map +0 -1
- package/dist/codeField/codeField.js.map +0 -1
- package/dist/container/container.js +0 -23
- package/dist/container/container.js.map +0 -1
- package/dist/display/display.js +0 -22
- package/dist/display/display.js.map +0 -1
- package/dist/footer/footer.js +0 -44
- package/dist/footer/footer.js.map +0 -1
- package/dist/form/form.js +0 -23
- package/dist/form/form.js.map +0 -1
- package/dist/gridContainer/gridContainer.js +0 -23
- package/dist/gridContainer/gridContainer.js.map +0 -1
- package/dist/gridItem/gridItem.js +0 -23
- package/dist/gridItem/gridItem.js.map +0 -1
- package/dist/hr/hr.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/inputField/inputField.js +0 -22
- package/dist/inputField/inputField.js.map +0 -1
- package/dist/list/list.js +0 -22
- package/dist/list/list.js.map +0 -1
- package/dist/listItem/listItem.js +0 -22
- package/dist/listItem/listItem.js.map +0 -1
- package/dist/loadingIcon/loadingIcon.js +0 -22
- package/dist/loadingIcon/loadingIcon.js.map +0 -1
- package/dist/main/main.js +0 -23
- package/dist/main/main.js.map +0 -1
- package/dist/navigation/navigation.js +0 -25
- package/dist/navigation/navigation.js.map +0 -1
- package/dist/radioButton/radioButton.js +0 -34
- package/dist/radioButton/radioButton.js.map +0 -1
- package/dist/radioGroup/radioGroup.js.map +0 -1
- package/dist/row/row.js +0 -23
- package/dist/row/row.js.map +0 -1
- package/dist/screen/screen.js +0 -23
- package/dist/screen/screen.js.map +0 -1
- package/dist/select/select.js +0 -23
- package/dist/select/select.js.map +0 -1
- package/dist/spacer/spacer.js +0 -22
- package/dist/spacer/spacer.js.map +0 -1
- package/dist/stack/stack.js +0 -23
- package/dist/stack/stack.js.map +0 -1
- package/dist/svgIcon/svgIcon.js +0 -23
- package/dist/svgIcon/svgIcon.js.map +0 -1
- package/dist/table/table.js +0 -58
- package/dist/table/table.js.map +0 -1
- package/dist/text/text.js +0 -70
- package/dist/text/text.js.map +0 -1
- package/dist/theme/theme.js +0 -28
- package/dist/theme/theme.js.map +0 -1
- /package/dist/{appBar/appBar.module.css → AppBar/AppBar.module.css} +0 -0
- /package/dist/{button/button.module.css → Button/Button.module.css} +0 -0
- /package/dist/{card/card.module.css → Card/Card.module.css} +0 -0
- /package/dist/{checkBox/checkBox.module.css → CheckBox/CheckBox.module.css} +0 -0
- /package/dist/{codeBox/codeBox.module.css → CodeBox/CodeBox.module.css} +0 -0
- /package/dist/{codeField/codeField.module.css → CodeField/CodeField.module.css} +0 -0
- /package/dist/{container/container.module.css → Container/Container.module.css} +0 -0
- /package/dist/{display/display.module.css → Display/Display.module.css} +0 -0
- /package/dist/{footer/footer.module.css → Footer/Footer.module.css} +0 -0
- /package/dist/{form/form.module.css → Form/Form.module.css} +0 -0
- /package/dist/{gridContainer/gridContainer.module.css → GridContainer/GridContainer.module.css} +0 -0
- /package/dist/{gridItem/gridItem.module.css → GridItem/GridItem.module.css} +0 -0
- /package/dist/{hr/hr.module.css → Hr/Hr.module.css} +0 -0
- /package/dist/{inputField/inputField.d.ts → InputField/InputField.d.ts} +0 -0
- /package/dist/{inputField/inputField.module.css → InputField/InputField.module.css} +0 -0
- /package/dist/{list/list.module.css → List/List.module.css} +0 -0
- /package/dist/{listItem/listItem.module.css → ListItem/ListItem.module.css} +0 -0
- /package/dist/{loadingIcon/loadingIcon.module.css → LoadingIcon/LoadingIcon.module.css} +0 -0
- /package/dist/{main/main.module.css → Main/Main.module.css} +0 -0
- /package/dist/{navigation/navigation.module.css → Navigation/Navigation.module.css} +0 -0
- /package/dist/{radioButton/radioButton.module.css → RadioButton/RadioButton.module.css} +0 -0
- /package/dist/{row/row.module.css → Row/Row.module.css} +0 -0
- /package/dist/{screen/screen.module.css → Screen/Screen.module.css} +0 -0
- /package/dist/{select/select.module.css → Select/Select.module.css} +0 -0
- /package/dist/{spacer/spacer.module.css → Spacer/Spacer.module.css} +0 -0
- /package/dist/{stack/stack.module.css → Stack/Stack.module.css} +0 -0
- /package/dist/{svgIcon/svgIcon.module.css → SvgIcon/SvgIcon.module.css} +0 -0
- /package/dist/{table/table.module.css → Table/Table.module.css} +0 -0
- /package/dist/{text/text.module.css → Text/Text.module.css} +0 -0
- /package/dist/{theme/theme.module.css → Theme/Theme.module.css} +0 -0
- /package/dist/{theme → Theme}/globals.css +0 -0
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.Text = exports.Span = exports.P = exports.H6 = exports.H5 = exports.H4 = exports.H3 = exports.H2 = exports.H1 = void 0;
|
|
18
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
19
|
+
const react_1 = require("react");
|
|
20
|
+
const classnames_1 = __importDefault(require("classnames"));
|
|
21
|
+
const Text_module_css_1 = __importDefault(require("./Text.module.css"));
|
|
22
|
+
exports.H1 = (0, react_1.forwardRef)((_a, ref) => {
|
|
23
|
+
var { variant = "heading1", className, children } = _a, restProps = __rest(_a, ["variant", "className", "children"]);
|
|
24
|
+
const joinedClassNames = (0, classnames_1.default)(Text_module_css_1.default.text, Text_module_css_1.default[variant], className);
|
|
25
|
+
return ((0, jsx_runtime_1.jsx)("h1", Object.assign({ ref: ref }, restProps, { className: joinedClassNames, children: children })));
|
|
26
|
+
});
|
|
27
|
+
exports.H1.displayName = "H1";
|
|
28
|
+
exports.H2 = (0, react_1.forwardRef)((_a, ref) => {
|
|
29
|
+
var { variant = "heading2", className, children } = _a, restProps = __rest(_a, ["variant", "className", "children"]);
|
|
30
|
+
const joinedClassNames = (0, classnames_1.default)(Text_module_css_1.default.text, Text_module_css_1.default[variant], className);
|
|
31
|
+
return ((0, jsx_runtime_1.jsx)("h2", Object.assign({ ref: ref }, restProps, { className: joinedClassNames, children: children })));
|
|
32
|
+
});
|
|
33
|
+
exports.H2.displayName = "H2";
|
|
34
|
+
exports.H3 = (0, react_1.forwardRef)((_a, ref) => {
|
|
35
|
+
var { variant = "heading3", className, children } = _a, restProps = __rest(_a, ["variant", "className", "children"]);
|
|
36
|
+
const joinedClassNames = (0, classnames_1.default)(Text_module_css_1.default.text, Text_module_css_1.default[variant], className);
|
|
37
|
+
return ((0, jsx_runtime_1.jsx)("h3", Object.assign({ ref: ref }, restProps, { className: joinedClassNames, children: children })));
|
|
38
|
+
});
|
|
39
|
+
exports.H3.displayName = "H3";
|
|
40
|
+
exports.H4 = (0, react_1.forwardRef)((_a, ref) => {
|
|
41
|
+
var { variant = "heading4", className, children } = _a, restProps = __rest(_a, ["variant", "className", "children"]);
|
|
42
|
+
const joinedClassNames = (0, classnames_1.default)(Text_module_css_1.default.text, Text_module_css_1.default[variant], className);
|
|
43
|
+
return ((0, jsx_runtime_1.jsx)("h4", Object.assign({ ref: ref }, restProps, { className: joinedClassNames, children: children })));
|
|
44
|
+
});
|
|
45
|
+
exports.H4.displayName = "H4";
|
|
46
|
+
exports.H5 = (0, react_1.forwardRef)((_a, ref) => {
|
|
47
|
+
var { variant = "heading5", className, children } = _a, restProps = __rest(_a, ["variant", "className", "children"]);
|
|
48
|
+
const joinedClassNames = (0, classnames_1.default)(Text_module_css_1.default.text, Text_module_css_1.default[variant], className);
|
|
49
|
+
return ((0, jsx_runtime_1.jsx)("h5", Object.assign({ ref: ref }, restProps, { className: joinedClassNames, children: children })));
|
|
50
|
+
});
|
|
51
|
+
exports.H5.displayName = "H5";
|
|
52
|
+
exports.H6 = (0, react_1.forwardRef)((_a, ref) => {
|
|
53
|
+
var { variant = "heading6", className, children } = _a, restProps = __rest(_a, ["variant", "className", "children"]);
|
|
54
|
+
const joinedClassNames = (0, classnames_1.default)(Text_module_css_1.default.text, Text_module_css_1.default[variant], className);
|
|
55
|
+
return ((0, jsx_runtime_1.jsx)("h6", Object.assign({ ref: ref }, restProps, { className: joinedClassNames, children: children })));
|
|
56
|
+
});
|
|
57
|
+
exports.H6.displayName = "H6";
|
|
58
|
+
exports.P = (0, react_1.forwardRef)((_a, ref) => {
|
|
59
|
+
var { variant = "body5", className, children } = _a, restProps = __rest(_a, ["variant", "className", "children"]);
|
|
60
|
+
const joinedClassNames = (0, classnames_1.default)(Text_module_css_1.default.text, Text_module_css_1.default[variant], className);
|
|
61
|
+
return ((0, jsx_runtime_1.jsx)("p", Object.assign({ ref: ref }, restProps, { className: joinedClassNames, children: children })));
|
|
62
|
+
});
|
|
63
|
+
exports.P.displayName = "P";
|
|
64
|
+
exports.Span = (0, react_1.forwardRef)((_a, ref) => {
|
|
65
|
+
var { variant = "span", className, children } = _a, restProps = __rest(_a, ["variant", "className", "children"]);
|
|
66
|
+
const joinedClassNames = (0, classnames_1.default)(Text_module_css_1.default.text, Text_module_css_1.default[variant], className);
|
|
67
|
+
return ((0, jsx_runtime_1.jsx)("span", Object.assign({ ref: ref }, restProps, { className: joinedClassNames, children: children })));
|
|
68
|
+
});
|
|
69
|
+
exports.Span.displayName = "Span";
|
|
70
|
+
exports.Text = (0, react_1.forwardRef)((_a, ref) => {
|
|
71
|
+
var { variant = "body5", className, children } = _a, restProps = __rest(_a, ["variant", "className", "children"]);
|
|
72
|
+
const joinedClassNames = (0, classnames_1.default)(Text_module_css_1.default[variant], className);
|
|
73
|
+
return ((0, jsx_runtime_1.jsx)("div", Object.assign({ ref: ref }, restProps, { className: joinedClassNames, children: children })));
|
|
74
|
+
});
|
|
75
|
+
exports.Text.displayName = "Text";
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.Theme = void 0;
|
|
18
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
19
|
+
const react_1 = require("react");
|
|
20
|
+
const classnames_1 = __importDefault(require("classnames"));
|
|
21
|
+
require("./globals.css");
|
|
22
|
+
const boxing_module_css_1 = __importDefault(require("../boxing.module.css"));
|
|
23
|
+
const Theme_module_css_1 = __importDefault(require("./Theme.module.css"));
|
|
24
|
+
exports.Theme = (0, react_1.forwardRef)((_a, ref) => {
|
|
25
|
+
var { align, darkstyle = "system", color = "blue", zoom = 100, className, children } = _a, restProps = __rest(_a, ["align", "darkstyle", "color", "zoom", "className", "children"]);
|
|
26
|
+
const zoomPercentage = zoom ? (zoom / 100) * 62.5 : 62.5;
|
|
27
|
+
(0, react_1.useEffect)(() => {
|
|
28
|
+
document.documentElement.style.setProperty("font-size", zoomPercentage + "%");
|
|
29
|
+
}, [zoomPercentage]);
|
|
30
|
+
const joinedClassNames = (0, classnames_1.default)(boxing_module_css_1.default.flexColumnBox, { [boxing_module_css_1.default[align]]: align }, Theme_module_css_1.default.theme, Theme_module_css_1.default[darkstyle], Theme_module_css_1.default[color], className);
|
|
31
|
+
return ((0, jsx_runtime_1.jsx)("div", Object.assign({ ref: ref }, restProps, { className: joinedClassNames, children: children })));
|
|
32
|
+
});
|
|
33
|
+
exports.Theme.displayName = "Theme";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
export * from "./
|
|
2
|
-
export * from "./
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./
|
|
7
|
-
export * from "./
|
|
8
|
-
export * from "./
|
|
9
|
-
export * from "./
|
|
10
|
-
export * from "./
|
|
11
|
-
export * from "./
|
|
12
|
-
export * from "./
|
|
13
|
-
export * from "./
|
|
14
|
-
export * from "./
|
|
15
|
-
export * from "./
|
|
16
|
-
export * from "./
|
|
17
|
-
export * from "./
|
|
18
|
-
export * from "./
|
|
19
|
-
export * from "./
|
|
20
|
-
export * from "./
|
|
21
|
-
export * from "./
|
|
22
|
-
export * from "./
|
|
23
|
-
export * from "./
|
|
24
|
-
export * from "./
|
|
25
|
-
export * from "./
|
|
26
|
-
export * from "./
|
|
27
|
-
export * from "./
|
|
28
|
-
export * from "./
|
|
29
|
-
export * from "./
|
|
30
|
-
export * from "./
|
|
31
|
-
export * from "./
|
|
1
|
+
export * from "./Screen/Screen";
|
|
2
|
+
export * from "./AppBar/AppBar";
|
|
3
|
+
export * from "./Main/Main";
|
|
4
|
+
export * from "./Footer/Footer";
|
|
5
|
+
export * from "./Navigation/Navigation";
|
|
6
|
+
export * from "./Container/Container";
|
|
7
|
+
export * from "./Stack/Stack";
|
|
8
|
+
export * from "./Row/Row";
|
|
9
|
+
export * from "./GridContainer/GridContainer";
|
|
10
|
+
export * from "./GridItem/GridItem";
|
|
11
|
+
export * from "./Card/Card";
|
|
12
|
+
export * from "./Theme/Theme";
|
|
13
|
+
export * from "./Spacer/Spacer";
|
|
14
|
+
export * from "./Hr/Hr";
|
|
15
|
+
export * from "./List/List";
|
|
16
|
+
export * from "./ListItem/ListItem";
|
|
17
|
+
export * from "./Table/Table";
|
|
18
|
+
export * from "./Button/Button";
|
|
19
|
+
export * from "./LoadingIcon/LoadingIcon";
|
|
20
|
+
export * from "./SvgIcon/SvgIcon";
|
|
21
|
+
export * from "./Text/Text";
|
|
22
|
+
export * from "./Form/Form";
|
|
23
|
+
export * from "./InputField/InputField";
|
|
24
|
+
export * from "./Select/Select";
|
|
25
|
+
export * from "./CheckBox/CheckBox";
|
|
26
|
+
export * from "./CodeField/CodeField";
|
|
27
|
+
export * from "./RadioGroup/RadioGroup";
|
|
28
|
+
export * from "./RadioButton/RadioButton";
|
|
29
|
+
export * from "./CodeBox/CodeBox";
|
|
30
|
+
export * from "./Display/Display";
|
|
31
|
+
export * from "./ClickOutsideListener/ClickOutsideListener";
|
package/dist/index.js
CHANGED
|
@@ -1,37 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
17
|
// Layout & Structure
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
18
|
+
__exportStar(require("./Screen/Screen"), exports);
|
|
19
|
+
__exportStar(require("./AppBar/AppBar"), exports);
|
|
20
|
+
__exportStar(require("./Main/Main"), exports);
|
|
21
|
+
__exportStar(require("./Footer/Footer"), exports);
|
|
22
|
+
__exportStar(require("./Navigation/Navigation"), exports);
|
|
23
|
+
__exportStar(require("./Container/Container"), exports);
|
|
24
|
+
__exportStar(require("./Stack/Stack"), exports);
|
|
25
|
+
__exportStar(require("./Row/Row"), exports);
|
|
26
|
+
__exportStar(require("./GridContainer/GridContainer"), exports);
|
|
27
|
+
__exportStar(require("./GridItem/GridItem"), exports);
|
|
28
|
+
__exportStar(require("./Card/Card"), exports);
|
|
13
29
|
// Theme & Styling
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
30
|
+
__exportStar(require("./Theme/Theme"), exports);
|
|
31
|
+
__exportStar(require("./Spacer/Spacer"), exports);
|
|
32
|
+
__exportStar(require("./Hr/Hr"), exports);
|
|
17
33
|
// UI Components
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
34
|
+
__exportStar(require("./List/List"), exports);
|
|
35
|
+
__exportStar(require("./ListItem/ListItem"), exports);
|
|
36
|
+
__exportStar(require("./Table/Table"), exports);
|
|
37
|
+
__exportStar(require("./Button/Button"), exports);
|
|
38
|
+
__exportStar(require("./LoadingIcon/LoadingIcon"), exports);
|
|
39
|
+
__exportStar(require("./SvgIcon/SvgIcon"), exports);
|
|
40
|
+
__exportStar(require("./Text/Text"), exports);
|
|
25
41
|
// Form Components
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
42
|
+
__exportStar(require("./Form/Form"), exports);
|
|
43
|
+
__exportStar(require("./InputField/InputField"), exports);
|
|
44
|
+
__exportStar(require("./Select/Select"), exports);
|
|
45
|
+
__exportStar(require("./CheckBox/CheckBox"), exports);
|
|
46
|
+
__exportStar(require("./CodeField/CodeField"), exports);
|
|
47
|
+
__exportStar(require("./RadioGroup/RadioGroup"), exports);
|
|
48
|
+
__exportStar(require("./RadioButton/RadioButton"), exports);
|
|
49
|
+
__exportStar(require("./CodeBox/CodeBox"), exports);
|
|
34
50
|
// Utilities
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
//# sourceMappingURL=index.js.map
|
|
51
|
+
__exportStar(require("./Display/Display"), exports);
|
|
52
|
+
__exportStar(require("./ClickOutsideListener/ClickOutsideListener"), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yakad/ui",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.84",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Natiq",
|
|
6
6
|
"description": "UI components for NextJS/React",
|
|
@@ -25,12 +25,15 @@
|
|
|
25
25
|
"clean": "rimraf dist/",
|
|
26
26
|
"copy-files": "copyfiles -u 1 src/*.css src/**/*.css dist/",
|
|
27
27
|
"build": "npm run clean && tsc && npm run copy-files",
|
|
28
|
+
"typecheck": "tsc --noEmit",
|
|
28
29
|
"lint": "eslint src/**/*.{ts,tsx}",
|
|
29
|
-
"
|
|
30
|
-
"
|
|
30
|
+
"test": "echo \"No tests specified\" && exit 0",
|
|
31
|
+
"i:symbols": "npm install @yakad/symbols",
|
|
32
|
+
"prepublishOnly": "npm run i:symbols && npm run build && npm run test && npm run lint && npm run typecheck",
|
|
33
|
+
"newpublish": "npm run prepublishOnly && npm version patch && npm publish"
|
|
31
34
|
},
|
|
32
35
|
"dependencies": {
|
|
33
|
-
"@yakad/symbols": "1.0.
|
|
36
|
+
"@yakad/symbols": "^1.0.25",
|
|
34
37
|
"classnames": "2.5.1"
|
|
35
38
|
},
|
|
36
39
|
"peerDependencies": {
|
|
@@ -41,9 +44,9 @@
|
|
|
41
44
|
"@types/css-modules": "1.0.5",
|
|
42
45
|
"@types/react": "^19.0.0",
|
|
43
46
|
"@types/react-dom": "^19.0.0",
|
|
47
|
+
"copyfiles": "2.4.1",
|
|
44
48
|
"react": "^19.0.0",
|
|
45
49
|
"react-dom": "^19.0.0",
|
|
46
|
-
"copyfiles": "2.4.1",
|
|
47
50
|
"rimraf": "6.0.1",
|
|
48
51
|
"typescript": "^5.0.0"
|
|
49
52
|
}
|
package/dist/appBar/appBar.js
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
-
var t = {};
|
|
4
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
-
t[p] = s[p];
|
|
6
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
-
t[p[i]] = s[p[i]];
|
|
10
|
-
}
|
|
11
|
-
return t;
|
|
12
|
-
};
|
|
13
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
-
import { forwardRef, useEffect, useState } from "react";
|
|
15
|
-
import classNames from "classnames";
|
|
16
|
-
import styles from "./appBar.module.css";
|
|
17
|
-
import boxingStyles from "../boxing.module.css";
|
|
18
|
-
export const AppBar = forwardRef((_a, ref) => {
|
|
19
|
-
var { align, overflow = "shrink", position = "initial", size, blur, className, children } = _a, restProps = __rest(_a, ["align", "overflow", "position", "size", "blur", "className", "children"]);
|
|
20
|
-
const [show, setShow] = useState(true);
|
|
21
|
-
const [lastScrollY, setLastScrollY] = useState(0);
|
|
22
|
-
useEffect(() => {
|
|
23
|
-
if (position !== "scroll")
|
|
24
|
-
return;
|
|
25
|
-
const handleScroll = () => {
|
|
26
|
-
const currentScrollY = window.scrollY;
|
|
27
|
-
if (currentScrollY > lastScrollY && currentScrollY > 50) {
|
|
28
|
-
// Scroll down
|
|
29
|
-
setShow(false);
|
|
30
|
-
}
|
|
31
|
-
else {
|
|
32
|
-
// Scroll up
|
|
33
|
-
setShow(true);
|
|
34
|
-
}
|
|
35
|
-
setLastScrollY(currentScrollY);
|
|
36
|
-
};
|
|
37
|
-
window.addEventListener("scroll", handleScroll);
|
|
38
|
-
return () => window.removeEventListener("scroll", handleScroll);
|
|
39
|
-
}, [lastScrollY, position]);
|
|
40
|
-
const joinedClassNames = classNames(boxingStyles.flexRowBox, { [boxingStyles[align]]: align }, boxingStyles[overflow], styles.header, {
|
|
41
|
-
[styles.sticky]: position === "sticky" || position === "scroll",
|
|
42
|
-
}, { [styles.hidden]: position === "scroll" && !show }, { [styles[size]]: size }, { [styles.blur]: blur }, className);
|
|
43
|
-
return (_jsx("header", Object.assign({ ref: ref }, restProps, { className: joinedClassNames, children: children })));
|
|
44
|
-
});
|
|
45
|
-
AppBar.displayName = "AppBar";
|
|
46
|
-
//# sourceMappingURL=appBar.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"appBar.js","sourceRoot":"","sources":["../../src/appBar/appBar.tsx"],"names":[],"mappings":"AAAA,YAAY,CA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MAAM,gBAAgB,GAAG,UAAU,CAC/B,YAAY,CAAC,UAAU,EACvB,EAAE,CAAC,YAAY,CAAC,KAAe,CAAC,CAAC,EAAE,KAAK,EAAE,EAC1C,YAAY,CAAC,QAAQ,CAAC,EACtB,MAAM,CAAC,MAAM,EACb;QACI,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,QAAQ,KAAK,QAAQ,IAAI,QAAQ,KAAK,QAAQ;KAClE,EACD,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,QAAQ,KAAK,QAAQ,IAAI,CAAC,IAAI,EAAE,EACnD,EAAE,CAAC,MAAM,CAAC,IAAc,CAAC,CAAC,EAAE,IAAI,EAAE,EAClC,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,EACvB,SAAS,CACZ,CAAC;IAEF,OAAO,CACH,+BAAQ,GAAG,EAAE,GAAG,IAAM,SAAS,IAAE,SAAS,EAAE,gBAAgB,YACvD,QAAQ,IACJ,CACZ,CAAC;AACN,CAAC,CACJ,CAAC;AAEF,MAAM,CAAC,WAAW,GAAG,QAAQ,CAAC"}
|
package/dist/button/button.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
-
var t = {};
|
|
3
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
-
t[p] = s[p];
|
|
5
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
-
t[p[i]] = s[p[i]];
|
|
9
|
-
}
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
12
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
-
import { forwardRef } from "react";
|
|
14
|
-
import classNames from "classnames";
|
|
15
|
-
import styles from "./button.module.css";
|
|
16
|
-
import { LoadingIcon } from "../";
|
|
17
|
-
export const Button = forwardRef((_a, ref) => {
|
|
18
|
-
var { size = "medium", variant = "text", borderstyle = "rounded", icon, iconposition = "start", loadingposition = "auto", loadingvariant, className, children } = _a, restProps = __rest(_a, ["size", "variant", "borderstyle", "icon", "iconposition", "loadingposition", "loadingvariant", "className", "children"]);
|
|
19
|
-
const childrenFirst = Boolean(iconposition === "end");
|
|
20
|
-
const isLoadingPositionCenter = Boolean(!icon || loadingposition === "center");
|
|
21
|
-
const joinedClassNames = classNames(styles.button, styles[variant], { [styles.loading]: loadingvariant }, { [styles.loadingPositionCenter]: isLoadingPositionCenter }, styles[size], styles[borderstyle], { [styles.iconButton]: !children && icon }, className);
|
|
22
|
-
return (_jsxs("button", Object.assign({ ref: ref, className: joinedClassNames }, restProps, { children: [childrenFirst && children, loadingvariant && (_jsx("div", { className: classNames(styles.displayOnDisabled, {
|
|
23
|
-
[styles.positionCenter]: isLoadingPositionCenter,
|
|
24
|
-
}), children: _jsx(LoadingIcon, { size: size, variant: loadingvariant }) })), icon, !childrenFirst && children] })));
|
|
25
|
-
});
|
|
26
|
-
Button.displayName = "Button";
|
|
27
|
-
//# sourceMappingURL=button.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button.js","sourceRoot":"","sources":["../../src/button/button.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,OAAO,MAAM,MAAM,qBAAqB,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,KAAK,CAAC;AAsBlC,MAAM,CAAC,MAAM,MAAM,GAAG,UAAU,CAC5B,CACI,EAWC,EACD,GAAG,EACL,EAAE;QAbA,EACI,IAAI,GAAG,QAAQ,EACf,OAAO,GAAG,MAAM,EAChB,WAAW,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
|
-
var t = {};
|
|
3
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
-
t[p] = s[p];
|
|
5
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
-
t[p[i]] = s[p[i]];
|
|
9
|
-
}
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
12
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
import { forwardRef } from "react";
|
|
14
|
-
import classNames from "classnames";
|
|
15
|
-
import styles from "./card.module.css";
|
|
16
|
-
import boxingStyles from "../boxing.module.css";
|
|
17
|
-
export const Card = forwardRef((_a, ref) => {
|
|
18
|
-
var { align, blur, className, children } = _a, restProps = __rest(_a, ["align", "blur", "className", "children"]);
|
|
19
|
-
const joinedClassNames = classNames(boxingStyles.flexColumnBox, { [boxingStyles[align]]: align }, "fullWidthLover", styles.card, { [styles.blur]: blur }, className);
|
|
20
|
-
return (_jsx("div", Object.assign({ ref: ref }, restProps, { className: joinedClassNames, children: children })));
|
|
21
|
-
});
|
|
22
|
-
Card.displayName = "Card";
|
|
23
|
-
//# sourceMappingURL=card.js.map
|
package/dist/card/card.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"card.js","sourceRoot":"","sources":["../../src/card/card.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,YAAY,MAAM,sBAAsB,CAAC;AAQhD,MAAM,CAAC,MAAM,IAAI,GAAG,UAAU,CAC1B,CAAC,EAAkD,EAAE,GAAG,EAAE,EAAE;QAA3D,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,OAAgB,EAAX,SAAS,cAAhD,0CAAkD,CAAF;IAC7C,MAAM,gBAAgB,GAAG,UAAU,CAC/B,YAAY,CAAC,aAAa,EAC1B,EAAE,CAAC,YAAY,CAAC,KAAe,CAAC,CAAC,EAAE,KAAK,EAAE,EAC1C,gBAAgB,EAChB,MAAM,CAAC,IAAI,EACX,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,EACvB,SAAS,CACZ,CAAC;IAEF,OAAO,CACH,4BAAK,GAAG,EAAE,GAAG,IAAM,SAAS,IAAE,SAAS,EAAE,gBAAgB,YACpD,QAAQ,IACP,CACT,CAAC;AACN,CAAC,CACJ,CAAC;AACF,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
-
var t = {};
|
|
3
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
-
t[p] = s[p];
|
|
5
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
-
t[p[i]] = s[p[i]];
|
|
9
|
-
}
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
12
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
-
import { forwardRef } from "react";
|
|
14
|
-
import classNames from "classnames";
|
|
15
|
-
import { Symbol } from "@yakad/symbols";
|
|
16
|
-
import styles from "./checkBox.module.css";
|
|
17
|
-
export const CheckBox = forwardRef((_a, ref) => {
|
|
18
|
-
var { label, className, style } = _a, restProps = __rest(_a, ["label", "className", "style"]);
|
|
19
|
-
const joinedClassNames = classNames(label && "fullWidthLover", styles.label, { [styles.labeled]: label }, { [styles.disabled]: restProps.disabled }, className);
|
|
20
|
-
return (_jsxs("label", { className: joinedClassNames, style: style, children: [label, _jsx("input", Object.assign({ ref: ref }, restProps, { className: styles.input, type: "checkbox" })), _jsxs("div", { className: styles.symbolContainer, children: [_jsx(Symbol, { className: styles.symbolChecked, icon: "check_box" }), _jsx(Symbol, { className: styles.symbolUnChecked, icon: "check_box_outline_blank" })] })] }));
|
|
21
|
-
});
|
|
22
|
-
CheckBox.displayName = "CheckBox";
|
|
23
|
-
//# sourceMappingURL=checkBox.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"checkBox.js","sourceRoot":"","sources":["../../src/checkBox/checkBox.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAQ3C,MAAM,CAAC,MAAM,QAAQ,GAAG,UAAU,CAC9B,CAAC,EAAyC,EAAE,GAAG,EAAE,EAAE;QAAlD,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,OAAgB,EAAX,SAAS,cAAvC,+BAAyC,CAAF;IACpC,MAAM,gBAAgB,GAAG,UAAU,CAC/B,KAAK,IAAI,gBAAgB,EACzB,MAAM,CAAC,KAAK,EACZ,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,EAC3B,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,SAAS,CAAC,QAAQ,EAAE,EACzC,SAAS,CACZ,CAAC;IAEF,OAAO,CACH,iBAAO,SAAS,EAAE,gBAAgB,EAAE,KAAK,EAAE,KAAK,aAC3C,KAAK,EACN,8BACI,GAAG,EAAE,GAAG,IACJ,SAAS,IACb,SAAS,EAA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cAAc,CAAC,CAAC,CAAC;IAErB,OAAO,CACH,4BAAK,GAAG,EAAE,GAAG,IAAM,SAAS,cACvB,QAAQ,IACP,CACT,CAAC;AACN,CAAC,CAAC"}
|
package/dist/codeBox/codeBox.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
-
var t = {};
|
|
3
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
-
t[p] = s[p];
|
|
5
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
-
t[p[i]] = s[p[i]];
|
|
9
|
-
}
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
12
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
-
import { forwardRef } from "react";
|
|
14
|
-
import classNames from "classnames";
|
|
15
|
-
import { Symbol } from "@yakad/symbols";
|
|
16
|
-
import styles from "./codeBox.module.css";
|
|
17
|
-
import { Button, Card } from "../";
|
|
18
|
-
export const CodeBox = forwardRef((_a, ref) => {
|
|
19
|
-
var { copybutton, className, children } = _a, restProps = __rest(_a, ["copybutton", "className", "children"]);
|
|
20
|
-
const joinedClassNames = classNames("fullWidthLover", styles.ZZZZZZZZZZ, className);
|
|
21
|
-
return (_jsxs(Card, Object.assign({ ref: ref }, restProps, { className: joinedClassNames, children: [_jsx("pre", { children: children }), copybutton && _jsx(Button, { icon: _jsx(Symbol, { icon: "copy_all" }) })] })));
|
|
22
|
-
});
|
|
23
|
-
CodeBox.displayName = "CodeBox";
|
|
24
|
-
//# sourceMappingURL=codeBox.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"codeBox.js","sourceRoot":"","sources":["../../src/codeBox/codeBox.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAOnC,MAAM,CAAC,MAAM,OAAO,GAAG,UAAU,CAC7B,CAAC,EAAiD,EAAE,GAAG,EAAE,EAAE;QAA1D,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,OAAgB,EAAX,SAAS,cAA/C,uCAAiD,CAAF;IAC5C,MAAM,gBAAgB,GAAG,UAAU,CAC/B,gBAAgB,EAChB,MAAM,CAAC,UAAU,EACjB,SAAS,CACZ,CAAC;IAEF,OAAO,CACH,MAAC,IAAI,kBAAC,GAAG,EAAE,GAAG,IAAM,SAAS,IAAE,SAAS,EAAE,gBAAgB,aACtD,wBAAM,QAAQ,GAAO,EACpB,UAAU,IAAI,KAAC,MAAM,IAAC,IAAI,EAAE,KAAC,MAAM,IAAC,IAAI,EAAC,UAAU,GAAG,GAAI,KACxD,CACV,CAAC;AACN,CAAC,CACJ,CAAC;AACF,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"codeField.js","sourceRoot":"","sources":["../../src/codeField/codeField.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;;;;;;;AAEb,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,MAAM,MAAM,wBAAwB,CAAC;AAC5C,OAAO,UAAU,MAAM,YAAY,CAAC;AAUpC,SAAS,aAAa,CAClB,KAAwC,EACxC,WAAmB;IAEnB,MAAM,kBAAkB,GAAG,KAAK,CAAC,MAA0B,CAAC;IAC5D,mBAAmB,CAA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E,CAAC,KAAK,EAAE,EAAE;YACf,aAAa,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,QAAQ,CAAC;YACzC,OAAO,CAAC;QACZ,CAAC,IACH,CACL,CAAC;AACN,CAAC,CACJ,CAAC;AACF,SAAS,CAAC,WAAW,GAAG,WAAW,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
-
var t = {};
|
|
3
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
-
t[p] = s[p];
|
|
5
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
-
t[p[i]] = s[p[i]];
|
|
9
|
-
}
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
12
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
import { forwardRef } from "react";
|
|
14
|
-
import classNames from "classnames";
|
|
15
|
-
import styles from "./container.module.css";
|
|
16
|
-
import boxingStyles from "../boxing.module.css";
|
|
17
|
-
export const Container = forwardRef((_a, ref) => {
|
|
18
|
-
var { size = "xl", align, className, children } = _a, restProps = __rest(_a, ["size", "align", "className", "children"]);
|
|
19
|
-
const joinedClassNames = classNames(boxingStyles.flexColumnBox, { [boxingStyles[align]]: align }, styles.container, styles[size], className);
|
|
20
|
-
return (_jsx("div", Object.assign({ ref: ref }, restProps, { className: joinedClassNames, children: children })));
|
|
21
|
-
});
|
|
22
|
-
Container.displayName = "Container";
|
|
23
|
-
//# sourceMappingURL=container.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"container.js","sourceRoot":"","sources":["../../src/container/container.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,OAAO,MAAM,MAAM,wBAAwB,CAAC;AAC5C,OAAO,YAAY,MAAM,sBAAsB,CAAC;AAQhD,MAAM,CAAC,MAAM,SAAS,GAAG,UAAU,CAC/B,CAAC,EAAyD,EAAE,GAAG,EAAE,EAAE;QAAlE,EAAE,IAAI,GAAG,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,OAAgB,EAAX,SAAS,cAAvD,0CAAyD,CAAF;IACpD,MAAM,gBAAgB,GAAG,UAAU,CAC/B,YAAY,CAAC,aAAa,EAC1B,EAAE,CAAC,YAAY,CAAC,KAAe,CAAC,CAAC,EAAE,KAAK,EAAE,EAC1C,MAAM,CAAC,SAAS,EAChB,MAAM,CAAC,IAAI,CAAC,EACZ,SAAS,CACZ,CAAC;IAEF,OAAO,CACH,4BAAK,GAAG,EAAE,GAAG,IAAM,SAAS,IAAE,SAAS,EAAE,gBAAgB,YACpD,QAAQ,IACP,CACT,CAAC;AACN,CAAC,CACJ,CAAC;AACF,SAAS,CAAC,WAAW,GAAG,WAAW,CAAC"}
|
package/dist/display/display.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
-
var t = {};
|
|
3
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
-
t[p] = s[p];
|
|
5
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
-
t[p[i]] = s[p[i]];
|
|
9
|
-
}
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
12
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
import { forwardRef } from "react";
|
|
14
|
-
import classNames from "classnames";
|
|
15
|
-
import styles from "./display.module.css";
|
|
16
|
-
export const Display = forwardRef((_a, ref) => {
|
|
17
|
-
var { minWidth, maxWidth, className, children } = _a, restProps = __rest(_a, ["minWidth", "maxWidth", "className", "children"]);
|
|
18
|
-
const joinedClassNames = classNames("fullWidthLover", { [styles[`${minWidth}MinWidth`]]: minWidth }, { [styles[`${maxWidth}MaxWidth`]]: maxWidth }, className);
|
|
19
|
-
return (_jsx("div", Object.assign({ ref: ref }, restProps, { className: joinedClassNames, children: children })));
|
|
20
|
-
});
|
|
21
|
-
Display.displayName = "Display";
|
|
22
|
-
//# sourceMappingURL=display.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"display.js","sourceRoot":"","sources":["../../src/display/display.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAQ1C,MAAM,CAAC,MAAM,OAAO,GAAG,UAAU,CAC7B,CAAC,EAAyD,EAAE,GAAG,EAAE,EAAE;QAAlE,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,OAAgB,EAAX,SAAS,cAAvD,iDAAyD,CAAF;IACpD,MAAM,gBAAgB,GAAG,UAAU,CAC/B,gBAAgB,EAChB,EAAE,CAAC,MAAM,CAAC,GAAG,QAAQ,UAAU,CAAC,CAAC,EAAE,QAAQ,EAAE,EAC7C,EAAE,CAAC,MAAM,CAAC,GAAG,QAAQ,UAAU,CAAC,CAAC,EAAE,QAAQ,EAAE,EAC7C,SAAS,CACZ,CAAC;IAEF,OAAO,CACH,4BAAK,GAAG,EAAE,GAAG,IAAM,SAAS,IAAE,SAAS,EAAE,gBAAgB,YACpD,QAAQ,IACP,CACT,CAAC;AACN,CAAC,CACJ,CAAC;AACF,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC"}
|
package/dist/footer/footer.js
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
-
var t = {};
|
|
4
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
-
t[p] = s[p];
|
|
6
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
-
t[p[i]] = s[p[i]];
|
|
10
|
-
}
|
|
11
|
-
return t;
|
|
12
|
-
};
|
|
13
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
-
import { forwardRef, useState, useEffect } from "react";
|
|
15
|
-
import classNames from "classnames";
|
|
16
|
-
import styles from "./footer.module.css";
|
|
17
|
-
import boxingStyles from "../boxing.module.css";
|
|
18
|
-
export const Footer = forwardRef((_a, ref) => {
|
|
19
|
-
var { align, overflow = "shrink", position = "initial", size, blur, className, children } = _a, restProps = __rest(_a, ["align", "overflow", "position", "size", "blur", "className", "children"]);
|
|
20
|
-
const [show, setShow] = useState(true);
|
|
21
|
-
const [lastScrollY, setLastScrollY] = useState(0);
|
|
22
|
-
useEffect(() => {
|
|
23
|
-
if (position !== "scroll")
|
|
24
|
-
return;
|
|
25
|
-
const handleScroll = () => {
|
|
26
|
-
const currentScrollY = window.scrollY;
|
|
27
|
-
if (currentScrollY > lastScrollY && currentScrollY > 50) {
|
|
28
|
-
// Scroll down
|
|
29
|
-
setShow(false);
|
|
30
|
-
}
|
|
31
|
-
else {
|
|
32
|
-
// Scroll up
|
|
33
|
-
setShow(true);
|
|
34
|
-
}
|
|
35
|
-
setLastScrollY(currentScrollY);
|
|
36
|
-
};
|
|
37
|
-
window.addEventListener("scroll", handleScroll);
|
|
38
|
-
return () => window.removeEventListener("scroll", handleScroll);
|
|
39
|
-
}, [lastScrollY, position]);
|
|
40
|
-
const joinedClassNames = classNames(boxingStyles.flexRowBox, { [boxingStyles[align]]: align }, boxingStyles[overflow], styles.footer, { [styles.sticky]: position === "sticky" || position === "scroll" }, { [styles.hidden]: position === "scroll" && !show }, { [styles[size]]: size }, { [styles.blur]: blur }, className);
|
|
41
|
-
return (_jsx("footer", Object.assign({ ref: ref }, restProps, { className: joinedClassNames, children: children })));
|
|
42
|
-
});
|
|
43
|
-
Footer.displayName = "Footer";
|
|
44
|
-
//# sourceMappingURL=footer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"footer.js","sourceRoot":"","sources":["../../src/footer/footer.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;;;;;;;AAEb,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,OAAO,MAAM,MAAM,qBAAqB,CAAC;AACzC,OAAO,YAAY,MAAM,sBAAsB,CAAC;AAWhD,MAAM,CAAC,MAAM,MAAM,GAAG,UAAU,CAC5B,CACI,EASC,EACD,GAAG,EACL,EAAE;QAXA,EACI,KAAK,EACL,QAAQ,GAAG,QAAQ,EACnB,QAAQ,GAAG,SAAS,EACpB,IAAI,EACJ,IAAI,EACJ,SAAS,EACT,QAAQ,OAEX,EADM,SAAS,cARhB,0EASC,CADe;IAIhB,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IACvC,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IAElD,SAAS,CAAC,GAAG,EAAE;QACX,IAAI,QAAQ,KAAK,QAAQ;YAAE,OAAO;QAElC,MAAM,YAAY,GAAG,GAAG,EAAE;YACtB,MAAM,cAAc,GA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