@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 CHANGED
@@ -17253,7 +17253,7 @@
17253
17253
  children = _a.children,
17254
17254
  props = __rest(_a, ["title", "children"]);
17255
17255
 
17256
- return /*#__PURE__*/React__default["default"].createElement("form", Object.assign({}, props), title && /*#__PURE__*/React__default["default"].createElement(Heading2, null, title), children);
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"
@@ -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__*/React__default.createElement("form", Object.assign({}, props), title && /*#__PURE__*/React__default.createElement(Heading2, null, title), children);
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"
@@ -1,10 +1,6 @@
1
- import React from "react";
2
- import { SpaceProps } from "styled-system";
3
- type FormProps = SpaceProps & {
4
- title?: string;
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;
@@ -28,3 +28,4 @@ export declare const DemoForm: {
28
28
  name: string;
29
29
  };
30
30
  };
31
+ export declare const WithAnAction: () => React.JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nulogy/components",
3
- "version": "10.0.1",
3
+ "version": "10.0.2",
4
4
  "description": "Component library for the Nulogy Design System - http://nulogy.design",
5
5
  "private": false,
6
6
  "publishConfig": {