fastapi-rtk 0.2.13 → 0.2.14
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/hooks/cjs/useActionIcon/useActionIcon.cjs +1 -7
- package/dist/hooks/esm/useActionIcon/useActionIcon.mjs +1 -7
- package/package.json +1 -5
- package/dist/hooks/cjs/useActionIcon/useActionIcon.module.css.cjs +0 -8
- package/dist/hooks/esm/useActionIcon/useActionIcon.module.css.mjs +0 -8
- package/dist/hooks/styles.css +0 -3
|
@@ -2,14 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const core = require("@mantine/core");
|
|
4
4
|
const react = require("react");
|
|
5
|
-
const useActionIcon_module = require("./useActionIcon.module.css.cjs");
|
|
6
5
|
function useActionIcon(props) {
|
|
7
|
-
const defaultProps = {
|
|
8
|
-
variant: "transparent",
|
|
9
|
-
size: "lg",
|
|
10
|
-
c: "gray",
|
|
11
|
-
className: useActionIcon_module.default.toolbarActionIcon
|
|
12
|
-
};
|
|
6
|
+
const defaultProps = { color: "gray", size: "lg", variant: "subtle" };
|
|
13
7
|
const _props = core.useProps("ActionIcon", defaultProps, props);
|
|
14
8
|
return react.useMemo(() => ({ ..._props, ...props }), [_props, props]);
|
|
15
9
|
}
|
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
import { useProps } from "@mantine/core";
|
|
2
2
|
import { useMemo } from "react";
|
|
3
|
-
import classes from "./useActionIcon.module.css.mjs";
|
|
4
3
|
function useActionIcon(props) {
|
|
5
|
-
const defaultProps = {
|
|
6
|
-
variant: "transparent",
|
|
7
|
-
size: "lg",
|
|
8
|
-
c: "gray",
|
|
9
|
-
className: classes.toolbarActionIcon
|
|
10
|
-
};
|
|
4
|
+
const defaultProps = { color: "gray", size: "lg", variant: "subtle" };
|
|
11
5
|
const _props = useProps("ActionIcon", defaultProps, props);
|
|
12
6
|
return useMemo(() => ({ ..._props, ...props }), [_props, props]);
|
|
13
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fastapi-rtk",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.14",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A React component library for FastAPI in combination with FastAPI React Toolkit backend, built with Mantine, JsonForms, and Zustand.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -53,10 +53,6 @@
|
|
|
53
53
|
"import": "./dist/hooks/esm/index.mjs",
|
|
54
54
|
"require": "./dist/hooks/cjs/index.cjs"
|
|
55
55
|
},
|
|
56
|
-
"./hooks/style.css": "./dist/hooks/styles.css",
|
|
57
|
-
"./dist/hooks/style.css": "./dist/hooks/styles.css",
|
|
58
|
-
"./hooks/styles.css": "./dist/hooks/styles.css",
|
|
59
|
-
"./dist/hooks/styles.css": "./dist/hooks/styles.css",
|
|
60
56
|
"./jsonforms": {
|
|
61
57
|
"types": "./dist/jsonforms/lib/index.d.ts",
|
|
62
58
|
"import": "./dist/jsonforms/esm/index.mjs",
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const toolbarActionIcon = "_toolbarActionIcon_1v8lm_1";
|
|
4
|
-
const classes = {
|
|
5
|
-
toolbarActionIcon
|
|
6
|
-
};
|
|
7
|
-
exports.default = classes;
|
|
8
|
-
exports.toolbarActionIcon = toolbarActionIcon;
|
package/dist/hooks/styles.css
DELETED