@nulogy/components 10.0.1 → 10.0.2
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/main.js +1 -1
- package/dist/main.module.js +1 -1
- package/dist/src/Form/Form.d.ts +4 -8
- package/dist/src/Form/Form.story.d.ts +1 -0
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -17253,7 +17253,7 @@
|
|
|
17253
17253
|
children = _a.children,
|
|
17254
17254
|
props = __rest(_a, ["title", "children"]);
|
|
17255
17255
|
|
|
17256
|
-
return /*#__PURE__*/
|
|
17256
|
+
return /*#__PURE__*/React__namespace.createElement("form", Object.assign({}, props), title && /*#__PURE__*/React__namespace.createElement(Heading2, null, title), children);
|
|
17257
17257
|
}).withConfig({
|
|
17258
17258
|
displayName: "Form",
|
|
17259
17259
|
componentId: "sc-1qb2xtx-0"
|
package/dist/main.module.js
CHANGED
|
@@ -17236,7 +17236,7 @@ var Form = styled(function (_a) {
|
|
|
17236
17236
|
children = _a.children,
|
|
17237
17237
|
props = __rest(_a, ["title", "children"]);
|
|
17238
17238
|
|
|
17239
|
-
return /*#__PURE__*/
|
|
17239
|
+
return /*#__PURE__*/React.createElement("form", Object.assign({}, props), title && /*#__PURE__*/React.createElement(Heading2, null, title), children);
|
|
17240
17240
|
}).withConfig({
|
|
17241
17241
|
displayName: "Form",
|
|
17242
17242
|
componentId: "sc-1qb2xtx-0"
|
package/dist/src/Form/Form.d.ts
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { SpaceProps } from "styled-system";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
style?: React.CSSProperties;
|
|
7
|
-
id?: string;
|
|
8
|
-
};
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SpaceProps } from "styled-system";
|
|
3
|
+
interface FormProps extends SpaceProps, React.HTMLProps<HTMLFormElement> {
|
|
4
|
+
}
|
|
9
5
|
declare const Form: import("styled-components").StyledComponent<({ title, children, ...props }: FormProps) => React.JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
10
6
|
export default Form;
|