@yakad/ui 1.2.76-beta → 1.2.77-beta
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/appBar/appBar.d.ts +3 -3
- package/appBar/appBar.js +8 -8
- package/appBar/appBar.module.css +15 -15
- package/appBar/appBar.tsx +15 -15
- package/button/button.d.ts +13 -13
- package/button/button.js +27 -27
- package/button/button.module.css +170 -170
- package/button/button.tsx +87 -87
- package/card/card.d.ts +3 -3
- package/card/card.js +8 -8
- package/card/card.module.css +11 -11
- package/card/card.tsx +15 -15
- package/clickAwayListener/clickAwayListener.d.ts +6 -6
- package/clickAwayListener/clickAwayListener.js +16 -16
- package/clickAwayListener/clickAwayListener.tsx +27 -27
- package/codeField/codeField.d.ts +8 -8
- package/codeField/codeField.js +9 -9
- package/codeField/codeField.module.css +23 -23
- package/codeField/codeField.tsx +32 -32
- package/container/container.d.ts +8 -8
- package/container/container.js +8 -8
- package/container/container.module.css +24 -24
- package/container/container.tsx +27 -27
- package/declarations.d.ts +1 -1
- package/footer/footer.d.ts +3 -3
- package/footer/footer.js +8 -8
- package/footer/footer.module.css +9 -9
- package/footer/footer.tsx +15 -15
- package/form/form.d.ts +3 -3
- package/form/form.js +11 -11
- package/form/form.module.css +6 -6
- package/form/form.tsx +23 -23
- package/gridContainer/gridContainer.d.ts +7 -7
- package/gridContainer/gridContainer.js +10 -10
- package/gridContainer/gridContainer.module.css +6 -5
- package/gridContainer/gridContainer.tsx +28 -28
- package/gridItem/gridItem.d.ts +10 -10
- package/gridItem/gridItem.js +9 -9
- package/gridItem/gridItem.module.css +192 -192
- package/gridItem/gridItem.tsx +31 -31
- package/hr/hr.d.ts +8 -8
- package/hr/hr.js +11 -11
- package/hr/hr.module.css +19 -19
- package/hr/hr.tsx +32 -32
- package/index.d.ts +24 -24
- package/index.js +24 -24
- package/index.tsx +48 -48
- package/inputField/inputField.d.ts +12 -12
- package/inputField/inputField.js +10 -10
- package/inputField/inputField.module.css +167 -167
- package/inputField/inputField.tsx +38 -38
- package/list/list.d.ts +7 -7
- package/list/list.js +8 -8
- package/list/list.module.css +22 -22
- package/list/list.tsx +25 -25
- package/listItem/listItem.d.ts +3 -3
- package/listItem/listItem.js +6 -6
- package/listItem/listItem.module.css +6 -6
- package/listItem/listItem.tsx +12 -12
- package/loading/loading.d.ts +7 -7
- package/loading/loading.js +9 -9
- package/loading/loading.module.css +91 -91
- package/loading/loading.tsx +25 -25
- package/main/main.d.ts +6 -6
- package/main/main.js +9 -9
- package/main/main.module.css +19 -19
- package/main/main.tsx +25 -25
- package/navigation/navigation.d.ts +7 -7
- package/navigation/navigation.js +8 -8
- package/navigation/navigation.module.css +61 -61
- package/navigation/navigation.tsx +24 -24
- package/package.json +31 -31
- package/page/page.d.ts +3 -3
- package/page/page.js +8 -8
- package/page/page.module.css +10 -10
- package/page/page.tsx +15 -15
- package/row/row.d.ts +3 -3
- package/row/row.js +8 -8
- package/row/row.module.css +7 -7
- package/row/row.tsx +15 -15
- package/spacer/spacer.d.ts +3 -3
- package/spacer/spacer.js +6 -6
- package/spacer/spacer.module.css +5 -5
- package/spacer/spacer.tsx +8 -8
- package/stack/stack.d.ts +3 -3
- package/stack/stack.js +8 -8
- package/stack/stack.module.css +6 -6
- package/stack/stack.tsx +15 -15
- package/svgIcon/svgIcon.d.ts +6 -6
- package/svgIcon/svgIcon.js +11 -11
- package/svgIcon/svgIcon.module.css +5 -5
- package/svgIcon/svgIcon.tsx +26 -26
- package/theme/theme.d.ts +9 -9
- package/theme/theme.js +11 -11
- package/theme/theme.module.css +397 -397
- package/theme/theme.tsx +29 -29
- package/theme/zoom.css +3 -3
- package/tsconfig.json +13 -13
package/theme/theme.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { joinClassNames } from "@yakad/lib";
|
|
3
|
-
import styles from "./theme.module.css";
|
|
4
|
-
import "./zoom.css";
|
|
5
|
-
function Theme(props) {
|
|
6
|
-
const zoomPercentage = props.zoom ? (props.zoom / 100) * 62.5 : 62.5;
|
|
7
|
-
// document.documentElement.style.setProperty("font-size", zoomPercentage + "%");
|
|
8
|
-
const joinedClassNames = joinClassNames(props.mode ? styles[props.mode] : styles.system, props.color ? styles[props.color] : styles.blue, props.className);
|
|
9
|
-
return (React.createElement("div", { ...props, className: joinedClassNames }, props.children));
|
|
10
|
-
}
|
|
11
|
-
export default Theme;
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { joinClassNames } from "@yakad/lib";
|
|
3
|
+
import styles from "./theme.module.css";
|
|
4
|
+
import "./zoom.css";
|
|
5
|
+
function Theme(props) {
|
|
6
|
+
const zoomPercentage = props.zoom ? (props.zoom / 100) * 62.5 : 62.5;
|
|
7
|
+
// document.documentElement.style.setProperty("font-size", zoomPercentage + "%");
|
|
8
|
+
const joinedClassNames = joinClassNames(props.mode ? styles[props.mode] : styles.system, props.color ? styles[props.color] : styles.blue, props.className);
|
|
9
|
+
return (React.createElement("div", { ...props, className: joinedClassNames }, props.children));
|
|
10
|
+
}
|
|
11
|
+
export default Theme;
|
|
12
12
|
//# sourceMappingURL=theme.js.map
|