@raspberrypifoundation/design-system-react 2.9.2 → 2.10.1

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,30 @@
1
+ import type { Meta, StoryObj } from "@storybook/react";
2
+ import { PasswordInput } from "../../components/Form/PasswordInput";
3
+ declare const meta: Meta<typeof PasswordInput>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof PasswordInput>;
6
+ /**
7
+ * Password inputs let users toggle the visibility of a sensitive field via the Show/Hide button.
8
+ */
9
+ export declare const Default: Story;
10
+ /**
11
+ * disabled prevents the field from being edited or toggled
12
+ */
13
+ export declare const Disabled: Story;
14
+ /**
15
+ * readonly prevents editing but keeps the field focusable
16
+ */
17
+ export declare const Readonly: Story;
18
+ /**
19
+ * Providing an error string highlights an issue with the field
20
+ */
21
+ export declare const Error: Story;
22
+ /**
23
+ * fullWidth makes the input stretch across the available space
24
+ */
25
+ export declare const FullWidth: Story;
26
+ /**
27
+ * Omit forgotPasswordHref to hide the "Forgot password?" link
28
+ */
29
+ export declare const WithoutForgotPassword: Story;
30
+ //# sourceMappingURL=PasswordInput.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PasswordInput.stories.d.ts","sourceRoot":"","sources":["../../../../../src/stories/forms/PasswordInput.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,aAAa,CAepC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,aAAa,CAAC,CAAC;AAE5C;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,KAItB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,KAItB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,KAAK,EAAE,KAInB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,KAIvB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,KAInC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raspberrypifoundation/design-system-react",
3
- "version": "2.9.2",
3
+ "version": "2.10.1",
4
4
  "type": "module",
5
5
  "main": "./dist/design-system-react.umd.cjs",
6
6
  "module": "./dist/design-system-react.js",