@mittwald/flow-react-components 0.2.0-alpha.80 → 0.2.0-alpha.81
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/CHANGELOG.md +6 -0
- package/dist/assets/doc-properties.json +6914 -6914
- package/dist/css/all.css +1 -1
- package/dist/js/components/List/components/Items/Items.module.scss.mjs +4 -2
- package/dist/js/components/List/components/Items/Items.module.scss.mjs.map +1 -1
- package/dist/js/components/List/views/EmptyView/EmptyView.mjs +2 -1
- package/dist/js/components/List/views/EmptyView/EmptyView.mjs.map +1 -1
- package/dist/types/components/List/views/EmptyView/EmptyView.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -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":"
|
|
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;;;;"}
|
|
@@ -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;
|
|
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.
|
|
3
|
+
"version": "0.2.0-alpha.81",
|
|
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.
|
|
55
|
+
"@mittwald/react-tunnel": "0.2.0-alpha.81",
|
|
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.
|
|
94
|
+
"@mittwald/flow-design-tokens": "0.2.0-alpha.81",
|
|
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": "
|
|
171
|
+
"gitHead": "3960441fe9f18e89f3fd5e5b2c1d754596e410ff"
|
|
172
172
|
}
|