@canonical/maas-react-components 1.1.0 → 1.3.0

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.
@@ -0,0 +1,2 @@
1
+ import { AriaAttributes, PropsWithChildren } from "react";
2
+ export declare const NestedFormGroup: ({ children, ...props }: PropsWithChildren & Pick<AriaAttributes, "aria-hidden">) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,19 @@
1
+ import type { Meta } from "@storybook/react";
2
+ import { NestedFormGroup } from ".";
3
+ declare const meta: Meta<typeof NestedFormGroup>;
4
+ export default meta;
5
+ export declare const Example: {
6
+ args: {
7
+ "aria-hidden": boolean;
8
+ };
9
+ };
10
+ export declare const ControlledExample: {
11
+ render: () => import("react/jsx-runtime").JSX.Element;
12
+ parameters: {
13
+ docs: {
14
+ source: {
15
+ code: null;
16
+ };
17
+ };
18
+ };
19
+ };
@@ -0,0 +1 @@
1
+ export * from "./NestedFormGroup";
@@ -0,0 +1 @@
1
+ export * from "./NestedFormGroup";
File without changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@canonical/maas-react-components",
3
3
  "description": "React components for use in MAAS UI projects.",
4
- "version": "1.1.0",
4
+ "version": "1.3.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/canonical/maas-react-components.git"
@@ -41,7 +41,8 @@
41
41
  "semantic-release": "semantic-release",
42
42
  "semantic-release-dry-run": "semantic-release --dry-run --no-ci",
43
43
  "storybook": "storybook dev -p 6006",
44
- "build-storybook": "storybook build"
44
+ "build-storybook": "storybook build",
45
+ "create-component": "plop component"
45
46
  },
46
47
  "devDependencies": {
47
48
  "@commitlint/cli": "^17.7.1",
@@ -78,6 +79,7 @@
78
79
  "eslint-plugin-unused-imports": "^3.0.0",
79
80
  "husky": "8.0.0",
80
81
  "jsdom": "^22.1.0",
82
+ "plop": "^4.0.0",
81
83
  "prettier": "^3.0.3",
82
84
  "prop-types": "^15.8.1",
83
85
  "sass": "^1.68.0",
@@ -94,10 +96,10 @@
94
96
  "@types/react-dom": "18.2.6"
95
97
  },
96
98
  "peerDependencies": {
97
- "classnames": "^2.3.2",
98
99
  "@canonical/react-components": "^0.47.0",
99
100
  "@types/react": "^17.0.2 || ^18.0.0",
100
101
  "@types/react-dom": "^17.0.2 || ^18.0.0",
102
+ "classnames": "^2.3.2",
101
103
  "react": "18.2.0",
102
104
  "react-dom": "18.2.0",
103
105
  "react-router-dom": "^6.0.0",