@mittwald/flow-react-components 0.2.0-alpha.476 → 0.2.0-alpha.478

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.
@@ -10,7 +10,7 @@ import { Action } from '../../../Action/Action.mjs';
10
10
  const PasswordGenerateButton = (props) => {
11
11
  const { className, isDisabled, onGeneratePasswordAction } = props;
12
12
  const translate = useLocalizedStringFormatter(locales);
13
- return /* @__PURE__ */ jsx(Action, { action: onGeneratePasswordAction, children: /* @__PURE__ */ jsx(
13
+ return /* @__PURE__ */ jsx(Action, { action: onGeneratePasswordAction, showFeedback: false, children: /* @__PURE__ */ jsx(
14
14
  Button,
15
15
  {
16
16
  "data-component": "generatePassword",
@@ -1 +1 @@
1
- {"version":3,"file":"PasswordGenerateButton.mjs","sources":["../../../../../../../../src/components/PasswordCreationField/components/PasswordGenerateButton/PasswordGenerateButton.tsx"],"sourcesContent":["import { type FC } from \"react\";\nimport { useLocalizedStringFormatter } from \"react-aria\";\nimport locales from \"./../../locales/*.locale.json\";\nimport { Button } from \"@/components/Button\";\nimport type { PropsWithClassName } from \"@/lib/types/props\";\nimport { Action, type ActionFn } from \"@/components/Action\";\n\ninterface Props extends PropsWithClassName {\n isDisabled?: boolean;\n onGeneratePasswordAction?: ActionFn;\n}\n\nexport const PasswordGenerateButton: FC<Props> = (props) => {\n const { className, isDisabled, onGeneratePasswordAction } = props;\n const translate = useLocalizedStringFormatter(locales);\n\n return (\n <Action action={onGeneratePasswordAction}>\n <Button\n data-component=\"generatePassword\"\n isDisabled={isDisabled}\n className={className}\n variant=\"plain\"\n color=\"dark\"\n >\n {translate.format(\"button.generate\")}\n </Button>\n </Action>\n );\n};\n"],"names":[],"mappings":";;;;;;;AAYa,MAAA,sBAAA,GAAoC,CAAC,KAAU,KAAA;AAC1D,EAAA,MAAM,EAAE,SAAA,EAAW,UAAY,EAAA,wBAAA,EAA6B,GAAA,KAAA;AAC5D,EAAM,MAAA,SAAA,GAAY,4BAA4B,OAAO,CAAA;AAErD,EACE,uBAAA,GAAA,CAAC,MAAO,EAAA,EAAA,MAAA,EAAQ,wBACd,EAAA,QAAA,kBAAA,GAAA;AAAA,IAAC,MAAA;AAAA,IAAA;AAAA,MACC,gBAAe,EAAA,kBAAA;AAAA,MACf,UAAA;AAAA,MACA,SAAA;AAAA,MACA,OAAQ,EAAA,OAAA;AAAA,MACR,KAAM,EAAA,MAAA;AAAA,MAEL,QAAA,EAAA,SAAA,CAAU,OAAO,iBAAiB;AAAA;AAAA,GAEvC,EAAA,CAAA;AAEJ;;;;"}
1
+ {"version":3,"file":"PasswordGenerateButton.mjs","sources":["../../../../../../../../src/components/PasswordCreationField/components/PasswordGenerateButton/PasswordGenerateButton.tsx"],"sourcesContent":["import { type FC } from \"react\";\nimport { useLocalizedStringFormatter } from \"react-aria\";\nimport locales from \"./../../locales/*.locale.json\";\nimport { Button } from \"@/components/Button\";\nimport type { PropsWithClassName } from \"@/lib/types/props\";\nimport { Action, type ActionFn } from \"@/components/Action\";\n\ninterface Props extends PropsWithClassName {\n isDisabled?: boolean;\n onGeneratePasswordAction?: ActionFn;\n}\n\nexport const PasswordGenerateButton: FC<Props> = (props) => {\n const { className, isDisabled, onGeneratePasswordAction } = props;\n const translate = useLocalizedStringFormatter(locales);\n\n return (\n <Action action={onGeneratePasswordAction} showFeedback={false}>\n <Button\n data-component=\"generatePassword\"\n isDisabled={isDisabled}\n className={className}\n variant=\"plain\"\n color=\"dark\"\n >\n {translate.format(\"button.generate\")}\n </Button>\n </Action>\n );\n};\n"],"names":[],"mappings":";;;;;;;AAYa,MAAA,sBAAA,GAAoC,CAAC,KAAU,KAAA;AAC1D,EAAA,MAAM,EAAE,SAAA,EAAW,UAAY,EAAA,wBAAA,EAA6B,GAAA,KAAA;AAC5D,EAAM,MAAA,SAAA,GAAY,4BAA4B,OAAO,CAAA;AAErD,EAAA,uBACG,GAAA,CAAA,MAAA,EAAA,EAAO,MAAQ,EAAA,wBAAA,EAA0B,cAAc,KACtD,EAAA,QAAA,kBAAA,GAAA;AAAA,IAAC,MAAA;AAAA,IAAA;AAAA,MACC,gBAAe,EAAA,kBAAA;AAAA,MACf,UAAA;AAAA,MACA,SAAA;AAAA,MACA,OAAQ,EAAA,OAAA;AAAA,MACR,KAAM,EAAA,MAAA;AAAA,MAEL,QAAA,EAAA,SAAA,CAAU,OAAO,iBAAiB;AAAA;AAAA,GAEvC,EAAA,CAAA;AAEJ;;;;"}
@@ -5,4 +5,5 @@ export default meta;
5
5
  type Story = StoryObj<typeof Modal>;
6
6
  export declare const LongContent: Story;
7
7
  export declare const LongContentOffCanvas: Story;
8
+ export declare const SizeChange: Story;
8
9
  //# sourceMappingURL=EdgeCases.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EdgeCases.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modal/stories/EdgeCases.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,MAAM,UAAU,CAAC;AAa7B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAG5B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAEpC,eAAO,MAAM,WAAW,EAAE,KAkCzB,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,KAmClC,CAAC"}
1
+ {"version":3,"file":"EdgeCases.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modal/stories/EdgeCases.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAA0B,MAAM,UAAU,CAAC;AAelD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAG5B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAEpC,eAAO,MAAM,WAAW,EAAE,KAkCzB,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,KAmClC,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAoCxB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/flow-react-components",
3
- "version": "0.2.0-alpha.476",
3
+ "version": "0.2.0-alpha.478",
4
4
  "type": "module",
5
5
  "description": "A React implementation of Flow, mittwald’s design system",
6
6
  "homepage": "https://mittwald.github.io/flow",
@@ -57,7 +57,7 @@
57
57
  "dependencies": {
58
58
  "@internationalized/string-compiler": "^3.2.6",
59
59
  "@mittwald/password-tools-js": "3.0.0-alpha.18",
60
- "@mittwald/react-tunnel": "0.2.0-alpha.476",
60
+ "@mittwald/react-tunnel": "0.2.0-alpha.478",
61
61
  "@mittwald/react-use-promise": "^3.0.4",
62
62
  "@react-aria/form": "^3.1.0",
63
63
  "@react-aria/live-announcer": "^3.4.4",
@@ -100,7 +100,7 @@
100
100
  "@faker-js/faker": "^9.9.0",
101
101
  "@internationalized/date": "^3.8.2",
102
102
  "@mittwald/flow-core": "",
103
- "@mittwald/flow-design-tokens": "0.2.0-alpha.476",
103
+ "@mittwald/flow-design-tokens": "0.2.0-alpha.478",
104
104
  "@mittwald/react-use-promise": "^3.0.4",
105
105
  "@mittwald/remote-dom-react": "1.2.2-mittwald.3",
106
106
  "@mittwald/typescript-config": "",
@@ -173,5 +173,5 @@
173
173
  "optional": true
174
174
  }
175
175
  },
176
- "gitHead": "550f128b4635e3018e77d0657aabb851abf87712"
176
+ "gitHead": "4d4812e32300b0727b83e43888c0224062618e9f"
177
177
  }