@mittwald/flow-react-components 0.2.0-alpha.80 → 0.2.0-alpha.82

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.
@@ -3,11 +3,13 @@
3
3
  const items = "flow--list--items";
4
4
  const isLoading = "flow--list--items--is-loading";
5
5
  const tiles = "flow--list--items--tiles";
6
+ const emptyView = "flow--list--items--empty-view";
6
7
  const styles = {
7
8
  items: items,
8
9
  isLoading: isLoading,
9
- tiles: tiles
10
+ tiles: tiles,
11
+ emptyView: emptyView
10
12
  };
11
13
 
12
- export { styles as default, isLoading, items, tiles };
14
+ export { styles as default, emptyView, isLoading, items, tiles };
13
15
  //# sourceMappingURL=Items.module.scss.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Items.module.scss.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
1
+ {"version":3,"file":"Items.module.scss.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
@@ -17,10 +17,11 @@ import { Heading } from '../../../Heading/Heading.mjs';
17
17
  import { Text } from '../../../Text/Text.mjs';
18
18
  import locales from '../../../../_virtual/_.locale.json@8d5024994f97657f895a4e2a188d2d8a.mjs';
19
19
  import { useLocalizedStringFormatter } from 'react-aria';
20
+ import styles from '../../components/Items/Items.module.scss.mjs';
20
21
 
21
22
  const EmptyView = () => {
22
23
  const stringFormatter = useLocalizedStringFormatter(locales);
23
- return /* @__PURE__ */ jsxs(IllustratedMessage, { children: [
24
+ return /* @__PURE__ */ jsxs(IllustratedMessage, { className: styles.emptyView, children: [
24
25
  /* @__PURE__ */ jsx(IconSearch, {}),
25
26
  /* @__PURE__ */ jsx(Heading, { children: stringFormatter.format("list.noResult.heading") }),
26
27
  /* @__PURE__ */ jsx(Text, { children: stringFormatter.format("list.noResult.text") })
@@ -1 +1 @@
1
- {"version":3,"file":"EmptyView.mjs","sources":["../../../../../../src/components/List/views/EmptyView/EmptyView.tsx"],"sourcesContent":["import type { FC } from \"react\";\nimport React from \"react\";\nimport { IllustratedMessage } from \"@/components/IllustratedMessage\";\nimport { IconSearch } from \"@/components/Icon/components/icons\";\nimport { Heading } from \"@/components/Heading\";\nimport { Text } from \"@/components/Text\";\nimport locales from \"../../locales/*.locale.json\";\nimport { useLocalizedStringFormatter } from \"react-aria\";\n\nexport type EmptyViewProps = Record<string, never>;\n\n/** @flr-generate all */\nexport const EmptyView: FC<EmptyViewProps> = () => {\n const stringFormatter = useLocalizedStringFormatter(locales);\n\n return (\n <IllustratedMessage>\n <IconSearch />\n <Heading>{stringFormatter.format(\"list.noResult.heading\")}</Heading>\n <Text>{stringFormatter.format(\"list.noResult.text\")}</Text>\n </IllustratedMessage>\n );\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAYO,MAAM,YAAgC,MAAM;AACjD,EAAM,MAAA,eAAA,GAAkB,4BAA4B,OAAO,CAAA;AAE3D,EAAA,4BACG,kBACC,EAAA,EAAA,QAAA,EAAA;AAAA,oBAAA,GAAA,CAAC,UAAW,EAAA,EAAA,CAAA;AAAA,oBACX,GAAA,CAAA,OAAA,EAAA,EAAS,QAAgB,EAAA,eAAA,CAAA,MAAA,CAAO,uBAAuB,CAAE,EAAA,CAAA;AAAA,oBACzD,GAAA,CAAA,IAAA,EAAA,EAAM,QAAgB,EAAA,eAAA,CAAA,MAAA,CAAO,oBAAoB,CAAE,EAAA;AAAA,GACtD,EAAA,CAAA;AAEJ;;;;"}
1
+ {"version":3,"file":"EmptyView.mjs","sources":["../../../../../../src/components/List/views/EmptyView/EmptyView.tsx"],"sourcesContent":["import type { FC } from \"react\";\nimport React from \"react\";\nimport { IllustratedMessage } from \"@/components/IllustratedMessage\";\nimport { IconSearch } from \"@/components/Icon/components/icons\";\nimport { Heading } from \"@/components/Heading\";\nimport { Text } from \"@/components/Text\";\nimport locales from \"../../locales/*.locale.json\";\nimport { useLocalizedStringFormatter } from \"react-aria\";\nimport styles from \"../../components/Items/Items.module.scss\";\n\nexport type EmptyViewProps = Record<string, never>;\n\n/** @flr-generate all */\nexport const EmptyView: FC<EmptyViewProps> = () => {\n const stringFormatter = useLocalizedStringFormatter(locales);\n\n return (\n <IllustratedMessage className={styles.emptyView}>\n <IconSearch />\n <Heading>{stringFormatter.format(\"list.noResult.heading\")}</Heading>\n <Text>{stringFormatter.format(\"list.noResult.text\")}</Text>\n </IllustratedMessage>\n );\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAaO,MAAM,YAAgC,MAAM;AACjD,EAAM,MAAA,eAAA,GAAkB,4BAA4B,OAAO,CAAA;AAE3D,EAAA,uBACG,IAAA,CAAA,kBAAA,EAAA,EAAmB,SAAW,EAAA,MAAA,CAAO,SACpC,EAAA,QAAA,EAAA;AAAA,oBAAA,GAAA,CAAC,UAAW,EAAA,EAAA,CAAA;AAAA,oBACX,GAAA,CAAA,OAAA,EAAA,EAAS,QAAgB,EAAA,eAAA,CAAA,MAAA,CAAO,uBAAuB,CAAE,EAAA,CAAA;AAAA,oBACzD,GAAA,CAAA,IAAA,EAAA,EAAM,QAAgB,EAAA,eAAA,CAAA,MAAA,CAAO,oBAAoB,CAAE,EAAA;AAAA,GACtD,EAAA,CAAA;AAEJ;;;;"}
@@ -5,4 +5,5 @@ export default meta;
5
5
  type Story = StoryObj<typeof Chat>;
6
6
  export declare const Default: Story;
7
7
  export declare const WithUpload: Story;
8
+ export declare const WithForm: Story;
8
9
  //# sourceMappingURL=Default.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chat/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAWvD,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAOzC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CA6C3B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,UAAU,EAAE,KA+BxB,CAAC"}
1
+ {"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chat/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAWvD,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAUzC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CA6C3B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,UAAU,EAAE,KA+BxB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAoCtB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"EmptyView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/List/views/EmptyView/EmptyView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAShC,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAEnD,wBAAwB;AACxB,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAUxC,CAAC"}
1
+ {"version":3,"file":"EmptyView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/List/views/EmptyView/EmptyView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAUhC,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAEnD,wBAAwB;AACxB,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAUxC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/flow-react-components",
3
- "version": "0.2.0-alpha.80",
3
+ "version": "0.2.0-alpha.82",
4
4
  "type": "module",
5
5
  "description": "A React implementation of Flow, mittwald’s design system",
6
6
  "homepage": "https://mittwald.github.io/flow",
@@ -52,7 +52,7 @@
52
52
  "dependencies": {
53
53
  "@chakra-ui/live-region": "^2.1.0",
54
54
  "@internationalized/string-compiler": "^3.2.6",
55
- "@mittwald/react-tunnel": "0.2.0-alpha.80",
55
+ "@mittwald/react-tunnel": "0.2.0-alpha.82",
56
56
  "@mittwald/react-use-promise": "^2.6.0",
57
57
  "@react-aria/form": "^3.0.12",
58
58
  "@react-aria/utils": "^3.27.0",
@@ -91,7 +91,7 @@
91
91
  "@faker-js/faker": "^9.5.0",
92
92
  "@internationalized/date": "^3.7.0",
93
93
  "@mfalkenberg/remote-dom-react": "^1.2.2",
94
- "@mittwald/flow-design-tokens": "0.2.0-alpha.80",
94
+ "@mittwald/flow-design-tokens": "0.2.0-alpha.82",
95
95
  "@mittwald/react-use-promise": "^2.6.0",
96
96
  "@mittwald/typescript-config": "",
97
97
  "@nx/storybook": "^20.4.5",
@@ -168,5 +168,5 @@
168
168
  "optional": true
169
169
  }
170
170
  },
171
- "gitHead": "2838d43d568012772e2088fea4d89b045979f6a4"
171
+ "gitHead": "87e45d8d05e33f9cb1869c2b28f7d0bb4bf0fbfb"
172
172
  }